Read the full article: "Use iBeacons in Android with C#" on the Xamarin Blog.
Please use this thread to discuss or ask questions.
Can't wait to try this out. I really enjoyed working on the iOS post. I wonder if I can implement peer to peer communication like the iOS post?
How Apple’s iBeacon location sensing tech works
Is it possible in the Android app to publish a beacon? I am looking at having both Android and iPhone publish beacons that other apps could use. The article specifically mentions using an iOS as the Beacon advertiser but can an Android device also advertise a beacon that iOS and Android can detect?
No - at this point in time it's not possible for an Android device to be an iBeacon.
Brilliant article and is exactly the starting point I need however within our app we need to discover a range of different I beacons, do I just pass null to the UUID for new Region() in order to discover any ?
You can't see them on iOS without the UUID. On Android you can though. Radius Networks wrote a good blog post about this:
i cant wait this one... yeah
Thanks Michael, within the app I am going to be writing I will have a range of ibeacons guids with content in some json which is stored in the app, I was going to search for any ibeacon in the vicinity , test against my list of guids and if close enough display the content, However it looks as though on the iphone I am going to have to test against each one individually and see if its present. If you have any further recommendations then please let me know.
Are there any plans to release a Xamarin wrapper for the pro version of the library? : http://developer.radiusnetworks.com/ibeacon/android/pro/download.html - this makes implementing background scanning (amongst other things) easier.
I'll check with our components team.
Any updates from the components team?
I'm also interested in this
Will notifyEntryStateOnDisplay work on Android too somehow?
Thanks in advance.
Has there been any progress made on an Android or iOS device being able to transmit an iBeacon to an iBeacon receiver? If so, is there any samples in Xamarin on how to do this?
It wasn't possible for Android to act as a beacon at the time of the blog post's writing. I'm not sure if it's possible now though. << @JamesMontemagno
iOS that is built in and I have some samples here: https://github.com/jamesmontemagno/iBeaconsEverywhere
For Android, there are new APIs built into Android 5.0 Lollipop, however I have not explored them yet for peripheral mode.
@MichaelBluestein Could you extend your example with a Xamarin Forms App?
I'm not sure if anyone has abstracted beacons to work with forms directly, but the first thing that comes to mind is to put the beacon implementations in the native projects and access them through the dependency service. @JamesMontemagno might have a better approach as he's done more with forms than I have
Take a look here https://github.com/aritchie/estimotes-xplat
the problem is Estimotes-xplat does not works with all beacons but works fine only with Estimote beacons.
There is a solution for Android using @Chrisriesgo libs
I want to make an application that detects the beacons and takes its time since I detected it until it no longer detects it ... in which methods can I take the time?
You should decide if you want Monitoring or Ranging beacons...
hi everyone, I'm trying to monitoring beacons, but I don't know why Android iBeacon Service doesn't work on certain devices, like as Samsung and LG, someone can help me?
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies