Add Multiwindow Support for Apps thru CSC file

Status
Not open for further replies.

xperiacle

Inactive Recognized Developer
Nov 12, 2012
337
5,859
0
UPDATE: A fellow xda member created an app that will help you add multiwindow support for your app through feature.xml. You can visit his thread here.

This maybe a simple way to add multiwindow support to apps without having to modify apks and at the same time be able to update your apps without losing multiwindow support just by editing a simple text file. This may or may not work for you.

I don't have a note10.1 but as I was trying to port some features from the note10.1 to the note1, I came across a smali code fragment that checks for multiwindow supported apps in CSC file as well as excluded apps so I tried to investigate further and found out that you can actually add multiwindow support for almost any app by just adding it's package name in feature.xml or other.xml in /system/csc folder. So if you look into your feature.xml file you will see the code below.

Code:
<CscFeature_MultiWindow_AddOnApp>-com.google.android.apps.maps,-com.google.android.maps,-com.google.android.gm,-com.google.android.talk,-com.google.android.youtube,-com.android.chrome,-com.facebook.katana,-com.twitter.android,-com.kakao.talk,-com.android.email,-com.android.mms,-com.sec.android.mms.kor,-com.sec.android.app.snotebook,-com.infraware.polarisviewer4,-com.infraware.polarisoffice4</CscFeature_MultiWindow_AddOnApp>
What to do?

Just delete all package names inside like below:

Code:
<CscFeature_MultiWindow_AddOnApp></CscFeature_MultiWindow_AddOnApp>
Then add the package name of every app you want to have multiwindow support like this...

Code:
<CscFeature_MultiWindow_AddOnApp>com.android.vending</CscFeature_MultiWindow_AddOnApp>
and add another like below (separated by a comma) :

Code:
<CscFeature_MultiWindow_AddOnApp>com.android.vending,com.android.settings</CscFeature_MultiWindow_AddOnApp>
If you notice, there are no "-" prefixes to package names and there are no white spaces (this is very important).

How to find the package name?
You can look into the /data/data folder using root explorer/solid explorer/root browser and find the folder that corresponds to the app you want to add. The folder name is the package name.

NOTE: If you have the feature.xml file but doesn't have the <CscFeature_MultiWindow_AddOnApp></CscFeature_MultiWindow_AddOnApp> code above, then just copy the code above and insert it into your feature.xml file.

NOTE:If you don't have the feature.xml file but have the other.xml file, just copy the code above into your other.xml and edit it and insert the apps you want. Remember to reboot after editing for the change to take effect.


This feature works for my stock rooted deodex note n7000 (not modded for unlimited multiwindow apps).

* The smali code where I got this idea from is note1 JB 4.1.2 so for note10.1 it may also be only available for JB 4.1.2.

If it works for you show some appreciation. Post feedback and share your experience for the benefit of others.
 
Last edited:

lawdawg45238

Senior Member
Dec 3, 2011
203
39
0
I have a note 10.1 and I tried this. I got into the feature.XML file and it doesn't look anything like that. I would love this to work... but I am still on ICS and wonder if that may be the problem.

Any help? Or was anybody else able to do this and make it work?
 

Mirkokkk

Senior Member
Nov 12, 2012
75
38
0
I tried with Dropbox and other apps but this mod doesn't work. But a strange thing has happened: when I mod the file all apps in the original list become MultiWindow!! In this way now I have gmail 4.2.1 in MultiWindow and I have download it from playstore (The same thing for YouTube, Facebook, Chrome ecc ecc).

Inviato dal mio GT-N8000 con Tapatalk 2
 

lm that guy

Senior Member
Jan 22, 2012
673
291
0
I tried with Dropbox and other apps but this mod doesn't work. But a strange thing has happened: when I mod the file all apps in the original list become MultiWindow!! In this way now I have gmail 4.2.1 in MultiWindow and I have download it from playstore (The same thing for YouTube, Facebook, Chrome ecc ecc).

Inviato dal mio GT-N8000 con Tapatalk 2
Im glad you also experienced this aswell. I noticed this aswell when i opened up the dock and saw google maps. I did not expect this to happen and thought i always had it but was over looked. Now it all makes sense lol

Sent from my GT-N8000 using Tapatalk 2
 

thegios

Senior Member
Mar 16, 2006
2,116
146
63
47
Latina
What exactly did you change and it which file? I cant find what the op says

Sent from my GT-N8013 using XDA Premium HD app
yep... can someone pls explain and clarify?

