The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

Infrastructure for Instant Messaging

Hi , i read several articles about Infrastructure for Instant Messaging for android . i created an app of news and i'd like integrate an instant messaging app inside the app , but i'd like know which is the best way to do it quickly with jabber for exemple .
what do you advise me ?
thank you advance for your response

Re: Infrastructure for Instant Messaging

Brace yourself for the awesomeness that is Intents. You have probably used intents for starting activities but they can do a lot more that this. Basically, an app like Jabber will tell the operating system it is capable of doing something. Your app then requests the operating system does something like sending an email or sms. It constructs a list of all the apps that can achieve this action and lets the user choose which app to use.