How to enable stylus pointer in on-hover event? - Android TV General

I have Uggos X4Q tv box with Android 11 and Deco LW pen tablet connected by USB to it. When I move stylus over any menu items, I can see changes of this items (lighting), but no pointer cursor. Cursor visible only when I touch pen to tablet. In some apps I can configure displaying pointer when stylus in sensor range of tablet but not touching it (hover event, I think). But it work only inside app. How to change behavior of stylus pointer across OS? I would like to make stylus pointer behavior like classic mouse pointer. May be exist some OS settings to force it. I have a root rights in OS. Or may be exist easiest way to do this by writing app or driver for it? I mean, simple logic in selected API methods, etc.
Please, help.

Related

Mouse Cursor

Does anybody know if there is a way to programmatically display and move a mouse cursor on PocketPC's?
I originally understood that the only supported cursor for PocketPC is the "wait" cursor, but it MUST be somehow possible as there are Bluetooth mice around that give you the desktop look and feel of a mouse cursor.
Just a hint where to look would be very much appreciated...

Mouse Cursor hover over

Hi!
Is there a tool for the HD2 which allows to have a mouse cursor that works together with a browser (e.g. Opera)? Especially one that supports "mouse over" / "hover" effects on websites. Some Websites like mobile.de have picture galleries, which always shows the picture you're currently hovering your mousecursor over it's thumbnail. I don't realley care so much for the cursor itself. I'd just like to know if there is a possibility to raise this "mouse over" / "hover over" event with our phone...

[Q] SOFT-TOUCH Gamepad Buttons with Honeycomb 3.1, any dev ?

i never coded for android before, so i thought it's best to get into this forum here.
i just coded some homescreen stuff like quick wlan on/off for win mobile 6.1 so far, directx9, c++, and several scripting languages.
the IDEA i got is the following:
you are playing a flash game, but on a tablet with android 3+ you ain't got no arrow buttons or other buttons to play these games. so you can't play them or only play games that rely on left mouse click buttons or got their own soft touch gamepad in-game.
so all you need, is a configurable SOFT TOUCH GAMEPAD BUTTONS app that stays in front of all applicationsif you enable it in the taskbar.
fire up a browser flash game and enable the softtouch gamepad via taskbar.
on the left you got a 4way-arrow-key interface (looks half transparent like a 4-way gamepad buttons), on the right you got 2 or 3 soft touch buttons (also half transparent white).
settings for this app are complete keyboard bindings to all keys (4-way digi buttons left screen, 2 or 3 action buttons on the right).
v2:
second version of this app would include real usb gamepads to be used (onscreen soft touch gamepad display off), and i saw that android 3.1 has some useful classes and pointers for usb gamepads and joysticks.
"To support joysticks and gamepads, the InputDevice class includes these new input device sources:
•SOURCE_CLASS_JOYSTICK — the source device has joystick axes.
•SOURCE_CLASS_BUTTON — the source device has buttons or keys.
•SOURCE_GAMEPAD — the source device has gamepad buttons such as KEYCODE_BUTTON_A or KEYCODE_BUTTON_B. Implies SOURCE_CLASS_BUTTON
•SOURCE_JOYSTICK — the source device has joystick axes. Implies SOURCE_CLASS_JOYSTICK.
To describe motion events from these new sources, as well as those from mice and trackballs, the platform now defines axis codes on MotionEvent, similar to how it defines key codes on KeyEvent. New axis codes for joysticks and game controllers include AXIS_HAT_X, AXIS_HAT_Y, AXIS_RTRIGGER, AXIS_ORIENTATION, AXIS_THROTTLE, and many others. Existing MotionEvent axes are represented by AXIS_X, AXIS_Y, AXIS_PRESSURE, AXIS_SIZE, AXIS_TOUCH_MAJOR, AXIS_TOUCH_MINOR, AXIS_TOOL_MAJOR, AXIS_TOOL_MINOR, and AXIS_ORIENTATION."
is any android dev at xda able to code this ? should be an easy thing if anyone knows android sdk.
some/if not all of the emulators for NES/etc all have an interface like your description, you could likely pull what you/anyone would need from those (for the first half)
yeah i thought so, there are several games and stuff that already do have this interface, one would just need to code a settings page so android gets specific keypresses.
as i said, i am not into android sdk, and it would take me quite a month or more to get into that and will have problems at start to code that.
if any dev is into android sdk, please help.

Position of InputMethodService (Keyboard)

Hello, I am developping a custom soft keyboard following this samsung tutorial.
http://developer.samsung.com/android/technical-docs/Implementing-a-custom-input-method
The default position of the keyboard is at the bottom of the screen (see bottom.png)
I want to allow the user to set the position of the keyboard.
Since the user can use his finger to draw letters, it would be more ergonomic (on a tablet) to put the keyboard to the left side of the screen. (see left.png)
I've made a little research and I don't find anything that could help me.
On android developper, they say this:
In the implementation provided here, all of these elements are placed together in a single window managed by the InputMethodService. It will execute callbacks as it needs information about them, and provides APIs for programmatic control over them. They layout of these elements is explicitly defined:
- The soft input view, if available, is placed at the bottom of the screen.
Click to expand...
Click to collapse
Does that mean I can't do it?

[SOLVED] DEX virtual keyboard without dex docking station

I know threads about enabling DEX [1][2]. I have enabled DEX already by rooting with TWRP and using NOX kernel [3].
But when I connect phone with a third party dongle or even with original Samsung (non-dex) usb-c hub, things work except for the virtual on-screen keyboard. When I click the keyboard icon at the bottom the keyboard only appears on phone but never on external display. This same thing happens on my S9 where DEX works OOB with any dongle. Changing physical keyboard setting to enable on-screen keyboard even with phy keyboard present does not help.
So I'm thinking that virtual keyboard also needs some modification to appear on external display when non-dex dongle is used. Anybody has any idea what would need to be modified? Any pointers?
Thanks!
[1] https://forum.xda-developers.com/galaxy-s8/how-to/wip-samsung-s8-dex-dex-station-t3605933
[2] https://forum.xda-developers.com/galaxy-s8/help/dex-dock-t3588936
[3] https://forum.xda-developers.com/showpost.php?p=82691593&postcount=397
My bad. If I open settings through DEX there is "DEX settings" and then keyboard/input settings where one can choose location of virtual keyboard - DEX screen or phone screen.

Categories

Resources