Hello. This is my first post about native approach in Xamarin. My application NotifyMe written in Xamarin.Forms is done. Today I decided to write it again but this time in native approach in Xamarin.Android and Xamarin.iOS. It will be more difficult because in this approach percentage of shared code is much lower than in Xamarin.Forms. […]

Presenting view controllers modally is one of the ways to display specific view controller during navigation. The main feature of modality is that showing modal view controller is not added to navigation stack. In the most cases presenting is executed with some animation. I prepared a simple application to show you four basic built in […]

My application NotifyMe is growing slowly, I am glad it is growing at all. Anyway, I decided to connect it to Visual Studio Mobile Center portal. It is a set of cloud services for building and managing mobile application. Visual Studio Mobile Center has three main adventages. It allows to: – collect crash reports with […]

Xamarin.Forms provides 5 basic types of pages. Depending on type of page navigation between pages in application is a little different. To be more familiar with Xamarin.Forms capabilities I prepared a small application where I used all of them. Here is App class of this application: Every page in application is build according the collection […]

This is second step of adding history feature to my application. First part is here. I have well prepared views so it is time to write service for database. Every model which you want to store in Realm database should inherit from RealmObject class. Here is mine: Important thing this is that model must have […]

Hello. A few days ago I got a feedback from application users about storing sent messages. So I decided to add this feature to my application. Therefore I had to create some new views and change main layout. The choice fell on TabbedPage. Now after successful login, application navigates to MainPage which is TabbedPage. and […]

Today I want to show you how to consume custom Java library in Xamarin.Android application. In Android Studio I created a new project. I chose location, application name and company domain. I also selected phone platform and added no activity. Then I created new Android Library module. My custom library can perform basic arithmetic operations on […]

Android provides a very rich and diverse framework for supporting 2D graphics and animations. Drawable animations are the simplest frame-by-frame animations. Android loads and displays drawable resources in specific sequence defined in XML file. The key for good drawable animation is well prepared resources. Today I want to present you how to create coin animation, […]

In previous post about push notifications in Xamarin.iOS – here, I showed you how to configure push notifications in Apple developer account and Microsoft Azure Notification hub. There was a lot of work to do, generating certificates, creating provisioning profiles etc. Today I want to present you what you can do with it. Similar to Xamarin.Android […]

User interface in Xamarin.Forms is rendered using native controls of the target platform. We can affect this process using custom renderers which allow to customize appearance. In my project I wanted to achieve the same appearance for buttons on each platform. Now they look like this: On iOS: On Android: with the following code: and […]

Today I want to show you how to configure and use push notifications on Android platform using Notification Hub and Firebase. In the beginning we have to create new Microsoft Azure component via portal: Select Notification Hub component in Web + Mobile category. and as always fill the form which is presented below. In the […]

In previous post which is available here I told you how to use built in facebook authorization using Microsoft Azure App Service. Today I want to show you how to get a list of facebook friends in our application using Graph API Explorer tool. Let’s do this! Our development finished at view presented below: Its […]

Today I want to present you an authentication mechanism with Facebook provider using App Service Authentication from Microsoft Azure App Service. In the beginning we have to create new Microsoft Azure component via portal: Then select Mobile App component in Web + Mobile category. Then you will be asked for filling form which is presented below. […]