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

  • Home
  • SEARCH
  • 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 8522511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:08:26+00:00 2026-06-11T07:08:26+00:00

I want users to be able to enter data from a web server and/or

  • 0

I want users to be able to enter data from a web server and/or native PC app and transfer it to their chosen Android device in much the same way that Google Play’s install on device works.

I’d like to use the user’s Google account authentication to establish a link between the application server and the user’s Android device that registered with GCM.

I couldn’t find any mention of how to handle this kind of authentication in the Google Cloud messaging API documentation, but did find this unanswered question in the GCM forums.

I’d like to authenticate users from a web application via the his or her Google account. Similarly, the Android application would somehow obtain a handle on the same Google Account, which would be sent to the web application server once at same time as initial GCM registration.

Then when the user uses the web application, the server provides a list of devices the user has already registered to the server, so that the user can be prompted about which Android device he or she would like to send data to.

How can I accomplish this on the web server as well as on the device?

What information can I use after authenticating with the Google account to establish a link between the two logins?

  • 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-11T07:08:28+00:00Added an answer on June 11, 2026 at 7:08 am

    You should use the user_id that is returned from the Google account server after registration to uniquely identify each user. Email addresses shouldn’t be used for a number of reasons:

    • Accessing email addresses may require additional permissions from the user and dissuade users from using your service/app because of trust issues.
    • Adds liability for securing database of users’ email addresses
    • Users may change their email addresses in Google accounts but cannot change their user IDs.
    • Users can associate one email address with more than one user ID, so it is not necessarily unique.

    The following sequence diagram shows the initial registration from client Android app:

    initial registration from client Android app

    The next diagram shows what happens when a client wants to access his device from a browser:

    client wants to access his device from a browser

    Note that although not shown, the client Android app can now communicate back to the client browser if needed via the application server.

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

Sidebar

Related Questions

Alright, so I want the user to be able to enter every character from
In my app I want users to be able to associate a file(s) they
In my Rails app I want users to be able to input video links
I have an app where we want users to be able to send us
I want to build a form where users can enter some data in a
I want my users to be able to specify their locations so that I
My app opens a TCP socket and waits for data from other users on
I'm writing a data collection app for the iPhone, and want to be able
I want the user to be able to enter a name for a file
I want users to be able to upload files via FTP to my site

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.