I'm integrating with a reader and to do this use a library of the own collector. This way I create a java application and integrate this with my mobile application with JNI. But when I open my application on the device it gives a securityException error, the error happens on the line where I call a method to start a Service from the application itself.
Intent serviceIntent = new Intent ();
serviceIntent.setAction ("com.honeywelll.decode.decodeService");
startService (serviceIntent); // In this line of the security exception error
java.lang.SecurityException: Not aloowed to start service Intent {act = com.honeywell.decode.DecodeService} without permission not exported from uid 10089 EJNIException
NOTE: It works in version 4.1.1 of java but in 7.1 this error happens.