Description

A very simple and lightweight extension that allows you to access Android's native software keyboard; show it, hide it, retrieve input text, set text, and handle the clipboard.

An example showing how to use the functions is included, along with the extension, ready to be included in any project.

IMPORTANT: Use Min SDK version 11 or above to fix LINT errors within GMS! (Global Game Settings > Android Tab > Min SDK = 11)

Functions:

  • keyboard_show(type) *
  • keyboard_hide()
  • keyboard_get_text()
  • keyboard_set_text(string)
  • clipboard_get() **
  • clipboard_set(string) **

* allows to set the type of the keyboard; KEYBOARD_TEXT, KEYBOARD_EMAIL and KEYBOARD_NUMBER

** GMS already has clipboard functions, but they are only for Windows, so this adds them for Android as well.

This extension is in continuous developement, so any bugs, suggestions, wishes or ideas are welcome and reviewed asap!

End User Licence Agreement (EULA).

Required Modules

Android Export

Changes in 1.0.5

Fixed errors that prevented from compiling the extension Use Min SDK version 11 to fix LINT errors within GMS! (Global Game Settings > Android Tab > Min SDK = 11)

Version 1.0.5. Published March 4, 2016

Created with GameMaker: Studio v1.4.1749

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Matthew M 29 November 2016

Throws uncaught exceptions

When trying to bring the keyboard out to input a name for highscore the debug just keeps saying 11-29 15:07:32.280 31660 31685 I yoyo : Exception thrown trying to call method showKeyboard on KeyboardExt. At least it was cheap.


Gravatar

Francis N 20 October 2016

No Example in the package.

Hi Manuel,

There is not any example in the package, the download brings only the .gmez package.

Could you please upload an example again?

Thanks!


Gravatar

Tobias T 28 September 2015

doesnt work...

It doesnt work, the example doesnt work, no keyboard is coming out....

This review was left for a previous version of this asset.

Logo

Manuel Etchegaray (Publisher) 04 March 2016

Sorry for the late back, the extension is now fully working again!


Gravatar

omid g 12 July 2015

work perfectly ....

use keyboard_show(KEYBOARD_TEXT) and keyboard pop out . if you want to type faster just change alarm[0]=4 inside alarm[0] event.
please check the code, after keyboard hide and pop up again, delete key not work at all. i think extension loos focus.
way you did not answer at all ?
nicely work,

This review was left for a previous version of this asset.


Gravatar

Anonymous 25 April 2015

Doesn't work.

Crash after few seconds.
Debug window repeatedly returns the "Can't find argfree method on extension class:null" error.

This review was left for a previous version of this asset.


Gravatar

Fabio B 16 April 2015

PROBLEM

This doesn't even work, doesn't show anything.
Fix it or i want my money back.

This review was left for a previous version of this asset.


Gravatar

antonio s 09 April 2015

Problem

Hello, when I try to run the example, I have the following errors:
I/yoyo (15946): No Init method found on extension class:KeyboardExt returned
....
....

I/yoyo (15946): Keyboard Hide
I/yoyo (15946): Can't find argfree method on extension class:null

I'm working with v.1.4.1474 version of gamemaker and Android SDK Tools version: 24.0.2

I can not find how to solve the problem. What could be happening?

This review was left for a previous version of this asset.


Gravatar

Andreas M 20 August 2015

Works on Kitkat

Mostly use the clipboard function. When the keyboard comes up and then goes down, the menu (back button, home button, menu button) is still visible. Maybe the problem is with the Nexus 7.

Edit: Don't work on Lollipop

This review was left for a previous version of this asset.

Logo

Manuel Etchegaray (Publisher) 04 March 2016

Latest version updated, tested and working on Lollipop.
Cheers!


Gravatar

Yan H 07 September 2014

Great

It's working only if you've compiled the game. On debug modus will not be working. (I think, it's Game Maker fault).

Why 4 Stars? Because It's work only letters input. Digits/Number Input is not working from me. I use Nexus 7 (2012). If this problem is fixed, I'll set to 5 star.

But hey, it's cost only 0,99$! It's very cheap!

This review was left for a previous version of this asset.

What is the issue?

Back to Top