-2

I am developing an android application for carpoling and I am using HERE as map provider. In order to offer to user's the appropriate rides, I need to gather their position.

How can I do it ?

Thanks

  • Hi @Mohamed, if my answer has solved your question please consider accepting it by clicking the check-mark. This indicates to the wider community that you've found a solution and gives some reputation to both the answerer and yourself. There is no obligation to do this. – Remon Shehatta Apr 28 '20 at 16:35

1 Answers1

0

First of all, you will have to ask for user permission and the user must grant it first. check the location documentation.

if you are going to need to use Google APIs like Google routes. read about it here. there is a walkthrough on how to request location updates here

I hope this helps. if you still need more clarifications. tell me in the comments!

Remon Shehatta
  • 1,324
  • 1
  • 10
  • 21