system.getInfo( parm )

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]

I guess from further reading that this is already possible. I suppose the documentation just needs to be a bit updated?

Can anyone please help me confirm?

Thanks [import]uid: 16527 topic_id: 20254 reply_id: 79919[/import]

I would like to get users phone number from getInfo(). [import]uid: 13560 topic_id: 20254 reply_id: 79936[/import]

it can’t be done… apple’s policy :frowning: [import]uid: 23063 topic_id: 20254 reply_id: 80018[/import]

@Rob Haney
I’m assuming that you could use system.getInfo("model") to get that info, however I don’t have Kindle or Nook to confirm… [import]uid: 70847 topic_id: 20254 reply_id: 80025[/import]

I know apple won’t allow getting phone numbers like that but I think I have found a workaround…
[import]uid: 13560 topic_id: 20254 reply_id: 80097[/import]

and how did you do that? [import]uid: 23063 topic_id: 20254 reply_id: 80246[/import]

I was playing around with facebook but it seems like there is no call to get phonenumber. [import]uid: 13560 topic_id: 20254 reply_id: 80257[/import]