If you are developing an application in Appcelerator’s Titanium and you find yourself needing to have a different name displayed in the device springboard (or home menu) to the project name, this is how you do it (after much reading and trial and error). At the time of writing, I am using Titanium Mobile 1.7.5.
For iOS applications, you need to copy the Info.plist file that is generated by Titanium Studio into the root directory of your project (where your tiapp.xml file lives). In this file you need to edit the ‘CFBundleDisplayName’ element.
For example:
<key>CFBundleDisplayName</key> <string>My App Name</string>
For Android, it’s a little different and took me a lot longer to figure out (which seems to becoming a common theme with Titanium).
View the tiapp.xml file as xml (not the overview editor) and find (towards the bottom of the file):
<android xmlns:android="http://schemas.android.com/apk/res/android"/>
Replace it with this:
<android xmlns:android="http://schemas.android.com/apk/res/android"> <manifest> <application android:debuggable="false" android:icon="@drawable/appicon" android:label="My App Name"> </application> </manifest> </android>
You also need to change the Application’s name in the tiapp.xml. Find:
<id>com.my.id</id> <name>App Name</name> <version>1.0</version>
And edit the ‘name’ element to the same as you added into the android:label parameter above.
