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.
Related
I'm developing a Windows Phone app (Windows Runtime, not Windows Phone Silverlight 8.1). In it, I have to let the user select multiple photos to do some processing with them. To accomplish this, I'm using the FileOpenPicker class, and it works fine. But I want to show only the pictures whose name doesn't start with a given string, for example, "abc-". So, in this case, I would only want the FileOpenPicker to display the pictures whose name doesn't start with " abc-".
So, is it possible to do this? If it is not possible, how can I accomplish it?
Thank you.
(I'm launching the FileOpenPicker with
fileOpenPicker.PickMultipleFilesAndContinue();
No, it's not possible. You can filter only on the file type.
You can post or vote for feature requests on the Windows Dev Platform Feedback site.
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.
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
I am testing a PhotoChooserTask based Windows Phone 8 application in an emulator. I want to test a specific image. Is it possible to somewhere add your own images to the sample photos that the emulator provides?
To be more specific, I want to test a library for decoding JPEG 2000 images, but it is not clear to me how to access arbitrary images on Windows Phone? FileOpenPicker compiles, but it throws a NotSupportedException when the constructor is invoked. The PhotoChooserTask is currently my best bet, but so far I have not been able to figure out to access images that are not part of the sample photos. And as far as I have been able to find out, MSDN documentation also does not provide a good enough answer.
Upload the photo somewhere online, go to that URL in WP8 IE10, tap and hold and click "Save Picture". The picture should now be in your "Saved Pictures" folder which is visible in the PhotoChooserTask.
FileOpenPicker isn't currently supported on WP8. It's only useful for choosing photos from C++ code since PhotoChooserTask is a managed API and is unavailable to C++ apps. Read more about that here # http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj215901(v=vs.105).aspx
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