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. Andoird on x86 Recompile with -Xlint:unchecked for details issue

You need to pick up the opencore patch from the download section of You only need to donut patch


2. Milestone UK on sale di web SG??

check this out..

it's Milestone brader... *SG $897.81*

so... sekitar 6.3jt saja.. xD
ada yang minat beli?? :P

Bayu Wicaksono

Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to

To request to subscribe to this group:


3. BaseAdapter doesn't return position correctly

4. Nubie numpang tanya

5. Aplikasi iseng hari ini

6. button Click event inside custom listview.... Help!

7. How do I navigate to the program data with adb shell