我想开发一个 android 应用程序,它必须在设备上运行另外两个应用程序,一个应用程序在屏幕的上半部分,另一个在屏幕的下半部分。有什么线索/建议可以开始开发吗?提前致谢 !
3 回答
it's not possible multi-pane-layout two other apps.
if u want your app with multiple activities follow this tutorials for your references:
it's called named as multi-pane-layouts and offical introduction about multi-pane-layouts below link:
http://developer.android.com/design/patterns/multi-pane-layouts.html
and it's shows how to implement multi-pane-layouts on your project below link from android official side:
http://developer.android.com/guide/practices/tablets-and-handsets.html
and you can download example project from github below link:
This is not possible, except via custom device firmware or ROM mods. In standard Android, only one app can be used at a time.
However:
You are welcome to support multi-window apps on some Samsung devices, as they have extended their firmware to support this concept
You are welcome to have an activity's theme set up to not fill the screen, though anything else around the activity will at most be visible and will not respond to touch events
If all of these applications are yours, combine them into one app, and then you can display elements of that app alongside other elements of that app however you wish.
如果您正在为您的应用程序寻找支持多窗口的功能,那么最新的 Android 版本 N 有一个新的很酷的功能,称为多窗口支持,您可以让您的应用程序支持可以调整大小和缩放的多窗口,这正是您的要求。你可以在这里找到参考链接