I developed an app. for iphone. same app i need to develop for android.
i found some stuff about. sencha, phonegap,
Does it work efficiently?
It'll be better if you'll develop it for Android again.
Related
I have the following queries on using phonegap / Titanium appcelarator for our cross platform mobile development
Currently we want to develop iPhone compatible and android compatible app with single source code using the cross platform mobile SDKs
Can this phoneGap or Titanium appcelarator works with single source code on both the iPhone and Android platforms?
also is there any other platform works as such?
And how these application will be relased with Appstore / Android market place since they have single code base ( source code ).
Any helps would be greatly appreciated.
I have tried out Sencha Touch with PhoneGap and also Titanium.
Sencha touch is pretty easy as it is based on javascript and can be used with android and iphone. The app created with Sencha touch can later be wrapped inside phone gap and submitted to the appstore.
Titanium again uses javascript but they do some processing on it. So the app is native.
They do have some common api's that can be used for both iphone and android. But for some advanced features they have 2 seperate sets of api's for both android and iphone.
So both have some differences. And they are both acceptable in Appstore and android market place.
I have not tried Titanium, but one of my friends is using Corona. He said its support Android and iPhone, and easily port over. You will need at least, adjust the image size, AFAIK, the image size for iphone and androids(various size) are different.
Corona: Write once, build to both iOS and Android.
corona concentrates on games. it uses lua. if you want to build a cross platform application you should first design your application cross platform. android and ios are different os with different style guides.
i have experiences with titanium and it worked fine. but i experienced that a cross platform design is important since the most time of building the app was used for programming the user interface. so invest time in building a good mvc design and ui. after that it worked out easily.
Find answers for you question below.
Can this phoneGap or Titanium appcelarator works with single source code on both the iPhone and Android platforms?
Yes It can definitely work with single code base. in addition to this you can develop universal App that can run in tablet and handheld from single code base
(NOTE: however on some point you have to differentiate between iOS and Android as some of the functionalities are specific to iOS or Android System. Titanium provide constants to check between iOS and android. It also provides constants to differentiate between Tablet and Handheld devices)
also is there any other platform works as such?
Other than Android and iOS titanium provides support for blackberry and mobile web platforms also.
And how these application will be relased with Appstore / Android market place since they have single code base ( source code ).
You can build App for required platform from titanium it self.
I'm trying out PhoneGap, so I followed the instructions to create an Android Project in Eclipse.
But now I'm wondering how I can use this same code for building an iPhone app.
Is there something like a hybrid project in Eclipse!?
UPDATE:
I realize now that it's not possible to use PhoneGap on Windows to develop iPhone apps? That's too bad... is there any way to use PhoneGap on Windows to compile for iOS ??
In theory PhoneGap build should allow iPhone development on Windows.
However Nitobi was bought out by Adobe (PhoneGap:Build service may have changed), and you may still need iOS to upload your app (might be able to get around with a jailbroken iOS?!).
A dodgy solution could be to install OSX in a vbox virtual machine :)
No, there is no way to develop iPhone app on Windows using PhoneGap or Titanium.
Because they need iPhone SDK and Android SDK on back-end, which is not possible on windows environment. However you can make both apps on iOS simulations.
I have implemented an application on Android using phonegap and Jqtouch. Its working fine.
I would like to test the same on iPhone. Could you please suggest me , how to test it on IPhone? Does it required any additional components to test it?
go on http://www.phonegap.com/start/ if you had used phonegap and check for ios.
Definitely, you need MAC, developer certificate ($99 atleast), XCode (4 gb)
and it is not easy to upload on app-store as in android market.
Can i use my iPhone for android application development testing?
By using some hacks, you can do so. But what will be the use of this? The users of your application will use it on an Android phone, not on iPhone. If you don't have an Android device, you can test your apps on emulators of different versions.
Actually, it may be possible:
http://www.youtube.com/results?search_query=android+on+iphone&aq=0
http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=how+to+install+android+on+iphone
Just try to install Android on your iPhone.
Does your iPhone run Android? Probably not, so no you can not use your iPhone to test apps that were built for Android.
You can install Android on an iPhone, but I don't know about developing.
For iPhone 2G: http://www.iphoneheat.com/2010/05/install-android-on-iphone-3g-2g-iphodroid/
3G/S: http://www.youtube.com/watch?v=cB9e3Cb-H4I
(Nothing available for iPhone 4 yet, but it is coming soon: http://www.redmondpie.com/android-on-iphone-4)
This is still a preliminary version, and is buggy, as a lot of the drivers don't work. This could limit it from being used for Android development.
I am testing a native mobile app that has been developed for the iPhone, and I am trying to find an emulator that will run on Windows. I have found a lot of emulators, but their description is for mobile web apps, but the app that I am testing, and will be testing, is for native apps. Does anyone know of an iPhone emulator for Windows to test native apps?
Nope. There's no such program out there currently. If you're doing iOS development, you more or less need an Intel-based Mac.
This isn't possible as Native Apps are specifically for them, platforms.
If you would like to develop multi-platform app, i would advise a Mobile Web Application.
SeeTest enables you to connect IOS emulators and to test native applications.
See here: http://experitest.com/studio/help2/WebHelp/Connect_iPhone_emulator1.htm
No solution for that to my knowledge. The only way I can think of would be to use Hackintosh with Xcode.