panorama software,virtual tour software
Alternate Text
Joined: 2010-12-17
Send Msg:
Posts: 61
2012-11-12
#1

help tw 6.5 in android

hi again I follow what leescott wrote about add a new line in index for android ( that´s what I understud; sorry for my english); here you are my index:

<html>

   <head>

   <META NAME="GENERATOR" Content="Tourweaver">

     <title>Bienvenidos</title>

   </head>

   <body>

     <script type="text/javascript">

var _url="";

var _bi=window.navigator.userAgent.toLowerCase();

if(_bi.indexOf("safari")>0)_url="mobile/index.html";

if(_bi.indexOf("iphone")>0 || _bi.indexOf("ipad")>0 || _bi.indexOf("ipod")>0) _url="html5/sample1.html";

else _url="flash/index.html";

window.location.href=_url;

     </script>

   </body>


that line is the line I add; I create new folder (mobile); I created new virtual tour in tw 6.5 for mobile; the problem is that when I insert page in my android, it goes to flash folder and not to mobile folder.

What I need is that virtualtour link to mobile folder. I resized image to 3000x1500 only for virtualtour in android system.

do you know what I should add to index for  that?. Thanks a lot




Alternate Text
Joined: 2008-11-10
Send Msg:
Posts: 315
2012-11-14
#2

Do you have a link to your tour? What happens? when you try the code..?

 

here is a nice lint to test the useragent you're using http://notnotmobile.appspot.com/

   

var _bi=window.navigator.userAgent.toLowerCase();

 

alert(_bi);     ( Add this line but not this text it will show you the userAgent it is detecting)

 

 

if(_bi.indexOf("safari")>0)_url="mobile/index.html"; 

if(_bi.indexOf("iphone")>0 || _bi.indexOf("ipad")>0 || _bi.indexOf("ipod")>0) _url="html5/sample1.html";

else _url="flash/index.html";

window.location.href=_url;

 

 

 


Lee Scott - Nikon D3/D300/D5000 - |shaved Nikkor 10.5 mm| Manfrotto 055XPROB tripod /322RC2 Grip - Mrotator TCS |CS5 | PW7 & TW6.5 Pro
----
To err is human ... to not try is just plain lazy
Alternate Text
Joined: 2010-12-17
Send Msg:
Posts: 61
2012-11-14
#3

hi ; in my smartphone android galaxy s3 , it open a windows who say:

mozilla/5.0 (linu;u;android 4.1.1;es-es; gt-i9300 build/jro03c)

applewebkit/535.30 (khtml,like gecko) version /5.0 mobile safari/534.30



the link : http://www.elpinarmanolito.com


in my pc there was a windows more or less like that ; i removed alert now

thanks a lot