Skip to content

Commit d5046a7

Browse files
TommyTommy
authored andcommitted
Android工程分为Library和DemoApp
1 parent 793c703 commit d5046a7

92 files changed

Lines changed: 510 additions & 155 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.DS_Store
2+
APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/bin
3+
APIJSON(Android)/APIJSON(ADT)/APIJSONLibrary/bin
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="src" path="src"/>
4-
<classpathentry kind="src" path="gen"/>
53
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
64
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
75
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
6+
<classpathentry kind="src" path="src"/>
7+
<classpathentry kind="src" path="gen"/>
88
<classpathentry kind="output" path="bin/classes"/>
99
</classpath>

APIJSON(Android)/APIJSON(ADT)/.project renamed to APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>APIJSON(ADT)</name>
3+
<name>APIJSONDemoApp</name>
44
<comment></comment>
55
<projects>
66
</projects>

APIJSON(Android)/APIJSON(ADT)/AndroidManifest.xml renamed to APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/AndroidManifest.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="zuo.biao.apijson.client"
3+
package="apijson.demo"
44
android:versionCode="1"
55
android:versionName="@string/app_version" >
66

@@ -13,13 +13,13 @@
1313
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
1414

1515
<application
16-
android:name="zuo.biao.apijson.client.DemoApplication"
16+
android:name="apijson.demo.application.DemoApplication"
1717
android:allowBackup="true"
1818
android:icon="@drawable/ic_launcher"
1919
android:label="@string/app_name"
2020
android:theme="@style/AppTheme" >
2121
<activity
22-
android:name="zuo.biao.apijson.client.ui.SelectActivity"
22+
android:name="apijson.demo.ui.SelectActivity"
2323
android:label="@string/app_name" >
2424
<intent-filter>
2525
<action android:name="android.intent.action.MAIN" />
@@ -28,7 +28,7 @@
2828
</intent-filter>
2929
</activity>
3030
<activity
31-
android:name="zuo.biao.apijson.client.ui.QueryActivity"
31+
android:name="apijson.demo.ui.QueryActivity"
3232
android:label="Query" >
3333
</activity>
3434
</application>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/** Automatically generated file. DO NOT MODIFY */
2+
package apijson.demo;
3+
4+
public final class BuildConfig {
5+
public final static boolean DEBUG = true;
6+
}

APIJSON(Android)/APIJSON(ADT)/gen/zuo/biao/apijson/client/R.java renamed to APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/gen/apijson/demo/R.java

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* should not be modified by hand.
66
*/
77

8-
package zuo.biao.apijson.client;
8+
package apijson.demo;
99

1010
public final class R {
1111
public static final class attr {
@@ -30,15 +30,24 @@ public static final class layout {
3030
public static final int select_activity=0x7f030001;
3131
}
3232
public static final class string {
33+
public static final int access_error=0x7f050008;
34+
public static final int access_permitted=0x7f050009;
3335
public static final int action_settings=0x7f050003;
3436
public static final int app_name=0x7f050000;
3537
public static final int app_version=0x7f050001;
36-
public static final int demo_array=0x7f050007;
37-
public static final int demo_complex=0x7f050008;
38-
public static final int demo_rely=0x7f050006;
39-
public static final int demo_single=0x7f050005;
38+
public static final int array=0x7f050006;
39+
public static final int complex=0x7f050007;
40+
public static final int demo_array=0x7f05000e;
41+
public static final int demo_complex=0x7f05000f;
42+
public static final int demo_rely=0x7f05000d;
43+
public static final int demo_single=0x7f05000c;
44+
public static final int demo_wallet=0x7f050010;
45+
public static final int demo_wallet_with_access=0x7f050011;
4046
public static final int hello_world=0x7f050002;
41-
public static final int query_error=0x7f050004;
47+
public static final int query=0x7f05000a;
48+
public static final int query_error=0x7f05000b;
49+
public static final int rely=0x7f050005;
50+
public static final int single=0x7f050004;
4251
}
4352
public static final class style {
4453
/**

APIJSON(Android)/APIJSON(ADT)/ic_launcher-web.png renamed to APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/ic_launcher-web.png

File renamed without changes.

APIJSON(Android)/APIJSON(ADT)/libs/okhttp-2.1.0.jar renamed to APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/libs/okhttp-2.1.0.jar

File renamed without changes.

APIJSON(Android)/APIJSON(ADT)/libs/okio-1.0.0.jar renamed to APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/libs/okio-1.0.0.jar

File renamed without changes.

APIJSON(Android)/APIJSON(ADT)/proguard-project.txt renamed to APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/proguard-project.txt

File renamed without changes.

0 commit comments

Comments
 (0)