Titanium Working With App Icons

Titanium is a great tool for developing across mobile platforms. The below shows how add custom device icons and artwork for the Android and iPhone.

Titanium Project layout

After you create a new Titanium Project, you will have a directory structure similar to the below.  The Resources folder is the “root” folder for your application.  The android and iphone folders allow you to add platform specific functionality.Directory1

 

Titanium Project Application Icon

Titanium Mobile will generate device icons for you using the Application Icon you define under your project properties, shown below.  This is the first step in working with your device icons on both the iOS and Android platforms.settings

 

Working with Android Icons

By updating files in the android directory you can provide Android specific project features such as icons, splash screen, images, and even code files.  In the below example updating the appicon and Default image files allows you to customize the device icon and splash screen for the Android platform.

android

Working with iPhone Icons

By updating files in the iphone directory you can provide Android specific project features such as icons, splash screen, images, and even code files.  In the below example updating the appicon and Default image files allows you to customize the device icon and splash screen for the iOS platform.  Also by adding a 512 x 512 copy of your icon named iTunesArtwork Titanium will add your icon into iTunes.

iphone

0 comments:

Post a Comment