String function ( String arg0 , String arg1 ) { for ( String loc0 : USERNAME_IS_FULL_JID ) { if ( arg1 . equals ( loc0 ) ) { return arg0 + "srini_string" + arg1 ; } } return arg0 ; }
tries to return the correct username for the given host . some xmpp service provider like gtalk require the username to be concatenated with the host part e.g. user - > user@server.tld concode_field_sep String[] USERNAME_IS_FULL_JID concode_field_sep void savePreferences concode_elem_sep XMPPConnection tryToCreateAccount concode_elem_sep XMPPConnection makeConnectionAndSavePreferences