Publishing your app to the market

satya - Monday, September 05, 2011 12:08:10 AM

well you have to sign your app first


right click on project
android tools
export signed application package

satya - Monday, September 05, 2011 12:08:39 AM

This wizard will prompt you for


a key store 
or it will create one for you

satya - Monday, September 05, 2011 12:09:55 AM

Read this if you want to understand self signed jar files

Read this if you want to understand self signed jar files

satya - Monday, September 05, 2011 12:12:05 AM

Read this to understand signing using keytool

Read this to understand signing using keytool

These are my notes when I wrote a chapter on Titanium for Mobile for the 2nd edition of Pro Android. This link has a section on how to use the Keytool from java directly.

satya - Monday, September 05, 2011 12:12:37 AM

To create a key store through Eclipse you will need


Name and location for a key store
a password for a key store

satya - Monday, September 05, 2011 12:14:35 AM

eclipse will then prompt you to create a key. You will need


-alias mykey //name of the key
  -keystore c:\somekeystore.store //location of a store
  -storepass abc //password
  -keypass abc //password
  -validate for how many years

satya - Monday, September 05, 2011 12:15:20 AM

Looks like commas are not allowed in organization names. Here is a post

Looks like commas are not allowed in organization names. Here is a post

satya - Monday, September 05, 2011 12:15:41 AM

incorrect ava format from keytool

incorrect ava format from keytool

Search for: incorrect ava format from keytool

satya - Monday, September 05, 2011 12:16:07 AM

android apk market key expiration limit

Search for: android apk market key expiration limit

satya - Monday, September 05, 2011 12:18:00 AM

Don't forget to read this on signing for production from Google

Don't forget to read this on signing for production from Google

satya - Monday, September 05, 2011 12:19:59 AM

Here is a note borrowed

?If you plan to publish your application(s) on Android Market, the key you use to sign the application(s) must have a validity period ending after 22 October 2033. The Market server enforces this requirement to ensure that users can seamlessly upgrade Market applications when new versions are available

satya - Monday, September 05, 2011 12:22:47 AM

the signing wizard in eclipse seem to do all the following


compile in release mode
sign with the key
zip align

satya - Monday, September 19, 2011 2:26:57 PM

Once you have the apk file exported by Eclipse ADT

You can upload that apk file to any website and put a link on a web page such as your blog page. Or email a link to a friend with an android phone. when you browse to that link with the android browser and clicks on it android will then download that file and once downloaded it will ask you if you would like to install it.

Android will prompt you to take to the settings to allow application install from unknown sources. You will need to turn this on to be able to install that app.

you can also go to this setting directly

home
search
settings
go to settings app
go to applications
turn on "unknown sources"