Code example for Bundle

Methods: putString

0
	 
	private void webAuth() { 
 
		AQUtility.debug("web auth"); 
		 
		Bundle parameters = new Bundle();
		parameters.putString("client_id", appId);
		parameters.putString("type", "user_agent");
		if(permissions != null){
			parameters.putString("scope", permissions);
		} 
		 
		parameters.putString("redirect_uri", REDIRECT_URI);
		String url = OAUTH_ENDPOINT + "?" + encodeUrl(parameters);
		 
		FbWebViewClient client = new FbWebViewClient();
		 
		dialog = new WebDialog(act, url, client);	
		dialog.setLoadingMessage(message);
		dialog.setOnCancelListener(client);
Stop searching for code, let great code find you!  Add Codota to your java IDE