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. Adobe Flash Lite 3.0 coming to Android...?

Hi everyone,

I thought this was an interesting article:
http://www.pocketgamer.biz/r/PG.Biz/Android/news.asp?c=12418
http://www.marketwire.com/press-release/Bsquare-Corporation-NASDAQ-BSQR-965875.html

Having Flash on the Android (before iPhone does) could be a boon for
the platform.
What do you think?

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

2. I don't think there will ever be a good side-scrolling game on Android

because I don't think Android can handle smooth scrolling. Tried
myself with all sorts of views, surface views, always a horrible
flicker even with 20 - 30fps.

Looking at the market its the same story. Most games don't attempt
side scrolling and the ones that do end up with very jerky scrolling,
e.g. deBlob $3.99 ported from iPhone. Alien {*filter*} Bath is a similar
story.

I'm starting to think this is a technical limitation.If it is, this
could mean our games never compete with other mobile platforms and
could limit Android's ability to compete in the market.
--~--~---------~--~----~------------~-------~--~----~

3. Alert dialog in Android-SDK-1.1-Release 1

4. Building user interfaces at runtime with layouts from server

5. How to bind BigDecimal object to SQLiteStatement

6. What is requirement for argv of RIL_Init()?

7. android http GET 400 error