You are on page 1of 39

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.

06)

eoeAndroid

Android Market

Ver 1.0.0(build 2009.06.06)

Copyright 2009 eoeAndroid.com. All Rights Reserved.

eoeAndroid Android MarketGoogle


Android Market

Android Market
Android MarketAndroid
Android Market
Market

1Google Checkout&
--Google CheckoutGoogle Checkout
2Android Market&
--Android Market
3
--
4
--
5
--
6
--
7Android Market
--
8Android Market
--

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

Market
Market

Android

IceskYsliceskysl@gmail.com,
haiyangjy: wecan.jin@gmail.com,
404: xuliicom@gmail.com,
zhoubozhoubo526@gmail.com
apcwowo@hotmail.com
edison0951

eoeAndroidAndroid Market
http://www.eoeandroid.com/viewthread.php?tid=358&extra=page%3D1

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

Android Market
Market..............................................
.............................................. 1
.................................................................... 1
1. Google Checkout&............................................. 5
1.1 .................................................................. 5
1.2 .................................................................. 5
1.3 .................................................................. 6
2. Android Market&.............................................. 8
2.1 .................................................................. 8
2.2 .................................................................. 8
2.3 .............................................................. 9
3. .................................................. 14
3.1 ............................................. 14
3.1.1 ................................... 14
3.1.2 ................... 15
3.1.3 manifest..................... 15
3.1.4 ................... 15
3.2 ............................................. 15
3.2.1 ........................................... 15
3.2.2 ............................................... 16
3.2.3 MapViewMaps API Key.............. 16
3.3 ..................................................... 17
3.4 ........................................... 17
3.4.1 ................................................. 17
3.4.2 ........................................... 17
4. ............................................................ 18
4.1 ................................................................. 18
4.2 ............................................................. 18
4.3 ....................................................... 19
4.4 ..................................................... 19
4.4.1 Eclipse ..................................................... 20
4.4.2 Ant ......................................................... 20
4.4.3 ................................................... 20
4.4.4 ................................................. 20
4.5 ..................................................... 20
4.5.1 Eclipse ..................................................... 21
4.5.2 Ant ......................................................... 21
4.5.3 ............................................... 21
4.6 ..................................................... 22
4.7 ..................................................... 23
5. ............................................................ 24
5.1 Android Market............................................... 24
5.2 Android Market........................................... 24
5.3 IntentsMarket............................ 25
6. .................................................. 27
6.1 ............................................................. 27
6.2 ............................................................... 27
6.3 ............................................... 27
6.4 API................................................ 28
7. Android Market.............................................. 29
7.1 ............................................... 29
7.2 ................................................... 30
7.3 ....................................................... 32
7.4 ............................................................. 32

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

8. Android Market............................................
8.1 .................................................................
8.2 ...........................................................
8.3 .........................................................
8.4 Market..................................................
8.5 .............................................................
8.6 .......................................................
8.7 Takedowns.......................................................
8.8 .........................................................
8.9 ...........................................................
8.10 ..........................................................
8.11 ............................................................
8.12 ............................................................
8.13 ................................................................
8.14 ........................................................
8.15 ........................................................
9. ....................................................................
BUG..................................................................
.................................................................
eoeAndroid...........................................................

eoeAndroid!

33
33
33
34
34
35
36
36
36
37
37
37
37
37
38
38
39
39
39
39

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

1. Google Checkout&
by: IceskYsl http://iceskysl.1sters.com/

Google Google Checkout

Android MarketGoogle Checkout


Android Market25Google Checkout

Google Checkout Merchant()Google


Checkout
Google Checkout
Google CheckoutGoogle Checkout

1.1
Google CheckoutPayPalCheckout
Google Checkout0.20
2%90google checkoutDVD
Empire, Jockey, Starbucks, Levi's, TimberlandBuy.comGoogle
checkout

1.2

Google Checkout

Google Checkout

Google Checkout

GoogleGoogle CheckoutGoogle
CheckoutGoogle Checkout

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

1.3
Google CheckoutGoogle
http://checkout.google.com/

GmailGoogle Checkout

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

location

chinaHongKong
visamaster
12

http://checkout.google.com/support/sell/?hl=zh

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

2. Android Market
&

Android Market
Android MarketMarket
market

