ICS Custom Navigation Bar Buttons - Samsung Galaxy Nexus

I'm looking into developing an app that adds a current-app-restart function for force-quitting the current app with focus and then restarting it. But, I want to add it to the Navigation Bar in ICS (requiring root would be fine) but I can't seem to find anywhere that talks about creating an app that inserts a button into the nav bar. If it is possible, will it have to be manually started via a regular app link or can it register itself with the OS? Either way is fine; the latter preferable, of course. The app logic itself is no problem, it's the adding a nav button I need help with. I'd rather not do it with xml edits and instead do it with an installable apk.
Anyone able to point me in the right direction for documentation? Is it possible without recompiling the rom? Thanks for the help.

Related

Hiding the System Bar

So I am trying to figure out a way to hide the main menu bar (from SystemUI) on my G9 101. I am running ICS 4.0.4 rooted.
I noticed that the startup wizard is able to control the availablity of the home button and recent apps button. The back button is still visible, but it seems like the wizard takes control of what it does.
So I disasembled settings.apk and settings.odex to try and figure out how this is done. It seems like a call to:
Code:
view.setSystemUiVisibility(20905984);
is the code that makes this work. I inserted that into my application, but did not get the same result. Any body have any ideas as to how I can make this work in my application? Is there a way to grant the same capabilities to my code that the settings.apk has? Do I need to install my application in some other location?
Any other ideas how I can use the setup wizard as some way to launch my application without having the systemui elements?
Thanks!
Now that the source is out - does this mean I (or someone) will be able to do this more easily?
Thanks
ICS source code is out for quite some time. BUT this doesn't include Archos specific changes (like 3G stick support etc)

Full Screen Mod - Remove Navigation Bar

I have the non-developer edition RAZR M, but I have root. I am looking to remove the navigation bar from the bottom of the screen, to ultimately increase screen size. I have done some searching around other forums and other devices where this has been done, and it seems the files to change might be located in the SystemUI.apk. Can anyone confirm this? Also, without having a custom recovery, will it be able to make these changes by simply replacing the files through either root explorer, or adb, rather than needing to create a flashable zip? Any guidance on this mod would be appreciated, and I would love to share something like this with the wonderful XDA community.
thickey85 said:
I have the non-developer edition RAZR M, but I have root. I am looking to remove the navigation bar from the bottom of the screen, to ultimately increase screen size. I have done some searching around other forums and other devices where this has been done, and it seems the files to change might be located in the SystemUI.apk. Can anyone confirm this? Also, without having a custom recovery, will it be able to make these changes by simply replacing the files through either root explorer, or adb, rather than needing to create a flashable zip? Any guidance on this mod would be appreciated, and I would love to share something like this with the wonderful XDA community.
Click to expand...
Click to collapse
Since the Razr M doesn't have hardware buttons for home, multitask, etc how would you navigate? I've seen some apps that temporarily hide the navigation bar when playing fullscreen movies, etc.
doswizard said:
Since the Razr M doesn't have hardware buttons for home, multitask, etc how would you navigate? I've seen some apps that temporarily hide the navigation bar when playing fullscreen movies, etc.
Click to expand...
Click to collapse
There is a navigation bar launcher called LMT. It's extremely customizable and even allows for changing long press options. Check it out here:
http://forum.xda-developers.com/showthread.php?t=1330150
I use GMD Gesture Control:
https://play.google.com/store/apps/details?id=com.goodmooddroid.gesturecontrol&hl=en
Not only can you have gestures to go back / home etc, but you can have a gesture to hide & show the navigation bar and have access to the full screen. The only downside I've seen is when the navigation bar is hidden, incoming calls don't display properly, and you need to show the navigation bar before accepting the call. Make sure you have the navigation bar enable itself when turning off the screen so call notifications will work properly.
Uh;
http://forum.xda-developers.com/showthread.php?t=2098723
full!screen
This is a root app that is super stable and though it says "for tablets" it works fine on our phone.
It allows you to hide the status and nav bars through a super customizable corner pie.
The paid versions adds the ability to enable/disable the bars automatically on a per app basis.
https://play.google.com/store/apps/...251bGwsMSwxLDMsImRlLnRzb3JuLkZ1bGxTY3JlZW4iXQ.
is there a app that will alow you to add your own navigation icon like in energy rom and add icons like menu to navigation bar
Jokerslight said:
is there a app that will alow you to add your own navigation icon like in energy rom and add icons like menu to navigation bar
Click to expand...
Click to collapse
Ninjamorph for the first one... Second is done in the systemui.apk.

