Actually, my problem is even more perplexing. I’ve figured out why the simulator is showing that the popup can’t be shown. It’s simply because the simulator doesn’t support the mail popup. However, my device is telling me that the popup _can _be shown, yet it is not showing it.
My code is as follows:
[lua]
if native.canShowPopup(“mail”) then
print(“Can Show Popup”)
native.showPopup(“mail”, options)
comments.text = “Can show popup”
else
print(“Can’t show popup”)
comments.text = “Can’t show popup”
end
[/lua]
“comments.text” refers to a text field that I have put on the screen in leu of the terminal window. When I run the program on my device, the comments field displays “Can show popup” but does not actually bring up the popup. Why could this be?