This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 6 - Pages: 1 - Last Post: 5 Mar 17, 13:27 Last Post By: AndreWolff
AndreWolff

Posts: 1,289
Registered: 14-Dec-2007
What is the best touch screen input driver?
Posted: 2 Mar 17, 18:34
 
  Click to reply to this thread Reply
For the Slide Show 4 skin I use the TouchSwipe jquery plugin version 1.6.9 as touch screen input driver. This is an easy to use driver with limited possibilities.
I recently tried the latest version 1.6.18 which did show some weird effects if you push a button, so I can't use that version.

So I have the next questions:

Are there other skins who is using this driver and if so do these skins see problems with the latest version?

What is in your opinion the best touch screen input driver for skins?
Dschuwi

Posts: 296
Registered: 12-Nov-2003
Re: What is the best touch screen input driver?
Posted: 2 Mar 17, 20:22   in response to: AndreWolff in response to: AndreWolff
 
  Click to reply to this thread Reply
I am using 1.6.18 in Classic Aligned 2, I am not aware of problems.
AndreWolff

Posts: 1,289
Registered: 14-Dec-2007
Re: What is the best touch screen input driver?
Posted: 3 Mar 17, 12:18   in response to: Dschuwi in response to: Dschuwi
 
  Click to reply to this thread Reply
When I looked at your sample album with my iPad, I could not use swipes, so I made my own test album with images with image bounds of 1920x1080, see http://andrewolff.jalbum.net/ClassicAligned2/ and this thread.

Next I raised the resolution of some panorama images with user variable maxImageWidth=30000 for some panoramic images, but that gives a crash:

Stack trace for jAlbum 13.10 using skin Classic Aligned 2 3.1.4:
 
se.datadosen.util.ScriptException: bsh.EvalError: Sourced file: inline evaluation of: ``    
//  +++ Classic Aligned 2 debug info: 3.1.4 slide.htt initialize +++    //   . . . '' : 
Operator: '"-"' inappropriate for objects : at Line: 174 : in file: inline evaluation of: ``// 
+++ Classic Aligned 2 debug info: 3.1.4 methods.bsh +++  //    import java.ut . . . '' : ) / 2 ; 
 
Called from method: dlButtonPosRight : at Line: 302 : in file: inline evaluation of: ``    //  
+++ Classic Aligned 2 debug info: 3.1.4 slide.htt initialize +++    
//   . . . '' : dlButtonPosRight ( imageWidth )  in slide.htt at line number 176
	at se.datadosen.jalbum.TemplateParser.eval(TemplateParser.java:779)
	at se.datadosen.jalbum.TemplateParser.handleScriptlet(TemplateParser.java:701)
	at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:184)
	at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:151)
	at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:126)
	at se.datadosen.jalbum.AlbumBean.makeSlide(AlbumBean.java:3389)
	at se.datadosen.jalbum.AlbumBean$StandardImageProcessor.processImages(AlbumBean.java:5339)
	at se.datadosen.jalbum.AlbumBean$ImageProcessingTask.call(AlbumBean.java:5277)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Dschuwi

Posts: 296
Registered: 12-Nov-2003
Re: What is the best touch screen input driver?
Posted: 3 Mar 17, 15:40   in response to: AndreWolff in response to: AndreWolff
 
  Click to reply to this thread Reply
AndreWolff wrote:
When I looked at your sample album with my iPad, I could not use swipes

The sample albums are rather old, indeed. I should update them ...

Next I enlarged the size of some panorama images with user variable maxImageWidth=30000 for some panoramic images, but that gives a crash:

This does not surprise me. The layout depends heavily on user interface variables and calculations done in init.bsh before the actual album generation takes place. Manually feeding unexpected values in between can produce unpredictable results.

AndreWolff

Posts: 1,289
Registered: 14-Dec-2007
Re: What is the best touch screen input driver?
Posted: 3 Mar 17, 17:51   in response to: Dschuwi in response to: Dschuwi
 
  Click to reply to this thread Reply
Dschuwi wrote:
Manually feeding unexpected values in between can produce unpredictable results.
These are no 'unexpected values': the image gets the width which belongs to a height of 1080 pixels so that you can scroll through a panorama.
drmikey

Posts: 208
Registered: 22-Dec-2006
Re: What is the best touch screen input driver?
Posted: 5 Mar 17, 03:49   in response to: AndreWolff in response to: AndreWolff
 
  Click to reply to this thread Reply
These are not really "drivers" but just jQuery plugins.
I have used https://github.com/mattbryson/TouchSwipe-Jquery-Plugin
AndreWolff

Posts: 1,289
Registered: 14-Dec-2007
Re: What is the best touch screen input driver?
Posted: 5 Mar 17, 13:26   in response to: drmikey in response to: drmikey
 
  Click to reply to this thread Reply
drmikey wrote:
These are not really "drivers" but just jQuery plugins.
I have used https://github.com/mattbryson/TouchSwipe-Jquery-Plugin
OK may be I used the wrong name, but I am using the same plug-in.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums