AltBeacon / altbeacon-transmitter-android

A transmitter app requiring android L
67 stars 32 forks source link

Android Lollipop Issues #1

Open Repkap11 opened 9 years ago

Repkap11 commented 9 years ago

This project no longer works on Android 5.0 (at least on the Nexus 5).

This is the problem. http://stackoverflow.com/questions/26441785/does-bluetoothleadvertiser-work-on-a-nexus-5-with-android-5-0 https://code.google.com/p/android-developer-preview/issues/detail?id=1570

API 21 also changes a few things. setType(int) was replaced with setConnectable(boolean) https://developer.android.com/sdk/api_diff/preview-21/changes/android.bluetooth.le.AdvertiseSettings.Builder.html

as well as renaming a few of the android.bluetooth.le classes

Just wanted to give you a heads up.

davidgyoung commented 9 years ago

@Repkap11 you are absolutely correct. This project needs an update for the API changes from Android L to Android 5.0

Until that happens, we have released a full-featured AltBeacon transmitter app for Android 5.0 and have released open source code needed to transmit as part of the Android Beacon Library 2.0. See here for more info: http://developer.radiusnetworks.com/2014/11/18/beacon-transmission-with-android-5.html

piotrek1543 commented 7 years ago

@davidgyoung have you any plans to refresh this project (at least an API to be compatible with 5.0)?

davidgyoung commented 7 years ago

@piotrek1543 , Converting this sample app is pretty far down on my TODO list. I'd welcome a contribution if you wan to take a crack at it.