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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:33:42+00:00 2026-06-02T19:33:42+00:00

I am currently implementing a push notification feature on my project. I managed to

  • 0

I am currently implementing a push notification feature on my project. I managed to use xtify for doing this since it is a good wrapper for interacting with Google’s C2DM services.

Now, as most of you probably know : xtify uses an identifier called xid to communicate and push notification to users. So in my main activity (the first displayed when the user opens the app), I have the following code :

    XtifySDK.start(getApplicationContext(), Constants.XTIFY_APP_KEY,
        Constants.C2DM_SENDER_ID);
    String xid = XtifySDK.getXidKey(getApplicationContext());
    if (!"".equals(xid) && xid != null) {
      App.setXid(xid);
    }

now my questions are :

  • Is the xid permanently attached to the device ? or Is it possible to change/revoke it ?
  • Should I store it in the database then (with the user info) ? and check each time the user connects whether he/she already has an associated xid and if not, call

    String xid = XtifySDK.getXidKey(getApplicationContext());

to generate a new one ?
– Is there a way for the android emulator to get notifications ?

thanks in advance guys,

  • 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-02T19:33:44+00:00Added an answer on June 2, 2026 at 7:33 pm

    The XID is assigned to the device upon install. It won’t change unless the user re-installs the app or the developer changes the AppKey. You should persist the xid along with your user record (asyou would with an email address or SMS phone number). You need this XID in order to send individual messages to specific users via the API, for example:

    http://developer.xtify.com/display/APIs/Push+API+2.0

    You don’t need to necessarily check the XID everytime, but it may be a good idea to do so to handle the corner case of a user re-installing the app, but keeping your own app generated UUID or their username.

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

Sidebar

Related Questions

I'm currently implementing a .NET wrapper for a Java library by using JNI to
I am currently implementing a sort of HTTP Push using Long Polling for browsers
I'm currently working on a Google Maps project and am implementing a search function.
Im currently implementing a simple Logger for a project due my studies in C++.
I'm currently implementing a raytracer. Since raytracing is extremely computation heavy and since I
I'm implementing push notification and i'm managing it when user is using app. So
I'm currently implementing a JavaScript library that keeps track of the history of changes
I'm currently implementing a very complex tree structure to allow for near-instant data access,
We are currently implementing MOSS 2007 to replace an older portal system (Plumtree) and
I'm currently implementing a RESTful API (nothing serious, just for a blog engine i'm

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.