---------- Post added at 10:02 AM ---------- Previous post was at 10:01 AM ----------

I tried with Dropbox and other apps but this mod doesn't work. But a strange thing has happened: when I mod the file all apps in the original list become MultiWindow!! In this way now I have gmail 4.2.1 in MultiWindow and I have download it from playstore (The same thing for YouTube, Facebook, Chrome ecc ecc).

Inviato dal mio GT-N8000 con Tapatalk 2
can you pls clarify and explain what exactly you did?
 

Mirkokkk

Senior Member
Nov 12, 2012
75
38
0
yep... can someone pls explain and clarify?

---------- Post added at 10:02 AM ---------- Previous post was at 10:01 AM ----------



can you pls clarify and explain what exactly you did?
You must mod feature.xml in System/CSC folder. At the end of this file there are strings for multiwindow. In these strings I have only added "com.dropbox.android". In this way Dropbox didn't become multiwindow but yes all apps in the original list (Gmail, youtube, Facebook etc etc)

Inviato dal mio Galaxy Nexus con Tapatalk 2
 

thegios

Senior Member
Mar 16, 2006
2,116
146
63
47
Latina
You must mod feature.xml in System/CSC folder. At the end of this file there are strings for multiwindow. In these strings I have only added "com.dropbox.android". In this way Dropbox didn't become multiwindow but yes all apps in the original list (Gmail, youtube, Facebook etc etc)

Inviato dal mio Galaxy Nexus con Tapatalk 2
didn't work for me...

I have rooted the tablet, opened feature.xml, added dropbox as you said, rebooted... still nothing
 

kolmanb

Senior Member
Sep 1, 2011
106
38
0
yep... can someone pls explain and clarify?

---------- Post added at 10:02 AM ---------- Previous post was at 10:01 AM ----------



can you pls clarify and explain what exactly you did?
Does not work ROM][STOCK][4.1.2] N8000 Stock Rooted Busybox Deodexed
 

aartvv

Senior Member
Nov 13, 2009
206
94
28
ok can you pls explain what exactly you have done step by step?
it didn't work for me...
thanks
I used solid explorer and went to the map csc.Then opened the feature.xml file.Scrolled all the way down to the multiview part.Then i put -com.dropbox.android,between the other ones.Rebooted and they were there.Gmail and Gmaps work fine only youtube doesnt scale wright.

Only thing is that when i open a the feature.xml file now it's completly blank!!So i cant make a screenshot.Anyone else with this problem?

Verstuurd van mijn GT-N8000 met Tapatalk
 

thegios

Senior Member
Mar 16, 2006
2,116
146
63
47
Latina
I used solid explorer and went to the map csc.Then opened the feature.xml file.Scrolled all the way down to the multiview part.Then i put -com.dropbox.android,between the other ones.Rebooted and they were there.Gmail and Gmaps work fine only youtube doesnt scale wright.

Only thing is that when i open a the feature.xml file now it's completly blank!!So i cant make a screenshot.Anyone else with this problem?

Verstuurd van mijn GT-N8000 met Tapatalk
that's what I did... with no avail... damn... (see attachment)
 

Attachments

aartvv

Senior Member
Nov 13, 2009
206
94
28
Oke well don't know if it helps but i putted it behind the the "-com.google android maps," line.Maybe you can try it.

Verstuurd van mijn GT-N8000 met Tapatalk
 

thegios

Senior Member
Mar 16, 2006
2,116
146
63
47
Latina
Oke well don't know if it helps but i putted it behind the the "-com.google android maps," line.Maybe you can try it.

Verstuurd van mijn GT-N8000 met Tapatalk
tried that as well... I put it at the beginning, at the end, and after the two maps right before gm... nothing
and i have your same rom...

maybe you did before some other changes?
 

Mirkokkk

Senior Member
Nov 12, 2012
75
38
0
I used solid explorer and went to the map csc.Then opened the feature.xml file.Scrolled all the way down to the multiview part.Then i put -com.dropbox.android,between the other ones.Rebooted and they were there.Gmail and Gmaps work fine only youtube doesnt scale wright.

Only thing is that when i open a the feature.xml file now it's completly blank!!So i cant make a screenshot.Anyone else with this problem?

Verstuurd van mijn GT-N8000 met Tapatalk
But Dropbox (and so other added apps in the file) doesn't work in MultiWindow, it's right? With es gestore file i haven't this problem (blank file after the mod).

Inviato dal mio GT-N8000 con Tapatalk 2
 
Status
Not open for further replies.