I'm developing an iPhone-application using monotouch. In this app, the user is supposed to get an image already stored in the phone (from the gallery) and bring the selected image into the app. I understand I have to launch a gallery browser of some sort but I haven't found any examples where this is done. Any thoughts on how I should do this?
This is a nice example: Martin Bowler's Screen Cast using UIImagePickerController
Related
Hello and Good afternoon, I am stuck again. I want to access Images from the mobile device and populate it on the Xamarin form.However, It is quite easy and I have been able to do along side in asset and resource folder. Since, I am new to Mobile development, I don't know how to set the path and retrieve an image from the device memory(No clue to how it works).Could you please help me with it? The sole idea is to fetch the image from device memory(or SD card).
what you are looking for exists as a plugin which is called
Media Plugin
You can find more details about it and samples here
I am developing a Windows Phone 8 App. I want to add my app in the list of apps that appear when you use the ShareMediaTask. It should be possible since installing Facebook automatically adds the Facebook share to this list. So how do I register my app for this?
If this is not possible, is there a way to use FileOpenPicker() for videos??
Thanks
Sorry, there is no way to register your app to display in the Share Picker for video files.
We tried to do the same, with no success, and the same goes for photos other than JPEG files, like for example PNG.
To add a quote from the article posted by #ahandersson on "Extending the share picker for Windows Phone 8":
This topic describes how your app can appear in the share picker, a page that lets the user pick an app for sharing the photo they are viewing. Note that this extensibility is only available when the photo is a JPG file.
This http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff967563(v=vs.105).aspx should help you register your application to display in the Share Picker.
My requirement is to integrate a web camera in aspx page and i need to capure a picture for the customers and insert in the database. I have tried with flash player,Aforge dll and silverlight. Can anyone suggest me an easy way to integrate web camera in aspx page. I have been trying this for a long time now.
DirectShow.Net is really your best option to achieve this functionality. C# and the .Net framework do not provide really any support or API's for webcam access.
http://directshownet.sourceforge.net/about.html
You can you silverlight to detect any USB camera attached your system.
In silverlight there are predefined classes for detecting removable devices attached to the system if you want i can give you the working code .. and steps to do this functionality
U need to use Model PopUp Extender of asp and for that model popup set the source to the Silverlight Page which capture the image and u will need to write the web service which will take the captured image and convert it to the byte array and then it store that Image in the DB these are the steps u will need to do. If u want i can help u with all kind of source code help u will need just try it and tell me if u are ok with this..
Ok this is somehow troublesome, and I'm about to give up on this.
I have an application for Windows Phone that summarizes a popular news site, I show the main news and some pictures galleries that the site has. It has been working ok for several months, until I started noticing some bad comments about the app.
When I checked the application using my Wi-Fi (or any other hot spot) it works all right, all the images from both, the news and galleries show ok.
But when I use the cell phone data plan, the images just wont load, and I mean, If I add an image from another site, it will load it just fine, but not the ones from the news site I'm trying to get.
an example would be the image form http://i.televisa.com/noticieros/fotos/1311/08/RobertoBarreda.jpg/_jcr_content/renditions/cq5dam.thumbnail.624.351.jpg, it loads ok if I use the Wi-Fi, but not my cell phone data plan.
And to verify this, I've created a simple app that only does this:
<Image Source="http://i.televisa.com/noticieros/fotos/1311/08/RobertoBarreda.jpg/_jcr_content/renditions/cq5dam.thumbnail.624.351.jpg"></Image>
If anyone has an explanation/solution I would really appreciate it. Thanks!.
You should use Image's Opened, Failed and Progress changed event handlers to debug the issue and you can use emulator's feature of changing n/w types too
How do i select multiple photos in WP8. I saw in demos, that its possible but was unable to find any SDK related to it in MSDN.
Currently I am selecting one image at once by using PhotoChooserTask.
I don't think that the WP API let you select more than one photo at time. The "multiple selection" feature is intended just for selecting several pictures in the Pictures app and it's meant for quick share or deletion.
MSDN documentation is very clear about it, PhotoChooserTask is meant for selecting just one picture a time (http://msdn.microsoft.com/en-US/library/windowsphone/develop/microsoft.phone.tasks.photochoosertask(v=vs.105).aspx). I don't know any other way to access saved photos programmatically.
you could leverage this WP8 library:
https://multiphotochooser.codeplex.com/
It functions like a photochoosertask but it's capable of returning several images at a time.