Month: September 2020

2020.09.01.

Google authentication and get information about the user with Plugin.Google

When we have a Xamarin.Forms Portable application we have to click on References -> Manage NuGet Packages. Type in: Plugin.Google and Install. After the Install it creates 4 folders: Models, View, ViewModel és Services. If it is possible, leaves the ViewModel folder intact. Models folder: It contains the response Object Model(User’s information) Services: It is necessary to define the query URL, which ask for details […]

2020.09.01.

Twitter, Facebook, Google and Microsoft authentication with Azure Mobile Services and Xamarin.Forms

Install the whole Solution from extending the Microsoft.Azure.Mobile.Client NuGet packaget. Go to the Azure portal and create a Mobile App Service. Go to the Authentication tab. Note that: We have to register our app on theese websites and after that we have to fill on the portal the AppIDs and AppSecrets. Microsoft: https://apps.dev.microsoft.com/ Facebook: https://developers.facebook.com/apps/ Google: https://console.developers.google.com/apis/dashboard/ Twitter: https://apps.twitter.com/ Note: the redirect URIs should look […]

2020.09.01.

Xamarin.Forms Portable DependencyService – platform specific implements

We do not always make the business logic involves the Portable project. Then you have to explain to each platform. This can be done if some kind of service to call and tell him that this is not the realization were discussed here, but each platform separately. Be the project name: DependencyServiceDemo. How can we do this? Very simply. We have to create an interface […]

2020.09.01.

Xamarin.Forms Azure Easy Table Accsess

The easiest way to establish a connection to the database, store, update, delete or retrieve data, if we connect our app with Azure. This requires an Azure users, it can even be free as well (30-day trial version is for everyone and does not then not to Pay back, or will be after I’d buy a new one if you do not like it.) First, […]

2020.09.01.

How to add UWP to an existing Xamarin.Forms project

1.Click on the Solution and add a new UWP project. 2.Add to the UWP project this NuGet packaget: Xamarin.Forms. 3.Click on the Reference in the Portable project and add as reference your UWP project. 4.Go to the UWP project and open the APP.xaml.cs file and add this line: // under this line rootFrame.NavigationFailed += OnNavigationFailed; // add this line Xamarin.Forms.Forms.Init (e); // requires the `e` […]

2020.09.01.

Xamari.Forms how can we earn our local files?

Create a new demo.txt file, fill with something and save that. Save this file to the Desktop, if we need this, earn this easy. Open the Visual Studio and create a Xamarin.Forms portable project (named as: LocalFileSystem). The files are copied to the appropriate platforms as follows: UWP: Into the root, just pull it into the LocalFileSystem.UWP. Click on the file (demo.txt). If we don’t […]

2020.09.01.

Xamarin, Why?

What is Xamarin? Xamarin is a developer technology, which we can develop cross platform mobile applications (native). Why it is good? Let’s see, if we don’t develop natively, what do we need before we start developing? iOS: We need a macOS or OS X, which we can build our application. We need, if we develop iOS, Mac applications, to know the Objective-C or Swift language. Android: […]