Related
We need to figure out a way to customize the genius button. It would be a great service to everyone, especially if it doesn't require root.
I looked at logCat, and I see that the button fires up the following intent:
Code:
{ flg=0x10000000 cmp=com.nuance.android.vsuite.vsuiteapp/.VSuiteStartSession }
I'm not quite sure how to create an intent handler for something that doesn't have an action or a category. I even created a test app that matches the intent above exactly, but only the stock genius app launches, and I'm not given an option to choose my default handler for the action. I don't think there is a key handler to intercept either. Any ideas
You know, I was thinking about this all morning (eventhough I don't have the device). Back in the day we remapped functions for certain keys (as g1 didn not have search key of any kind). Can someone go into /system/usr and look what's in there? I believe we are looking for keylayout folder. In that folder we should have some .kl files. They named different from device to device (using Cliq now and they are all named MorrisonXXXXX.kl). Look through those files and find genious button function. From there it should be very easy to change it to google search (or voice search) but substituting the function and pushing the file back in its location. I would have no problem doing it but as I said, I don't own the device myself.
Couple more option (highly unlikely to work):
Clear defaults in Genious app
Freeze Genious app
I don't see those working but who knows... we may be able to assign new default after doing this.
kl files
Here are the files from /system/usr/keylayout
Looks like the correct entry is in glacier-keypad.kl, but it is mapped to a "search" function.
Not sure it will help, but I'd love to see search there instead.
I don't mind the genius button, it actually works fairly well the more you use it. However, I don't like that it disables the search button.
It should be single press for search, long press for genius.
That would be perfect.
rjgii said:
Here are the files from /system/usr/keylayout
Looks like the correct entry is in glacier-keypad.kl, but it is mapped to a "search" function.
Not sure it will help, but I'd love to see search there instead.
Click to expand...
Click to collapse
Ok, I'm at work so I can't really do anything with this but I will look into into it later, when I get home. You are correct, it's in the glacier-keypad.kl. Unfortunately, it's set to the same thing as regular search i.e. In G1 we used to set it to SEARCH as well but it would bring up regular search.
I will try to PM GeniusDog (the guy who figured out how to remap keys) when I get home to see if he can give me some insight on this.
Did anyone try to freeze (disable) Genious app to see if it releases G key to regular search?
We should also contact ChiefzReloaded, he would know how to do it since they put CM on Slide which did have Genious on it to begin with.
Ok, so I guess this is a little different then the Slide. Slides G key was mapped to FUNC_4. Our G key already mapped to SEARCH, its just that Genious overtakes it. I twitted Eugene_73 to see if he could help, he was the brain behind Slide's development in this area.
If its helpful to anyone, holding down the menu button will bring out search keyboard. I really wish the would give us a option to chose from the voicesearch ¦,/
Sent from my HTC Glacier using XDA App
borodin1 said:
Ok, so I guess this is a little different then the Slide. Slides G key was mapped to FUNC_4. Our G key already mapped to SEARCH, its just that Genious overtakes it. I twitted Eugene_73 to see if he could help, he was the brain behind Slide's development in this area.
Click to expand...
Click to collapse
Hmm...what about mapping it to a function key (like on the G2) and then assign whatever action we want to that function key? I will try that out as soon as I get some free time.
Alright, so I tried modifying the key layout file on my G2 (vision-keypad.kl) just to test the process and I am not allowed to make any changes. Just get a "Read-only file system" response. I'm sure it would be the same for the MT4G. Anyone have ideas on what else to try? I really want to find a solution without rooting, but any solution would be a good start.
root
We have root now, so we should be able to modify the key mapping files.
If I find any time today I'll give it a shot.
rjgii said:
We have root now, so we should be able to modify the key mapping files.
If I find any time today I'll give it a shot.
Click to expand...
Click to collapse
Great. You will probably have to remount the system partition like this before you can write to it:
su
mount -o remount, rw /system
Oh how I hate that genius button..I would absolutely donate immediately for an app to remap it to search. That would be amazing.
Sent from my HTC Glacier using XDA App
Did anyone try to uninstall (disable) Genious app yet? Since the G key mapped to SEARCH already, this may release it to actuall Google search.... just thinking out loud
I froze it last night. No response from the G button after that.
21productionz said:
I froze it last night. No response from the G button after that.
Click to expand...
Click to collapse
LOL...
They really mean "you" in the commercials!
You gotta customize everything..
Sent From The Moon... With a HTC Glacier
I updated my voice search in the market when I first got the phone, and for a time when I pushed the button is would actually give me the option to choose what app handled the action and I could choose voice search. However, after one time choosing the Genius button it never asked again. I wonder if there would be a way to continuously clear the Default so that it always asked.
borodin1 said:
Did anyone try to uninstall (disable) Genious app yet? Since the G key mapped to SEARCH already, this may release it to actuall Google search.... just thinking out loud
Click to expand...
Click to collapse
I disabled dragon dictation and genius, and after holding the button for a couple seconds, my phone crashed and rebooted. Multiple taps on the button seemed to do the same thing. Leaving dragon dictation enabled and genius disabled seemed to be less prone to crashing.
This has been solved in this thread:
http://forum.xda-developers.com/showthread.php?t=836702
I thought this topic might have ever been discussed before.
However, I tried to search the solution in the site but none of any i found. Prob I missed something.
I was tring to override the home button event. What I intended to do is to block the home button event(return back to the main page of default Android) and run my launcher home instead.
For example, if you wanna do the button test application on any android based device, home button needs to be handled.
Eventhough Android official website has announced that the developer is unable to override home button event, I still notice that some developers has completed this activity.
What I found so far is some developers add
<meta-data android:name="android.dock_home" android:value="true"/>
this line into their Androidmanifest and they say that's all they did for blocking the original home page.
I did the same procedure, however, it did not work well on my side.
Probably some of you have the experience on hadling this matter. Please share your experience so that I can follow up to get this issue done.
Any reply is appreciated.
Thanks in advance.
There is an app that remaps keys. perhaps you can take a look at it? You can find it on a post on the desire oxygen rom.
Xda app
You cant override the home button, but you can establish yourself as a replacement for the launcher. If you do that, the user will be prompted with a list of apps that can act as the launcher when they press home
--Please move post if not in the correct section---
As far as I can see so far there is no tool/app/hack to disable the soft keys (mainly the home button) for gaming. I imagine all recent soft key phones (HTC Desire HD, HTC EVO, HTC Thunderbolt) suffer from the problems of accidental pressing the home button and throwing you out of the game, losing all progress.
I am surprised that there is nothing I can find that solves this issue (at least not without sacrificing Sense Laucher) and I'd be willing to bet there would be more people than just me that would be willing to pay for this app or tool if it was to be developed especially with all the great games around.
I'm hoping that making this thread might encourage developers to create some tool or app here that could benefit everyone and hopefully be worth their while.
Here's all I can find so far:
When I look at the Android Developer Website I see reference to to KeyguardManager having privileges to disable the home button...
http://developer.android.com/reference/android/app/KeyguardManager.html
public boolean inKeyguardRestrictedInputMode ()
Since: API Level 1
If keyguard screen is showing or in restricted key input mode (i.e. in keyguard password emergency screen). When in such mode, certain keys, such as the Home key and the right soft keys, don't work.
Returns
* true if in keyguard restricted input mode.
See Also
* inKeyguardRestrictedKeyInputMode()
Click to expand...
Click to collapse
So far I've only come across one good post which modifies the specific application you are running (lets say a game) to act as a launcher and then disabling the home button. Here is the post...
Hi,
I found a way to tackle HOME key. For your application set the manifest as:
<action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.HOME" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.MONKEY"/> Now ur application is an alternate Launcher application.
Use the adb, and disable the launcher application using package manager
pm disable com.android.launcher2.
Now the Home key press will always stay in the same screen.
Click to expand...
Click to collapse
I'm not sure what the best method to approach this. I have only extremely limited knowledge of Android. Okay so if the Sense launcher couldn't be modified to disable the home button and we couldn't make another app which acts as a launcher that simply keeps the current app in focus then it might be messy but what about a tool that remakes all apps & games. What I mean is say (failing all else) a tool that batch modifies all apps you set it to modify with the above script and then sets them as acting as the launcher. The issue with this I can see is this method is that I believe it would mean you would need to resign each app or game. I believe current auto signing tools such as the one posted by Stericson only work for around 70% of market apps. You could push the other 30% of the uninstallable/unsignable apps to the system/apps folder but again I think this whole method might only create ongoing problems such as when there is a newer version of the app released then the process needs to be redone...
My guess is there is a better way. Maybe the KeyguardManager could somehow be engineered to disable the home key or the function it performs could be set to another dummy launcher that sit in the background and just to stop sofkey presses?
Okay i've only just tried this out tonight for a couple of minuted but I think it's problem solved! I've just tried out ButtonMapper as a forum memeber has suggested and what do you know, it works!! So happy!! I'm no longer thrown out of a game by touching the home button!!!
I used ButtonMapper 0.2.4 posted on the XDA forums. I couldn't select nothing for the home key so instead I selected "focus" and this seemed to do the job. Great work!! I must give a donation to the developer.
Great news! Do you have a link to ButtonMapper for those of us on XDA app?
Sent from my Nokia 3310 using XDA App
Sure thing buddy
http://forum.xda-developers.com/showthread.php?t=850464
Is it possible to remap the quicknav keys to go to the adw launcher home, or remap the 'currently reading' icon to go to the adw launcher home?
the nook home or nook search have no use to me - it would be more useful to remap these to adw launcher home or one of the other apps.
this is for NSTGL
you can do it with "Nook Touch Tools" app .
I have NSTGL - Nook Touch Tools doesn't work with NSTGL
at the moment I am using button savior to switch from Nook to ADW - but would dearly love to do away with Button Savior.
ladykayaker said:
I have NSTGL - Nook Touch Tools doesn't work with NSTGL
at the moment I am using button savior to switch from Nook to ADW - but would dearly love to do away with Button Savior.
Click to expand...
Click to collapse
Come on, dude (dudette?).
You didn't even need to search for this one, just to read all the topics on the front page. In your defense...I only achieved this yesterday, and not everything is working, but:
http://forum.xda-developers.com/showthread.php?t=1692290
This dudette is a mom to five kids, ages 3 to 14.
I have read through the entire post you referred to, and am not clear on the steps to be taken.
Can you clarify them for me? I would be most grateful.
ladykayaker said:
This dudette is a mom to five kids, ages 3 to 14.
I have read through the entire post you referred to, and am not clear on the steps to be taken.
Can you clarify them for me? I would be most grateful.
Click to expand...
Click to collapse
LOL, sorry, I just didn't know what to go with there. Everything else sounded old fashioned (ma'am? gal?) - pray don't take it personally
I'm not sure what it is you already know how to do. Do you have adb set up on your computer?
yes - adb is setup and running (and kids are in bed
thanks for your assistance!
My solution was just to modify android.policy.jar so that the "n" button does what a Home button should.
I don't use any "Tools" or QuickNav.
I leave "Last Read" as it was.
I keep planning on making an installable patch for this but never get around to it.
Renata,
Can you explain more fully how to modify android.policy.jar and what you modified it to?
Thanks.
ok I came here because it looks like the most active forum for rooted NST
I just rooted my nook simple touch today and I am really liking it
so far. I got nookmanager to work and installed the GOOGLE apps, opera mobile and button savior and everthing is working
in fact I am using it now.
so far my only gripes besides the slow screen
(which I knew of) are the keyboard is hard to work with
and lacks autocorrect, no easy app switching and
lack of an easy way to switch to landscape display mode.
I know there are other keyboards that can be installed
so I will try those out a little later.
Right now I am most concerned with the screen rotation.
I like to do some things in landscape mode - especally web browsing since many pages are optimized for wider screens.
I am aware the nst lacks an actual orientation sensor but I would like a floating button like button savior provides that would let me select portait or landscape. I did quite a bit of Googling but turned up with nothing.
Does anyone with experience with the nook have any ideas?
Thank you
smeezekitty said:
ok I came here because it looks like the most active forum for rooted NST
I just rooted my nook simple touch today and I am really liking it
so far. I got nookmanager to work and installed the GOOGLE apps, opera mobile and button savior and everthing is working
in fact I am using it now.
so far my only gripes besides the slow screen
(which I knew of) are the keyboard is hard to work with
and lacks autocorrect, no easy app switching and
lack of an easy way to switch to landscape display mode.
I know there are other keyboards that can be installed
so I will try those out a little later.
Right now I am most concerned with the screen rotation.
I like to do some things in landscape mode - especally web browsing since many pages are optimized for wider screens.
I am aware the nst lacks an actual orientation sensor but I would like a floating button like button savior provides that would let me select portait or landscape. I did quite a bit of Googling but turned up with nothing.
Does anyone with experience with the nook have any ideas?
Thank you
Click to expand...
Click to collapse
Well, I can't give you exactly what you're looking for, but I can share a tip.
The .apk file below is the installable app that I use to switch my orientation. I like it because it's minimalistic, and because landscape mode sticks in ALL apps, including B&N. To make an always-available toggle, use Nook Touch Mod Manager (which came pre-installed with NookManager), and make the Screen Rotation Control app launch from whatever button you like. I have it set to launch from long-pressing my top right hardware button, which, of course, is always available. :laugh:
Let me know how it goes!
P.S. I included my favorite keyboard just for fun, so I'd highly recommend it!
thenookieforlife3 said:
Well, I can't give you exactly what you're looking for, but I can share a tip.
The .apk file below is the installable app that I use to switch my orientation. I like it because it's minimalistic, and because landscape mode sticks in ALL apps, including B&N. To make an always-available toggle, use Nook Touch Mod Manager (which came pre-installed with NookManager), and make the Screen Rotation Control app launch from whatever button you like. I have it set to launch from long-pressing my top right hardware button, which, of course, is always available. :laugh:
Let me know how it goes!
P.S. I included my favorite keyboard just for fun, so I'd highly recommend it!
Click to expand...
Click to collapse
Thanks for the orientation app.....works well. Unfortunately although I installed the keyboard app I couldn't enable it as an input method. Just couldn't see "Hacker's Keyboard anywhere".
vanzan said:
Thanks for the orientation app.....works well. Unfortunately although I installed the keyboard app I couldn't enable it as an input method. Just couldn't see "Hacker's Keyboard anywhere".
Click to expand...
Click to collapse
Ah. Here's how to fix that:
Get NookColor Tools if you haven't already. Here's the thread: [APP]NookColor Tools
Install the Hacker's Keyboard.
Then, go into /data/app and find the corresponding file (it will have the "Esc" icon on it).
Copy that file into /system/app.
Reboot your Nook.
Open NookColor Tools and select "Choose Keyboard". Then select "Hacker's Keyboard".
You're done! :good:
vanzan said:
Thanks for the orientation app.....works well. Unfortunately although I installed the keyboard app I couldn't enable it as an input method. Just couldn't see "Hacker's Keyboard anywhere".
Click to expand...
Click to collapse
You have to make sure that it's copied over to the /system folder and then it should show up after a reboot.
OB
Sent from my SPH-D710VMUB using Tapatalk 2
OverByter said:
You have to make sure that it's copied over to the /system folder and then it should show up after a reboot.
OB
Sent from my SPH-D710VMUB using Tapatalk 2
Click to expand...
Click to collapse
Says the guy who doesn't give detailed instructions.
:laugh:
:beer:
Got it!!! Thanks guys.
smeezekitty said:
ok I came here because it looks like the most active forum for rooted NST
I just rooted my nook simple touch today and I am really liking it
so far. I got nookmanager to work and installed the GOOGLE apps, opera mobile and button savior and everthing is working
in fact I am using it now.
so far my only gripes besides the slow screen
(which I knew of) are the keyboard is hard to work with
and lacks autocorrect, no easy app switching and
lack of an easy way to switch to landscape display mode.
Click to expand...
Click to collapse
You mentioned that you have button Savior installed already, just long press the home key to switch to any apps you've already launched, same as any other android it allows you to easily switch apps.
OB
Sent from my SPH-D710VMUB using Tapatalk 2
OverByter said:
You mentioned that you have button Savior installed already, just long press the home key to switch to any apps you've already launched, same as any other android it allows you to easily switch apps.
OB
Sent from my SPH-D710VMUB using Tapatalk 2
Click to expand...
Click to collapse
That'd work, but it is still more handy to have it assigned to a key. Less taps, you know?
I'm working on making the soft status bar "menu" icon into a lock-rotation icon, and then I'm going to assign Screen Rotation Control to it. I'll put the update in my Cool status bar modification thread found in my signature.
thenookieforlife3 said:
Well, I can't give you exactly what you're looking for, but I can share a tip.
The .apk file below is the installable app that I use to switch my orientation. I like it because it's minimalistic, and because landscape mode sticks in ALL apps, including B&N. To make an always-available toggle, use Nook Touch Mod Manager (which came pre-installed with NookManager), and make the Screen Rotation Control app launch from whatever button you like. I have it set to launch from long-pressing my top right hardware button, which, of course, is always available. :laugh:
Let me know how it goes!
P.S. I included my favorite keyboard just for fun, so I'd highly recommend it!
Click to expand...
Click to collapse
Thank you so much!
That oreintation app is about as close to what I want as I could hope for.
I did not know I could remap hardware buttons. that nook mod manager is very useful.
I don't plan to use the stock apps anyway. didn't really care for them.
my primary uses for this is browsing the web outdoors and reading sideloaded books.
I have never used the b&n store since I bought this last month
Then, go into /data/app and find the corresponding file (it will have the "Esc" icon on it).
Click to expand...
Click to collapse
Using ES file explorer, /data/app appears empty
smeezekitty said:
Using ES file explorer, /data/app appears empty
Click to expand...
Click to collapse
Try this:
http://forum.xda-developers.com/showpost.php?p=55243669&postcount=34
OR
Try using Total Commander (which is what I used).
vanzan said:
Try this:
http://forum.xda-developers.com/showpost.php?p=55243669&postcount=34
OR
Try using Total Commander (which is what I used).
Click to expand...
Click to collapse
smeezekitty said:
Using ES File Explorer, /data appears empty
Click to expand...
Click to collapse
Actually, this isn't the same thing. I'd be glad to tell you what DOES work, though!
First thing to do is what is in that post, but then you have to follow these steps, too:
1. Open ES File Explorer.
2. Open the side menu (the icon is near the top right corner; it looks like a phone and a globe).
3. Scroll down till you see the option "Show Hidden Files".
4. Slide/click the slider to the "ON" postition.
5. Close out of ES, restart it, and go to /data. You will see a number of folders there that were hidden before.
thenookieforlife3 said:
Actually, this isn't the same thing. I'd be glad to tell you what DOES work, though!
First thing to do is what is in that post, but then you have to follow these steps, too:
1. Open ES File Explorer.
2. Open the side menu (the icon is near the top right corner; it looks like a phone and a globe).
3. Scroll down till you see the option "Show Hidden Files".
4. Slide/click the slider to the "ON" postition.
5. Close out of ES, restart it, and go to /data. You will see a number of folders there that were hidden before.
Click to expand...
Click to collapse
Yes apologies I got mixed up. IIRC Total Commander showed the system files without any configuration needed so I was half right!!
May I ask what version of ES File Explorer people are using? The latest (v3 I think) crashes on me whereas 1.5 is fine but I don't see the icon in the top right mentioned.
vanzan said:
Yes apologies I got mixed up. IIRC Total Commander showed the system files without any configuration needed so I was half right!!
May I ask what version of ES File Explorer people are using? The latest (v3 I think) crashes on me whereas 1.5 is fine but I don't see the icon in the top right mentioned.
Click to expand...
Click to collapse
Ah, I see. Sorry to burst your bubble. :laugh:
Lemme go check what my version is. By the way, the icon only appears in the top-right corner area when the app is in portrait mode - when in landscape, it appears in the exact middle-right area!
EDIT - I'm using ES v3. Strange that it crashes on you.
The first and until about 2 years ago, what I thought was the best file manager was ES file explorer, however since then I've been using Root Explorer and in my opinion is about the best and easiest on the Android platform, no complicated setup or configuration, just click on the top for full r/w access anywhere.
OB
Sent from my SPH-D710VMUB using Tapatalk 2
vanzan said:
Try this:
http://forum.xda-developers.com/showpost.php?p=55243669&postcount=34
OR
Try using Total Commander (which is what I used).
Click to expand...
Click to collapse
Thanks!
Works great
I find that Jellybean keyboard works fairly well except I hate what it does with the full screen text field.
The hackers keyboard works pretty well although text correction doesn't seem to work. Also the key popups leave eink ghosting.
Has anyone gotten copy and paste to work on NST? I can copy in Opera Mobile but cannot paste because long pressing
the text field does nothing.
smeezekitty said:
Thanks!
Works great
I find that Jellybean keyboard works fairly well except I hate what it does with the full screen text field.
The hackers keyboard works pretty well although text correction doesn't seem to work. Also the key popups leave eink ghosting.
Has anyone gotten copy and paste to work on NST? I can copy in Opera Mobile but cannot paste because long pressing
the text field does nothing.
Click to expand...
Click to collapse
Could you post the Jellybean keyboard?
I don't use text correction - I prefer to correct it myself so that I spell everything right without cheats! :laugh:
And yes, I have gotten Copy/Paste to work. HOWEVER, it only works if you touch and hold on a text box (with text in it) when it's not selected.
thenookieforlife3 said:
Could you post the Jellybean keyboard?
I don't use text correction - I prefer to correct it myself so that I spell everything right without cheats! :laugh:
And yes, I have gotten Copy/Paste to work. HOWEVER, it only works if you touch and hold on a text box (with text in it) when it's not selected.
Click to expand...
Click to collapse
Hard to imagine no autocorrect is worse than having it but it is. Its not because I cannot spell but rather because
I often hit the wrong key on such a small keyboard and it is a pain to back up.
Jellybean keyboard is here: play <dot> google <dot> com/store/apps/details?id=com.jlsoft.inputmethod.latin.jelly.free (Link restriction )
Or I can post an APK
smeezekitty said:
Hard to imagine no autocorrect is worse than having it but it is. Its not because I cannot spell but rather because
I often hit the wrong key on such a small keyboard and it is a pain to back up.
Jellybean keyboard is here: play <dot> google <dot> com/store/apps/details?id=com.jlsoft.inputmethod.latin.jelly.free (Link restriction )
Or I can post an APK
Click to expand...
Click to collapse
Ah, I see. Makes sense. By the way, there is a setting to turn off key popups (avoid bad ghosting). Click the on-keyboard settings icon, then click "Settings for Hacker's Keyboard". Customize your keyboard there.
Could I please have the APK? I don't have gApps installed on my Nook (by choice).