Categories
.NET NFC

Writing NFC Tags in .NET

I first added NFC code to 32feet.NET back in 2020. However, as other priorities came along it never got fully polished and released on NuGet. This year I finally got around to it and updated the code for .NET 8.0 as it had originally targeted Xamarin Forms. InTheHand.Nfc is available on NuGet and follows the […]

Categories
.NET NFC

Android deep-links and NFC

Deep-linking is the ability to define a Url which will direct the user straight to a specific feature of your app. On Android these are called App-links, for iOS they tend to be called Universal links. These can be an app-specific uri scheme or you can, with the right configuration on your web server, link […]

Categories
.NET Bluetooth

Asking for Permission

I’ve been asked a number of times about the process to ask for Bluetooth permission for your app. I’ve been meaning to create something reusable for some time but it has languished on the To Do list for rather too long. I recently noticed that as of .NET 8.0, MAUI will incorporate a Bluetooth permission […]

Categories
.NET Bluetooth

Bluetooth Support for Android on More Frameworks

There is a particular issue when writing any code which will run on Android which presents external UI through an Intent or uses broadcasts in that you need to have a reference to the current Activity. I covered this in my last post. Following on from that I moved the code to a new library […]

Categories
.NET

Dot Net DLLs, Droid, Dependencies

Natively, Android apps are built around activities. These are distinct parts of an application which include UI and are designed to perform a particular task. Android allows you to start activities and pass data between them. A number of system dialogs are just activities which run and return a result. Across Platforms When using a […]

Categories
Bluetooth Xamarin

Changes coming in Xamarin Android BluetoothSocket

While debugging an app I came across this new message in the Output window:- “Not wrapping exception of type Java.IO.IOException from method `Read`. This will change in a future release.” When working with an RFComm service on Android you use a BluetoothSocket which in turn owns two Streams – one for Input and one for […]