Make Android device act as an iBeacon - android

I'm looking for plugins in cordova, to make an app in ionic that acts as Beacon.
My app now can view the beacons and also connect to them but I didn't found a plugin to make my smartphone a beacon. Is that a way to crat that plugin? Maybe in cordova ? I want it for android, any suggestion? I googled but nothing. Thanks

Related

Android App code for BLE UART communication

I am working with a peripheral device that communicates with an app via BLE UART.
To test and modify the peripheral’s firmware, I want to find a starter Android app that can communicate with the peripheral. I want to be able to modify the app along the way as I modify the peripheral firmware.
I got the Nordic nRF Toolbox app working in Android Studio and running on my tablet. However, when I look through this project it is far too difficult for me to understand right now. I have worked through several tutorials that offer a far simpler solution, however not a single one of them has ever fully compiled correctly at the end – I assume they are all out of date. So it has been a difficult journey so far.
I need the app to be able to scan for devices, and allow the user to connect to one – and then be able to communicate with the BLE peripheral via UART.
Can anyone point me to (a) a starter app with code on GitHub or similar, that they have tried recently, or (b) a tutorial / walk-through, that they have successfully completed recently?
Thanks in advance for any suggestions
Garrett

Any plugin for bluetooth mesh for React-native?

I'm new to react-native
I got one requirement, using react-native, we have to develop IOT app
Which will have
Bluetooth Mesh using Bluetooth Low Energy devices
Able to add and delete a device
can some one suggest me a plugin in react-native or javascript
As a start-up, we tried to use 2 plugins for our ble tool.
We started with Ble Manager but we had some limitations / bugs we coulnd't easely fix.
Then we tried Ble PLX which is, in my opinion, harder to use and slower but we didn't had the same issues. Our app is now in production with Ble PLX, we still have bugs on our side but the plugin is doing the job.

BLE gattserver with iOS

I am developing one app which uses bluetooth low energy for communication between device and App. My device is peripheral and App is central.While developing Android app, I have added some custom ble services by creating gattserver on android app side and it is working ok. Now i want to achieve same thing with iOS.
My question is how to add gattserver in iOS app? Or iOS used some other procedure to achieve the same.
I belive iOS uses the CoreBluetooth system to achive this. Check out this example
https://developer.apple.com/library/content/samplecode/BTLE_Transfer/Introduction/Intro.html
There are like on Android two modes, Central and Peripheral. You want to be the in the Central mode here too. Then it should work similar to the Android GATT server.
Thanks Jotunacorn for your link
This link help me to solve my issue
Implement gattserver on iPhone

Beacon Notifications on iOS / Android

Ok, I am starting to develop a new app but I do need to know if it is possible before I begin. I have no experience with iBeacons, beacons or anything BLE related so please forgive my ignorance here.
Problem: I want to use my Mac Bluetooth and send a BLE notification to my iPhone and my Android phones (think of the Starbucks app and how it sends you a Beacon). Question is: Is it possible for my iOS SDK / Android SDK (is there any kind of delegate or API) that will receive my BLE notification and open a specific app based on that? In other words, my Mac would send a simple Beacon UDID and my phone should launch my app based on that. And what libraries (I use ruby, but could do PHP, Python, anything on the Mac side) that would allow me to do that on both ends?
Yes, this is possible to do, but there are some challenges:
OSX Yosemite cannot transmit as a beacon, at least not with its built-in bluetooth interface. At a minimum you need to add an external bluetooth dongle. You could then use an off the shelf-program like MacBeacon to transmit.
While there are beacon detection tools for both iOS (CoreLocation, which is built-in) and Android (Android Beacon Library, which is an open source add-on), both require a custom App to be installed on the phone to detect beacons.
You would need to make a custom app as described in (2) that would launch yet another app depending on the beacon identifier detected. This would require Objective C skills for iOS and Java skills for Android.

PhoneGap Android iOS NFC

I want to build an Cross-Platform App with PhoneGap. This App should run on Android and iPhone. The Android Version should be able to scan NFC Tags. Is it possible to do this with PhoneGap or do I have to write two native Apps, one for Android and one for iOS?
Thanks
Iphone has no NFC enabled devices yet. You can build the app with Phone GAP and will work in Android (there's a lot of blogs that explain how to do it) however not sure about if the app will launch in iphone due to it NFC required capabilities....
Today I suggest to write the app Native on Android... and wait a little to the Iphone 5.
You can write a plugin for PhoneGap to provide the NFC capability of the platform you are on. Here's one for Android.
https://github.com/chariotsolutions/phonegap-nfc/
When iphone 5 comes out with NFC you can just write the plugin for iPhone and add it to your project.
Update: iPhone 5 doesn't have NFC. However iPhone 6 does, but only supports ApplePay and SDK/API is not yet provided by apple.

Categories

Resources