p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional XMPP Programming with JavaScript and jQuery (http://p2p.wrox.com/forumdisplay.php?f=542)
-   -   chapter 3: problem running app on Android (http://p2p.wrox.com/showthread.php?t=87850)

alban June 26th, 2012 01:09 PM

chapter 3: problem running app on Android
 
Hi,

I'm trying to set up the application described on chapter 3 "Saying Hello".
It runs well on a web browser (application running on apache tomcat 7.0.27 and configure to connect to http://bosh.metajack.im:5280/xmpp-httpbind), and I have those following messages:
Connection established.
Sending ping to jabber.org.
Received pong from server in 990ms.
Connection terminated.


Then, I'm trying to deploy this application on an Android device (I tried on an emulator and on a Samsung Galaxy S) ICS 4.0.3.
After filling JID and password field and click to connect, I don't see any message, only the title "Hello" and a blank page.
Is there a problem with my flash librairies, or a connection problem with my device ?

Thanks

metajack June 26th, 2012 01:13 PM

Make sure you remove strophe.flxhr.js on mobile devices. You won't need the Flash workaround there.

Does that fix the issue?

alban June 26th, 2012 01:20 PM

Problem solved!

Thank you for your quick response.


All times are GMT -4. The time now is 04:11 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.