the code that i am using right now is
File f = new File(PathToFile);
f.delete();

and when i switch off the phone and switch on again then the database is
updated and i am shown the correct list.
But i want to update the list the time the user clicks the "Delete" button.
Any help will be much appreciated

On Wed, Mar 9, 2011 at 10:52 PM, Abhishek Talwar <
r.o.b.i.n.abhis...@gmail.com> wrote:

> Can we update the database??
> Since i am deleting the songs from sdcard so i would like to show the
> updated list when delete button is clicked
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to