Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Text Input has no keyboard in Android device

Author
Message
mindsclay
12
Years of Service
User Offline
Joined: 1st May 2012
Location: Rocklin, CA, USA
Posted: 10th Oct 2013 19:08 Edited at: 10th Oct 2013 19:10
I performed a search for this and found a couple posts of the same problem, but they were closed with no resolution.

Documentation states:
Quote: "
If a virtual keyboard is required for text entry on this device then it will be displayed over your app.
"


The only way I can enter text into my Nook is via virtual keyboard. But nothing pops up using the code taken from the documentation. Below is a function I am using based upon the documentation example.

version 108 beta 19



www.mindsclay.com
lucifermagus.mindsclay.com (not working with Firefox)
mindsclay
12
Years of Service
User Offline
Joined: 1st May 2012
Location: Rocklin, CA, USA
Posted: 10th Oct 2013 19:16 Edited at: 10th Oct 2013 19:17
I tried it again and I did see a keyboard pop up, but it did not stay up. Then it came back again, but typing produced no characters.

Seems there is more to this than the documentation example reveals...

www.mindsclay.com
lucifermagus.mindsclay.com (not working with Firefox)
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 10th Oct 2013 19:25
Does it work if you try just this as the whole program (not in a function):


I am guessing that you are broadcasting to a Player. Is that correct?

I tested the above broadcasted to three different Android devices (Samsung Galaxy S III, Kindle Fire HD 7 and Nexus 7) and it worked fine.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 10th Oct 2013 19:31
I've unfortunately, had a number of problems with keyboards on Android devices. They're often sporadic and seem to only happen on certain devices. What we really need are some better keyboard commands for mobile, like ShowKeyboard / GetIsKeyboardVisible / GetKeyboardHeight (or effective screen height when keyboard is displayed).
I'm really hoping these will be solidified in v2 or upcoming releases.

mindsclay
12
Years of Service
User Offline
Joined: 1st May 2012
Location: Rocklin, CA, USA
Posted: 10th Oct 2013 19:57
It is working by itself. But if I can't use it in a program that prety much kills my project.

www.mindsclay.com
lucifermagus.mindsclay.com (not working with Firefox)
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 10th Oct 2013 20:07
How were you using the function? That might be where the problem was.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 10th Oct 2013 20:12
I found it best to use the Editbox commands rather than the text input commands when trying to get text input from a user. They are a little more involved, but its well worth getting to grips with them.

mindsclay
12
Years of Service
User Offline
Joined: 1st May 2012
Location: Rocklin, CA, USA
Posted: 10th Oct 2013 20:30
How am I using the function? I am calling it when I need input. It has its own loop so nothing else happens until the loop is exited.

www.mindsclay.com
lucifermagus.mindsclay.com (not working with Firefox)
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 10th Oct 2013 20:56
I sorta realized that moments after my last post.

Are you certain that the Player on your Nook is v10819?

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master

Login to post a reply

Server time is: 2024-11-24 22:53:22
Your offset time is: 2024-11-24 22:53:22