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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T21:07:34+00:00 2026-05-30T21:07:34+00:00

I am new to Android and want to use MQTT as a push notifier

  • 0

I am new to Android and want to use MQTT as a push notifier for Android from Server.
I have read about MQTT but I do not understand it very well. If anyone has used this library, please tell me what I have to do to start using it.

I have a Java Server (running on Windows) and lots of Clients (Android phones on which my app will be installed). My server will send messages to all or some specific clients at any time.

What are my basic requirements? Is there:

  1. server requirement?
  2. some sort of registration?
  3. Library to include in Android?
  4. identifier for Android device ? (as C2DM require Google account for each device)
  • 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-30T21:07:36+00:00Added an answer on May 30, 2026 at 9:07 pm

    You need:

    1. an MQTT broker which runs on the server side. This could be something like the mosquitto broker which is Open Source.
    2. an MQTT client library which you include in your Android app, enabling your app to connect, subscribe, and publish messages. There are a number of Java options listed at http://mqtt.org/software
    3. to come up with a way of uniquely identifying users or devices, and then use that as a topic so that you can individually publish a message to one device.

    Dale Lane has written a nice guide on this (http://www.dalelane.co.uk/blog/?p=1599) and there is also a good set of resources about MQTT (https://github.com/mqtt/mqtt.github.io/wiki)

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

Sidebar

Related Questions

I want to use Android pdf library http://andpdf.sourceforge.net/ , but i have same error.
I am a new android app developer and i want to use google map
I have this application from the market in an apk format, but I want
I am a new developer for android programming. I understand android SDK does not
I have created a webservice and I want to use a android phone as
I am new to android and I want to communicate with the server to
I'm new in android and I want to use achartengine to implement time chart
I have spinner which I populate from SQLite database. But I want to populate
I have a login form in Android that I want to use to send
I want to use command line facility in android to use ffmpeg library.But i

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.