how to read/write/create files/folder???

by Wesley Sagittarius » Wed, 14 May 2008 08:54:01 GMT


Sponsored Links
 1) how to read/write/create files/folder using android???
like read folder in the phone...

2) how to call browser???

any one have any idea???

Wesley.
--~--~---------~--~----~------------~-------~--~----~



how to read/write/create files/folder???

by Mark Murphy » Wed, 14 May 2008 10:40:23 GMT


 


 http://code.google.com/android/devel/data/files.html covers  
application-specific files.

Also, any standard Java I/O works (e.g., File f=new File("/tmp/foo");), 
so long as you have sufficient permissions.


 http://code.google.com/android/reference/android/webkit/WebView.html 

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
The Busy Coder's Guide to Android Development -- coming in June 2008!

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. How to get the root view of current Activity?

Dear all,

Is there a function that allows me to get the top most view (the root)?

Thanks,
Agus.

--~--~---------~--~----~------------~-------~--~----~

2. setContentURI VideoView

I am working on a media player that uses streaming video for
content.   I have noticed a couple of things.   Once I call
setContentURI, the app seems to block until the content is completely
buffered and playback can begin.   If for some reason the connection
to the server gets hung it locks up the entire app.   Selecting the
back button does nothing.  So from that I have a couple of
questions.   How can I specify a timeout on the VideoView for when it
tries to retrieve the content, or how can I code it to make the back
button work so the user can at least cancel the operation.   I tried
placing setContentURI call in a thread and get an exception stating I
am trying to call it from the wrong thread.
--~--~---------~--~----~------------~-------~--~----~

3. Can you make SlidingDrawer slide from top of screen without custom code?

4. J2ME or ANDROID eclipse usage

5. issue with autocompletetextview and ime

6. Css overflow issue

7. How to increase Emulator's Internal memory capacity?