split screen for all apps

kxhan15

Senior Member
Mar 30, 2012
297
113
0
COLTON
Hey everybody,
I recently updated to lollipop. I am on the mt7-L09 running version b324. I must say I really love everything about it. I have successfully rooted it and I am running twrp 2.8.7.0 recovery and everything is running great. The only issue is that I would love to have all apps work with the new split screen feature the way you can on a samsung device. Did anyone know of a way to get all apps working with split screen? Any help would be greatly appreciated. Thank you in advance.
 
  • Like
Reactions: Rumeni

kxhan15

Senior Member
Mar 30, 2012
297
113
0
COLTON
I have almost got it figured out. I just need to know how to get an apps component name. I used sqlite editor data/data/com.huawei.hwmwlauncher then to hwmultilauncher.db then to hw_mwlauncher. And the list of all the allowed apps are there. With component name and package name. I am trying to add youtube and I know the package name is com.google.android.youtube I just cant get the component name. Any help on this and I can figure out the rest and post a tutorial on it.
 
  • Like
Reactions: Rumeni

PoisonNinja

Senior Member
Jan 3, 2015
488
741
0
Dallas, TX
I have almost got it figured out. I just need to know how to get an apps component name. I used sqlite editor data/data/com.huawei.hwmwlauncher then to hwmultilauncher.db then to hw_mwlauncher. And the list of all the allowed apps are there. With component name and package name. I am trying to add youtube and I know the package name is com.google.android.youtube I just cant get the component name. Any help on this and I can figure out the rest and post a tutorial on it.
Check out http://developer.android.com/reference/android/content/ComponentName.html. Can you post the existing ComponentNames?
 

kxhan15

Senior Member
Mar 30, 2012
297
113
0
COLTON
Thank you, and yes I sure can post the existing ones. I spent all night decompiling apk's and have gotten youtube and tumblr to work with multiwindow. I have found that the component names are located in each apk's androidmanifest.xml file. The problem is that they are not all the same, and they are all in diferent spots within the manifest.
 

kxhan15

Senior Member
Mar 30, 2012
297
113
0
COLTON
This is youtube component name com.google.android.youtube/com.google.android.youtube.app.honeycomb.Shell$HomeActivity

You notice the first part before the / is the package name of the app. After / is the package name and the activity the app is supposed to launch with. The problem I think is that not all dev's write the same way. For instance this is the Gallery app's component name com.android.gallery3d/com.huawei.gallery.app.GalleryMain
 
Last edited:
  • Like
Reactions: Rumeni

kxhan15

Senior Member
Mar 30, 2012
297
113
0
COLTON
I have been able to run split screen for all apps on Mediapad X2. Maybe it can help mate 7 too(though not sure how different these devices are)

thread here : http://forum.xda-developers.com/mediapad-x2/general/emui-3-1-apps-multiscreen-t3193389
I have been able to get most apps to work. I get the component names by running logcat through adb. When I open the app the component name shows up in the log. The problem I am having now is finding the permisions and editing them so they all fully work in multiwindow