Thanks a lot Mark..Took your viewpoint and did a workaround for already created files .I copied them to new location with world readable permission .Thanks:)
On Nov 4, 2:12 pm, Mark Murphy <[email protected]> wrote: > On Fri, Nov 4, 2011 at 2:30 PM, ramya <[email protected]> wrote: > > For Content Provider ,do I have to mention the provider tag in > > manifest.I have not worked on that before.Do you know of any examples > > of how to access my internal files using content provider? > > https://github.com/commonsguy/cw-advandroid/tree/master/ContentProvid... > > That project demonstrates a small content provider, serving files from > getFilesDir(). In this sample, it serves them to a WebView, but the > same concept applies. > > > I just realised that openFileOutput works but I am trying to change > > the permission of already existing file.and It is not directly under > > files,its under files/folder/filename.ppt..Any Ideas on how I could > > change this permission under subdirectory? > > I do not recall seeing an option for changing permissions on an > existing file, sorry. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android Training in NYC:http://marakana.com/training/android/ -- 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

