Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > BOOK: Professional XMPP Programming with JavaScript and jQuery
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 26th, 2012, 02:09 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
  #2 (permalink)  
Old June 26th, 2012, 02:13 PM
Wrox Author
Points: 702, Level: 10
Points: 702, Level: 10 Points: 702, Level: 10 Points: 702, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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?
  #3 (permalink)  
Old June 26th, 2012, 02:20 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Problem solved!

Thank you for your quick response.
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Begining Android App Development code yanrai BOOK: Beginning Android Application Development 4 December 11th, 2011 08:58 PM
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 02:22 AM



All times are GMT -4. The time now is 06:38 PM.


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