Using SQL Table in windows phone 8 app - c#

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.

Related

How to open .accdb file in Windows Phone 8.1 Application?

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.

How do I check if update for my Windows Phone App is available?

How do i make my app itself whenever there is a new version on the store? I have researched enough but nothing seem to have worked for me.. Help required! Thank you
I use this https://github.com/igorkulman/Kulman.WP8/blob/master/Kulman.WP8/Services/WindowsPhoneInformationService.cs, works for Windows Phone 8 and 8.1 Silverlight apps.
Windows Phone 8.1 automatically updates apps, so this shouldn't be necessary any more for the general case.
If your app has a server component that requires the client be in sync then you can send the client version to the server to catch the case where users haven't yet upgraded.

GPRS Connection on a Windows 8 Tablet Using C#

I am developing an app for a Windows 8 tablet using C# and I need to write a module that creates a GPRS connection using a SIM card.
I have tried searching for this but most results I find talk about a GPRS connection either for Windows CE or Windows Mobile and I presume the code for Windows 8 would be different.
If anyone can give me some advice on how I can create this module or link me to some websites that may explain how I can achieve this I would be great full.
Thanks...
Assuming you're programming an app in the environment formerly known as Metro, you need these WinRT APIs.
There are C# code examples provided.
This is not to be confused with the Windows 8 desktop, which has its own separate set of APIs here.
These APIs are valid for LTE, UMTS/HSPA etc as well as GPRS.

How to localize for Windows Phone based on OS version

I'm building a Windows Phone application and my client has given me a list of languages that he would like the App to be localized for.
The problem is that some of those languages are not supported by Windows Phone and I then decided to check out the list of supported langauges which is available here. I noticed that there are two OS option for Windows Phone, i.e. 7.0 and 7.1 but during development I am not sure of how to check for which OS the phone is running so that I know which list of languages to supply to the user.
I'd like to know how to check if the Windows Phone OS is 7.0 or 7.1 (I'm assuming that his caters for later OS versions that might have come after the list was created)
Check this Windows Phone Team Blog post.
Microsoft already stopped the support for OS 7.0, so you don't need to worry about 7.0. GO ahead with 7.1
Microsoft is closing it's marketplace for devices running Windows Phone 7.0. So you shouldn't need to check if it's a 7.0 device, since your app probably won't be installed on one of those.
Here is an article describing this.
http://www.mofonu.com/2012/04/26/windows-phone-marketplace-closing-its-doors-to-devices-not-running-mango/

Will Windows Mobile 5 SDK work for Windows 7.5 mango OS phone

I want to develop an application for Windows 7.5 mango OS phone like HTC Mozart, I am already having Visual Studio 2008, will the apps built by Windows Mobile 5 smartphone SDK be supported in a windows phone?
No, the Windows Phone SDK is the only one that is supported. In short, Windows Mobile != Windows Phone.
Also the UI is drastically different and the underlying runtime and .NET framework is also different. You might be able to port the logic of your code across easily to the new SDK, but the UI will need rewriting.
There are also a lot of freedoms lost in the new iteration as "the user is king". This means you need to review what your current app requires and provides to see if it is even a good fit for the new range of phones.
No, Windows mobile SDK wont work for Windows phone 7 applications.
See, the .NET Framework for windows phone 7 has changed completely . Infact the classes and APIs have changed .you can carry forward your previous experience of Windows Phone development into this new one but that certainly might not be the same code and services working in the same platform

Categories