I want to know about how to phonegap communicate with server in iphone...
and how to implement phonegap o iphone..
PhoneGap basically wraps a web app and packages it for distribution as an app.
As it is basically a web app you communicate with a server the same way you would in a web app, ie. Ajax.
The best option is to create a "Hello World" app for iOS using PhoneGap - http://www.phonegap.com/start#ios-x4.
I'm writing a primer using phonegap. The JS framework i'm using is Sencha Touch and it goes great with PhoneGap. Go through the following tutorial/example:
http://www.sencha.com/learn/a-sencha-touch-mvc-application-with-phonegap/
Related
I have built a Jquerymobile webapp , I want to take it a step further, build additional features and deploy it as an iphone app. I am confused on connecting these two dots. I looked at Phonegap and Titanium. Phonegap does not allows to register yet and Titanium seems like I have to code everything again using Titanium apps . Any ideas on how to bridge the gap of connecting iphone app and jquerymobile.
I use phonegap for my iPhone apps and it works well. Phonegap Build will even encode the iPhone (and Android, Blackberry, etc) app for you so you don't have to use Xcode.
Phonegap download 0.9.6: http://www.phonegap.com/download-thankyou
How to start an app using Xcode and Phonegap: http://www.phonegap.com/start
signup for Phonegap Build: https://build.phonegap.com/
Can you just take your already written JS code and use it as your source for a UIWebView? Those middle-ware platforms you mentioned have their own JS libraries you need to use, but if the code you already made will work as-is on an iPhone, dumping it into a UIWebView should be all you need to do.
If I make a iPhone app, like a grade manager. What technologies are necessary to make it into a web app.
This includes reading the data from iPhone app in the web app portal (not necessarily editing from web app as of now).
I think I need to transition from using plists to using MYSQL?
Probably you need to this:
http://www.phonegap.com/
it's an Open Source Mobile Framework That Supports iOS and other platforms.
Hope it will give you a guide.
The best approach would probably be to write a web app that can communicate with the iPhone app, not "converting" the iPhone app to run on the web.
We want to make an iPhone app but we would like to be able to do web development on some sort of framework, and then use something to kind of port this into an iPhone app for us.
Is there anything out there that exists like this?
You might want to check out Phonegap.
Please see these questions:
Comparison between Corona, Phonegap, Titanium
How to integrate html5 and iphone applications?
Some discussion about general webapp verus native app issues:
iPhone apps: Webapps or native?
Can we build an iphone app and convert the application to the android application using phonegap framework?
I have been through various links.
We basically need to develop a webapp for that and that can be converted to an android app or an iphone app respectively.
I am an iphone application developer and i am not at all familiar to android.
Links or example code would be greatly appreciated.
PhoneGap will not enable you to "port" an existing iphone application to Android. However, if you develop an application within the PhoneGap framework (which means using html, css and javascript), you will be able to deploy it on multiple mobile platforms such as iPhone, Android, Nokia, Blackberry, etc.
The downside is that you will eventually be developing a packaged mobile website - your application consist of html pages, css styling and javascript behaviour/logic, combined whith access to phone internals such as gps, disk, database, camera, etc. It will usually not "feel" fully native on most platforms. For example, you will not be using the system's "native" ListView.
There are javascript libraries such as JQuery-mobile, JQTouch, etc, that make your application look nicer on mobile devices, but it's still not as good as the native experience.
The app you build will not be a native Android or IPhone app but a HTML Web App wrapped in the PhoneGap wrapper and packaged into a native app. So yes you can build for both platforms as long as you build a Web App
Edit -(a Web App is just a plain html/css/javascript + server-side(php, asp etc) website)
I'm wondering it there is a way to build an Objective-C applications and then integrate into an HTML page so it can be open from iPhone, Safari. Is that possible?
I'm thinking to be something similar with Flash application embedded on HTML pages by using a Flash Player plugin.
Cheers,
Codrin
No, it's not possible. But you can use Cappuccino, which is web framework for Objective-C developers.
Safari is not build to run Objective-C apps..
You should submit your application to the AppsStore, which is the best way to distribute application over the iPhone platform.