FORUMS

New Xposed for Lollipop 5.0 Update Fixes Major Bugs

Senior Recognized Developer rovo89 has patched Xposed for Lollipop 5.0 to … more

Download Sony’s new AOSP-like concept for Xperia Z3

Over in our forums, Recognized Contributor Jozinek has posted a very … more

OnePlus 2 vs Moto X Style: Which is The Better Flagship?

Two big industry names have announced their newest flagship phones within the … more

Making Your Own Xposed Modules Is Easier Than You Think

Close to the heart of XDA is the Xposed Framework by Rovo89. Most of … more

(FIXED)Dismiss RecentsDialog/Add Back button function in OnClick method.

13,456 posts
Thanks Meter: 10,926
 
By SpaceCaker, Recognized Themer / Contributor on 27th January 2014, 12:29 PM
Thread Closed Subscribe to Thread Email Thread
27th January 2014, 07:51 PM |#21  
SpaceCaker's Avatar
OP Recognized Themer / Contributor
Flag netherlands
Thanks Meter: 10,926
 
More
i am using eclipse and on ICS+ i know how to do it as on that i simply can use Collapsecode for collapsing statusbar.wich i also tried here but didnt worked.

on GB its different a lot more different


and i compile a simply app with the custlm buttons in java

build package
export apk
and add the smali files properly to my frameworks and implement inside the layout i wanted.

this is what j also did with systemui and some other apps and such.

Sent from my S500 using xda app-developers app
 
 
28th January 2014, 04:24 AM |#22  
arpitkh96's Avatar
Senior Member
Flag panipat
Thanks Meter: 582
 
Donate to Me
More
Quote:
Originally Posted by SpaceCaker

i am using eclipse and on ICS+ i know how to do it as on that i simply can use Collapsecode for collapsing statusbar.wich i also tried here but didnt worked.

on GB its different a lot more different


and i compile a simply app with the custlm buttons in java

build package
export apk
and add the smali files properly to my frameworks and implement inside the layout i wanted.

this is what j also did with systemui and some other apps and such.

Sent from my S500 using xda app-developers app

As you know that there are system and user api's in android.user apps do not have permissions to handle recent apps.so you will have to work from source only

Sent from my GT-S5570 using XDA Premium 4 mobile app
The Following User Says Thank You to arpitkh96 For This Useful Post: [ View ]
28th January 2014, 06:45 AM |#23  
SpaceCaker's Avatar
OP Recognized Themer / Contributor
Flag netherlands
Thanks Meter: 10,926
 
More
android.user
is implemented if correct in 4.2+ only


and even when i tried to build from source it did the same thing

and all my smali go straight inside the framework

i only need to figure out how i can launch Back button keycode to simulate back key press onclick

or launch the close system dialogs intwnt or such.

i know that its possible because i saw it inside tasker but for more i havent found any documentation

Sent from my S500 using xda app-developers app
28th January 2014, 07:46 AM |#24  
arpitkh96's Avatar
Senior Member
Flag panipat
Thanks Meter: 582
 
Donate to Me
More
Quote:
Originally Posted by SpaceCaker

android.user
is implemented if correct in 4.2+ only


and even when i tried to build from source it did the same thing

and all my smali go straight inside the framework

i only need to figure out how i can launch Back button keycode to simulate back key press onclick

or launch the close system dialogs intwnt or such.

i know that its possible because i saw it inside tasker but for more i havent found any documentation

Sent from my S500 using xda app-developers app

There are some apps which do this using root or android debugging.like button savior or pie control.some devs who made this are also on xda you can ask them
how they implemented

Sent from my GT-S5570 using XDA Premium 4 mobile app
28th January 2014, 10:31 AM |#25  
SpaceCaker's Avatar
OP Recognized Themer / Contributor
Flag netherlands
Thanks Meter: 10,926
 
More
Quote:
Originally Posted by arpitkh96

There are some apps which do this using root or android debugging.like button savior or pie control.some devs who made this are also on xda you can ask them
how they implemented

Sent from my GT-S5570 using XDA Premium 4 mobile app


i have tried to figure out / contact those
28th January 2014, 12:43 PM |#26  
SpaceCaker's Avatar
OP Recognized Themer / Contributor
Flag netherlands
Thanks Meter: 10,926
 
More
Guys my problem is solved now thanks everyone :3

https://github.com/spacecaker/Recent...d045e273b3b85b adding these two try codes managed to make the code work :3
29th January 2014, 12:06 PM |#27  
EatHeat's Avatar
Recognized Developer
Flag Calcutta
Thanks Meter: 1,460
 
More
Quote:
Originally Posted by SpaceCaker

Guys my problem is solved now thanks everyone :3

https://github.com/spacecaker/Recent...d045e273b3b85b adding these two try codes managed to make the code work :3

Like I said. You need to send a broadcast with the intent I posted earlier.
29th January 2014, 01:33 PM |#28  
SpaceCaker's Avatar
OP Recognized Themer / Contributor
Flag netherlands
Thanks Meter: 10,926
 
More
Quote:
Originally Posted by EatHeat

Like I said. You need to send a broadcast with the intent I posted earlier.

that intent launches but not closed the dialog .

samsung dialog used bit different intent so sended broadcast to that

Sent from my S500 using xda app-developers app
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes