Visitar URL original
新增Android客户端 · pythonzhu/APIJSON@46c4d47 · GitHub
Skip to content

Commit 46c4d47

Browse files
committed
新增Android客户端
1 parent 1dbbef8 commit 46c4d47

29 files changed

Lines changed: 1910 additions & 0 deletions

‎APIJSON(Android)/.classpath‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="src" path="gen"/>
5+
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
6+
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
7+
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
8+
<classpathentry kind="output" path="bin/classes"/>
9+
</classpath>

‎APIJSON(Android)/.project‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>APIJSON(Android)</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.jdt.core.javabuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
31+
<nature>org.eclipse.jdt.core.javanature</nature>
32+
</natures>
33+
</projectDescription>
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="zuo.biao.apijson"
4+
android:versionCode="1"
5+
android:versionName="1.0" >
6+
7+
<uses-sdk
8+
android:minSdkVersion="15"
9+
android:targetSdkVersion="22" />
10+
11+
<uses-permission android:name="android.permission.INTERNET" />
12+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
13+
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
14+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
15+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
16+
17+
<application
18+
android:name="zuo.biao.apijson.DemoApplication"
19+
android:allowBackup="true"
20+
android:icon="@drawable/ic_launcher"
21+
android:label="@string/app_name"
22+
android:theme="@style/AppTheme" >
23+
<activity
24+
android:name="zuo.biao.apijson.MainActivity"
25+
android:label="@string/app_name" >
26+
<intent-filter>
27+
<action android:name="android.intent.action.MAIN" />
28+
29+
<category android:name="android.intent.category.LAUNCHER" />
30+
</intent-filter>
31+
</activity>
32+
<activity
33+
android:name="zuo.biao.apijson.SelectActivity"
34+
android:label="Select" >
35+
</activity>
36+
<activity
37+
android:name="zuo.biao.apijson.QueryActivity"
38+
android:label="Query" >
39+
</activity>
40+
</application>
41+
42+
</manifest>
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 zuo.biao.apijson;
3+
4+
public final class BuildConfig {
5+
public final static boolean DEBUG = true;
6+
}
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
/* AUTO-GENERATED FILE. DO NOT MODIFY.
2+
*
3+
* This class was automatically generated by the
4+
* aapt tool from the resource data it found. It
5+
* should not be modified by hand.
6+
*/
7+
8+
package zuo.biao.apijson;
9+
10+
public final class R {
11+
public static final class attr {
12+
}
13+
public static final class dimen {
14+
/** Default screen margins, per the Android Design guidelines.
15+
16+
Example customization of dimensions originally defined in res/values/dimens.xml
17+
(such as screen margins) for screens with more than 820dp of available width. This
18+
would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively).
19+
20+
*/
21+
public static final int activity_horizontal_margin=0x7f040000;
22+
public static final int activity_vertical_margin=0x7f040001;
23+
}
24+
public static final class drawable {
25+
public static final int ic_launcher=0x7f020000;
26+
}
27+
public static final class id {
28+
public static final int action_settings=0x7f080004;
29+
public static final int etMainRequest=0x7f080000;
30+
public static final int etQueryUri=0x7f080003;
31+
public static final int pbQuery=0x7f080002;
32+
public static final int tvQueryResult=0x7f080001;
33+
}
34+
public static final class layout {
35+
public static final int main_activity=0x7f030000;
36+
public static final int query_activity=0x7f030001;
37+
public static final int select_activity=0x7f030002;
38+
}
39+
public static final class menu {
40+
public static final int main=0x7f070000;
41+
}
42+
public static final class string {
43+
public static final int action_settings=0x7f050003;
44+
public static final int app_name=0x7f050000;
45+
public static final int app_version=0x7f050001;
46+
public static final int demo_array=0x7f050005;
47+
public static final int demo_complex=0x7f050006;
48+
public static final int demo_rely=0x7f050004;
49+
public static final int hello_world=0x7f050002;
50+
}
51+
public static final class style {
52+
/**
53+
Base application theme, dependent on API level. This theme is replaced
54+
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
55+
56+
57+
Theme customizations available in newer API levels can go in
58+
res/values-vXX/styles.xml, while customizations related to
59+
backward-compatibility can go here.
60+
61+
62+
Base application theme for API 11+. This theme completely replaces
63+
AppBaseTheme from res/values/styles.xml on API 11+ devices.
64+
65+
API 11 theme customizations can go here.
66+
67+
Base application theme for API 14+. This theme completely replaces
68+
AppBaseTheme from BOTH res/values/styles.xml and
69+
res/values-v11/styles.xml on API 14+ devices.
70+
71+
API 14 theme customizations can go here.
72+
*/
73+
public static final int AppBaseTheme=0x7f060000;
74+
/** Application theme.
75+
All customizations that are NOT specific to a particular API-level can go here.
76+
*/
77+
public static final int AppTheme=0x7f060001;
78+
public static final int activity_page=0x7f060003;
79+
public static final int match_match=0x7f060002;
80+
public static final int match_wrap=0x7f060004;
81+
public static final int select_json=0x7f060006;
82+
public static final int select_name=0x7f060005;
83+
}
84+
}
50.2 KB
Loading
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# To enable ProGuard in your project, edit project.properties
2+
# to define the proguard.config property as described in that file.
3+
#
4+
# Add project specific ProGuard rules here.
5+
# By default, the flags in this file are appended to flags specified
6+
# in ${sdk.dir}/tools/proguard/proguard-android.txt
7+
# You can edit the include path and order by changing the ProGuard
8+
# include property in project.properties.
9+
#
10+
# For more details, see
11+
# http://developer.android.com/guide/developing/tools/proguard.html
12+
13+
# Add any project specific keep options here:
14+
15+
# If your project uses WebView with JS, uncomment the following
16+
# and specify the fully qualified class name to the JavaScript interface
17+
# class:
18+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
19+
# public *;
20+
#}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# This file is automatically generated by Android Tools.
2+
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3+
#
4+
# This file must be checked in Version Control Systems.
5+
#
6+
# To customize properties used by the Ant build system edit
7+
# "ant.properties", and override values to adapt the script to your
8+
# project structure.
9+
#
10+
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11+
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12+
13+
# Project target.
14+
target=android-23
7.48 KB
Loading
3.69 KB
Loading

0 commit comments

Comments
 (0)