[android-beginners] Re: problem wid the sdcard

2008-08-29 Thread Payal Amin
I tried file:///sdcard/test.txt too but still it does not work... Do we have to set any permissions or something to open a sdcard file through application? I think we should be able to browse the sdcard files through applications.. because in real phone when we insert an sdcard, we are able to

[android-beginners] Re: problem wid the sdcard

2008-08-29 Thread Mark Murphy
Payal Amin wrote: I think we should be able to browse the sdcard files through applications.. because in real phone when we insert an sdcard, we are able to open all kind of files like a word file or text file. If by real phone you mean iPhone, I'm not aware that it has a Word viewer. Or

[android-beginners] Re: problem wid the sdcard

2008-08-29 Thread Mark Murphy
My question was, if I can browse through sdcard and I know that the file is ...txt then why can't I open it like all other files? To quote from the documentation: http://code.google.com/android/reference/android/content/Intent.html For data that is not a content: URI and where no explicit

[android-beginners] Re: problem wid the sdcard

2008-08-29 Thread Payal Amin
Hi Mark, thanks a lot for your reply. now I am able to open and view the txt file using some other file operations.. May be I will make different activity to read the txt file from sdcard. Thanks On Fri, Aug 29, 2008 at 11:36 AM, Mark Murphy [EMAIL PROTECTED]wrote: My question was, if

[android-beginners] Re: problem wid the sdcard

2008-08-28 Thread Megha Joshi
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

[android-beginners] Re: problem wid the sdcard

2008-08-28 Thread Amin
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

[android-beginners] Re: problem wid the sdcard

2008-08-28 Thread Megha Joshi
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

[android-beginners] Re: problem wid the sdcard

2008-08-27 Thread Megha Joshi
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: