Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bither/bither-android-lib
Bither Android Library
https://github.com/bither/bither-android-lib
Last synced: 18 days ago
JSON representation
Bither Android Library
- Host: GitHub
- URL: https://github.com/bither/bither-android-lib
- Owner: bither
- License: apache-2.0
- Created: 2014-05-29T08:23:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-12-24T08:14:53.000Z (almost 7 years ago)
- Last Synced: 2024-07-31T22:54:22.574Z (3 months ago)
- Language: C
- Homepage: http://Bither.net
- Size: 8.7 MB
- Stars: 811
- Watchers: 49
- Forks: 233
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
The reason of this project : [REASON.md](https://github.com/bither/bither-android-lib/blob/master/REASON.md)
Related links : [Skia Issue](https://code.google.com/p/skia/issues/detail?id=3460), [Skia Discuss](https://groups.google.com/forum/#!topic/skia-discuss/p0IcyBoU8P0)
Build libjpeg-turbo-android-lib
==================1.To get started, ensure you have the latest NDK
You must configure the path of JDK and Android SDK.echo "export ANDROID_HOME='Your android ndk path'" >> ~/.bash_profile
source ~/.bash_profile
2.Build libjpeg-turbo.so
cd ../libjpeg-turbo-android/libjpeg-turbo/jni
ndk-build
3.You can get libjpegpi.so in
../libjpeg-turbo-android/libjpeg-turbo/libs/armeabi
4.Copy libjpegpi.so to ../bither-android-lib/libjpeg-turbo-android/use-libjpeg-turbo-android/jni
cd ../bither-android-lib/libjpeg-turbo-android/use-libjpeg-turbo-android/jni
ndk-build
5.You can get libjpegpi.so and libpijni.so
6.Use libjpeg-turbo in java
static {
System.loadLibrary("jpegpi");
System.loadLibrary("pijni");}
and you must use class of "com.pi.common.util.NativeUtil"