• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem managing BLOB containing images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Unix Signals Delivered from Quitting Cocoa Apps?
  • Next by Date: Re: web-based Cocoa dev docs inaccessible
  • Previous by thread: MediaPlayer.framework causing Core Data migration errors
  • Next by thread: How to highlight only part of the text in a text field?
  • Index(es):
    • Date
    • Thread