Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Developer
Posts: 6
Registered: ‎02-05-2009
My Device: Not Specified

Re: Push Registry Midlet in Blackberry

And I am calling the below code from AlarmMe midlet

 

 

long time = PushRegistry.registerAlarm("PushAlarm", new Date().getTime() +30*60*1000);

 


 

Thanks,

SSKaradi

 

 

Highlighted
BlackBerry Development Advisor
Posts: 15,885
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Push Registry Midlet in Blackberry

Do both applications share the same package?  Try using the full package name instead of just the MIDlet's name.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
New Developer
Posts: 6
Registered: ‎02-05-2009
My Device: Not Specified

Re: Push Registry Midlet in Blackberry

Yes both are in the same default package (no package). I also tried moving them to different packages, that did not work.

 

Thanks,

SSKaradi

BlackBerry Development Advisor
Posts: 15,885
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Push Registry Midlet in Blackberry

Did you try using the package name along with your class name?  I.E.: your.package.name.classname

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
New Developer
Posts: 6
Registered: ‎02-05-2009
My Device: Not Specified

Re: Push Registry Midlet in Blackberry

I tried using both, with package name and without package name. Is still does not call the correct Midlet. If I push AlarmMe midlet from itself it works fine and same way if I push PushAlarm from itself it works fine. But from AlarmMe to PushAlarm.

 

Thanks,

SSKaradi

BlackBerry Development Advisor
Posts: 15,885
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Push Registry Midlet in Blackberry

[ Edited ]
What BlackBerry handheld software version are you testing on?  You can find this under Options, About on the BlackBerry Smartphone.  Are you able to reproduce this using version 4.5.0?
Message Edited by MSohm on 02-18-2009 04:10 PM
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
New Developer
Posts: 6
Registered: ‎02-05-2009
My Device: Not Specified

Re: Push Registry Midlet in Blackberry

Yes this is happening in 4.5.0.

I have BlackBerry 8100 Smartphoneversion 4.5.0.52 (Platform 2.7.0.66)

CLDC 1.1 and MIDP 2.0

 

 

Thanks,

SSKaradi

BlackBerry Development Advisor
Posts: 15,885
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Push Registry Midlet in Blackberry

Please send a copy of your application to devsupport@rim.com and note this thread.  Thanks.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
New Developer
Posts: 7
Registered: ‎05-20-2009
My Device: Not Specified

Re: Push Registry Midlet in Blackberry

can any one tell me how to create a remainder like application :smileysad: