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


128K RAM - APPLE - ORIGINAL APPLE prototype BOARD picture

128K RAM - APPLE - ORIGINAL APPLE prototype BOARD

$408.75



APPLE 630-0895-B  VRAM 128K X 8 BOARD CARD VINTAGE picture

APPLE 630-0895-B VRAM 128K X 8 BOARD CARD VINTAGE

$74.77



APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD  picture

APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD

$149.99







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