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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 10-30-2008, 09:09 AM   #1 (permalink)
Registered Member
 
Join Date: Oct 2008
Posts: 14
ekam is on a distinguished road
Default Sending Photos to the Server

Hey Guys,

Is there a way in iPhone SDK to let the user take photo and send that photo to the server?

Thanks
ekam is offline   Reply With Quote
Old 10-30-2008, 10:09 AM   #2 (permalink)
Registered Member
 
RickMaddy's Avatar
 
Join Date: Oct 2008
Location: Denver, CO
Posts: 2,121
RickMaddy will become famous soon enough
Default

Yes
RickMaddy is offline   Reply With Quote
Old 10-30-2008, 10:14 AM   #3 (permalink)
Registered Member
 
RickMaddy's Avatar
 
Join Date: Oct 2008
Location: Denver, CO
Posts: 2,121
RickMaddy will become famous soon enough
Default

Oh, I suppose you want more details

Break the problem down into smaller steps.

1) Take photo - use the UIImagePickerController with the sourceType set to use the camera. Once the user takes the photo your UIImagePickerControllerDelegate will get called with the image.
2) Package photo and send it - Once you have the image you need to create an HTTP form request and submit the data to your server. A Google search will reveal several pages describing how this is done in more detail.
3) Write server side - This is up to you to handle. Write a server side page that can handle submitting a file. Then step 2 can work.

I know there aren't many details here but it's a starting point.
RickMaddy is offline   Reply With Quote
Old 10-31-2008, 03:27 AM   #4 (permalink)
iPhone App Developer
 
chbeer's Avatar
 
Join Date: Sep 2008
Location: Berlin, Germany
Posts: 229
chbeer is on a distinguished road
Default

To 2) Tipp: NSURLConnection
__________________
Learn vocabularies on iPhone? iVocabulary!
chbeer is offline   Reply With Quote
Old 10-31-2008, 10:59 AM   #5 (permalink)
New Member
 
Join Date: Sep 2008
Posts: 30
backwardselvis is on a distinguished road
Default

There was a post on the apple dev forum about this.

https://devforums.apple.com/message/4248#4248

Last edited by backwardselvis; 10-31-2008 at 11:13 AM.
backwardselvis is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 347
13 members and 334 guests
bignoggins, carlandrews, cgokey, flamingliquid, givensur, hzwegjxg, ilmman, jenniead38, linkmx, mraalex, PixelInteractive, Trickphotostudios
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,116
Posts: 402,889
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:55 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0