No, my point is that what a particular notification means is an
implementation detail of an app.  In fact it often changes across builds of
an app, since a notification is identified by its package name, and resource
ID, and when you modify your resources the ID will often change.  And the
package name is just the implementation of an app -- the platform comes with
an e-mail app with one package name, but a manufacturer may not ship that
but instead an e-mail app with another package name, and the user can
install their own e-mail app with its own package name and use that instead.

On Wed, Sep 23, 2009 at 1:24 AM, Luc <[email protected]> wrote:

>
> Hi Dianne,
>
> I've been a few days looking a way of getting if a new Email (although
> is the native or GMail app), and always I read your replies.
> After reading them again all, I still don't understand WHY the Email
> native application can't generate an Intent to advice other
> applications. Yes, there is different to receive an Email by the
> native, the GMail or K9 app, but any of them could generate an Intent
> advising that there is a new email.
>
> On 10 sep, 20:33, Dianne Hackborn <[email protected]> wrote:
> > Yes this is not information we want to leak across applications. And
>
> Well, but Android native applications has not all the Intents needed.
> Then, there is the needed of these "leak".
>
> > anything you do with it would break, because there are no guarantees that
> > the particular status bar notifications are going to be the same across
> > different devices or platform versions.
>
> Why can be so different? What we are looking is for a list of
> notifications with the information that the application "posted" on
> it. I don't see so many changes by platform or device.
> Or are you telling that the "Notification" is a class that the device
> manufacturer can modify? Because then, the "Activity" class can be
> also be changed, and no application on the market can work.
>
> In my project case, I need to know if a new email sent by someone has
> arrived, and react in that case.
> Thanks.
>
> >
>


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