yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] wethead4:
the bottom status bar looks a little fat and off center because i increased the dpi to 200 to increase the size of icons. anyone know of a way to make it look better, or better yet, make icons bigger and revert back to a smaller dpi?
[Nook Color Android Development] just4747:
I agree 100% on this...it is rare to have a full screen with no status bar but on things like YouTube landscape videos, Angry Birds, fullscreen Dolphin Browser, this happens. Your work-around by using Soft Keys Launcher mapped to the N home physical key works mostly but even in Angry Birds when you use that method to bring up the Soft Keys button menu at the bottom, the game only responds to the command for an instant and reverts back (if you press the virtual menu button for example, the Angry Birds menu brings the menu up but quickly it disappears again). Also, if you use Launcher Pro like me and have home key set to show screen preview cards for example, this no longer works even if you have only double click set to Soft Keys. For some reason N key works to go home on single click, but will not do the LP action of showing screen previews anymore.

Needing this isn't ideal and having one permanent home key 100% of the time is the best, if possible..

Other things I can think of:

-Can there be some kind of button animation or highlight when pressed? They seem to be static with no change on press.

-Can the hacked virtual keys also be designed to recognize long presses? For example, long press on a physical home key would bring up the recent apps menu, but the hacked virtual one does not. The other buttons also do not work with long press.

-No matter what changes you do to the bar color and looks wise, can you always offer black OR white with new features/changes? For preference.

-Will we ever be able to drag our finger up from the bar to open the notification shade? Or will there only be the button to do it?

-Also, are you going to add the search key to this like most devices would have? Just wondering, thanks.
[Nook Color Android Development] brianf21:
Change the LocationManager not to pass gps as a location option, so it will only use the network for location. Easy fix once I found it.
[Nook Color Android Development] brianf21:
The way the OS is design, it is not possible to have the status bar show at all time. The OS has a feature that let the application developers control whether or not the status bar shows. If this is removed, then a lot of applications might break. So it is best to leave this alone.

Yes, I imagine, I just have to figure out how to do it.

Yes, I imagine, I just have to figure out how to do it.

Yes, this is the goal. Others, mainly, wretchedlocket, will take it up a notch.

Yes, I imagine, I just have to figure out how to do it.

This should be easy enough.
[Nook Color Android Development] just4747:
Thanks! Looking forward to the work and good luck! Many appreciate this who are not using CM with its similar hacks..
[Nook Color Android Development] samuelhalff:
Brian,

Pulling the tracking up works on my CM release, look at the code on github.

The onpress animation can be done by making the PNG an XML with 3 state pngs: normal, pressed, released. Can easily be found by Googling it..

Wish I had time to implement it myself..

Regarding the "always visible status bar", you could hack the fullscreen window flag, i guess in phonewindowmanager?

Sam
[Nook Color Android Development] brianf21:
Yes, I saw that, I pulled the code and started porting it over already. Thanks again for you help.
[Nook Color Android Development] thecalip:
Just use button savior when in full screen. It show a small white transparent arrow on the right side of the screen. You tap on it to get the button.
[Nook Color Android Development] variable47:
OMG this is awesome! Great work Brian! Can't wait for Wretched to integrate it with his theme. Thanks for your hard work guys. :)
[Nook Color Android Development] just4747:
The whole point is to eliminate the need for this! People hate having something extra on every screen always covering something. If possible, why not get this bar to always show!

Sounds doable according to above poster..

And if it does work eventually, give people the option since some wont want a bar on every full screen like YouTube (I would rather have the bar always).
[Nook Color Android Development] TJNooker:
I don't know how any of this stuff is coded, so take my idea with a grain of salt...

If the homescreen preview fast switch between apps function is eventually mapped to the home button on the status bar (ala holding long-pressing the home button), then I will not have any use for the hardware "n button." If it's possible to do this, perhaps the status bar could be made to drop down off-screen and raise back up on-screen by pressing the n-button sort of like how you can make the taskbar hide in Windows. That would be a pretty slick way of getting around the full-screen issue.

