BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-18-2006, 01:06 AM   #1
static_void
New Member
 
Join Date: Aug 2006
Model: 7100T
Posts: 2
Default fixed/ Changing Screen

Please Login to Remove!

Saw post on p2, sorry.

Hello, I'm developing a multi-screen application (new to BB, but not Java). I've developed a LoginScreen which also extends MainScreen, when the user clicks on the ClickWheel and selects login, I want to display the 2nd Screen (LoginScreen). How do I achieve this? Thanks for your help

The "main" screen (SplashScreen) has the following method:

this.addMenuItem(new MenuItem("Login", 1, 1) { public void run( ) {
// place event hander code here
System.out.println("Logging ");

// CHANGE SCREEN HERE
// pushScreen(new LoginScreen()) obviously does not work



} });

Last edited by static_void; 08-18-2006 at 01:21 AM.. Reason: typo in title
Offline  
Old 08-18-2006, 03:02 AM   #2
jfisher
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Default

UiApplication.getUiApplication().pushScreen(new anotherScreen());
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


10 turn Potentiometer 3590S Wirewound Variable Resistor Precision multi-turn POT picture

10 turn Potentiometer 3590S Wirewound Variable Resistor Precision multi-turn POT

$51.49



10 PCS 1K,2 K,5K,10K,20K100K,1Mohm Linear Taper Rotary Potentiometer US Stock picture

10 PCS 1K,2 K,5K,10K,20K100K,1Mohm Linear Taper Rotary Potentiometer US Stock

$9.49



US Stock 10pcs 10K ohm Linear Taper Rotary Potentiometer Panel pot B10K 15mm picture

US Stock 10pcs 10K ohm Linear Taper Rotary Potentiometer Panel pot B10K 15mm

$12.04



10K Ohm Rotary Potentiometer Variable Dial Resistor Precision 10-Multiturn Blue picture

10K Ohm Rotary Potentiometer Variable Dial Resistor Precision 10-Multiturn Blue

$7.95



US Stock 5K Potentiometer RV24YN 20S B502 24mm with knob and Digital Scale picture

US Stock 5K Potentiometer RV24YN 20S B502 24mm with knob and Digital Scale

$11.96



US Stock 10 Units 100K B100K OHM Linear Taper Rotary Potentiometer POT Red Knob picture

US Stock 10 Units 100K B100K OHM Linear Taper Rotary Potentiometer POT Red Knob

$9.49







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.