0% found this document useful (0 votes)
35 views1 page

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

This document provides instructions for building and using the libjpeg-turbo-android library. It outlines 6 steps: 1) Configure the Android NDK and SDK paths, 2) Build the libjpeg-turbo.so library, 3) Copy the resulting library to the bither-android-lib project, 4) Build that project to generate additional libraries, 5) The generated libraries can then be loaded and used in a Java application, 6) Using the NativeUtil class provides access to the native methods.

Uploaded by

Megan Kos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views1 page

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

This document provides instructions for building and using the libjpeg-turbo-android library. It outlines 6 steps: 1) Configure the Android NDK and SDK paths, 2) Build the libjpeg-turbo.so library, 3) Copy the resulting library to the bither-android-lib project, 4) Build that project to generate additional libraries, 5) The generated libraries can then be loaded and used in a Java application, 6) Using the NativeUtil class provides access to the native methods.

Uploaded by

Megan Kos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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