EDIT: Thanks for correcting me, just4747. Post edited accordingly.
[Nook Color Android Development] just4747:
Woops didnt mean to hit Thanks on your previous post, hit it by accident and there's no way to remove it lol.

I only meant when you use LauncherPro there is an option to make a single quick press (not long press) show the screen previews. So it isn't a hold thing and it is only with LauncherPro just to correct you.

OP, is the note on today's version "Got rid of the ugly buttons" something that was changed from the get-go on today's version or did you re-upload a newer 3/23 version with changed buttons? I don't remember reading that earlier...
[Nook Color Android Development] mmaner:
CyanogenMod 7 nightly 30, no joy...

in case anyone is wondering I can confirm that this mod does not work on CyanogenMod 7 nightly 30. FIgured I'd try as this mod and hardware decoded video are the only things missing form a super-mondo-mega-rocking-out-loud android tablet :).
[Nook Color Android Development] wretchedlocket:
I should be rolling out the theme later tonight. Finally got the buttons just right so it's all good to go.

Again, brianf21, awesome work. It's been flawless for me all day.
[Nook Color Android Development] Seamonkey79:
Waiting impatiently... ;-)
[Nook Color Android Development] vtmike:
I tried to manually copy the files to replace the existing ones on the SD image version of the rom. I'm having problems finding the files under the tools and meta-inf files to replace. It seems to be working without replacing those files. anybody know where these are located or if they need to be replaced anyway.
[Nook Color Android Development] wretchedlocket:
Theme is available

Theme is uploaded now and ready for download (make sure you download the correct version): http://jjis.me/a/486

*** Report theme issues in my thread ***
[Nook Color Android Development] brianf21:
/system/app

and

/system/framework

I haven't forgot about the sdcard users. I just wanted to work out a few more kinks before I updated the sdcard image.
[Nook Color Android Development] brianf21:
Release the zip with the buttons set to transparent.
[Nook Color Android Development] just4747:
Wait, will we be able to get the new versions of the bar without the theme in the link? I just want the updated versions of the bar! :p

Huh?
[Nook Color Android Development] brianf21:
Sam has done this for CM7. Here is his thread.

http://xdaforums.com/showthread.php?t=1002000
[Nook Color Android Development] mmaner:
Ive been following that thread as well, its integrated into the ROM and not available as flash-able or installable resource. Thats why I tried this method, been using the nightly's so I'd like to be able to flash or install this after installing a nightly. Thanks tho.
[Nook Color Android Development] Juboha:
AndroidID for gapps patch

Brian.

Does your framework.jar contain the TelephonyManager.patch such as those described in this thread?

http://xdaforums.com/showthread.php?t=955847

I'm trying to get some Gameloft games working, such as Asphalt 5 and Let's Golf 2 on my Customised Nookie Froyo 0.6.8 (.3) (your other thread) and wondering if this patch will make those games work. Clutching at straws at the moment.
[Nook Color Android Development] brianf21:
I just remove the underlying image of the button but kept the notification, home, menu and escape graphics.
[Nook Color Android Development] funcrusher:
Finally got around to flashing this -- wonderful progress! The buttons at the bottom make such a difference. Thanks.
[Nook Color Android Development] funcrusher:
I like the new setup. I briefly tried a couple games to check the behavior of the always present status bar -- it appears as though the full screen is still detected, so the status bar cuts off buttons, stuff that would normally be shown etc. Also had a force close in Stupid Zombies, but I just updated it, so I'm not sure if the status bar hack was to blame.
[Nook Color Android Development] swedenboy:
seem to be very nice with status bar always on top. will try this and dont worry about HC anymore. Many thanks for your work.

Edit: I was exciting at first time, but realized that the status bar always on top is not a good idea for me, some game played in full screen was cover most of the buttons so I couldnot choose, switched back to 23 Mar version ;)

