Eduardo Rosas’ Dev Blog
Courses
Contact
10 Days of Xamarin

Subscribe

New posts weekly.

Thank you!

directly from mexico, eduardo shares some knowledge on the xamarin platform. also, he is super into artificial intelligence, so you may also see some posts about that here.

Eduardo Rosas
Featured
Firebase Authentication in Xamarin - The User Interface
Mar 21, 2020
2 Comments
Firebase Authentication in Xamarin - The User Interface
Mar 21, 2020
2 Comments

Google’s Firebase is a fantastic platform for us developers. It provides a wide variety of services that we may need for our applications, ranging from databases and storage, all the way to machine learning services and analytics.

Authentication, of course, is among those services, and it makes it incredibly simple for developers to authenticate users using a variety of methods: from the traditional email and password method to phone number authentication to social media authentication.

In this new series of posts, I will be showing you how to implement Firebase user authentication in your Xamarin Forms apps, starting in this one with the user interface.

Read More →
Mar 21, 2020
2 Comments
Mobile DevOps with App Center - iOS Continuous Delivery
Nov 7, 2019
1 Comment
Mobile DevOps with App Center - iOS Continuous Delivery
Nov 7, 2019
1 Comment

Distributing iOS applications can be tricky, with all the identifiers, provisioning profiles, and certificates that are required. What's more, each of these things can take different forms depending on the problem at hand.

Read More →
Nov 7, 2019
1 Comment
Mobile DevOps with App Center - Android Continuous Delivery
Oct 31, 2019
Comment
Mobile DevOps with App Center - Android Continuous Delivery
Oct 31, 2019
Comment

Mobile DevOps with Microsoft's Visual Studio App Center is super easy and incredibly tailored to mobile developers, so enabling continuous delivery for an Android app will be very straight forward in this video.

Read More →
Oct 31, 2019
Comment
Mobile DevOps with App Center - Continuous Integration
Oct 24, 2019
1 Comment
Mobile DevOps with App Center - Continuous Integration
Oct 24, 2019
1 Comment

Mobile DevOps with Microsoft's Visual Studio App Center is super easy and incredibly tailored to mobile developers, so enabling continuous integration for an iOS and/or Android app will be very straight forward in this video.

Read More →
Oct 24, 2019
1 Comment
Mobile DevOps for Mobile Developers (4 new courses!)
Oct 7, 2019
1 Comment
Mobile DevOps for Mobile Developers (4 new courses!)
Oct 7, 2019
1 Comment

Wow, 4 new courses, I had never released so many courses in such a short period of time! But these 4 are actually the same course, only tailored to different mobile developers:

  • Android developers

  • iOS developers

  • React Native developers

  • Xamarin developers

All 4 courses will teach you how to use Microsoft’s Visual Studio App Center to automatically build your code, automatically test it in real devices hosted in the cloud, automatically deploy it to your users both from App Center and to the App Stores, and to get continuous feedback so you can plan the next release!

Read More →
Oct 7, 2019
1 Comment
How to connect a cloud SQL database to an Azure Web App Service
Oct 4, 2019
2 Comments
How to connect a cloud SQL database to an Azure Web App Service
Oct 4, 2019
2 Comments

So the Mobile App service that was previously available to us on Azure is gone, that beautiful easy to setup service that helped us connect a SQL database to it, create tables so easily, and manage permissions, is not dead, sort of.

Read More →
Oct 4, 2019
2 Comments
iOS 13's Dark Mode with Xamarin Forms
Sep 24, 2019
3 Comments
iOS 13's Dark Mode with Xamarin Forms
Sep 24, 2019
3 Comments

With iOS 13 came Dark Mode, something a lot of users enjoy, love, plead to developers to include in their apps. So it is only fair to your users that you enable that on your Xamarin Forms applications.

Read More →
Sep 24, 2019
3 Comments
Routing in Shell -  Passing Information Between Pages
Jun 3, 2019
1 Comment
Routing in Shell - Passing Information Between Pages
Jun 3, 2019
1 Comment

