Deployed jar file to create android app

2 views (last 30 days)
I was trying to use deployed jar file to create an android app.Specifically I needed image processing application. I am trying to run the app in virtual machine in eclipse. But I am getting run time errors : Unsatisfied linkage error and Exception in initializer error. I have used jdk, matlab, mcr of 64 bit and java version used is jre6. I couldnot solve this issue from any forum. I have set the classpath as \matlabroot\toolbox\javabuilder\jar\win64; (Is this the correct way of setting classpath?)

Accepted Answer

Walter Roberson
Walter Roberson on 20 Apr 2016
This is not possible with any current release. The Compiler SDK can only generate for deployment to one of the os that MATLAB itself runs on. The generated jar is not pure java, it is a series of jni interfaces to Windows or Osx or Linux code.
  6 Comments
Divya SV
Divya SV on 21 Apr 2016
Thank you. The description was very helpful.
Walter Roberson
Walter Roberson on 9 May 2016
I happened to look last night at some of the blocks available for deployment to a couple of the Android Galaxy devices. There is a block which accepts R, G, and B signals and displays the result as the screen. It would require computing the entire screen, I suspect. Some of the routines in the Vision toolbox help in that.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!