BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 10-30-2009, 11:56 AM   #1 (permalink)
New Member
Join Date: Oct 2009
Model: 9000
Carrier: aircel
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Is there any interface available in bb api which I can use instead of extending UiApp

Please Login to Remove!

The aim is to enter the app without using enterEventDispatcher. My app inherits class manager, so I can't really inherit UiApplication class. That's why my app isn't getting started. Any solution??

Old 10-30-2009, 02:06 PM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts

You cannot have a CDLC app UI app without extending UiApplication.

If you do not have a UI, you can extend application.

What is the objection to UiApplication?
Old 11-04-2009, 11:04 AM   #3 (permalink)
Knows Where the Search Button Is
Join Date: Feb 2009
Location: Quebec, Ca
Model: 8330
OS: v4.5.0.77
PIN: 30293EF0
Carrier: Telus
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts

a manager is a container that need to be added to a screen.
You need an entry point for your application that contain the main method. That entry point need to extends UiApplication. Then you'll be able to push a screen with your manager.

You can try something like this :
public class MainApplication extends UiApplication {
	public MainApplication() {
		MainScreen screen = new MainScreen();
		screen.add(new <YourManager>());

	public static void main(final String[] args) {
		MainApplication theApp = new MainApplication();

Thank you, have a nice day.

Samuel D.
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.