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. select query problem.

Hi ,

I have a table in that there is 2 columns. Now I want to retrieve the
value of one column using value of second column (Means suppose my
table name is roomtable. and it contains 2 columns as RoomID and
RoomName)

    Now I know value of RoomName and I want to find out value of
RoomID. How to this?
I had tried using following but not succeed.

final String ROOM_TABLE_NAME = "roomtable";
sampleDB =  this.openOrCreateDatabase(SAMPLE_DBNAME, MODE_PRIVATE,
null);

sampleDB.execSQL("SELECT RoomID FROM " +ROOM_TABLE_NAME+"where
RoomName="+selectedRoom);

how to execute this query so I can get RoomID?
Thanks


-- 

2. Fwd: Kurikulum Android dari Meruvian Education

alo kali ada yang tertarik traiing Android., sekalian test drive sebelum
jadi curriculum Google Education :) dan juga pre-official national

nah ini dia

ini material kita

http://www.slideshare.net/flatburger/android-curriculums

ini baru 3 stack dari 5 stack (Android UX), yang ke-4 sedang
dikembangkan, dan yang ke-5 adalah integrasi Android dg backend (MVC-
REST).

yang mau tahu integrasinya untuk track ke-5, silahkan lihat
devoxx.com, kita share concept dengan mereka, jadi bisa buat FB Server
dan Android Client otomatis.

bilamana tertarik, kita bisa buka kelas dengan min 5 orang, lokasi di
Depok, bekerja sama dg Gunadarma Margonda (dan untuk Jakarta dg Binus
Internasional - tentative).

NB: Untuk SMK
bagi yang SMK, kami juga ada kurikulum terpadu untuk mata pelajaran,
bekerja sama dg PSMK, dan siap diadopsi untuk kurikulum 2011, silahkan
hubungi saya japri yang ini, untuk memaping dan mempersiapkan guru
produktifnya, termasuk kerja sama magang dan beasiswa S1 dan S2 dari
diknas (termasuk uang saku selama pendidikan).

Frans Thamura
Director
Meruvian.
The Most Complete Java Services Provider in Indonesia


Mobile: +6287885901958
Blog & Profile: http://frans.thamura.info

We grow because we share the same belief.

-- 
===============
"Indonesian Android Community [id-android]"

PING'S mobile
Email: sa...@pings-mobile.com  Ph. (021) 96087100
---------------------
Yopie Ratjoen
Email: yo...@ratjoen.com  Ph. 08977726681
--------------------
Gila original
Email: i...@gilaoriginal.com  Ph. (031) 91555898
--------------------

Aturan Jual/Kloteran ID-Android  http://goo.gl/azW7

3. wallpape

4. Operator internet unlimited

5. From emulator to real device

6. Library SharedPreferences

7. Is there any way to hide a dialog yet have it remain active?