wp7 app + skydrive, trouble with viewing a file - c#

Im able to authenticate and able to get file's direct url.
And it looks like this: https://skydrive.live.com/MobileProtocol?ptcl=office%3a&dav=https%3a%2f%2fd.docs.live.net%2f9808b4a6c33c1bc4%2ffirst.xlsx
Iam able to open this file using WebBrowserTask but not with built-in phone:WebBrowser control. The problem with WebBrowserTask is, this opens outside my app and cannot be used for secure documents.
Any suggestions?
Thanks for help.

AFAIK, this is the only way to open documents using WP7. You cannot get around this limitation using the current SDK. Perhaps Windows Phone 7.8 or WP8 might be better.

Related

Auto-launching apps using URI associations for Windows Phone Universal 8.1

I have an application named MyApplication. What I am trying to do is to do deep linking.
I would like to associate a link that when click on my Windows Phone 8.1 XAML, the application will be launched with the elements passed.
For example: MyApplication://item/1234 -> will open my application.
I am trying to do this from outside of an application is this possible? for example if I clicked on this link that was in an email, could it be redirected to my application?
Edit:
Here is part of the solution but i am not finding what i really wanted to do:
Uri Activation(XAML)
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh779670.aspx
Code:
https://code.msdn.microsoft.com/windowsapps/Association-Launching-535d2cec
You sure can. Create the protocol (something like test:) in your app and deploy it to your machine. Then, in Start>Run type "test:" and your app will load just fine. A link in email? Sure. A link in a web page? Sure. It all works.
A little more: http://blog.jerrynixon.com/2012/10/walkthrough-using-windows-8-custom.html
Best of luck!

WPF and Dropbox

I've been looking for some information about the subject, the thing is I'm trying to open, read, write files in dropbox thru a WPF app. So far I found this video https://www.youtube.com/watch?v=fcT-Jt8rcdY and the problem is that it uses windows forms and also has to introduce username and password to login. I just want to use dropbox as a tool to save some files in the cloud without loging everytime the program want to acces to dropbox. Any ideas?
You can use DropBox Linker, a library for using DropBox in .NET WPF application.
http://dropboxlinker.codeplex.com

Disallow link To open in system Browser

I am Using WebView in my windows 8.1 store app in which every (Target=_Blank) type link force a link to open in system browser I want to open it in a webview it self to restrict the link go outside the application is there any way to complete the action?
Thanks.
You can easily inject JavaScript that changes the target of anchors.
Refer to this: http://social.msdn.microsoft.com/Forums/it-IT/37f760ff-c476-4602-b1c0-b7a62c484d6a/xaml-page-webview-control-injecting-javascript?forum=xmlandnetfx
And this: http://irisclasson.com/2012/10/12/how-to-invoke-javascript-functions-in-a-webview-in-windows-store-apps/

Video from website to windows application

Who knows how to display the video from website in windows application?
This is the site
I want to write an application to it. Can I do it without knowing API? Or if there is no API.
I will be very grateful for the help.
The most basic way would be to use a WebBrowser control and use an embed link (if it exists) or parse the HTML to obtain the flash object with the correct parameters.

Accessing the browser's favorites

I used so far the WebBrowserTask in order to open URLs from code in my WP7 app, but I am interested in accessing the links saved in the browser's favorites. Does anyone know if this is possible?
No, I don't think there is any API available in Windows Phone SDK to do so
It's not possible to access the inbuilt app on WP7 unless there is a task available in the API

Categories

Resources