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.
Related
As a web developer, when I have multiple sites that are related by a common theme or common department, I have a home page that has links to the different sites. For example, there may be a site for reports (output to pdf or excel), another for inputting and editing sales data, and yet another for real-time tracking. Normally these links are in a header or sidebar which is static and can be accessed by all associated apps.
I'm reading about Metro/Modern apps now. I'll be trying to make my first Metro app soon. However, I'm wondering if it's possible to have (at least the illusion) of accessing 3 different apps through 1 app. So the user, just as in the web app, goes to one place.
If so, does anyone have any resources they can share?
To include multiple apps in the same frame they would need to all be part of the same app.
If you want links to jump between apps then you can create a protocol association to launch into the apps. This can include an arbitrary string so you can deep link rather than going just to the opening page.
On Windows 8.1 this connection is one-way: launching the protocol is fire-and-forget. The launching app doesn't get any feedback or results from the launched app.
Windows 10 adds the ability to return results to use the app as a service. I think this sounds more like what you are looking for.
See Auto-launching with file and URI associations on MSDN and the Build session App-to-App Communication: Building a Web of Apps
actually in Windows Universal app it's the same Approach. You got your app, and different pages where you could navigate back and forth... each page with it's unique look depending on your Need.
The user will open one app to Access all...
searching a bit in the net will Show you a lot of examples... Topic: Navigation, LiveCylcles, ...
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 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
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.
I am creating an app in Windows Phone which is basically an organizer for electricity bills. I want to allow the user to add images to the app along with their monthly consumption and before adding the image, show a preview of the images. How do I do this? I have already understood how to add the text part. I also want to save the image to the phone's hard drive. I've heard that I can do this using something called IsolatedStorage. Can someone please tell me how?
You didn't tell that where you get the image whether it from web or local content. Try like this in URL
http://www.windowsphonegeek.com/tips/All-about-WP7-Isolated-Storage---Read-and-Save-Images
If you want to save an image from web you have to save the image as memory stream. Let me know if you have any further doubts