Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 05-19-2009, 02:44 PM   #5 (permalink)
beachdog
New Member
 
Join Date: Jan 2009
Posts: 36
beachdog is on a distinguished road
Default

Quote:
Originally Posted by cjpearl View Post
A question. What would be the best way to incorporate images? It doesn't look like I can easily do that in XML, unless maybe I encode it (i.e. base-64) server-side, send it as XML, and then decode it on the device?
I would think you could do it with multipart content where the image is included in a part with 'Content-Transfer-Encoding: binary' and is therefore not base64 encoded.

I am not doing this exact thing, but I am doing the reverse in a sense, where I am submitting an HTTP POST to my server that contains multipart content, where one part is audio data. I am just sending that in raw form in a section that uses binary for Content-Transfer-Encoding. If you are in control of the code both sending and receiving I don't see why you would need to do base64 encoding.
__________________
My Apps - Carbfinder, My BG Lite
beachdog is offline   Reply With Quote
 

» Advertisements
» Online Users: 464
20 members and 444 guests
7twenty7, buggen, ClerurcifeDer, Clouds, Duncan C, e2applets, iAppDeveloper, ipodphone, KarlJay, linkmx, orninn, PowerGoofy, ryantcb, sacha1996, Sami Gh, Speed, stanny, Steven.C, Studder, yomo710
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,638
Threads: 94,102
Posts: 402,824
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Studder
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:43 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.