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. Create TabBar in android at the bottom

Hello all,
how i create a TabBar in android at the botom of the page.
i have gone through some examples in google, but not
get the proper one.

anybobdy have gone through the same problem may help me.

anybody's help will be appreciated.

Thanks in advance,



2. Picking an activity

I am using ACTION_PICK_ACTIVITY to have users pick an
app from a list.  But how do you get the 'Use by default...'
checkbox to show up at the bottom of the dialog?


3. User ID of purchaser

4. Multi stroke gestures not recognized when last stroke is vertical

5. Setting up a user account on an AVD

6. how to add wifi to my android platform

7. Camera not working on Nexus One