How to make app support Samsung's popup-view? [closed]

只谈情不闲聊 提交于 2019-12-23 15:36:34

问题


A user of my app complained that he can't open the app in a popup window (like this).

When he tries to do so, a toast saying "This app cannot be shown in popup-view" appears.

I couldn't find any documentation about this feature, specifically not about enabling it for your app. Some users seem to find this useful so I thought about enabling that for my app if that isn't to much work.

Could anyone point me to the documentation of this feature or better yet explain how to add it to an Android app?


回答1:


put these lines in AndroidManifest.xml

<meta-data android:name="com.samsung.android.sdk.multiwindow.enable"
        android:value="true"/> 

thanks to saurabh1489




回答2:


This feature is supported by Samsung MultiWindow Framework.To make it work, you need to test the feature on the Samsung Devices which support MultiWindow functionality like Samsung Note series etc.Samsung provides MultiWindow SDK for third party developers to develop applications to support multiwindow functionality.The technical documentation regarding Multiwindow can be found here :
http://developer.samsung.com/technical-doc/view.do?v=T000000144L

Unfortunately this feature is not supported by Non-Samsung devices.



来源:https://stackoverflow.com/questions/30783758/how-to-make-app-support-samsungs-popup-view

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!