BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 12-11-2007, 11:48 AM   #1 (permalink)
New Member
 
Join Date: Dec 2007
Model: 7100i
PIN: N/A
Carrier: nextel
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Signed Application w/ Security Prompts

Please Login to Remove!

Greetings everyone.

I hope you can help me solve a doubt/issue regarding the RIM application signing procedure.

I have developed a PIM application for BlackBerry. So far, everything works as expected, but there is a problem. I have the 3 code signing files installed, the jde, the signature tool, everything. When i "sign" the app, the signing tool says that "the code file does not require a signature".

Ok, so i think, if i'm using the PIM, which i believe is a protected API for mostly every mobile device out there, then obviously i need to sign the app.

So i go ahead and sign, no problem there; in the emulator i have no security prompts, but when i deploy the app to a real blackberry, i get security prompts everytime it tries to access the addressbook and so on.

Now, i'm using the import net.rim.blackberry.api.pdap.*, and its subsequential PIM classes, so there shouldn't be any problem there, or is it?

The point is, why the code file does not require a signature and, if i sign the app correctly, why do i still get security prompts?

I hope you can help me out with this issue.

Thanks in advance.
Offline  
Old 12-17-2007, 09:36 PM   #2 (permalink)
New Member
 
Join Date: Nov 2007
Model: 8830
PIN: N/A
Carrier: SPRINT
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok we are trying to similar things as you do, basically we ported a java midlet into blackberry, originally we thought we can sign the midlet with blackberry signatures but then found out we dont have a CSL file...

My question will be if anyone know if i am using javax.microedition.pim, how can get rid of the prompt on blackberry device? sign the application with carrier certificate? or do i have to rewrite the pim part with the blackberry API and sign it with blackberry signatures?

thanks
Steven
Offline  
Old 12-26-2007, 06:56 PM   #3 (permalink)
New Member
 
Join Date: Dec 2007
Model: 7100i
PIN: N/A
Carrier: nextel
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by iistudio View Post
Ok we are trying to similar things as you do, basically we ported a java midlet into blackberry, originally we thought we can sign the midlet with blackberry signatures but then found out we dont have a CSL file...

My question will be if anyone know if i am using javax.microedition.pim, how can get rid of the prompt on blackberry device? sign the application with carrier certificate? or do i have to rewrite the pim part with the blackberry API and sign it with blackberry signatures?

thanks
Steven
Whati did was to replace every import javax.microedition.pim class with the import net.rim.blackberry.api.pim, and also import the net.rim.blackberry.api.pdap class; by default, blackberry has pim permissions set to allow.
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





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