aspose file tools*
The moose likes Android and the fly likes How to develop the app like this Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "How to develop the app like this" Watch "How to develop the app like this" New topic
Author

How to develop the app like this

Apt Gopal
Greenhorn

Joined: Dec 07, 2010
Posts: 25
Hi All

I want to create the facebook chat application like the following one
But I don't know how to do that because I am new to android development please any one help me how to do that


[Thumbnail for facebookchat.png]

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42622
    
  65
You realize that this involves a chat server that all clients would access, yes?


Ping & DNS - my free Android networking tools app
Apt Gopal
Greenhorn

Joined: Dec 07, 2010
Posts: 25
The user list will be get from facebook friends list i want to load the list from facebook friends
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42622
    
  65
OK; but you still need a chat server. Or where you planning on using Facebook chat? I don't know if there's a library that you can use to embed it into your own apps; I rather doubt that.
Apt Gopal
Greenhorn

Joined: Dec 07, 2010
Posts: 25
We can use the facebook login screen , after login i want to load my online friends to my custom list.
In that list I click a particular user means the chat window will be open
That is my requirement
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42622
    
  65
You seem to be completely focused on the client side. But chat doesn't happen between two phones - there's a server sitting in between. Have you had any thoughts on that?
Apt Gopal
Greenhorn

Joined: Dec 07, 2010
Posts: 25
We are using the facebook server and we are getting the user list from facebook only
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42622
    
  65
This is the 3rd time you mention the user list, but that is trivial, probably no more than 10 lines of code. But you haven't given any sign that you understand how chat works - do you know what the function of the server is? Since you state that you'll be using Facebook's server - do you have any indication that a 3rd party app like yours has a means of accessing their chat server?
Apt Gopal
Greenhorn

Joined: Dec 07, 2010
Posts: 25
we are login throw facebook login screen after that i want to load my online friends list for chat
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42622
    
  65
Facebook has a developer site that explains all the ways in which you can access their site programmatically.
Roldan Baldo
Ranch Hand

Joined: Aug 11, 2009
Posts: 99
That could explain your problem, contact the facebook's developer, but you can still get the users list that you mean, you will have to examine the backend of the page in the client side, how the data works in there.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to develop the app like this