← Back to team overview

ubuntu-phone team mailing list archive

Re: Triggering on-screen keyboard with HTML5 SDK

 

I've got a kludge in place right now that seems to properly trigger the OSK when needed without messing things up on the desktop. The ugly details are here: https://github.com/rschroll/crosswords/commit/e714295baff5232b9bc6bcd7fcb621f4e09a8ca5

But the RuntimeApi looks like it could be very useful.

Thanks for the heads-up,
Robert


On Thu, Apr 3, 2014 at 10:33 AM, Alexandre Abreu <alexandre.abreu@xxxxxxxxxxxxx> wrote:
I thouhgt you might be interested,

On Tue, Mar 25, 2014 at 9:43 AM, Robert Schroll <rschroll@xxxxxxxxx> wrote:
That might work, but it'd be mildly annoying both to program and to use. I also don't know how to detect whether the user has a physical keyboard, ...

The runtime-api javascript binding for HTML5 apps has now been released (along w/ the new content hub one) and offers something for this

http://developer.ubuntu.com/api/html5/sdk-14.04/RuntimeApi.RuntimeApi/

geInputMethodName




References