HisTech Up
user

HisTech Up


Navigation
Archive Archive for août, 2017
Featured

Mobile Development

Xamarin.Forms: Consuming a RESTful Web Service

Posted on août 19th, 2017.

Using the HttpClient class to communicate with a web service Integrating a web service into an application is a common scenario. This article demonstrates how to consume a RESTful web service from a Xamarin.Forms application. Representational State Transfer (REST) is an architectural style for building web services. REST requests are made over HTTP using the […]

Featured

Mobile Development

Xamarin.Forms: Using Xamarin.Auth to store data in the account store

Posted on août 15th, 2017.

Xamarin.Auth is a cross-platform SDK for authenticating users and storing their accounts. It can be used to securely store Account objects in an account store so that applications do not always have to re-authenticate users. For information about using Xamarin.Auth to authenticate users, see Authenticating Users with an Identity Provider. Storing Account Information The following code example shows […]

Featured

Mobile Development

Xamarin.Forms: Handling the SizeChanged event

Posted on août 12th, 2017.

There are a number of approaches that can be used to detect when the screen orientation changes in a Xamarin.Forms app. The simplest approach is to handle the SizeChanged event of the Page. This event fires when either the width or height of the Page changes. Then, an image can be chosen for display by comparing the height and width […]

Featured

Mobile Development

Xamarin.Forms: How to display the correct virtual keyboard for an Entry

Posted on août 10th, 2017.

The Entry control defines a Keyboard property that allows an app to select the virtual keyboard that is displayed for the control. For example, a keyboard for entering a phone number should be different from a keyboard for entering an email address. Specifying a virtual Keyboard The Keyboard property is of type Keyboard. This class defines read-only properties that are appropriate for […]

Featured

Mobile Development

Xamarin: How to report the Download Progress

Posted on août 5th, 2017.

To retain a responsive UI, a mobile applications should perform long-running tasks – such as downloading a file – in the background. This recipe will show how to asynchronously download a file while reporting progress to an Android or iOS application. There are two main parts to this recipe: Downloading the File – Downloading the file […]

Featured

Mobile Development

Xamarin.Forms: Adding a Mac App

Posted on août 2nd, 2017.

Before you start, create (or use an existing) Xamarin.Forms project. You can only add Mac apps using Visual Studio for Mac. Adding a Mac App Follow these instructions to add a Mac app that will run on macOS Sierra and Mac OS X El Capitan: In Visual Studio for Mac, right-click on the existing Xamarin.Forms […]