android-developers
[Arriba] [Todas las Listas]

Re: [android-developers] Cómo para eliminar sms charlas de Messaging In

To: android-developers@xxxxxxxxxxxxxxxx
Subject: Re: [android-developers] Cómo para eliminar sms charlas de Messaging Inbox programmatically?
From: Shruthi Varma <shruthi.tlisoft@xxxxxxxxx>
Date: Mon, 31 Oct 2011 20:18:49 +0530
Delivery-date: Mon, 31 Oct 2011 10:49:09 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:date :message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=toIAJiRU/YZWUt9MaWd9vL0TGRp+RnMce/eXZb4HzaQ=; b=Klh4VQkU0iPJGVfvqi9j8b5bcRGJFk51jv/xQjBkCPsa/vbDgfurSubgcsP+PWsjL+ khvUa/iBFOjVF0Ktdz5tICIyOpmNIg2QME8SyQ+xY9FU0IU95Pil/rUJ2/s3HDzt9GRK ebDJu9BIhdXM9/hOj7zBYQU9j5vI+1JT5ajdQ=
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <CALLdnhO53vhKVPmyBMRZ5NED2nCSQqwv4wDt7bw5QY6bCm1twg@mail.gmail.com>
List-archive: <http://groups.google.com/group/android-developers?hl=en_US>
List-help: <http://groups.google.com/support/?hl=en_US>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <http://groups.google.com/group/android-developers/post?hl=en_US>, <mailto:android-developers@googlegroups.com>
List-subscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+unsubscribe@googlegroups.com>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
References: <CANm+VVkNi63vdf5=GM1ZNrYhv_4gikC_aZMSmUDqP-7+KKUNHA@mail.gmail.com> <CALLdnhO53vhKVPmyBMRZ5NED2nCSQqwv4wDt7bw5QY6bCm1twg@mail.gmail.com>
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
*Thanks Mucho.

 *abortBroadcast() Trabajado para mí

Consideraciones,
*Shruthi.




En *Mon, *Oct 31, 2011 en 6:08 PM, Mark *Murphy <mmurphy@xxxxxxxxxxxxxxx> escribió:
> En *Mon, *Oct 31, 2011 en 8:25 AM, *Shruthi *Varma
> <shruthi.tlisoft@xxxxxxxxx> escribió:
>> Utilizando Emisión *Receiver, soy capaz de recibir *sms en mi *app, pero
>> aquellos *sms las charlas son visibles en el *Messaging *Inbox también.
>
> Aquello es porque no estás llamando *abortBroadcast().
>
>> Quiero escribir un código donde los mensajes de un número particular son
>> recibidos de mi *app y eliminado del *Messaging *Inbox
>> simultáneamente.
>
> No, necesitas llamar *abortBroadcast(), tan más bajo-prioridad *receivers no
> recibe la emisión.
>
> El hecho que tercer-clientes de SMS del partido podrían tener una prioridad más alta
> que el vuestro sugerirían que quizás utilizando SMS como vehículo para la charla
> no es un movimiento sensato.
>
> --
> Mark *Murphy (un *Commons Guy)
> *http://*commonsware.*com | *http://*github.*com/*commonsguy
> *http://*commonsware.*com/*blog | *http://*twitter.*com/*commonsguy
>
> _*Android Programación *Tutorials_ Versión 4.0 Disponible!
>
> --
> Recibiste este mensaje porque eres *subscribed al *Google
> Grupos "*Android *Developers" grupo.
> A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
> A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx
> 
> Puesto que más opciones, visita este grupo en
> *http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en

-- 
Recibiste este mensaje porque eres *subscribed al *Google
Grupos "*Android *Developers" grupo.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx

Puesto que más opciones, visita este grupo en
*http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en

Thanks a lot.

 abortBroadcast() worked for me

Regards,
Shruthi.




On Mon, Oct 31, 2011 at 6:08 PM, Mark Murphy <mmurphy@xxxxxxxxxxxxxxx> wrote:
> On Mon, Oct 31, 2011 at 8:25 AM, Shruthi Varma
> <shruthi.tlisoft@xxxxxxxxx> wrote:
>> Using Broadcast Receiver, I am able to receive sms in my app, but
>> those sms chats are visible in the Messaging Inbox too.
>
> That is because you are not calling abortBroadcast().
>
>> I want to write a code where the messages from a particular number are
>> received from my app and deleted from the Messaging Inbox
>> simultaneously.
>
> No, you need to call abortBroadcast(), so lower-priority receivers do
> not receive the broadcast.
>
> The fact that third-party SMS clients might have a higher priority
> than yours would suggest that perhaps using SMS as a vehicle for chat
> is not a wise move.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 4.0 Available!
>
> --
> 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@xxxxxxxxxxxxxxxx
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@xxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
android-developers+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

<Anterior por Tema] Tema Actual [Siguiente por Tema>