5

Is there any document to develop cross-platform mobile application. I have try to go with phonegap but I couldn't find any documentation to develop high level application using that like, server communtication, with social networking integration, Game development etc.

I have already gone through the basics for that and also have gone through its site Phonegap.

If anybody is having such documentation please do share.

I have also searched that there are other cross-platforms supports like, titanium appcelerator etc. But not having any knowledge about that.

I would be really thankful as i want to learn cross-platform mobile application development.

Mrunal
  • 13,982
  • 6
  • 52
  • 96
  • 1
    What specifically are you trying to do? Is javascript the best option for what you want to do? There are limitations in corss-platform applications, decide if you can live within those limits first. – James Black Feb 01 '12 at 15:03
  • @James Black: I have already knowledge about iOS native development. Now i want to develop cross-platform applications like games and all. So I guess such cross-platform APIs (Phonegap, Titanium, Corona, etc.) would be easier for me rather than to learn Windows as well Android. So please suggest me which to choose and where to start. – Mrunal Feb 02 '12 at 08:40

2 Answers2

3

First, before jumping in the cross platform development mobile world, you have to choose between :

  • HTML/JS/CSS based method that will allow you to embed your web application in an executable using a framework(Like Phonegap).
  • A framework that will allow you to program using one language (For example, in Titanium, you use Javascript) and then turn is into a full native iOS/Android application.

Then next question that will come to your mind is : Which one should I use ? Well, we already discussed it here and here. To sum up that post, Titanium (obviously) renders the views quicker. Use Phonegap if you have an existing website and want to use the same client logic (using the same js, html and css).

The last question is about documentation : For Phonegap, I think that the documentation is clear and you have to use your own web developer skills. On the other hand, for Titanium, personally I didn't buy a book : I find the documentation easy to read. What you have to do is practicing and then, you will face some bugs or lacks in the Titanium framework. If you want, you can find a couple of books in Amazon (like this one).

EDIT :

AFAIK, Windows Phone is not in the Appcelerator's roadmap. I know that the community wishes this platform instead of BlackBerry (always in beta?).

For your question, personnally I prefer Titanium because it really what users want : a true user friendly experience through an adequate UI. Imagine, with one code, you can get two dedicated UI without styling. In Phonegap, I had to create a CSS for iOS and another one for Android.

It's all about UI. Because the business layer is the same. I really recommand you to try both frameworks (or more) and create a true app with a tables, animations, notifications, web service call, geolocation, transitions and a social sharing functionnality. Then, you can have a true idea about each framework.

EDIT 2 :

To get started with Titanium, you can have a look at some tutorials at this web page. But, what it really helped me to improve is:

  • The very complete documentation
  • The KitchenSink project hosted here. It can help to see how to put in place a good project architecture, shows some good practices, etc.

But beware, Titanium is really good for business apps but limited for games.

Community
  • 1
  • 1
Zakaria
  • 14,892
  • 22
  • 84
  • 125
  • Corona could be used. Apps seem to be developed in Lua. More info here: http://developer.anscamobile.com/resources/apis – Wolfgang Schreurs Feb 01 '12 at 15:49
  • @Zakaria: So do you mean Titanium is the better option than Phonegap? I know the native development for iOS but not having knowledge about Android & WindowsMobile development. So I want to go with cross-platform mobile development (FYI). Please feel free to post your suggestions – Mrunal Feb 02 '12 at 08:38
  • @Zakaria: So according you Titanium is preferable. Really thankful to you for helping. Can you please provide any online link for Titanium learning documentation, whichever you use? – Mrunal Feb 02 '12 at 15:14
  • @mrunal : See the EDIT2. – Zakaria Feb 02 '12 at 15:50
  • Titanium is expensive – dns Sep 14 '14 at 20:26
0

Corona would be a good choice for Game development. Titanium is good choice if you want native apps. Phonegap is a good choice if you want/have HTML content but need to access native features like contact lists or camera.

If you go down the route of building an HTML5 app, I would strongly recommend some type of background syncing of content. It is a much better user experience to load html pages from the phone's local disk versus from the web, as discussed in this article - http://www.thorntech.com/2013/01/html5-vs-native-apps-which-will-win-the-mobile-app-development-battle/

Jeff
  • 1,538
  • 2
  • 18
  • 33