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 Developer
nithyam
Posts: 60
Registered: ‎12-08-2008
My Device: Not Specified
Accepted Solution

module attempts to access a secure API

Hi all,

i have developed a application for blackberry, in emulator its working fine

i installed the cod/alx file in device it get installed

while open the application i am getting the error in my App : module "myAppl" attempts to access a secure API.

 

what could be the reason..

 

thanks by,

 nithya.m

Please use plain text.
Developer
baskaraninfo
Posts: 342
Registered: ‎02-04-2009
My Device: BB 8320

Re: module attempts to access a secure API

[ Edited ]

Need to sign your application.

 

Refer the following relevant post:

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=8106&query.id=295... 

Message Edited by baskaraninfo on 04-13-2009 05:34 AM

Use Search. "Accept Solution" if the problem gets resolved.
Please use plain text.
Developer
BBDeveloper
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: module attempts to access a secure API

Some other useful links,

 

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800989/What_Is_-_Code...
 

Go thru the PDF, It tells you how to register your signing keys.

 

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/8067/645045/8655/8656/138132...

 

Following will explain you how to Sign COD files.

 

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800989/How_To_-_Sign_...


Use Search. "Accept Solution" If the problem is resolved.
Please use plain text.
New Developer
nithyam
Posts: 60
Registered: ‎12-08-2008
My Device: Not Specified

Re: module attempts to access a secure API

i dont want to sign my application. i did nt do any signing option for my application.

then why this error has came..?

Please use plain text.
Developer
baskaraninfo
Posts: 342
Registered: ‎02-04-2009
My Device: BB 8320

Re: module attempts to access a secure API

In your application, you are accessing some secure api's. Hence you need to get your application signed to run your application in blackberry device.

Use Search. "Accept Solution" if the problem gets resolved.
Please use plain text.
Developer
BBDeveloper
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: module attempts to access a secure API

[ Edited ]

Nithyam,

There are API's which requires to be signed from RIM to use them on real devices. If you look at the API's docs, you can see Category Sigened. That indicates you need to sign your application.

To get the signing keys you have to spend 20USD and you can sign any number of applications for unlimited times.

 

 

PS: Sorry was in edit mode.

Message Edited by BBDeveloper on 13-04-2009 03:44 PM

Use Search. "Accept Solution" If the problem is resolved.
Please use plain text.
Developer
javed001
Posts: 43
Registered: ‎01-21-2009
My Device: Pearl 8100

Re: module attempts to access a secure API

Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: module attempts to access a secure API

You might also look into learning how to use the search facility on this forum. :smileyhappy:

 

If you search for "access secure API" you will see many, many, many pages of postings and solutions for this issue, all of them identical to this thread.

 

 

 

Please use plain text.
Developer
mantaker
Posts: 1,477
Registered: ‎12-30-2008
My Device: Torch 9810

Re: module attempts to access a secure API

We are bumping this 2 months old thread :smileyhappy:
--
Manimaran Selvan
Co-Founder, Tech Lead,
Equity Markets Research Group
Please use plain text.
Regular Contributor
meeramanesh
Posts: 52
Registered: ‎11-29-2010
My Device: Blackberry 9700

Re: module attempts to access a secure API

I am also facing the same problem. I signed my application and tried to install it on the device. Installation has done properly but when i tried to run the application, Error starting 'myapp': Module 'Myapp1' attempts to access a secure api

If anyone has a solution, please reply

Please use plain text.