Dec 08, 2016

Xamarin Forms Activity To Awaitable

Today I want to share a neat trick which I have been using a lot - transform an asynchronous operation (triggered with StartActivityFromResult) from an Android Activity to an awaitable task - which then can be used with async await keywords in a Xamarin.Forms PCL project.

Xamarin iOS Android

Nov 30, 2016

Folders Xamarin Android

When using Xamarin.Forms and Xamarin.Android, chances are that you had at one point of time to access a local file. Whether it is an image or a text file or even a local sqlite database, accessing a file from a Xamarin.Android project can be confusing. Today I will show you how you can get the absolute path of the different folders available in Xamarin.Android and we will see how we can get the paths from Xamarin.Forms.

Xamarin Android

Nov 21, 2016

Baskee

Few days ago, I released my first Android app Baskee built with Xamarin and F#. In this post, I would like to share with you the most common questions my friends asked me and I hope it will help you understand better why Baskee is useful for you!

Xamarin Android

Nov 18, 2016

Xamarin Android Snackbar

The Sbackbar API is a sleek way to provide notifications in Android. You might have noticed the usage of it in applications that you use daily like Chrome, get the notification that the tab was closed. This is the snackbar. Today we will see how to use the snack bar api with Xamarin Android and how we can call it from our Xamarin Forms project.

Xamarin Android

Nov 18, 2016

Fix Xamarin Adb Service Outofdate

Last week I showed you how to fix the error adb server version doesn't match... with Xamarin.Android when trying to deploy an application built in Xamarin.Studio to a Genymotion VM. This was caused by two different versions of ADB being installed on the machine. One installed during Xamarin installation and another one installed separately. The solution was to set the ADB path in the options of Genymotion. I thought all was good but turns out there was another issue.

Xamarin

Nov 13, 2016

Fix Xamarin Adb Version Mismatch

Today I would like to share with you how you can fix the following problem INSTALL_FAILED: /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets: Warning: error: could not install *smartsocket* listener: Address already in use ADB server didn't ACK.

Xamarin

Nov 07, 2016

Debug Instant Close Of Xamarin App

Last week I had an issue suddenly after updating Xamarin.Android and downloading the latest Android sdk 24. My application kept closing instantely after being deployed showing the following error: Unfortunately, [App name] has stopped.

Xamarin

Oct 26, 2016

Xamarin Android Line Chart With Custom Renderer Canvas Api Part1

Last week I needed a line chart to plot expenses. I had two choices: use an existing library or draw the chart myself on canvas. I decided to go for the second - draw the chart using the Android Canvas API. I chose this approach because it gives me full flexibility to create a style and behaviour that match perfectly my application.

Xamarin Android

Oct 19, 2016

Dp Dpi And Px In Android

I’ve been playing with Xamarin Android for a while now and one thing that disturbed me when I started was the units of measure. What is the difference between DP, DPI, PPI and PX in Android? I found my answers in the Material design guide and today I would like to share my undertanding of the differences and bring a different explanation which hopefully will help you get a better understanding.

Xamarin Android

Oct 12, 2016

Splashscreen Android With Xamarin

The first time I had to implement a splash screen for a Xamarin.Android app, I was completely lost. Xamarin official documentation is great https://developer.xamarin.com/guides/android/user_interface/creating_a_splash_screen/ but without prior knowledge in Android, it is hard to follow. So today I would like to show you how you can create a splash screen for an Xamarin.Android app and provide more explicit information on what is happening and why is it done this way.

Xamarin Android

Oct 05, 2016

Accordion View Xamarin Forms

Few weeks ago I posted about absolute and relative layouts. Layouts are called Layouts because they contain children which are placed in a particular way. Xamarin.Forms has a lot of layouts and views to structure pages like grid, table view or list view. Today I would like to show you how we can use some of these basic views to build an Accordion view.

Xamarin Android iOS

Sep 28, 2016

Gimp Primary Features

When working on personal projects, there’s one thing which use to always make me waste lot of time - art. Art in the sense of making logo, icon and other images like feature graphics or promotional images. Making something that looks “ok” is not as easy as it seems especially for people like me who have no sense of art whatsoever. Few weeks ago I completed Baskee and had to develop a feature graphic for it. Also my friend came up with the logo idea and I wanted to enhance it to make it more appealing. This sort of skills are always needed as it is hard to find people to do some art things for free. So might as well learn how to do it yourself by using the best free image editor - GIMP. GIMP has been there for a decade and it is a well established software so I decided to jump into it to enhance Baskee logo and create the feature graphic.

Gimp

Sep 21, 2016

Xamarin Forms Absolute And Relative Layout

In Xamarin Forms, layouts are used to position elements in the page. There are multiple layouts available like stack layout, grid layout, table layout, absolute layout and relative layout. Stack layout is straight to grasp the concept, we stack elements one by one horizontally or vertically. Grid layout is also straight forward, we define rows and columns and we place the elements by indicating the row index and column index. On the other hand, absolute layout and relative layout isn’t that straight forward because in Xamarin it is NOT the same as positions in CSS. So today, we will see how and when we can use absolute layout and/or relative layout in our advantage.

Xamarin iOS Android

Sep 18, 2016

Fix Signing Identity Error After Updating Xamarin Studio

This post will explain how to fix the errors appearing in Xamarin Studio after recent update: The version of Xamarin.iOS requires the iOS 10.0SDK when the managed linker is disabled. Error executing task Codesign: Required property 'Sigingkey' not set. I recently started to play with Xamarin.iOS and am still at the beginner level - I don’t know anything about developping apps on iOS. But so far I have been able to play around and deploy to the xcode simulator until yesterday.

Xamarin