Code example for IntentFilter

Methods: setPriority

0
		super.onDestroy(); 
	} 
	 
	private void installJunctionHandler(Intent intent) {
		IntentFilter filter = intent.getParcelableExtra("intentFilter");
		filter.setPriority(100);
		 
		String activity = intent.getStringExtra("activityID");
		URI uri;
		try { 
			uri = new URI(intent.getStringExtra("activityURI"));
		} catch (Exception e) {
			Log.e("junction","could not get URI to install remote intent handler",e);
			return; 
		} 
		 
		Log.d("junction","installing junction remote intent handler for " + activity);
		final JunctionIntentHandler handler = new JunctionIntentHandler(uri);
		BroadcastReceiver receiver = new BroadcastReceiver() {
			 
			@Override