Computer Science, asked by harshaksachdeva4178, 11 months ago

How to find a json array of array index inandroid?

Answers

Answered by Anonymous
5

Answer:

This would be correct if you were parsing only the line you provided above. Note that to access types from GoogleMaps geocode you should get an array of results, than address_components, then you can access object components.getJSONObject(index).

This is a simple implementation that parses only formatted_address - what I needed in my project.

Similar questions