View Single Post
Old February 12th, 2012, 01:47 PM   #1 (permalink)
powerpoint45
Junior Member
Thread Author (OP)
 
powerpoint45's Avatar
 
Join Date: Dec 2011
Posts: 58
 
Device(s):
Carrier: Not Provided

Thanks: 23
Thanked 5 Times in 4 Posts
Question (q) my application wont work unless i click on it from another launcher

Ive gotten pretty far on my own launcher.I used this code to make it so when you click home your launcher appears:

<activity
android:label="@string/app_name"
android:name=".yourclassname.java" >
<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>

This works but when i reboot and click on my launcher from the dialogue that pops up to select your launcher, it force closes. To fix this temporarily i just click on my app from a different launcher. Anyone have an idea on how to fix this? THANKS
powerpoint45 is online now  
Reply With Quote