[android-developers] Re: I need to open my my files in /data/data/{package-name}/files using QuickOffice in Android

2011-11-14 Thread ramya
Hi, The content works if my file is placed under /data/data/package/ files.but I have a folder inside files like /data/data/package/files/ foldername and it is inside this sub folder that I want to display files,even content provider shows permission denied.:( On Nov 5, 9:57 pm, Dianne Hackborn

Re: [android-developers] Re: I need to open my my files in /data/data/{package-name}/files using QuickOffice in Android

2011-11-05 Thread Dianne Hackborn
I really, strongly, hugely recommend not making world readable files. Use a content provider. That is what they are for. On Sat, Nov 5, 2011 at 11:14 AM, ramya wrote: > Thanks a lot Mark..Took your viewpoint and did a workaround for > already created files .I copied them to new location with w

[android-developers] Re: I need to open my my files in /data/data/{package-name}/files using QuickOffice in Android

2011-11-05 Thread ramya
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 wrote: > On Fri, Nov 4, 2011 at 2:30 PM, ramya wrote: > > For Content Provider ,do I have to mention the pr

Re: [android-developers] Re: I need to open my my files in /data/data/{package-name}/files using QuickOffice in Android

2011-11-04 Thread Mark Murphy
On Fri, Nov 4, 2011 at 2:30 PM, ramya 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/maste

[android-developers] Re: I need to open my my files in /data/data/{package-name}/files using QuickOffice in Android

2011-11-04 Thread ramya
Hi Mark, 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? On Nov 4, 1:30 pm, ramya wrote: > I am

[android-developers] Re: I need to open my my files in /data/data/{package-name}/files using QuickOffice in Android

2011-11-04 Thread ramya
I am so glad that I have reply from you.I tried the openFileOutPut option.Dunno why,It still said it dint have permission.Kind of weird . 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 int