App isnt installed widget android -
trying test widget.the widget appear in widget tab when click on it, app not installed toast message in emulator don't understand how widget works , 1 more sub-question : followed http://kasperholtze.com/android/how-to-make-a-simple-android-widget/ tutorial -> have source code , perhaps need run once activity , how code compiled widget anyway?
below manifest.
<receiver android:name=".timewidget" android:label="time" > <intent-filter> <action android:name="android.intent.action.airplane_mode"/> <action android:name="android.appwidget.action.appwidget_update" /> </intent-filter> <meta-data android:name="android.appwidget.provider" android:resource="@xml/time_widget_provider" /> </receiver> <activity android:name="com.example.ass3.mainactivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:name=".configurationactivity" > <intent-filter> <action android:name="android.appwidget.action.appwidget_configure" /> </intent-filter> </activity> <activity android:name="inccallhistory" android:label="incoming call history"></activity> <activity android:name="timewidget" android:label="time widget"></activity> </application>
Comments
Post a Comment