Hi, I’m trying to put a native text input onscreen for the user to type their score into, however the input doesn’t go away right away when I try to remove it. It often will stay on screen for several seconds or until someone tries to interact with it. Are there any work arounds? [import]uid: 4702 topic_id: 616 reply_id: 300616[/import]
I can’t even get any input text fields to display, which is really putting me off buying this. I downloaded the sample code for the Twitter app and nothing! No input textfields display even in the example. I would really appreciate an email or something explaining what I should do. If I can’t display input textfields then this no good to me. I’m using the 1.1 trial version at the moment but it says that inputs are supported now. So what gives? [import]uid: 2009 topic_id: 616 reply_id: 1282[/import]
can you install the app on the iPhone?
There is a limitation on edit text fields on the Corona simulator. But they work on the device.
Dwallin, we fixed some bugs on text fields. Can you try to do another build?
Carlos [import]uid: 24 topic_id: 616 reply_id: 1284[/import]
Hello,
I use Corona SDK Beta 5, and I have same problem as dwalin…
on the device after removing textFiled remains on the screen… I don’t know how to delete it… i use this code:
local jmenoGroup=display.newGroup();
function someFunction()
…
local name_txt=native.newTextField(325,120,320,40,fieldHandler);
name_txt.align=“center”;
name_txt.font=native.newFont(native.systemFontBold,30);
name_txt.text=name;
–this code works properly
jmenoGroup:insert(name_txt);
…
end
function fieldHandler( event )
if ( “began” == event.phase ) then
– This is the “keyboard has appeared” event
– In some cases you may want to adjust the interface when the keyboard appears.
elseif ( “ended” == event.phase ) then
– This event is called when the user stops editing a field: for example, when they touch a different field
elseif ( “submitted” == event.phase ) then
– This event occurs when the user presses the “return” key (if available) on the onscreen keyboard
– Hide keyboard
native.setKeyboardFocus( nil )
end
end
function removeTxt()
for i=jmenoGroup.numChildren,1,-1 do
jmenoGroup[i].parent:remove(jmenoGroup[i]);
jmenoGroup[i]=nil;
end
end
but if I use this removing textFiled remains… is there some other way to remove it?
thx [import]uid: 6869 topic_id: 616 reply_id: 3731[/import]
May I point you to this:
http://developer.anscamobile.com/forum/2010/07/02/nativenewtextfield-cant-be-removed
I start to think you ignore “uncomfortable” bugs which get reported… [import]uid: 6928 topic_id: 616 reply_id: 3733[/import]