In the previous post I explained how you can use routing to navigate from any page inside the Shell to any other page (within or outside the Shell itself). Now I want to focus on the steps that you need to perform to get data flowing between the two pages.

This is of course crucial, as you create your application, many times, you will want the origin page to send data to the destination page, whether to display it or to use it to do something else, like read from a database the elements that contain a specific keyword or something.

Read More →
Jun 3, 2019
1 Comment
Routing in Shell -  The New Navigation Paradigm in Xamarin Forms
May 30, 2019
2 Comments
Routing in Shell - The New Navigation Paradigm in Xamarin Forms
May 30, 2019
2 Comments

Since my previous posts about the new Shell, Xamarin Forms 4 has been released, and with it the release (non-beta) version of the Shell, which comes immediately with some improvements. Without changing the code that I created in the previous post -in which I created a few elements that were shown on the flyout menu, as well as some tabs and “secondary” tabs- the interface now looks better. It finally includes that hamburger icon, and the list of items looks ok on notched-iPhones, something that was missing at least on the Xamarin Forms 3.6 version I used in the post I mentioned:

Read More →
May 30, 2019
2 Comments
Structure of Shell -  The New Navigation Paradigm in Xamarin Forms
May 21, 2019
1 Comment
Structure of Shell - The New Navigation Paradigm in Xamarin Forms
May 21, 2019
1 Comment

In my previous post I talked about how you can start using the new Xamarin Forms Shell in your apps, how to set it up and how to use it to create some tabs. In this post I want to take a closer look at this new navigation paradigm so you can start using it freely to create the apps that you need. We will take a look at its structure and its core features and explore how the flyout view works and how you can create one.

Read More →
May 21, 2019
1 Comment
Shell - New Navigation Paradigm in Xamarin Forms
May 16, 2019
2 Comments
Shell - New Navigation Paradigm in Xamarin Forms
May 16, 2019
2 Comments

Starting with Xamarin.Forms 3.6 there is a new navigation paradigm available for us developers to use called Shell. In this post I want to discuss the benefits of using Shell over the traditional Page push and pop navigation that you may be accustomed to, as well as the initial steps that you need to perform in order to get Shell working on a new blank app.

Keep in mind that at the moment of writing this post, Shell is still in Preview, but is going to be one of the core features that will be fully available for Xamarin Forms 4.

Read More →
May 16, 2019
2 Comments
Cloning a GitHub repo into Drive from Google Colab
Apr 15, 2019
1 Comment
Cloning a GitHub repo into Drive from Google Colab
Apr 15, 2019
1 Comment

I recently discovered Google Colab, an amazing tools for Data Scientist to experiment and learn. I’m no Data Scientist, but I’ve been using Google Colab to learn Machine Learning, and since I have a few repos on my GitHub that contain some Python Notebooks, I figured I’d clone some and use Google Colab’s GPU to train some models, especially the week that my MacBook Pro was in repair at an Apple Store and all I had to work with was my iPad Pro.

Unfortunately, this wasn’t as easy a feat as I thought, hence this post. 

Read More →
Apr 15, 2019
1 Comment
Using Material Design with Visual in Xamarin Forms 3.6
Apr 12, 2019
Comment
Using Material Design with Visual in Xamarin Forms 3.6
Apr 12, 2019
Comment

New in Xamarin 3.6 is a new feature that incredibly easily allows us to use material design on the elements that we define with XAML not only on Android, but on iOS as well. This means that, by changing one property in each element (or even better, a container) Material Design is going to be applied.

Read More →
Apr 12, 2019
Comment
New in Visual Studio 2019: The Xamarin Forms Creation Flow
Apr 2, 2019
2 Comments
New in Visual Studio 2019: The Xamarin Forms Creation Flow
Apr 2, 2019
2 Comments

The new creation flow for Xamarin Forms projects in Visual Studio 2019 is a bit different, so for those of you interested in knowing what changed or confused by the new templates, here is the process to follow.

