[Solved] Screenshot Button Help - Android Q&A, Help & Troubleshooting

I have an Apex AP-GS918 (Nobis NB09) tablet with rooted stock Jellybean Rom. There is an annoying screenshot button on the bottom bar next to the volume button that I keep pressing accidentally because it is in a bad spot. I wish to disable it or remove it completely. I have searched the forums but all the answers seem to be for Samsung devices. They say to change the quick launch in the settings which I do not have. And they say to remove or disable the system app that controls it, they have different names for the app like screenshotcapture.apk and such, but there is no system app with that or similar name.
If anyone knows a way to be rid of this annoyance, any help would be greatly appreciated.
Thanks in advance.
UPDATE EDIT...
UltraWelfare said:
This feature is included in SystemUI.apk (I think - on some phones) and if you delete it you will have no UI.So don't do it.
Find an app on google play that disables it(I don't know how you will search it :silly
Click to expand...
Click to collapse
I was unable to find an app to disable, and you were correct that it was part of SystemUI.apk. But I found out how to remove it from the bar. I am unable to post where I found the method because I am not allowed to post outside links yet, So I kind of wrote a tutorial (if you can call it that).
I decompiled my SystemUI.apk using Android Multitool on my PC. I edited \res\layout\system_bar.xml.
The info about the buttons are there. I found the line labeled
Code:
@id/screenshot
and changed the following code after it
Code:
android:layout_width="@dimen/navigation_menu_key_width"
to
Code:
android:layout_width="0.0dip"
which makes the screenshot button 0 pixels wide, meaning not there anymore.
Then I recompiled it, opened the new apk using 7zip and copied the edited xml from it to the original apk to prevent signature failure (after making another backup of it of course), used ADB to push it, permission it, and reboot it. After that I was free of that %$#@ button. I now have to use a third party screenshot app from the play store, but it doesn't have a constant button that leaves me with 50 accidental screenshots a day.
It also works to remove the volume buttons, which are pointless when you have the hardware buttons. Those lines are labeled
Code:
@id/sub
@id/add
(on my device anyway). It does NOT work for the 3 dot menu button, but that one isn't so bad to have there.
Take that you cheap Chinese tablet.

Bump

lovestospooge said:
Bump
Click to expand...
Click to collapse
This feature is included in SystemUI.apk (I think - on some phones) and if you delete it you will have no UI.So don't do it.
Find an app on google play that disables it(I don't know how you will search it :silly

UltraWelfare said:
This feature is included in SystemUI.apk (I think - on some phones) and if you delete it you will have no UI.So don't do it.
Find an app on google play that disables it(I don't know how you will search it :silly
Click to expand...
Click to collapse
I got it to go away. The method is in the original post. Thanks for the info that got me going in the right direction.

Related

Possible to remove picture icon from "contacts"?

Probably more of a general Android question, but thought I'd give it a go here. On way to work shortly, so apologies for my lack of proper search.
Once upon a time on my SGS, someone showed me where these icons are located - I'm sure I'll find them again, but I guess I'll have to do some kind of text realignment, which is probably out of my depth.
I just want my contacts to show as a list - no icons, no photos.
Stock KE2, rooted via CWM, have Root Explorer.
Many thanks to anyone who can point me in the right direction - will do further research when I get to work.
Hello!
Yes I have same question!
I Dont use photos for Contacts - So it use Empty Icons and neccesary space so....
Please Help to remove Contacts Photo Icons from Logs and Contacts PLEASE!
XWKK5
SGS 2
wrong forum
Right forum!
Please Help!
Might not be what you want but you could replace the image with a blank one in the framework or twframework file.
Sent from my GT-I9100 using XDA App
No. Pictures(res\drawable-hdpi-finger\contacts_default_image_small_01 - 05.png) are in Contact.apk file. When I remove'em from it - empty spaces remain there - so it's not expand Contacts lines to that space... So we need to encrease table row size...
Well, the contacts db is located here:
/data/data/com.android.providers.contacts/databases/contacts2.db
I don't know how you plan to decipher this file. It's neither xml nor plist (like iphone).
Sent from my GT-I9100 using Tapatalk
I just checked go contacts ex and it can do what you want via a setting. Works very well.
Sent from my GT-I9100 using XDA App
dikai_yang said:
Well, the contacts db is located here:
/data/data/com.android.providers.contacts/databases/contacts2.db
I don't know how you plan to decipher this file. It's neither xml nor plist (like iphone).
Click to expand...
Click to collapse
The contacts2.db is a sqlite database file. You'll need the sqlite3 executable to view it's contents (eg. sqlite3 contacts2.db).
Don't think it'll do what the OP wants as it contains contact details and not the layout of the contact list. Think you'll need to decompile the apk and edit one of the drawable/*.xml files.
Haven't really looked at this but a guess would be it's one of the .XMLs in res/laout in the Contact.apk where you can edit out the imageview for the photo.
Yep, looks like it's in res/layout/favorite_contact_list_item.xml
Someone's reading my mind - I was thinking of bumping this thread last night... spooky!
As suspected, I'm out of my depth here - but thanks for the replies everyone, I may try to get back into my depth over the weekend. It's one of those not-really-a-big-deal-but-it-still-bugs me things.
Just switched from adw to Go launcher. Not a fan of 3rd party apps for contacts/SMS, but I'll give it a look.
Thanks again to all.
I tried GO launcher. Wasn't a fan of it. Anyway on ICS these picture icons are even more of a pain! Why do you need a picture of yourself next to every text you send in the thread!?!? And why do you need a picture of the person you are texting next to their text. Have a picture of the person on the list of threads fine.... but not in the thread itself thats stupid and takes up to much screen space.
Who wrote that into ICS? Not an improvement!
Has anymore found a way to change it in ICS?

[Q] Getting rid of TW Screen Capture...

At the very least I found the png for the screen cap button that I can blank out, but I'd really love to remove the functionality that's running in the background.
Is the ScreenCaptureService.apk the only related file? Anyone try removing this?
(forum won't let me post under development, so I'm posting here)
gseseske said:
At the very least I found the png for the screen cap button that I can blank out, but I'd really love to remove the functionality that's running in the background.
Is the ScreenCaptureService.apk the only related file? Anyone try removing this?
(forum won't let me post under development, so I'm posting here)
Click to expand...
Click to collapse
Making the PNG transparent will look like the button is gone, but it will still be there when you tap that area. Removing screencaptureservice.apk will cause fcs when you tap the screenshot button, for me anyway.
Sent from my Galaxy Tab 10.1 via Tapatalk
Well I just removed the apk, and I'm not getting any visible fcs when I press it. The button still clicks, but nothing happens.
I guess the next question is...where do I look to try removing the actual button? Presumably a layout file somewere?
(If it isn't already apparent, I'm new at this. Experienced developer, but new to android.)
gseseske said:
Well I just removed the apk, and I'm not getting any visible fcs when I press it. The button still clicks, but nothing happens.
I guess the next question is...where do I look to try removing the actual button? Presumably a layout file somewere?
(If it isn't already apparent, I'm new at this. Experienced developer, but new to android.)
Click to expand...
Click to collapse
A a starting point: decompile the systemui.apk, check the smali/com/android/statusbar/tablet: MiniModeAppsPanel.smali et al.
No sources so its reverse engineering task.
PhantomHacker said:
Making the PNG transparent will look like the button is gone, but it will still be there when you tap that area. Removing screencaptureservice.apk will cause fcs when you tap the screenshot button, for me anyway.
Sent from my Galaxy Tab 10.1 via Tapatalk
Click to expand...
Click to collapse
Opps, mispost, sorry.
DocRambone said:
A a starting point: decompile the systemui.apk, check the smali/com/android/statusbar/tablet: MiniModeAppsPanel.smali et al.
No sources so its reverse engineering task.
Click to expand...
Click to collapse
Thanks for the direction. Found the code in smali\com\android\systemui\statusbar\tablet, but I think I'm in over my head in these files for the amount of time I have to commit to this. I'll mess with it a bit later today and see where I end up.
gseseske said:
Thanks for the direction. Found the code in smali\com\android\systemui\statusbar\tablet, but I think I'm in over my head in these files for the amount of time I have to commit to this. I'll mess with it a bit later today and see where I end up.
Click to expand...
Click to collapse
The screen capture references I was looking for are in TabletStatusBar.smali. The easiest thing to do would be to just add a 'return' at the top of the onclick handler for the button (in conjunction with blanking out the png)...but obviously the button would still be there. I'm think getting rid of it cleanly would be over my head, but if anyone else has any interest in picking up from here please post with your findings.
gseseske said:
The screen capture references I was looking for are in TabletStatusBar.smali. The easiest thing to do would be to just add a 'return' at the top of the onclick handler for the button (in conjunction with blanking out the png)...but obviously the button would still be there. I'm think getting rid of it cleanly would be over my head, but if anyone else has any interest in picking up from here please post with your findings.
Click to expand...
Click to collapse
hmm, i try it.
Getting errors in compiling after i try to change the smali
Why remove it? Lets remap it to a custom activity... The same can be done with the TW mini-app bar. Those can all be custom activities...
If you really want to remove the functionality, the quick and dirty would be to simply delete the ScreenCaptureService.apk from your system apps. Then make your icon transparent. Removing the blank space between the multitasking and menu (within apps) buttons may require a tiny bit of smali and/or XML layout tweaks.

[Q] Hide App From launcher, and still have the option to start it.

ok, im trying to hide this app, from the app drawer by editing the manifest.xml file, and i did it, to be specific i just remove this line from manifest.xml "<category android:name="android.intent.category.LAUNCHER" />" but i want to hide it, and still have the option to open it...
i tried to start the application using titanium backup, but it doesnt give the option to open app...
im trying to do it by editing manifest.xml. i know there apps to hide anothers app..
if you have any idea of how to, ill appreciate it...
(im not an expert on this, and i dont even know if im asking in the right forum)
Hey, did you come across a solution? I'm facing exactly the same problem right now: The App's gone from the drawer but no longer executable by no means.
Sorry for bumping this old thread, but I endured reading about 10 pages of search results without success.
Thanks in advance!
You can use my app "App Quarantine" to do the job. You can disable the app in question (so it's no longer in the application drawer) and re-enable it as you want. Therefore you could use the home screen widget for quickly launching the app.
ramdroid77 said:
You can use my app "App Quarantine" to do the job. You can disable the app in question (so it's no longer in the application drawer) and re-enable it as you want. Therefore you could use the home screen widget for quickly launching the app.
Click to expand...
Click to collapse
Hey, thanks for the suggestion. Unfortunately I'm searching for a solution to get along without any 3rd party app.
Which means, I want the app to be "set invisible" before even installing it on the phone. I'd really like to know, which file of the apk has to be edited in which way to achieve this.
It'd be totally fine if it simply didn''t appear on the drawer.
Any other ideas?
I have an idea.
I have replaced the icons with a completely transparent .png image and recompiled the apk.
Remember you should not change the file name of the original icon, just replace the content.
I have used apk editor pro for this work.
The app will be in the launcher or app drawer but it will remain invisible.
You should also replace the app name with 3 to 5 spacebars.You can remember the position of the app in the app drawer.
Everyone will see you tapped on a empty space and a app started
I have tested this.
So you can be sure.
One more thing
If you see any folder like mipmap_anydpi_xxx in /res you should delete it
4RCH1 H4CK3R said:
I have an idea.
I have replaced the icons with a completely transparent .png image and recompiled the apk.
Remember you should not change the file name of the original icon, just replace the content.
I have used apk editor pro for this work.
The app will be in the launcher or app drawer but it will remain invisible.
You should also replace the app name with 3 to 5 spacebars.You can remember the position of the app in the app drawer.
Everyone will see you tapped on a empty space and a app started
Click to expand...
Click to collapse
4RCH1 H4CK3R said:
I have tested this.
So you can be sure.
One more thing
If you see any folder like mipmap_anydpi_xxx in /res you should delete it
Click to expand...
Click to collapse
Thread has been moved to the proper location, even though it is a 9-year-old thread...
I can't understand.
Clark Joseph Kent said:
Thread has been moved to the proper location, even though it is a 9-year-old thread...
Click to expand...
Click to collapse
So where should I post the reply?

[REQUEST] [Xposed] module to hide app from recents?

Hello all,
I was wondering if someone would take time to develop a small Xposed module to prevent apps from appearing in the "recent apps" (long press home button) screen?
I did some research and tested on one app and it worked. I don't know if Xposed has access to the "area" needed; I decompiled an application and here's what I did:
open AndroidManifest.xml and under "Activity" add to the end of the line:
android:excludeFromRecents="true"
This will prevent app from appearing in recent apps. Ofcourse one can decompile/recompile all apps in order to achieve this but after a while with all updates it would become tiresome to do this That's why I think it would be nice if we could do this via Xposed module....
Thanx!
D.
I'm looking for the exact same thing. I'm sure this is something that's necessary, and I guess someone should've done it by now right? couldnt find any.... :|

Phone APK? And S-Finder

What is the filename and path for the S5 phone apk? I want to theme my friends phone apk for him.
Also, how are you guys getting rid of S=Finder from the pulldown?
i think all the apk files should list under system/app folder and to get rid of S-Finder from pulldown, just install Xposed G-Touchwiz.
You didn't give us enough information to really know what you want.
There are several phone packages e.g. the dialer and the in call screen
/system/priv-app/SecTeleService.apk
/system/priv-app/InCallUI.apk
For S-Finder, you didn't tell us if you meant removing it from the user defined set of Quick Notification toggles.. or permanently remove it. Or if you meant the quick search window. Lots of threads on all of those, so a forum search is always the best place to go first.
http://forum.xda-developers.com/galaxy-s5/help/removing-sfinder-quick-connect-t2827271
http://forum.xda-developers.com/showthread.php?t=2714586
http://forum.xda-developers.com/showthread.php?t=2778145
.

Categories

Resources