title: can we display a GUI when the BlackBerry device starts up and never let other apps to run?
body: <p>Hi guys i have an application which need to be run on blackberry device on start up. But i want the the device shouldn't only work for my app. User shouldn't be able to run other apps on the device. Can we do such things. </p>
  
  <p>For running the application on start up i have used the following code.</p>
  
  <pre><code>public class SampleApplication extends UiApplication {
        private Thread _thread;
  
        public static void main(String[] args) {
               SampleApplication App = new SampleApplication();
               App.enterEventDispatcher();
        }
  
        public SampleApplication() {
               _thread = new Thread(new checkRequest());
               _thread.start();
        }
  
        public class checkRequest extends Thread {{
              public void run() {
              // Creates an instance of the system’s application manager.
  
                    ApplicationManager myApp =
                                  ApplicationManager.getApplicationManager();
                    while(myApp.inStartup()) {
                          try {
                                 _thread.sleep(2000);
                          } catch(Exception e) {
                                // Catch Exception
                          }
                    }
  
                 UiApplication.getUiApplication().invokeLater(new Runnable() {
                           public void run() {
                                 pushScreen(new MyMainScreen());
                          }
                });
                 UiApplication.getUiApplication().requestForeground();
              }
  }
  
  final class MyMainScreen extends MainScreen {
        public MyMainScreen() {
               super();
               BasicEditField field1 = new BasicEditField("Test:","");
               add(field1);
        }
  }
  }
  </code></pre>
  
  <p>Now i am stuck with only limiting my device to use only my app. Is is possible to do in blackberry?</p>