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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:16:17+00:00 2026-05-22T01:16:17+00:00

Hi everyone I wish to update my camera preview whenever there is a change

  • 0

Hi everyone
I wish to update my camera preview whenever there is a change in GPSlocation and Sensor Manager values, i am currently using two services for this purpose,but i am not able to receive the updates on my preview. Is it possible to combine these services into one and then use intents and broadcastReceivers? or any alternative is present?
Please guide me on this
Thanks

  • 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-05-22T01:16:18+00:00Added an answer on May 22, 2026 at 1:16 am

    Use just one Service to keep track of GPS and Sensor data and use a ResultReceiver or Messenger and Message to pass back updates to the Handler in your Activity.

    Edit:

    Sorry, forgot to mention that you pass the ResultReceiver or Message as a parcelable extra in the Intent you use to start the Service.

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

Sidebar

Related Questions

everyone! I try to update values in .resx file with ResXResourceWriter and the value
everyone. This is a piece of code from using sqlite in android tutorial: return
I currently use svn at work. Our setup is: everyone has a working copy
everyone. I'm developing a small ASP.NET Mvc project in Mono 2.4, Ubuntu 10.10. There
everyone. I'm currently hosting my blog on my friend's server, he gave me FTP
I am using WiX to create an installer, and wish to share a folder
Everyone, I'm still a beginner at HTML5 and CSS3 I wish to have the
I wish to update the usernames for a user in the Git history, is
everyone! I have sprite moving by action, what have health bar (progress bar). When
everyone seems interested in building IPhone apps today. Do you have to have an

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.