See my answer here with a complete example: http://stackoverflow.com/a/18541955/534471
On Thursday, March 24, 2011 5:11:48 AM UTC-4, asher wrote: > > Hi Abhilash, > Can you give an example of the code you wrote in order to do that? > > Thx. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.