[F/OS] PointerTools - for Pointer Accessibility

🖱️ PointerTools

to work with Pointer accessibility feature added in Android SDK version 24

You can use this extension to add support for pointer ( Mouse and Androidx86/Emulation ). I personally needed this extension to enable visual feedback on hovering views/components while working on Androidx86.

📽 Demo Video to see how it works


🧩 Blocks

❔ Example Usage

↖️ PointerIcon

component_method

view ~ Any view component
pointer ~ Pointer ( 3 available methods returns pointer )

component_method(1)

Returns Pointer
type ~ Pointer Icon Type ( 23 available property blocks )

component_method(2)

Returns Pointer
image ~ bitmap image
OffsetX and Y ~ Int ( number )

component_method(3)

Returns Pointer
view ~ Get pointer icon of the view if already set.

component_method(4)

view ~ Reset to default pointer icon.


🔤 Tooltip

component_method(5)

view ~ View to set tooltip text.
text ~ String to set as tooltip text

component_method(6)

Returns text
view ~ View to get tooltip text from.


↔️ Pointer Types


component_set_get

component_set_get(1)

component_set_get(2)

+ 19 more available pointer types

component_set_get(3)

component_set_get(4)

component_set_get(5)

component_set_get(6)

component_set_get(7)

component_set_get(8)

component_set_get(9)

component_set_get(10)

component_set_get(11)

component_set_get(12)

component_set_get(13)

component_set_get(14)

component_set_get(15)

component_set_get(16)

component_set_get(17)

component_set_get(18)

component_set_get(19)

component_set_get(20)

component_set_get(21)


📂 Downloads

Extension v1.0 : com.jaxparrow.pointertools.aix (7.6 KB)

Demo App :
PointerTest.apk (5.2 MB)

Demo Project :
PointerTest.aia (63.4 KB)


ℹ️ Open-source and credits

This extension is open-sourced and you’re free to contribute and make this extension even more better.

Thanks to Shreyash for his super Rush.

Extension documentation inspired from Yusuf Cihan.

15 Likes

Wow. Fantastic… :+1::+1::+1::+1:

2 Likes

Nice extension @Jaxparrow :+1:

1 Like

Awesome work :heart:

1 Like

There i’s no effect show

1 Like

I am almost sure that it only works if you have a Mouse connected to your device, for example via OTG or Bluetooth :thinking:

2 Likes

This effects only apply to the pointer ( cursor ). You can see the pointer icon change if you test with a mouse plugged/connected or in androidx86.

1 Like