Skip to content

vaginessa/AndroidMagic

 
 

Repository files navigation

AndroidMagic(使用LibMagic识别文件类型)

An android project to query file info with LibMagic

Details

This project is for me to learn Java, NDK, and for fun.

  • learn how to build ndk and sign apk with android gradle-experimental
  • source code is from open source implementation of the file command
  • libmagic is "a file type guesser", that tells you in words what kind of data a file contains

学习记录

  • 移植LibMagic到安卓平台上, 使文件类型的识别不仅通过扩展名
  • 使用gradle-experimental编译NDK
  • Java与本地代码之间内存拷贝GetByteArrayRegion
  • butterknife 以及 rxjava的使用

Useful Links

Screenshot

screenshot

About Me

Contact To Me

About

LibMagic on Android to provides mime-type determination from files and byte arrays

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.8%
  • Java 3.5%
  • C++ 0.7%