03-12-2012 01:25 AM
Hello Experts,
blackberry.app.event.onSwipeDown is not working when my application is having <iframe > element. Please help me to get rid of this problem.
Regards,
Sandesh.
03-12-2012 08:26 AM
did u added feature element in your configuration file <feature id="blackberry.app.event" />
03-12-2012 10:09 AM
Yes, definitely confirm what SumiGosh has suggeste. Make sure you have this API whitelisted properly in config.xml:
<feature id="blackberry.app.event" required="true" version="1.0.0.0"/>
Otherwise, also confirm you have properly listed the URL + feature for the iFrame being used.
For example, if your iFrame is loading http://www.myURL.com and you want to be able to respond to the onSwipeDown event from within the iFrame, you need to make sure you have the following in your config.xml file:
<access subdomains="true" uri="http://www.myURL.com"> <feature id="blackberry.app.event" required="true" version="1.0.0.0"/> </access>
03-12-2012 09:12 PM
03-13-2012 05:46 AM
03-13-2012 05:53 AM
03-13-2012 06:08 AM
Did you try adding your iframe to the features list as was suggested, and seeing if the event is getting called in the iframe, instead of the main?
03-13-2012 06:11 AM
03-13-2012 06:21 AM
03-13-2012 06:24 AM