I need to know how to get the “Build As” target type in my lua code.
The reason for this is so I can have the correct link to the right app store depending if it is the Android Market or the Amazon App Store.
Unless I am missing something there isn’t any method of getting any useful info unless I am running on a Kindle Fire. All other droid devices will just return device names for the system.getInfo(“model”) call.
Since we have to explicitly build for one market or the other, there should be a system.getInfo() call to return the market.
How about something like: system.getInfo(“market”) and it can return one of the following based on the Build As option:
-
Apple
-
Android
-
Amazon
-
Barnes and Noble
[import]uid: 16734 topic_id: 20668 reply_id: 320668[/import]