Client doesn't detect input in background mode

Discussion about DroidMote Client
Kekskruemel
Posts: 10
Joined: Wed Oct 09, 2013 5:04 am

Client doesn't detect input in background mode

Post by Kekskruemel »

Hi zulu,

thx for your work with DroidMote.

The Client works without any problems on the NVIDIA Shield for me.

But if the app enters background mode because I want to start splashtop or Nvidia Shield streaming the app doesnt detect input.

Did I miss something here ?

If not, do you plan do add background support for root devices or via IME ?

Thx & Greetings
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: Client doesn't detect input in background mode

Post by zulu99 »

DroidMote Client is made to control another android, windows or linux device.

This is not possible when the client go in background. The only way to do this, is if you have an android os that support multi-windows, like in this video:




A suggestion for you: Your NVIDIA Shield in combination with droidmote client, is perfect to control an android mini pc, or windows pc or linux pc. You can use also the controller of your NVIDIA Shield in all this OS.
In future we can thing to add IME solution for background.
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
Kekskruemel
Posts: 10
Joined: Wed Oct 09, 2013 5:04 am

Re: Client doesn't detect input in background mode

Post by Kekskruemel »

Thx for the reply.

Yes it's for controlling other devices.

But it's working perfectly for using the shield as controller in non supported streamed games.

Only the background function is missing :/

So no plans for this ?
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: Client doesn't detect input in background mode

Post by zulu99 »

In the future I can try with a custom IME if it is possible, for sure not root on client.
Thanks for your suggestion.
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
Kekskruemel
Posts: 10
Joined: Wed Oct 09, 2013 5:04 am

Re: Client doesn't detect input in background mode

Post by Kekskruemel »

Ok thx for your feedback and help.
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: Client doesn't detect input in background mode

Post by zulu99 »

From the version 3.5.0 of the Client you can forward to the servers the commands of hardware controllers also when the client is in background.
To do that i added a custom ime that grab only controllers commands and can send to local server or remote server.

From now you can use the client also in this scenarious:

1) Client and Server on the same device. You must enter manually the local address 127.0.0.1 in the client. Select the droidmoteIME and you can play with touch profile of droidmote also if you don't have another android device.

2) You see the game that is running on windows with a tool like splashtop on your android device having the droidmote client in background that through droidmoteIME grab the hardware controller attached to your android device and send to the windows droidmote server. In this way you can play all your favorite windows games (multitouch and normal) also on your android device, with your preferred hardware controller attached to your android device.

To switch between the IME you can longpress on the keyboard icon of the client or in any text edit box of any app or long press on space bar of android keyboard.


THIS FUNCTIONALITY WORK ONLY IN API LEVEL 17 AND UP (client tested on cyanogenmod 10.2)
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
Kekskruemel
Posts: 10
Joined: Wed Oct 09, 2013 5:04 am

Re: Client doesn't detect input in background mode

Post by Kekskruemel »

Hi zulu,

thx for this super fast update.

The function works quite well for me.

But it doesn't detect all keys in background for me on my Nvidia shield.

In Background the 2 analog sticks, dpad and 2 of the triggers doesnt work.

Maybe you have a tip for me ?

Thx & Greetings

EDIT: If the Keyboard is selected and the app running in foreground all is working fine
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: Client doesn't detect input in background mode

Post by zulu99 »

Kekskruemel wrote:Hi zulu,

thx for this super fast update.

The function works quite well for me.

But it doesn't detect all keys in background for me on my Nvidia shield.

In Background the 2 analog sticks, dpad and 2 of the triggers doesnt work.

Maybe you have a tip for me ?

Thx & Greetings

EDIT: If the Keyboard is selected and the app running in foreground all is working fine
look the new 3.5.1 version. in 3.5.0 thare is a bug. i removed that.
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
Kekskruemel
Posts: 10
Joined: Wed Oct 09, 2013 5:04 am

Re: Client doesn't detect input in background mode

Post by Kekskruemel »

Thx for the reply.

Not yet in the german or us store for me. Waiting xD
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: Client doesn't detect input in background mode

Post by zulu99 »

Kekskruemel wrote:Thx for the reply.

Not yet in the german or us store for me. Waiting xD

i uploaded it 10 minutes ago. you will see it in 1 hour.
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto