Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
Developer
Developer
Posts: 137
Registered: ‎06-01-2009
My Device: Not Specified
Accepted Solution

Detecting simulator vs. Real Device

is there a way to detect whether the application is running on a real device or simulator.

 

Thank you.

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Detecting simulator vs. Real Device

DeviceInfo.isSimulator()

Developer
Developer
Posts: 137
Registered: ‎06-01-2009
My Device: Not Specified

Re: Detecting simulator vs. Real Device

It works. Thank you.