On Jun 22, 9:18 pm, Mark Murphy <[email protected]> wrote:

>
> It is not safe to kick off anything that might take a while in a
> BroadcastReceiver, as it may cause your process to be terminated with
> the background equivalent of an application-not-responding error. At
> minimum, you need to move this to an IntentService and out of the
> BroadcastReceiver.
>
> It is also possible that speech synthesis can only be done by an
> Activity -- I have no idea if services can do it or not.
>
> Also, please bear in mind that the intent-filter you are presumably
> using for this application uses an action string that is not part of
> the Android SDK, and so your code may break in the future.

thanks for that , but could you please illlustrate that via some
example , actually i'm quiet new to android so it wasn't very clear to
me

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