void RangingBeaconsInRegion(object sender, RangeEventArgs e)
        {
            if (e.Beacons.Count > 0) {
                var beacon = e.Beacons.FirstOrDefault ();

                switch ((ProximityType)beacon.Proximity) {
                case ProximityType.Immediate:
                case ProximityType.Near:
                case ProximityType.Far:
                    ShowMessage ("Here's a coupon!", true);
                    break;
                case ProximityType.Unknown:
                    ShowMessage ("Beacon proximity unknown");
                    break;
                }
            }
        }
        void HandleBeaconsInRegion(object sender, RangeEventArgs e)
        {
            if (e.Beacons.Count > 0) {
                foreach (var beacon in e.Beacons) {
                    /*if (!((JavaDictionary)myProcessedBeacons).Contains(beacon.ProximityUuid)) {
                        ((JavaDictionary)myProcessedBeacons).Add (beacon.ProximityUuid,
                            beacon.Major.ToString () + "|" + beacon.Minor.ToString ());*/
                    for (int i = 0; i < serviceNumer; i++) {
                        string testUUID = mainPrefs.GetString ("BeaconService_" + i, null).ToLower();
                        string testUserID = mainPrefs.GetString ("serviceId_" + i, null);
                        if (testUUID == beacon.ProximityUuid.Replace("-","") &&	testUserID == userID) {
                            switch ((ProximityType)beacon.Proximity) {
                            case ProximityType.Immediate:
                                ShowMessage ("ProximityType : Immediate, " +  mainPrefs.GetString ("contenuService_" + i, null) , false);
                                break;
                            case ProximityType.Near:
                                ShowMessage ("ProximityType : Near, " +  mainPrefs.GetString ("contenuService_" + i, null) , false);
                                break;
                            case ProximityType.Far:
                                    ShowMessage ("ProximityType : Far, " +  mainPrefs.GetString ("contenuService_" + i, null) , false);
                                break;
                            case ProximityType.Unknown:
                                ShowMessage ("Beacon proximity unknown");
                                break;
                            }
                        }
                    }

                    //}

                }
                /*var beacon = e.Beacons.FirstOrDefault ();*/

            }
        }