Image-stitching and virtual tour solutions My account Updates
It is currently Sat Oct 25, 2014 8:55 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Wed Feb 19, 2014 1:48 pm 
Offline
Member
User avatar

Joined: Wed Mar 12, 2008 11:43 pm
Posts: 75
Location: The Netherlands
The gyroscope plugin, when included in a tour, makes the panorama wiggly on Android devices. The tour does respond to movement of the Android phone or tablet, but keeps wiggling even if the device is held still on a flat surface.

Obviously the plugin does not work with Android, which would be not such a big deal if it could recognize wether it is running on iPhone/iPad and activate itself accordingly, but now, I can not include it at all. Is there a solution?

Pierre


Top
 Profile  
 
PostPosted: Fri Feb 21, 2014 10:39 am 
Offline
Administrator
User avatar

Joined: Tue Apr 09, 2013 10:59 am
Posts: 2559
Location: France
What is your Android device for information please ?

You can have a look into all the xml files generated and search for "gyro" keyword. Add devices="iphone|ipad" to force gyro only on ipad and iphone on layers and plugins tag linked to gyroscope.

_________________
Benjamin
http://www.kolor.com


Top
 Profile  
 
PostPosted: Sun Feb 23, 2014 9:35 pm 
Offline
Member
User avatar

Joined: Wed Mar 12, 2008 11:43 pm
Posts: 75
Location: The Netherlands
I have tried that. In the file index_skin.xml I changed the expression

<plugin name="gyroscope"
url="graphics/gyro.js"
keep="true"
devices="tablet|mobile"
...
To:
<plugin name="gyroscope"
url="graphics/gyro.js"
keep="true"
devices="iphone|ipad"
...

That seems to help prevent the activation of the gyroscope for my Android devices, but I did not have the chance to see if the gyroscope still works now on an iPhone or iPad. The tour in which I have tested this is located here: "http://virtualtours.nl/sluis" (which contains work in progress).

If this works, it would be something to implement in a next version of PtP. Or better still, the next version could have a new version of the gyroscope code that works for Android.

Pierre


Top
 Profile  
 
PostPosted: Sun Feb 23, 2014 9:36 pm 
Offline
Member
User avatar

Joined: Wed Mar 12, 2008 11:43 pm
Posts: 75
Location: The Netherlands
benji33 wrote:
What is your Android device for information please ?


I have a Samsung Galaxy Note 3 smartphone and a Samsung Galaxy Tab3 10.1 inch tablet.


Top
 Profile  
 
PostPosted: Mon Feb 24, 2014 6:59 pm 
Offline
Member

Joined: Mon Sep 10, 2012 11:03 pm
Posts: 31
Location: Barcelona
pgielen wrote:
I have tried that. In the file index_skin.xml I changed the expression

<plugin name="gyroscope"
url="graphics/gyro.js"
keep="true"
devices="tablet|mobile"
...
To:
<plugin name="gyroscope"
url="graphics/gyro.js"
keep="true"
devices="iphone|ipad"
...

That seems to help prevent the activation of the gyroscope for my Android devices, but I did not have the chance to see if the gyroscope still works now on an iPhone or iPad. The tour in which I have tested this is located here: "http://virtualtours.nl/sluis" (which contains work in progress).

If this works, it would be something to implement in a next version of PtP. Or better still, the next version could have a new version of the gyroscope code that works for Android.

Pierre


Hi,

Gyro works on an ipad on the link you provided.


Top
 Profile  
 
PostPosted: Fri Feb 28, 2014 12:58 am 
Offline
Member

Joined: Sat Jun 22, 2013 1:20 am
Posts: 31
Google updated Chrome Browser for Android yesterday (February 26th). We’ve updated it on our Nexus 7 and tested on one of our own tours. It appears to have cleared up the gyroscope issues.

Chrome 33.0.1750.132


Top
 Profile  
 
PostPosted: Fri Feb 28, 2014 10:48 am 
Offline
Member

Joined: Mon Sep 10, 2012 11:03 pm
Posts: 31
Location: Barcelona
Tested on a samsung s4. It works perfect.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group