Code example for SipManager

Methods: close, unregister

0
        	Log.d(LCAT, "No localprofile.");
            return; 
        } 
        try { 
            if (me != null) {
                manager.close(me.getUriString());
                manager.unregister(me, null);
                Log.d(LCAT, "Localprofile CLOSED.");
            } 
        } catch (Exception ee) {
            Log.e(LCAT, "Failed to close local profile. " + ee);
        } 
    } 
     
	@Override 
	public void onSaveClick() { 
		// TODO Auto-generated method stub 
		//UserSettingsFragment fragment = (UserSettingsFragment) getSupportFragmentManager().findFragmentById(R.id.user_settings_view); 
		EditText aux = (EditText) findViewById(R.id.edit_username);
		setUsername(aux.getText().toString());
		aux = (EditText) findViewById(R.id.edit_password);