i made PostActivity.java to get users input after a widget click i added post options to the settings.xml TravelPostWidget.java i added an if block to check users settings for posting LocationReceiver.java i made a convince method for posting and added an if block that generates a post base on users settings
62 lines
2.6 KiB
Java
62 lines
2.6 KiB
Java
/* AUTO-GENERATED FILE. DO NOT MODIFY.
|
|
*
|
|
* This class was automatically generated by the
|
|
* aapt tool from the resource data it found. It
|
|
* should not be modified by hand.
|
|
*/
|
|
|
|
package com.TwentyCodes.android.TravelPost;
|
|
|
|
public final class R {
|
|
public static final class attr {
|
|
}
|
|
public static final class drawable {
|
|
public static final int facebook_icon=0x7f020000;
|
|
public static final int icon=0x7f020001;
|
|
public static final int logoidea3=0x7f020002;
|
|
public static final int sign_post_icon=0x7f020003;
|
|
public static final int sign_post_icon_mod=0x7f020004;
|
|
public static final int skyhook_logo=0x7f020005;
|
|
public static final int skyhook_logo_alpha=0x7f020006;
|
|
public static final int skyhook_logo_alpha_small=0x7f020007;
|
|
public static final int tc_logo_complete=0x7f020008;
|
|
public static final int user=0x7f020009;
|
|
}
|
|
public static final class id {
|
|
public static final int authCode=0x7f060007;
|
|
public static final int authOkButton=0x7f060006;
|
|
public static final int authWebView=0x7f060008;
|
|
public static final int post=0x7f060001;
|
|
public static final int postOkButton=0x7f060000;
|
|
public static final int skyhook_img=0x7f060002;
|
|
public static final int tc_img=0x7f060004;
|
|
public static final int text=0x7f060003;
|
|
public static final int widgetbutton=0x7f060005;
|
|
}
|
|
public static final class layout {
|
|
public static final int main=0x7f030000;
|
|
public static final int post=0x7f030001;
|
|
public static final int powered_by_skyhook=0x7f030002;
|
|
public static final int travelpostwidget=0x7f030003;
|
|
public static final int webauth=0x7f030004;
|
|
}
|
|
public static final class string {
|
|
public static final int about=0x7f050007;
|
|
public static final int app_name=0x7f050000;
|
|
public static final int fb_signin=0x7f050005;
|
|
public static final int gps_fix=0x7f050001;
|
|
public static final int hello=0x7f050003;
|
|
public static final int location_settings=0x7f050006;
|
|
public static final int post_hint=0x7f05000b;
|
|
public static final int post_settings=0x7f050008;
|
|
public static final int save_a_post=0x7f050009;
|
|
public static final int services=0x7f05000a;
|
|
public static final int sorry_theres_trouble=0x7f050002;
|
|
public static final int twitter_signin=0x7f050004;
|
|
}
|
|
public static final class xml {
|
|
public static final int settings=0x7f040000;
|
|
public static final int travelpostwidgetinfo=0x7f040001;
|
|
}
|
|
}
|