Post Reply

3Minit Quicklaunch Panel

OP gharrington

View First Unread
16th February 2014, 08:46 AM   |  #1  
OP Senior Member
Brisbane
Thanks Meter: 11,411
 
2,525 posts
Join Date:Joined: Apr 2012
Donate to Me
More


The quicklauncher panel:
It is simply a scrollable panel of app shortcuts that you instantly launch from your drop down panel. You can launch apps from inside other app without the need to exit to home screen first. You can also edit and order the shortcuts to suit your needs.

The idea:
When I started writing this mod I wanted to make it as easy to implement as possible which means no smali changes. I also wanted to make it universal for most android devices so thats what you get.

Implementation Guide:
This guide assumes you can already decompile and recompile an .apk correctly. If you cannot do this please don`t ask me how there are already lots of guides on how to do this here at XDA.

prerequisites:
  • A deodexed SystemUI.apk with a api level of 16 or higher
  • Knowledge of decompiling and recompiling the .apk.
  • These files: Download. MD5:bc0afe23017cb58420c0422dac1f0836
  1. Decompile the SystemUI.apk and navigate to smali/com/android/systemui/statusbar/policy
  2. Copy the quicklaunch folder from the downloaded files and paste it into the above location
  3. Navigate to res/layout and open status_bar_expanded.xml look for this line:
    Code:
    <LinearLayout android:orientation="vertical" android:id="@id/scrollCart" android:layout_width="fill_parent" android:layout_height="wrap_content">
    (Note this is based on TW stock files you may have to mess with the location in your file to find correct placemant)
  4. Directly below that line add:
    Code:
    <HorizontalScrollView android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="wrap_content">
                <com.android.systemui.statusbar.policy.quicklaunch.QuickLaunchContainer android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" />
    </HorizontalScrollView>
  5. Recompile and push to your device its done:)

Sharing policy:
You are free to bake this into your roms provided:
  • Proper credit and a link is given not just a mention in a random thread that will be lost in hours.
  • You use the mod as a whole and not take peices of my code and use elsewhere.
  • You leave the copyright information as it is.
  • You dont add you own settings to control the panel eliminating the need for donate app.

How to use:
To add a shortcut simply scroll all the way to the right and press the + symbol this will bring up a list of currently installed app to choose from click one to apply.

To change or remove a shortcut long press the icon and a menu will appear select the desired option by clicking it.

You can also get further functionality by getting the quicklauncher app from the Playstore for just $1. In this you can set colors, visibility of the panel and text etc and more. This will support the development thanks.

Thanks:
Thanks to @pas2001 for the app icon and all graphics work he does for 3Minit.

XDA:DevDB Information
3Minit Quicklaunch Panel, a Tool/Utility for the Android General

Contributors
gharrington,

Version Information
Status: Stable
Current Stable Version: 1.1
Stable Release Date: 2014-02-16

Created 2014-02-16
Last Updated 2014-02-20
Last edited by gharrington; 8th November 2014 at 03:56 AM.
The Following 103 Users Say Thank You to gharrington For This Useful Post: [ View ]
16th February 2014, 08:46 AM   |  #2  
OP Senior Member
Brisbane
Thanks Meter: 11,411
 
2,525 posts
Join Date:Joined: Apr 2012
Donate to Me
More
Reserved
The Following 13 Users Say Thank You to gharrington For This Useful Post: [ View ]
16th February 2014, 08:46 AM   |  #3  
OP Senior Member
Brisbane
Thanks Meter: 11,411
 
2,525 posts
Join Date:Joined: Apr 2012
Donate to Me
More
Reserved
The Following 9 Users Say Thank You to gharrington For This Useful Post: [ View ]
16th February 2014, 01:44 PM   |  #4  
Senior Member
Thanks Meter: 14,839
 
2,502 posts
Join Date:Joined: Jul 2010
Donate to Me
awesome job like always brotha
The Following 2 Users Say Thank You to sac23 For This Useful Post: [ View ]
19th February 2014, 09:13 AM   |  #5  
Recognized Contributor / Themer
Erie
Thanks Meter: 3,369
 
2,359 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Easy as pie. Thanks for the tutorial.



Sent from my Galaxy Note II
The Following User Says Thank You to icedventimocha For This Useful Post: [ View ]
19th February 2014, 09:19 AM   |  #6  
Senior Member
gurgaon
Thanks Meter: 485
 
824 posts
Join Date:Joined: May 2011
Donate to Me
More
i am using temasek latest cm11. will; this work on that ROM? also i am not able to find systemui.apk in that ROM
19th February 2014, 09:23 AM   |  #7  
Recognized Themer / Contributor
netherlands
Thanks Meter: 10,846
 
13,406 posts
Join Date:Joined: Mar 2011
More
Awesome guide but.

Can you post a version for GB or a java source code so we can port it to GB api 10 ?

Thank you
The Following 3 Users Say Thank You to SpaceCaker For This Useful Post: [ View ]
19th February 2014, 09:56 AM   |  #8  
Senior Member
Nabeul
Thanks Meter: 56
 
209 posts
Join Date:Joined: Apr 2011
Can you please modify my systemUI because my laptop is broken I don't have where to modify it
https://db.tt/GGGLeopz
Thank you alot

Sent from my GT-I9100 using Tapatalk
19th February 2014, 10:30 AM   |  #9  
Senior Member
Cape Town
Thanks Meter: 338
 
491 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Hey Man Nice Guide

but I keep getting this error using

Android Multitool

Quote:

..\Decompiled_apk\LGSystemUI\smali\com\android\sys temui\statusbar\policy\quicklaunch\QuickLaunchButt on.smali[37,4] Error for input '.parameter': Invalid directive
..\Decompiled_apk\LGSystemUI\smali\com\android\sys temui\statusbar\policy\quicklaunch\QuickLaunchButt on.smali[38,4] Error for input '.parameter': Invalid directive
..\Decompiled_apk\LGSystemUI\smali\com\android\sys temui\statusbar\policy\quicklaunch\QuickLaunchButt on.smali[37,15] mismatched input '"context"' expecting END_METHOD_DIRECTIVE
..\Decompiled_apk\LGSystemUI\smali\com\android\sys temui\statusbar\policy\quicklaunch\QuickLaunchButt on.smali[216,4] Error for input '.parameter': Invalid directive
..\Decompiled_apk\LGSystemUI\smali\com\android\sys temui\statusbar\policy\quicklaunch\QuickLaunchButt on.smali[216,15] mismatched input '"arg0"' expecting END_METHOD_DIRECTIVE
..\Decompiled_apk\LGSystemUI\smali\com\android\sys temui\statusbar\policy\quicklaunch\QuickLaunchButt on.smali[333,4] Error for input '.parameter': Invalid directive
..\Decompiled_apk\LGSystemUI\smali\com\android\sys temui\statusbar\policy\quicklaunch\QuickLaunchButt on.smali[333,15] mismatched input '"arg0"' expecting END_METHOD_DIRECTIVE
..\Decompiled_apk\LGSystemUI\smali\com\android\sys temui\statusbar\policy\quicklaunch\QuickLaunchButt on.smali[353,4] Error for input '.parameter': Invalid directive
..\Decompiled_apk\LGSystemUI\smali\com\android\sys temui\statusbar\policy\quicklaunch\QuickLaunchButt on.smali[353,15] mismatched input '"ic"' expecting END_METHOD_DIRECTIVE
..\Decompiled_apk\LGSystemUI\smali\com\android\sys temui\statusbar\policy\quicklaunch\QuickLaunchButt on.smali[365,4] Error for input '.parameter': Invalid directive
..\Decompiled_apk\LGSystemUI\smali\com\android\sys temui\statusbar\policy\quicklaunch\QuickLaunchButt on.smali[365,15] mismatched input '"color"' expecting END_METHOD_DIRECTIVE
..\Decompiled_apk\LGSystemUI\smali\com\android\sys temui\statusbar\policy\quicklaunch\QuickLaunchButt on.smali[379,4] Error for input '.parameter': Invalid directive
..\Decompiled_apk\LGSystemUI\smali\com\android\sys temui\statusbar\policy\quicklaunch\QuickLaunchButt on.smali[379,15] mismatched input '"vis"' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/systemui/statusbar/policy/quicklaunch/QuickLaunchButton.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuil der.java:72)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder. java:56)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder. java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib. java:337)
at brut.androlib.Androlib.buildSources(Androlib.java: 298)
at brut.androlib.Androlib.build(Androlib.java:284)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
The system cannot find the file specified.
The system cannot find the file specified.

I double checked and I think its in the right place

Quote:

LGSystemUI\smali\com\android\systemui\statusbar\po licy\quicklaunch\QuickLaunchButton.smali

My device is a LG L5 II(e450)
19th February 2014, 03:45 PM   |  #10  
Senior Member
Beijing
Thanks Meter: 7,074
 
2,620 posts
Join Date:Joined: Aug 2012
Donate to Me
More
Nice mod, thanks for sharing.
Attached Thumbnails
Click image for larger version

Name:	2014-02-19-22-36-23.png
Views:	2848
Size:	247.5 KB
ID:	2588627  

Post Reply Subscribe to Thread
Previous Thread Next Thread