Creating a prompt with a one touch button inorder to create shortcut to android homescreen
<p>I am new to android development and do not know the specific prompt and create codes to accomplish the following. </p>

<p>I have a website ( <a href="http://www.hibbertmcgee.com" rel="nofollow">http://www.hibbertmcgee.com</a> ) that, when someone logs into from a mobile device, I would like them to be prompted to add the site shortcut to their homescreen. I have accomplished this before on apple ios using the following code.</p>

<pre><code>&lt;meta name="apple-mobile-web-app-capable" content="yes"&gt;
&lt;link rel="apple-touch-icon-precomposed" href="img/shortcut-icon.png" /&gt;
&lt;link rel="stylesheet" href="css/add2home.css"&gt;

&lt;script type="text/javascript"&gt;
var addToHomeConfig = {
    animationIn: 'bubble',
    animationOut: 'drop',
    lifespan:30000,
    expire:2,
    touchIcon:true,
    message:'Thank your for visiting our site on your &lt;strong&gt;%device&lt;/strong&gt;. 
    To add our web app, click this icon `%icon` and select "Add to Homescreen" .'
};
&lt;/script&gt;
&lt;script type="application/javascript" src="js/add2home.js"&gt;&lt;/script&gt;
</code></pre>

<p>I am able, for the most part, to detect an android device, however I do not know the scripting to bring up a prompt to allow people to bookmark the site to their home screen. I don't need you to write the code for me(unless you really want to), just point me in a general direction or toward a specific resource.</p>

<p>Thanks So Much,</p>

<p>~Andrew Glover</p>
