Problems using estimote´s sdk

Hi there.

I’m working with the estimote’s sdk for an Android aplication but when I add the code for monitoring a beacon the app crashes.

This is the code I’m trying to use:

BeaconRegion region = new BeaconRegion(“ranged region”, UUID.fromString(“B9407F30-F5F8-466E-AFF9-25556B57FE6D:43898:45919”), 43898, 45919);

Do someone have an idea why it happens?

Thanks.

Hi @alex_lopez,

you have an invalid UUID, delete the major and minor values inside.
Try this:


BeaconRegion region = new BeaconRegion("ranged region", UUID.fromString("B9407F30-F5F8-466EAFF9-25556B57FE6D"), 43898, 45919);

If you want a valid UUID, try to use this method.