created travelpostwidget.xml to be used as the widget layout

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
This commit is contained in:
ricky committed 2011-01-24 01:30:15 +00:00
1 parent 1e39e770bd
commit db27e1528a
6 files changed
+127 -26

No files matched your search

+5 -2
View File
@@ -1,4 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider
xmlns:android="http://schemas.android.com/apk/res/android">
</appwidget-provider>
xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="146dip"
android:minHeight="72dip"
android:updatePeriodMillis="10000"
android:initialLayout="@layout/travelpostwidget"/>