SQLite.Net.Platform for Windows Phone 8.1 - windows-phone-8.1

I can't find any SQLite.Net.Platform library that works with Windows Phone 8.1.
These are not working:
https://www.nuget.org/packages/SQLite.Net.Platform.WindowsPhone8/
https://www.nuget.org/packages/SQLite.Net.Platform.WinRT/
https://www.nuget.org/packages/SQLite.Net.Platform.Generic/
https://www.nuget.org/packages/SQLite.Net.Platform.Win32/
Any workaround?

WinRT platform is compatible with Windows Phone 8.1 projects. You can copy the sources to your platform specific project and instantiate the connection using SQLitePlatformWinRT class.

Related

Windows Runtime Component (for Universal 8.1) error

I created a simple application that updates when we change timezones.
The application runs without errors in both the Windows Phone 8.1 emulator and real phone, but When in Windows 8.1 I get this error:
This is my project (wrote with VS2015 for Windows Universal 8.1):
My Project Files
source of Runtime Component:
Source code
If possible can you help solve this for Windows Universal 8.1 as this file is only for Windows Phone 8.1.
I'm sorry for bad English.
Per the documentation this is not supported on Windows 8.x.

Can Windows Phone 8.1 application work in Phone 8.0?

Is it possible to work application, which developed for 8.1 OS, in Phone which have 8.0 OS?
As far as I know you can't. You could only deploy 8.1 apps on a device which is updated to 8.1. It's just a matter of updating the 8 OS. But after the 8.1 update you could still deploy WP8 apps too.
For more:
http://msdn.microsoft.com/en-us/library/dn642082(v=vs.105).aspx

Deploying on windows phone 8.1

I installed the last version of visual studio to target windows phone 8.1 OS. After the installation I figured out that the 8.1 OS was not yet released and I couldn't deploy my application on my device. Can I target the windows phone 8.0 version when building the application?
Yes you can. Go to your project properties and there on your application tab, you can select the target OS.
Select This Project Template & It will prompt you to select your targeting Windows Phone OS
But Once you have targeted 8.1 you can't deploy on a 8.0 device or emulator.

portability of windows 8 phone library to wp 8.1

I have a windows phone class library built using the WP8...Is it possible to upgrade this library to support WP 8.1? If yes how can it be done using visual studio 2013?
I would strongly suggest to create a new Portable Class Library instead of a Class Library. Theese PCLs can then be used in Windows Phone 8.1 and Windows 8.1 Projects.
If the Library worked on Windows Phone 8, you should be able to simply copy over the code from the Class Library to the PCL.
Depends on if you want to use it with Windows Phone Silverlight 8.1 or Windows Phone 8.1 (XAML).
For Windows Phone Silverlight 8.1 you do not need to do anything, you can reference your WP8 lib from a Windows Phone Silverlight 8.1 without any problems. You can upgrade it to 8.1 in Visual Studio (right click on project and Retarget to Windows Phone 8.1).
You cannot use a WP8 lib with Windows Phone 8.1 (XAML) app and you cannot upgrade it to be used with Windows Phone 8.1 (XAML), you need to create a new one a copy and paste parts that work with Windows Phone 8.1 (XAML).

Windows Phone 8.1 API

Is there Windows Phone 8.1 API to refer? This is because I want to develop the Windows Phone 8.1 application, but I don't know where to refer the API, since the Windows Phone 8.1 an 8 have a big different, so I can't refer to the Windows Phone 8 API.
There is two sets of APIs available on Windows Phone 8.1
Windows Runtime (MSDN), all APIs with a phone icon on the documentation page is available on WP8.1. This applies to the "Universal App" project types. Many of these APIs are shared with Windows Store applications (aka. Metro or Modern applications), allowing you to have the same code-base for both Windows and Windows Phone applications.
Silverlight (MSDN) applies to Silverlight 8.0 and Silverlight 8.1 APIs. There's no specific distinction on MSDN for 8.1 only APIs.
MSDN also have a mixed list of the two above for What's New in Windows Phone 8.1 (MSDN), primarily targeting the Windows Runtime features.
I would personally recommend writing Universal Apps (Windows Runtime), rather than sticking with Silverlight, unless you have a good reason, such as a VoIP application, or the wish to remain backward compatible with 8.0 users, while taking advantage of the new 8.1 features.