2

What is the best way to develop a mobile application that run on multiple devices mainly (android and iPhone)?

1) Use android frame work and iOS framework.
2) Or use a cross platform development library something like (AirPlay SDK for example).
3) Or there is other way else you prefer.

Please feel free to give me your suggestions.

Edit: I forgot to say, it'll be a game which require a lot of 2-D graphics.

6 Answers 6

1

Appcelerator Titanium is a solution. You write your app in Javascript/CSS and it compiles to Android and iOS via shims.

http://www.appcelerator.com/

1
  • Can I use it to build a game? Jul 12, 2011 at 1:18
1

PhoneGap is also a good choice if you want to deploy to multiple platforms.

1
  • Can I use it to build a game? Jul 12, 2011 at 1:17
1

Depending on the application, I'd take a strong look at HTML5 combined with something like jQuery Mobile. Unless your application requires more of the sophisticated resources on the device, this cross platform approach may be appropriate

6
  • Can I use it to build a game? Jul 12, 2011 at 1:18
  • Depends on what the game is :). There are plenty of JavaScript only games
    – jglouie
    Jul 12, 2011 at 1:19
  • 1
    If you need to tie into things like the accelerometer, LED notification lights, vibration (device hardware) this approach probably will not be reasonable
    – jglouie
    Jul 12, 2011 at 1:21
  • Will require graphics and physics just like en.wikipedia.org/wiki/Fruit_Ninja Jul 12, 2011 at 1:21
  • 1
    Google made a playable version of Pacman using HTML5. That's an example of its potential. google.com/pacman
    – jglouie
    Jul 12, 2011 at 1:24
1

If it's a game you should consider Shiva3D and Unity.

1

I always create two aplications, and i try to make them the most equal possible but using always all device functions needed.

1
  • Is it effective, what makes you do that? Jul 12, 2011 at 14:34
0

write your common code in C++, both platforms support it. for platform dependent code you can create one interface with two different implementation

4
  • Can I use it to build a game? Jul 12, 2011 at 1:18
  • 1
    The problem is that the major inconsistencies between platforms are in the UI. Having common "business logic" does little good in most cases.
    – Hot Licks
    Jul 12, 2011 at 1:27
  • @mohamede1945 are you asking if you can use C++ to build a game? Jul 12, 2011 at 1:46
  • sorry for the late reply.. Yes, check out: market.android.com/… itunes.apple.com/sg/app/coin-pirates/id414430333?mt=8 is the example of games coded that way... a lot of game studios are building their own in-house engine this way as well.. It is similar to the way multiplatform games (PS3 & X360 esp) are written Aug 25, 2011 at 3:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.