Use DCMTK in Android Studio

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
asoulier
Posts: 2
Joined: Thu, 2019-02-21, 17:17

Use DCMTK in Android Studio

#1 Post by asoulier » Thu, 2019-02-21, 17:25

Hello,

I would like to use the DCMTK library in an android application. I used CMake to cross compile the library for Android and created the shared files with the make command.

Now I don't understand how to use these files in android studio, how can I access the native functions in a java program, don't we need to use JNIEXPORT to allow java to access the dcmtk function?

Thanks,

Arnaud

Jan Schlamelcher
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 318
Joined: Mon, 2014-03-03, 09:51
Location: Oldenburg, Germany

Re: Use DCMTK in Android Studio

#2 Post by Jan Schlamelcher » Fri, 2019-02-22, 10:33

I don't know about Android Studio, since I've never used it. However, regarding JNI, you may have a look at the source code of DICOMscope, which is a Java desktop application based on DCMTK.

asoulier
Posts: 2
Joined: Thu, 2019-02-21, 17:17

Re: Use DCMTK in Android Studio

#3 Post by asoulier » Tue, 2019-02-26, 15:08

Thanks, I will take a look at the source code and try to find a solution in it.
If anyone else can bring me a solution or clue, I will be grateful.

Arnaud

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest