Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Viewing all articles
Browse latest Browse all 7655

"Cannot call method "open""

$
0
0

Hello there!!

Have been struggling with this problem for a while now. I think that it has something with the eventlistener to do, but i dont have any suggestions of thoughts how i can solve that.

Becouse when i click on the eventlistener a new window could pop up, it does but it contains a error message which says. "Cannot call method "open". I have googled this problem but cant find any defects with the code which look like this: ~~~ LatestTipsLabel.addEventListener('click', function(){ "use strict"; var LatestWin, LatestInc; LatestInc = require('LatestTipsLabelWindow/Resource/app'); LatestWin = LatestInc; LatestWin.open(); }); ~~~

All help is greatful!

Thanks!


Viewing all articles
Browse latest Browse all 7655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>