Announcement

Collapse
No announcement yet.

swipe function?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • swipe function?

    Got a kiosk project idea which I would like to implement a feature common today amongst cellphones and Tablets. The Swipe Feature.

    Does anyone know of a way to do this?

    Basically looking for Swiping Images (Perhaps List Box with Images) up and down as well as Pages left/right.

    Cheers.

  • #2
    ofc this would likely be for touch screens. but perhaps could utilize mouseX/mouseY coordinates combined with Left click hold.
    user holds and drags left could Trigger the Swipe Left Event and vice-versa for Swiping in other directions. something like this anyway.

    Comment


    • #3
      This as been done before, on older touchscreen demos but I sure it was using a better mouse XY way detection then the one AMS supported, And what you do is take the point X or Y and check how far it's moved + or _ to accept it as a swipe, and then so on left click you save X lets say and your swipe - and your threshold was 50 so you would keep checking the mouse movement with saved X it would on left click, reason you have to use a better mouse detection is you need to detect the release the left click to councle the mosue detection.
      Plugins or Sources MokoX
      BunnyHop Here

      Comment


      • #4
        Interesting yes i did google it be kean to see what options are available and if AMS can deal with this kind of behaviour. I have considered the Metro Plugin for Page swipes. Not sure weather plug-ins like ListBoxEx would be ideal for the up/down menu selection. Appreciate your input.
        Cheers.

        Comment


        • #5
          You could use that ListBoxEx plugin if you wanted as it would mostly be a default mouse action reacting to up and down, and I think, I can't be sure as I not used it in along time but it should have the scroll options also so you could scroll with the swipe but it should scroll anyway since you are already are sending the left click to the window.

          Best idea to test is create a basic demo and yes if you still have your hands on the Metro Plugin I would say use that, it really would offer that swiping affect

          If you wanted to add more fun functions there should be a controller demo I also created a while back it enabled you to use a xinput supported controller.
          Plugins or Sources MokoX
          BunnyHop Here

          Comment


          • #6
            re: controller demo. will look into it cheers also the other idea's you have raised good stuff.

            Comment


            • #7
              Perhaps IR may consider adding these features into a future build of AMS to bring it forwards in time and perhaps bring more customers into the fold. Seems that this kind of functionality would open doors and bring in a few more prospects in the future.

              also compliments the already existing customized button functionality existing in AMS and could likely kick off plug-ins like Metro and so-forth as well. Adding more useful functionality to AMS. Opening doors for Innovative creations.

              Comment


              • #8
                curious1 could try this this one to get idea

                DragDropCard.apz

                cheers

                Comment


                • #9
                  I would by a new plan with them if they offered better support like that, or there own brower that supports all the JS and websockets and HTML 5 standards not one that relys on windows IE lol this means we could do SO much more with web UI tech for touch screen support and that would be one new object app level what opens up SO many JS API's never before used in a AMS app.
                  Plugins or Sources MokoX
                  BunnyHop Here

                  Comment


                  • #10
                    colc appreciated, I can see already without downloading. The relevance of that project.

                    kingzooly yes I believe that the reason behind explorer was back in the day ActiveX was widely supported. Not sure what API's / Support Mozilla offer in today's market but would be AWESOME if they were able to implement the use of it over IE either this and/or chrome. Then I think you're right. Alot more customers would come knocking indeed. And it would also justify the $300 ticket as well.

                    Comment


                    • #11


                      these functions would be advantagious..

                      Comment


                      • #12
                        not sure how to do this but perhaps there is a way to get this lua code to work inside AMS?



                        or something similar?

                        Comment


                        • #13
                          that looks like it would return the status of a swipe , but the tricky part I guess would be translating that to the controls on the form at runtime, for example "ListBoxes" , Page's should be easy enough to switch between however.

                          Comment


                          • #14
                            Sadly that code is not for Lua it's for Corona SDK what handles it's own listeners for functions as you see it says runtime:addlister or something like this
                            Plugins or Sources MokoX
                            BunnyHop Here

                            Comment

                            Working...
                            X