Saturday, October 20, 2012

Play 3gp YouTube video in VideoView

This is simple solution to play you tube in our app.

But before providing link to video view, We need to convert it into .3gp. This process of converting youtube in 3gp format explaning in following link.


http://android-coding.blogspot.in/2011/03/simple-example-using-videoview-to-play.html

Thursday, October 11, 2012

Sign Android applications for release in Google Play (Android Market)

With the help of eclipse we can easily create sign apk for release.

Check following links for sign apk using eclipse and also with special command.

http://techdroid.kbeanie.com/2010/02/sign-your-android-applications-for.html


http://developer.android.com/tools/publishing/app-signing.html

Simple steps:
1. Export apk from Eclipse.
2. Create new keystore. If you have alredy keystore then reuse that.
3. After created sign apk. we need to check this apk sign or not.
    use following jarsigner command to check details of authour.
  

jarsigner -verify -verbose -certs ranjitApp.apk


4. Next command is zipalign for compress your sign apk.


zipalign -v 4 your_project_name-unaligned.apk ranjitApp.apk

XML parsing in Android

Check this is very helpful tutorial for xml parsing.

Tutorial 1:
http://www.androidhive.info/2011/11/android-xml-parsing-tutorial/

Tutorial 2:
http://www.vogella.com/articles/AndroidXML/article.html

Saturday, October 6, 2012