I have searched on the net regarding how to implement share content and found that we can use Windows.ApplicationModel.DataTransfer namespace to share the content on Windows Phone 8 App too. But I am getting error that this namespace is not supported on Windows Phone 8.
Can you guys please tell me if there is some other way to share the contents like PDF file in a Windows Phone 8 app. I have created a program which captures an image & then converts the image to PDF file now I want this converted PDF file to be shared, but unable to do using Windows.ApplicationModel.DataTransfer namespace.
Any input will be highly appreciated.
The "Windows 8 way" does not work on Windows Phone 8. You need to use uri or file associations, more info at Auto-launching apps using file and URI associations for Windows Phone 8
Related
I want stored some file to can use between 2 apps in windows phone 8.1 (WinRT- Universal). Like use keychaninstore in ios or write to same file in same folder in storage as Android.
How i can do this?
Thanks for all support!
There is no way share files between two Windows Phone 8.1 apps. The functionality of shared folders (for apps from the same publisher) is coming in Windows 10. The best you can do now is to use OneDrive or some other online storage.
If you mean sharing a file between the same app on Windows Phone 8.1 and Windows 8.1, then use ApplicationData.RoamingFolder.
I am developing Windows Phone 8 app and I'm having the problem of calling XAML file from my HTML page.
I gone through this link
http://social.msdn.microsoft.com/Forums/silverlight/en-US/ccfc9fbd-5b34-4263-a81a-224f3d645b30/how-to-call-xaml-file-from-html-file?forum=silverlightstart
but not understood properly.
If someone have idea of this then help me.
You don't have html in Windows Phone 8 application.
The link you are following is not about Windows Phone development but it is about Web Silverlight Applications.
EDIT
Make sure you understand the difference between Silverlight for Windows Phone and Web Silverlight Application: http://msdn.microsoft.com/it-it/library/bb404700(v=vs.95).aspx
Windows Phone 8.1 is missing the Windows.Data.Pdf.PdfDocument API from Windows Store apps. What are my alternatives? Will this get added soon?
As indicated in a comment above, this is not currently supported. I have received a comment from a Microsoft employee on MSDN which says:
You can launch PDF files into the default PDF app or find a 3rd party
PDF control. We can't comment on future versions of the OS.
This hints at future support. In theory it should be easy for them as Windows Phone 8.1 is now the same platform.
I am using v7.1 sdk for developing windows phone 8 application ( as my system doesn't support windows 8 so i cant use window phone 8 sdk). I want to share image . In windows phone 8 sdk it is possible using SHAREMEDIATASK. My question is that how can i share image using v7.1 , please help & understand.
Well, you cannot use it on 7.1. I know is weird but the only way to do it is :
You can storage the image in Image Gallery and let the user share from there. Or you can upload the image to a remote server and share a link to the uploaded picture.
I am developing Windows Phone 7 application with C#.Application have to download torrent files.So it's extension ".torrent".But Windows Phone doesn't support torrent files.So it says "Can't download file.Windows Phone doesn't support this file type." What can I do ?
There's no way to add handler for custom extensions in Windows Phone 7. According to rumors based on the leaked SDK, it may be possible in Windows Phone 8 (but no official announcement yet). So for now, there's nothing you can do.