• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps external software service keyboard for android

Mamonetti

Lurker
Hello

I'd like to create a software keyboard so that other apps can use it. The way i see it as long as it's 'other app' (from the client's side) it should be registered as a service.

From the client app point of view it should look for the external keyboard service, and, if available, get the reference to it, try to get the Keyboard offered by the service and use it for its KeyboardViews.

And the questions:
- Does it make sense? I know in theory it should work, but i'm not sure whether this is the right approach.
- What about having different apps using the Keyboard at the same time? should i need something like a pool of Keyboards, one for each client?
- Is there any way to set the role of the service when you register it (a way to say 'this is a KeyboardService') in order to make it easier for the clients to search for the available Keyboard services?
- From the security perspective, is there any way to probe that this service is the one i was looking for, instead of a fake one?
- What if the service is stopped and one of the clients has the Keyboard visible? somehow i should notify the app if i'm going to destroy this item.

Regards
 
Back
Top Bottom