need help adding option press key back kill active apps - Android Software Development

hi everybody i wa t to mod my device and adding new option where active apps will killed when long press back key. anyone can guide me?
sent from my ass®

rivelta said:
hi everybody i wa t to mod my device and adding new option where active apps will killed when long press back key. anyone can guide me?
sent from my ass®
Click to expand...
Click to collapse
I have this option in the developer settings on my HTC Descire, running CyanogenMod 7.2...

how about for jb based? can you help sir?
sent from my ass®

rivelta said:
how about for jb based? can you help sir?
sent from my ass®
Click to expand...
Click to collapse
Nope, sorry, i've no experience with CM 10+.
But based on this, i guess its still included:
http://www.xda-developers.com/android/cmaokp-style-long-press-back-to-kill-on-touchwiz-roms/
http://forum.xda-developers.com/showthread.php?t=2298653

Related

[Q] What's the name of that app?

Hi all,
when I long press end key hard button on the LEO with an android rom, appears a menu with some choices, such as turn off, reboot, and so on ...
what's the name of the app that load that menu?
I think it's the launcher in use with the build, but I'm not sure ...
Can someone confirm my opinion, or can tell me the name of the app that loads that process?
Regards
qllkevuoi said:
Hi all,
when I long press end key hard button on the LEO with an android rom, appears a menu with some choices, such as turn off, reboot, and so on ...
what's the name of the app that load that menu?
I think it's the launcher in use with the build, but I'm not sure ...
Can someone confirm my opinion, or can tell me the name of the app that loads that process?
Regards
Click to expand...
Click to collapse
Restartapp.apk
Sent from my HD2 Droid [HD] using XDA App
ok, thanks for the reply but I'm sure 100% that there is no app with this name in my MIUI build
so ... other possible names?
thanks
solved!
ok, I found the answer ...
it's not an apk, but the android.policy.jar (and others?) file under the framework folder
Regards

[Q][howto] how to integrate the vanilla lockscreen

Changing this thread to HOWTO
Instructions:
1. Phone must be rooted
2. Deodexed ROM is a must
3. Download the edited android.policy.jar from http://forum.xda-developers.com/showthread.php?t=1112991 (it would be the latest update on the the thread. Check the first page.)
4. Paste the file using root explorer in system/framework.
5. Restart your phone.
*** If you would want to revert back to the old glass screen, make a backup of the android.policy.jar.
Sorry i pressed the wrong button. Can somebody write up a guide on how to integrate the vanilla lockscreen to any theme? This will greatly be appreciated.
Sent from my GT-I9003 using XDA App
Dude there is a guide by skin search the i9003 development section
When i checked the thread and downloaded the file, it was a full deodexed rom. Are there any files that i can just push?
Sent from my GT-I9003 using XDA App
TRy android policy.jar
jcbalunsat said:
Sorry i pressed the wrong button. Can somebody write up a guide on how to integrate the vanilla lockscreen to any theme? This will greatly be appreciated.
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Check my ultimate-blue-tripin theme, I have posted the theme with android.policy.jar for vanilla unlock screen.
trip007in said:
Check my ultimate-blue-tripin theme, I have posted the theme with android.policy.jar for vanilla unlock screen.
Click to expand...
Click to collapse
So if i just replace the android.policy.jar , the lockscreen will change even if i dont follow the steps from the deodexing thread?
You need to deodex your framework, otherwise you can take risk by replacing the apk and deleting the corresponding odex file and reboot and hope that it will boot. Then report here, it will help others also. Just kidding, I have not tested this on non-deodexed framework. But this is the way to do it and theoretically it should work.
Sent from my GT-I9003 using XDA Premium App
For deodexed jus replace d android.policy file, right?
trip007in said:
You need to deodex your framework, otherwise you can take risk by replacing the apk and deleting the corresponding odex file and reboot and hope that it will boot. Then report here, it will help others also. Just kidding, I have not tested this on non-deodexed framework. But this is the way to do it and theoretically it should work.
Sent from my GT-I9003 using XDA Premium App
Click to expand...
Click to collapse
Sent from my GT-I9003 using XDA App
Yeah you are right
hey guys, i had deodex my i9003 successfully and installed the vanilla lockscreen mod by trip007. but i notice that pressing the menu button on the device can accidentally unlock the screen!!! is it a problem with the lockscreen??
Not at all
Sent from my GT-I9003 using XDA Premium App
hi sakindia123, thanks for the reply!
however, my phone still has this problem. at the vanilla lockscreen, pressing the soft key "menu" (leftmost key on i9003) will bring me to the main menu screen (also means unlock my phone)
some help needed!!!
hekckos said:
hi sakindia123, thanks for the reply!
however, my phone still has this problem. at the vanilla lockscreen, pressing the soft key "menu" (leftmost key on i9003) will bring me to the main menu screen (also means unlock my phone)
some help needed!!!
Click to expand...
Click to collapse
well if u dont want it den replace original files
@ hekckos
its not a problem its a general feature only its not a bug so dont worry about that
thanks kkrraazzyy for the reply !!! much appreciated!!

