I need to write an application that can run on both Android and Apple devices. At this point I have found a couple of solutions:
* Use a framework such as Appcelerator Titanium or PhoneGap,
* Use C++, and then write the UI parts both in Java and Objective-C (as C++ can be run on both platform),
* Write everything twice...
What are your experiences and suggestions regarding this problem?
EDIT: I'm working on the mobile application for our school, we need more than a website because we want to do stuff like Wifi triangulation, maybe also AR.
I've tried Appcelerator and you'll get to a point near the end where you've got to do the other 80% of your application and the third party framework is going to fight you till completion, or some state of completion that you're ok with.
One of the problems is that the simplification also requires you to give up your power.
If you're doing a simple application then maybe a third party tool will help you, but in my experience I would rather work slowly and remain sane.
I would consider Appcelerator again if I needed to prototype something very quickly.