.NET MAUI Preview on Mac

Visual Studio for Mac is not supporting the current .NET preview. But that doesn’t mean that you cannot start to play with MAUI. But you have to use the terminal and for example Visual Studio Code. Install .NET MAUI If you do not have installed the preview yet, I recommend you to do that with […]

  6/12/2021 - 9:15 PM

Xamarin.Forms Projects – Second Edition

The second edition of Xamarin.Forms Projects is now published. You can buy it from Packt or Amazon. It will also be available in other book stores. More Information An example-driven guide to help you build native cross-platform mobile apps using Xamarin, .NET Core 3, and Visual Studio 2019. Set up Xamarin.Forms for building native apps […]

  6/20/2020 - 10:12 AM

App In The Cloud – Build an app powered by Custom Vision in Azure Cognitive Services

In this episode, Daniel Hindrikes shows how to use a model that is trained by Custom Vision in Azure Cognitive Services in an app built with Xamarin.

  4/6/2020 - 12:10 PM

Introducing TinySvgHelper

For a pretty long time I have had code that I have used for a couple of different apps that uses SkiaSharp to convert an svg image to a Xamarin.Forms ImageSource. I also blogged about it two years ago, https://danielhindrikes.se/index.php/2018/03/13/use-skiasharp-to-convert-svg-to-xamarin-forms-imagesource/. But I never released it as a library until now. Get started with TinySvgHelper The […]

  3/31/2020 - 9:42 AM

App In The Cloud: Native mobile, desktop and WebAssembly apps with C# and XAML using the Uno Platform with Jérôme Laban

With Uno, you can build native apps and Web Assembly apps with C# and XAML using WinRT (UWP) APIs. In this episode, Daniel is talking with Jérôme Laban, the CTO of Uno Platform about what Uno is, the history of Uno, the current state of Uno and much more. Jérôme Laban on LinkedIn: https://www.linkedin.com/in/jeromelaban/ Jérôme […]

  9/26/2019 - 10:43 AM

App In The Cloud – Live Code – Episode 2, Azure DevOps

In episode 2, Daniel show hot to set up Azure DevOps pipelines for a Xamarin app. Here is the recording from the stream:

  8/26/2019 - 11:51 AM

App In The Cloud – Live Code – Episode 1

Together with my friends and colleagues, Johan Karlsson and Mats Törnberg, we have started to live code on Twitch, https://www.twitch.tv/danielhindrikes. Right now we have started to build a Xamarin.Forms app from scratch, the plan is to continue to build that app, live on Twitch every Monday at 12:00 CET (Swedish time). If you missed it, […]

  8/20/2019 - 6:54 AM

App In The Cloud: Weird stories from 10 years as a mobile developer with Christopher MANUE

Christopher MANUE has worked as a mobile developer for over 10 years, he has for example worked with the MSN and Deezer apps. In this episode, he shares some of his experience and tells us some weird stories from developing high scale apps.

  6/25/2019 - 8:24 AM

The Code Behind: AR for dummies

In the book Xamarin.Forms Project by me and Johan Karlsson there is a chapter about how to build an AR app using ARKit, ARCore and UrhoSharp. In the podcast, The Code Behind, (in Swedish) that we are recording we speak about that topic. So if you don’t speak Swedish, this is a great chance to […]

  1/22/2019 - 6:38 PM

MachineLearning with CoreML and Xamarin.iOS

In iOS 11, Apple introduced CoreML. CoreML makes it possible to do prediction on trained models locally on iOS devices. For image predictions I recommend you to read my earlier blog post, https://danielhindrikes.se/index.php/2018/07/05/using-machine-learning-for-image-classification-in-your-apps/. This blog post will focus on how to make prediction with text input. If you don’t have a model that you have […]

  10/22/2018 - 1:38 PM

Siri Shortcuts with Xamarin

With iOS 12, Apple introduced Siri shortcuts. For us developers, we can create shortcuts using SiriKit. In this blog post, we will walk through how to do that in an app that we are building with Xamarin.iOS. The first step is to update our provisioning profile. Sign in to https://developer.apple.com. Go to the account page […]

  10/16/2018 - 6:25 PM

Using Machine Learning and Azure Custom Vision for image classification in your apps

Last fall, me, my family and a friends family took a trip to the forest for collection mushrooms. This blog post will not be about the trip to the forest, but that my friend not was good to recognize mushroom species I got an idea to write an app for that. So this post will be […]

  7/5/2018 - 12:12 PM

