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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
Developer
hak
Posts: 137
Registered: ‎06-01-2009
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.

Please use plain text.
Developer
peter_strange
Posts: 17,711
Registered: ‎07-14-2008

Re: Detecting simulator vs. Real Device

DeviceInfo.isSimulator()

Please use plain text.
Developer
Developer
hak
Posts: 137
Registered: ‎06-01-2009

Re: Detecting simulator vs. Real Device

It works. Thank you.

Please use plain text.