Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6202053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:39:54+00:00 2026-05-24T04:39:54+00:00

I need to include chat, in my application. People sign in the chat and

  • 0

I need to include chat, in my application. People sign in the chat and create their user and chat to other users. However it needs to be like facebook chat or pingchat where you add friends you want to talk to.

Can anyone give me pointers to what i need to do? I’ve heard about xmpp servers but not sure if that is the right thing for my app. Any help would be much appreciated

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T04:39:55+00:00Added an answer on May 24, 2026 at 4:39 am

    Is your app going to create new users, and add them in the chat list, or going to use existing users (like Gtalk, Y! Messenger etc) on existing protocols (like IRC, XMPP etc)…?

    If you are going to implement your own chat system, where your users are registering in your website, then you are going to do these things:

    1. Setup your website
    2. Create a protocol (that’s, how you pass messages)
    3. Write and implement an API (in PHP, ASP etc)
    4. Connect that API with your iPhone app.

    How it works?

    You keep a table of chat messages. The table include:

    1. Chat_From
    2. Chat_To
    3. Chat_Message
    4. Timestamp

    All what you do is, when you start a Chat session from Alice to Bob, you just enter them in the table. Next, you fetch the row from the Web Server to your App, by calling your PHP file (say, http://mychatserver.com/getChat.php) based on the condition SELECT CHAT_MESSAGE FROM CHAT_TABLE WHERE CHAT_FROM="ALICE" AND CHAT_TO="BOB";. This message is displayed in your App.

    This process should be performed repeatedly, with an interval of, say 1 sec.

    I hope you got this idea.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to include a dashboard in a JavaScript application I am building. The
I developed a Java desktop application in eclipse IDE.I need to include web view
I need to include information about the user that executed Jenkins job inside JAR
I need to include about 1 MByte of data in a Java application, for
I need to include a single quote in an item transformation, like so: <DatabaseFileNames>@(DatabaseFiles->'%(PhysicalName)',
I need to include one PHP file into another. The PHP file that needs
I need to include the following square root sign in my android as a
In my chat application, I need to show chat sent/received time below the messages.
I need to include a html file inside a php file, I tried using
I need to include some kind of notifications in a sidebar gadget, preferably systray

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.