title: Can't find beacon with altbeacon library
body: <p>Ì am trying to connect with beacons in my android app. But I can't seem to find my beacons. I am using Ibeacons. I am using the AltBeacon Library. The onBeaconServiceConnect starts and the didDetermineStateForRegion follows. But didEnterReion never gets called. This is my code:</p>
  
  <pre><code>public class ListScenarios extends AppCompatActivity implements BeaconConsumer, MonitorNotifier {
  
  private static final String TAG = "ListScenarios";
  
  private ListView listView;
  public String persoonID;
  public String adresID;
  
  public Array beaconArray;
  //private ArrayList&lt;IBeacon&gt; arrBeacons = new ArrayList&lt;&gt;();
  
  private BeaconManager mBeaconManager;
  
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.list_scenarios);
  
      // Setup beaconmanager
      mBeaconManager = BeaconManager.getInstanceForApplication(this.getApplicationContext());
      // Detect iBeacon
      mBeaconManager.getBeaconParsers().add(new BeaconParser()
              .setBeaconLayout("m:2-3=beac,i:4-19,i:20-21,i:22-23,p:24-24,d:25-25"));
      mBeaconManager.bind(this);
  
  
  
      //listview
      listView = (ListView) findViewById(R.id.list_scenario);
  
      //send request to load list
      getScenarios();
      getBeacons();
  
  
  
  }
  
  
  // MARK: - Bluetooth
  
  
  @Override
  public void onBeaconServiceConnect() {
      System.out.println("We are in onBeaconServiceConnect");
      // Set the two identifiers below to null to detect any beacon regardless of identifiers
      Identifier myBeaconNamespaceId = null;
      Identifier myBeaconInstanceId = null;
      Region region = new Region("my-beacon-region", myBeaconNamespaceId, myBeaconInstanceId, null);
      mBeaconManager.addMonitorNotifier(this);
      try {
          mBeaconManager.startMonitoringBeaconsInRegion(region);
      } catch (RemoteException e) {
          e.printStackTrace();
      }
  }
  
  public void didEnterRegion(Region region) {
      System.out.println("We are in didEnterRegion");
      Log.d(TAG, "I detected a beacon in the region with namespace id " + region.getId1() +
              " and instance id: " + region.getId2());
  }
  
  public void didExitRegion(Region region) {
      System.out.println("We are in didExitRegion");
  }
  
  public void didDetermineStateForRegion(int state, Region region) {
      System.out.println("We are in didDetermineStateForRegion");
  }
  
  @Override
  public void onPause() {
      super.onPause();
      mBeaconManager.unbind(this);
  }
  </code></pre>