I tried this with release build 2393, as well as daily builds 2482 and 2484. The problem happens on them all.
I developed my app on my Mac and it is working great in the Corona Simulator on Mac, as well as on iOS devices.
I moved the code over to my Windows machine to build for Android and I am running into a problem with textfields.
Here is the code:
[lua]if team1Textfield.text == “” then
print( “We need to set a default for player 1.” )
team1Textfield.text = “Player 1”
end
print( "First player name: " … team1Textfield.text )[/lua]
When I run the app in the Corona Simulator, looking in the Corona Simulator Output window, I see both print statements are firing, but team1Textfield.text remains with a value of an empty string (not nil, just no text). It never gets changed.
I did the Android build and copied it to a device and the same thing happens there.
Why would this be happening? What would cause the textfield to not allow its value to be changed in the Windows version of Corona Simulator and thus, the Android builds?
This is driving me nuts.