mozilla / r2d2b2g

Firefox OS Simulator is a test environment for Firefox OS. Use it to test your apps in a Firefox OS-like environment that looks and feels like a mobile phone.
https://addons.mozilla.org/en-US/firefox/addon/firefox-os-simulator/
Other
393 stars 117 forks source link

Icon images or images from other sources don't show up. #718

Open Abhishek249 opened 11 years ago

Abhishek249 commented 11 years ago

I am currently developing an app and i used some icons from Building Blocks Firefox OS and some from open sources. But neither of the images show up in the app.It simply is blank or background of the element(HTML e.g. div etc) in which they are contained

mykmelez commented 11 years ago

Hi @Abhishek249, I'm sorry to hear you're having this problem. This doesn't sound like a Simulator issue, although it's hard to say for sure. Can you provide a reference to the source code of your app? We would need that to determine whether or not it's a Simulator issue. Also, have you tried pushing the app to a real device; and, if so, do the images show up on device?

mykmelez commented 11 years ago

cc: @nickdesaulniers @digitarald

Abhishek249 commented 11 years ago

Hi @mykmelez , I didn't test the app to a real device because i don't have one.But here i provide you the source code of my app. Secondly,neither the icons from the Building Blocks or from open source icon packs show up in the app. One more problem i faced was that though i provided the code for scroll bar for div navigation, no scroll bars show up and some of the jquery functions ($(".records").show() in my code) appear to be non functional. Please look into the matter. Thank you. Source code of app https://github.com/Abhishek249/Diabetore/

ccarruitero commented 11 years ago

The problem is you are defining wrong source for images, you have to use / instead \.

I think you can't use remote scripts, at least for package apps. See CSP https://developer.mozilla.org/en-US/docs/Web/Apps/CSP