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:
13
TravelPost/res/layout/travelpostwidget.xml
Normal file
13
TravelPost/res/layout/travelpostwidget.xml
Normal 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>
|
||||
Reference in New Issue
Block a user