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

MSA Altair+ Single-Gas Detector For Hydrogen Sulfide (H2S)
$117.65
MSA Altair+ Single-Gas Detector For Hydrogen Sulfide (H2S) pictureAltair Lighting 3" Recessed Light Kit with Swivel Trim And 50 Watt Bulbs,
$15.5
Altair Lighting 33 X MSA Altair 4 X Multi gas Monitor Detector Meter H2S,LEL,CO,O2
$750.0
3 X MSA Altair 4 X Multi gas Monitor Detector Meter H2S,LEL,CO,O2 pictureMsa Monitor / 3 X MSA Altair 4 X Multi gas Monitor Detector Meter H2S,LEL,CO,O2
$680.0
Msa Monitor / 3 X MSA Altair 4 X Multi gas Monitor Detector Meter H2S,LEL,CO,O2 picture3 X MSA Altair 4 X Multi gas Monitors / Detectors
$750.0
3 X MSA Altair 4 X Multi gas Monitors / Detectors picture






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