Wrox Programmer Forums
|
BOOK: Professional XMPP Programming with JavaScript and jQuery
This is the forum to discuss the Wrox book Professional XMPP Programming with JavaScript and jQuery by Jack Moffitt; ISBN: 978-0-470-54071-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional XMPP Programming with JavaScript and jQuery section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 26th, 2012, 01:09 PM
Registered User
 
Join Date: Jun 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
 
Old June 26th, 2012, 01:13 PM
Wrox Author
 
Join Date: Jan 2010
Posts: 178
Thanks: 0
Thanked 16 Times in 15 Posts
Default

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

Does that fix the issue?
 
Old June 26th, 2012, 01:20 PM
Registered User
 
Join Date: Jun 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Problem solved!

Thank you for your quick response.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Begining Android App Development code yanrai BOOK: Beginning Android Application Development 5 January 11th, 2018 08:35 AM
Chapter 5 - Using menus with Views - Problem with the Menu button on Android Emulator Frankie3142 BOOK: Beginning Android Application Development 0 January 4th, 2012 04:59 AM
Problem running app with ASP.NET akhilvira ASP.NET 1.0 and 1.1 Basics 1 January 14th, 2005 09:53 AM
Problem running web App rwalker ASP.NET 1.0 and 1.1 Basics 1 February 27th, 2004 01:29 PM
The Security problem in running ThePhile web APP crystallac BOOK: ASP.NET Website Programming Problem-Design-Solution 3 July 28th, 2003 01:22 AM





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