Short answer: no, there is no such thing because apple would not allow
it.
It doesn't take much work to break the presentation layer out of your
server based app though. IMHO
If your app is just a website that means that you can change it
whenever you want. Apple wants you to go thru their approval process.
Just use phonegap, or quickconnect.
Sent from my iPhone
On 2010-05-01, at 9:24 AM, Alon Raskin <[email protected]> wrote:
I have been looking into PhoneGap recently and what I was HOPING it
would do is allow my WebApp (HTML, JS, CSS on a remote server) to
access some of the native device functions (like GPS, Accelerometer,
etc) from my WebApp using JS. But unless I have misunderstood,
PhoneGap does not do this as it requires me to compile down to a
native App.
Does anyone know of a 'PhoneGap' type solution which will allow me
to interact with the native hardware using JS running on a WebServer?
Alon Raskin
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of QuickConnect
Sent: Saturday, May 01, 2010 10:20 AM
To: iPhoneWebDev
Subject: Re: A general PhoneGap question for a Neophyte iPhone Coder
Scott,
Hybrid applications like you are describing can not use the server as
the source of the HTML, CSS, and Javascript or apple will reject the
app. The code must be included in the app sent to the store.
Additionally, the app can not update itself from the web or it will be
rejected. All apps submitted to the store must be complete. That is
part of the developer agreement.
This is true for PhoneGap as well as the other hybrid app libraries,
frameworks, and services.
As to reasons for using it you missed one. You don't need to learn
Objective-C. There are others as well but they depend on which
product you choose to use. Some of these products have much more
functionality built in than PhoneGap does.
Lee
On Apr 29, 10:49 pm, Scott Kallen <[email protected]> wrote:
Ah. OK, Jesse. That makes a ton of sense.
So, a follow-up if you don't mind --
So are the primary advantages to PhoneGap over a completely web-based
solution 1) Saleable through the App store 2) Access to hardware
unavailable through Mobile Safari alone and 3) Performance of a
native
app and not tied to connection speeds?
Thanks again!
Scott.
On Apr 29, 2010, at 10:24 PM, Jesse MacFadyen wrote:
Phonegap can work either way, however it is not likely that apple
will approve your app if it is just a website.
The typical iPhone phonegap app has all static ui images, markup,
js, and css packaged on the phone. JavaScript can then interact with
restful services via xhr, from servers delivering json or XML data.
Sent from my iPhone
On 2010-04-29, at 8:03 PM, Scott Kallen <[email protected]>
wrote:
Hey, folks.
Just from lurking in the group, I'm learning tons so thanks!
We're considering a combination of PhoneGap and JQTouch for our
project and there is a question that I'm not sure about and I
figure this is the place to ask it.
When you create an app using PhoneGap, does it compile your HTML/JS
into it, making it static or does PhoneGap merely act as a
(greatly) enhanced browser, allowing you to update your app as
needed by changing the code on your server?
Thanks in advance...
Scott.
--
You received this message because you are subscribed to the Google
Groups "iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected]
.
For more options, visit this group athttp://groups.google.com/
group/iphonewebdev?hl=en
.
--
You received this message because you are subscribed to the Google
Groups "iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected]
.
For more options, visit this group athttp://groups.google.com/
group/iphonewebdev?hl=en
.
--
You received this message because you are subscribed to the Google
Groups "iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group athttp://groups.google.com/group/
iphonewebdev?hl=en.
--
You received this message because you are subscribed to the Google
Groups "iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en
.
--
You received this message because you are subscribed to the Google
Groups "iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en
.
--
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en.