and I think it's good if you could make the bar thinner like the original one in your nookie froyo in Feb.
[Nook Color Android Development] jimmyz:
This is most useful thing on my nook to date- however do you think you could make a 3/24 version without the "forced always" on status bar- its distracting when watching videos and playing games- thanks!!!
[Nook Color Android Development] andmer:
take the android.policy.jar from 3/23 and it wont be in force mode.
[Nook Color Android Development] brianf21:
I am still playing with it, hopefully I can get the games and video to layout out in the proper space and not cut of the bottom.
[Nook Color Android Development] vlucchetti:
only issues I have found are

1) when I go into gallery to change wallpapers.

The save and discard buttons are virtually covered, no matter what orientation you put the nc in. Fortunately save is on the left, so enough pokes over where the battery and wireless icons are eventually tags a tiny enough piece to save it.

2) Kindle for Android. Last (bottom) line of text is covered by the status bar.
[Nook Color Android Development] derekr:
On Angry Birds Rio on some menus the bar hides half a button or so.

Otherwise it just keeps getting better !
[Nook Color Android Development] brianf21:
Should I remove the forced status bar?
[Nook Color Android Development] watzone69:
I, for one, like it. The less I have to press that "n" button to bring up softkeys the better. On the other hand, I can see why some people would hate it.

This would actually make a great app with customizable settings kind of like Softkeys.
[Nook Color Android Development] xboxexpert:
No you should make the status bar transparent!
[Nook Color Android Development] derekr:
Brian,

I just downloaded 3/26. Once again, many attaboys for the great work!

I think the ultimate for me would be to allow full screen apps to cover the status bar, but to allow the "n" button to bring up the status bar again instead of "home". Maybe a double click could be "home". Get rid of SoftKeys all together.

Would this be possible?
[Nook Color Android Development] hazridi:
I'm curious what you ended up having to do to fix the browser FCs. Could you elaborate for me?
[Nook Color Android Development] brianf21:
In frameworks/base/location/java/android/location/LocationManager.java changed

//public static final String GPS_PROVIDER = "gps";
public static final String GPS_PROVIDER = "network";

Because you made changes to the API you would have to run the following command if you want to compile everything. Since I have only been compiling the filesystem, I did not run the following command, but I guest I should.

make update-api

I should point out that this fixed the location issue. If you are having an issue with the Launcher, then just make sure you are using the that was compiled with the filesystem. If you try to use a browser from another compile and you changed any NinePatchDrawable images, then you get the launcher issue.
[Nook Color Android Development] brianf21:
I can make it transparent, but depending on what is being displayed on the screen, you might not see the icons or the text because the colors match.
[Nook Color Android Development] funcrusher:
I went back to the non-forced status bar version. I'm not complaining -- still much better.
[Nook Color Android Development] sc37:
I went back to the 3/23 as well. The forced status bar got in the way of a lot of stuff, including the icons on the launcher sometimes. It would sometimes cover and sometimes not...weird. But I'm happy nonetheless, thanks for the great work!
[Nook Color Android Development] anurbanlegend:
Thanks for this awesome mod. I'll cast another vote for no forced status bar. It covers up the slider when playing videos so can't scrub forward.
[Nook Color Android Development] jsmith8858:
+1 on this idea! That would literally be perfect. Even the double-click for HOME isn't needed, since there's a home button on the status bar once it appears. I would suggest having the N button simply toggle the forced status bar on and off, that would be all we need to handle any scenario I can think of.
[Nook Color Android Development] liqn7:
+1 for a NON permanent status bar.

