2008/8/28 Amin <[EMAIL PROTECTED]> > > I have added some text files in my sdcard image using "adb push ....". > > What I am trying to do is making a file browser for sdcard. and I can > see all the folders and files i created in my sdcard img through my > application. Now what i want is, I want to view that text files in my > application. Can you please tell me how can I do this? I already > tried this > > Intent myIntent = new Intent(android.content.Intent.ACTION_VIEW, > > Uri.parse("file://home/sdcard.img/test.txt")); >
change your path to file:///sdcard/test.txt ...Android filesystem is different from your machine's filesystem so file://home/sdcard.img/test.txt. wont work. You can browse the android filesystem from DDMS file explorer... > But does not work. > > Thanks > > On Aug 28, 1:55 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > > 2008/8/28 immu <[EMAIL PROTECTED]> > > > > > > > > > Hi > > > Thanks for u reply !!! > > > But still i am unable to see files(jpeg/mp3) in my Emulator > > > iam opening the Emulator with command > > > > > emulator -sdcard <mypathHere> > > > > > but no result... > > > > > i have a doubt now , can i see those files from Emulator ? > > > > The emulator does not have a file browser...you will have to use File > > Explorer in DDMS:http://code.google.com/android/reference/ddms.html > > > > > > > > > On Aug 28, 1:54 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > > > > Did you load the sdcard to emulator? for detailed instructions see > the > > > link > > > > below:http://code.google.com/android/reference/emulator.html#sdcard > > > > > > How do you view the files in emulator? > > > > The emulator does not have a file browser...you will have to use File > > > > Explorer in DDMS:http://code.google.com/android/reference/ddms.html > > > > > > 2008/8/27 immu <[EMAIL PROTECTED]> > > > > > > > Hi > > > > > i have add some files(jpeg/mp3) in sdcard image, but i am > > > > > unable to see them from Emulator > > > > > > > can any one help me...plzz > > > > --~--~---------~--~----~------------~-------~--~----~ 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 group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---