I'm not 100% positive on this, but try changing your icon to ".png"
instead of using ".jpg".

Also here is a guide on Icon styles, including the proper size for
different screens:
http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html

On Jan 5, 6:15 am, Ajay Prabandham <[email protected]> wrote:
> Dear All,
>                 I am developing a GUI based app for Android API 9 SDK on my
> windows PC (Using Eclipse SDK and ADT plugin). I have successfully compiled
> the sources, and when i run the command to launch the emulator, the .apk
> file is successfully installed on the phone.
>
> [2011-01-05 16:32:33 - NYC-Pocket-App] ------------------------------
> [2011-01-05 16:32:33 - NYC-Pocket-App] Android Launch!
> [2011-01-05 16:32:33 - NYC-Pocket-App] adb is running normally.
> [2011-01-05 16:32:33 - NYC-Pocket-App] No Launcher activity found!
> [2011-01-05 16:32:33 - NYC-Pocket-App] The launch will only sync the
> application package on the device!
> [2011-01-05 16:32:33 - NYC-Pocket-App] Performing sync
> [2011-01-05 16:32:33 - NYC-Pocket-App] Automatic Target Mode: launching new
> emulator with compatible AVD 'Micromax'
> [2011-01-05 16:32:33 - NYC-Pocket-App] Launching a new emulator with Virtual
> Device 'Micromax'
> [2011-01-05 16:32:34 - NYC-Pocket-App] New emulator found: emulator-5554
> [2011-01-05 16:32:34 - NYC-Pocket-App] Waiting for HOME
> ('android.process.acore') to be launched...
> [2011-01-05 16:33:14 - NYC-Pocket-App] WARNING: Application does not specify
> an API level requirement!
> [2011-01-05 16:33:14 - NYC-Pocket-App] Device API version is 9 (Android 2.3)
> [2011-01-05 16:33:14 - NYC-Pocket-App] HOME is up on device 'emulator-5554'
> [2011-01-05 16:33:14 - NYC-Pocket-App] Uploading NYC-Pocket-App.apk onto
> device 'emulator-5554'
> [2011-01-05 16:33:17 - NYC-Pocket-App] Installing NYC-Pocket-App.apk...
> [2011-01-05 16:33:51 - NYC-Pocket-App] Success!
> [2011-01-05 16:33:51 - NYC-Pocket-App]
> \NYC-Pocket-App\bin\NYC-Pocket-App.apk installed on device
> [2011-01-05 16:33:51 - NYC-Pocket-App] Done!
>
> But the icon i have chosen to display on the applications menu screen is not
> displayed. Here's my manifest file:  (the image file is picture.jpg)
> I have intentionally hidden the actual resource names.
>
> <?xml version="1.0" encoding="utf-8"?>
> <manifest package="y.x" 
> xmlns:android="http://schemas.android.com/apk/res/android";
> android:installLocation="preferExternal">
>     <application android:icon="@drawable/picture" >
>         <activity android:name="xxx"
>                   android:description="@string/xxx"
>                   android:label="@string/xxx"
>                   android:screenOrientation="portrait"
>                     android:enabled="true"
>                   android:launchMode="standard">
>               <intent-filter>
>                   <action android:name="android.intent.action.MAIN" />
>                   <category android:name="android.intent.category.DEFAULT"
> />
>                   <data android:scheme="file"
>                         android:path="D:\\z.xml" />
>               </intent-filter>
>         </activity>
>         <service android:enabled="true"
>                  android:name="yyy"
>                  android:description="@string/yyy"
>                  android:label="@string/yyy">
>         </service>
>     </application>
> </manifest>
>
> Can anybody throw some light on a possible solution?
>
> Thanks and Regards,
> Ajay
>
> --
> Ajay Prabandham
> [email protected]

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to