Android Question No success with multi-window app

GuyBooth

Active Member
Licensed User
Longtime User
My attempts to make my app show up in the multi-window list on my S3 running android 4.3 have been unsuccessful. All I have done so far is added the following to the manifest:

B4X:
' Added for multi-window support:
AddActivityText(main, <intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" /></intent-filter>)
AddApplicationText( <uses-library android:required="false" android:name="com.sec.android.app.multiwindow"> </uses-library>
    <meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
    <meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_W" android:value="632.0dip" />
    <meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_H" android:value="598.0dip" />
    <meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_W" android:value="632.0dip" />
    <meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H" android:value="598.0dip" />)
' End of multi-window additions
Is there anything specific I am missing here? I noted an earlier thread where a forum member had had a similar problem, but no solution was posted.

Do I need to use an additional library?
Is there a permission that I need that I haven't set?
What am I missing?

Any help would be appreciated!
 
Last edited:

GuyBooth

Active Member
Licensed User
Longtime User
That's understood Erel - but my app does not show up in the tray!
With the changes to the manifest as I described, if I start my app from its icon as usual and then run an app from the tray, my app resizes as desired, and also triggers the IME HeightChanged event, so that part of it is working. So my question is "How do I get my app to be included in the apps that are Multi-window capable?" and can therefore be started from the tray. What am I missing? Are there some android software/toolkits etc I need to update (other than b4a, which I have kept up to the latest version)?
 
Upvote 0

JohnC

Expert
Licensed User
Longtime User
Did you ever get this working?

I too am interested in having a Samsung tablet (running 5.01) see my app as a multi-window compatible app.

I see other apps like "Plume", "MX Play pro", "Titanium Backup" appear in the multi-window app list, so I wonder what they are doing to accomplish this.
 
Upvote 0

JohnC

Expert
Licensed User
Longtime User
Thanks - I'll give it a look...
 
Upvote 0

GuyBooth

Active Member
Licensed User
Longtime User
Did you ever get this working?

I too am interested in having a Samsung tablet (running 5.01) see my app as a multi-window compatible app.

I see other apps like "Plume", "MX Play pro", "Titanium Backup" appear in the multi-window app list, so I wonder what they are doing to accomplish this.
I actually didn't take it any further - it wasn't important enough to me to chase it down.
 
Upvote 0

JohnC

Expert
Licensed User
Longtime User
Maybe I'll try looking in the manifest file of those apps to see if I see anything helpful.
 
Upvote 0
Top