Android application - develop for iPhone how? -
we're students sweden, , we've developed android application in school project. application has been noticed number of significant (to us) people who're interested in our idea, think it's necessary develop iphone application give small chance of succeeding. problem we've studied java, little less year. had learn android 'on-the-go'. don't know how take advanced android application , turn iphone application.
we've explored possibilities of using kind of framework, , 1 has caught our eyes "phonegap". don't know if it's advanced enough our purposes. in android version have client (the phone), in turn contacts tcp-server in turn contacts mysql server information needed. information sent application , handled. data gets put in kind of list fills our view.
can phonegap handle objects this? can calculate data , dynamically add client? phonegap "secure"? or recommend going in different direction - learning program iphone "for real"? how time consuming group of people who're familiar objectoriented programming , has written mobile applications platform?
hope has time read through of this, appreciate can get! in advance!
phonegap way go, it's simple framework gets application (must developed in html/javascript) , adds it's own layer can, web application call hardware functions, such camera, accelerometer, contacts, photos, etc... (the entire list s available on phonegap docs)
first of all, able use phonegap aim different os supported phonegap, need convert app webapp.
because have learn java , android, download phonegap zip file, , use \lib\android start developing it.
remember read readme.md see first.
regarding security, that's easy phonegap converts web application native app , such, security have in native app, implemented in output phonegap.
regarding tcp communications, don't see on web it, but, can use web socket same, if can, save headaches, if not, can search plugin in phonegap plugins area , see how develop plugins cross-devices , develop own... javascript way simpler learn java or android ;)
how start
phonegap javascript framework. first should develop web application, start jquery mobile example, , make app run in web browser, upload host (or localhost, long it's accessible network well) , see on mobile devices.
if need access core functions of phone (for example, add phone contact based on data received) can't access through web application, need use phonegap api that, , for example have like:
var mycontact = navigator.contacts.create({"displayname": "test user"}); you can find several tutorials on phonegap wiki well, , more on getting started.
note: pluralsight has phonegap video tutorial using jquery mobile, aiming windows phone 7 application instead android one, starting point, , changes between wp7 , android in in phonegap build part, that's all.
the course takes 2h06, , free account, have 2 hours of video free, so... it's great way start :)
Comments
Post a Comment