Windows Phone 8.1 Silverlight and XAML ListView substitute - c#

I am developing a Windows Phone 8.1 Silverlight application. Its very similar to a e-commerce app. I need something similar to a ListView. But that is not supported in Silverlight apps due to the missing Windows.UI.Xaml in them. So any suggestions for alternatives and corresponding template???
Thanks in advance.

Related

Hamburger Menu in Windows/Windows Phone 8.1

Is it posible to implement an Hamburger menu (or similar) in Windows 8.1 and Windows Phone 8.1?
Thanks in advance
Windows 8.1 doesn't support Splitview which is mostly used to create a hamburger menu. You can however code it all, but that will be a big mess. I Suggest you take a look at UWP and the controls inside UWP, to easily create a hamburger menu. There is many tutorials on how to create one in UWP.
A really quick search brings up results like this one:
github.com/FrayxRulez/SplitView
This repository contains a porting of SplitView control available in
Windows 10 for Runtime 8.1 and Silverlight 8.X
Properties are the same, so if in future you want to port your app to
10 you have just to remove the Universal.UI.Xaml.Controls namespace.

Drawing customized graphs in Windows Phone 8.1 apps

Can we use WinRT XAML Toolkit to draw customized graphs in Windows Phone 8.1 apps?
I am trying to find out a tool or a authorized set of APIs to draw charts which can be customized during real time by retrieving data from a database.
http://www.telerik.com/…/w…/overview/all-controls/chart.aspx was given as an option but I think u have to pay for it.
I am looking for a free option.
yes you can use the WinRTToolkit, they even have a Nuget package specific for Windows Phone 8.1, more info on their CodePlex

Where are the Windows Phone APIs in Windows XAML Universal Portable Library?

I have a library for Windows Phone 8.0 and Windows 8 and thought to make the same to support the Windows Phone 8.1 and Windows 8.1 Universal applications.
But soon as I tried to port my code in a Universal XAML library or even when trying some APIs in a Windows Phone 8.1 Universal Application that is created using the template I've seen that are missing, for example,
using Microsoft.Phone.Info;
using Microsoft.Phone.Net.NetworkInformation;
Or I was using the PhoneApplicationFrame class, RootFrame in the App.xaml.cs file that is now too changed dramatically.
Where do I find these namespaces to get information related to the device?
Here are the Windows Runtime APIs equivalents of the APIs you mentioned:
Devices (Windows.Devices.*)
Networking (Windows.Networking.*)
Please not that you won't have 1:1 equivalent. You'll have access to new functionality but other will be missing (example : the Battery API).
About the changes in the PhoneApplicationFrame, you shouldn't try to fit the Silverlight model (navigation, frame system...) into the new Universal one. Instead, I recommend to use the default project template and use that model (with the Helper classes like NavigationHelper and SuspensionManger).
EDIT (thanks #Romasz): Here is an MSDN page that should help you Migrating your Windows Phone 8 app to a Windows Runtime XAML app

In windows phone 8.1 what is the differance between Windows phone project and silverlight project?

I begin to use windows phone 8.1 SDK but there are some strange things i don't understand, one of this complicated things why there are different frameworks Silverlight and the default xaml, also what is the difference between them and when i use this or this ?
One huge difference is of course that the Store Apps supports Universal Apps, where you can easily share almost all all of the code across WP8.1 and Windows 8.1 (including XAML).
But it is Worth noting that there are several features which some apps might require which is only available for WP8.1 Silverlight apps, such as:
VoIP support
Act as Lock screen background provider
Act as a Lens app
Let app extend search results using search extras
Provide ringtones
And a few other listed here along with a feature mapping from WP8 to WP8.1 Silverlight and Store Apps: http://msdn.microsoft.com/en-us/library/windowsphone/develop/dn642486(v=vs.105).aspx
If you are starting a new app and will not need any of these features a Store app is probably the better choice though.
If I understand your question correctly, let me put some sentences from MSDN...
why there are different frameworks Silverlight and the default xaml,
also what is the difference between them and when i use this or this ?
In Visual Studio 2013 Microsoft has come up with an approach where you can build Apps for
Phone as well as for Desktop and tabs simultaneously. A unique concept of Universal Apps.
Build an app for Windows 8.1 and Windows Phone 8.1 at the same time,
and share code, user controls, styles, strings and other assets between them
So if you are going to develop an Apps targeting both the platform, then Universal apps concept is good.
But if you are targeting only the new features of Windows Phone 8.1 then you should start with Silverlight "Blank App (Windows Phone Silverlight)"
As in MSDN its clearly mentioned.
The names of some templates have (Windows Phone Silverlight) appended
to the end. Consider using these templates if you've previously developed
for Windows Phone 8 and just want to access some of the new features available
to Windows Phone apps without having to significantly modify your existing
code. You can use these templates to create apps only for Windows Phone 8.1
More details MSDN Link
Windows Phone Silverlight is Windows Phone 8 deployments where obviously the WP 8.1 is deployment for WP 8.1
The main difference is that the WP 8.1 can use the cross platform DLLs where as WP 8 can not. There are many other framework differences but this is a huge one.

Windows Phone tiles in app

I am working on a Windows Phone 8 app, and have a question about UI design. Please take a look at the image below:
What I am trying to add to my app is something like the above UI under "recent" tab. That is, some kind of live tile style thing with-in the app.
If anyone has experience about how to build such kind of in-app tiles, please share some idea or code sample.
Thank you
The Windows Phone Toolkit provides a Windows Phone HubTile control:
Here is a tutorial on the Nokia Wiki that explains how to use it.
Use HubTile control from Windows Phone Toolkit library.
There are couple tutorials about that control available, e.g.
http://igrali.com/2011/08/19/how-to-use-the-hubtile-control/,
http://www.developer.nokia.com/Community/Wiki/HubTile_in_Windows_Phone

Categories

Resources