Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Monotouch Camera Image Capture and Upload

I would like to be able to capture an image (or choose an image from the photo library) and upload it to a remote server using Monotouch. I am not sure how to obtain and encode the image or how to upload the image and I am having difficulty finding relevant instructions. Can you help me get started? Thank you.

like image 450
Bryan Avatar asked Feb 10 '10 20:02

Bryan


2 Answers

Here's a full example in MonoTouch

https://github.com/migueldeicaza/TweetStation/blob/master/TweetStation/UI/Camera.cs

like image 69
Ian Vink Avatar answered Sep 22 '22 02:09

Ian Vink


What you are looking for is the UIImagePickerController. Here is a screencast on how to use it in Monotouch.

like image 44
Kris Erickson Avatar answered Sep 21 '22 02:09

Kris Erickson