Stop ranging and start again

Hi,

I have 2 activities, activity A & activity B. I start ranging in activity A and then, when I find a beacon I stop ranging and start activity B. In activity B, I start ranging again but If I hit back button on my phone and go back to activity A, the ranging doesn’t start again. How I can accomplish this?

In order to start reliably ranging for beacons in any activity, start for it in onResume command.

1 Like