Changing The User Interface Of An Android
In Android, how can I replace the user interface of an emulator by my own interface? I would like to start my own interface immediately as the emulator gets started and that the us
Solution 1:
I think you mean you want to create an alternative Home application which can be set as the default.
You need to add something like the following to your AndroidManifest.xml:
<activityandroid:name="Home"
<intent-filter><actionandroid:name="android.intent.action.MAIN" /><categoryandroid:name="android.intent.category.HOME"/><categoryandroid:name="android.intent.category.DEFAULT" /></intent-filter></activity>If you look in the samples folder of the Android SDK you will find a sample Home application which may help you. In the Android 1.6 SDK it is location at /android-sdk-linux_x86-1.6_r1/platforms/android-1.6/samples/Home
Also you can look at the source of the native Android Home application in the Android source here.
Solution 2:
seems you are talking about skins... in that case, look in: c:\android-sdk-windows-1.5_r1\platforms\android-1.5\skins\HVGA\ there is a INI file that defines the look and feel
Post a Comment for "Changing The User Interface Of An Android"