Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Ranch Hand
Posts: 1287
  • 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?
 
Sheriff
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: 1287
  • 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.

 
Bartender
Posts: 11445
18
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)
 
Rancher
Posts: 42975
76
  • 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
Sheriff
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: 1287
  • 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
Bartender
Posts: 11445
18
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
Boost this thread!