Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what are the things to consider when converting Titanium ios app to Titanium Android

 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a app which is build for ios using Titanium. I need to Convert this app to Android using Titanium.What are the things need to consider for this?
I found that android doesn't support capital letters for images.So i need to change them.can anyone tell me what are the other things?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sam liya wrote:
I found that android doesn't support capital letters for images.

I don't have experience in Android but I doubt that it doesn't allow capital letters for images. Where did you read that?
 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i try to add capital letters for drawable resources it gives me below error.

 
Maneesh Godbole
Saloon Keeper
Posts: 11341
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So what happens if you rename your file to ic.png (lower case)
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's true, not just for images: all resource file names are limited to the characters mentioned in that error message.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:It's true, not just for images: all resource file names are limited to the characters mentioned in that error message.


Thanks! That sounds a bit too restrictive though.
 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks all.can anyone help me my main question.what are the things need to consider converting iphone apps to Android one using titanium?
 
Maneesh Godbole
Saloon Keeper
Posts: 11341
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jaikiran Pai wrote:
Ulf Dittmer wrote:It's true, not just for images: all resource file names are limited to the characters mentioned in that error message.


Thanks! That sounds a bit too restrictive though.

True. But the reason is also provided
The resource compiler converts directory names to lower case before processing to avoid problems on case-insensitive file systems. Any capitalization in the names is only to benefit readability.

http://developer.android.com/guide/topics/resources/providing-resources.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic