If you have a page that takes a long time to load it can seem to the user nothing has happened for several seconds until the page appears. A simple way round this is to create a quick to load page which has say an hourglass icon or “Loading….” text and display this before loading […]
All posts by
CartesianChart-Line Series
Based on the instructions here: https://docs.telerik.com/devtools/universal-windows-platform/controls/radchart/cartesianchart/series/categorical-series/categorical-lineseries Simple Example In the .xaml file Add this to the start with the other xmlns lines: Add this where you want your chart: In the .cs file In your function: Example With Custom Colours For Each Line In the .xaml file Add this to the start with the other […]
.General info
Library open source page: https://github.com/telerik/UI-For-UWP Documentation: https://docs.telerik.com/devtools/universal-windows-platform/Introduction-uwp
.Installing Telerik UI for UWP
Installing the prebuilt nuget package This is based on the instructions at this page: https://www.nuget.org/packages/Telerik.UI.for.UniversalWindowsPlatform/ Visual Studio menu > Tools > NuGet Package Manager > Package Manager Console In the console window that opens (bottom window of VS) run the install command for your project (see link above for current version): Adding To A New […]
Charts for UWP apps
There are no native controls for creating charts in UWP. You can either choose a paid solution or try and find a usable free one Free Chart Tools Telerik UI for UWP – The lovely people at Progress have an open-source version of their “Telerik UI for UWP” which works great for Windows CoreIoT Syncfusion […]
.Installing Live Charts
WE FOUND THIS LIBRARY DIDN’T WORK, GOT INSTALL ERROR “NU1202: Package elmah.corelibrary 1.2.2 is not compatible with uap10.0.15063 (UAP,Version=v10.0.15063)” This is based on the instructions at: https://lvcharts.net/App/examples/v1/uwp/Install Visual Studio menu > Tools > NuGet Package Manager > Package Manager Console In the console window that opens (bottom window of VS) find the package using: Run […]
Playing video using MediaElement
.xaml File .cs File
appxmanifest
Declaring file types you want your application to be able to see In Solution Explorer open Package.appxmanifest > Declarations > File Type Associations In Properties > Name, give this declaration section a name. E.g. “resource_files” Then in the Supported file type section Content type: can be blank File Type: the file extentions (e.g. “.mp3”) Add […]
Rename Existing Project
A few places where the re-naming needs to occur (not a definitive list of how to, but as we find them!) Menu > Debug > [Project] Properties > Application Assembly Name Assembly Information Package Manifest
Clock Stretching
I2C devices that use clock stretching Whilst the Raspberry Pi hardware will support clock stretching, it seems the software drivers do not currently. A possible hack is to slow down the I2C clock rate to give the slave devices more time so they don’t need to clock stretch, needs a search for suitable ways to […]