我与读者集成并使用自己收藏家的库。这样我就可以创建一个Java应用程序,并使用JNI将其与我的移动应用程序集成。
当我在设备上打开我的应用程序时,它在我调用从应用程序本身启动服务的方法的行上出现securityException
错误:
Intent serviceIntent = new Intent ();
serviceIntent.setAction ("com.honeywelll.decode.decodeService");
startService (serviceIntent); // In this line of the security exception error
java.lang.SecurityException:不允许启动服务Intent {act = com.honeywell.decode.DecodeService},未经许可不从uid导出10089 EJNIException
注意:它适用于Java 4.1.1版本,但在7.1中会发生此错误。