• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps help on custom launcher

I'm going to make my own launcher such as go launcher and I need to know one thing. How do I make it so when you click home it goes to my launcher.My guess is that I need an intent that is the same as the default launcher,But I don't know what the intent is... please help...thank you
 
I still don't understand what you are trying to do. Are you trying to make your own launcher?

I just want to replace my home screen for now...just a test..but yes after that I am just going to make a very simple launcher.So I just need my app to open when I click home for now.
 
I got it working,hell yeah!!!

I put this in manifest




<activity
android:label="@string/app_name"
android:name=".myhomescreen" >
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
 
I got it working,hell yeah!!!

I put this in manifest




<activity
android:label="@string/app_name"
android:name=".myhomescreen" >
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
Cool. Congrats! Hope to see your apps in the market one day!
 
Back
Top Bottom