OK, so, use a content provider. Admittedly, it'd be nice if there were a way to serve up files from RAM via a content provider -- the only way I know to serve files via openFile() is for them to actually exist as files somewhere, meaning disk I/O for no particularly good reason.
On Tue, Nov 22, 2011 at 7:27 AM, Kostya Vasilyev <[email protected]> wrote: > Using multiple remote views per update is a sure way to get a messed up > widget after a configuration change, and sometimes sooner. > > 2011/11/22 Mark Murphy <[email protected]> >> >> 2011/11/21 Tomáš Hubálek <[email protected]>: >> > BTW: Splitting bitmap into multiple chunks does now work as >> > undocumented limit is for whole RemoteView update. >> >> Then use multiple RemoteView updates, one per chunk. Or use a >> ContentProvider. >> >> > 1) What Google recommends to do? >> > >> > -> Use content provider? >> >> Most likely. >> >> > Why I don't get any Exception when something fails? Why there is only >> > LogCat message that can't be handled correctly? >> >> If I had to guess, the failure is in another process, either the OS >> process or the home screen's process. You will only get exceptions for >> failures in your own process. >> >> -- >> Mark Murphy (a Commons Guy) >> http://commonsware.com | http://github.com/commonsguy >> http://commonsware.com/blog | http://twitter.com/commonsguy >> >> _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 >> Available! >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

