Last question-- so by downloading and storing a file in a subdirectory
under /data would copy-protect the file in the same way an APK is copy-
protected if it is installed with the PackageManager with FORWARD_LOCK
enabled?

thanks much for your help.

B

On Sep 8, 9:58 am, Dianne Hackborn <[email protected]> wrote:
> It's everything under data (that you haven't explicitly made world
> accessible).  That is, use the Context API to either directly open a file,
> or get a path to a directory where you can use the standard Java APIs to
> read and write files, and just put your data there.  If you don't use the
> flag to make the files world readable, they won't be.
>
>
>
> On Tue, Sep 8, 2009 at 9:47 AM, BrianS <[email protected]> wrote:
>
> > So would the the private directory you refer to be called data/data/
> > com.myapp/private/ ?
>
> > thanks much
>
> > B
>
> > On Sep 7, 6:30 pm, Dianne Hackborn <[email protected]> wrote:
> > > Putting it in your normal private directory is exactly the same as
> > forward
> > > locking -- only your uid (and root) has permission to read it.
>
> > > On Sun, Sep 6, 2009 at 8:48 AM, BrianS <[email protected]> wrote:
>
> > > > Is there a way to forward lock a specific film that my code downloads
> > > > to the android (like a wallpaper or ringtone)? I know you can forward
> > > > lock a package, but its resources still remain public, wondering if
> > > > its possible to just forward-lock a file.
>
> > > > Thanks much
>
> > > > (Apologies if this is a duplicate post, not sure if it made it through
> > > > the first time)
>
> > > --
> > > Dianne Hackborn
> > > Android framework engineer
> > > [email protected]
>
> > > Note: please don't send private questions to me, as I don't have time to
> > > provide private support, and so won't reply to such e-mails.  All such
> > > questions should be posted on public forums, where I and others can see
> > and
> > > answer them.
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
--~--~---------~--~----~------------~-------~--~----~
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