Codename one NFC Integration - nfc

There's a way from Codename One to provide access to Near Field Communication (NFC) ?
Anything new, out this post codename-one-nfc-beacon?

NFC is an Android only API and even there the availability in devices is "problematic". In iOS it's restricted to payment so there is no access to the underlying hardware. So there is no point in supporting the API in a framework that is designed for cross platform. I'm sure you can create a cn1lib similar to the fingerprint reader API or the SMS intercept API.

Related

Web page beacon

I would like to send a BLE Eddystone beacon from a web page. My application requires to send SSID info to a BLE listener. My thought is to have a user load a URL on a smartphone that would run JS to send periodic BLE Eddystone-UID beacons with SSID info embedded. I need the web page to work on both Android and iOS phones. Is there a simple way to do this using Javascript?
I looked into physical web but it did not seem to provide this capability.
thanks,
Ian
The current version of the Web Bluetooth API specification allows websites, running in the Central role, to connect to remote GATT Servers over a BLE connection. What you're looking for is a way to run in the Server role to advertise your data.
In your case, I'd recommend you have a look at https://www.npmjs.com/package/#abandonware/bleno

BLE: LE Secure Connection with Xamarin

We're talking about BLE. Right now Im using the Plugin.BLE library and it's working quite fine. Now Im in the need of using the LE Secure Connection (with the "just works" method) in order to send/receive encrypted data.
I've read lots of documentation about how the protocol works, but have no idea of how actually implementing it in Xamarin and wasn't able to find anything on this.
With the Plugin.BLE one can take advantage of a very simple APIs to connect to a Device.
Is there any library that provides similar simplicity and enabling an LE Secure Connection?
If not, how can I connect in Android & iOS to a BLE device using a secure channel?
Thank you very much
The pairing is handled by the Bluetooth stack and not by the application, so you can't affect this in any way. However, from Marshmallow and onward, BLE pairing will use Secure Connections as long as the second device supports it. Not sure about iOS.

Does Google nearby message API needs Internet connection to work?

Hi I want to create an app using google nearby message api. I want it to be completely offline.
Is it possible? Does google needs internet connection for using this Nearby api?
I know it uses bluetooth and WIFI things to share the data!
I want to know whether it needs internet connection at its initial stage? since it needs to retrieve some token from the cloud.
Help me in this!
Thanks in advance!
Yes, Nearby Messages requires devices to have internet access. Discovery is accomplished via BLE (Bluetooth Low Energy), WiFi, and audio (using near-ultrasonic frequencies), but the cloud is needed for message delivery after discovery. Nearby doesn't yet provide a pure peer-to-peer solution.

Does Parse support bluetooth and other peripheral interfaces?

I understand Parse provides translation of its own api and native APIs. Do anybody know if it also supports the native APIs for peripheral access, such as bluetooth, etc? Thanks.
It does not. Parse only provide APIs to access their services (Data, CloudCode, Push, Analytics, etc) and Social Login through Facebook or Twitter.

Is it possible to access sms functionality via j2me?

Hi i am developing windows mobile application for dopod 818 pro to send / receive sms.
is it possible to access sms functionality via j2me?
You can not read SMS from Inbox directly. For reading SMS from Inbox you need APIBridge.jar. APIBridge is an extensible mechanism to access device features in WRT, Flash Lite, and Java applications.
You can use APIBridge in two ways. APIBridge can be used as it is shipped, to access features of Symbian using the plug-ins provided. However, because APIBridge is based on a plug-in architecture, you can also use it to offer new features by creating plug-ins that access functions of Symbian or your own native Symbian applications.
Please note that APIBridge.jar works for Symbian OS Based Phone Only. Not for S40 Device.

Resources