FORUMS

XDA Recap: This Week In Android (Apr 18 – 25)

Here in the digital XDA newsroom, we spend our days pouring over an average of … more

Sunday Debate: Custom ROMs vs. Modular Tweaks

Join us in a fun Sunday Debate on Mods and ROMs. Come with your opinions and feel free to … more

AOSP 5.1 Lollipop for Nexus Q

Google Nexus Q is an intriguing device released with Android 4.0 Ice Cream Sandwich. It was abandoned by … more

XDA Picks: Best Apps of the Week (Apr 17 – 24)

Apps are at the front and center of any smartphone experience, and with over a … more
Post Reply Subscribe to Thread Email Thread

[MOD] Multiwindow Apps

11th November 2012, 12:52 PM |#1  
OP Junior Member
Thanks Meter: 72
 
More
I've been able to mod some apps to work in multiwindow mode.

How to install:
  1. Backup your data from the app using titanium backup
  2. Uninstall the app
  3. Install the modded app
  4. Restore your app data using titanium backup

Please Note:
I'm not a dev, I only added some lines to androidmanifest.xml
These apps may not be optimized for multiscreen mode, I've just enabled it.
This is just a temporarily solution.
This only works on Jelly Bean Roms.
You can't update modifed Apps with Playstore.

Modded apps:

As I can't update this post, everytime someone post a new modifed app, use this link to have an overview of all attached apps of this thread. Unfortunately, direct links to filehosters are not included
Or look at this thread created by TheSanitarium


Apps that didn't work:
  • Chrome (Error while recompiling with apk-multi-tools, even without changes, maybe someone else can edit this one)
  • Maps (same as above)
  • Play (same as above)
  • Youtube (same as above)

How to modify Apps by yourself:
  1. Decompile the app with apk-multi-tools
  2. Open Androidmanifest.xml with Editor, Notepad++ or something else
  3. Search for this
    Code:
    <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
  4. Add this line
    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>
  5. Search for this line

    Code:
    </application>
  6. Add these lines so that it looks like this

    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>
  7. Recompile app
Last edited by JustFlesh; 11th December 2012 at 11:45 PM. Reason: added some new apps from other users
The Following 52 Users Say Thank You to JustFlesh For This Useful Post: [ View ]
 
 
11th November 2012, 12:59 PM |#2  
weihan1102's Avatar
Senior Member
Thanks Meter: 97
 
More
can you teach us how to do this?
11th November 2012, 01:08 PM |#3  
Junior Member
Thanks Meter: 12
 
More
This is cool to get multiwindow apps working. One problem is when you decompile the APK and compile it back up, you will be signing APK with a different key than developers. This means you cannot update from Play Store because the keys will not match. You will have to remove modded APK, install update, then mod updated APK. If you are ok with having older version of APK then there isnt an issue.
The Following User Says Thank You to cheznutts For This Useful Post: [ View ]
11th November 2012, 01:31 PM |#4  
weihan1102's Avatar
Senior Member
Thanks Meter: 97
 
More
why i get error while decompile some apk ? facebook apk is error too
11th November 2012, 01:51 PM |#5  
joseamc91's Avatar
Senior Member
Flag Ciudad Real, Castilla-La Mancha
Thanks Meter: 43
 
More
I've try this mod in ICS 4.0.4 and didnīt work.
Waiting for Jelly Bean... xD
11th November 2012, 02:16 PM |#6  
Senior Member
Thanks Meter: 341
 
More
Quote:
Originally Posted by cheznutts

This is cool to get multiwindow apps working. One problem is when you decompile the APK and compile it back up, you will be signing APK with a different key than developers. This means you cannot update from Play Store because the keys will not match. You will have to remove modded APK, install update, then mod updated APK. If you are ok with having older version of APK then there isnt an issue.

Will there still be an update notifier in the playstore, or do we lose that, aswell as the ability to update?
11th November 2012, 04:15 PM |#7  
Member
Thanks Meter: 6
 
More
Can someone reload the modified facebook apk to another site, maybe Gdrive or dropbox?
11th November 2012, 04:26 PM |#8  
OP Junior Member
Thanks Meter: 72
 
More
Quote:
Originally Posted by techkia

Can someone reload the modified facebook apk to another site, maybe Gdrive or dropbox?

Facebook is now uploaded as an attachment, too. Just use Winrar or 7zip to unpack.
11th November 2012, 04:52 PM |#9  
Junior Member
Thanks Meter: 1
 
More
It's good to see at least some of the apps can be modded to support multi window. This is a big step of note 10.1. I have successfully modded IMO.

Is there a way I could change the default size of the pop up window? I have tried to change the four numbers for portrait apps but still the pop up is in landscape. Not convenient enough to adjust it every time.

Sent from my GT-N8000 using xda app-developers app
11th November 2012, 04:56 PM |#10  
Member
Thanks Meter: 6
 
More
The modded facebook apk had been tested working on dr Akrim jb rom.
Last edited by techkia; 11th November 2012 at 05:08 PM.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes