Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,865 Members 44,827 Now Online
XDA Developers Android and Mobile Development Forum
View Poll Results: How helpful is this post?
Very helpful and detailed guide 11 100.00%
Not at all...who cares 0 0%
Voters: 11. You may not vote on this poll

[No Root Needed] Customise Your Own Apps to Work With MultiView on Android 4.1.2

Tip us?
 
l3ong91
Old
(Last edited by l3ong91; 31st January 2013 at 05:31 AM.)
#1  
l3ong91's Avatar
Senior Member - OP
Thanks Meter 258
Posts: 497
Join Date: May 2010
Location: Singapore
Prompt [No Root Needed] Customise Your Own Apps to Work With MultiView on Android 4.1.2

Hi, it has been a while since I am active on XDA forum. This following method may have work for other S3/ Note variants since awhile back. But since the Android 4.1.2 has just released ( At least in my region) for Samsung Galaxy S3 LTE I9305, I have tested this and I can prove that it's working on this phone as well.

In case you don't know what is MultiView (Only available on Android 4.1.2 Updates),



Following is a relatively noob-proof tutorial to show you how you can mod almost any apps to work with multi-window without rooting your precious phone.

WHAT YOU NEED
- SAMSUNG Galaxy S3 LTE I9305 running Android 4.1.2
- Windows PC
- Latest Java JRE ( Download here )
- Latest Java SDK ( Download here )
- Apk Multi Tool ( Download here )
- General keyboard typing skills

INSTRUCTIONS

SETTING UP THE APK MULTI-TOOL
1. Make sure you update your Java JRE and JDK first before we proceed with the rest of the steps below.
2. [OPTIONAL] You can get the apk file for your desired apps via third party market or you can backup all existing apps on your mobile using App Backup & Restore and it will automatically convert all apps to .apk format.
3. Create a new folder on your desktop, named it as " Apk" or whatever file name you like, and transfer the apks from your phone to that folder.
4. Create another new folder, named it as "apk manager".
5. Unzip APK Multi Tool into the root of "apk manager" folder.
6. For the first time only, go into apk manager> APK-Multi-Tool> Run setup.bat
7. Once it's running, type "3" and let it create the sub-directories and folders for you, then just press ANY key to continue.
8. When it's back to the main screen, type"00" to quit the cmd.exe screen.

DECOMPILE THE APK
1. Copy the apk that you would like to decompile from the "apk" folder you created earlier on desktop.
2. Paste it inside apk manager>APK-Multi-Tool>place-apk-here-for-modding folder
3. Next, run the script.bat.
4. Press any key to continue, follow by a screen full of different running numbers and description.
5. Type "9" and hit Enter to decompile the apk you placed at "place-apk-here-for-modding" folder.
6. Be patient, wait for the "test..." to finish and you will see the "test..." disappear and goes back to "Please make your decision..."
7. Minimize the cmd.exe for now, and go back to the "APK-Multi-Tool" folder. DO NOT EXIT THE SCRIPT.BAT
8. Go to "projects" and you will see the decompiled apk there.
9. That means you have successfully decompiled the apk. You should be able to see folders like "res", "smali" and files like " AndroidManifest.xml" and "apktool.yml".
10. For this tutorial we only need to edit the "AndroidManifest.xml". DO NOT TOUCH THE REST UNLESS YOU KNOW WHAT YOU ARE DOING.

EDITING THE ANDROIDMANIFEST.XML
1. Open the AndroidManifest.xml with Notepad and find the following text.
Code:
<intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
2. Add one more line to it so that it become
Code:
<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>
3. Next, find the following lines near the bottom of the file.
Code:
</application>
4. Similarly, copy and paste the following codes before the line so that it appears as:
Code:
<uses-library required="false" name="com.sec.android.app.multiwindow" />
        <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" />
</application>
5.Save and overwrite the existing file. Exit notepad.