[Q] Open Recent Apps whith Menu key

Hi guys... Just one question.
Is there any way to open recent apps whith the menu key, just like the GS5, in a Google Edition ROM??
Yep
Thread is in the general section
Cesare Raptor said:
Hi guys... Just one question.
Is there any way to open recent apps whith the menu key, just like the GS5, in a Google Edition ROM??
Click to expand...
Click to collapse
Yes, it has the way. But need root phone through.
KNTXTremE said:
Yes, it has the way. But need root phone through.
Click to expand...
Click to collapse
How? My S4 is rooted

2nd Screen Screenshot & Edit Disappeared

Im on T-Mobile (rooted) prior to rooting I had a second screen Icon option to drag on image screen, select, crop, or shared. Its gone and i cant for the life of me find it in settings? Can anybody please help?
Thanks.
joeygee23 said:
Im on T-Mobile (rooted) prior to rooting I had a second screen Icon option to drag on image screen, select, crop, or shared. Its gone and i cant for the life of me find it in settings? Can anybody please help?
Thanks.
Click to expand...
Click to collapse
Did you install Google assistant?
tourbound129 said:
Did you install Google assistant?
Click to expand...
Click to collapse
No i didn't..
joeygee23 said:
No i didn't..
Click to expand...
Click to collapse
Are you missing other LG apps or just Capture+?
Go to settings , second screen, click the option where it says when main off (you'll see 3 horizontal dots), then find one of the options you do not want and click the gear icon and you'll get the option for capture+
tourbound129 said:
Are you missing other LG apps or just Capture+?
Click to expand...
Click to collapse
Just capture +....weird...its gone! I loved it!..
Settings>About Phone> App Updates>Memo+........Boom!
joeygee23 said:
Just capture +....weird...its gone! I loved it!..
Click to expand...
Click to collapse
EDIt - saw it that you needed an update
joeygee23 said:
Settings>About Phone> App Updates>Memo+........Boom!
Click to expand...
Click to collapse
Thank you so much! I just did a factory reset and that option was gone... thought it was missing an android update or something.... that was easy! :good:
HELP!
Can you please be more specific I can't do the third step
Please help I want my capture button back again please! :crying:
Connie85 said:
Can you please be more specific I can't do the third step
Please help I want my capture button back again please! :crying:
Click to expand...
Click to collapse
https://www.apkmirror.com/apk/lgele...ickmemo-6-0-17-android-apk-download/download/
Install that and reboot. Should be back. Came back on mine.
Sent from my LG-H910 using Tapatalk

Rom with call recording

Hello. I would like to know if there is an available ROM that has auto call recording enabled. It's the only feature that I care about. This problem with call recording and Android 10 is very stupid. Can someone please help out?
eltarod said:
Hello. I would like to know if there is an available ROM that has auto call recording enabled. It's the only feature that I care about. This problem with call recording and Android 10 is very stupid. Can someone please help out?
Click to expand...
Click to collapse
Hi, i don´t think there is a custom Rom available yet. Best alternative is to enable call recording button using cscfeature.xml in System/product/omc/...
Code to be added:
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
vdvdvd said:
Hi, i don´t think there is a custom Rom available yet. Best alternative is to enable call recording button using cscfeature.xml in System/product/omc/...
Code to be added:
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
Click to expand...
Click to collapse
I would like an automated way if possible. It's important for my job.
Rom for (A40)
Well, soon i will release rom with this feature.
Hi,
How the code can be added to the cscfeature.xml whilst it isn't a text-plain file?
Please suggest
bartsam said:
Hi,
How the code can be added to the cscfeature.xml whilst it isn't a text-plain file?
Please suggest
Click to expand...
Click to collapse
You have to root your phone and manually add that line of code to the bottom of that section with a text editor. I used QEdit in the past
Thank you for your reply, I appreciate it.
But..there is a hesitation:
My A40 is already rooted and the file contains hashed content.
Have a look, please.
What's wrong..?
bartsam said:
Thank you for your reply, I appreciate it.
But..there is a hesitation:
My A40 is already rooted and the file contains hashed content.
Have a look, please.
What's wrong..?
Click to expand...
Click to collapse
you need to uncode it
el0xren said:
you need to uncode it
Click to expand...
Click to collapse
Damn it! How may I forgot.. :silly:
BTW - is there a difference between Android 9 and 10 in this matter? My A40 has actually Android 10.
.
you need to uncode it
Click to expand...
Click to collapse
How to do that guys??

Categories

Resources