tags:

views:

121

answers:

1

friends,

i want to delete file data that i have created in android application.

if my application is terminated abnomally or nomally?

any help would be appriciated.

+1  A: 

http://developer.android.com/reference/android/app/Activity.html

KevinDTimm
so implement onDestroy();
Ally
But you can't count on onDestroy being called.The better strategy is to make sure you have cleaned up data when your app next starts.
hackbod
yes you are right application does not close in android phone so i did not find any event like that but onDestory() for each activity is still there.
UMMA