Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-01-2012, 09:25 PM   #1
RandoManaphy
Junior Member
RandoManaphy plays well with othersRandoManaphy plays well with othersRandoManaphy plays well with othersRandoManaphy plays well with othersRandoManaphy plays well with othersRandoManaphy plays well with othersRandoManaphy plays well with othersRandoManaphy plays well with othersRandoManaphy plays well with othersRandoManaphy plays well with othersRandoManaphy plays well with others
 
Posts: 1
Karma: 2600
Join Date: May 2012
Device: Kindle Touch
Touch gestures in WAF apps

This is my first post, yay! I was bored, so I started some of the wafs in /var/local/waf/ (facebook, gmail) and noticed that nothing happened if you clicked on the text boxes, and that it would crash after a few moments. So I checked the draw config.xml and crossed referenced it with the one for facebook. And this was missing from the facebook one:

Code:
    <!-- App Configuration -->
    <kindle:gestures>
        <param name="drag" value="no"/>
        <param name="pinchzoom" value="no"/>
        <param name="tap" value="no"/>
        <param name="multi_tap" value="no"/>
    </kindle:gestures>

    <!-- request for persistent chrome-->
    <kindle:chrome>
        <kindle:asset key="useCustomSearchBar" value="true"/>
    </kindle:chrome>

    <!--
        features are used to control the JS API that will be available to a
        waf application.
    -->
    <feature name="http://kindle.amazon.com/apis" required="true">
        <param name="gestures" value="yes"/>
    </feature>
Insert this between the
Code:
<content src=... />
tag and the
Code:
</widget>
tag, and poof, you've got yourself an interactive waf!

This might seem kind of obvious, but I was bored :P
RandoManaphy is offline   Reply With Quote
Reply

Tags
gestures, kindle touch, waf

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Customizing/Adding touch gestures ali.sattari Kindle Developer's Corner 2 04-25-2012 05:33 PM
WAF Kalc for kindle touch aditya3098 Kindle Developer's Corner 8 02-29-2012 12:10 AM
How to enable multitasking gestures in iOS 4.3 rcuadro Apple Devices 7 03-18-2011 01:42 AM
Classic Possibility to implement more touch gestures? bthoven Barnes & Noble NOOK 4 03-10-2010 04:27 PM
Kindle apps...iPod touch...can I use usb to download to an iPod touch? aznativegirl Amazon Kindle 1 09-20-2009 12:21 PM


All times are GMT -4. The time now is 02:31 PM.


MobileRead.com is a privately owned, operated and funded community.