I need to implement for exam simple chat ( android and ios app ). I need advice based on your own experience what to use, RabbitMQ or ActiveMQ or something else to implement on both platforms on easy way ? Any advice is welcome.
ActiveMQ also works, you just have to include the core library in your Android project.
RabbitMQ works with Android.
See for example: http://simonwdixon.wordpress.com/2011/06/03/getting-started-with-rabbitmq-on-android-part-1/
I also recommend using Google to find more examples, and checking on the rabbitmq-discuss mailing list.
Related
I am a total newbie to Android and I'm having trouble with writing an app which connects to ActiveMQ to send message to a queue and later get it from there. What tools or libraries to use? Can it be implemented in the way like in simple java jms api? Kind like that http://activemq.apache.org/hello-world.html
I cannot find any accessible example or explanation. All available info on that is simply impossible for me to grasp.
Would be veeeery thankful for any explanation (examples will be highly appreciated ).
I am referring this link to implement push sharp in android,
https://github.com/Redth/PushSharp#monotouch-and-mono-for-android-client-application-integration
But given code is in .cs,
So please suggest how to use this library in android,share any kind of documentation regarding this.
Thanks in advance.
Well, the link you supplied suggests that this library works with MonoTouch and Mono for Android. I'm not familiar with those, but you don't have to use them for your client side (even if you use PushSharp in your server).
You can simply use the code samples in the GCM developer guide (which are all in Java).
I have an android app, and I would like to allow my users to chat with each other.
Searching google, I found a tutorial on android socket programming, but it looks quite complicated and requires me to take care of the server side too.
Is there an easier solution that doesn't require me to basically write it all myself?
I would suggest using one of the free SDK like Scringo (www.scringo.com).
It is very easy to add - basically all you need is to call
Scringo.init(this);
at the end of your Activity's onCreate() method.
No need for server side programming at all.
Here's a screenshot of Scringo in action:
i would suggest using a WebView and using a node.js / now.js chat!
It's very simple to setup!
Another viable solution is to check xmpp protocol and asmack library . I gave it a try a while ago and managed to make it work with gtalk. You can also setup an xmpp server by yourself using their openfire server.
Still better than reinvent the wheel.
I have to integrate an existing javabased Framework (whith different components which communicate via SOAP) in my Android. Every Component needs to receive and send SOAP-Messages, needs to act as a Server.
Is it true that Android OS < 2.0 does not support Server functionalities? What would be the min. Version?
Which framework can i use? I only found a few kSOAP examples for the client side, but none for servers.
Thanks for every hint, link, idea... help:)
Fabi
You best bet would be to run e.g. jetty as a server on Android but I would seriously reconsider your architecture. Why do the devices need to act as server? Are they being contacted in a pull way by another device or server?
yeah you're right... reconsidering the architecture would be best. But i can't change the existing framework which comnponents i have to use.(yes, a pull way communication is implemented)
Thanks for your help. But i just decided to use the framework by implementing a polling-service. A lot of extra work... but it will do it:)
fabi
Can someone explain to me the concept behind using bluetooth?
My project in my studies is to make an android app using bluetooth, SQLLIGHT and google app
the app itself is a very easy one but I just dont get the tools I need to use :
How does the bluetooth works? Is there a simple example?
the concept behind android GUI (I already made one but I think I am not fully understood his power)?
note : I am using v 2.1
For learning bluetooth on android I guess you should dig into: http://developer.android.com/guide/topics/wireless/bluetooth.html
Should be simple.
Before you learn to program Bluetooth with API on a given platform, you need to read up a few basics first to understand the technology first. There are plenty of resource materials on internet for learning. If you prefer a book, you can try http://www.amazon.com/Bluetooth-Operation-Use-Robert-Morrow/dp/007138779X