Hi, Thanks for your timely help. It is working fine. :) Thanks, Muthu Kumar K.
On May 7, 12:54 pm, matthias <[email protected]> wrote: > Hi, > > not sure about the app dir, but for accessing e.g. the shared_prefs > directory, you would do something > like this (in an Activity or Service): > > PackageManager pm = getPackageManager(); > ApplicationInfo appInfo = pm.getApplicationInfo(getPackageName > (), 0); > > File sharedPrefsDir = new File(appInfo.dataDir + "/ > shared_prefs"); > > FileFilter filter = new FileFilter() { > public boolean accept(File pathname) { > // in case you must filter files... > [...] > } > }; > File[] prefFiles = sharedPrefsDir.listFiles(filter); > for (File f : prefFiles) { > [...] > } > } > > HTH. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

