Pardon me if this is already covered but I’m seeing what (I believe) is broken behavior on Android for native.setKeybaordFocus
Try this
[lua]_tf=native.newTextField(0,24, 300, 100)
native.setKeyboardFocus( _tf )[/lua]
on iPhone it acts as expected, a keyboard pops up and you can edit away.
on Android the text field comes up and a cursor is in there but to get the keyboard you have to ‘touch it’ – Is this correct? The docs indicate that setKeyboardFocus should display the keyboard…
-John
[import]uid: 48162 topic_id: 9506 reply_id: 309506[/import]
Anyone?
It really breaks up the flow of my app in it’s current state where the text field comes up but you have to touch inside to get the keyboard…
As i mentionedoned ios it works perfectly – it’s just android that has this odd behavior.
-John
[import]uid: 48162 topic_id: 9506 reply_id: 36977[/import]
We are aware of this issue, the internal tracking number is #5664. Currently hoping get it fixed by the next release, but no official ETA. [import]uid: 6787 topic_id: 9506 reply_id: 37862[/import]
Thanks!
I really need to get a login to the bugs database.
-john
[import]uid: 48162 topic_id: 9506 reply_id: 37880[/import]
@snarla – I just noticed it’s fixed in daily builds… thanks!
-John
[import]uid: 48162 topic_id: 9506 reply_id: 38375[/import]