Completed

Android Nativo - Google Maps V2 + Json

Published on the June 12, 2017 in IT & Programming

About this project

Open

Tenho um endpoint que retorna alguns dados json de usuários, no exemplo abaixo está retornando dois usuários:

{"Posicao":[{"id_usuario":"15","tipo_usuario":"C","latitude":"-3.7362268","longitude":"-38.4989538","distancia":"0"},{"id_usuario":"43","tipo_usuario":"P","latitude":"-3.736307","longitude":"-38.497532","distancia":"0.158012809357"}]}

Quero posicionar no mapa (API Google Maps v2) esses dois usuários e caso o tipo_usuario sejam diferentes mostrar os marcadores diferentes, tipo: se for "C" mostrar verde, se for "P" mostrar azul.

Utilizar JSONObject e não bibliotecas recentes tipo Volley, Retrofit, etc.


OBS.: Preciso do código fonte, favor utilizar Android Studio.

Category IT & Programming
Subcategory Web development
Is this a project or a position? Project
Required availability Full time
API Integrations Other (Other APIs)
Roles needed Developer

Delivery term: June 14, 2017

Skills needed