BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-10-2008, 08:54 AM   #1 (permalink)
New Member
 
Join Date: Nov 2008
Model: None
PIN: N/A
Carrier: None
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with event handling on a RAPC converted J2ME port...

Please Login to Remove!

Hey guys,

This is my first post, so I hope you can help me more than my hours of googling has!

I'm currently trying to port a J2ME application to run on a Blackberry platform whilst still being a MIDlet over an Applcation.

Now, as we all probably know, J2ME applications in general call hideNotify()/pauseApp() when a phonecall / SMS is recieved. When I convert my unobfuscated J2ME application using RAPC and put it on the collection of Blackberry devices we have in the office (8100, 8800 etc etc) and in any simulator I notice that these are never called (well, startApp() is called when the red hangup button is pressed, but the game remains running during the call).

Now, on some rubbish older j2me handsets we can simply take a snapshot of the time at the start of the paint and at the end and see if there is a large time between them thus manually invoking a pause state and again, this doesn't happen on the Blackberry as the MIDlet keeps happily running at relative full speed in the background.

So that is my puzzle, Is there a way I can wrap my MIDlet in an Application that is able to handle these events without signing? or is there a Listener (like KeyListener) I can impliment in my Canvas / MIDlet class that is called when there is some kind of event / interrupt?

Many thanks.

-- Neil
Offline  
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

300' 4 AWG, TYPE UL1283 STRANDED WIRE, 133 STRAND Copper Cable 600 Volt gn/ye
$350.0
300' 4 AWG, TYPE UL1283 STRANDED WIRE, 133 STRAND Copper Cable 600 Volt gn/ye pictureNEW 1000FT Belden 9501 060 CHR Computer Cable Shielded 24 AWG 2 Conductor 300V
$279.95
NEW 1000FT Belden 9501 060 CHR Computer Cable Shielded 24 AWG 2 Conductor 300V picturePHILLIPS SAE J560B CONDUCTOR PLUG
$20.0
PHILLIPS SAE J560B CONDUCTOR PLUG picture25ft GCC-010 Direct Burial Telephone Cable 300-Conductor BKMZ 300*
$34.99
25ft GCC-010 Direct Burial Telephone Cable 300-Conductor BKMZ 300* pictureM22759/34-16-9 16Awg Stranded Copper IR ETFE Approx 58 FT
$34.03
M22759/34-16-9  16Awg Stranded  Copper  IR ETFE      Approx 58 FT picture






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