Monotouch Camera Image Capture and Upload - image

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.

Here's a full example in MonoTouch
https://github.com/migueldeicaza/TweetStation/blob/master/TweetStation/UI/Camera.cs

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

Related

Is there any limitation for uploading image from Figma Plugin to my server?

I want to build a plugin to allow designers to upload image that they added to the frame with the frame specification etc.
I'm seeing some comments/questions on Figma Community pages mentioned that figma doesn't allow that type of network requests or only examples that I could find is getting Unsplash image and putting it on to the canvas.
Before I try to figure out a different solution, wanted to check with other people to see if anyone tried this before?

Share videos camera roll wp 8

I tired to googling that how share videos form camera roll in windows phone 8 like in Nokia video upload and facebook app. I used to try this
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff967563(v=vs.105).aspx
Only share picture but I want to share only videos for my app e.g. when my app show in list when share a video by camera roll of windows phone in sharing
To quote the link you included in your question:
Note that this extensibility is only available when the photo is a JPG
file.
And from my experience, I can confirm that it is not possible to register your app as a share target for a video file.
In other words, if a user tries to share a video from the camera roll or another app, there is no way to make your app appear as one of the options in that list.
Did you try using the share media task function?
Check this article out from the msdn :
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207027(v=vs.105).aspx
You can use MediaLibrary and there is already an answer for your question in this link. As said, there is no way to select existing sound media and video files through default choosers. Thank you.

Handling Images in PhoneGap

Current Behavior:
I have build a PhoneGap application that takes photos using Camera and the upload to a server. User can see all the photos that are uploaded as thumbnails.
What I am trying to do:
I want that the user should be able to tap on a photo thumbnail and the selected photo should open in the default image viewer for iOS/Android. Also, user should be able to swipe the photo in the default image viewer to see additional photos. This behavior is similar to what Facebook or any other app implements.
I am not sure how this feature is implemented and I am surprised that there is no one who faced this problem.
Thanks for all the help
Try this:
I haven't checked it, but it should work fine.

Image size reduces while it send through "ShareMediaTask" in windows phone 8

In my image editing application i am providing two option to the user, 1) save image to Media library and another share it through ShareMediaTask. The issue i am facing is while saving the image to library the size of the image is 1.5 mb. If i share the same image through ShareMediaTask(Gmail / Hotmail etc) The size of the image reduces to 330 Kb. Hence it affects the quality of the image. How i can share the same image in Media library without losing the size and quality in windows phone 8.
I also tried the same share through library (ie without using my application). Still the result is same.
If anyone had a solution to this issue please update your suggestions.
Thanks,
Stez.
The email application automatically downscales images, there is no way to control this. An alternative solution would be to, eg, upload the image to Skydrive and email the link.

How do i get the source of an image that has been downloaded off the internet?

In the app i'm working on, an image is displayed to the user which is gotten from a website.
I want the app to have an option to save the image to gallery.
From what i figure, since the image is displayed on the screen (and hence, has already been 'downloaded' to the phone), i shouldn't have to download it again for saving it to the phone (essentially specifying the URL of the image on the website as the image's source).
Is there a way to get the get the source (path) of the image?
I wrote one app while ago, it was about testing downloading an image from the web and putting it into Image control. And what surprised me a lot - after first download an image I was able to turn off wifi and after that image was still showing. I think WP7 have quiet good cache or something and maybe if U ask second time about the same URL U'll receive temporary file from cache instead downloading it again...
I researched a bit and found out that once an image has been downloaded from a url, it isn't downloaded again and is retrieved from the cache automatically. So, that leaves my question answered.
You were correct kingsvid!

Resources