Store user data in an secure way

In many apps you want to store user data locally on the device, it could, for example, be passwords, credit card numbers etc. Even if the storage is sandboxed to your apps, you don’t want to store it in clear text, you want to store it encrypted. I have used Xamarin.Auth for many apps while […]

  12/8/2017 - 2:19 PM

iOS 11 Large Titles in Xamarin.Forms apps

In iOS 11 Apple introduce large tiles in their design language. You can read more about it on the Xamarin blog, https://blog.xamarin.com/go-large-ios-11/, this post will focus on how to implement that in Xamarin.Forms. Note: There is a pull request for Xamarin Forms about iOS11 fixes created by Rui Marinho, so this will probably be in […]

  11/2/2017 - 12:58 PM
  iOS, Xamarin,

Add custom tiles to map in Xamarin Forms

If we want to use other maps than the platforms default in our apps we need to provide tiles to the map view. To do that we need to create a custom renderer per platform. iOS In iOS we need to create an url template that contains {x}, {y} and {z}. Those be replaced with […]

  7/5/2016 - 12:40 PM

Automatiserade UI-tester på mobila enheter

Intresserad av effektiv testning av mobila enheter? Med Xamarin TestCloud kan man köra automatiserade UI-tester på mer än 1800 fysika iOS och Android enheter. Jag har skapat en kort introduktion på ca 10 minuter.

  11/9/2015 - 2:56 PM

MvvmLight Navigation Extension

When navigating in iOS we can choose to do a modal navigation. That means that we open a page that is on top of the other pages and not included in the navigation stack. When using MvvmLight we only have one method (NavigateTo) when we want to open a new page. While I want to […]

  11/9/2015 - 11:33 AM

Use MvvmLight in Xamarin.iOS

I think MVVM is a good design pattern to separate UI and business logic. MvvmLight is one of the most popular frameworks for MVVM. In this blog post I will show how you can use MvvmLight when we’re building a iOS app with Xamarin. The fist step is to create a view model. I always […]

  10/29/2015 - 2:31 PM

How to succeed with Xamarin.Forms

Xamarin.Forms makes it possible to write UI for all the major mobile platforms, iOS, Android and Windows Phone with one shared code base. Many developers think that Xamarin.Forms isn’t is good enough to create apps that will be published and they think Xamarin.Forms is more a tool for prototyping. If you think Xamarin.Forms is a […]

  10/16/2015 - 1:14 PM

TechDays 2015

Den 20 oktober börjar TechDays med förkonferens, jag och Johan Karlsson kommer att dela med oss av våra kunskapar gällande cross-platformutveckling. Att bygga cross-platformlösningar är alltid en stor utmaning då det i grunden är olika operativsystem, programmeringsspråk och utvecklingsmiljöer. Xamarin löser en stor del av cross platform problematiken genom att man kan utveckla appar för […]

  6/30/2015 - 8:13 PM

iOS range slider for Xamarin and Xamarin.Forms

In this post I will show you how to build a range slider for Xamarin.iOS and how to write a custom renderer if you want to use it with Xamarin.Forms. If you want to use the range slider control you can write the code yourself or use the flipper forms control library, https://github.com/johankson/flipper, that can […]

  6/30/2015 - 9:19 AM
  iOS, Xamarin,

Xamarin.Forms and iOS segemented control

A common control in many iOS apps is the segmented control. Xamarin.Forms has no support for the segemented control out of the box. This blog post will show you how to create a control in Xamarin.Forms that is mapped to UISegmentedControl in iOS. In my sample I have named the control, FilterControl because is often […]

  4/27/2015 - 3:32 PM
  iOS, Xamarin,

Xamarin.Forms: Add content to TitleView in your iOS app

If you’re building an iOS app you maybe want to add content to the NavigationBar. This blog post will show you how to build a generic solution so you don’t have to write a custom renderer for each view that you want NavigationBar content for. First of all I creating a new class that inherits […]

  4/22/2015 - 11:31 AM
  iOS, Xamarin,

Building a ScreenshotManager to capture the screen with code

This blog post will show you how to build a screenshot manager to use from shared code when building apps with Xamarin for Windows Phone, Android and iOS. First of all we need to create an interface in the shared code library. In this example there will be one method in the screenshot manager. This […]

  2/26/2015 - 11:32 AM

Using Context Actions in Xamarin.Forms ListView

