SerialPort / Bluetooth support in Xamarin.Android and Xamarin.UWP - android

I'm making an app for Android and UWP that connects to a barcode scanner over bluetooth, but I'm really struggling getting the right lib or something because System.IO.Ports isn't available.
I also tried to implement both in some abstraction library, but it seems difficult. Is there someone who can help me out?
Thanks in advance

You need to create different implementation for different platform.
For Android platform, there are some discussions, for example:
Xamarin forum question
Connecting to a Bluetooth Scanner with Xamarin Android
For Universal Windows Platform, the Barcode Scanner API is the right thing we need to use. Please notice the Remark part in that document.
The official Barcode scanner sample is a good demo for beginner.

A bit late but... I am using this Nuget Package:
https://github.com/inthehand/32feet
It supports Classic Bletooth and Bluetooth BLE, and it works both on Android and iOS. The project is supported at this date and it is very well documented.

Related

Using SpeechRateMeter in android

I discovered the Speech Rate Meter project on github however it's written in C++ and the official website doesn't have any pointers. I was wondering if anyone has ever added it to their android app or already did the same thing before? How can I use it ?

Using Native Android Bluetooth Support for Codename

Need help with a working example of native android bluetooth support for codenameone apps. I have one working in android but having a problem integrating with codenameone.Thanks in advance.
If you have working code in Android already, you just need to create a Native Interface to handle the API calls and callbacks you need. You'll be able to use most of your Android code, a few modifications will be needed to strip out the parts that control the UI. Check the developer guide, it discusses this. I believe that there's also a tutorial video.
There is also a CN1Lib or extension for Bluetooth Low Energy, if that's what you're developing.

Making calls via internet in android

What are the available API or existing technologies on android that can help one make call using the internet, more like VOIP. I checked out documentation online including this
. Kinda confused where to start. Can anyone help with a better guideline ? Thanks.
PJSIP is one of the better media libraries available on Android. you may want to google the pro and cons of this vs the native android SIP Api and based on your project pick one over the other.
There are a few others, but PJSIP is one comprehensive solution.
There are plenty of support for VOIP on android. You can try the following options
For Android 2.3 or higher you can use inbuilt SIP stack Documentation here
PJSIP (example implementation Project for Android is CSIPsimple)
MJSIP (example implementation Project for Android is Sip Droid)
Doubango (example implementation Project for Android is IMSDroid)
Linphone
I have used almost all of the above and they all are good and do the intended.
There are plenty of Paid SDK in market too which promise to do the job for you.

Unity3D for Android and iOS: QR-Code Decoding (Reader)

Is there a good QR Decoding Script or Pluging for Unity3D (Android and iOS)?
Or has someone already successfully integrated ZXing in Unity3D for Android and iOS? Here is a good solution for Webcam, but WebCamTexture does not always work on Android :(
I am grateful for any help.
There is a non-Free ($50) plugin available: Antares QR Code
If you're not interested in paying for a plugin then you'll have to create your own. Since ZXing is available for both iOS and Android you can create C# wrappers for it and then use a native plugin on iOS and the C#-to-Java extensions on Android to get what you need.
There is also an other plugin available for barcodes and QRCode for both Android and iOS : Easy Code Scanner
You just have to call a single method (common C# API for Android and iPhone) and it automatically launches a camera view/preview that decodes the barcode/QR code and gives you back the literal string of it in a callback. It is based on ZBar and you have nothing to integrate, everything is already self packaged.
The plugin can give you back the picture taken during the preview (as a Texture2D/Image) and also decode directly in the scripts a Texture2D/image without camera preview/shot.
The blog that the OP linked to, now has a free option for Android devices here You can also check out this related video
ARCamera prefab in Unity Tutorial
You may need to fix some minor compile errors to get everything working due to newer versions of Vuforia having different implementations.
You can also use free metaio SDK which has built in support for QR codes reading.

How to implement RFID features in our Android Application?

I want to develop an android app using android 4.0 API level, in my application I want to implement RFID features can anyone give me the idea or any code snippet regarding RFID feature implementation in android application.
Thanks to All.
Have a look at Nordic Id STIX uhf rfid reader.You can connect it to your phone using USB Ports.
They will provide you SDK for Application development.
Link : http://www.nordicid.com/eng/products/?group=7
You can develop Android application using NFC (RFID-like technology). More about NFC API here: http://developer.android.com/guide/topics/nfc/index.html
You should try to get Professional Android Sensor programing e-book it explains how to implement lots of sensors including RFID, geolocation and lots of other stuff that might be helpfull.
Hope it helped.

Categories

Resources