I hear that the Android's desktop is an application that I can change. I'm searching for some information about how to do that.
-
Please specify what you mean with 'change'? Just change look&feel, theme, widgets, or entirely replace the default desktop app. – Mathias Conradt Jul 08 '10 at 14:20
-
@Mathias entirely replace. I'll test the your approach and I back here to tell. – The Student Jul 08 '10 at 14:34
2 Answers
I guess you mean when you press the home button you want to have your app there instead of the default home screen? And do you mean on a non-rooted phone?
I use an intent filter for that, i.e. I want my activity to start on phone boot-up and be the default home screen.
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
<category android:name="android.intent.category.HOME"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
On a regular phone, the user will get an option to choose between your app and the default home screen though at first, although he can mark a checkbox then to always choose this app as the default screen then - but your app cannot force the user to do that.

- 28,420
- 21
- 138
- 192
In the market you can search for Home Replacements. Once you install one and press the home button you will get a Choose Dialog, that let's you pick from the default Home and the newly installed one.
The current Home Screen that I use is Launcher Pro.

- 73,164
- 16
- 126
- 119
-
But... that won't help too much. I guess, the dude want to know how to do it in his own application. – Cristian Jul 08 '10 at 14:37