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:
2011-01-24 01:30:15 +00:00
parent 1e39e770bd
commit db27e1528a
6 changed files with 127 additions and 26 deletions

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<Button
android:id="@+id/widgetbutton"
android:text="Post"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
</LinearLayout>