youten / iBeaconDetector

iBeacon Detector
https://play.google.com/store/apps/details?id=youten.redo.ble.ibeacondetector
38 stars 24 forks source link

Help!!!!! #1

Open xtrude64 opened 7 years ago

xtrude64 commented 7 years ago

I cannot get this to work and it is driving me crazy. I have tried soooo many apps and source codes. None will work. Please help. I am kind of a newb. But not totally.

Thanks

xtrude64 commented 7 years ago

I am writing an app to change screens when detecting a iBeacon. I have the rest of the app working, just can't get the iBeacon detection working. Anyone that can help I would appreciate it.

I have tried many many different source codes, none will work. Some error "BLE not supported", others crash. Don't know what to do.

Thanks

youten commented 7 years ago

Hi xtrude64

use other Android device that supported BLE (Bluetooth Low Energy).

"iBeacon" use Bluetooth Low Energy a.k.a. BLE technology. If you use Android device BLE not supported, any app doesn't work about iBeacon.

xtrude64 commented 7 years ago

I am using the emulator in Android Studio 2.3 and have used multiple device profiles that I know support BLE. Does BLE not work in emulator?

Thank you for answering.

youten commented 7 years ago

http://stackoverflow.com/questions/20348743/bluetooth-low-energy-on-android-emulator Emulator does not support Bluetoooth :(

xtrude64 commented 7 years ago

I uninstalled and reinstalled, now it works, yay!!! However, I have 3 iBeacons and only one line item shows up. But it does look like maybe they are all being seen as that first line seems to be changing, I just can't read the changes because the UID's are all the same and the number goes all the way across.

Looking for how to make it multi line. Thanks so much for helping!

xtrude64 commented 7 years ago

Everything working great, thanks again! I guess I should have known the BLE wouldn't work in emulator lol

xtrude64 commented 7 years ago

How can I pause and restart the beacon detection? There is a memory leak I presume is related to constant beacon scanning.

zaki50 commented 7 years ago

You should create another issue for different topic.

xtrude64 commented 7 years ago

OK, sorry