I've got some pictures taken by my app. The pictures are displayed in ListBox control. Now, I want to after the click any image, this opened up in the Windows Phone Gallery. I know about PhotoChooserTask, but I don't want that first opened all pictures in gallery, and then, I select the image. Pictures will be viewed directly in the gallery. That is possible?
I had faced this issue when I was making Pin picture app for Windows Phone 8. So I can say it for sure: there is no way to open photo in system gallery from app. You can do it in Windows Phone 8.1 only.
Related
I'm using C# and Windows Phone 8.1 (As Universal app).
I have a question: Have you seen "Windows Central app for windows phone"? In this application can see hole passage and images on a website page. Here is screen shots on this application:
How can I make control like this that can show images or videos on passage?
Thanks alot.
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.
I just try to program a WP8 app in C# which shows pictures on the lockscreen. So far everything works, but how do I create in code a JPEG image, which consists of an Image and a string?
The LockScreen should be then be able to change with
LockScreen.SetImageUri("Picture Uri").
Does anyone have an idea?
You need to save the image to the isolated storage and use the following path: ms-appdata:///local/<your-path-here>.
Links:
Lock screen for Windows Phone 8
Dynamic Lock Screen for Windows Phone 8
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 just finished my first application for windows phone in C# Silverlight (for which I asked a lot of questions on this forum) and I just looked at the default images of the project and I noticed that I've never seen the image called background in my application using the emulator. What is it for???? Thanks!!!
p.s.
(I'm new to windows phone, that's why I ask a lot of questions!!!)
The Background.png image is the image used as the home screen tile, and that is why the default image size when you create a new project is 173x173 pixels!