Skip to content

Commit 2927fcf

Browse files
first commit operation
1 parent 2333d45 commit 2927fcf

File tree

336 files changed

+4609
-0
lines changed

Some content is hidden

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

336 files changed

+4609
-0
lines changed

CallMarketSample/.classpath

+8
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="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
4+
<classpathentry kind="src" path="src"/>
5+
<classpathentry kind="src" path="gen"/>
6+
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
7+
<classpathentry kind="output" path="bin/classes"/>
8+
</classpath>

CallMarketSample/.project

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>CallMarketSample</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>

CallMarketSample/AndroidManifest.xml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.sample.tbc"
4+
android:versionCode="1"
5+
android:versionName="1.0">
6+
7+
8+
<application android:icon="@drawable/icon" android:label="@string/app_name">
9+
<activity android:name="org.jpn.techbooster.sample.callmarketsample.MainCallMarketSample"
10+
android:label="@string/app_name">
11+
<intent-filter>
12+
<action android:name="android.intent.action.MAIN" />
13+
<category android:name="android.intent.category.LAUNCHER" />
14+
</intent-filter>
15+
</activity>
16+
17+
</application>
18+
</manifest>

CallMarketSample/bin/classes.dex

2.16 KB
Binary file not shown.
Binary file not shown.
328 Bytes
Binary file not shown.
Binary file not shown.
382 Bytes
Binary file not shown.
415 Bytes
Binary file not shown.
465 Bytes
Binary file not shown.

CallMarketSample/bin/resources.ap_

10.3 KB
Binary file not shown.
13.2 KB
Binary file not shown.

CallMarketSample/default.properties

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Project target.
2+
target=android-14

CallMarketSample/proguard.cfg

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
-optimizationpasses 5
2+
-dontusemixedcaseclassnames
3+
-dontskipnonpubliclibraryclasses
4+
-dontpreverify
5+
-verbose
6+
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7+
8+
-keep public class * extends android.app.Activity
9+
-keep public class * extends android.app.Application
10+
-keep public class * extends android.app.Service
11+
-keep public class * extends android.content.BroadcastReceiver
12+
-keep public class * extends android.content.ContentProvider
13+
-keep public class * extends android.app.backup.BackupAgentHelper
14+
-keep public class * extends android.preference.Preference
15+
-keep public class com.android.vending.licensing.ILicensingService
16+
17+
-keepclasseswithmembernames class * {
18+
native <methods>;
19+
}
20+
21+
-keepclasseswithmembernames class * {
22+
public <init>(android.content.Context, android.util.AttributeSet);
23+
}
24+
25+
-keepclasseswithmembernames class * {
26+
public <init>(android.content.Context, android.util.AttributeSet, int);
27+
}
28+
29+
-keepclassmembers enum * {
30+
public static **[] values();
31+
public static ** valueOf(java.lang.String);
32+
}
33+
34+
-keep class * implements android.os.Parcelable {
35+
public static final android.os.Parcelable$Creator *;
36+
}

CallMarketSample/project.properties

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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 use,
7+
# "ant.properties", and override values to adapt the script to your
8+
# project structure.
9+
10+
# Project target.
11+
target=android-10
4.05 KB
Loading
1.68 KB
Loading
2.51 KB
Loading

CallMarketSample/res/layout/main.xml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:orientation="vertical"
4+
android:layout_width="fill_parent"
5+
android:layout_height="fill_parent"
6+
>
7+
<TextView
8+
android:layout_width="fill_parent"
9+
android:layout_height="wrap_content"
10+
android:text="@string/hello"
11+
/>
12+
</LinearLayout>
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="hello">Hello World, MainCallMarketSample!</string>
4+
<string name="app_name">tbcSample_market</string>
5+
</resources>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
package org.jpn.techbooster.sample.callmarketsample;
2+
3+
import android.app.Activity;
4+
import android.content.Intent;
5+
import android.net.Uri;
6+
import android.os.Bundle;
7+
8+
public class MainCallMarketSample extends Activity {
9+
/** Called when the activity is first created. */
10+
@Override
11+
public void onCreate(Bundle savedInstanceState) {
12+
super.onCreate(savedInstanceState);
13+
14+
/**
15+
* market://search?q=<search-word> or <package-name>
16+
* market://search?q=pub:<developer-name>
17+
* market://details?id=<package-name>
18+
*/
19+
// Uri uri = Uri.parse("market://search?q=GoodMorningTweet");
20+
// Uri uri = Uri.parse("market://search?q=pub:seit");
21+
Uri uri = Uri.parse("market://details?id=com.udg.goodmorning.tweet");
22+
23+
Intent intent = new Intent(Intent.ACTION_VIEW,uri);
24+
startActivity(intent);
25+
26+
27+
}
28+
}

DBSample/.classpath

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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 kind="output" path="bin/classes"/>
7+
</classpath>

DBSample/.project

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>DBSample</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>

