Hi, I'm using Titanium Appcelerator since one month. First I've installed it on a pc for developing for Android. After solving some problems (like "where is the adb?", include the xml resource, where to locate files in the device) I started write my app. Somethings written in the API references doesn't work, sometimes clicking on the "launch" button doesn't work, sometimes you have to force the rebuild of the project...a lot of problems (ex: using words with accent -also in the comments- makes crash the compile process!). I've continued develop my app and after a lot of problems it works ( a little bit slowly but it works ). Sometimes I asked help on the Q&A...nobody answered to me... For all the time I've written only things work both with Android and iOS (in the API reference on the top-right of the page there were always both symbols of Android and iOS). I've installed it on a Mac and I've copied my App on it, after solving the same starting problems I've tryed to test the App on the iOS simulator...it doesn't work!!! After one day trying to understand the reason of this disaster (believe me, a disaster!) I've decided to rewrite completly my App with the Mac. My hope was that if you write all the code with a Mac you will be able to observe difference between the results in Android and in iOS (you can't compile on iOS with a pc running windows). I started rewrite my App and after some simple code I tryed to run it both on Android and iOS: results are completly different! I thinked "Ok, let's start again from the begining..." Always on the mac I created a new project, I went to
I've copied the code in the example (I think written from the Appcelerator staff) and I've tryed to run it both on Android and iOS...the results are completely different! It doesn't work (especially on iOS). I've smiled, I closed my pc and I had a coffe. Now I turned on my pc. I don't want to take the decision now between continue or not to continue developping with Appcelerator Titanium because before I hope somebody lets me change my opinion on it. Someone will answer me this time? I think no, but I want to try for the last time...
Please use enters in your text next time, it is unreadable atm.
Do note, an Android is NOT and iPhone and vice versa!
I like you, have created an Android app, without using Android specific code it was chrashing on iPhone.
It took me only 2 days to get the same app working on iPhone, find the bugs why and how they occur. Use the if(Android) if(iPhone OS) statements so it'll work on both phones.
After only 2 weeks of development on Mac, i dont wat to return to Android, the emulator is shit compared to the iPhone one.
You need to make specific code for iPhone and Android, especially for the UI. Make classes where you use the same methods etc. you can use alot of the same code for Android and iPhone.
I do agree that the Q&A is not the most effective source for your problems, youll have to bear that.
But developping on Titanium gives you the best opportunity to develop for bot iOS and Android. There will be differences. But more importantly after i learned the ropes on Android, ive had 10x more progress on the iPhone in 6 weeks then in 3 months for the Android.
Meaning, you dont have to learn 2 different languages, and coding titanium is pretty easy.
If you've read this entire thing i do have a suggestion for you. Although you prolly wont prefer it, but try all over for iPhone, fresh project but use code segments from your Android project. This helped me alot really.
Owhyea apple sux for not letting us compile on PC >.> really was a burden on my progress >.<
Think you can help? Login to answer this question!