FORUMS

Hands-on With T-Mo LG G4 and Q&A

XDA Senior Member WinDroidGuy posted a hands-on video of the T-Mobile LG G4, and he is now … more

Quick Notes – Notification Panel Reminders

This app by XDA Senior Member yogi.306 is a quick and productive tool that … more

Who Is Your Favorite YouTuber That Covers Mobile?

There are dozens of talented YouTubers who cover mobile, but we want to know which … more

Galaxy S6 Shipping with Different Camera Models

One of the Galaxy S6’s most flaunted features is its spectacular camera, its 16MP … more
Thread Closed Subscribe to Thread Email Thread

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

27th January 2014, 07:51 PM |#21  
SpaceCaker's Avatar
OP Recognized Themer / Contributor
Flag netherlands
Thanks Meter: 10,899
 
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: 573
 
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,899
 
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: 573
 
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,899
 
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,899
 
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,454
 
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,899
 
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