and setting the permission for INTERNET it is working on the emulator. But when trying this code on my mobile, i'm getting a NullPointerException. Is there something I forgot? (Im using a samsung galaxy)
Hm, that should work fine, so long as you have the permission set.
I'd try opening a terminal/console window on your OS, and run 'adb logcat' while trying to run the app, to see if there's anything else around the NPE that might give you a clue as to what's happening.
I'm experiencing the same issue loading images from the web using my motorola droid, version 2.2.1 I have activated the sketch permissions: INTERNET When I 'Present' I get: 'cannot find symbol' & line 7 is highlighted.
OK, my bad, that's Zoho including the dot with the URL generation (logically) in the forum message. But the message is still the core of the issue: the image is accessible from desktop, so perhaps Android blocks the access. Here, I reach the limits of my competence, having no Android device.
Leave a comment on m.lima's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic