The following info was taken from this link: http://developer.anscamobile.com/node/2766
__________________________________________________________________
“platformName” returns the platform name (the OS name), i.e. one of the following:
“Mac OS X” (Corona Simulator on Mac)
“Win” (Corona Simulator on Windows))
“iPhone OS” (all iOS devices))
“Android” (all Android devices))
___________________________________________________________________
I think it might be nice if it were possible to add two platformName(s) as follows:
“Nook” (for Nook Color & Tablet)
“Fire” (for Amazon Kindle Fire)
This would allow greater control over some of the Hardware limitations on these two devices; for code similar to the following:
[code] local isAndroid = “Android” == system.getInfo(“platformName”)
if isAndroid then
obj.printTxt.isVisible = false
else
obj.printTxt.isVisible = true
end
[/code]
I say this because I am able to do a few more things with display.captureScreen( ) on my Droid Razr than with these two devices. But with the “Androids” being one group as a whole you currently can’t separate them. Unless I missed something elsewhere within the API’s. If so please advise-and sorry for this post.
Thanks to everyone for their support.
[import]uid: 16527 topic_id: 20254 reply_id: 320254[/import]