views:

657

answers:

2

I am able to deploy my application but for some reason, I am not able to get the icon to display in the pull up menu on the Home page of the OS. Does anyone know what I can do to solve this?

By the way, the application shows up in "Manage Applications" but does not show up as an icon for some reason. Through Eclipse, I am able to start the application after deployment but that's it... After that, I don't have any way to start it because there is no icon. :( Following is my manifest file:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.android.ApplicationName"
      android:versionCode="1"
      android:versionName="2.0">
    <application android:icon="@drawable/icon" 
           android:debuggable="true"
                 android:label="@string/app_name">
        <activity android:name=".EntrySplash"
               android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
                <category android:name="android.intent.category.BROWSABLE"></category>  
       <data android:scheme="com.android.ApplicationName"></data> 
            </intent-filter>
        </activity>
     <activity android:name=".EntryScreen" android:label="@string/app_name">
     </activity>   
     <activity android:name=".ApplicationName" android:label="@string/app_name">
     </activity>  
    </application>
    <uses-sdk android:minSdkVersion="3" />
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
</manifest>
A: 

Try getting rid of your android.intent.category.BROWSABLE and <data android:scheme="com.android.ApplicationName"> temporarily, and see if your icon shows up.

Also, on an unrelated matter, I recommend that your uses-* elements be the first children of manifest, not the last. There have been rumors of problems with the XML parsing done by the Android Market, where it wants to see those before any elements.

CommonsWare
Thanks I changed that... It did not affect anything though... I did an update of the ADT plugin and that's when I started noticing this weird issue. Since then, the icon is not being installed, the project is not built or it keeps saying there are errors but does not tell me what errors... The errors "go away" when I restart the computer...
Legend
That rumor is true, we used to run into the same issue. But that problem has different symptoms, i.e. the Dev Dashboard app upload will simply fail with an error.
Matthias
A: 

Apparently I found out that it works if I manually install the application using command line adb. So, in case you updated your ADT plugin and you experience problems, just install things manually...

Legend