FORUMS

Which IO Announcement Are You Most Excited About?

The keynote we had all been waiting for has just ended and it’s time to enjoy … more

Google Launches Google Photos At I/O 2015 Keynote

While rumors have been floating around for a while, the Google I/O 2015 has made … more

Google Now Marches Forward with ‘Now on Tap’

When Google Now was announced three years ago, it revolutionized the mobile … more

I/O 2015: Google Announces App Link Enhancements

During the Google I/O Keynote, VP of Engineering Dave Burke announced that the Android … more
Thread Closed Subscribe to Thread Email Thread

[possible Port?] Note II's Multi Window feature ==> Devs needed for assistance!

9th October 2012, 02:59 PM |#1  
eybee1970's Avatar
OP Recognized Contributor
Thanks Meter: 13,298
 
More
ok, guys,

For the ones, who don't know what multiwindow-feature is: http://www.youtube.com/watch?v=k6c7XaDWmJg
I diffed 2 different Note 2 ROMs (1 with multiwindow, 1 without), to point out the differences responsible for making multiwindow work.
This is what I could find out:

  1. you need 'multiwindow.jar' inside /system/framework (inside attached 'multiwindow' package)
  2. you need 3 additional xmls inside /system/etc/permissions (inside attached 'multiwindow' package)
  3. you need the app 'FlashBarService.apk' and according permission xml 'com.sec.feature.flashbar.xml' (inside attached 'FlashBar' package)
  4. various changes in xmls and strings within framework-res.apk have also to be done...attached 'framework' package with 1 'without mulitwindow' and 1 'with multiwindow' of original Note 2 ROMs: http://www.mediafire.com/?p6zem8je5sakvfg
  5. and the most tricky part: you need to port smalis inside 'android.policy.jar' to make it working (original Note 2 android.policy.jar inside attached 'multiwindow' package)
    • --> there is one complete folder inside \com\android\internal\policy\impl\ called 'multiwindow' ==> you for sure have to add to your android.policy.jar
    • --> there are several code-changes to be made inside \com\android\internal\policy\impl\PhoneWindowManag er.smali (at least to define backbutton working for starting multiwindow)
    • --> maybe other changes in same folder to other smalis

I also attached the android.policy.jar from Note2-ROM without multiwindow --> it is for devs to diff and find out what to port in a more detailed way....

Unfortunately I am not good in porting smali-code, but for sure others are able to do that!

I guess, if this succeeds, there is a good chance to make it working on other Sammy-Devices, such as S3 or Note1....or the feature depends on more then just that - who knows

So someone with deeper smali / java knowledge should continue....

For the devs wanna diff themselves, here are the sources I used:
Quote:

--> this is deodexed Odin-ROM with multiwindow enabled (so you have to unyaff system.img after DL): https://hotfile.com/dl/175413315/b8e...EODEX.zip.html
--> this is custom ROM by indie without multiwindow: http://depositfiles.com/files/g3zkghhq7

Attached Files
File Type: jar android.policy.jar - [Click for QR Code] (332.2 KB, 565 views)
File Type: zip multiwindow.zip - [Click for QR Code] (369.8 KB, 892 views)
File Type: zip FlashBar.zip - [Click for QR Code] (138.2 KB, 642 views)
Last edited by eybee1970; 10th October 2012 at 02:55 PM.
The Following 86 Users Say Thank You to eybee1970 For This Useful Post: [ View ]
 
 
9th October 2012, 03:09 PM |#2  
pajaSRB's Avatar
Senior Member
Flag Beograd
Thanks Meter: 118
 
More
Rly cool feature!
9th October 2012, 03:23 PM |#3  
Member
Flag Mumbai
Thanks Meter: 17
 
More
really appreciate your effort +1
9th October 2012, 03:23 PM |#4  
zgmf-x322a's Avatar
Senior Member
Thanks Meter: 19
 
More
Nice, gonna try it!!

Sent from my Galaxy Note or from my Transformer TF300T
9th October 2012, 03:30 PM |#5  
Member
Thanks Meter: 3
 
More
Gr8!I was looking for this on my GNote
9th October 2012, 03:39 PM |#6  
eybee1970's Avatar
OP Recognized Contributor
Thanks Meter: 13,298
 
More
Quote:
Originally Posted by jonsey

Gr8!I was looking for this on my GNote

it's not done yet....just started, so we need assistance in smali coding from talented devs to get it running
The Following User Says Thank You to eybee1970 For This Useful Post: [ View ]
9th October 2012, 03:44 PM |#7  
Member
Thanks Meter: 3
 
More
The best new feature of sn2.
9th October 2012, 04:07 PM |#8  
Crash's Avatar
Senior Member
Flag Costa Rica
Thanks Meter: 8,364
 
Donate to Me
More
Hehe dam eybee i will give it a try but the one is very good on smalis is grgciols maybe he can help us

Sent from my GT-N7000 using Tapatalk 2
The Following 8 Users Say Thank You to Crash For This Useful Post: [ View ]
9th October 2012, 04:09 PM |#9  
eybee1970's Avatar
OP Recognized Contributor
Thanks Meter: 13,298
 
More
Quote:
Originally Posted by Crash 1976

Hehe dam eybee i will give it a try but the one is very good on smalis is grgciols maybe he can help us

Sent from my GT-N7000 using Tapatalk 2

and framework-res.apk also need to be worked on...will attach now to OP
The Following 4 Users Say Thank You to eybee1970 For This Useful Post: [ View ]
9th October 2012, 04:27 PM |#10  
Crash's Avatar
Senior Member
Flag Costa Rica
Thanks Meter: 8,364
 
Donate to Me
More
I send a message to Criskelo he is good on smalis too so lets wait eybee to see if he can give us a hand
The Following 9 Users Say Thank You to Crash For This Useful Post: [ View ]
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Galaxy Note GT-N7000 Android Development by ThreadRank