One of the news in Xamarin.Forms 1.3 is what Xamarin call context actions. With context actions you can make a ListView much more richer. What you can do is to add a menu to every row in the ListView. On Windows Phone and Android is the menu showing when you’re long pressing on a item, […]

  2/20/2015 - 1:10 PM

Grouping a ListView – Xamarin.Forms

In many cases when you want a list of items you want to group them in the list. To use groups in a ListView with Xamarin.Forms is very easy. Below are screenshots from Android, iOS and Windows Phone where there is no HeaderTemplate used. First step is to create a group class that inherits from […]

  2/18/2015 - 2:17 PM

Monitor an app with Xamarin Insights

I Think it’s really important to monitor apps. Of course the most important part is to log errors in the app. But I also like to track how my users uses my apps. For the lastest app I have built I have used a monitoring tool from Xamarin called Insights, http://xamarin.com/insights. While I alwas have […]

  2/13/2015 - 11:55 AM

Crossplatform and storage strategies

Many applications need to store data related to the application. If you’re building applications for multiple platforms the APIs for storage is different. Following five storage types is the most common ones: Local storage Storage to store application data locally on the device. Remote storage Storage to store application data in the cloud, for example OneDrive or […]

  1/20/2015 - 2:44 PM

Extend Label in Xamarin.Forms with a font color property

The label control in Xamarin.Forms does not have a FontColor property. But the control is easy to extend. First create a new class that inherits from Label. Create a FontColor property of type string. The value of the FontColor will in this example be an RGBA string. public class CustomLabel : Label { public static readonly […]

  9/24/2014 - 3:31 PM

Xamarin.Forms: Change background color on iOS ListView

The ListView control in Xamarin.Forms has a background color property. But iOS has a default color on each cell, because of that it will not work to set a color with that property. One solution is to use a custom renderer for the ListView on iOS. A custom renderer can be created for the ListView […]

  7/29/2014 - 11:05 AM
  iOS, Xamarin,

Building a tabbed app using Xamarin.Forms

Xamarin.Forms is one of the biggest news with Xamarin 3. With Xamarin.Forms you can build UI for 3 platforms (Windows Phone, iOS and Android) with one shared codebase. What is unique for Xamarin.Forms is that the UI code you are writing with Xamarin.Forms will render native UI controls. That means that the UI will look […]

  7/28/2014 - 11:29 AM

TechDays 2014

Den 19-20 november (17-20 november med pre-conf inkluderat) anordnas utvecklarkonferensen TechDays av Microsoft. Jag och min Sogeti- och IO2GameLabs kollega Johan Karlsson har fått äran att vara med på den. Vi kommer att prata om det vi brinner mest för nämligen cross platform utveckling för mobila enheter. På pre-conf (den 17 november) kommer vi tillsammans […]

  6/17/2014 - 11:18 AM

Windows Azure Mobile Services in Portable Class Library

In my current project, a multiplayer game for mobile devices I only using Windows Azure Mobile Services as backend. The game will be available for multiple platforms and I will use Xamarin for iOS and android. When using Xamarin I can reuse a lot of code if I using PCL (Portal Class Library) that i […]

  1/7/2014 - 12:14 PM

Modern UI icons

If you searching for icons for your app or website, check out http://modernuiicons.com/. There are over 1000 icons designed for your app or website. It is a very good library when building modern UI apps for Windows Phone, Windows 8 or iOS7. But I have also used them for different websites. When I searching for icons […]

  9/30/2013 - 9:26 AM

Size limit on app download when using 3G

iOS and Windows Phone has size limit on how big apps you can downloaded when you’re not connected to a Wi-Fi-network. Windows Phone has a limit on 20 Mb and iOS has 50 Mb.  Android has not that type of limit, but an APK on Google Play is limited to 50 Mb, but you can […]

  5/15/2013 - 10:16 AM

Authentication with Azure Mobile Services

When developed the multiplayer part of WordRoom we discussed to use different authentication providers. But it was a lot of code to integrate each provider. And we wanted more than one. Instead we developed our own solution. But just ask yourself, do you want to create an account everywhere with different username and passwords. I […]

  4/10/2013 - 8:03 PM

Developing apps with mono

WordRoom started as a Windows Phone project, the third client we started to develop and the first one we released was for Windows 8. We developed the windows 8 relative fast because we could reuse a lot of the code from the Windows Phone project in that we used portal library for the core logic. […]

  2/6/2013 - 11:09 AM