Hello I want to ask a question about Flutter:
I will develop an app for the company and we want to deploy our android app to Flutter, because it supports IOS. And our app includes bluetooth printer part. After smart device is connected to bluetooth, some part (receipt, information e.t.c) will be printed over bluetooth printer. It is possible to make with Flutter? Or does it have any alternatives for this situation?
Yes, you can with the help of plugins. If have a sdk to connect and print, use Platform channels to integrate it in flutter.
If you are communication using Bluetooth directly, there are plugins available which you can give a try to.
Here are few plugins available:
Flutter Blue
Flutter Bluetooth
Hope this helps!
Related
I've been looking into different API/SDKs that would be best and easiest to integrate with my React Native iPhone app. This is an internal employee app, that once a form is submitted I would like to automatically print out a label from a thermal printer (e.g. Brother QL1110NWB).
Some options I found are:
React Native:
https://github.com/christopherdro/react-native-print
Brother SDK:
https://support.brother.com/g/s/es/htmldoc/mobilesdk/
Apple AirPrint:
https://developer.apple.com/documentation/uikit/uiprintinteractioncontroller#//apple_ref/doc/uid/TP40010141-CH1-SW34
Does anyone have experience with any of these API/SDKs and can recommend best method for easy integration and be able to print directly without interaction?
Thank you!
If you can dictate the hardware to make sure it is compatible, then the Brother SDK will have the easiest integration and be transparent to the user.
Apple restricts Bluetooth Classic devices from connecting to iOS unless they are MFi certified, which adds to the price but enables the External Accessory Framework at the OS level. Device manufacturers can then sell a printer that is 'iOS certified' like the Brother QL1110NWB and provide the SDK to use it.
How to use bluetooth classic instead of le
You would need to write a React Native binding for each target device family to use the SDK's OS specific libraries. Brother has an iOS, Android and Xamarin SDK available, but I don't see one for React, so you would need to wrap their iOS SDK with hooks to invoke your print on demand. Before you start, contact Brother support or your sales rep, because they may be working on React Native SDK, or your organization may have enough buying power to request one. Either way, it's a good practice to make this an interface at the base React level so that new printers or platforms can be added just by implementing custom native device adapters.
I would to like to develop a messaging app that uses Bluetooth.
Are there any easy frameworks for using Bluetooth in Swift?
This app needs to be able to message other iOS devices.
I've searched but couldn't find any real help for this problem.
You can use Apple's framework "MultipeerConnectivity". Not only you can send text messages but you can send any image/video/files in form of binary data using this framework. Again not only bluetooth but you can also use wifi for the purpose.
See details:
https://developer.apple.com/documentation/multipeerconnectivity
Yes, indeed!
You can use Core Bluetooth to chat to both ios and android devices from ios.
Here is a brilliant example: Who's there application
I've got an existing PCL Xamarin forms app which works great. New requirement is to connect a Biocontrol Hhr3000 scanner via Bluetooth to the .ios version of my project. Workflow is, i first connect and pair the scanner to my iPhone over Bluetooth. I need a non LE (low energy) Bluetooth library which i can use to work with this. All i can find on the internet is all examples of LE Bluetooth so as it stands i cant get the iPhone to pick up the scanner via normal Bluetooth pairing.
Please point me in the right direction. I'm looking for an ios implementation thats simple like this one for android: https://acaliaro.wordpress.com/2017/02/07/connect-a-barcode-reader-to-a-xamarin-forms-app-via-bluetooth/
If the device is Mfi Certified by Apple, then you can use the External Accessory Framework to interact with the bluetooth device. If you can pair it, I have to assume it is Mfi Certified.
Our company developed a project keyboard using bluetooth 4.0 (BLE) to connect with iPhone. It is a HID and can send both keyboard and mouse data depending on the mode it is on. My job is to develop an iOS application to catch the data from it. In my last case, IOHIDLib in OS X platforms can do it easily, but in iOS platform i found that it is hard to get something similar with IOHIDLib. I have tried some ways.
CoreBluetooth, but this library can't communicate with HID.
BluetoothManager, but private framework is hard to maintain and it doesn't
support iOS 9.3
Gamekit, but this is only for two IOS devices.
ExternalAccessory, but our product don't have a MFi license and have no plan
to get one.
To put it simply, what I need exactly is a way or a framework allows me to read and write data with a HID through BLE in IOS platforms.
I will appreciate any help!! :目
P.S. The project keyboard works well, I can use it to type letters on my iPhone correctly.
P.S. I use Objective-c.
I have developed mobile application with Devexpress DXTreme, i need to print that data using bluetooth by a bluetooth printer.
help me, how to print!!!
It is not currently possible to access bluetooth devices with DXTREME out of the box. Instead you can use PhoneGap. Here are some related links from the DevExpress Support Center which is the best place to ask.
How to use bluetooth device (printer) with DXTREME?
How to access device hardware
A StackOverflow answer with some links to PhoneGap bluetooth plugins