Problem managing BLOB containing images
Problem managing BLOB containing images
- Subject: Problem managing BLOB containing images
- From: Andrea Mattiuz <email@hidden>
- Date: Mon, 13 Sep 2010 12:18:16 +0200 (CEST)
I have problems with download and upload blob data in my iPhone app using
Sqlite. Everything seems to be ok if I insert the photos in the blob field with
SQLite manager: I can read the image and manage it with my app.
When I export the table to xml with the SQLite manager's feature, it creates a
file that contains in the photo field a value like X'FFD8FFE000104A46....
01010000010001000'.
After that I catch that value in a string with the method:
- (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string {
str = [str stringByAppendingString:string];
}
How can I get the image back from that string?
Thanks,
Andrea
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden