I got the Application Settings screen to pop up by using

    Intent intent = new Intent();
    intent.setAction(Settings.ACTION_APPLICATION_SETTINGS);
    startActivity(intent);

It gives you an option whether to install the apps. Then on that
screen you had the option to manage the applications. So, how would
the application be installed? I checked the apk file is present in the
sdcard but it has permissions ----rwxr-x.
    So, in order to install the apk file, do we need to set
permissions in the AndroidManifest file so that the apk is installed
through the code.




On May 28, 11:56 am, Mark Murphy <[email protected]> wrote:
> chaitanya wrote:
> >  How exactly am i supposed to go about it?
>
> What is "it"?
>
> > When the person modifies it via the Settings application he will be
> > able to install the application. So when I try to install a 3rd party
> > app into the emulator via the command adb install <path of apk> , how
> > does it install correctly?
>
> AFAIK, that has nothing to do with the INSTALL_NON_MARKET_APPS permission.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android Consulting:http://commonsware.com/consulting

-- 
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