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


Implement Whisker Switch  picture

Implement Whisker Switch

$50.00



Square D 9013FSG2J21 Water Pump Pressure Switch, 30/50 PSI, DPST 9013 picture

Square D 9013FSG2J21 Water Pump Pressure Switch, 30/50 PSI, DPST 9013

$21.88



Dusk to Dwan/Day Night Sensor, Photoelectric Switch, Photo Cell Sensor 110-277V picture

Dusk to Dwan/Day Night Sensor, Photoelectric Switch, Photo Cell Sensor 110-277V

$49.28



ELECTRIC COOLING FAN GROUND-ING THERMO-STAT SWITCH RADIATOR TEMP-ERATURE SENSOR picture

ELECTRIC COOLING FAN GROUND-ING THERMO-STAT SWITCH RADIATOR TEMP-ERATURE SENSOR

$17.99



ELECTRIC COOLING FAN GROUND-ING THERMO-STAT SWITCH RADIATOR TEMP-ERATURE SENSOR picture

ELECTRIC COOLING FAN GROUND-ING THERMO-STAT SWITCH RADIATOR TEMP-ERATURE SENSOR

$16.99



2 Pack 12V 200 Amp Continuous Duty Relay Switch Car Starter Heavy Duty Split ... picture

2 Pack 12V 200 Amp Continuous Duty Relay Switch Car Starter Heavy Duty Split ...

$38.99







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