read blob from mysql without php

Tadder

Member
Licensed User
Longtime User
i'm using hasanaydin52's MySQL library in order to connect to a MySQL DB (remote myphpadmin) without using any php at all. I have loaded the pics into the DB, but can't seem to figure out how to view them. I really don't have a solid understanding of the blob fields, or what format they are stored as in MySQL. i've tried googling it but couldn't seem to find the format...

I can get the character 'map' to show in a msgbox while looping through the records, but how do i get the image to show instead of that? here is the simple code:
B4X:
Dim mfrs As List = Main.serverDB.Query("SELECT logo FROM mfrs")

Dim i As Int =1

Do While(i < mfrs.Size)
   Msgbox(mfrs.Get(i),"item at " & i)
   i = i +1
Loop

I've attached a partial screenshot of the msgbox that shows in text format. can anyone offer advice?

tad :sign0104:
 

Attachments

  • Screenshot_2013-02-21-23-48-37123.png
    Screenshot_2013-02-21-23-48-37123.png
    7.6 KB · Views: 302
Top