Coder Social home page Coder Social logo

2tu / bither-android-lib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bither/bither-android-lib

0.0 3.0 0.0 8.91 MB

Bither Android Library

Home Page: http://Bither.net

License: Apache License 2.0

Makefile 1.55% CMake 0.83% M4 0.50% C 50.80% C++ 0.75% Groff 1.02% Batchfile 0.01% Shell 0.89% HTML 14.51% CSS 0.56% Perl 0.07% JavaScript 0.61% Java 3.74% Assembly 24.16%

bither-android-lib's Introduction

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"

bither-android-lib's People

Contributors

arjanschouten avatar bithernet avatar jjz avatar leehankyeol avatar songchenwen avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.