Andreas Schildbach <[email protected]> wrote:
> Using the Android API, I'd like to do something like SELECT * from
> my_table WHERE my_blob=?
> 
> My problem is, all of the query methods only take strings as a parameter
> for the '?' placeholder. How am I supposed to pass in a byte array?

http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#compileStatement(java.lang.String)
http://developer.android.com/reference/android/database/sqlite/SQLiteProgram.html#bindBlob(int,
 byte[])

-- 
Igor Tandetnik

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to