How could I get the size of

by A.TNG » Wed, 02 Sep 2009 17:50:59 GMT

Sponsored Links

In my application, I will get a instance of
which is populated by user. Then I use writeToStream to save. After
save, I have to check the file size. If the size is too large, then I
should delete this file.

I think this save-check-delete operation is not reasonable. I prefer
to check the size of If the size is too
large, I should not save to local. But I checked, it only have getHeight and getWidth member

Could I get the size of

Thanks for help,

Other Threads

1. By when onActivityResult is called??

When onActivityResult(int, int, Intent)  will be called?

I notice this is not called when I call finish(); on the activity that
I start with startActivityForResult (Intent intent, int requestCode).

Does it means the activity is not exit even I call finish() on it?


2. Neorom 2.1

kemarin sore barua berhasil update ke neorom 2.1 dan setellah charge penuh
jam 6 pagi tadi nyalakan my Hero dengan koneksi GSM/WDCMA. Sampai email ini
ditulis atau sekitar 7.5 jam, posisi bateri masih tersisa 47%. HH tidak
dipakai call tetapi koneksi data jalan terus narik email pakai amplop merah
2 account, coba main WW, narik email kantor pakai email HTC, serta sms.

sekedar pengelaman dengan neorom 2.1.

omong-omong villain sudah keluar 5.1 (cek di


"Indonesian Android Community [id-android]" 

3. Remember Password

4. GPS application not installing in Sony Xperia

5. Android Navigation Tutorial

6. Real beginner stuff

7. Mohon Komentar Nexus One say