How to make app support a Samsung popup?

A user of my application has complained that they cannot open the application in a popup (like this) .

When he tries to do so, a toast appears saying, "This application cannot be displayed in the pop-up window."

I couldn't find any documentation about this feature, especially not how to enable it for your application. Some users seem to find this useful, so I thought about including this app if it isn't that much.

Can someone point me to the documentation for this feature, or better yet explain how to add it to an Android app?

+3


source to share


2 answers


put these lines in AndroidManifest.xml

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

      



thanks to saurabh1489

+12


source


This function is supported by Samsung MultiWindow Framework. For it to work, you need to test this function on Samsung devices that support MultiWindow functions, such as Samsung Note series, etc. Samsung provides the MultiWindow SDK for third party developers to develop applications to support multiwindow. The technical documentation for 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.

+2


source







All Articles