correct type error

we should use integer type instead of Color(android.Graphics) since
andorid use a unsigned int64 to describle a color of ARGB.
decoding function

class has almost finished
except for funciton setPoint() which use to locate the point to read