I'm currently developing a Windows Phone Application and I want to work from a .accdb file. I already searched for this, but can't find a solution. Tried Linq to SQL, but this gives me an error:
DataContext dc = new DataContext("Data Source=isostore:/test.accdb");
You can't. Microsoft Office Access isn't supported as database on the WP platform.
I would suggest to take a look at the article Local database for Windows Phone 8 to see the viable options.
Related
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
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.
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 found two links for creating a SQL Database. What is the difference between two approaches? Which one is better? This or
this?
I need my app to run on all versions of windows phone(7,7.5,8)
thanks in advance......
If you want your application to run on WP7, 7.5 and 8, then go with what the second link mentions - local database in your app.
Sqlite is officially supported in Windows Phone 8 only so that will not be the best choice for you.
Sqlite is more powerful, and cross platform with other mobile ecosystems, but not with older version of Windows Phone.
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.