added required information into travelpostwidgetinfo.xml TravelPostWidget.java created onReceive(), onUpdate(), onDestroy() added debug logs to TravelPostWidget.java added TravelPostWidget.java to the AndroidManifest.xml got the widget button to start the service via a pending intent basic testing seems to be all working, i need to run some more test on the service befor i call it done
8 lines
273 B
XML
8 lines
273 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<appwidget-provider
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:minWidth="146dip"
|
|
android:minHeight="72dip"
|
|
android:updatePeriodMillis="10000"
|
|
android:initialLayout="@layout/travelpostwidget"/>
|