Read More →
Apr 2, 2019
2 Comments
Dependency Services on Xamarin Forms
Mar 5, 2019
1 Comment
Dependency Services on Xamarin Forms
Mar 5, 2019
1 Comment

While Xamarin Forms has evolved greatly, and more and more plugins are created for us to be able to use native functionality directly from the .NET Standard Library, there will be from time to time a specific functionality that is not yet available through shared code.

This doesn’t mean that you must think of an alternative, say native Xamarin. Xamarin Forms after all still has those native projects. So what do you do? You code the native functionality and inject it over to the .NET Standard Library using Dependency Injection.

Read More →
Mar 5, 2019
1 Comment
Correctly Display Your App on iPhones with a Notch
Mar 4, 2019
4 Comments
Correctly Display Your App on iPhones with a Notch
Mar 4, 2019
4 Comments

Almost any app that you may have will look bad on iPhones with a notch if it is not correctly configured. All those iPhones that have launched after the iPhone X back in 2017 have notches that caused Apple to change the way apps look just a little bit.

It is your job as a developer to adapt your applications to this change. Thankfully, it is quite easy to do, literally it takes only one line of code in your Page’s files and that is it.

Read More →
Mar 4, 2019
4 Comments
How the heck does one do DataBinding with XAML
Feb 27, 2019
Comment
How the heck does one do DataBinding with XAML
Feb 27, 2019
Comment

DataBinding is one of those things that once you learn, you have no idea how you lived without it before.

Being one of the most important things you can learn about XAML, this lecture builds on the example that we have been building in previous lecture to complete an introduction to the Xamarin platform. After this, you will be much more efficient when creating and linking your interfaces to your apps’s logic.

Read More →
Feb 27, 2019
Comment
Using ListViews in Xamarin Forms
Feb 25, 2019
1 Comment
Using ListViews in Xamarin Forms
Feb 25, 2019
1 Comment

So now you have read the data from the SQLite table into a list of C# objects that are ready to be listed into the user interface.

Now it is time to learn how to use ListViews, which will be the go-to element when you need to display a collection of data to your users.

Read More →
Feb 25, 2019
1 Comment
Reading a SQLite Database
Feb 20, 2019
1 Comment
Reading a SQLite Database
Feb 20, 2019
1 Comment

Reading a database will be very straight forward, especially once you know how to establish the connection to the database, which you should already know thanks to our previous post.

All you have to make sure of now is that when reading, you get all that data in the correct format, not as a simple query to a database, but as an actual list of elements. So in this lecture I cover how to do exactly that.

Read More →
Feb 20, 2019
1 Comment
Gesture Recognizers in Xamarin Forms - Tappable Label
Feb 18, 2019
2 Comments
Gesture Recognizers in Xamarin Forms - Tappable Label
Feb 18, 2019
2 Comments

Quite often you may want a XAML label to respond to touch gestures. It may be the case that your label must behave as a hyperlink to a website, or perhaps your terms of service and privacy policy (which is a typical scenario in which we add hyperlinks).

By default, XAML labels do not have any events that we could use in this scenario, so your first option may be to create a button and try to make it look like a simple Label (on iOS this is easier than on Android, where buttons always have a background and very distinctive edges).

Read More →
Feb 18, 2019
2 Comments
Inserting to a SQLite Database
Feb 13, 2019
Comment
Inserting to a SQLite Database
Feb 13, 2019
Comment

Well, now that the Model is ready, and the database is created for both Android and iOS scenarios, there is nothing left for us to do but to start adding the functionality for the necessary requests inside of our application.

In this video, I start by explaining how to insert to the database, and how a specific usage of the using keyword will be rather important for you to understand.

Read More →
Feb 13, 2019
Comment
Modeling the SQLite Table and Columns in a C# Class
Feb 11, 2019
Comment
Modeling the SQLite Table and Columns in a C# Class
Feb 11, 2019
Comment

In this video we create the C# class -or Model- that will represent the SQLite table that will exist in the database.

This class, of course, will also contain the properties that will represent all the columns in the table, as well as some attributes that will be very important for when the database is created.

