What *LocationManager *does, when we call *requestLocationUpdates* and provide a *PendingIntent*? It sends us locations back with broadcasts. So basically *LocationManager *needs only an action, that is the only thing you need to make a broadcast across the system. So I'm asking, why it need a whole *PendingIntent*? I don't know what else I may add to make my question completely clear.
вторник, 1 октября 2013 г., 23:18:00 UTC+3 пользователь Alex Belyaev написал: > > Hello guys! > > I have a quick theoretical question: why * > LocationManager.requestLocationUpdates* method needs* PendingIntent *instead > of an action? Just for having a possibility to send location updates to the > specified *UserHandle *or any other reasons? > > Thank you in advance. > -- 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.

