is there a way to know if my code is running on emulator or device?



is there a way to know if my code is running on emulator or device?..

Answer / Bineet Kumar

In Windows Phone, you can check if the application is running on an emulator or a physical device by checking the `Deployment.Current.DevicePlatform` property. If it returns 'Emulator', then the app is running in the emulator.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Windows Phone OS Interview Questions

What do you know about Windows Phone Media support?

1 Answers  


Explain how to send suggestions on how to better the app to the ap?

1 Answers  


What happened to toplevelnavigationservice, it is not there on april ctp refresh?

1 Answers  


Explain how to access the liveid credentials a user has entered into the device?

1 Answers  


How to restart or shutdown my application programmatically?

1 Answers  


How to send suggestions on how to better the app to the AP?

1 Answers  


Can I open sockets in windows phone?

1 Answers  


Explain Windows Phone Hardware?

1 Answers  


What is windows phone media support?

1 Answers  


How to dismiss the SIP programmatically?

1 Answers  


Can I write multi-player games using wi-fi or blue tooth in the device.?

1 Answers  


How to detect the resolution of my device?

1 Answers  


Categories