• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[MOD-PORT] The Hybrid-UI -- Lidroid + 4.2 {MMX JB & Based ROM}

Status
Not open for further replies.
Search This thread
A

akashvfx

Guest
@khan_frd2002 bro i done the steps in 2nd post where he said recompile the systemui and decompile newly systemui, under this i donot know what he said to do please done all the steps remaining , link of system ui that i recompiled http://db.tt/ty1xlSAD
See pic where i dont know what to do
7yty9e3e.jpg


Sent from my Micromax A110 using Tapatalk 4
 

khan_frd2002

Senior Member
Nov 9, 2011
1,884
4,524
Aurangabad
@khan_frd2002 bro i done the steps in 2nd post where he said recompile the systemui and decompile newly systemui, under this i donot know what he said to do please done all the steps remaining , link of system ui that i recompiled http://db.tt/ty1xlSAD
See pic where i dont know what to do
7yty9e3e.jpg


Sent from my Micromax A110 using Tapatalk 4
bro that steps require too much time...cant do it for your
sorry again
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Add this code just below # virtual method.

    Code:
    [B][COLOR="black"].method public [COLOR="red"]DataButton[/COLOR](Landroid/view/View;)V
        .locals 3
        .parameter "v"
    
        .prologue
        .line 2431
        new-instance v0, Landroid/content/Intent;
    
        invoke-direct {v0}, Landroid/content/Intent;->()V
    
        .line 2432
        const-string v1, "[COLOR="Red"]com.android.settings[/COLOR]"
    
        const-string v2, "[COLOR="red"]com.android.settings.*activity of data toggle*[/COLOR]"
    
        invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
    
        const/high16 v2, 0x1000
    
        invoke-virtual {v0, v2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;
    
        move-result-object v0
    
        .line 2433
        invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
    
        const-string v1, "statusbar"
    
        invoke-virtual {p0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
    
        move-result-object v0
    
        check-cast v0, Landroid/app/StatusBarManager;
    
        [COLOR="red"]invoke-virtual {v0}, Landroid/app/StatusBarManager;->collapse()V[/COLOR]
    
        .line 1720
        return-void
    .end method[/COLOR][/B]

    Now add the following in quick settings_space.

    Code:
    <FrameLayout android:id="@id/settings_button" android:background="@drawable/data_img" android:layout_width="120.0px" android:layout_height="100.0px" android:layout_weight="1.0" android:onClick="DataButton

    Remember in const-string v2, change *activity name* to the activity that launched data toggle
    Hope this help. !

    Sent from my Micromax A110 using XDA Premium HD app
    1
    bro to get lidroid toggles in quick panel follow my guide here ;)
    1
    It's Really cool man but will you do one thing for me.
    Please....
    Go to res/values/integers.xml and please change this line and make it like mine and do send me the results screenshots.

    Code:
        <integer name="quickpanel_scroll_threshold_port">4</integer>
        <integer name="quickpanel_scroll_threshold_land">5</integer>
    Will you please do this for me....????:victory::victory::victory:

    this lines are not needed... its for adi guide... thats why i skiped it... if you following that guide then these values will change no of toggles in single view... :eek:
    1
    Buddy... this is so fu***** awesome !!!! Congrats again..... :good:
    1
    Please port this for 4.1.2 buddy a humble last request to you.

    Sent from my GT-P1000 using xda premium