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 8489799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T21:55:43+00:00 2026-06-10T21:55:43+00:00

I am developing an Android app that needs to communicate with a server. By

  • 0

I am developing an Android app that needs to communicate with a server. By that, I mean either the server or the device can send a message at any time. Briefly saying I want to let the user leave the feedback to another user. Something like leaving the feedbacks for example on ebay. Sending a data from android to the server is common and I understand that I can make a http request to run a php script, query a database and send back the response via a JSON object to android device. I would like to inform another user that he received the new feedback via the notifiactions. I know that I could periodically poll the server but I’m trying to avoid this as possible. I have read about Google Cloud Messaging. I’m wondering if there is another simpler or better approach to acheive this task? Please advice. Thank you.

  • 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-06-10T21:55:45+00:00Added an answer on June 10, 2026 at 9:55 pm

    As you stated in your question, you have 2 options:

    • Poll (app polls server to see if there’s anything new)
    • Push (server tells client that there is something new)

    There is no other way how the device could get the knowledge about new stuff on the server (perhaps in a few years, using quantum entanglement would be a third option 😉

    Push is mosten times better, as network activity only happens if there actually is something on the server.

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

Sidebar

Related Questions

I'm developing an app that needs to control real time in any location on
I am developing an Android app that needs to receive specific informations for each
My android app that I am developing needs to request a page on my
I'm developing an Android app that absolutely needs to support Android 2.1+ devices, including
I am developing an android app that uses threads. Can you please tell me
I'm developing an Android app that receives the ougoing call event and extract the
I started developing an android app that have to interact with MMS attachements, in
I'm developing an Android app that uses Osmdroid to display the maps in offline
The scenario is, i'm developing an android app that uses the internet. This is
I have a 2.3.3 android app that I am developing that I would like

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.