COMPILE THE APK
1. Go back to script.bat on cmd.exe.
2. Type "12" for Non-system apk.
3. Wait for the compiling process until it prompts you for the input again.
4. Choose "1" as unsigned Apk and keep the original file. Wait for it to complete until a prompt appears to ask you to delete the file in the "keep" folder". DO NOT EXIT THE SCRIPT.BAT YET, MINIMIZE IT
5. Go to apk manager> APK-Multi-Tool>"keep" folder.
6. Remove AndroidManifest.xml and resources.arsc files.
7. Go back to script.bat on cmd.exe and hit Enter to let it re-compile again the apk.
8. When it's done it will revert back to the main screen of cmd.exe, type "13" to sign the apk.
9. Copy or push the apk file back to your phone to install.

IMPORTANT NOTICE
- Remember to uninstall the existing apps first before you reinstall the new signed copy of the apk.
- By doing this, your apps will not be detected by Google Play for updates and if you want the latest version, you will have to reinstall the new version and recompile the apk again in order to use this in the MultiView window.
- Although it is highly impossible, I take no responsibility in damaging/ bricking your phone should there be any problems happen to your phone.


EXTERNAL REFERENCES
In case there are any difficulties, you may look for the following guides:
Tech Freeks
XDA Forum> Verizon Galaxy Note II
Android Central Verizon Note II

Let me know if it works for you.
To show appreciation and thanks note, just rate my thanks meter will be much appreciated.
PM me only if you have further inquiries, but please don't request for my personal email account.
**(For threads started by me) Please don't ask duplicated question, I will not answer your question. Make an effort to look through earlier posts first before posting.




Current device:
GT-i9305 (Samsung S3 LTE)
Running Stock Android Jelly Bean 4.1.2 on I9305XXBLL5
The Following 7 Users Say Thank You to l3ong91 For This Useful Post: [ Click to Expand ]
 
bleepsake
Old
#2  
bleepsake's Avatar
Senior Member
Thanks Meter 17
Posts: 118
Join Date: Oct 2012
Location: London

 
DONATE TO ME
Default Re: [No Root Needed] Customise Your Own Apps to Work With MultiView on Android 4.1.2

oooh cool gonna test soon.

Sent from my GT-I9305 using Tapatalk 2
Android Newbie. iOS Refugee.

Samsung Galaxy S3 I9305 4.2.2
Rom- CM10.1 - 20130305 - Unofficial 4.2.2
Kernel - 3.0.31 -CM-gcea4b18 codeworkx@cyanogenmod #1
Build - based on JZO54K.I9305XXBLL5
SD Card - Sandisk 64GB Class 10
Recovery - CWM v5.5.0.4
Battery - Anker 4400Mah "The Hulk Battery"


Testing - Cyanogenmod 10.1 for i9305

Click here for my YouTube Channel
 
l3ong91
Old
#3  
l3ong91's Avatar
Senior Member - OP
Thanks Meter 258
Posts: 497
Join Date: May 2010
Location: Singapore
Quote:
Originally Posted by bleepsake View Post
oooh cool gonna test soon.

Sent from my GT-I9305 using Tapatalk 2
Hope to hear from you soon. However not all S3 i9305 are eligible for this method since some countries have not receive this 4.1.2 firmware update yet.

Cheers.
To show appreciation and thanks note, just rate my thanks meter will be much appreciated.
PM me only if you have further inquiries, but please don't request for my personal email account.
**(For threads started by me) Please don't ask duplicated question, I will not answer your question. Make an effort to look through earlier posts first before posting.




Current device:
GT-i9305 (Samsung S3 LTE)
Running Stock Android Jelly Bean 4.1.2 on I9305XXBLL5
 
crypt@
Old
#4  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Nov 2007
Default Works on XXBMA5

Followed OP instructions to the letter and I was able to start a modifed app and ran a 2nd multiview app.

Only thing is it looks like the modified app isn't recognised as an app that supports multi window mode, therefore can't be added to the multiview tray.

I suspect, for the moment at least, that means apps that are modified this way would not be able to run along side each other.
 
kanzi83
Old
(Last edited by kanzi83; 22nd February 2013 at 12:28 PM.)
#5  
kanzi83's Avatar
Senior Member
Thanks Meter 33
Posts: 110
Join Date: Dec 2012
Location: Var
Works well for 8 of 10 apps I tried. 2 Others go on full screen when use it

