Back to project page SimpleStorage.
The source code is released under:
Apache License
If you think the Android project SimpleStorage listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.njzk2.simplestorage.handler; /*from ww w .java 2 s . co m*/ import android.database.Cursor; public class BytesHandler extends TypeHandler<byte[]> { @Override public String getSQLType() { return "BLOB"; } @Override public byte[] fromCursor(String name, Cursor content) { return content.getBlob(content.getColumnIndex(name)); } }