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

Testing and Deployment

Error "Application Attempts to Access a Secure API" on the live device, after signing the application

by BlackBerry Development Advisor ‎02-17-2010 11:10 AM - edited ‎02-18-2010 03:15 PM (6,438 Views)

Summary


This article applies to the following:

  • BlackBerry® wireless device
  • BlackBerry Java™ Development Environment (JDE)


Description


You receive the following error on the live device, after signing the application:.


Application Attempts to Access a Secure API

This means that your application may be trying to use an API that is not documented or available for use.


For example, if you are using the Persistable interface API, check to make sure that your application imports this interface from the net.rim.device.api.util package rather than the net.rim.vm package.


This error message could also indicate that your application is trying to use controlled APIs, but has not yet been signed using the SignatureTool. For more information on code signing and using controlled APIs, refer to the BlackBerry Java Developer Guide 4.0 Volume 2, Advanced Topics.

Contributors
Users Online
Currently online: 34 members 3,086 guests
Please welcome our newest community members: