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,8 +13,11 @@ public final class R {
|
||||
public static final class drawable {
|
||||
public static final int icon=0x7f020000;
|
||||
}
|
||||
public static final class id {
|
||||
public static final int widgetbutton=0x7f060000;
|
||||
}
|
||||
public static final class layout {
|
||||
public static final int main=0x7f030000;
|
||||
public static final int travelpostwidget=0x7f030000;
|
||||
}
|
||||
public static final class string {
|
||||
public static final int app_name=0x7f050001;
|
||||
|
||||
Reference in New Issue
Block a user