How to get the event when the user installing an application.

by Dianne Hackborn » Tue, 01 Dec 2009 03:03:48 GMT


Sponsored Links
 Sorry, you can't do this.




>



How to get the event when the user installing an application.

by feng tian » Tue, 01 Dec 2009 10:03:00 GMT


 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>


>>


Sponsored Links


How to get the event when the user installing an application.

by Dianne Hackborn » Tue, 01 Dec 2009 11:02:51 GMT


 What other solution were you planning on using?  The platform doesn't
provide a mechanism for third party apps to do this.





>>>



How to get the event when the user installing an application.

by feng tian » Tue, 01 Dec 2009 11:27:09 GMT


 We are doing research on that. But I found some anti-virus app ("LookOut")
on "Market" already implemented such feature.
BR, Feng



2009/12/1 Dianne Hackborn <hack...@android.com>



>>>>



How to get the event when the user installing an application.

by feng tian » Tue, 01 Dec 2009 11:33:48 GMT


 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>



>>>>



How to get the event when the user installing an application.

by Dianne Hackborn » Tue, 01 Dec 2009 14:00:56 GMT


 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. :)






>>>>>



How to get the event when the user installing an application.

by feng tian » Tue, 01 Dec 2009 14:39:16 GMT


 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>




>>>>>>



How to get the event when the user installing an application.

by feng tian » Tue, 01 Dec 2009 14:50:47 GMT


 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>




>>>>>>>



How to get the event when the user installing an application.

by Dianne Hackborn » Wed, 02 Dec 2009 02:03:45 GMT


  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:

>>>>>>>>



How to get the event when the user installing an application.

by feng tian » Wed, 02 Dec 2009 10:38:11 GMT


 hank you very much for you patient answer, I found the proper broadcast
intent for that event.

BR, Feng.

2009/12/2 Dianne Hackborn <hack...@android.com>

>>>>>>>>>



Other Threads

1. Edit pictures immediately after capturing it on the Camera.

Hi All,

I'm writing an app that requires me to add an image (let's called it
ImageA) to any picture captured by the Camera. The feature of this app
is that ImageA can be added immediately after a picture is taken from
the Camera.

I need help here to achieve the above. Anybody can help?

Thanks.

Alvin

-- 

2. Android Market Rank

Hi all,

I just released a free app, called "Android Market Rank" that let's
you find an app's elusive android rank.  You can see exactly what an
app's current rank is, what was the lowest (best) it's ever been, and
what the highest (worst) it's ever been.  It also has a graph that
shows how the rank has changed over time.  As a developer, this is
really useful information because the higher your rank is, the higher
your visibility to all android users.

What is android rank and how is it calculated?
No one knows how google calculates an app's rank but many have their
theories.  Your rank corresponds to what place you are in the category
list of apps.  For example, in the Arcade & Action free list, Angry
Birds is #1 (of course), Glow Hockey is #3, and Robo Defense FREE is
#9.

Please let me know if you have any comments or suggestions.

-- 

3. date picker and froyo

4. Custom Dialog with ListView

5. java.lang.OutOfMemory decoding Bitmaps

6. Web controller

7. Unable to use Fragmentation API with android compatibility package