How do I bring up android keyboard?

Get help using Construct 2

Post » Wed Jan 14, 2015 3:54 am

I'm sure I'm being a total dunce here, but I can't figure out how to call up the internal android keyboard and fetch input from it. I assumed the keyboard object would do this, but it says specifically that it won't.

Help?
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Wed Jan 14, 2015 4:25 am

Trick solution, create a textfield, then make it invisible or zero opacity, create a button or something to trigger javascript to do focus(); textfield that can pop up keyboard in iOS and Android devices
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Thu Jan 15, 2015 8:39 am

This sounds like a good solution, though I haven't had a chance to try it yet. Thanks, Joannesalfa.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Mon Jan 26, 2015 5:05 am

Just to bump this, I also found this great tutorial by @Fronne:

https://www.scirra.com/tutorials/1153/m ... ces/page-1

It is a combination keyboard/leaderboard tutorial. The great thing about this is that you can change the keyboard graphics to whatever you want, so that it'll fit the style of your game.

Anyway, just figured this might be useful for anyone who stumbled on this thread later on.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, MadSpy, MaxxMunnn, Uk4dee and 37 guests