https://github.com/hotkit/fost-android-java
JNI wrappers for useful Fost features together with a few useful Java classes.
https://github.com/hotkit/fost-android-java
Last synced: 4 months ago
JSON representation
JNI wrappers for useful Fost features together with a few useful Java classes.
- Host: GitHub
- URL: https://github.com/hotkit/fost-android-java
- Owner: hotkit
- Created: 2014-12-23T02:48:21.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-01-08T03:11:16.000Z (over 5 years ago)
- Last Synced: 2025-01-19T21:34:39.574Z (6 months ago)
- Language: C++
- Size: 729 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
Awesome Lists containing this project
README
# fost-android-java #
Includes Java and JNI functionality that extends the `fost-android-ndk` project to allow certain features to be accessible from Java code.
## Use in a project ##
Typically you'll want to add this as a submodule somewhere suitable in your project. It's probably simplest to then soft link in the Java and native code.
cd src/com
ln -s ../../fost-android-java/src/com/felspar felspar
cd ../../jni
ln -s ../../fost-android-java/jni fost-android-javaYou need to have `fost-android-ndk` included in your `Android.mk` before including the make file for the JNI code. E.g. the beginning of your make file should now look something like this:
JNI := $(call my-dir)
include $(JNI)/fost-android-ndk/Android.mk
include $(JNI)/fost-android-java/Android.mkLOCAL_PATH := $(JNI)
include $(CLEAR_VARS)
It would then go on with your local module definition and code.
# Classes #
## `com.felspar.android.Asset` ##
## `com.felspar.android.Logger` ##
## `com.felspar.android.Setting` ##
## `com.felspar.android.WebServer` ##