My 'learning B4A' project - which involves creating an address database with details of various friends - has now reached the stage of wanting to put in a photo of each of the people listed. So two questions to which I haven't been able to find an answer:
1 - how do I get a picture from file into SQLite as a blob? I understand it has to be a byte string (obviously, really) but beyond that I'm unsure.
2 - and how do I then display it in the Android app?
(After solving this I suspect my next task will be putting in a map of where each of them lives! I'll learn all the ins-and-outs of this if it kills me!)
TIA!
John
1 - how do I get a picture from file into SQLite as a blob? I understand it has to be a byte string (obviously, really) but beyond that I'm unsure.
2 - and how do I then display it in the Android app?
(After solving this I suspect my next task will be putting in a map of where each of them lives! I'll learn all the ins-and-outs of this if it kills me!)
TIA!
John