I am repeating myself here. There are broadcasts sent for this stuff -- look at Intent for them. You can receive them to find out when it happens. This does NOT mean you can prevent it from happening; in fact at that point the app is already installed.
On Mon, Nov 30, 2009 at 10:50 PM, feng tian <feng.of.t...@gmail.com> wrote: > Dear, Dianne, > I tried again. This time I implemented a "hello, android" application, and > copied it to my Android phone. > As soon as I finished the installation, the anti-virus app "LookOut" > displayed the scanned info. to the status bar. > I don't think "LookOut" can register my test package broadcasts. How does > it do the trick? > > Thanks. > BR, Feng. > > > 2009/12/1 feng tian <feng.of.t...@gmail.com> > > kay thanks, I thought there will be system notifications when application: >> 1) Install >> 2) Running >> So, there is no system notifications for 1) and 2), right? >> >> BR, Feng >> >> >> 2009/12/1 Dianne Hackborn <hack...@android.com> >> >>> It doesn't sound to me like it is blocking the install, just doing >>> something as a result of it, which you can be accomplish by registering for >>> the various PACKAGE_* broadcasts. >>> >>> And scanning for viruses in .apks? I sure hope nobody is paying money >>> for that thing. :) >>> >>> On Mon, Nov 30, 2009 at 7:33 PM, feng tian <feng.of.t...@gmail.com>wrote: >>> >>>> Each time when I downloaded and installed an application on my GPhone, >>>> look out will scan the software and display the scanned result on the >>>> status >>>> bar. >>>> >>>> >>>> BR, Feng. >>>> >>>> 2009/12/1 Dianne Hackborn <hack...@android.com> >>>> >>>>> What other solution were you planning on using? The platform doesn't >>>>> provide a mechanism for third party apps to do this. >>>>> >>>>> On Mon, Nov 30, 2009 at 6:02 PM, feng tian <feng.of.t...@gmail.com>wrote: >>>>> >>>>>> Thanks for you answer. Then I can use another solution to detect the >>>>>> running of specified application "B" , and block it, right? >>>>>> BR, Feng. >>>>>> >>>>>> 2009/12/1 Dianne Hackborn <hack...@android.com> >>>>>> >>>>>> Sorry, you can't do this. >>>>>>> >>>>>>> On Mon, Nov 30, 2009 at 1:25 AM, Tian Feng >>>>>>> <feng.of.t...@gmail.com>wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> We want to develop an application blocking feature in our project. >>>>>>>> >>>>>>>> Our application (say application "A") will block the installation of >>>>>>>> specified app (say malicious application "B"). Then we need to know >>>>>>>> when the application "B" is in installing process. >>>>>>>> >>>>>>>> Is there any APIs about this, or can some one give me a hint on >>>>>>>> this? >>>>>>>> With many thanks. >>>>>>>> >>>>>>>> BR, Feng. >>>>>>>> >>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "Android Developers" group. >>>>>>>> To post to this group, send email to >>>>>>>> android-developers@googlegroups.com >>>>>>>> To unsubscribe from this group, send email to >>>>>>>> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> >>>>>>>> For more options, visit this group at >>>>>>>> http://groups.google.com/group/android-developers?hl=en >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Dianne Hackborn >>>>>>> Android framework engineer >>>>>>> hack...@android.com >>>>>>> >>>>>>> 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 >>>>>>> android-developers@googlegroups.com >>>>>>> To unsubscribe from this group, send email to >>>>>>> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> >>>>>>> For more options, visit this group at >>>>>>> http://groups.google.com/group/android-developers?hl=en >>>>>>> >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Android Developers" group. >>>>>> To post to this group, send email to >>>>>> android-developers@googlegroups.com >>>>>> To unsubscribe from this group, send email to >>>>>> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/group/android-developers?hl=en >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Dianne Hackborn >>>>> Android framework engineer >>>>> hack...@android.com >>>>> >>>>> 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 >>>>> android-developers@googlegroups.com >>>>> To unsubscribe from this group, send email to >>>>> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/android-developers?hl=en >>>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Android Developers" group. >>>> To post to this group, send email to >>>> android-developers@googlegroups.com >>>> To unsubscribe from this group, send email to >>>> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> >>>> For more options, visit this group at >>>> http://groups.google.com/group/android-developers?hl=en >>>> >>> >>> >>> >>> -- >>> Dianne Hackborn >>> Android framework engineer >>> hack...@android.com >>> >>> 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 android-developers@googlegroups.com >>> To unsubscribe from this group, send email to >>> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> >>> For more options, visit this group at >>> http://groups.google.com/group/android-developers?hl=en >>> >> >> > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer hack...@android.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en