Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

loadJSONArray immediately failing on Android build

$
0
0

Hi all! I am working on a little project which makes a request for a JSON array from an external server based on a lat/long pairing. The app compiles ok without errors, and runs ok on the device, but when I tap to make the request it immediately crashes.

I made a change to push the lat/long to the screen and that is functioning ok, and I am casting the lat/long to strings to construct the URL ok, but I am now just a bit stuck why it should just fall over when just trying to push the loadJSONArray request to a JSONArray var.

Any thoughts?


Viewing all articles
Browse latest Browse all 941

Trending Articles