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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:10:16+00:00 2026-06-13T00:10:16+00:00

I am trying to create a sample app for Android which can have push

  • 0

I am trying to create a sample app for Android which can have push notification feature using urban airpush. Urban airpush provides 2 options for push notifications 1. C2DM 2. Helium

https://docs.urbanairship.com/display/DOCS/Android+Getting+Started

As Google do not allow accounts for C2DM now, I am left with helium option only.

So I start with sample helium push project provided by UA

https://docs.urbanairship.com/display/DOCS/Getting+Started%3A+Android%3A+Helium+Push

This is what my airshipconfig.properties look like

developmentAppKey = AY1v8U6WQQOJMyNAkv2VDA 
developmentAppSecret = -VwPeOUPTqiX_llY7uvPtg
#productionAppKey = Your Production App Key
#productionAppSecret = Your Production Secret

#transport is "c2dm", "helium" or "hybrid".
#note: the helium and hybrid transports are premium features.
#for complete pricing information, see http://urbanairship.com/pricing/

transport = helium

c2dmSender = myemailid@gmail.com
inProduction = false

iapEnabled = false

# 2 = Log.VERBOSE; 3 = Log.DEBUG; 4 = Log.INFO;
# 5 = Log.WARN; 6 = Log.ERROR; 7 = Log.ASSERT;
developmentLogLevel = 3
productionLogLevel = 6

And added these 2 lines in MainActivity OnCreate

PushPreferences prefs = PushManager.shared().getPreferences();
Logger.info("My Application onCreate - App ID " + prefs.getPushId());

But nothing seems to work according to the tutorial

  1. prefs.getPushId() is returning null, so I cannot test APID specific alerts
  2. UA allows me to send the broadcast alert but it is not being received by the app
  3. Does use of helium need GCM or C2DM registration
  4. Can I use helium with free account, the site says pro feature are available for first 45 days.

It seems I am missing a lot of things here and the documentation is not complete. If anyone has used UA with helium, please suggest how to create a sample app

  • 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-13T00:10:18+00:00Added an answer on June 13, 2026 at 12:10 am

    I was missing one major step, that is we need to register separately to use helium with free account https://go.urbanairship.com/apps/free-trial/

    1. prefs.getPushId() is returning null, so I cannot test APID specific alerts

      A. It started working fine after the registration

    2. UA allows me to send the broadcast alert but it is not being received by the app

      A. A broadcast is sent only to registered devices

    3. Does use of helium need GCM or C2DM registration

      A. No

    4. Can I use helium with free account, the site says pro feature are available for first 45 days.

      A. Yes, need to fill the form https://go.urbanairship.com/apps/free-trial/

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

Sidebar

Related Questions

I am trying to create a simple 3-D app for android that will have
I am new to Android Development and trying to create a sample application. Can
i am trying to create a simple android app using eclipse and android sdk
I'm trying to create a simple Android app which saves a text from an
I'm trying to create a simple app for android with progress bar . Everything
So I was trying to follow http://developer.android.com/guide/topics/media/camera.html to create a simple app that captures
Im trying to create a simple pan and zoom app using silverlight 4, but
I've been trying very very hard to create a simple simple iOS app which
I'm trying to create an application that can use the android as a fax
I'm trying to create a ProgressDialog for an Android-App (just a simple one showing

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.