paver icon indicating copy to clipboard operation
paver copied to clipboard

Ignore/disable device orientation (on android) with a config and use wipes/touch?

Open HansOtten opened this issue 8 years ago • 4 comments

On an (Android) tablet it may be inconvenient to use device orientation when the tablet is on the table. Is it possible to have a configuration parameter to use touch (on Android) and ignore the availability of device orientation?

HansOtten avatar Feb 23 '17 07:02 HansOtten

You can set the tilt parameter to false when initialising. To determine whether the user is using Android or otherwise is out of the scope of this question—there is probably no easy way to tell what OS the user is on, since the UA can be easily forged.

terrymun avatar Feb 23 '17 11:02 terrymun

Thank you for the prompt answer. When setting the tilt parameter to false at init the device orientation indeed is not used. Alas the result is that the panorama is displayed full without scrolling/panning on the tablet. No view window, no touch/wipe.

HansOtten avatar Feb 23 '17 11:02 HansOtten

Alright, I'll have a look at it soon. A bit busy lately, so don't expect a fix until a few weeks from now :)

terrymun avatar Feb 24 '17 10:02 terrymun

Thank you! That is good news!

Hans

From: Terry Mun [mailto:[email protected]] Sent: vrijdag 24 februari 2017 11:52 To: terrymun/paver [email protected] Cc: HansOtten [email protected]; Author [email protected] Subject: Re: [terrymun/paver] Ignore/disable device orientation (on android) with a config and use wipes/touch? (#18)

Alright, I'll have a look at it soon. A bit busy lately, so don't expect a fix until a few weeks from now :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/terrymun/paver/issues/18#issuecomment-282263035 , or mute the thread https://github.com/notifications/unsubscribe-auth/AYs4D9rRW-cKZlEfmSqFJ25dfu2Fk4ivks5rfrZXgaJpZM4MJn7m . https://github.com/notifications/beacon/AYs4DwQrw69ZKTcAerlB_gX60_q1LnrYks5rfrZXgaJpZM4MJn7m.gif

HansOtten avatar Feb 24 '17 11:02 HansOtten