Im trying to create an application. I have launched the default android browser from the main activity using intent as
Intent i = new Intent();
i.setAction(Intent.ACTION_VIEW);
i.setData(Uri.parse("http://www.google.com"));
After launching the browser, I need to customise the browser functionality such that when a user long press or tap the browser window, the current url should be saved as a shortcut in the homescreen. How can I implement this.