How to take backup for installed packages?
<p>I'm trying to develop an application for taking backup for my device. How can I write this?  Till now, I've got all the installed packages list and I'm placing 3 buttons for taking the backup(Backup, CheckAll, Cancel).</p>

<p>If I'm going to take backup button it contains one alertdialog it shows 3 options (now, later, cancel). How to take backup the installed packages to one new list and it'll shows by date and time. How can I do this?  Any idea?  </p>
