Android SDK Manager, default browser not displaying images
I am loading my web pages into the default browser in the Android Emulator using Xampp and localhost (as 10.0.2.2). The pages load okay but no images are displayed.
In browser settings, under bandwidth management, ‘Load Images is ticked’. Google displays images if I do an image search.
Turning off anti virus and firewall makes no difference.
Appreciate any suggestions, thanks.
Odp: Android SDK Manager, default browser not displaying images
Do site works right on your pc browser? Did you tested on real device or/and diffrent system versions? Do your site images are on your server or somewhere else? How your images are pathed in html? Full url or starting with /?
Re: Odp: Android SDK Manager, default browser not displaying images
Thanks for the feedback Shadowriver.
The site works fine in any browser when hosted on my desktop using xampp as a localhost server. I am still developing so there is no online hosting yet. I don't have a real android device to test it but it does display the images correctly when running android 4.1 inside virtual box.
The images are on my pc and have either:
relative paths e.g. src="../pictures/picture.jpg"
or
absolute paths e.g. src"/websitefolder/pictures/picture.jpg".
All images in the Emulator just display as a '?' inside a blue box.
Cheers, I would welcome any suggestions.
Odp: Android SDK Manager, default browser not displaying images
Well it seems its system specific probelm then, did you tried diffrent systems on emulator?
Also if you running android on virtual box for speed try using x86 android system image on sdk emulator it should use virtualisation too :)
Im not sure if stack browser has it but you might try to use webkit remote debuging whick let you access browser via webkit inspector, it should show you whats wrong
Re: Odp: Android SDK Manager, default browser not displaying images
I have tried different combinations of device and android versions, still no images displayed. Also tried 2 different PC's.
You are correct x86 would be quicker. What is the difference between using an ARM or x86 image in the sdk emulator? I want to be sure the outcome correctly reflects an android device.
I don't think there is any inspector in the android browser. I will take a look.
Thanks for your help.
Re: Odp: Android SDK Manager, default browser not displaying images
Quote:
I have tried different combinations of device and android versions, still no images displayed. Also tried 2 different PC's.
You are correct x86 would be quicker. What is the difference between using an ARM or x86 image in the sdk emulator? I want to be sure the outcome correctly reflects an android device.
I don't think there is any inspector in the android browser. I will take a look.
Thanks for your help.
x86 image if you have CPU with virtualization acceleration (check if you can turn it on in BIOS usally it's off by default) will run Android in near native speed of PC, ofcorse it wont be accurate as it will be faster then real device (i think) but faster then ARM emulator.
By inspector i mean remote inspector :> you connect to phone browser with your desktop browser nad on desktop site you will have full webkit inspector, it's actully webkit feature and technicly all webkit browser can do that, but there need to be option to turn it on which not all browser implement i know Chrome for Android have it
[Only registered and activated users can see links. Click Here To Register...]
Re: Odp: Android SDK Manager, default browser not displaying images
Thanks, I will have a look at the link.
My concern with using an x86 image was more whether or not the page would look the same as a real device i.e. same layout pixel perfect.?