Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

getglory/bither-android-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

27 Commits

Repository files navigation

The reason of this project : REASON.md

Related links : Skia Issue, Skia Discuss

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"

About

Bither Android Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 51.4%
  • Assembly 24.1%
  • HTML 14.5%
  • Java 3.7%
  • Makefile 1.6%
  • Roff 1.0%
  • Other 3.7%

AltStyle によって変換されたページ (->オリジナル) /