GitHub - Bither - Bither-Android-Lib - Bither Android Library

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Product Team Enterprise Explore Marketplace Pricing Search Sign in Sign up

bither / bither-android-lib Public Notifications Fork 234 Star 813

Code Issues 1 Pull requests Actions Projects Wiki Security Insights

master 1 branch 0 tags Go to file Code About

Bither Android Library


bithernet Merge pull request #10 from ArjanSchouten/patch-1 … 845b6e0 on Nov 13, 2015 27 commits
bither.net

libjpeg-turbo-android add license 8 years ago Readme

.gitignore add test.jpg 8 years ago Apache-2.0 license

813 stars
LICENSE Update LICENSE 8 years ago
48 watching
README.md Fix typo in readme 7 years ago
234 forks
REASON.md Update REASON.md 8 years ago

Releases
README.md
No releases published

The reason of this project : REASON.md

Related links : Skia Issue, Skia Discuss Packages

No packages published

Build libjpeg-turbo-android-lib
Contributors 5
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
Languages

2.Build libjpeg-turbo.so
C 51.8% Assembly 24.4%
HTML 14.6% Java 3.8%
cd ../libjpeg-turbo-android/libjpeg-turbo/jni Makefile 1.2% Roff 1.0%
Other 3.2%
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"

© 2022 GitHub, Inc. Terms Privacy Security Status Docs Contact GitHub Pricing API Training Blog About

You might also like