[android-developers] Re: Temp storage for bitmap

2009-10-20 Thread Vitaly Polonetsky
Thanks for your reply, that's what I'm planing to do.My other question was where do I temporary store the image ? I can store it in EXTERNAL_CONTENT_URI, Context.getCacheDir() or Context.getFilesDir() ... But what's preferable and why ? (considering: deletion timing, permissions, locks, etc.)

[android-developers] Re: Temp storage for bitmap

2009-10-20 Thread Streets Of Boston
I had a similar issue with storing temporary images (saving color- corrected images). It turned out that storing a temp image (just plain binary data; a large array of int-s (ARGB)) on the SD-card was the fastest (still slow, though). Storing it on the phone, the cache (getCacheDir) or data

[android-developers] Re: Temp storage for bitmap

2009-10-19 Thread Streets Of Boston
You can delete it while handling the onActivityResult (this method is called after your sub/child activity finishes). On Oct 14, 10:02 am, m_vitaly m_vit...@topixoft.com wrote: Ok, but what if I want to delete if after issuing startActivity, can I do this ? And where should I store it then ?

[android-developers] Re: Temp storage for bitmap

2009-10-14 Thread m_vitaly
Ok, but what if I want to delete if after issuing startActivity, can I do this ? And where should I store it then ? On Oct 14, 4:20 am, Streets Of Boston flyingdutc...@gmail.com wrote: When you store it in the EXTERNAL_CONTENT_URI, your image can already be shared with every other app on the

[android-developers] Re: Temp storage for bitmap

2009-10-13 Thread Streets Of Boston
When you store it in the EXTERNAL_CONTENT_URI, your image can already be shared with every other app on the phone. When you added (inserted) the image, your result was a Uri. This Uri can be used by any other app to obtain your image. On Oct 13, 4:42 pm, m_vitaly m_vit...@topixoft.com wrote: