From 08163b2e56c9ae4660a20017c7f1c4c44ad1c385 Mon Sep 17 00:00:00 2001 From: TommyLemon <1184482681@qq.com> Date: Thu, 26 Jan 2017 22:12:42 +0800 Subject: [PATCH] =?UTF-8?q?Client=EF=BC=9Aadt=E4=BF=9D=E5=AD=98POST?= =?UTF-8?q?=E8=BF=94=E5=9B=9Eid=E7=94=A8=E4=BA=8E=E5=90=8E=E7=BB=AD?= =?UTF-8?q?=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../APIJSONDemoApp/gen/apijson/demo/R.java | 9 ++- .../res/layout/select_activity.xml | 18 ++--- .../APIJSONDemoApp/res/values-en/strings.xml | 1 + .../APIJSONDemoApp/res/values/strings.xml | 3 +- .../src/apijson/demo/RequestUtil.java | 44 +++++------ .../src/apijson/demo/ui/QueryActivity.java | 77 +++++++++++++------ .../src/apijson/demo/ui/SelectActivity.java | 12 +-- 7 files changed, 101 insertions(+), 63 deletions(-) diff --git a/APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/gen/apijson/demo/R.java b/APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/gen/apijson/demo/R.java index e0b64787..a73bf672 100644 --- a/APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/gen/apijson/demo/R.java +++ b/APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/gen/apijson/demo/R.java @@ -35,7 +35,7 @@ public final class R { public static final int app_name=0x7f050000; public static final int app_version=0x7f050001; public static final int array=0x7f050015; - public static final int browser_can_only_receive_get_response=0x7f05001b; + public static final int browser_can_only_receive_get_response=0x7f05001c; public static final int columns=0x7f050013; public static final int complex=0x7f050016; public static final int delete=0x7f05000f; @@ -43,9 +43,9 @@ public final class R { public static final int demo_columns=0x7f050006; public static final int demo_complex=0x7f050009; public static final int demo_complex_post=0x7f05000c; - public static final int demo_delete=0x7f050003; + public static final int demo_delete=0x7f050004; public static final int demo_post=0x7f050002; - public static final int demo_put=0x7f050004; + public static final int demo_put=0x7f050003; public static final int demo_rely=0x7f050007; public static final int demo_single=0x7f050005; public static final int demo_wallet=0x7f05000a; @@ -54,11 +54,12 @@ public final class R { public static final int post=0x7f05000e; public static final int put=0x7f050010; public static final int query=0x7f05000d; - public static final int query_error=0x7f05001c; + public static final int query_error=0x7f05001d; public static final int received_result=0x7f05001a; public static final int rely=0x7f050014; public static final int single=0x7f050012; public static final int update_log=0x7f050019; + public static final int user_id_changed=0x7f05001b; } public static final class style { /** diff --git a/APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/res/layout/select_activity.xml b/APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/res/layout/select_activity.xml index 1cca4457..a6fa0f0f 100644 --- a/APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/res/layout/select_activity.xml +++ b/APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/res/layout/select_activity.xml @@ -18,6 +18,15 @@ android:onClick="selectPost" android:text="@string/demo_post" /> + + +