Applications distributed on the Android Market are required to have been digitally signed with a 25 year code signing certificate. There are a number of different ways we can go about generating a code signing certificate for Android applications. We will demonstrate how to generate such a certificate using ADT command line tool within this recipe.
For steps on configuring ADT within your particular environment, take a look at Chapter 1, Getting Ready to Work with Android: Development Environment and Project Setup.
Using the ADT command line tool, perform the following actions to create a self-signed digital certificate:
1. For this example, we will assume the following:
Publisher Name: "Joseph Labrecque" Validity Period: 25 (years) Key Type: 1024-RSA PFX File: C:\Users\Joseph\Documents\airandroid.p12 Password: airAndroidPass
2. Open a command prompt or terminal (depending upon the operating system...