Monday, August 22, 2011

Generating FingerPrint using Keytool in Android

Hi All,
     
       Follow the Steps to generate the finger print using Keytool in Android in Eclipse IDE

Step 1:
          Right Click your Project and Chosse  Export as Shown in the following picture



Step 2:
           Then a Dialog Box is Open , in that Click Android , then Choose Export Android Application as Shown Below


Step 3:         
               Then Click Next, and Next for futher Processing, then you can see a option of Creating or Using the Existing KeyStore , If you are creating KeyStore, for the first time, then you can choose Create new KeyStore Option as shown below


Step 4:

               Then Locate yur KeyFile Location as Shown Below


Step 5:
                  Give password and give confrim password too and click Next for futher processing as i shown here

Step 6:
                The Next Windows ask you to provide details Alias, Password, confirm password and validity ad shown below here, Enter those details


Step 7:

      Browse your destination .apk file in the next windows, as i did below


Step 8: Hit Finish

Step 9: Now open Command Prompt and set the current path java]jdk1.6\bin
 Then use the following command

C:\Program Files\Java\jdk1.6.0_23\bin>keytool -list -alias santest -keystore "C:
\Documents and Settings\Farshore\Desktop\mykeystore\mykeyval"
Enter keystore password:
santest, Feb 16, 2011, PrivateKeyEntry,
Certificate fingerprint (MD5): 7A:8C:AC:CF:64:D7:83:4E:85:43:BF:5E:D7:65:10:B6

C:\Program Files\Java\jdk1.6.0_23\bin>


  
Now we can use that fingerprint in your xml file.



Notification in Android Using AlarmManager, BoradCastReceiver & Services

    Our aim is to show notification message to user in a specific time.     Say For example , I have planned to show Notification ...