Quote:
Originally Posted by dnquark
I just grabbed the db files and poked around  If you are curious, I suggest getting the backup zip file from local storage (it will be in `/sdcard/note/backup/local/`), and opening it with SQLite browser. Most of the fields are fairly self-explanatory with the exception of binary stroke blobs, but these are arrays of 24-byte structs, (4 floats and a long, big-endian, corresponding to x, y, pressure, size, timestamp). Size is always 0. It seems that for strokes, if the SVG I get from PDF has N points, there will be 2N points in the binary blob. The scaling/units in the float values isn't clear, so it's difficult to do side-by-side comparison with SVG output. But if you just do a scatterplot of the points, you get the strokes you expect.
That's about all I found out, if you are able to reverse-engineer more of the file format that would be pretty cool. It seems quite doable, but I don't really have the bandwidth for it now.
|
I am doing some poking around as well. Not sure if this is already known, but I can also confirm that local backup of notes is literally the same databases that are found in the /data/data/com.onyx.android.note/databases folder. Meaning that if you do a backup, mess with the databases, and rezip, then restore backup in the notes app, it will literally just copy paste the database files back in the Note app's database folder and your modified notes will be available in the app. Will do some more digging.