ExampleApp/src/com/altinn/apps/fisher/ui/screen/BaseActivity.java
/**
	 * Dialog removal can be handled from this class 
	 * and will handle any error conditions.
	 * @param id
	 */
Dialog removal can be handled from this class
and will handle any error conditions.
@param id
Dialog removal can be handled from this class and will handle any error conditions . @param id
@SuppressWarnings("deprecation")
	public void hideDialog(int id) {
		try {
			if (id != -1) {
				removeDialog(id);
				activeDialogId = -1;
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
@ SuppressWarnings ( "deprecation" ) public void hideDialog ( int id ) { try { if ( id != - 1 ) { removeDialog ( id ) ; activeDialogId = - 1 ; } } catch ( Exception e ) { e . printStackTrace ( ) ; } }
Dialog removal can be handled from this class
 and will handle any error conditions.
Dialog removal can be handled from this class and will handle any error conditions .
// TODO Auto-generated catch block