Android Open Source - Framework image android-png-loader






Project Summary

Simple sample including an Android project that mean to show a PNG image on the screen. The aim of this repo is decodifying the image without using the Android framework for PNG files in order to learn about the PNG file structure. This does not mean to be efficient but self-explanatory enough to understand how to deal with PNG files from zero..

Web Site / Source Repository

android-png-loader is hosted in the following web site
https://github.com/carlos-sancho-ramirez/android-png-loader

If you think the Android project android-png-loader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Project Detail

The following table is the detailed list of android-png-loader.

ItemValue
Java File Count6
Supported screen sizes[mdpi, hdpi, xhdpi]
Target SDK Version15
Minimum SDK Version5
Activity Count1
Test Case Count1
Asset File Namesassets\ball.png
assets\dice.png
assets\redblack.png




Resource Files

There are 1 image files in android-png-loader. The names of the image files are listed as follows.

ic_action_search.png

The following screenshort is generated from the image listed above.

null

Java Source Files

android-png-loader has the following Java source files.

sword.android.png_loader.Chunk.java
sword.android.png_loader.IdatInputStream.java
sword.android.png_loader.MainActivity.java
sword.android.png_loader.UnexpectedEndOfFileException.java
sword.android.png_loader.Utils.java
sword.android.png_loader.WrongFileFormatException.java