Read More →
Feb 11, 2019
Comment
SQLite Xamarin Forms Tutorial - iOS Database Path
Feb 7, 2019
Comment
SQLite Xamarin Forms Tutorial - iOS Database Path
Feb 7, 2019
Comment

When using SQLite inside of your applications, you will need to set the location for the database file.

In this video I cover what you have to do for the iOS scenario, which indeed will be slightly different from the Android one, which means that we will have two versions of the same code -one per platform- and that we will need to code some functionality in the platform-specific projects.

Read More →
Feb 7, 2019
Comment
SQLite Xamarin Forms Tutorial - Android Database Path
Feb 6, 2019
Comment
SQLite Xamarin Forms Tutorial - Android Database Path
Feb 6, 2019
Comment

When using SQLite inside of your applications, you will need to set the location for the database file.

In this video I cover what you have to do for the Android scenario, which indeed will be slightly different from the iOS one, which means that we will have two versions of the same code -one per platform- and that we will need to code some functionality in the platform-specific projects.

Read More →
Feb 6, 2019
Comment
Adding NuGet Packages to a Xamarin Forms (starting with SQLite)
Jan 30, 2019
Comment
Adding NuGet Packages to a Xamarin Forms (starting with SQLite)
Jan 30, 2019
Comment

So SQLite can be quite useful in a lot of scenarios. I believe most apps should use this light-weight version of a database, even when they rely on another cloud database for their information.

But before we learn how to implement SQLite into our apps, let’s first take a look at how can we add third-party functionality into our apps, so we don’t have to code SQLite functionality from the ground up.

Read More →
Jan 30, 2019
Comment
Testing your Xamarin Forms App - iOS Simulator (Windows edition)
Jan 28, 2019
Comment
Testing your Xamarin Forms App - iOS Simulator (Windows edition)
Jan 28, 2019
Comment

Testing on an iOS Simulator is not as straight forward as on Android. You will find that it is still pretty easy but can get a bit confusing if you don't know about the restrictions that Apple sets, and how Visual Studio can help you meet those restrictions for your app to be able to run on a simulator, whether you are on macOS or Windows (this video covers Windows).

Read More →
Jan 28, 2019
Comment
Changing ListView Selection color with a Custom Renderer
Jan 24, 2019
1 Comment
Changing ListView Selection color with a Custom Renderer
Jan 24, 2019
1 Comment

I don't know about you, but the selected element color of a ListView, when rendered on an Android device, can feel like too much, not to mention just off with the other colors. I don't mind the light gray color for the same behavior when rendered on iOS, but on Android, it just feels wrong.

Read More →
Jan 24, 2019
1 Comment
Opening the Play Store Programmatically in Xamarin Forms
Jan 22, 2019
1 Comment
Opening the Play Store Programmatically in Xamarin Forms
Jan 22, 2019
1 Comment

Recently a student of mine asked a fascinating question that I hadn’t come up with, but that seemed to be easily implementable and super useful in at least one typical scenario: send your users over to the Play Store to get the latest available update to your app.

Read More →
Jan 22, 2019
1 Comment
Testing your Xamarin Forms App - iOS Simulator
Jan 21, 2019
Comment
Testing your Xamarin Forms App - iOS Simulator
Jan 21, 2019
Comment

The iOS Simulator is quite easy to use, but here is the process you should follow.

Read More →
Jan 21, 2019
Comment
Testing your Xamarin Forms App - Android Simulator
Jan 17, 2019
Comment
Testing your Xamarin Forms App - Android Simulator
Jan 17, 2019
Comment

The Android simulator can be tricky, here is what you have to do to make your app run perfectly in one of those.

Read More →
Jan 17, 2019
Comment
 
 
 
 
circle copy.png

Eduardo Rosas is a Xamarin developer and instructor, currently with 31,000+ students. His posts cover a variety of Xamarin features that he has used, or that his students have found trouble with. An ocasional AI/Azure post may be uploaded.

 

Blog     Courses     Contact     Twitter

 
 

Powered by Squarespace