MOTODEV Studio & SDK for Java ME
Log In  ·  Help
Jump to Page:   1
  Reply   Reply  

I can't run PIM.getInstance().listPIMLists in my A1200 phone. Why?
Options    Options  
veryfatman
Visitor
Posts: 2
Registered: 11-04-2009


veryfatman

Message 1 of 2

Viewed 77 times


I write a java me program witch reads the phone book. The codes are:

 

            names = PIM.getInstance().listPIMLists(PIM.CONTACT_LIST);

 

It works in the emulator. But in an A1200 phone, it can't run with the exception:

 

            java.lang.SecurityException: Application not authorized to access the restricted API 

 

What's the probrem?

 

 

Kudos!
11-04-2009 11:55 PM
 
  Reply   Reply  

Re: I can't run PIM.getInstance().listPIMLists in my A1200 phone. Why?
Options    Options  
gator
Technical Expert
Posts: 137
Registered: 03-06-2009


gator

Message 2 of 2

Viewed 54 times


Hi,

 

The MIDlet needs to be signed so as to use the JSR75 PIM APIs.

 

Regards

 

Yu Feng

Kudos!
11-08-2009 07:04 PM
 
Jump to Page:   1