Thanks mark,

Have one more thought though,

Correct me if I am wrong--

I believe PackageManager is responsible for "installation and
Uninstallation of apps".
And in the android source code , there is PackageManagerService.java,
which has the actual code for installation and uninstallation.

I am thinking, to comment that "installPackage(---)" method , to block
the installation for now, just to test, the installation disabling
feature.

And to disable the installation based on certain conditions, I am
thinking I will establish some path from my high level java class,
which will send some parameters to PackageManagerService (donno how to
achive this), and installPackage(--) method will check this parameter,
and in will continue installation , or it will return something ,
which I will catch in high level java class and display a meaning full
message to the user.

is it possible this way?

But for that I need to understand "how the installation happens, the
sequence of steps being called".

Thanks you.




On Dec 21, 7:15 pm, Mark Murphy <[email protected]> wrote:
> On Tue, Dec 21, 2010 at 5:02 AM, Geet <[email protected]> wrote:
> > Do you mean I need to post this question somewhere else in the forum,
> > in the different category??or can u suggest me where can post this
> > question to get the right answer??
>
> I am saying that you need to modify the firmware of the device, which
> typically means you are distributing your own hardware.
>
> If that fits your business model, visit:
>
> http://source.android.com/community/index.html
>
> and choose a relevant group.
>
> If, on the other hand, you are not planning on distributing your own
> hardware or modded firmware for existing hardware, what you seek to do
> is impossible.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
> Available!

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