If you're serious about doing this -- for example, you have some new device with a larger screen, and you're looking to compete with the iPad, then what you want is to ask in the android-porting group instead of here.
This group is about things using the SDK, and you can't do it in the SDK. I think you're going to need two window managers, and a way of arbitrating and routing events (including from any physical buttons) to the appropriate one. And you're going to need scheduler changes. Right now, the foreground activity gets priority. You probably want to maintain a similar policy, but the definition of which activity gets priority gets a bit more complicated. This may not involve actual changes to the scheduler, but rather with how it gets informed about which activity to give priority to -- but to get a quick response to a tap on the other window, you may need to take further measures. If you sometimes use full screen, sometimes half, there's also issues about communicating to apps what their size is, managing the resources, deciding when to be full and when to be half, etc. I'd strongly suggest coordinating with the Android team on the question. It's an architectural issue and an architectural change, and you'd like to take it in a direction that is compatible with other devices and future releases. You don't want to be stuck down the road with a one-off version of the OS that can't run apps from the app store, etc. I do think it's something that needs to be done at some point, to keep up with hardware trends. On Mar 21, 11:28 pm, Michael Wu <[email protected]> wrote: > Hi, all. > > I have a question about application excution. Generally, only one activity > could be excuted at the same > time. > > Even though there are still other applications which is excuted in the > background, there is still only one > application could be showed on the screen display. > > ---------- > | | > | AP1 | AP2 is excuted in background. > | | > ---------- > > My question is, Is it possible to achieve double activity showing on the > screen display by modifying the > android framework? As the following picture, two applications are > excuted and showed on the screen > display at the same time. > > ----------- > | AP1 | > | | > | AP2 | > ----------- > > I have some ideas: > 1. Change the scale of application into smaller size. > 2. Modify the framework to activate another view activity. > However, I am not sure how much effort should I pay on the second step. Does > anyone have some ideas > to share with me? > > Regards > Michael -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