DBSample/AndroidManifest.xml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:versionCode="1"
4+
android:versionName="1.0" package="jp.org.techbooster.db">
5+
<uses-sdk android:minSdkVersion="10" />
6+
7+
<application android:icon="@drawable/icon" android:label="@string/app_name">
8+
<activity android:name=".DBSampleActivity"
9+
android:label="@string/app_name">
10+
<intent-filter>
11+
<action android:name="android.intent.action.MAIN" />
12+
<category android:name="android.intent.category.LAUNCHER" />
13+
</intent-filter>
14+
</activity>
15+
<activity android:name=".DBShowActivity"
16+
android:label="@string/app_name">
17+
</activity>
18+
19+
</application>
20+
</manifest>

DBSample/bin/DBSample.apk

16.8 KB
Binary file not shown.

DBSample/bin/classes.dex

6.71 KB
Binary file not shown.

DBSample/bin/resources.ap_

11.6 KB
Binary file not shown.

DBSample/proguard.cfg

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
-optimizationpasses 5
2+
-dontusemixedcaseclassnames
3+
-dontskipnonpubliclibraryclasses
4+
-dontpreverify
5+
-verbose
6+
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7+
8+
-keep public class * extends android.app.Activity
9+
-keep public class * extends android.app.Application
10+
-keep public class * extends android.app.Service
11+
-keep public class * extends android.content.BroadcastReceiver
12+
-keep public class * extends android.content.ContentProvider
13+
-keep public class * extends android.app.backup.BackupAgentHelper
14+
-keep public class * extends android.preference.Preference
15+
-keep public class com.android.vending.licensing.ILicensingService
16+
17+
-keepclasseswithmembernames class * {
18+
native <methods>;
19+
}
20+
21+
-keepclasseswithmembers class * {
22+
public <init>(android.content.Context, android.util.AttributeSet);
23+
}
24+
25+
-keepclasseswithmembers class * {
26+
public <init>(android.content.Context, android.util.AttributeSet, int);
27+
}
28+
29+
-keepclassmembers class * extends android.app.Activity {
30+
public void *(android.view.View);
31+
}
32+
33+
-keepclassmembers enum * {
34+
public static **[] values();
35+
public static ** valueOf(java.lang.String);
36+
}
37+
38+
-keep class * implements android.os.Parcelable {
39+
public static final android.os.Parcelable$Creator *;
40+
}

DBSample/project.properties

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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 use,
7+
# "ant.properties", and override values to adapt the script to your
8+
# project structure.
9+
10+
# Project target.
11+
target=android-10

DBSample/res/drawable-hdpi/icon.png

4.05 KB
Loading

DBSample/res/drawable-ldpi/icon.png

1.68 KB
Loading

DBSample/res/drawable-mdpi/icon.png

2.51 KB
Loading

DBSample/res/layout/main.xml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:orientation="vertical" android:layout_width="fill_parent"
4+
android:layout_height="fill_parent">
5+
<ScrollView android:layout_width="fill_parent"
6+
android:layout_height="fill_parent" android:layout_weight="1"
7+
android:fillViewport="true">
8+
9+
<EditText android:id="@+id/InputField" android:layout_width="fill_parent"
10+
android:text="" android:layout_height="fill_parent"
11+
android:gravity="top" />
12+
</ScrollView>
13+
14+
<LinearLayout android:id="@+id/underLayout"
15+
android:layout_width="fill_parent" android:layout_height="wrap_content">
16+
<Button android:id="@+id/WriteButton" android:layout_height="wrap_content"
17+
android:text="Write" android:layout_width="fill_parent"
18+
android:layout_weight="1" />
19+
<Button android:id="@+id/ShowButton" android:layout_height="wrap_content"
20+
android:text="Show" android:layout_width="fill_parent"
21+
android:layout_weight="1" />
22+
</LinearLayout>
23+
24+
25+
26+
</LinearLayout>

DBSample/res/layout/show_activity.xml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
<LinearLayout android:id="@+id/linearLayout1"
3+
android:orientation="vertical" android:layout_width="fill_parent"
4+
android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android">
5+
<LinearLayout android:layout_width="match_parent"
6+
android:id="@+id/linearLayout2" android:layout_height="wrap_content">
7+
<EditText android:layout_width="0dip" android:layout_weight="3"
8+
android:layout_height="wrap_content" android:inputType="number"
9+
android:id="@+id/SerchNum"></EditText>
10+
<Button android:id="@+id/SerchButton" android:layout_weight="1"
11+
android:layout_width="0dip" android:layout_height="wrap_content"
12+
android:text="Serch"></Button>
13+
<Button android:id="@+id/DeleteButton" android:layout_weight="1"
14+
android:layout_width="0dip" android:layout_height="wrap_content"
15+
android:text="Del"></Button>
16+
</LinearLayout>
17+
<TextView android:text="" android:layout_width="match_parent"
18+
android:textAppearance="?android:attr/textAppearanceMedium"
19+
android:layout_height="wrap_content" android:id="@+id/text_field"></TextView>
20+
</LinearLayout>

DBSample/res/values/strings.xml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="hello">Hello World, DBSampleActivity!</string>
4+
<string name="app_name">DBSample</string>
5+
</resources>

0 commit comments

Comments
 (0)