✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
    • Showing results for:
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity
    • Close
  • TOL REC
    PLUS
    TOL REC
    Courses Plus Student 11,877 Points

    Task 4 problem

    Posted on Jul 22, 2020 by TOL REC
    TOL REC
    Courses Plus Student 11,877 Points
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity

    0 Answers

  • Kevin Haube
    Kevin Haube
    12,265 Points

    Not Recognizing Inner Class

    Posted on Sep 23, 2019 by Kevin Haube
    Kevin Haube
    12,265 Points
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity

    0 Answers

  • Joe Rimuka
    Joe Rimuka
    5,823 Points

    Threads and Services

    Posted on Sep 17, 2019 by Joe Rimuka
    Joe Rimuka
    5,823 Points
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity

    1 Answer

  • sai maddukuri
    sai maddukuri
    9,108 Points

    i cant understand the question please tell me the answer for this question please help

    Posted on Apr 28, 2019 by sai maddukuri
    sai maddukuri
    9,108 Points
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity

    0 Answers

  • Glen Chiridza
    Glen Chiridza
    8,441 Points

    Handle the Message in GeolocationService, and use the 'replyTo' property to send a new Message back to MainActivity with

    Posted on Mar 27, 2019 by Glen Chiridza
    Glen Chiridza
    8,441 Points
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity

    0 Answers

  • Glen Chiridza
    Glen Chiridza
    8,441 Points

    Send a Message to GeolocationService from MainActivity. Include MainActivity's Messenger in the Message as the 'replyTo'

    Posted on Mar 27, 2019 by Glen Chiridza
    Glen Chiridza
    8,441 Points
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity

    0 Answers

  • Gracious Chinyama
    Gracious Chinyama
    3,292 Points

    Create an inner Handler class for MainActivity, and create a new Messenger field using this class.

    Posted on Sep 27, 2018 by Gracious Chinyama
    Gracious Chinyama
    3,292 Points
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity

    1 Answer

  • Patrick Coyne
    Patrick Coyne
    5,026 Points

    ReplyTo from Service to activity

    Posted on Nov 7, 2017 by Patrick Coyne
    Patrick Coyne
    5,026 Points
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity

    1 Answer

  • Navrozbek Akhmedov
    Navrozbek Akhmedov
    1,106 Points

    How to call setCoordinates(int lat, int long) from within MainActivity?

    Posted on May 28, 2017 by Navrozbek Akhmedov
    Navrozbek Akhmedov
    1,106 Points
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity

    0 Answers

  • princess mudyahoto
    princess mudyahoto
    18,502 Points

    THREADS AND SERVICES

    Posted on Apr 21, 2017 by princess mudyahoto
    princess mudyahoto
    18,502 Points
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity

    0 Answers

  • sean tatenda jack
    sean tatenda jack
    6,127 Points

    The goal is to call 'setCoordinates(int lat, int long)' inside MainActivity using the coordinates provided by Geolocati

    Posted on Apr 21, 2017 by sean tatenda jack
    sean tatenda jack
    6,127 Points
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity

    0 Answers

  • princess mudyahoto
    princess mudyahoto
    18,502 Points

    threads and services

    Posted on Apr 12, 2017 by princess mudyahoto
    princess mudyahoto
    18,502 Points
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity

    1 Answer

  • kunalshitut
    kunalshitut
    5,872 Points

    Inner class created yet error

    Posted on Jun 19, 2016 by kunalshitut
    kunalshitut
    5,872 Points
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity

    1 Answer

  • lubossytensky
    lubossytensky
    3,160 Points

    I am really sorry but i don't know how to reply mesage in 4 step

    Posted on May 2, 2016 by lubossytensky
    lubossytensky
    3,160 Points
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity

    0 Answers

  • Trainer Workout
    Trainer Workout
    22,341 Points

    How to create an inner Handler class just like we did with GeolocationService.

    Posted on Apr 9, 2016 by Trainer Workout
    Trainer Workout
    22,341 Points
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity

    3 Answers

  • Hay Abadi
    Hay Abadi
    2,625 Points

    sending Messages from service to Activity

    Posted on Mar 30, 2016 by Hay Abadi
    Hay Abadi
    2,625 Points
    • Android
    • Threads and Services
    • But Wait There's More!
    • Messengers and Handlers: Activity

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.