Gets in the way of too many things :(
[Nook Color Android Development] funcrusher:
That is a pretty good idea.
[Nook Color Android Development] pseudo_nomen:
of toggling the statusbar...

I've been following the conversation about the forced display of, and toggling, the statusbar and am reminded of a feature in ADW and LauncherPro where one can hide or display the statusbar with a swipe gesture, e.g. swipe up hides or displays the statusbar depending on it's previous state - a toggle if you will. I am not suggesting making full-screen apps aware of swipe gestures.

What I am suggesting is mapping the "n" button to the activity of showing or hiding the statusbar - the "toggle" that has been discussed.

I guess my goal here is looking at other apps (launchers) that do what we are looking for, but perhaps through a different means or mechanic that hasn't been looked at.

What does LauncherPro do, in the code, to hide/display the statusbar with a swipe gesture? Can this piece of code be kanged out and called with a press of the "n" button?
[Nook Color Android Development] y2kdread:
I am having an issue with the alignment when I am using the kindle app. It cuts off the very last line of text per page. Is there an easy fix for this?

Thanks!
[Nook Color Android Development] wretchedlocket:
I'm working on updating my theme with your latest update. I will get some icons sent to you today.
[Nook Color Android Development] brianf21:
Tomorrow, I will figure out the issue with framework-res.apk so you will not have to do that manually.
[Nook Color Android Development] brianf21:
With the lastest update (3/27/11)

Force the status bar to show:

setprop sys.force_status_bar true
getprop sys.force_status_bar

Do not force the status bar to show:

setprop sys.force_status_bar false
getprop sys.force_status_bar

It will be easy to come up with an app to do this. I am not sure I can tie it to the physical button, but I will try. Is it just me or is this better than sex?
[Nook Color Android Development] just4747:
Thanks for the update...please re-do the icon sizes as well, they look all stretched and weird now!

Are you still going to have the black bar option soon?

Will you be able to make the notification bar grabbable for opening and closing with a finger instead of button?
[Nook Color Android Development] derekr:
Can't get 3/27th scripts to work. Do I just type them at a terminal emulator? Do I need to cd somewhere first?

Status bar force is off.

I'm going to reflash the zip.

Edit : Nope, that didn't fix it. Also tried a reboot after the edit. I'm probably doing something wrong.

___________________

- Derek
[Nook Color Android Development] derekr:
The other problem I'm finding with 3/27 is that ButtonSavior does not work - the icon is on the screen but tapping it does nothing. I believe it was working on previous builds, because I was using it instead of Softkeys to move around.

Nevermind - it's working again... I don't know what the problem was.

___________________

- Derek
[Nook Color Android Development] just4747:
Dude read the updated original post. You have to add that line in to the build.prop file in the /system folder of the device. Open it in text editor (either on the nook with root explorer or on the PC with adb) and add that text he posted I think anywhere within the file's contents.
[Nook Color Android Development] derekr:
Yeah, I had already done that. The problem is that after that every time I try to change it the getprop always returns a value of false regardless of what I type in to setprop. Do I have to leave build.prop (or /system) as R/W?
[Nook Color Android Development] derekr:
Brian,

For what it's worth: The Terminal Emulator app has a "toggle status bar" item in its Preferences. It works within the app - although if you turn it off you need to use SoftKeys to bring it back - because you can't get back to Preferences.

Maybe there are some clues there that could be used...

Derek
[Nook Color Android Development] brianf21:
Derek,

Can you do a logcat and post in pastebin.com?
[Nook Color Android Development] brianf21:
When you run setprop, it will not change the default value. It is just changing it during runtime. Next time you reboot it will be back to whatever is build.prop. Do you have any typos? Did you reboot after adding the line in /system/build.prop? If you have adb setup, connect via adb then type the commands or copy and paste them in.
[Nook Color Android Development] derekr:
Brian,

I have just confirmed that I can change the setting via "adb shell..." BUT not using the Terminal Emulator app on the Nook. That was my problem. It would be handy if it worked. Maybe permissions somewhere???

I can however read the status correctly with "getprop" using the emulator.

Also, ButtonSavior started working again after a reboot. Another one of life's little mysteries.
[Nook Color Android Development] brianf21:
In Terminal Emulator:

Type su first, then click allow for superuser, then try the command.

(I should put this on the first page.)
[Nook Color Android Development] derekr:
Thanks - that did it. I just assumed that on a rooted device Terminal Emulator would already have su privileges.
[Nook Color Android Development] TJNooker:
Officially: No comment. Unofficially: It's pretty damn close!
[Nook Color Android Development] derekr:
The new NookColorUtils (3/27) does the job! Thanks.

If it is not too much trouble, how about a dedicated desktop widget that would toggle with a single tap? I'm pathologically lazy. :-)

Even better, how about a hide button on the status bar itself so that it can be dismissed from inside an app (without exiting) if the bar is covering something important.

___________________

- Derek
[Nook Color Android Development] derekr:
What I have now is:

- force status bar on by default

- installed a shortcut to NookColorUtils (3 / 27) on the LauncherPro dock.

If I want to uncover a menu at the bottom of the screen while inside an app, I pop out of the app, turn off the status bar using the dock icon, and start the app again. I restore the status bar to force-on when done with that app.

Works well (so far).

___________________

- Derek
[Nook Color Android Development] hrizzy:
Brian, you are my hero! This makes my NC 2 times more productive and no need for HC!
[Nook Color Android Development] xboxexpert:
Me thinks that if you were to do a grayish color it would look pretty well and transparent would rock and not need the framework fix for the application to notice that the status bar is there. Angry birds gets cut off currently and i think that if you were to do the transparent it would look/work better :)
[Nook Color Android Development] xboxexpert:
That sounds perfect.
[Nook Color Android Development] ADude:
FYI - Both versions of Nook Color Utils have some things that work with other versions of Android and some that don't.

