3

I know there is a similar question here: Moving mouse pointer on Android screen programatically but it doesn't seem to answer my needs (particularly because the answer was "not possible"!)

My client has an Android phone which is connected via some sort of bluetooth dongle to a wireless keyboard/trackpad. This is all working fine and I have written some software to react to keypresses. The problem is that the client is NOT interested in seeing a mouse cursor on the screen (this particular keyboard will have all except a few buttons covered up and will function as a remote control, the trackpad is inaccessible so the pointer sits in the middle of the screen uselessly).

So - is there any way for my app to get rid of the visible mouse pointer (either just for itself or for all cases, I don't care - this app is the only thing they want running on the phone). If I can't hide it can I move it to a corner, or can I change it to look like a plain white box instead of an arrow, or something else?

Any ideas would be greatly appreciated

Thanks

Community
  • 1
  • 1
Kibi
  • 1,860
  • 1
  • 29
  • 39

1 Answers1

1

So - is there any way for my app to get rid of the visible mouse pointer (either just for itself or for all cases, I don't care - this app is the only thing they want running on the phone). If I can't hide it can I move it to a corner, or can I change it to look like a plain white box instead of an arrow, or something else?

All of this may be possible with custom firmware. None of this is possible via the Android SDK.

You may be better served simply by replacing the "wireless keyboard/trackpad" with one that does not have a trackpad.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • Thanks Mark. I know I'm being annoying, but *none* of it? Not even changing the cursor appearance? Someone suggested (verbally) pairing a second BT mouse and moving the pointer with that - it's just for a demo, so it has to look good not be super smart code - the final product would I suppose get around the problem by not having a trackpad like you said. – Kibi Oct 31 '11 at 14:40
  • @Kibi: "I know I'm being annoying, but none of it? Not even changing the cursor appearance?" -- Android does not have a mouse pointer, insofar as the SDK is concerned. – CommonsWare Oct 31 '11 at 15:20