Daniel Hindrikes
Developer and architect with focus on mobile- and cloud solutions!
Developer and architect with focus on mobile- and cloud solutions!
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 […]
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 […]
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.
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 […]
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 […]
In episode 2, Daniel show hot to set up Azure DevOps pipelines for a Xamarin app. Here is the recording from the stream:
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, […]
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.
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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.
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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, […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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. […]