Use OneDrive in an application to store file - c#

I'm developping an Silverlight application for Windows Phone 8.1 in C# with Visual Studio 2013.
I want to access Onedrive to store Data. I heard this is possible with Live SDK.
I've searched for how to connect my app to Onedivre, but nothing that ihave tried work. It end with the exeption "Client null" when i try to sign in Onedrive.
Which code should i use to connect the user to Onedrive in my app ?
Thanks for your help.
PS: I'm new in c# language and developping app for Windows Phone (this my "true" first app by the way). Sorry for bad language.

Here is a link to the onedrive sample for windows phone 8.1
https://github.com/OneDrive/onedrive-explorer-win

Related

Xamarin.Forms - Webview (with local files) not working on Windows Phone 8.1 & 10

I want to use WebView to access local HTML files (in Xamarin.forms) on windows phone 8.1/10. I have it successfully working on Android however on windows phone, I get an error that says "Action was Cancelled" (Testing on Lumia 950).
I am new to Xamarin and went through the documentation on their website, the sample they have provided works with windows phone 8.0 and seems outdated as I was unable to deploy that (sample project) on to my Lumia 950.
Please help out on how to approach this issue.
Please check your HTML, something is wrong. Try to display something like
<h1>Hello</h1>
It should be fine

How to Integrate whatsapp api with c# wpf windows application pc

I am working on windows application (wpf c#), in which i have to integrate whatsapp api. So that i can post images in whatsapp using the windows application
I googled about integrating whatsapp api with c# wpf, but didnt find a proper solution.
Can you please guide me about how to integrate whatsapps with c# wpf application or provide with some useful links
I guess the only possible way is to build an android application to listen to your C# software and post to WhatsApp.
You can create a virtual Android OS installed on the server, and install WhatsApp and your customized application on it.
In other words, the Android application will act as an intermediate layer between the C# and WhatsApp.
Please check the following link to help you integrate your Android Application with WhatsApp:
http://www.whatsapp.com/faq/en/android/28000012
Regards,

Can we get the list of installed apps programmatically in our app in windows phone 8?

Can we get list of app installed in phone from my app?
I have seen many question here all are saying not possible and few answers saying with live id they're access our App history and showing.
But see how this apps working :
http://www.windowsphone.com/en-us/store/app/app-folder/7d2e7de3-95e7-4143-8a9d-aedf8c3f901e
http://www.windowsphone.com/en-us/store/app/app-folder/1a248adb-1429-45ea-a507-f3d5f4cad58c
And Can we open any app that we installed in our phone from our APP?
For example : - My app need to open "Bing Weather" app.
Thank you
ShareOurIdeas.com
No, you can't. That's not possible.
Both apps you linked to are not standard-apps. Look at publisher names: Nokia Corporation and SAMSUNG ELECTRONICS Co, Ltd.
They have different kind of access to system resources then you have as a developer using public Windows Phone API.

steps for Windows azure Database connectivity

I'm developing Windows Phone application using Visual Studio 2010 using C# for database connection plan to use Windows Azure. Will you please say the steps? I have to call my web services into my app. How I access my REST web services in my Windows Phone ap? I need a C# coding for that too.
In my opinion the best approach now for this is using Windows Azure Mobile Services, please have a look at this tutorial which explains how to use it with Windows Phone 8

Porting windows form application to Windows Phone 7.5 Mango

We have an application written in C# (.Net 2.0). MS-Access as database and crystal report for reporting. I have to port it to Windows Phone 7 (Target mobile is LUMIA 800).
My concerns are:
Does Crystal report work on windows phone 7?
Can I connect app to MS-Access in same way that I am connecting it on computer?
bad news, you have to start from scratch as WP7 only support SilverLight apps (XNA too, but it's for games). Moreover, you won't be able to connects to access directly.
A classic Data application on WP7 will use some Web Services hosted on a server that will provides all data access, whichever is behind. Then the WP7 will query the WS to get/put data.
I'd suggest you to take a look at WCF RIA Services, but you have to understand it's a high learning curve starting from Windows Forms skills.
Does Crystal report work on windows phone 7 ?
No, Crystal Reports are not supported on Windows Phone. Nor are they suitable for presentation on a mobile device.
Can I connect app to MS-Access in same way as I am connecting it on computer?
Microsoft Access isn't supported on Windows Phone. You can connect to remote databases, as described by Steve, but for local data storage, you would have to convert your data.
Also, the UI and the entire User Experience (UX) for a mobile application is vastly different than for a desktop application, and as such you would want to start from scratch regardless.

Categories