UrhoSharp 3D Moving Object

Following on from the Introduction to UrhoSharp in Xamarin Forms, we are now looking at creating a 3D moving object. If you haven’t read the first post, please do before continuing as this based on the final result of that post. To create a 3D moving object we need to create a scene, add components and […]

Read More >

Introduction to UrhoSharp in Xamarin Forms

UrhoSharp.Forms is a Xamarin Forms component that enables cross platform development using Urho3D, a lightweight and powerful 3D Game Engine. UrhoSharp.Forms uses the UrhoSharp Xamarin Libraries, which are bindings for the community based Urho3D project. Getting Started UrhoSharp supports iOS, Android and UWP. Xamarin has provided a UrhoSharp Template that you can use, however I am […]

Read More >

Configuration Files In Xamarin Forms

The Xamarin Forms framework does not include a way to read configuration files out of the box, much like ASP.NET. Because of this, many developers hard code static values. In these configuration files developers will normally put API uri’s, local DB connection strings etc. However this makes it hard to manage, especially when going into […]

Read More >

Navigating in Xamarin Forms

Switching pages in Xamarin Forms is simple, once you understand the core concepts of setting the MainPage or using a page with navigational abilities. Main Page In App.cs or App.xaml.cs you will have an assignment to your MainPage. MainPage = new ContentPage() { Content = new Label() { Text= “Hello World” } }; A TabbedPage, ContentPage, NavigationPage can be […]

Read More >

Xamarin Android 9-Patch Image Splashscreen

Splashscreen images for Xamarin Android can be tricky to create, as you must account for portrait and landscape modes in a large array of possible screen resolutions and density’s. Fortunately, Android has a solution for this called a 9-Patch image. This post teaches you how to create a 9-Patch image and correctly scale them for portrait […]

Read More >

Push Notifications Lifecycle

Push notifications are a common feature in mobile apps and if you read my previous post or others you will easily understand how to receive them. Most walk-throughs stop at that point but what do you do after you receive them? As you will find out there are a few scenario’s in different platforms you need […]

Read More >

Misuses Of MessagingCenter

MessagingCenter is a global event messaging system designed to allow two separate entities communicate without knowing anything about each other, besides a simple messaging contract. This architectural style of system works well for larger systems such as Amazon who use a similar event-sourced approach of micro services to implement a recommendation system, payment system, shipping system […]

Read More >

Creating A Splash Screen In Xamarin Forms

A splash screen is an image or page that shows when you first load your app, while the application is initializing. The splash screen will stay visible until the first page of the app is ready to display. Xamarin Forms does not have any functionality to add a splash screen, you must do this per […]

Read More >

Static Initialization

Constructor injection is a great way to keep all class dependencies easily visible in a constructor parameter list and makes unit testing easier. There are times when this isn’t possible such as another class initializes your class and you don’t have control of its construction. This presents a challenge. Normally this results in relenting to using a service […]

Read More >

Layered Dependency Injection

Introduction In a tiered architecture with Dependency Injection we have the problem that the bootstrapper or initialization section of your main project doesn’t have a reference to every project we need to inject into our container.  Therefore we end up referencing projects for the sole purpose of injecting them into the container. While there is technically no harm in doing […]

Read More >