Read a barcode with Zebra terminals, using DataWedge and #DOTNETMAUI
I am a programmer - Alessandro Caliaro
by acaliaro
11M ago
Hi everyone. It’s been a long time since my last article on Xamarin Forms. Many things have happened in these years. Surely, for us developers, one of the most interesting things is the arrival of #dotnetmaui, the new framework for developing applications on iOS, Android, Windows. As you know many of my articles are related to how to use industrial android devices and their hardware. This first article would like to resume an article already written for Xamarin Forms (Xamarin Android and DataWedge scanning process), on how to integrate barcode reading in a MAUI application on Zebra androi ..read more
Visit website
Read the IP address of an Android device using DOTNET MAUI
I am a programmer - Alessandro Caliaro
by acaliaro
11M ago
Since the days of Windows CE, if I remember correctly, I’ve always used what DOTNET offered me to retrieve the IP address of a device. This code has always worked on Android devices as well: ip = Dns.GetHostEntry(Dns.GetHostName()).AddressList.FirstOrDefault(x => x.AddressFamily == AddressFamily.InterNetwork).ToString(); Now, with the advent of DOTNET MAUI and .NET 7, this code seems to break, and always returns “127.0.0.1”. To retrieve the IP address on an Android device in DOTNET MAUI, we can use the Android classes:Now, with the advent of DOTNET MAUI and .NET 7, this code seems to brea ..read more
Visit website
Create a popup using Rg.Plugins.Popup and get a return value
I am a programmer - Alessandro Caliaro
by acaliaro
3y ago
Hi my friends, how are you? I hope you are well. In the last few weeks I have had a request from a client of mine to change the standard Xamarin Forms popups created with https://docs.microsoft.com/it-it/xamarin/xamarin-forms/user-interface/pop-ups, because his drivers have big fingers and cannot press the small “YES” and “NO”. The only solution I have used during these years is https://github.com/rotorgames/Rg.Plugins.Popup, the “official” plugin to create customizable popup in Xamarin Forms. https://twitter.com/rotorgames_LK but not it seems that it appears to be maintained by the mythical h ..read more
Visit website
How to configure FFImageLoading to visualize images from URL when a PROXY is configured.
I am a programmer - Alessandro Caliaro
by acaliaro
3y ago
FFImageLoading is a well-known library for those who develop applications using Xamarin Forms. In particular, I use the CachedImage control that allows you to view images within pages. I recently had a problem with an application that displays images from a URL, using a PROXY (specifically a PROXY PAC). <ffimageloading:CachedImage Aspect="AspectFill" DownsampleToViewSize="True" ErrorPlaceholder="image_error" HorizontalOptions="Center" LoadingPlaceholder="image_loading" Source="{Binding ImageUrl ..read more
Visit website
Update Xamarin Forms libraries before start a new app
I am a programmer - Alessandro Caliaro
by acaliaro
4y ago
When you create a new Xamarin Forms project, the template download 28.0.1 Android libraries, but them are old because there is a new 28.0.3 version. If you try to upgrade the package, NuGet returns some errors. There are also some other libraries to update like Xamarin.Forms, Xamarin.Essentials and Microsoft.NETCore.UniversalWindowsPlatform for UWP Project. Here a sequence of steps to upgrade Android libraries to 28.0.3 (and others to the last release). Uninstall Xamarin.Forms on all projects On Android project: Install Xamarin.Android.Support.Annotations Install Xamarin.Android.Support.Collec ..read more
Visit website
Xamarin Forms 4.0 and AltBeacon library
I am a programmer - Alessandro Caliaro
by acaliaro
4y ago
Some years ago I have used AltBeacon library to interact with some Estimote beacons. Do you know AltBeacon library? I think you can read this to have all informations you need. With the help of Chris Riesco Binding and sample I have been able to create a little project that I have published on GitHub. After some years, a customer has come back with these “Beacons”…. He has selected a Zebra MB4000 beacon that can be read with AltBeacon library. So, I have cloned my repository from GitHub but it’s very old: AltBeacon library 2.7, XamarinForms 2.3… I should spend a lot of time to upgrade it, so I ..read more
Visit website
Update NuGet packages before start to write some code in a Xamarin.Forms app
I am a programmer - Alessandro Caliaro
by acaliaro
5y ago
Hi guys. When you create a Xamarin Forms project, you can see that Xamarin.Android project has some Xamarin.Android NuGet packages that are not updated. I don’t know why the Xamarin.Forms template does not download the last version of default packages. By the way we could try to update all needed packages before start to write some code. These are the steps: Remove Xamarin.Forms Nuget Package from Xamarin.Android, iOS, UWP and Xamarin.Forms Under Android Install Xamarin.Android.Support.Annotations Install Xamarin.Android.Support.Compat Install Xamarin.Android.Support.Core.UI Install Xamar ..read more
Visit website

Follow I am a programmer - Alessandro Caliaro on FeedSpot

Continue with Google
Continue with Apple
OR