portability of windows 8 phone library to wp 8.1 - windows-phone-8

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).

Related

SQLite.Net.Platform for 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.

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.

Upgradewindows phone 8 project

Is it possible to upgrade a recent project that I started developping with windows phone 8 sdk and continue it with windows phone 8.1 or do I have to restart from scratch
If you want to target Windows Phone 8.1 (Silverlight Application) then you don't need to start from scratch, you will be able to upgrade from your Windows Phone 8 (Silverlight Project) but if you want to target Windows Phone 8.1 (New Universal App API's) then you will have to develop your application from scratch.
Here this will help you understand better Link

Difference between Windows Phone project and Silverlight Windows Phone project in Visual Studio 2013

I recently updated my Visual Studio 2013 such now it allows to develop Windows Phone 8.1 applications.
But now, when I create a Windows Phone project, it is systematically for WP 8.1 and I can't change the target.
The only way I found in order to develop WP 8.0 apps it's to create Silverlight Windows Phone project.
Whence my question : What's the concrete difference between Windows Phone project and Silverlight Windows Phone projet in Visual Studio 2013 ?
Thanks for any answer
The Windows Phone project uses the Windows Runtime APIs. A lot of the Windows Runtime API introduced in Windows Phone 8 project is common to both Windows Phone 8 and Windows 8, making it easier to write once and share code between your apps on both platforms.
As expected the Windows Phone Silverlight project uses the Silverlight based APIs.