I have a specific requirement where I have to fire a url on the browser from my activity. I am able to do this with the following code :
Intent browserIntent = n
I featured out how to add a header. Here is my code:
Intent browserIntent = new Intent(
Intent.ACTION_VIEW, Uri.parse(url));
Bundle bundle = new Bundle();
bundle.putString("iv-user", username);
browserIntent.putExtra(Browser.EXTRA_HEADERS, bundle);
activity.startActivity(browserIntent);
activity.finish();