5

AM using for Eclipse for my android programming stuff.

But after running my application into my Samsung Galaxy Tablet , the icon is missing in home or applications. But it appearing in , Settings-->Applications-->Manage Applications . It does bothering from last couple of days it bothering me, before that i didn't seem like that.

Hiral Vadodaria
  • 19,158
  • 5
  • 39
  • 56
Uday
  • 5,933
  • 9
  • 44
  • 76

6 Answers6

3

you need to add below line in androidmanifest.xml file

<activity android:label="@string/app_name"
          android:name=".MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
</activity>

android.intent.category.LAUNCHER is necessary to be shown in launcher, and android.intent.action.MAIN is responsible for being started. thats y your application icon is not displayed in the app list. but it will show in Settings-->Applications-->Manage Applications.

Padma Kumar
  • 19,893
  • 17
  • 73
  • 130
2

you should delete all default icons and replace them with your own in all drawable folders and restart the app. try to debug directly on your phone..

doniyor
  • 36,596
  • 57
  • 175
  • 260
  • default icons in the sense, ? – Uday Nov 04 '11 at 09:51
  • default icons are the ones which come into life when you set your project. if you start your app for the first time without having your own icon, default android icon is set. and these icons are to delete, if you set your own one.. as i mentioned, they are in all drawable folders... – doniyor Nov 21 '11 at 09:04
1

You have to create different icons and add them in "res/drawable" folder.

For more detailed information, please read Google's Icon Design Guidelines.

morphium
  • 686
  • 1
  • 6
  • 13
1

Try clearing you Level-2 RAM on your device. This used to happen to me on my HTC, but that usually fixed the problem.

Raoul George
  • 2,807
  • 1
  • 21
  • 25
1

It solved by removing this line for my launcher activity :

The problem is <data android:scheme="linkedinapp" android:host="connect" />

Uday
  • 5,933
  • 9
  • 44
  • 76
  • did you check @PadmaKumar answer? Did you have the tag in your xml? – Sherif elKhatib Nov 16 '11 at 09:37
  • yes i have intent-filter tag , in that with action and category. i kept data scheme stuff to my launcher activiy, so its missing. – Uday Nov 18 '11 at 09:00
  • My issue solved with this: http://stackoverflow.com/questions/8133954/launcher-icon-missing-in-android – Uday Nov 18 '11 at 09:01
0

Me too had similar experience when doing deeplinking and the issue was i edited already existing <inten-filter> tag,the correct way is add new <intent-filter> as shown

 <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
    <!--add deeplinking info as a seperate intent-filter-->
    <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <!-- Accepts URIs that begin with "http://www.example.com/gizmos” -->
            <data android:scheme="http"
            android:host="www.example.com"
            android:pathPrefix="/qlink"
            />
            <!-- note that the leading "/" is required for pathPrefix-->

    </intent-filter>

Reference :reference 1 reference2

Jose Kj
  • 2,912
  • 2
  • 28
  • 40