Is there any way to make the browser or any browser to be able to double click a web page. My work website requires double click but double tapping obviously changes the focus in android. Yes, the work website is a joke but that's besides the point.
Someone was able to write a program for iphone to do this but they won't for android. They are fanbois so no dice.
If it uses the ondblclick event then you may be able to use Opera Mobile. If you use arrow keys or a dpad in Opera it will display a cursor. You can click using enter or pressing the dpad. I used sample code from this page and was able to get the ondblclick event to work in Opera Mobile by using arrow keys to center Opera's cursor over the element and then pressing enter twice.
But this method would require a phone with a physical keyboard or dpad unless there is a way to force a software keyboard to appear. Then you could use something like Hacker's Keyboard which includes arrow keys.
Related
Does anyone know if it would be possible to write an app that would re-map the nook "n" (home) to open up a small popup, that would give access to all four of the main android buttons? i.e., home, back, menu, search. (similar popup to the long press home to 'recent programs' list that android has), maybe even adding the recent programs too?
That way we could still get home, but it wouldn't be impossible to use standard android programs because of the lack of hardware keys.
I loaded "Alidko," which works great, but once I open a book, I have to read the whole thing to get back to the main app screen since there is no 'back' button.
EDIT:
Someone made it
http://forum.xda-developers.com/showthread.php?t=860153
I am an iOS coder, but, looking at the docs, not only does this appear possible, it doesn't look like it would be too difficult for an android coder that knows their way around.
I believe the right thing to do would be, in order of preference/elegance:
1. Have a "long press" on the nook/home key expose the status bar via a "service" that listens for and captures this even
2. Have a "long press" on the nook key display a window that shows a set of "soft keys"
kaicherry said:
I am an iOS coder, but, looking at the docs, not only does this appear possible, it doesn't look like it would be too difficult for an android coder that knows their way around.
I believe the right thing to do would be, in order of preference/elegance:
1. Have a "long press" on the nook/home key expose the status bar via a "service" that listens for and captures this even
2. Have a "long press" on the nook key display a window that shows a set of "soft keys"
Click to expand...
Click to collapse
A solution was posted here:
http://forum.xda-developers.com/showpost.php?p=9556837&postcount=1 to remap the volume keys. Although not as elegant as an app would be, it works great. I have my volume up key remapped to "MENU" and volume down as "BACK".
In Aldiko it works perfectly.
That is a good temporary solution, but I would personally not like to loose the volume functionality.
Anyone think they could make a pop-up like that? I am not sure how hard it would be to make the pop-up send the 'softkey' to the other app and not just close itself (i.e., back)...
Answered!
http://forum.xda-developers.com/showthread.php?t=860153
Hello, I do hope I'm in the correct section. There doesn't seem to be an explicit "Dumb Non-Programmer Questions" area, so if I'm somehow in the bad, my apologies.
Anyway, I was wondering if it it was possible to have an app which reassigned hardware buttons to presses on the touchscreen. So that, whenever you pressed, say, Search, the phone would act as if you pressed area XYZ on the touchscreen.
It originally came to me when I was reading about the Nook Touch, and everyone trying to get support for hardware buttons added. Well, considering most of the ebook readers seem to support taping the side of the page to turn, why not just assign the hardware buttons to one of those areas?
I began researching and found there isn't really anything which does that on Android, or on much anything, really. So I'm more curious then anything now; is it something that just isn't really feasible or possible with the Android SDK, or it is more of a solution in search of a problem that no one's found a reason for?
Lets say you have a button and you want that button to simulate a menu key press you can send key presses via adb and the shell
Runtime.getRuntime().exec(
"adb shell input keyevent 82")
Where 82 is the keycode for the menu key. So i suppose that any hardware key that has a code associated with it could be mapped to a screen press
From something awesome
Er, lemme rephrase the question.
I mean, is it possible to make a hardware button replace a press on the touchscreen? For instance, in the Kindle app, tapping the right third of the screen turns the page. Can I assign the search button, for instance, to replicate my finger tapping the right side of the screen to turn the page?
You can't. But the developers of the application should be able to do this by overriding onKeyDown method (except for the home button which I believe can't be overridden).
Oh bother.
Well, thanks for the replies. I was hoping there might be some method, since it'd make developing for the nook touch easier, but I'm guessing it's not something that's needed more then rarely.
I can't understand why it is so hard or impossible, it is very easy to do on almost every other os. Can't one just assign a button to a mouse click on screen coordinates?
I am asking because it would be awesome, to assign a wii remote button to a mouse click and then play games like Asphalt 6 or so, that don't support hardware keyboard, with a remote controller.
yup, i have the sae question as well. My intention was to play android games which doesn't require accelerometer using wiimote/classic controller.
If you get the app source code or if you are good at smali, you can
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
so the subject line says it all. whenever i am browsing a webpage with the keyboard dock, i use two fingers on the trackpad to scroll the page up and down but it sporatically zooms in and out (since the pinching gesture is similar). is there a way to scroll using the trackpad gestures without having the page go all wonky? many thanks!
I believe that you can touch twice in quick succession to activate a gesture paramount to holding an appendage to the screen of your device. After doing the aforementioned actions, slide your appendage across the trackpad to trigger the device to recognize a swipe.
jdeoxys said:
I believe that you can touch twice in quick succession to activate a gesture paramount to holding an appendage to the screen of your device. After doing the aforementioned actions, slide your appendage across the trackpad to trigger the device to recognize a swipe.
Click to expand...
Click to collapse
hey thanks for the quick reply.. what im moreso looking for is how on my macbook, i could drag two fingers vertically over and over and the page itself would scroll but the cursor would stay in the same spot on screen. the method you gave me moves the cursor with the page so its close but not quite what i was looking for
thanks though, any other ideas?
Hi guys, not sure how many people this will help but hopefully it will help a few.
I have a Harmony Smart Control which I used as my universal remote, it connects to the NP fine but I had a problem that whenever I tried to search for something in a Google app using the remote the keyboard would disappear. Did a search and Logitech said this was a limitation of the NP as the harmony acts as a bluetooth keyboard. Like I said don't know how many people this will help, but I've managed to get around it.
You need to be rooted and have Xposed installed, a mouse is required for the initial setup too.
Once you have Xposed install an app from the repo called Xposed Additions.
In the app scroll down and select buttons, then add new key. Click Allow External Devices and choose them all.
Hit the OK button on the Harmony remote (or whatever the equivalent is on which ever remote you're using) and the app will pick it up, then you need to click ok with your mouse to save the key.
Then select the key you just saved, it should be called Enter, the click Add new condition and choose screen on.
Then click the condition, choose the click option and find DPad Center.
Now the button will act as the official remotes select button rather than and enter button and you can use it in the google keyboard.
You can also use it to remap other buttons as well to add menu functions etc.
The app also offers lost of customisations such as long presses of buttons amongst other things so it's definitely worth checking out even if you don't need to fix any buttons!
Hope this helps someone!
hi, I use a bluetooth mouse with my tab s3 as it's easier for me being disabled, everything works great except I can't move a webpage by clicking and holding the mouse button like I can in samsung internet, I would like to use chrome but this is stopping me, pages scroll when using the scroll wheel but I would find it easier to just click and hold mouse button to scroll page, what can I do