Reputation: 3615
I'm building a PhoneGap app. I started it using phonegap create my-app
, and developed much of the UI. Then, I realized I'd need some Java code, so I created a new ADT project according to these instructions and copied my HTML/CSS/JavaScript into the assets/www
folder.
The UI works now, except for one thing. I'm making requests to RoboHash to generate avatars, and that was working before I moved to ADT. Now, the entire UI works, but I get broken-image icons where my avatars were before. What do I have to change about my project to get images working?
Note: I do have android.permission.INTERNET
declared in the manifest.
Upvotes: 1
Views: 190
Reputation: 9808
I think that you might missed the following access rule in config.xml file:
<access origin="*" />
Upvotes: 1