Skip to content

An android project to query GeoIp database using NDK and auto download db file from website

Notifications You must be signed in to change notification settings

huzongyao/AndroidMaxMind

Repository files navigation

AndroidMaxMind(GeoIp读取/数据文件在线更新/解压)

An android project to query/update GeoIp database

Details

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

  • learn how to build ndk and sign apk with android gradle-experimental
  • how to fetch the internet resource with URLConnection
  • how to operate the bytes and bits with java and C
  • how to use streams
  • use org.apache.commons:commons-compress to handle tar.gz
  • how to use rxjava for handle events

学习记录

  • 使用gradle-experimental编译NDK
  • 网络下载,进度显示
  • 使用Stream转换:InputStream->GZIPInputStream->TarArchiveInputStream

Useful Links

Screenshot

screenshot

About Me

Contact To Me

About

An android project to query GeoIp database using NDK and auto download db file from website

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published