[android-developers] Re: file system change notification

2009-01-07 Thread Ludwig
android.os.Environment.getExternalStorageDirectory() Ludwig 2009/1/7 pradeep > > Your suggestion works:) Thanks for your reply. > could you please let me know how I can retrieve the path to SD card? > > On Jan 7, 1:22 pm, "Dianne Hackborn" wrote: > > Er... this is not windows, you should use '

[android-developers] Re: file system change notification

2009-01-07 Thread pradeep
Your suggestion works:) Thanks for your reply. could you please let me know how I can retrieve the path to SD card? On Jan 7, 1:22 pm, "Dianne Hackborn" wrote: > Er...  this is not windows, you should use '/' as your path separator.  Also > you really should retrieve the path to the sd card inst

[android-developers] Re: file system change notification

2009-01-07 Thread Dianne Hackborn
Er... this is not windows, you should use '/' as your path separator. Also you really should retrieve the path to the sd card instead of hard-coding it. On Tue, Jan 6, 2009 at 11:16 PM, pradeep wrote: > > hi all, > > the below program which i got form net. i am able to create the file > a.txt

[android-developers] Re: file system change notification

2009-01-06 Thread pradeep
hi all, the below program which i got form net. i am able to create the file a.txt but the onEvent fuction is not being called as the Log.e (); is not getting logged. plz help me out. *start of the program*

[android-developers] Re: file system change notification

2009-01-05 Thread Dianne Hackborn
Use android.os.FileObserver. On Mon, Jan 5, 2009 at 5:19 AM, pradeep wrote: > > how to get notifications if i make any change in file system like i > add a file or delete a file. > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questio