11577

XMPP with Android [duplicate]

Question:

<blockquote>

<strong>Possible Duplicate:</strong><br /><a href="https://stackoverflow.com/questions/4769020/android-and-xmpp-currently-available-solutions" rel="nofollow">Android and XMPP: Currently available solutions</a>

</blockquote>

I've started prototyping a multiplayer Android game using HTTP + C2DM push, but now having had a chance to reflect more on the design, I think XMPP would be a much better fit for what i'm trying to build.

I was looking around and couldn't find a great deal of recent information for XMPP on Android, does anyone have any experience or recommended libraries? For what it's worth, this would be client-server over the internet, not near field communication

Thanks for any thoughts

Answer1:

I have made good experience with <a href="http://www.igniterealtime.org/projects/smack/" rel="nofollow">Smack</a> as a XMPP-library for Java. People also have used it successfully with Android.

For more alternatives, <a href="http://xmpp.org/xmpp-software/libraries/" rel="nofollow">xmpp.org</a> has an extensive list.

Recommend

  • Setting Action Bar Item Text Color?
  • How can I manually set the document id in a corpus?
  • How to resize image if the image is bigger than Textbox.But it not increase scale if smaller
  • SearchView WITHOUT ACTIONBAR [duplicate]
  • Calling a constructor through reflection in scala 2.10
  • jQuery Mobile - Dialogs without changing hash
  • Insert records if not exist SQL Server 2005
  • Many to Many in Linq using Dapper
  • Is there any way to call saveCurrentTurnWithMatchData without sending a push notification?
  • How can I prevent the need to copy strings passed to a avr-gcc C++ constructor?
  • How to merge keras sequential models with same input?
  • SQL - Select lowest values with group by and order by?
  • Angular Bootstrap Carousel Slide Transition not working correctly
  • Accessing Rows In A LINQ Result Without A Foreach Loop?
  • Cypher - matching two different possible paths and return both
  • Prevent page break in text block with iText, XMLWorker
  • Can I read an iPhone beacon with Windows.Devices.Bluetooth.Advertisement.BluetoothLEManufacturerData
  • Can I programmatically choose the Android layout folder?
  • Combining two different ActiveRecord collections into one
  • Silverlight DependencyProperty.SetCurrentValue Equivalent
  • formatting the colorbar ticklabels with SymLogNorm normalization in matplotlib
  • Installing Hadoop, Java Exception about illegal characters at index 7?
  • recyclerView does not call the onBindViewHolder when scroll in the view
  • Controls, properties, events and timers running in design time
  • Incrementing object id automatically JS constructor (static method and variable)
  • DirectX11 ClearRenderTargetViewback with transparent buffer?
  • Arrow is showed instead of the material design version hamburger icon. Why doesn't syncState in
  • Convert array of 8 bytes to signed long in C++
  • what is the difference between the asp.net mvc application and asp.net web application
  • Why is the timeout on a windows udp receive socket always 500ms longer than set by SO_RCVTIMEO?
  • Web-crawler for facebook in python
  • Google cloud sdk not working when python points python3
  • Unit Testing MVC Web Application in Visual Studio and Problem with QTAgent
  • -fvisibility=hidden not passed by compiler for Debug builds
  • How can I remove ASP.NET Designer.cs files?
  • python draw pie shapes with colour filled
  • Is there any way to bind data to data.frame by some index?
  • How can i traverse a binary tree from right to left in java?
  • Net Present Value in Excel for Grouped Recurring CF
  • How to push additional view controllers onto NavigationController but keep the TabBar?