How could I get the size of android.graphics.picture

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


Sponsored Links
 Hi,

In my application, I will get a instance of android.graphics.picture
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 android.graphics.picture. If the size is too
large, I should not save to local. But I checked
android.graphics.picture, it only have getHeight and getWidth member
functions.

Could I get the size of android.graphics.picture?

Thanks for help,
Jiyu
--~--~---------~--~----~------------~-------~--~----~



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
android-x86.org. You only need to donut patch


> 

2. Milestone UK on sale di web SG??

check this out..

http://bit.ly/6YqtG2

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

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

regards,
Bayu Wicaksono

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

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

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