huzongyao / AndroidMagic

LibMagic on Android to provides mime-type determination from files and byte arrays
24 stars 13 forks source link
android filesystem libmagic ndk

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

An android project to query file info with LibMagic

Travis Travis

Introduction

The file command is "a file type guesser", that is, a command-line tool that tells you in words what kind of data a file contains. Unlike most GUI systems, command-line UNIX systems - with this program leading the charge - don't rely on filename extentions to tell you the type of a file, but look at the file's actual contents. This is, of course, more reliable, but requires a bit of I/O.

Screenshot

screenshot

Details

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

学习记录

Useful Links

About Me

Contact To Me

Others