开发者

Make package for Android

开发者 https://www.devze.com 2023-03-15 00:40 出处:网络
Problem Description I\'m writing module for Android (JAVA) that use native code (C). In JAVA I have created Class "MyClass.java" and implement all functions and 开发者_运维知识库classes ther

Problem Description

I'm writing module for Android (JAVA) that use native code (C). In JAVA I have created Class "MyClass.java" and implement all functions and 开发者_运维知识库classes there, also I call loadLibrary function from that file.

Now I want to build something like dll in C only for Android JAVA in order to give it to other users and they can use my class and functions.


You probably want to create a library project that contains your Java and C stuff. http://developer.android.com/guide/developing/projects/index.html#LibraryProjects

Do you want it to be used at runtime or compile time?

0

精彩评论

暂无评论...
验证码 换一张
取 消