Discussion Forums  >  WebViews and HTML for Mobile

Replies: 5    Views: 153

dudave
Android Fan
Profile
Posts: 111
Reg: Mar 23, 2011
Israel, Netanya
1,110
01/25/13 07:09 AM (11 years ago)

HTML shows fine on PC browser but not on Android device

Hi there, i'm a few hours away from turning crazy over this: i am using an HTML file as one of my picture galleries (just until a gallery pluggin pops up on buzztouch, i'll be the first to buy it!), i checked the file on my PC browser and it works perfectly, but then when i try it inside my app 2 of the 4 pictures (2nd and 4th) don't show when you click on them, instead it takes you to the default page that pops up every time the app doesn't find the address you picked. i already tried a lot of stuff like "clean" and "refresh" on eclipse, i downloaded the project again, i restarted eclipse twice, i copy pasted the config file manualy, basically i'm out of ideas! this is the HTML file: <!DOCTYPE html> <html> <head> <title>Parrots</title> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <link href="styles.css" type="text/css" rel="stylesheet" /> <link href="../photoswipe.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="../lib/klass.min.js"></script> <script type="text/javascript" src="../code.photoswipe-3.0.5.min.js"></script> <script type="text/javascript"> (function(window, PhotoSwipe){ document.addEventListener('DOMContentLoaded', function(){ var options = {}, instance = PhotoSwipe.attach( window.document.querySelectorAll('#Gallery a'), options ); }, false); }(window, window.Code.PhotoSwipe)); </script> </head> <body> <ul id="Gallery" class="gallery"> <li><a href="images/guineapig_skin_condition.jpg"><img src="images/thumb/guineapig_skin_condition.jpg" alt="Image 001" />Scurvy</a></li> <li><a href="images/guinea_pig_pododermatitis.jpg"><img src="images/thumb/guinea_pig_pododermatitis.jpg" alt="Image 002" />Pododermatitis</a></li> <li><a href="images/guineapig_stone.jpg"><img src="images/thumb/guineapig_stone.jpg" alt="Image 003" />Large Bladder Stone</a></li> <li><a href="images/guineapig_dental.jpg"><img src="images/thumb/guineapig_dental.jpg" alt="Image 004" />Dental Overgroth</a></li> </ul> </body> </html> any help would be much apritiated! David
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
01/25/13 07:18 AM (11 years ago)
I see you're using photoswipe, have you tried this? https://www.buzztouch.com/forum/thread.php?tid=193C0FFB5D09EAA06E6E922 Haven't had any problems with it so far..
 
dudave
Android Fan
Profile
Posts: 111
Reg: Mar 23, 2011
Israel, Netanya
1,110
like
01/25/13 07:46 AM (11 years ago)
i'll probably try it if i fail to solve this issue :)
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
01/25/13 07:55 AM (11 years ago)
Hey @dudave, I am working on an Android photo gallery plugin but until I figure out how to sync a plugin with BT control panel it's a no go. I have a few plugins for Android but can't figure out the syncing with control panel which is unfortunate and no mentor as of this date. LA
 
dudave
Android Fan
Profile
Posts: 111
Reg: Mar 23, 2011
Israel, Netanya
1,110
like
01/25/13 08:12 AM (11 years ago)
i hope someone helps you figure that out, after all these plugins are what BT is all about and unfortunately the android plugin market is behind IOS.
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
01/25/13 10:04 AM (11 years ago)
@LA perhaps give @Sandeep a shout for assistance?
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.