For example, the CPU percentage for Media Server does not work in CM7.

And, of course, the setting just added is only relevant to one build of one version of Android.

Probably you just might want to rename it to "NookieFroyo Utils", which would clarify it for everyone.
[Nook Color Android Development] jimmyz:
Could someone check their google calendar- on the week and day view there is an annoying grey bar that covers up daily events (top of screen)- I remember having this problem with eclair and I thought it fixed with froyo but now its back with this mod (or maybe it was there all the time- I can't remember) thanks
[Nook Color Android Development] derekr:
@jimmyz,

I don't have any grey bar at the top - just tabs for the view...
[Nook Color Android Development] brianf21:
Good point.
[Nook Color Android Development] jimmyz:
I went back to an old CWM backup and google calendar was perfect but as soon as I install the status bar hack (which I can't live without!) I get a grey bar with a "+" symbol that covers up the "all day" events on the day and week view- weird anyone else?
[Nook Color Android Development] brianf21:
Hi Jimmy,

I have it too. I am attaching a new version. This should fix it. Use adb to push it to /system/app/. Be sure to mount /system in rw before pushing. I will include this in the next zip as well. Good catch!

Brian
[Nook Color Android Development] Mjailme:
Excellent work brian. This is a must have. Keep up the good work. Are you working or even thinking about adding a search button.
[Nook Color Android Development] brianf21:
I was going to put it to a vote. Who is for adding a search button to the status bar?
[Nook Color Android Development] vlucchetti:
Guess I am a minimalist. It already is available in one click by hitting the menu button. Why clutter the bar with unnecessary icons?
[Nook Color Android Development] just4747:
Maybe add it and we can all try it and see how it is with it?

Any luck with new icons and a grabbable notification bar yet btw?

Thanks!
[Nook Color Android Development] variable47:
Not to be a party pooper, but I'd prefer not. :)
[Nook Color Android Development] Mjailme:
I do want the search. But am with those about cluttering up the notification bar. So maybe wait to add the search until you have the drag function working. Then you can just trade out the icons.

Enjoying the progress your making. Thx.
[Nook Color Android Development] cj1896:
Has this broken flash or anyone else? I flashed it and now I can't get my flash to show up in the market (used both verizon and t-mobile with Market Enabler) and I also modified my fingerprint in the build.prop file and cleared cache and google services framework. It shows up as installed when I restore it with Titanium Backup but it is not communicating with the browser or the market. Is this an ongoing issue?
[Nook Color Android Development] TJNooker:
I also vote "no." I like having the status bar as uncluttered as possible.
[Nook Color Android Development] swedenboy:
Me too, I think no need to add to much on status bar.

Besides, could you please make the status bar thinner like the original one?

Thanks.
[Nook Color Android Development] watzone69:
I've noticed that after I flash a new status bar hack, I have to uninstall and reinstall flash to get it to work again. Sometimes it doesn't work right away either.

I vote no search!
[Nook Color Android Development] Elmoglick:
Same here.