List of usage examples for android.content ContentValues writeToParcel
@Override public void writeToParcel(Parcel parcel, int flags)
From source file:Main.java
public static byte[] toByteArray(ContentValues contentValues) { Parcel obtain = Parcel.obtain();//w w w.j a v a 2 s. c o m contentValues.writeToParcel(obtain, 0); byte[] byteArray = obtain.marshall(); obtain.recycle(); return byteArray; }