Pages

Subscribe:

Ads 468x60px

Labels

Friday, 30 September 2011

Genarate KeyStore to create a Signed APK and Google Maps in Android

To generate the keystore:
==================

----------------------------------------------------------------------------------------------------------------------------------
keytool -genkey -v -keystore myCertificate.keystore -alias myKey -keyalg RSA -keysize 2048 -validity 20000
----------------------------------------------------------------------------------------------------------------------------------

>>Fill the Details:

Enter Keystore Password :- ********
Re-enter new Password    :- ********
What is your first and last Name? :-kkbrothers
What is the name of your organizational unit?:- Elites
What is the name of your organization?:-kkbrothers
What is the name of your City or Locality?:-Hyd
What is the name of your State or Province?:-Ap
What is the two-letter country code for this unit?:- IND



Enter key password for <myKey>
        (RETURN if same as keystore password):-*******
Re-enter new password:-*******







 



For GoogleMaps:
============
Some of the Links link1 , link2

E:\keystore>keytool.exe -list -alias androiddebugkey -keystore "E:\keystore\debu
g.keystore" -storepass android -keypass android
androiddebugkey, Nov 26, 2010, PrivateKeyEntry,
Certificate fingerprint (MD5): FB:93:B3:1D:16:A8:DB:84:B3:1B:0F:5D:EA:51:FB:BA


Your key is:urkey



This key is good for all apps signed with your certificate whose fingerprint is:

FB:93:B3:1D:16:A8:DB:84:B3:1B:0F:5D:EA:51:FB:BA

Here is an example xml layout to get you started on your way to mapping glory:

              <com.google.android.maps.MapView
                 android:layout_width="fill_parent"
                 android:layout_height="fill_parent"
                 android:apiKey="urkey"
                 />


No comments:

Post a Comment