BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-19-2008, 06:58 AM   #1
yukti
New Member
 
Join Date: May 2008
Model: 8800
PIN: N/A
Carrier: Airtel
Posts: 3
Default Error starting module: attempts to access a secure API.

Please Login to Remove!

Hi,

Iam trying to start an Application which uses FileConnection APIs. I have signed my Application using RIM s signing tool, still Iam getting this Error "Application attempts to access a secure API." If Iam Removing FileConnection code from my Application it is working fine and If i make a seperate application using only FileConnection and browsingUI (After signing) then it is Working fine.

Can Anyone tell what is the possible Solution for this.

Thanks
Offline  
Old 05-21-2008, 07:07 AM   #2
yukti
New Member
 
Join Date: May 2008
Model: 8800
PIN: N/A
Carrier: Airtel
Posts: 3
Default

Never Use Internal Device API.
Offline  
Old 05-21-2008, 08:00 AM   #3
CELITE
Thumbs Must Hurt
 
Join Date: Dec 2005
Model: 8310
Carrier: Rogers
Posts: 138
Default

I'm curious, how were you able to build the application at all if you were using an internal api? You would require an internal version of rapc + libraries to do so...
Offline  
Old 05-21-2008, 09:01 AM   #4
simon.hain
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Default

if you use package-names that mimic rim or java packages you can compile the code but it will not run.
i tried to implement some classes from the java.util package (and had them in a package called java.util) and encountered this problem, they worked fine when i moved them to an own package.
__________________
java developer, Devinto, hamburg/germany
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


New In Box JOHNSON CONTROLS F61KB-11C Water Flow Switch picture

New In Box JOHNSON CONTROLS F61KB-11C Water Flow Switch

$49.50



New Johnson Controls M300MJ Control Module Addressable FREE FAST SHIPPING picture

New Johnson Controls M300MJ Control Module Addressable FREE FAST SHIPPING

$78.00



Johnson Controls MS-NCE 2560-0 Metasys Network Control Engine picture

Johnson Controls MS-NCE 2560-0 Metasys Network Control Engine

$150.00



Johnson Controls DX-9100-8454 Metasys Digital Controller Module picture

Johnson Controls DX-9100-8454 Metasys Digital Controller Module

$20.00



Johnson Controls (240) F4-CGM04060-0 picture

Johnson Controls (240) F4-CGM04060-0

$149.00



EN-EWC12-0 Johnson Controls Single Enclosure With Power Entry Box picture

EN-EWC12-0 Johnson Controls Single Enclosure With Power Entry Box

$333.33







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