Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Hello, I'm trying to find a way to detect the device where an uiOne app is installed, how can it be done?

When i'm on brew API I use the .dwPlatformID number to get and i'm trying to find out if this same thing is implemented in some way (and how is implemented) to be used from uiOne Apps.

Any idea?

carlosgames wrote:Hello, I'm trying to find a way to detect the device where an uiOne app is installed, how can it be done?
Are you looking to see if any applications use Trigplayer, or just if trigplayer is on the device? You could always just create an instance of ITrigplayer and see if it works :D Trigplayer is preloaded to devices, so there is no need to dynamically check. You should know by the platform ID.
carlosgames wrote:When i'm on brew API I use the .dwPlatformID number to get and i'm trying to find out if this same thing is implemented in some way (and how is implemented) to be used from uiOne Apps.
Any idea?
You would need to use an actor for this. You can call the same BREW API from the actor then return the PID to the trig. An example actor is in the UIOne SDK.

carlosgames wrote:Hello, I'm trying to find a way to detect the device where an uiOne app is installed, how can it be done?
Are you looking to see if any applications use Trigplayer, or just if trigplayer is on the device? You could always just create an instance of ITrigplayer and see if it works :D Trigplayer is preloaded to devices, so there is no need to dynamically check. You should know by the platform ID.
carlosgames wrote:When i'm on brew API I use the .dwPlatformID number to get and i'm trying to find out if this same thing is implemented in some way (and how is implemented) to be used from uiOne Apps.
Any idea?
You would need to use an actor for this. You can call the same BREW API from the actor then return the PID to the trig. An example actor is in the UIOne SDK.