And why not?) In theory you can provide a unique action, so *LocationManager * can simply broadcast location changes. And yes, there is a possibility, that someone can listen to this broadcast too and potentially abort them. So that is the reason why I am asking.
пятница, 4 октября 2013 г., 0:28:22 UTC+3 пользователь TreKing написал: > > > On Tue, Oct 1, 2013 at 3:18 PM, Alex Belyaev > <[email protected]<javascript:> > > wrote: > >> >> I have a quick theoretical question: why * >> LocationManager.requestLocationUpdates* method needs* PendingIntent *instead >> of an action? >> > > Well, what is your reasoning for why an Action would make sense here > instead? > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

