Description: Ported the android png library, a BMP bitmap in ndk layer will be converted to PNG bitmap. layer java code only as example, the the ndk code can be used directly
To Search:
File list (Check if you may need any files):
ndkBmp2png\AndroidManifest.xml
..........\res\layout\main.xml
..........\...\values\strings.xml
..........\jni\png.h
..........\...\pngconf.h
..........\...\pngdebug.h
..........\...\pnginfo.h
..........\...\pnglibconf.h
..........\...\pngpriv.h
..........\...\pngstruct.h
..........\...\main.c
..........\...\png.c
..........\...\pngerror.c
..........\...\pngget.c
..........\...\pngmem.c
..........\...\pngpread.c
..........\...\pngread.c
..........\...\pngrio.c
..........\...\pngrtran.c
..........\...\pngrutil.c
..........\...\pngset.c
..........\...\pngtest.c
..........\...\pngtrans.c
..........\...\pngvalid.c
..........\...\pngwio.c
..........\...\pngwrite.c
..........\...\pngwtran.c
..........\...\pngwutil.c
..........\...\main.c.bak
..........\bin\resources.ap_
..........\...\ndkBmp2png.apk
..........\proguard.cfg
..........\bin\wxy\com\R$attr.class
..........\...\...\...\R$drawable.class
..........\...\...\...\R$layout.class
..........\...\...\...\R$string.class
..........\...\...\...\R.class
..........\...\...\...\TouchActivity.class
..........\.classpath
..........\obj\local\armeabi\objs\png\main.o.d
..........\...\.....\.......\....\...\png.o.d
..........\...\.....\.......\....\...\pngerror.o.d
..........\...\.....\.......\....\...\pngget.o.d
..........\...\.....\.......\....\...\pngmem.o.d
..........\...\.....\.......\....\...\pngpread.o.d
..........\...\.....\.......\....\...\pngread.o.d
..........\...\.....\.......\....\...\pngrio.o.d
..........\...\.....\.......\....\...\pngrtran.o.d
..........\...\.....\.......\....\...\pngrutil.o.d
..........\...\.....\.......\....\...\pngset.o.d
..........\...\.....\.......\....\...\pngtrans.o.d
..........\...\.....\.......\....\...\pngwio.o.d
..........\...\.....\.......\....\...\pngwrite.o.d
..........\...\.....\.......\....\...\pngwtran.o.d
..........\...\.....\.......\....\...\pngwutil.o.d
..........\bin\classes.dex
..........\gen\wxy\com\R.java
..........\src\wxy\com\TouchActivity.java
..........\jni\Android.mk
..........\obj\local\armeabi\objs\png\main.o
..........\...\.....\.......\....\...\png.o
..........\...\.....\.......\....\...\pngerror.o
..........\...\.....\.......\....\...\pngget.o
..........\...\.....\.......\....\...\pngmem.o
..........\...\.....\.......\....\...\pngpread.o
..........\...\.....\.......\....\...\pngread.o
..........\...\.....\.......\....\...\pngrio.o
..........\...\.....\.......\....\...\pngrtran.o
..........\...\.....\.......\....\...\pngrutil.o
..........\...\.....\.......\....\...\pngset.o
..........\...\.....\.......\....\...\pngtrans.o
..........\...\.....\.......\....\...\pngwio.o
..........\...\.....\.......\....\...\pngwrite.o
..........\...\.....\.......\....\...\pngwtran.o
..........\...\.....\.......\....\...\pngwutil.o
..........\.project
..........\default.properties
..........\obj\convert-dependencies.sh
..........\libs\armeabi\libpng.so
..........\obj\local\armeabi\libpng.so
..........\res\drawable-ldpi\icon.png
..........\...\.........mdpi\icon.png
..........\...\.........hdpi\icon.png
..........\obj\local\armeabi\objs\png
..........\...\.....\.......\objs
..........\...\.....\armeabi
..........\bin\wxy\com
..........\gen\wxy\com
..........\src\wxy\com
..........\libs\armeabi
..........\res\drawable-hdpi
..........\...\drawable-ldpi
..........\...\drawable-mdpi
..........\...\layout
..........\obj\local
..........\res\values
..........\bin\wxy
..........\gen\wxy
..........\src\wxy
..........\assets