Langsung ke konten utama

Postingan

Menampilkan postingan dari Maret, 2017

Hands on Xamarin Platform Pipeline - Develop - Let's start by an offline application

After configuring the development environment following the previous post . Now, we'll be able to start developing mobile applications using Xamarin Platform. In this post we'll start by creating the offline version of our "Remember It" application. Application Creation Open Xamarin Studio IDE, please note that I'm using dark theme because I'm fan of it and the default theme that comes after fresh Xamarin installation is the light theme. Click on "New Solution..." button then select Android App. Fill in the application Name, Organization Identifier. For the Target Platform I chose 'Maximum Compatibility' to cover multiple Android versions (since 2.3), and finally I chose AppCompat Light theme to bring Material Design to my Android application.  In the final step, we can set the project name, the solution name and the project location. I checked the Xamarin Test Cloud option in order to create UI Test project that we'll use after. If you&

Hands on Xamarin Platform Pipeline - Context & Environment Description

If you haven’t read  this post  yet, please do before reading this one. Before starting the development, some preparations need to be performed and the main tasks are:  Knowing the application requirements Define the technology stack Install and configure the environment In our case, for the Operating System, Mac OSX Sierra will be used but there is no big difference between Xamarin on Mac and Xamarin on Windows. For the mobile application, it will be a simple Android application (Xamarin Traditional Approach or Xamarin Native) and it will be called 'Remember It'. In the main screen we'll have a list of things to remember with possibility to add elements and attach an alarm on them, the elements are saved in Azure backend. An authentication will be mandatory before displaying the list. To get start using Xamarin is pretty easy, following is the description of what I have in my environment: I'll be using my MSDN Enterprise license to use all the Xamarin Platform, Xamarin

Hands on Xamarin Platform Pipeline - Introduction

Quality in mobile industry is becoming nowadays something mandatory. Also mobile users are known to be very demanding at the point only 16% of users keep an app after 2 buggy experiences . Also, studies shown that mobile users use between 5-20 max applications, currently the mobile store size is about 3 billion applications per platform. So how can a developer deliver an application and be on the top 10? This requires of course strong platform and high quality tools. For those who doesn’t know Xamarin, following a quick information about it: Founded in May 2011, acquired by Microsoft in February 2016 Supports Native iOS, Android, Mac and Windows Mobile App development platform Supports C# 6 as development language, initially based on Mono Has same day support and always up to date Application built on Xamarin have native characteristics: Native User Interface, Full SDK Access and Native Performance And of course, we can’t forget the famous Xamarin quote: “Anything you can do natively y

Introduction de mobile development with Xamarin

Aware of the importance of cross platform mobile applications as a rapidly improved technology, Microsoft Morocco and Casablanca Mobile .NET Developers Group  organized the first meetup event about ‘Introduction to cross platform development using Xamarin’ . Please find below the presentation content. Xamarin introduction from Anas El Hajjaji

Smart Lock API in Android

By integrating Smart Lock for Passwords into your Android app, you can automatically sign users in to your app using the credentials they have saved. Users can save both username-password credentials and federated identity provider credentials. Integrate Smart Lock for Passwords into your app by using the  Credentials API  to retrieve saved credentials on sign-in. Use successfully retrieved credentials to sign the user in, or use the Credentials API to rapidly on-board new users by partially completing your app's sign in or sign up form. Prompt users after sign-in or sign-up to store their credentials for future automatic authentication. Reference : Official Link Project Setup Smart Lock for Passwords on Android requires the following: Add the following line in app level gradle file compile 'com.google.android.gms:play-services-auth:10.0.1' Then Click Sync Now Coding Part Create your activity with implements of  GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnect