nokia 6630 and JABWT: authorisation failed (authorization failed)
Hi,
I've come to the point where I would like to install my BT-enabled
MIDlet to a cell phone. The packaged MIDlet runs well on the WTK 2.2
emulator. When i try to install it on a Nokia 6630, it gives me
(after going through all of the installation steps-"accept
installation","nevermind if it is not signed") an error-
AUTHORISATION FAILED (and, as it has just hit me, with an "s" - not
authoriZation failed - which might explain the no-search-results
anywhere on the topic...grin)
I have tried to canibalise the application to the point of excluding
the jabwt-related parts from the application for test purposes. The
problem dissapears-so it lays somewhere in the devices acceptance of
the Bluetooth API-enabled apps.
Here's my JAD file:
----------
MIDlet-Version: 1.0.0
MIDlet-Vendor: Active Tools
MIDlet-Jar-URL: BlueBridge.jar
MicroEdition-Configuration: CLDC-1.0
MIDlet-1: BlueBridge,,si.activetools.bluebridge.BlueBridge
MicroEdition-Profile: MIDP-2.0
MIDlet-Name: Blue Bridge
MIDlet-Permissions:
javax.microedition.io.Connector.bluetooth.client,
javax.microedition.io.Connector.bluetooth.server
----------
Thanks for your attention.
Best regards,
David Potocnik,
Active Tools [Slovenia]
[email]david@activetools.si[/email]
Re: nokia 6630 and JABWT: authorisation failed (authorization failed)
Hello, I have the same problem
with JSR 180 (SIP API).
Phones prior s60 v3 doesn't support jsr 180, so I have packed a Jar that has:
1. classes that use SIP API
2. classes that implements SIP API (from RI Nokia - reference implementation)
When I install the jar I get the error 'authorization failed'
Please, can you explain the process:
"To solve the 'authorization failed' problem, I replicated the interface from com.sun.cldc in my own package."
Thank You very much.
Re: nokia 6630 and JABWT: authorisation failed (authorization failed)
Ok, I have made some tests and the problem is that the classes must not have package javax.microedition.sip or com.nokia.phone.sdk.concept.sip in phones that don't support jsr 180.
I can't replicate the interface javax.microedition.sip because I don't have RI JSR 180 Source Code.
Does somebody know how to use SIP API in S60 v2 Phones from Java?
Re: nokia 6630 and JABWT: authorisation failed (authorization failed)
imho the problem is that you declare permissions without singning the app, which is theorically forbidden.
Re: nokia 6630 and JABWT: authorisation failed (authorization failed)
Hello!
I'm not sure if I have understood what you have said.
Do you mean that if I sign the application, I will be able to use classes that has package javax.microedition.sip (the JSR 180 Reference Implementation has classes that have (belongs to) package javax.microedition.sip)??
I'm not sure where I'm declaring permissions (Do you mean by including JSR 180 RI classes in the jar?)
Thank You very much :-)
Re: nokia 6630 and JABWT: authorisation failed (authorization failed)
i was replying to the first post :
MIDlet-Permissions:
javax.microedition.io.Connector.bluetooth.client,
javax.microedition.io.Connector.bluetooth.server
means that you _must_ sign the application in theory