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/ContentProvider/Files

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/commonsguy
http://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

Reply via email to