5,598,938 Members 31,449 Now Online
XDA Developers Android and Mobile Development Forum

[Tool] Add Multiwindow-option to almost every apk files

Tip us?
 
Leppin
Old
(Last edited by Leppin; 13th December 2012 at 07:30 AM.)
#1  
Leppin's Avatar
Member - OP
Thanks Meter 205
Posts: 96
Join Date: Jul 2011
Location:
Default [Tool] Add Multiwindow-option to almost every apk files

Hey,

I've programmed a small windows tool to add the multiwindow option to almost every apk file.

Disclaimer: Please follow the instructions at your own risk. I will not be held responsible if your device or its data gets damaged in the process of following this guide.

Instructions:
1. Copy the wanted app with a root explorer from data/app (installed apps) system/app (system apps) to a mountable storage like /sdcard or /mnt/extSdCard
2. Connect your device to the Windows PC and copy the stored apps (see section 1) to your pc.
3. Start the Tool and select the files (see section 2) as source path
4. If you have selected the selection mode folder you can select the wanted apps in the list by checking the boxes.
5. Select a destination Path
6. Execute the tool by pressing the green triangle at the top.
7. Copy the modified app to the tablet
8. Backup the app with an backup app (i recommend titanium backup)
9. Uninstall the app
10. Install the modified apk
11. Restore the produced backup data (only data not application)
12. You should now be possible to select the app in the multiwindow view.

Credits:
Daneshm90 (APK-Multitool)
Brut.all (Apktool)
Justfresh (Great Found of the method adding multiwindow property by manipulating XML-Tags)
Justinchi (informations + test-apks)

Requirements:
JellyBean
Java (please install the right one x86 (32 Bit) x64 (64 Bit) you find here: http://www.java.com/en/download/manual.jsp )
.net Framework 2.0 or higher (preinstalled in windows vista and higher)

If you have any feedback please send it to me.

For all of you, who don't have root access, don't have time or just are lazy:
Already modded apps you can find here (by JustFlesh) and here (by TheSanitarium)

In case of an error please complete the following error-formular:
  • Error-description?
  • Startet app as administrator? [ ] Yes [ ] No
  • Error log in "C:\Users\[Your Windwos Account]\Documents\multiviewapmodifier.log" written? [ ] Yes [ ] No
  • In case of yes: text of the errorlog?
  • Error on every APK or just one? [ ] every [ ] one
  • In case of one: which one?
  • In case of one: which version of the app?
  • (optional) in case of one: provide the APK
  • Which selection mode of the tool do you use?
  • At which step in the tool does the error occure?

Hope you like it
Attached Thumbnails
Click image for larger version

Name:	tool_selectfile.png
Views:	7243
Size:	25.2 KB
ID:	1490275   Click image for larger version

Name:	tool_selectfolder.jpg
Views:	6563
Size:	23.2 KB
ID:	1490276  
Attached Files
File Type: zip MultiwindowAPKModifier Beta3.zip - [Click for QR Code] (6.37 MB, 9485 views)
The Following 78 Users Say Thank You to Leppin For This Useful Post: [ Click to Expand ]
 
Joker89
Old
#2  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Feb 2011
Thank u! Like this tool!

I used it already for a few apps. One app that haven´t worked was ezPDF. If i want to start in fullscreen it crashes, but when i start in window mode it works till i resize.

Any idea?
 
cproaudio
Old
#3  
Senior Member
Thanks Meter 17
Posts: 325
Join Date: Oct 2007
I used the program but when it's finished and I clicked "yes" to goto destination folder, there's nothing there. The app I'm trying to convert is viggle version 1.0.9
 
Leppin
Old
#4  
Leppin's Avatar
Member - OP
Thanks Meter 205
Posts: 96
Join Date: Jul 2011
Location:
Quote:
Originally Posted by cproaudio View Post
I used the program but when it's finished and I clicked "yes" to goto destination folder, there's nothing there. The app I'm trying to convert is viggle version 1.0.9
Hey, do you start the application as administrator? if not that could be a problem, or select another destination path. In case of an error in the tool there should be a "multiviewapmodifier.log" in your documents folder you can open it with any text editor and send me the error text, maybe there is the information i need to tell you how you can solve this problem.

i don't have ezpdf to test it but some apps make problems with this mod, thats the reason why i wrote almost every apk

greets
The Following 2 Users Say Thank You to Leppin For This Useful Post: [ Click to Expand ]
 
RaptorMD
Old
#5  
RaptorMD's Avatar
Senior Member
Thanks Meter 212
Posts: 1,682
Join Date: May 2010
Cool mod, thanks. I just ordered a GN 10.1 today and will be pre-ordering the GN2 on Verizon next week when I am eligible for an upgrade.
 
eusor
Old
(Last edited by eusor; 17th November 2012 at 11:01 PM.)
#6  
Junior Member
Thanks Meter 12
Posts: 17
Join Date: Dec 2010
I have the same problem, here's my log :

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\kd\AppData\Local\temp\com.adobe.reader-1\AndroidManifest.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)

Somehow, it doesn't decompress properly...


Edit: In my case, java's bin folder wasn't in my PATH variable. As soon as I fixed that, everything started working.
The Following User Says Thank You to eusor For This Useful Post: [ Click to Expand ]
 
DJsCrIBbLe
Old
#7  
Senior Member
Thanks Meter 165
Posts: 1,504
Join Date: Feb 2012

 
DONATE TO ME
Do we download and run the tool then select the apk or what ..

Sent from my GT-N7000 using Tapatalk 2
 
Leppin
Old
#8  
Leppin's Avatar
Member - OP
Thanks Meter 205
Posts: 96
Join Date: Jul 2011
Location:
Quote:
Originally Posted by DJsCrIBbLe View Post
Do we download and run the tool then select the apk or what ..
yes, you have to download the tool (its a windows application), run it, select a source and destination path for the apk and then press the execute button, after that you have to reinstall the modified apk and voilà the app should be displayed in the multiscreen window =) very usefull for people who use an alternative browser like chrome or just want to launch the 2 favorite apps at the same time. But as i told you, there are some apps which doesn't can get modified like uccw (problem with the used decompile/recompile interface) if you have any problems pls first try to run it as administrator

greets
The Following 3 Users Say Thank You to Leppin For This Useful Post: [ Click to Expand ]
 
JISIK
Old
#9  
JISIK's Avatar
Senior Member
Thanks Meter 5
Posts: 103
Join Date: Sep 2012
Wow pretty god tool.
but when update apk file, for example, update in playstore or update apk package, multi window keep??

Sent from my GT-I9100 using xda premium
 
Leppin
Old
#10  
Leppin's Avatar
Member - OP
Thanks Meter 205
Posts: 96
Join Date: Jul 2011
Location:
Quote:
Originally Posted by JISIK View Post
Wow pretty god tool.
but when update apk file, for example, update in playstore or update apk package, multi window keep??
Thank you

Dont think that the multi window keep after updating the app, think the modified part of the apk will get overwriten after update, but i'm not certain.

The Following 2 Users Say Thank You to Leppin For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes