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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:05:49+00:00 2026-06-15T08:05:49+00:00

I have an application design question My intention is to have 3 intent services

  • 0

I have an application design question

My intention is to have 3 intent services

1) A class based on GCMBaseIntentService

2) Web Registration Service – Register with a website

3) Data Refresh Service – Updates application data with latest data from a website

The GCM Service is used to register a new app installation with Google GCM if the device the app is installed on is capable of handling GCM.
Both the WebRegistration and Data Refresh Services can be instantiated totally independently at appropriate times, on Application start up or in the case of the data refresh service at various points with the app and therefore it seems appropriate to have these as separate services.

Both the Web Registration Service and the Data Refresh Service should broadcast a message when they are done

On first time load of the app The GCM service needs to both register with the web server and update the applications data

Is it acceptable for the GCM Intent Service to register a broadcast receiver, fire off the Web registration intent service and when it receives a message in the broadcast receiver that this service is finished fire off the data refresh service?

If this approach is not acceptable I’d love to hear a more appropriate solution

  • 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-15T08:05:51+00:00Added an answer on June 15, 2026 at 8:05 am

    You can call bindService from a Service exactly the same way you can call it from an Activity. You’ll notice from the javadoc that the only place you can’t call bindService is in a BroadcastReceiver. You can use a ServiceConnection as well to receive the Binder.

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

Sidebar

Related Questions

I have a design question. I'm using the HttpURLConnection class to navigate a website.
I have a requirement to design a Web Application which acts as a Facade
This is a general design question about how to make a web application that
This is a database design question. I want to build an invoice web application,
I have a question in the field of optimization and application design. I am
I have question here, i design multiview application using view base template. Page 1
This is a tough design question for a application I'm working on. I have
I have an application design question for the nhibernate gurus our there. My application
I have already asked the same question but in regards with MDI Application design.
application design/architecture question for a project that I am building. I have a main

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.