Possible way to hide gps symbol While Gps is active

I want to find a method or way to disbale/hide the gps icon from status bar/notification while its On.
I'm using life 360 app to keep eye on my kid activity and location with her phone but don't want the gps icon to show in status bar while the program is running.
Gps needs to be on to get a corrext location.. but the icon is a dead give away.
I know you can disable notifications with downloaded apps but not system apps.Is there any trick or app or even a way in root explorer I can hide the gps symbol yet keeping it active.
Sent from my SGH-T999N using xda app-developers app
Typically you'd need to de-compile System framework files to make it transparant. I know that's not what you wish. So try Full Screen (or similar apps) to make the Status Bar go away all together. You can also search for some theme here on xda to make the icon black. If you use a mod to center the clock then these system icons can be crowded out of the status bar.
If you want very simple trick to keep it on, then teach the kid benefits of Google Now. As anyone addicted to it will tell you It wants your location (Precise location at that !) so badly that once addicted they'd have no choice but to keep it on.
You do realize, you can use a Family Oriented Launcher such as Kids Place ?

Navigation bar

Hello xda
is there any way to have the navigation bar like the old galaxy tabs, that can orient with screen rotation in all 4side of the screen???????
You know its difficult to use the home,back and recent apps button in only one aide of the screen, and the back button allways disappear in the dark
But if its gonna have the software navigation bar, it will be so much easier to work with. ...,
also i used some app that provides the same nav bar , but it come over the screen and some button hide behind it....,
Thanx alot guys
Try using: https://forum.xda-developers.com/showthread.php?t=2270198
I have used it for a long time now, and I cannot live without it at this point. I love it because it not only follows orientation, but it can auto-hide too. Also, once you have that all squared away there's a tutorial on here somewhere that will show you how to (just by editing your build prop file) disable the hardware buttons all together.
Then, (also on here) there's an app that allows you to totally disable touch iput, except the Spen. Not that you are interested, but oust thought I would share how I have mine setup. Good luck!
samandhi said:
Try using: https://forum.xda-developers.com/showthread.php?t=2270198
I have used it for a long time now, and I cannot live without it at this point. I love it because it not only follows orientation, but it can auto-hide too. Also, once you have that all squared away there's a tutorial on here somewhere that will show you how to (just by editing your build prop file) disable the hardware buttons all together.
Then, (also on here) there's an app that allows you to totally disable touch iput, except the Spen. Not that you are interested, but oust thought I would share how I have mine setup. Good luck!
Click to expand...
Click to collapse
Hi
thanx alot
its awesome,
ive already tried so many apps, but this one is great
Thanx for ur help bro

Hide Quick Panel/top bar on certain apps?

Hi, is there an app, mod or anything that anyone knows about to hide (or dip/dim further) the top bar?
I know certain apps like games & media players can hide it so I just wondered if anyone knew of a way to do it?
The reason is for the attached screenshot. It's a tiny inconvenience but if I could hide the top bar when using Doubletwist (or any other app) it would allow the full artwork to be shown.
Conversely, if any knew alternatively of a way to perhaps make certain apps respect the top bar and only start the app under the navbar, that would be perfect also.
I'm on Android 10 if that's anything and while I know Good Look isn't working yet on 10, I don't believe there was an option to hide it however anyway?
Thanks in advance!

Categories

Resources