Skip to content

Commit f710dd9

Browse files
committed
LocationClient Sample Code
1 parent af3ba96 commit f710dd9

32 files changed

Lines changed: 322 additions & 14 deletions

File tree

BackPressExit/.classpath

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<classpathentry kind="src" path="src"/>
44
<classpathentry kind="src" path="gen"/>
55
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
6-
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
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"/>
78
<classpathentry kind="output" path="bin/classes"/>
89
</classpath>

Gravity/.classpath

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<classpathentry kind="src" path="src"/>
44
<classpathentry kind="src" path="gen"/>
55
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
6-
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
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"/>
78
<classpathentry kind="output" path="bin/classes"/>
89
</classpath>

LocationClientSample/.classpath

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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.DEPENDENCIES"/>
7+
<classpathentry kind="output" path="bin/classes"/>
8+
</classpath>

LocationClientSample/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/bin

LocationClientSample/.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>LocationClientSample</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: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="jp.classmethod.sample.locationclientsample"
4+
android:versionCode="1"
5+
android:versionName="1.0" >
6+
7+
<uses-sdk
8+
android:minSdkVersion="10"
9+
android:targetSdkVersion="17" />
10+
11+
<application
12+
android:allowBackup="true"
13+
android:icon="@drawable/ic_launcher"
14+
android:label="@string/app_name"
15+
android:theme="@style/AppTheme" >
16+
<activity
17+
android:name="jp.classmethod.sample.locationclientsample.MainActivity"
18+
android:label="@string/app_name" >
19+
<intent-filter>
20+
<action android:name="android.intent.action.MAIN" />
21+
22+
<category android:name="android.intent.category.LAUNCHER" />
23+
</intent-filter>
24+
</activity>
25+
</application>
26+
27+
</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 jp.classmethod.sample.locationclientsample;
3+
4+
public final class BuildConfig {
5+
public final static boolean DEBUG = true;
6+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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 jp.classmethod.sample.locationclientsample;
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+
Customize dimensions originally defined in res/values/dimens.xml (such as
17+
screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
18+
19+
*/
20+
public static final int activity_horizontal_margin=0x7f040000;
21+
public static final int activity_vertical_margin=0x7f040001;
22+
}
23+
public static final class drawable {
24+
public static final int ic_launcher=0x7f020000;
25+
}
26+
public static final class id {
27+
public static final int action_settings=0x7f080000;
28+
}
29+
public static final class layout {
30+
public static final int activity_main=0x7f030000;
31+
}
32+
public static final class menu {
33+
public static final int main=0x7f070000;
34+
}
35+
public static final class string {
36+
public static final int action_settings=0x7f050001;
37+
public static final int app_name=0x7f050000;
38+
public static final int hello_world=0x7f050002;
39+
public static final int start_button=0x7f050003;
40+
}
41+
public static final class style {
42+
/**
43+
Base application theme, dependent on API level. This theme is replaced
44+
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
45+
46+
47+
Theme customizations available in newer API levels can go in
48+
res/values-vXX/styles.xml, while customizations related to
49+
backward-compatibility can go here.
50+
51+
52+
Base application theme for API 11+. This theme completely replaces
53+
AppBaseTheme from res/values/styles.xml on API 11+ devices.
54+
55+
API 11 theme customizations can go here.
56+
57+
Base application theme for API 14+. This theme completely replaces
58+
AppBaseTheme from BOTH res/values/styles.xml and
59+
res/values-v11/styles.xml on API 14+ devices.
60+
61+
API 14 theme customizations can go here.
62+
*/
63+
public static final int AppBaseTheme=0x7f060000;
64+
/** Application theme.
65+
All customizations that are NOT specific to a particular API-level can go here.
66+
*/
67+
public static final int AppTheme=0x7f060001;
68+
}
69+
}
9.24 KB
Loading
543 KB
Binary file not shown.

0 commit comments

Comments
 (0)