getContext().getApplicationContext().getPackageCodePath();

Its giving the path like "data/app/com.pakage name.apk"

app-private is only for Market app?

can u please explain what exactly the app-private folder is for  or
have any docs regarding this ?



On Oct 14, 10:12 am, m_vitaly <[email protected]> wrote:
> How about app-private (secured) applications?
> Isn't it a market feature only?
>
> For your application you can set it as secure and all non-market
> installs will go to the regular app dir instead of app-private.
>
> Not sure whether a way to find out the installed dir is available to
> application by api.
>
> On Oct 14, 6:59 am, Dianne Hackborn <[email protected]> wrote:
>
> > No, there is no difference between an app installed from the market vs.
> > elsewhere.
>
> > On Tue, Oct 13, 2009 at 9:33 PM, gopu <[email protected]> wrote:
>
> > > I want to skip some framework changes to the market applications . How
> > > to find out the current application is downloaded from the market or
> > > not ?
>
> > > Is the market downloaded app  will be stored in separate directory?
>
> > > On Oct 14, 9:23 am, GPU <[email protected]> wrote:
> > > > How to check from the framework that ,the application is downloaded
> > > > from Market or not ?
>
> > --
> > 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