[android-beginners] Load Html text and image in WebView (stored in files directory)

2009-09-01 Thread Ankit Shah
Hi, I would like to load Html page content and image in WebView. (Note: Html page and image are stored in applications 'files:///' directory) Html page data: ... Html page content here.. ... Load Html in WebView using loadDataWithBaseURL method. webview.loadDat

[android-beginners] Re: Play Audio File (stored in files directory)

2009-08-12 Thread Ankit Shah
Thanks chinchin. I would like to to store audio file (wav file) in SD Card programmatic (at runtime). In my application when user clicks on "Download" button it will downloads audio file and should stores in SD Card. Right now able to download audio file from server and also able to store in fil

[android-beginners] Re: Play Audio File (stored in files directory)

2009-08-12 Thread Ankit Shah
Thanks David, thanks for reply. In this application "wav" file (i.e audio file) comes from server. I am successfully able to download this file and also able to store in files directory folder (i.e "/data/data/com.myapp/files/a.wav"). I am not able to store in "res directory" because it comes fr

[android-beginners] Play Audio File (stored in files directory)

2009-08-12 Thread Ankit Shah
Play audio file from android application. Right now i am able to play audio file stored as a resource. ( In application "res/raw/a.wav" folder ) But i would like to play audio file stored in "/data/data/com.myapp/ files/a.wav" (i.e audio file stored in "files" directory at runtime) I try th

[android-beginners] ContextMenu for ListView

2009-07-15 Thread Ankit Shah
I have a ListActivity and using BaseAdapter i have populated ListItems (Single ListItem row contains 3 views: 1 ImageView <"icon">, 1 TextView <"Title"> and 1 more TextView <"Description">). Now When I short click on a list item, I get the position via onListItemClick event. When I long click on

[android-beginners] Pick a contact and select one of the "home/mobile/work" numbers.

2009-07-14 Thread Ankit Shah
Is there a way to let user first pick a contact in one screen and then display all his numbers (home/mobile/work) in another screen and let user pick one of those numbers? I have implemented this way: Intent i = new Intent(Intent.ACTION_PICK, People.CONTENT_URI); startAct

[android-beginners] Re: Make an "Emergency Call"

2009-07-12 Thread Ankit Shah
Thanks for your pointer and help. Thank You. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this

[android-beginners] Re: Make an "Emergency Call"

2009-07-12 Thread Ankit Shah
Thanks for your help. Its working fine for me. Thank you very much. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To

[android-beginners] Make an "Emergency Call"

2009-07-09 Thread Ankit Shah
>From my Android application I would like to make an Emergency Call "911". Any information on this would be greatly appreciated. Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group.