2.1
AndroidT-Mobile G1Google2008828Android Market
Android
Android
AppleIphoneAppStoreGoogle
Google Android Eric Chu Android Market
""" YouTube
'''Market''Store'
"
GoogleiTunes AppStoreAndroid Market
Market25Android
Market70%
Google

50Google200965
4900

2.2
Android Market

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

Android-(Eric Chu)Android Market


Android
Android Market

Android Market
Web 2.0

Android MarketWeb 2.0


Android MarketYouTube

iPhoneiPhone

Android MarketYouTube

iPhoneID
ID

3000
3.6
600iPhoneiPhone
Android Market
Android Market
Android MarketAndroid
Android Market
Android Market
Android Market
Android Market
Android Market

Zun Marketplace

2.3
Google Android Marketmarket,
http://market.android.com/publish/signup

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

Continue

ContinueCVC
chinaHong Kong

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

Android MarketAndroid Market

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

3.
Preparing to Publish
404
http://developer.android.com/guide/publishing/preparing.html

Android
Android

Android Publishing on Android Market

Publishing Your Applications

1.
2.
3. manifest
4.

5.
6.
7. MapViewMaps API Key

8.
9.

3.1
3.1.1
Android
InstrumentationJunitUI/Application
Exerciser Monkey

UI

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

-dpi, -device, scale, -netspeed, -netdelay, -cpu-delay


UI

T-Mobile G1 UI

3.1.2

EULA
3.1.3 manifest
manifest
Manage Applications, My Downloads

manifest<application>
android:icon and android:label
Android
3.1.4

manifest<application>android:debuggable="true"

Log

3.2
3.2.1
manifest
<manifest>android:versionCode android:versionName

manifest <manifest>android:versionCode android:versionName

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

Versioning Your Applications

3.2.2
.apk

Obtaining a
Suitable Private Key

MapViewMaps API Key


3.2.3 MapViewMaps API Key


Maps API Key Obtaining a Maps API Key
Mapview MapView(s)Google Maps
Google MapsMaps API Key
MD5
SDK debug keyMaps API Key
Maps API Key
MapView
1. Maps API KeyKeyMapView
android:apiKey
MapViewMaps API Key
2. MapViewMaps API KeyGoogle
MapsMapViewKey

3. SDK Maps API Key


Maps API KeyMapViewMaps
API KeyKeyMapView

4. GoogleMaps
API KeyMaps API KeyMaps API Key
MapViewKeyMapView
Signing Your Applications

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

3.3

3.4
3.4.1
Signing Your
Applications

3.4.2

UIMapView
Register for a Maps API Key

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

4.
apcwowo
http://developer.android.com/guide/publishing/app-signing.html

4.1
AndroidAndroid

Android


SDK

---Keytool Jarsigner----apk
AndroidAndroid

Android SDK EclipseADT Ant



Keytool
JDK
.apk,

.apk

Keytool Jarsigner. apk


Jarsignerapk
KeytoolJarsigner

ADT ADTEclipse

4.2

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

----

----Android

/----Android


25

Android20331022

4.3
SDKKeytool
SDKKeytool,JAVA_HOME
JDKKeytoolJDKPATH
LinuxGNUJAVA,,
KeytoolJDKGCIKeytoolPATH
/usr/bin/keytool
Keytool..Jarsigner,JarsignerKeytool
JDK

4.4
Android
Androidapk
SDK Keytool
SDK
debug.keystore
android
Key alias "androiddebugkey"
androiddebugkey
android
CN "CN=Android Debug,O=Android,C=US"
Eclipse/ADT
Windows>prefs>Android>Build/
.

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

4.4.1 Eclipse
ADTEclipseKeytool.
ADT.apk
ADTKeytool.
4.4.2 Ant
Ant.apkdebug
Androidbuild.xmlAntbuild
.apkDeveloping In Other IDEs: Building in
debug mode
4.4.3
Eclipse/ADT Ant
365
Ant
debug:
[echo] Packaging bin/samples-debug.apk, and signing it with a debug key...
[exec] Debug Certificate expired on 8/4/08 3:43 PM
Eclipse/ADTAndroid
AVD OS/Linux
~/.android/avd XPC:\Documents and Settings\\.android\
Window VistaC:\Users\\.androd

I can't compile my app because the build


tools generated an expired debug certificate.
4.4.4

1.
2.
3.

ADTEclipse
Compiling and signing with Eclipse ADT

4.5
Android

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

4.5.1 Eclipse
Eclipse.apkAndroid Tools>Export Unsigned
Application Package,Eclipse
AndroidManifest.xmlExport an unsigned .apk

Compiling and signing with Eclipse ADT.


4.5.2 Ant
AntAnt build.xml

$ ant release

4.5.3



25
Android20331022,

Android SDK
KeytoolKeytool
Basic Setup
Keytoolkeytool

KeytoolSecuring Your Private Key,

Keytool

-genkey

-v

-keystore <keystore-name>.keystore
-storepass <password>

Keytool
Shell

-alias <alias_name>

-keyalg <alg>
DSA RSA
-dname <name>

issuersubject

Jarsigner(CN,OU )
-validity <valdays>

10000
-keypass <password>

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

Keytool
Shell

Keytool
$ keytool -genkey -v -keystore my-release-key.keystore
-alias alias_name -keyalg RSA -validity 10000
Keytool
my-release-key.keystore.
10000
Keytoolhttp://java.sun.com/j2se/1.5.0/docs/tooldocs/#security

4.6
.apkJarsigner
Basic Setup
Jarsigner.apk

Jarsigner

-keystore <keystorename>.keystore
-verbose

-storepass <password>

Keytool
Shell
-keypass <password>

Keytool
Shell

Jarsignermy_application.apk
$ jarsigner -verbose -keystore my-release-key.keystore
my_application.apk alias_name
Jarsigner.apk
apk
.apk
.apk
$ jarsigner -verify my_signed.apk
.apkJarsignerjar verified ,

$ jarsigner -verify -verbose my_application.apk

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

$ jarsigner -verify -verbose -certs my_application.apk


-certsCN=

CN=Android Debug apkAndroid SDK

Jarsignerhttp://java.sun.com/j2se/1.5.0/docs/tooldocs/#security
ADTEclipse.apk
keytool Jarsigner
Keytool JarsignerBasic Setup for
Signing.
apkPackage ExplorerAndroid Tools > Export
Signed Application Package(AndroidManifest.xmlUse
the Export Wizard)
apk

apk.

4.7


Keytool-storepass-keypass
shell
Jarsigner-storepass-keypass

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

5.
(Publishing Your Applications)
haiyangjyhttp://www.haiyangjy.com/
Android

.apk.apkMapView
Maps API Key

5.1 Android Market


Android Market Android Market
Android
Android Market Google
Android Market

AndroidMarket
Android Market Android Market
http://market.android.com/publish
Android Market
Android Market
Android Market
20331022
manifest<manifest>android:versionCode
android:versionNameandroid:versionCode
android:versionName
manifest android:iconandroid:label attribute

5.2 Android Market


betaAndroid Market

Android Market

1.web-serviceweb-service
android:versionCodeURIURIintent
intentMarket

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

web-serviceURIAndroid Market
IntentsMarketURI
MarketURI:http://market.android.com/
search?q=pname:<package>
market://search?q=pname:<package>
2.web-service

3.startActivity(),ACTION_VIEW
web serviceURIIntent.IntentMarket

URIweb-service
Market

5.3 IntentsMarket
AndroidMarketAndroid MarketMarket

InentMarket

MarketACTION_VIEWIntentMarketURIdata
IntentstartActivity()ACTION_VIEWIntent
IntentURIintentintentactionMarket
MarketMarketMarket

MarketURIactions

java

URIAnction

http://market.android.com/
search?q=pname:<package> or

market://search?q=pname:<package>
http://market.android.com/
search?q=pub:"<Developer Name>"
or

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

market://search?q=pub:"<Developer
Name>"
Searches all public fields (application title,
developer name, and application description)
http://market.android.com/
for all applications. Returns exact and partial
search?q=<substring> or
matches.
market://search?q=<substring>

Example:
http://market.android.com/

search?q=world
pname:com.android.hello
pub:Android

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

6.
Versioning Your Applications
Edison0951
http://developer.android.com/guide/publishing/versioning.html

Manifest

6.1
1.
2. API

6.2
1.
2. Android
3. The AndroidManifest.xml File
/

--

Android

ManifestminSdkVersion Android
API

6.3
Manifest

android:versionCode--

versionCode1
android:versionCode
android:versionName
android:versionName-
<major>.<minor>.<point>

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

android:versionCode
android:versionNam
mainfest<manifest><manifest>
android:versionCodeandroid:versionName
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.package.name"
android:versionCode="2"
android:versionName="1.1">
<application android:icon="@drawable/icon" android:label="@string/app_name">
...
</application>
</manifest>
android:versionCode.apkandroid:codeName

AndroidAPI
PackageManagergetPackageInfo(java.lang.String, int)

6.4 API
ANDROIDMANIFEST
API LevelAndroid
android:minSdkVersion-ANDROID
android:minSdkVersion
manifest

<manifest><uses-sdk>
android:minSdkVersion
Android System Image 1.1 Version Notes.

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

7. Android Market
by: IceskYsl http://iceskysl.1sters.com/
Android MarketMarket

7.1
AndoirdMarket

1..7
1eoeAppInstaller
2
3
450272431
46%
5
6
7

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

7.2
Upload Application

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

1apk
2
3copy
4Email
6

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

7.3

Upload Upgrade
APK

7.4

1)
2)

3)
4)APK

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

8. Android Market

(Android Market Developer Distribution Agreement)


zhoubo526
http://www.android.com/us/developer-distribution-agreement.html
()

Google,1600Mountain View CA 94043

Device
Productsandroid SDKMarket
Marketandroid Market

Developer or You: Market


Developer Account: Market
Payment Processor(s):

Payment Account:Market

8.1
1.1 MarketMarketMarket

1.2

8.2
2.1 android Market
MarketMarket

2.2 You may not use the Market to distribute Products and may not accept the Agreement unless you are
verified as a Developer in good standing. This Agreement will automatically terminate if you are (a) not a
Developer in good standing, or (b) a person or entity barred from using Android software under the laws
of the United States or other countries including the country in which you are resident or from which you
use the Android software.
2.3
Market

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

8.3
3.1
Market
Market
Market

3.2

Transaction Fee http://market.android.com/support/bin/answer.py?answer=112622

3.3

Marketfree
MarketMarket
3.4 Market
Products (ringtones)
Products () 48

3.5

$10,
$10
3.6 Market

8.4 Market

4.1 5

4.2 (a)(b)Market(
)
4.3 Market

()

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

4.4 Market
,android
MarketMarket

4.5 MarketMarket
4.6 Market

4.7

4.8
4.9 Market
Market
Market

http://market.android.com/support.
4.10 Market
Market
4.11
http://www.android.com/market/terms/developer-content-policy.html.

8.5
5.1
android(
)
5.2
market
5.3

Marketandroid
5.4
EULA

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

8.6
6.1
()
6.2


Market

6.3
android Market
androidandroid
http://www.android.com/branding.html).

8.7 Takedowns
7.1 Takedowns Market

(a)
(b)
(c)
7.2 Takedowns

(a)
(b);
(c)
(d)
(e)
(f)(g)

(h)( )
Market
Market

(a)
(b)
(c)Market

8.8
8.1
,

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

8.9
9.1 Market

9.2 Market

8.10
10.1
10.2 30(14.1)

10.3
(a)
(b)
(c)
(d) Market

8.11
11.1 MarketMarket
11.2 Market

11.3 GOOGLE

8.12
12.1 GOOGLE
(A)

8.13
13.1 ,.
(a)Market (b)

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

8.14
14.1
Market,(a)
(b)(
) Market
Market90

8.15
15.1 Market
Market
15.2 Google Google
Google
Google
15.3

15.4 Google

15.5 Market

15.6

15.7 Google
Google
Google

15.8 5 6 7 11 12 1315Agreement

eoeAndroid!

eoeAndroid: Android Market,: Ver 1.0.0(build 2009.06.06)

9.
BUG

http://www.eoeandroid.com/viewthread.php?tid=625&extra=

http://www.eoeandroid.com/forumdisplay.php?fid=39

eoeAndroid
3G

Android
AndroideoeMobile
eoeMobileAndroid
AndroideoeAndroid.com Android

eoeAndroid!

You might also like