Hello,
I use Titanium mobile for 2 weeks ago and I created my 2 firsts applications, one little game and one calculator. Those two work normaly when I test them on the Android Emulator.
However, when I test them on the Iphone Emulator, the GUI is totaly different and the components (views, buttons, labels) aren't in theirs good places. The code is the same!
Why? What I need to do for change that? There are differences between code for iphone and code for Android with Titanium ?
Remdel
2 Answers
For the UI, you might have to work a bit...logic will be the same, but you might have to do a lot of tweaking for iPhone and Android UI, even different Android devices have different resolution. Are you doing absolute positioning ? Maybe you should calculate positions based on resolution...
That said, didn't tried my app on Android yet, it is planned for later this summer.
Good luck !
Hello,
Thanks for your answer. How can put my element in absolute position? Yes, I'm actually in relative position.
However, it's not only a question of positionning. There is displaying problems : see in this link :
http://www.hostingpics.net/viewer.php?id=900367Capture_d_ecran_2010_07_22_a_15.43.11.png
It's exactly the same code and for the iphone I don't see buttons and text color of labels and buttons are different.
Why ? Is it normal ? What can I do to have the same that for the android ?
Thanks
Your Answer
Think you can help? Login to answer this question!