Thanks for this job.. I used your thread to make one in french

TUTO - GT-I9305 - (non Root) Intégrer n'importe quelle appli dans MultiView

Note: your - Latest Java SDK ( Download here ) link is dead




PDA: I9305XXBLL5
MODEM: I9305XXBLL5
CSC: I9305DBTBLL4


 
l3ong91
Old
#6  
l3ong91's Avatar
Senior Member - OP
Thanks Meter 258
Posts: 497
Join Date: May 2010
Location: Singapore
Default Re: [No Root Needed] Customise Your Own Apps to Work With MultiView on Android 4.1.2

Not necessarily all apps cannot run alongside each other. Some apps are tested to be working though.

Well, if it ain't working for the split multi view, at least it is located beside the screen within a swipe. Hehe.

Sent from my GT-I9305
To show appreciation and thanks note, just rate my thanks meter will be much appreciated.
PM me only if you have further inquiries, but please don't request for my personal email account.
**(For threads started by me) Please don't ask duplicated question, I will not answer your question. Make an effort to look through earlier posts first before posting.




Current device:
GT-i9305 (Samsung S3 LTE)
Running Stock Android Jelly Bean 4.1.2 on I9305XXBLL5
 
l3ong91
Old
#7  
l3ong91's Avatar
Senior Member - OP
Thanks Meter 258
Posts: 497
Join Date: May 2010
Location: Singapore
Default Re: [No Root Needed] Customise Your Own Apps to Work With MultiView on Android 4.1.2

Sure no problem for me with the repost. Just hope to notify the i9305 users out there. Thanks for the effort.

Cheers.

Sent from my GT-I9305
To show appreciation and thanks note, just rate my thanks meter will be much appreciated.
PM me only if you have further inquiries, but please don't request for my personal email account.
**(For threads started by me) Please don't ask duplicated question, I will not answer your question. Make an effort to look through earlier posts first before posting.




Current device:
GT-i9305 (Samsung S3 LTE)
Running Stock Android Jelly Bean 4.1.2 on I9305XXBLL5
 
DataWave47
Old
#8  
DataWave47's Avatar
Junior Member
Thanks Meter 1
Posts: 14
Join Date: Dec 2012
Will this method work for Note 2 running 4.1.2 non rooted?
Current: Samsung Galaxy Note 2 SCH-I605 (Titanium)
ROM: AllianceROM Build 23
Case: Otterbox Defender Modified for Mugen Extended Battery
Screen Protector: Spigen Ultra Crystal
 
l3ong91
Old
#9  
l3ong91's Avatar
Senior Member - OP
Thanks Meter 258
Posts: 497
Join Date: May 2010
Location: Singapore
Default Re: [No Root Needed] Customise Your Own Apps to Work With MultiView on Android 4.1.2

I can't promise you either, but theoretically it should work. You can try it out.

Sent from my GT-I9305
To show appreciation and thanks note, just rate my thanks meter will be much appreciated.
PM me only if you have further inquiries, but please don't request for my personal email account.
**(For threads started by me) Please don't ask duplicated question, I will not answer your question. Make an effort to look through earlier posts first before posting.




Current device:
GT-i9305 (Samsung S3 LTE)
Running Stock Android Jelly Bean 4.1.2 on I9305XXBLL5
 
DataWave47
Old
#10  
DataWave47's Avatar
Junior Member
Thanks Meter 1
Posts: 14
Join Date: Dec 2012
Quote:
Originally Posted by l3ong91 View Post
I can't promise you either, but theoretically it should work. You can try it out.

Sent from my GT-I9305
Thanks. I just tried it out and it did work out for the non-system apps. I am going to have to just buckle down and root this thing already. I haven't really felt the need until now but it would be nice to do the Google now fix as well. This is such an easy fix you would think the app developers would take care of this for us.

Thanks for the instructions!
Current: Samsung Galaxy Note 2 SCH-I605 (Titanium)
ROM: AllianceROM Build 23
Case: Otterbox Defender Modified for Mugen Extended Battery
Screen Protector: Spigen Ultra Crystal

Tags
i9305, multiview, no root required, s3 lte
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes