View Single Post
Old 10-05-2009, 07:34 AM   #1
diehard.srinivas
New Member
 
Join Date: Oct 2009
Model: R9000
PIN: N/A
Carrier: Dont know
Posts: 1
Default Application Says Access to Secure API error even though A60 listed API is not used

Please Login to Remove!

Hi Folks,

We have a basic Black berry application that we have pushed to the device. When we have tried executing the application on the device it has failed to start indicating access to secure API, however i have made sure that we haven't used any of the api that is listed in A60 document but still i get the error.

In the Eclipse IDE, when i click the "Request Signatures" option i see as below.

demoproj.cod Not Registered Required RRT RIM Runtime API

I dont have any clue as to why should the cod file be registered inspite of not using the api that needs signing. Can anyone pls throw some light on this

Below is the list of packages i have used for your reference

CLASS 1

import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.MenuItem;
import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.ui.component.BasicEditField;
import net.rim.device.api.ui.component.Dialog;
import net.rim.device.api.ui.component.EditField;
import net.rim.device.api.ui.component.LabelField;
import net.rim.device.api.ui.component.RichTextField;
import net.rim.device.api.ui.container.MainScreen;
import net.rim.device.api.util.Persistable;
import javax.microedition.io.Connector;
import javax.microedition.io.StreamConnection;
import javax.microedition.io.file.FileConnection;
import javax.microedition.location.Location;
import javax.microedition.location.LocationException;
import javax.microedition.location.LocationListener;
import javax.microedition.location.LocationProvider;
import java.util.*;
import java.io.*;


CLASS 2

import net.rim.device.api.system.Display;
import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.Graphics;
import net.rim.device.api.ui.MenuItem;
import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.ui.component.BasicEditField;
import net.rim.device.api.ui.component.LabelField;
import net.rim.device.api.ui.component.ListField;
import net.rim.device.api.ui.component.ListFieldCallback;
import net.rim.device.api.ui.component.Menu;
import net.rim.device.api.ui.container.MainScreen;
import java.util.*;

Thanks!!
Offline   Reply With Quote