Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

android appwidget

$
0
0

I want to create android appwidget. here is the receiver in manifest.xml

<receiver
    android:name=".AppWidgetExample"
    android:icon="@drawable/widgets"
    android:label="@string/app_name" >
    <intent-filter>
        <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
    </intent-filter>
    <intent-filter>
        <action android:name="MY_OWN_WIDGET_UPDATE" />
        </intent-filter>
        <meta-data
            android:name="android.appwidget.provider"
            android:resource="@xml/appwidget_provider" />
</receiver>
Now I can find my widget in widget list, but any update cannot be done, as it cannot find my AppWidgetExample class, so How can I link to my java class.

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>