Hello guys! How do i add multiple proximity alerts, i now have this code:
http://pastebin.com/7wL90CVg Can anyone of you make the code add multiple proximityalerts, and delete them here? (Line 52-68) } else { ImageView fzone = (ImageView)findViewById(R.id.fopzone_iv); fzone.setImageResource(R.drawable.disabledfopzone); TextView tv = (TextView)findViewById(R.id.uitleg); tv.setText(R.string.uitleg); try { lm.removeUpdates(locationListener); Intent intent = new Intent(PROX_ALERT_INTENT); PendingIntent proximityIntent = PendingIntent.getBroadcast(FOPZoneActivity.this, 0, intent, 0); lm.removeProximityAlert(proximityIntent); Log.d("FZONERM", "Removed stuff..."); } catch(Exception ex) { Log.e("FZONEEND", ex.getMessage()); } } i don't know how to do it :( -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en