BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-01-2008, 09:38 AM   #1
abhsax1978@hotmail.com
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Unhappy in pure J2ME MIDlet Canvas I want to display a Marquee

Please Login to Remove!

just like tickers in the lists, i want to display Marquee on a Canvas. (Only on Blackberry, because in other J2ME supporting devices it runs fine in MIDlet)
I have used Timer-Task , and with some logic I am shifting the position of the string.
I have done it using the repaint() and Thread,sleep();
In Blackberry the string is not moving as in MIDlet. Instead it only moves when the trackerball rolls.
I want the app stop waiting for the trackerball event and just moves on showing marquee.
It seems the app dosn't respond to the repaint() call.
I have just 24 hours left for doing that. Maybe I can borrow some more time but at least today I am in great hurry.
Offline  
Old 08-04-2008, 05:58 AM   #2
abhsax1978@hotmail.com
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Smile

Ok You can use Display.getDisplay(midlet).callSerially()
please check out the JavaDoc for this function.
It surely works out.
You just have to arrange your sprites accurately, and there might not be a need to use (Graphics) g.serviceRepaints() to refresh the Canvas.
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


NS1-63-NA. EATON /Moeller breaker  MAIN SWITCH  63 AMPS picture

NS1-63-NA. EATON /Moeller breaker MAIN SWITCH 63 AMPS

$375.00



ELECTRIC COOLING FAN GROUND-ING THERMO-STAT SWITCH RADIATOR TEMP-ERATURE SENSOR picture

ELECTRIC COOLING FAN GROUND-ING THERMO-STAT SWITCH RADIATOR TEMP-ERATURE SENSOR

$17.99



Dusk to Dawn Photocell Light Switch Auto ON Off Light Sensor Control Switch picture

Dusk to Dawn Photocell Light Switch Auto ON Off Light Sensor Control Switch

$55.88



6AN 8AN 10AN ENGINE TRANS-MISSION OIL COOLER HOSE LINE TEMP-ERATURE SWITCH KIT picture

6AN 8AN 10AN ENGINE TRANS-MISSION OIL COOLER HOSE LINE TEMP-ERATURE SWITCH KIT

$34.95



Industrial Automatic Transfer Switch 160A 4 Poles 110V 220V Grid to AC Generator picture

Industrial Automatic Transfer Switch 160A 4 Poles 110V 220V Grid to AC Generator

$177.07



9 Volt LED Light - On/Off Switch - 5 Pack picture

9 Volt LED Light - On/Off Switch - 5 Pack

$11.95







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