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

Reply
New Contributor
Posts: 8
Registered: ‎08-18-2011
My Device: 9000
My Carrier: Vodafone

RIMAPPSA2 not registered

Hi,

 

I am trying to learn how BBM SDK works. I am getting RIMAPPSA2 signiner not register error while signing the application.

I have write few line of code as below and just included the net_rim_bb_qm_platform.jar in my eclipse project. It has no code of BBM but still i am getting RIMAPPSA2 signiner not register error. It has no BBM code and giving me signing error.

 

-------------------------------------------- HERE IS SAMPLE CODE ---------------------

 

import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.ui.component.LabelField;
import net.rim.device.api.ui.container.MainScreen;
public class BBSDKUiApp extends UiApplication {
    public static void main(String[] args) {
        BBSDKUiApp app = new BBSDKUiApp();
        app.enterEventDispatcher();
    }
    BBSDKUiApp(){
        pushScreen(new TestScreen());
    }
    class TestScreen extends MainScreen{
        TestScreen(){
            add(new LabelField("sample screen"));
        }
    }
    
}
---------------------------------------------------------------------------

Thanks in Advance.

Developer
Posts: 208
Registered: ‎08-04-2009
My Device: Not Specified

Re: RIMAPPSA2 not registered

including bbm jar file in project build path means you have included the code written into classes into this jar file. So, you are getting this error.

New Contributor
Posts: 8
Registered: ‎08-18-2011
My Device: 9000
My Carrier: Vodafone

Re: RIMAPPSA2 not registered

Yes, i have not used any BBM api in the above code. I just included the jar file in build path. If i remove this jar file from build path then no signing error but if if i include the bbm jar file then while signing application i am getting RIMAPPSA2 not registered error in signer window.

Developer
Posts: 208
Registered: ‎08-04-2009
My Device: Not Specified

Re: RIMAPPSA2 not registered

I think you need to write code to register your application with bbm by following link:

 

http://docs.blackberry.com/en/developers/deliverables/34924/Register_your_app_with_the_BBM_Platform_...

 

Developer
Posts: 285
Registered: ‎08-26-2011
My Device: 9900
My Carrier: Not Specified

Re: RIMAPPSA2 not registered

Include the net_rim_bb_qm_platform.jar file. In javaBuildPath Only add the jar file into the javaBuildPath(don't click on the check boxes).Like this:

 

BBM_Jar.png

 

Here don't click on any check boxes and directly click on " Ok".

 

and SignIn the application. Then you cannot get RIMAPPSA2 ERROR

 

====================================================================================

Feel free to click on LIKE symbol if the solution is correct.

=================================================================================
Feel free to click LIKE button if the solution helps you;
--
Regards,

ALI SHAIK.
New Contributor
Posts: 8
Registered: ‎08-18-2011
My Device: 9000
My Carrier: Vodafone

Re: RIMAPPSA2 not registered

If i just include the net_rim_bb_qm_platform.jar file in Build path then signing error goes away. But i am getting error in device when i run the application in device after signing.

Error is "Error Starting BBMDemo: Module net_rim_bb_qm_platform module not found "