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 access the files on SD card through emulator?

Instructions here:

http://developer.android.com/guide/developing/tools/emulator.html#diskimages

j




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

2. WebView and Custom Protocol Handlers

Looking through the source, it seems that the URLInterceptRegistry is
only used for URLUtil.isNetworkUrl, it then falls through to
handleLocalFile which doesn't have an intercept point for local
protocols.

Is there another method that I've missed? At this point it looks like
the only way to accomplish custom protocols is to copy source in and
modify it, which is too fragile.


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

3. How to do setprop for a property such that its value remains consistent across reboots?

4. Software Engineer, Google Android Internals - Dallas, TX

5. How to program a key press on a service

6. How will users upgrade their firmware?

7. someone plz help me .. how to call built in camera app from my custom app ??