I am new to Xamarin, and performing a feasibility study.
I am not sure if Xamarin provides a Common API for Bluetooth Low energy across platforms including iOS, android, Windows? In iOS, this API is coreBluetooth.
Please provide details; I couldn't find any good information when searching the net.
Yes Xamarin.iOS and Xamarin.Android do support Bluetooth.
No, they do not supply a common API
For my Sphero hacking - I wrote a cross platform BlueTooth Sphero-specific module https://github.com/slodge/BallControl/tree/master/Cirrious.Sphero.WorkBench/Plugins/Sphero
On iOS this module used ExternalAccessory rather than CoreBLuetooth - just because that is the way Sphero works, but on the other platforms Sphero uses Bluetooth SPP
If you need some CoreBluetooth sample code, then I wrote and tested some code in http://forums.xamarin.com/discussion/comment/7576/ and Solving 'CBConcreteCentralManager is not powered on' in Core Bluetooth in MonoTouch
Related
I'm planning to create a cross platform (Windows, Linux, macOS, Android, iOS, Wasm) audio player using latest AvaloniaUI along with LibVLCSharp. Unfortunately only support for Windows, Linux and macOS is listed for Avalonia.
I think that this might be a lack of documentation only, since Avalonia pretty recently introduced Android and iOS support officially.
So how is the state of this? Would it be possible to create a REAL cross platform player for all the listed platforms with LibVLCSharp? And if not, is there an alternative, that could be used with AvaloniaUI?
I found these libs for C#, that are (partially) capable of playing audio:
LibVLCSharp (unmanaged/wrapper, cross platform including Android + iOS)
SharpAudio (mostly managed, cross platform, but poor codec support atm)
cscore (unmanaged/wrapper, well designed, development stalled)
libsoundio-sharp (unmanaged, pretty raw)
ManagedBass (unmanaged/wrapper for BASS, awesome but only free for open source)
NAudio (awesome managed library, but windows only atm, although efforts to evolve to cross platform)
I'm making app with using Xamarin.forms (PCL project).
I'm making app like FITBIT and its wearable device.
I'm using nrf51822 MCU from Nordic.
Someone has done lots of work for syncing with ble device for Xamarin.Forms and fortunately it's working great.
Now, I need to use DFU OTA library to support firmware-update for users.
Nordic provided great examples and source code.
dfu lib for iOS : https://github.com/NordicSemiconductor/IOS-DFU-Library
full project(iOS) : https://github.com/NordicSemiconductor/IOS-nRF-Toolbox
dfu lib for Android : https://github.com/NordicSemiconductor/Android-DFU-Library
And How can I convert this library for using it on Xamarin?
What documents or technique should I look?
Any tips will help me. (It might be lots of pain?)
Thanks.
Nordic says they didn't even start to look Xamarin, So there are only three guys(including me) are looking for these binding project.
discusion here : https://forums.xamarin.com/discussion/comment/214516
you can read this documentation Xamarin.Android supports the use of native libraries via the standard PInvoke mechanism. You can also bundle additional native libraries which are not part of the OS into your .apk.
Android.
https://developer.xamarin.com/guides/android/advanced_topics/using_native_libraries/
the same for
iOS.
https://developer.xamarin.com/guides/ios/advanced_topics/native_interop/
Regards. I hope this help you.
I have an android 4.2.2 phone and bluetooth gamepad. I want to be able to interface with the gamepad using my custom app. That app is not for distribution, its only for my personal use. I could have used this app (called sixaxis controller) to interface with gamepad, but it requires, that Bluetooth must be turned off to operate, while I need an RFCOMM Bluetooth connection with another device in my app.
How can I have both requirements? I had tried Sixaxis Compatibility Checker and it works, so its possible somehow.
I tried to google for it, but did not found anything specific. There was a piece of advice to use NDK to interface with Bluez, that is base for Android BT API. On other side I found, that in Android Jelly Bean, Bluez was switched for Bluedroid, and its possible to build full custom android rom image with Bluez instead of Bluedroid.
I had an idea, that I could somehow compile Bluez for Android as library with NDK. Then I may put it in my app and use it. Is it right? If so, how can I do it?
I’m working on an app which is required to run on multiple different platforms. The original code is written in J2ME (Java ME).
The documentation online regarding using J2ME Polish for targeting multiple platforms is scarce and difficult to follow.
Can anyone here offer advice on targeting these 3 platforms using one code base? I’m currently using NetBeans 7.3 + the J2ME Polish plugin.
I’d ideally like to support:
Android 2.1+
BlackBerry OS 5.0+
J2ME/Java ME devices
Are there WebRTC libraries ported to BlackBerry? If not, is it possible to port Android NDK code to BB10 project?
Thanks in advance!
WebRTC is completely free for both paid and unpaid apps.
Currently, BlackBerry is interested in delivering support for WebRTC and are researching/investigating on the technology. However, no dates or release schedules have been announced at the moment.
Depending on the APIs being used in the Android app. it may or may not be possible to port Android NDK code to BlackBerry10.
Though the Android Runtime would not support WebRTC projects, BlackBerry10 OS is built on QNX, which is a fully compliant POSIX system.
The QNX compiler, QCC, has a GCC-compliant mode to easily port over existing code.