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

Thanks: 23
Thanked 5 Times in 4 Posts
Thumbs up

Originally Posted by jiminaus View Post
If you actually have android:name="" in your AndroidManifest.xml, that will be the problem.

But instead of fixed that, I think you have a more fundamental structural problem in your AndroidManifest.xml.

You want the same activity to start in both cases right? Then you just have one acitivity with multiple sets of intent-filters.

Move the stuff between <intent-filter> ... </intent-fitler> to inside the activity with the MAIN and LAUNCHER intent-filter.

For example:
    android:name=".MyLauncherHomeActivity" >

  <intent-filter >
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />

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


You are a very smart person.I thank you so works like a charm.I love the quick replies..that's why i like this website more than xda
powerpoint45 is offline  
Last edited by powerpoint45; February 13th, 2012 at 10:50 AM.
Reply With Quote