[Q] Remap the Web Button in Nook Menu - Nook Color General

This may be development related but I figured I'd post here and let it get moved.
But does anyone know of a way to remap the "Web" button from the Nook quick menu(the ^ symbol)? I would like to have it launch Dolphin instead of the built in browser.

Since its built into the "Home" launcher from B&N, you probably would have to decompile and recompile (eek) the launcher.apk. That will be quite a mess...
Thanks,
-h8

Related

[Think tank] Map menu long press to keyboard (not search)

Since the vibrant doesn't have a secondary input like most android devices, it's even more vital that we have unfettered access to the keyboard and its soft arrow keys. Unfortunately long pressing the menu button in some applications (notably the browser) brings up SEARCH rather than the keyboard by itself. That means no arrow keys for text selection or link highlighting.
This has been discussed previously in general at http://forum.xda-developers.com/showthread.php?t=776792
How difficult would it be to remap the long press of the menu key to bring up the keyboard by itself?
After researching it some on my own, it looks like I need to come up with a way to call showSoftInput() from one of the softkeys. It'd be ideal if I could get that to happen on menu long press, but if that's too far buried in proprietary configuration I'd settle for replacing the google voice search app mapped to the Search button long press.
Anyone have any tips on mapping system functions to a hardware key normally used for app launching? The lack of any keyboard in the browser is seriously inhibiting my ability to use this phone.
Dxtop pro does this, and long press back is tasks
Sent from my SGH-T959 using XDA App
fit333 said:
Dxtop pro does this, and long press back is tasks
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
yeah, buth then you have to use dxtop. *non fan of dxtop*
fit333 said:
Dxtop pro does this, and long press back is tasks
Click to expand...
Click to collapse
dxtop takes over the long press of buttons only in the home screen context, and it doesn't use any of them to launch the keyboard. Plus there's no way to configure any of it so it's not really the same at all.
What I'm looking for is to alter one of the long press actions in a system-wide way to launch the soft keyboard.
cbisquit said:
After researching it some on my own, it looks like I need to come up with a way to call showSoftInput() from one of the softkeys. It'd be ideal if I could get that to happen on menu long press, but if that's too far buried in proprietary configuration I'd settle for replacing the google voice search app mapped to the Search button long press.
Anyone have any tips on mapping system functions to a hardware key normally used for app launching? The lack of any keyboard in the browser is seriously inhibiting my ability to use this phone.
Click to expand...
Click to collapse
Have you tried emailing Anderweb? ADW launcher intercepts the home button. You might be able to do something similar. It might only work on the home screen though, as his app is running there. For a system wide thing you might need to mod the underlying OS files, framework maybe? I'm not sure where that stuff launches. You could try asking one of the Cyanogen devs, they might have found it. They add stuff to the power button long press menu at least.
Certain apps (Visual Task Switcher and Itching Thumb) remap the search and home buttons to open themselves. I imagine this same idea could be used for the menu button, but I've never seen it.
I don't always complain, but when I do, I #BlameWes
some success...
Well I got a little app to work at opening the keyboard on long press of the SEARCH key. I don't want to override the home function, which is what ADW for instance does. The only other button that has an available intent as far as I can tell is search. This is my first java anything, so I wouldn't expect much out of it (it may not even work on anyone's phone but mine) but maybe someone with better android chops can use it as a proof-of-concept for what I was thinking. Install it and when you long press the search key you can choose "Search for Keyboard!"
One pretty major caveat... the swype soft cursor doesn't act anything like I'd wanted when I was envisioning this. There's no "execute" button that works like a click, so while you can use the soft arrows to select links it's not gonna do you much good. Also there's no way to effectively use "select text" in the browser. Concept 2, if I ever get around to it, would probably be more like a replacement touchpad area below the current application window.
i would like to see an app to remap long press menu on my i9000, anyone has success? thx
Another reason to ditch Samsung firmware and use AOSP-based ROMs, like CyanogenMod or MIUI.
FYI, nearly every "ROM" made for Galaxy S phones are Samsung firmware. They're not built from source like ROMs for other decent Android phones, they are just original Samsung builds being modified like nuts. And they use the same Samsung framework (though usually customized for themes and removing of annoyances like battery-full popup), and usually still include most of Samsung's stupid fixes that make their Galaxy S system software the most different in structure compared to any other Android system.
By using AOSP firmware like CyanogenMod and MIUI, these problems (like menu-button keyboard binding getting screwed up by Samsung) don't exist, because they were never present in official Android release. When problems do come up for AOSP, they get fixed quick because the source code is actually available.
Summarized process of development:
Samsung-based ROMs: What's broken or runs like ****? Try to fix it. Hack hack hack, hope it works, if it fails try again. Submit to XDA
CyanogenMod (in general): If there is a problem, try to fix it. Write code, build, test. Make sure it works before putting it in "stable" branch. After that think of brand new useful feature to implement, code it, bug test a lot, request it to be used in official releases or just make your own CyanogenMod-based ROM with your own enhancements, like BiffMod for the HTC Dream.
Btw, the reason why Samsung put this keybind is because the original international Galaxy S doesn't have a dedicated search key, so they set the search function up with the menu button. Our problem is that Samsung was a lazyass and forgot to change back that binding to the original for the Vibrant, which does have a dedicated search button and doesn't need the menu binding to search.
But aosp roms have other problems like poor 3d performance and no gps/compass. If the issues get worked out, I suspect many devs will be switching to aosp builds.

The useless "Search" soft key.

Any apps to make it open something else?
Thanks.
there are plenty
quicksettings
quickdesk
handcent sms
are a few off the top of my head
i used to have a bunch more, but i have since uninstalled after trying nearly all the apps i want to try
(these will allow you to launch them by long press. i dont know if you can replace the short press)
Pretty sure short press is not easily changed. With froyo though longpress opens Google voice commands.
Sent from my SAMSUNG-SGH-I897 using XDA App
Nice.
Thank you.
id be interested in a kernel or rom that would allow this to be changed. long press on menu opens search so why a seperate key that can be usefull as something else? can any of those apps change the short press? ive only seen long press on search and on home.
I use visual task switcher and assigned the long press of the search key to bring up a list of currently running apps. Pretty handy.
I installed "screen lock" and assigned it to screen lock to take some stress off the power button.
I don't remember where, but I found a post somewhere on how to change it, short press on mine opens camera.
Button Shortcut in the market.
Sent from my Captivate.
Dani897 said:
id be interested in a kernel or rom that would allow this to be changed. long press on menu opens search so why a seperate key that can be usefull as something else? can any of those apps change the short press? ive only seen long press on search and on home.
Click to expand...
Click to collapse
AReynante said:
I don't remember where, but I found a post somewhere on how to change it, short press on mine opens camera.
Click to expand...
Click to collapse
wow, this is an old thread, for those interested dragon remaps the key as camera launch.
can be done in button remapper. also touch jestures can be mapped as keys in galay tuner.
for people who want to get custom and dont see the otions they want in button remapper, i think the key table is in /system/usr/keylayout/s3c-keypad.kl
this is good for fixing i9000 roms (partially) when no kernel is available for those who want to try samsung gingerbread
I like the long press for google voice search. Thanks for the idea.
If you end up flashing a ROM, CM7 has a way to change the search key in the settings menu
I took a look at the system/usr/keylayout/s3c-keypad.kl file but I'm having trouble figuring it out. Anyone know how to get more info on it? Would love to map QuickDesk to it
Dani897 said:
wow, this is an old thread, for those interested dragon remaps the key as camera launch.
can be done in button remapper. also touch jestures can be mapped as keys in galay tuner.
for people who want to get custom and dont see the otions they want in button remapper, i think the key table is in /system/usr/keylayout/s3c-keypad.kl
this is good for fixing i9000 roms (partially) when no kernel is available for those who want to try samsung gingerbread
Click to expand...
Click to collapse
OK.. I have the issue, seems quite random with the Search button. Am wondering if it is related to moisture from my palm (right-handed)... not sure. Will have to try the rice trick.
Have also taken a look at the remapping option, but don't seem to have write permissions to any of the files, much less, what values to place in the file(s).
Any assistance would be appreciated on teh edit option.
BTW: Captivate with CM7.1 (and a functional GPS after a number of patch/fixes applied)
cm7 has this option.

[Q] "Last book read" button: can i get the function back?

I admit. I bought this thing for the android tablet functions but it is, at heart, an ereader and I do occassionally read on it. The last book read button is always showing but the function is lost unless I launch the original nook home. Any way I can get the function back or make a home screen shortcut for it?
I will second this! I use my rooted nook to read a lot and would love to be able to use the last book read function!
Sent from my nook color using the XDA app.
This isn't a fix but for easy use I just created a shortcut to the B&N launcher using anycut. I just have it as my secondary home where the books and stuff I actually purchased are.
It only functions if you have B&N's launcher active.
After each reboot start, open the B&N home and open the book, then switch to your launcher of choice. The "open book" button will work after that on any launcher... (at least "launcher pro" by my experience and other launchers by "hearsay").
Jim
daveknights said:
This isn't a fix but for easy use I just created a shortcut to the B&N launcher using anycut. I just have it as my secondary home where the books and stuff I actually purchased are.
Click to expand...
Click to collapse
How did you do this with Anycut? I tried to do it with the shortcut menu and the anycut app. Cannot create any shortcut. This is using zeam.
Yeah, you just have to open the B&N home once and if the Nook isn't restarted it'll work.
The easiest way without making a shortcut is to use softkeys and long press the home button and set a long press on the virtual home to take you to the B&N home. After you've opened go back to your launcher of choice and you're all set.
daveknights said:
This isn't a fix but for easy use I just created a shortcut to the B&N launcher using anycut. I just have it as my secondary home where the books and stuff I actually purchased are.
Click to expand...
Click to collapse
Heh, why would you do this? Just hit the big arrow button on the status bar, instant shortcut to all of the B&N stuff.
If you are not using the stock launcher, then just sideload the books onto your desktop of your replacement launcher. There are instructions on how to simply put books right on your desktop, for one touch book launching. They appear very similarly to the ones on the stock B&N desktop.
Definitely a decent workaround but I would prefer either the function returned or the icon removed. Right now, it's like your body's appendix. Just kinda... there.

"Reading now" option on rooted NC

Forgive me if this is in the wrong place (feel free to correct me and move the thread if it is), but I wasn't sure where to ask this.
On my rooted nook color (using Zeam as my launcher), is there any way to jump to the last book/magazine I was reading? Normally you tap the little book on the status bar on the bottom, but after rooting this button doesn't seem to do anything (unless I switch back to the stock launcher instead of Zeam or LP or whatever). This is the only thing I miss from the standard NC set-up. A shortcut or widget would be great, or even just a fix for the existing unresponsive button.
Again, my apologies if this has been asked or is in the wrong place, I looked around for a while and didn't see anything. Thanks guys!
If you launch the stock BN launcher first and then launch your main launcher, the reading now button will work.
Sent from my Nook Color
It does seem to work, temporarily. But as soon as I do anything (scroll around, open another application, etc), the reading now button ceases to function again.
Thanks though, this is the closest to a solution I've found so far.
That's not my experience. Hm. If I launch the B&N homepage first, the button reliably takes me back to my book no matter where I've been or how long since I've been away from my book as long as I don't shut down my NC.

[N2E] Nook Touch n-button mapping

Just found out can remap n-button by changing "HOME" on the line:
Code:
key 102 HOME WAKE_DROPPED
in /system/usr/keylayout/gpio-keys.kl
Tested can pull out menu by replacing "HOME" with "MENU".
Does anyone know how (if possible) to map to my launcher? Thanks in advance.
Follow-up:
1. It is quite obvious that the power button can also be remapped by changing the line:
Code:
key 116 POWER WAKE
Just tested that and it worked.
2. I use Home Switcher to set the default Home app to my launcher (Zeam). Button Savoir's home button can get me back to Zeam, but the n-button cannot. I've also tried Softkeys, but with no luck. So it appears that the HOME key handler is hard-coded into the kernel (google search seems to say that is an android quirk). A possible hack is to map the n-button to some unused key and then write an app running on the background to handle that key event (or modify /system/app/Home.apk to pass the control to say Zeam if one has the source codes). My android coding is not good enough to do either. Is there any simpler hack? Can we simply change the path of com.bn.nook.home from /system/app/Home.apk to Zeam in /data/system/packages.xml? I ain't brave enough to try that before backing up my current ROM. Also it seems that /data/system/packages.xml gets rewritten from time to time. Any suggestion will be appreciated.
take a look at the source, maybe that can reveal whether its hardcoded or posible with a simple edit.
Progress?
Any progress with n-button remapping to make it act like usual HOME-button?
I don't know how to "Say Thank You" properly, but thank you, nooktouch.
...edit: so, you have to post something before you can thank someone?
Grave digger
Searching old threads... has anyone ever managed to remap the n key?
I'd actually like to use it inside an app (although remapping it in general would be handy too).
Anders
Ummm. This is the nook color forum. Not the nook touch forum.
Sent from my NookColor using xda app-developers app
---------- Post added at 06:26 PM ---------- Previous post was at 06:25 PM ----------
Oh, this is a REALLY old post. Nvm.
Sent from my NookColor using xda app-developers app

Categories

Resources