linkos xamarin

What happen if i close bluetooth connection once a day after my multiple print jobs completed

Before the discussion start, i need to provide some info on my background.

I have a android app develop under XAMARIN ANDROID platform. The android app will pair with a ZEBRA printer ZQ521. All the print jobs is send from android device to ZQ521 printer via Bluetooth connections. I have use LINK OS XAMARIN SDK's API to handle the Bluetooth communication between android device and ZEBRA ZQ521. Below is the sample source code i tried.

Error connecting to printer ZD620 through bluetooth from Android devices


We have built a Xamarin app that can print some labels. We run this app in Android 8.x and use bluetooth connectivity for sending print jobs. Randomly, the connection creation is failing with below exception. I'm not sure what exactly is causing this exception when trying to connect as its very random. Any help in this highly appreciated.

java.lang.OutOfMemoryError JavaMaximumHeapSize

Hi all,
I've created an empty Xamarin Forms Solution with an Android Project and the app regularly starts without any problem. After the LinkOS_Xamarin_SDK nuget package installation I can't build solution and I've received this message:

java.lang.OutOfMemoryError. Consider increasing the value of $(JavaMaximumHeapSize).

I've tried to increase HeapSize through "Android Options -> Advanced -> Java Max Heap Size", but the error still remain.

I've also tried to another package version, but without success.

How to wake up Zebra Bluetooth Printer programmatically after the inactivity timeout?

HI, I am using Xamarin to build a mobile app that will print out the label via connected Bluetooth device (ZQ320). After the inactivity timeout, the connection seems like broken when I wake up the ZQ320 with long press the power button on the device. It is really frustrated that I need to rebuild the connection again and wait for few minutes. My question is how can I wake up the ZQ320 programmatically and resume the previous connection so that I can continue printing without rebuilding the connection between the mobile and the printer? Appreciate for any comment.