Does my application run on Blackberry Simulator?

I am testing a Blackberry application that sends SMS messages. I would like to use the simulator for testing, but since SMS does not work on the simulator, I would like to have an alternative code path to handle the interaction. What is the correct way to detect that an application is running under a simulator instead of a real device?

+3
source share

Source: https://habr.com/ru/post/1752142/


All Articles