Saving File on Long Click
<p>I have an app that plays mp3's. I want to make it so when you long click/press on the button it will save the mp3 file to there ringtones directory. Also want a toast notification if possible. Could someone shoot me into the right direction? </p>

<p>Thanks</p>

<p>EDIT:
This is what I have so far</p>

<pre><code>            @Override
            public boolean onLongClick(View arg0) {

                Toast toast = Toast.makeText(AkaliMain.this, "Saved",5000);
                toast.setGravity(Gravity.CENTER, 0, 0);
                toast.show();

                return false;

            }


        });
</code></pre>

<p>EDIT 2:
This is what I have now. Cant even get it to compile.</p>

<p><a href="http://pastebin.com/raw.php?i=EijmBrSL" rel="nofollow">http://pastebin.com/raw.php?i=EijmBrSL</a></p>
