atom feed9 messages in [android-developers] Re: Replace ...
FromSent OnAttachments
mahadevan vNov 16, 2007 4:34 pm 
dasGrungeNov 17, 2007 7:50 pm 
Dmit...@gmail.comDec 4, 2007 6:38 am 
Dan MorrillDec 4, 2007 9:11 am 
Dmit...@gmail.comDec 4, 2007 9:52 am 
Dmit...@gmail.comDec 4, 2007 10:20 am 
adamacDec 4, 2007 11:38 am 
Maxim YudinDec 5, 2007 12:11 am 
mahadevan vDec 5, 2007 6:01 pm 
Subject:Re: [android-developers] Re: Replace Home Screen with a different app
From:Dan Morrill (
Date:Dec 4, 2007 9:11:33 am

Hi, everyone!

Actually, you shouldn't need to hack the system images at all; you should be able to do this simply by writing an app and using the correct intents. Specifically, you'll want these three, I believe: .html#HOME_CATEGORY

Here's a sample intent-filter:

<intent-filter> <action android:value="android.intent.action.MAIN" /> <category android:value="android.intent.category.HOME"/> <category android:value="android.intent.category.DEFAULT" /> </intent-filter>

If you set up your Activity to have those 3 Intents in its intent-filter, it should be fired when the Home screen would normally appear. However, since we currently don't have a way to let users specify the preferred Activity to use for a given Intent filter, the user will get a prompt to pick the correct Activity. We plan to improve that in a future SDK release.

We haven't tested this recently, though, so let us know if you run into problems.

Hope that helps,

- Dan

Dec 4, 2007 6:38 AM <>:

you can replace in the following way:

- create dierctory on local drive: like c:\mydevice\system\app - place Home.apk into app folder - run emulator - use "adb sync c:\mydevice\system" command - start ddms.bat and use "halt VM" to restart emulator

the problem is that you will get a lot of exceptions at startup... because you should completely implement functionality of the 3 activities: Home, AllApps and Wallpaper

any clues how to decompile original app and make your own app the same? :-)

On Nov 17, 3:34 am, mahadevan v <> wrote:

Has anyone tried replacing the default home screen with a different application? The default Home.apk is in /system/app folder. I deleted this and downloaded a different Home.apk using the adb and restarted the emuator. I found that the emulator reconfigures itself (sort of a self healing!!) and scraps my Home.apk and rewrites it with the default one and launches the same. I dont know from where it brings in this backup default apk. I guess my approch is incorrect. I read the following statement at the groups home page.

All applications are equal: Android does not differentiate between the phone's basic and third-party applications -- even the dialer or home screen can be replaced.

Said that there should be a cleaner way to replace the default apps. Any suggestions?

Thanks Mahadevan