I want to eliminate the power controls (wifi, bluetooth etc) from notification area...i like a cleaner look...can someone point me in the right direction? what do i need to modify?
You need to modify lge-res.apk . This is responsible for that.
yes...but what exactly?
Related
I'm looking into creating an app (not requiring a recompile) that can add a button to the navigation bar. Is it possible? Anyone have a link to documentation? I'd ideally like it to auto-load itself into the nav bar but if not, that should be fine.
Sure it's possible. I would start be decompiling your systemui.apk, that's where they were stored last time I checked.
I'm looking for a way that doesn't require the internals of the OS to be edited in any way. I want to write a separate app (installable apk) that can add an extra button that will do <insert custom java code here> when pressed. Or is the only way to do this by changing SystemUI.apk?
That's the only way you will be able to add/edit anything in the status bar. You may however be able to write some sort of overlay that draws your button on top of the screen.
Hi guys! I would like to ask to someone kind for the creation of a mod that would allow the tablet to automatically hide the onscreen buttons when it is docked. This would be great since we don't need them on the screen when they are also on the dock. I'm using CM10.1. I know that there is the desktop view, but this also hides the notification bar. I hope someone answers my pray :fingers-crossed:
have you tried the full!screen app?
The Clean Rom features the app.
perhaps we could write a script to watch for the event
DockObserver which currently states it changes to level 10
and then launch the full screen app?
joelalmeidaptg said:
Hi guys! I would like to ask to someone kind for the creation of a mod that would allow the tablet to automatically hide the onscreen buttons when it is docked. This would be great since we don't need them on the screen when they are also on the dock. I'm using CM10.1. I know that there is the desktop view, but this also hides the notification bar. I hope someone answers my pray :fingers-crossed:
Click to expand...
Click to collapse
Cm10.1 has the notifications at the top correct? And the nav buttons on the bottom?
I know the systemuiservice controls the nav buttons and notification on stock. I wonder if there is a separate service for the nav buttons? I doubt it. If so it would be quite easy. Just write an app that listens for the dock broadcast then kill that service. I do know there are build.prop edits to remove the nav bar. Maybe kill the system ui service then possibly start it again without the build.prop values? If you have source code it would be a lot easier to incorporate it into the systemui service to listen for the docking broadcast then generate the system ui service without nav bar arguments.
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2
Hello Guys,
I have programed a few apps for android but would like to try and modify something that goes a bit deepter into the system. I have no idea where to even start looking and what to look for.
What I want to do is to change the event what happens when you (long) click the system navigation buttons. Apps only catch them when active. But I globaly want to change it. I guess I dont need to compile the whole kernel but "just" change a part of the system that handles these buttons and events. In SlimRoms its possible to customize these buttons so it must be possible somewhow. Although I want to change it on a phone with three hardware buttons on the bottom and not the onscreen navigation bar.
Can anyone point me in a direction?
Thx a lot!
Regards
Hi everybody,
I have been trying to create a small mod for the navigation bar that enables you to swipe left and right over it to adjust the volume. I think this would make it easier to adjust the volume when you're using your phone with just one hand. While swiping the buttons would disappear and a volume icon would show up, like this:
Initially I tried to accomplish this with an app, however this turned out to be impossible because of the limited permissions apps have. Then I tried to do it by modifying the AOSP source code but that was too difficult for me as I don't know a lot about coding.
Now, I am wondering if there's anyone with a bit more coding knowledge that likes this idea and would like to make the mod together with me? Maybe it could also be done by making it into a module for the Xposed framework instead of modifying the source code.
Hi there, I hope this is the right place where to post this.
I'm not an expert at coding and I am struggling a lot with this issue I have.
I have an autistic child and since they have sensory issues he likes to set the brightness to its maximum level on his tablet,
he does the same with the sound but let's face the brightness issue now.
I'd like to have the chance to remove the brightness slider from the notification shade so that he cannot change it too easily.
On his previous tablet, unfortunately it has died, I managed to install a CyanogenMod Rom which had this option,
his new tablet is a HONOR Pad 8, I couldn't find any CyanogenMod Rom and since it's new I'd really like not to mess around with it for now.
I cannot really undestand how it is possible that such a useful and easy option is missing on stock roms,
the number of disabled people and children that could benefit from this kind of settings option is huge and they are completely neglected.
Is there any way to hide the brightness slider from the notification shade or lock its value?
Thank you in advance.
Alex
n3551 said:
Hi there, I hope this is the right place where to post this.
I'm not an expert at coding and I am struggling a lot with this issue I have.
I have an autistic child and since they have sensory issues he likes to set the brightness to its maximum level on his tablet,
he does the same with the sound but let's face the brightness issue now.
I'd like to have the chance to remove the brightness slider from the notification shade so that he cannot it change too easily.
On his previous tablet, unfortunately it has died, I managed to install a CyanogenMod Rom which had this option,
his new tablet is a HONOR Pad 8, I couldn't find any CyanogenMod Rom and since it's new I'd really like not to mess around with it for now.
I cannot really undestand how it is possible that such a useful and easy option is missing on the stock roms,
the number of disabled people and children that could benefit from this kind of settings option is huge and they are completely neglected.
Is there any way to hide the brightness slider from the notification shade or lock its value?
Thank you in advance.
Alex
Click to expand...
Click to collapse
Your options may be grim.
First off - you cannot remove the brightness slider without using a custom rom.
However there might be a fix for the volume controls - which will disable the volume controls, using Button Mapper. It's on the Google Play Store, however not sure if it'll work though.
webhook said:
Your options may be grim.
First off - you cannot remove the brightness slider without using a custom rom.
However there might be a fix for the volume controls - which will disable the volume controls, using Button Mapper. It's on the Google Play Store, however not sure if it'll work though.
Click to expand...
Click to collapse
Thank you for your reply.
I have found out how to change volume or brightness levels via ADB commands but I couldn't find a command to lock those values, maybe it's not possible I don't know.
I can assure you that there are lot of people who need to lock volume and brightness, disable the uninstall shortcut by long pressing apps icons, lock phone's settings via the app lock option...
All of this is missing on the stock ROMs and it's really unbelievable.
I think every parent would be willing to pay to benefit of such features.
There are many useless accessibility options available but these obvious ones are missing, I would like to know how to raise awareness about this issues with the official Android developers.
In the meanwhile I hope someone else could suggest me a workaround.
Thank you again
Alex