Get same status of checkbox when I restart the application in android
<p>I have a list view. I am getting check box when I check it.
But I want to get same status when I restart the application. If is there any way to do it please reply me.
I am really new to android.
my code is follows:</p>

<pre><code>protected void onListItemClick(ListView l, View v, int position, long id) {
    super.onListItemClick(l, v, position, id);


    getListView().setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
//I am getting status of check box here. If I click on file check box is appearing to me. //I want to be store always for true.

    String keyword = value[position];
    mediaPlayer.reset();        
    try
    {

        mediaPlayer.setDataSource("/sdcard/"+keyword+".mp4");

        mediaPlayer.prepare();
        mediaPlayer.start();                            

    }
    catch(Exception e)
    {
        e.printStackTrace();
    }
}
</code></pre>

<p>thanks in advance.</p>
