D.R.Magee at leeds.ac.uk
Wed Oct 26 07:04:56 EDT 2016
Can I suggest that an easy alternative is to run a (windows/linux) server that serves something compatible with openseadragon and simply use a WebView element (https://developer.android.com/reference/android/webkit/WebView.html) in your Android app. This is probably a more practical solution anyway as most android devices have limited storage.
From: openslide-users [mailto:openslide-users-bounces+d.r.magee=leeds.ac.uk at lists.andrew.cmu.edu] On Behalf Of Benjamin Gilbert via openslide-users
Sent: 26 October 2016 08:40
To: openslide-users at lists.andrew.cmu.edu
Subject: Re: help
On Sat, Oct 22, 2016 at 02:08:25PM +0330, Ramin Nateghi via openslide-users wrote:
> I am trying to use openslide in my android studio project. I added
> the openslide.jar file in my project but I have error. How I can use
> openslide library in android?
Currently this is not practical, for two reasons:
- OpenSlide Java requires OpenSlide. OpenSlide requires, directly or indirectly, 14 other native libraries. All of these libraries, as well as OpenSlide Java's JNI glue, would need to be compiled for Android using the Android NDK.
- OpenSlide Java uses AWT and Swing classes that are not available on Android. To run on Android, OpenSlide Java would need to be ported to the Android graphics library.
openslide-users mailing list
openslide-users at lists.andrew.cmu.edu
More information about the openslide-users