Hi Mark, I can give my app as an example. The app uses the camera API to catch a bitmap and tries to pass the bitmap to the cropping activity. It worked on the emulator but not on the real device because the inter-activity limitation on memory. I can persist the data and pass it to the cropping activity and pass the result back in the same way, but that will be very slow. In the end I have to write my own cropping in the same activity. You can see the cropping activity is not very useful (also, it is not documented as well) because of the limitation.
If the two activities have the same signature or one of them (such as the cropping) is a shared tool and provides only service (not data) then there is no security concern. By "single process framework", I mean I can do everything in my process and at the same time to use libraries and tools etc from the SDK. I really like Android but I hope it can improve on this. Jack On Sun, Sep 6, 2009 at 6:40 AM, Mark Murphy <[email protected]> wrote: > > Jack Jia wrote: > > I think the strict inter-activity (or inter-process) memory restriction > > makes the whole activity model much less useful > > I suspect that you will need to provide substantially more justification > than those 19 words. > > > so I strongly suggest > > Android team to either make an unlimited way of inter-activity memory > > sharing (memory is still limited but sharing should not be) or make a > > new single process framework. What do you think? > > I think both of those open up security holes, particularly what I > suspect you mean by "single process framework". Android's use of the > Linux process system is primarily for security, AFAICT. Certainly, it is > a significant benefit from using distinct processes owned by distinct > users for each application. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://twitter.com/commonsguy > > Android Development Wiki: http://wiki.andmob.org > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

