views:

71

answers:

0

I have a widget that I've developed and it runs fine on my emulator. But when I go to and run it on my device it doesn't show up in the list

Here is what my console says:

[2010-10-14 12:43:43 - MyWidget] No Launcher activity found!
[2010-10-14 12:43:43 - MyWidget] The launch will only sync the application package on the device!**
[2010-10-14 12:43:43 - MyWidget] Performing sync
[2010-10-14 12:43:43 - MyWidget] Automatic Target Mode: using device 'D70068f58fd3'
[2010-10-14 12:43:43 - MyWidget] Uploading MyWidget.apk onto device 'D70068f58fd3'
[2010-10-14 12:43:43 - MyWidget] Installing MyWidget.apk...
[2010-10-14 12:43:45 - MyWidget] Success!
[2010-10-14 12:43:45 - MyWidget] /MyWidget/bin/MyWidget.apk installed on device
[2010-10-14 12:43:45 - MyWidget] Done!

I can see that indeed the application package is on my device via the Applications manager.

I've seen the other posts on SO: http://stackoverflow.com/questions/3347569/android-sample-app-not-showing-up http://stackoverflow.com/questions/3888383/launching-android-widget/3936481#3936481 and http://stackoverflow.com/questions/2186758/first-android-test-project-does-not-start

But I have a widget. Is that different? And here is my AndroidManifest.xml, which does indeed have a Launcher defined.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.example.widget"
android:versionCode="1"
  android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true">
    <receiver android:name=".MyWidget"
              android:label="Anything">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </receiver>

</application>
<uses-sdk android:minSdkVersion="7" />