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
New Contributor
Posts: 9
Registered: ‎02-13-2012
My Device: None - developing in simulator
My Carrier: Vodacom

Create error message on app startup

Hello. I am creating an app that has a different UI depending on the screen orientation, so landscape or portrait. I currently have working code for the landscape screens, not the portrait screens. However as I would like to test the app, I would like to know if it is possible to create a Dialog type error message when the application is started up (something like "Unsupported handset"). The error message should be called if the app is started on a portrait screen.

 

Is there a way to do this?