Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 11 total
Thread Simple iPhone app
Sun, May 19 2013 11:09 AMPermanent Link

David Martin

Bought EWB when it first came out, but only recently started using it. Very impressed so far. I am developing a simple iPhone/iPod app. It consists of a TLabel control and a TImage control. That's it. On my MacBook Air, I can run the app in Safari locally by right clicking on the html output file in Windows Explorer, and choosing Safari as my browser. (I use Parallels for my Windows development.) I would like to move the necessary files to my iPod touch to be able to run the app locally on that device. Can this be done?
Sun, May 19 2013 9:01 PMPermanent Link

David Martin

David Martin wrote:

Bought EWB when it first came out, but only recently started using it. Very impressed so far. I am developing a simple iPhone/iPod app. It consists of a TLabel control and a TImage control. That's it. On my MacBook Air, I can run the app in Safari locally by right clicking on the html output file in Windows Explorer, and choosing Safari as my browser. (I use Parallels for my Windows development.) I would like to move the necessary files to my iPod touch to be able to run the app locally on that device. Can this be done?

Not easily from what I can tell. Any suggestions on where I can host my little EWB app? Thank you in advance.

David Martin
Mon, May 20 2013 4:42 AMPermanent Link

Matthew Jones

> Not easily from what I can tell. Any suggestions on where I can
> host my little EWB app? Thank you in advance.

Any cheap hosting will do it. However, check out PhoneGap as that should be able to
encapsulate the app. I aim to look into this further once the new update is out.

/Matthew Jones/
Wed, May 22 2013 7:53 PMPermanent Link

David Martin


<<Any cheap hosting will do it.>>

Duh. Have not done any programming or web stuff in years so I am very rusty. Yesterday, I signed up Network Solutions for the hosting site ($0.99/month). I manually added some <meta name= > stuff to the EWB delivered html file (see http://rakaz.nl/2009/09/iphone-webapps-101-getting-safari-out-of-the-way.html). After uploading, I have a freakin' iPhone app that does not need to (but could) go through the Apple store. Very cool, especially since this took me all of about 8 hours of work in total. It is not perfected yet, but I am now confident that it will work. Will provide a demo with step-by-step instructions for creating a simple iPhone app when it is perfected.

David Martin
Thu, May 23 2013 5:03 AMPermanent Link

Matthew Jones

> http://rakaz.nl/2009/09/iphone-webapps-101-getting-safari-out-of-the
> -way.html

Thanks for that link (mangled by my newsreader!). I shall experiment with some of
those today.

/Matthew Jones/
Thu, May 23 2013 10:21 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

David,

<< Duh. Have not done any programming or web stuff in years so I am very
rusty. Yesterday, I signed up Network Solutions for the hosting site
($0.99/month). I manually added some <meta name= > stuff to the EWB
delivered html file (see
http://rakaz.nl/2009/09/iphone-webapps-101-getting-safari-out-of-the-way.html).
>>

Great link.   The viewport meta tag is automatically added in the next 1.02
release, but the full-screen option is very cool and I'll add support for it
also.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Thu, May 23 2013 12:02 PMPermanent Link

Matthew Jones

I think the icon options are nifty too, but the more sensible option is to allow a
bunch of header tags to be copied in as the developer requires. And if it breaks
things, our fault.

/Matthew Jones/
Tue, May 28 2013 3:56 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< I think the icon options are nifty too, but the more sensible option is
to allow a bunch of header tags to be copied in as the developer requires.
And if it breaks things, our fault. >>

Hmmm, I'll have to think about this further.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Jun 10 2013 6:15 PMPermanent Link

David Martin

So I have a demo of the iPhone app I developed using EWB. It looks like the default calculator when the iPhone (or iPod touch) is held vertically. I tested it on my wife's iPhone 4s and it looks good. On my iPod touch 5th generation, it works but does not look optimal as the screen size is different than the 4S. (This is easily fixable.) I believe The screen orientation should be locked so that it does not rotate when the device is rotated. Though it looks like a calculator, it is actually used as part of a card trick. Anyways, to see it do the following:

1. Open up Sarfari on your iPhone. (To see the app from your computer, you can use any EWB supported browser.)
2. Go to davidomartin.com.
3. On the bottom toolbar of Safari click the middle icon. Then click Add to Home Screen. An icon will be added to your home screen with the title you enter. I use the title "Calculator."
4. Now when you click on the newly created "Calculator" icon on your home screen, the app will start.

The app won't do much for you. You can click on the number buttons and the clear button. One problem with the app is that there is an annoying delay from the time you press a button until the time it is displayed. This occurs because there is 300 ms delay with OnClick and similar events in the iPhone Safari browser. This delay occurs to allow the detection of finger gestures. From Internet searches I have done, there are ways to get rid of this delay. However, I have not found a satisfactory solution. $50 to anyone that finds a solution for getting rid of this touch delay.

David Martin
Wed, Jun 12 2013 1:58 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

David,

<< The app won't do much for you. You can click on the number buttons and
the clear button. One problem with the app is that there is an annoying
delay from the time you press a button until the time it is displayed. This
occurs because there is 300 ms delay with OnClick and similar events in the
iPhone Safari browser. This delay occurs to allow the detection of finger
gestures. From Internet searches I have done, there are ways to get rid of
this delay. However, I have not found a satisfactory solution. $50 to anyone
that finds a solution for getting rid of this touch delay.  >>

I'll be adding specific touch event support soon, so you won't have to worry
about that anymore.  The EWB framework will also handle routing the touch
gestures to clicks and mouse events without having them fire twice, etc.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Page 1 of 2Next Page »
Jump to Page:  1 2
Image