Android application: How to detect beacon without hardcoding the UUID of a specific beacon?

  altbeacon, android, uuid

I am working on an Android application which tries to connect to nearby beacons.

Currently, this is how I am trying to detect a beacon. However, I want to detect multiple such beacons in the vicinity without specifically mentioning the UUID of it.

beaconManager.startMonitoringBeaconsInRegion(new Region("01122334-4556-6778-899a-abbccd2993a8", null, null, null));

How can I do this? I tried to look up multiple threads on stack overflow, but I couldn’t really get any specific answer for this. It would be really helpful if I can get a documentation or a link to follow on this. I am sort of stuck on this stage of my project.

Source: Android Questions