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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:33:42+00:00 2026-06-12T11:33:42+00:00

I am writing an android app that will send an SMS to a GSM

  • 0

I am writing an android app that will send an SMS to a GSM module which will do something (what exactly is irrelevant).

This app will do stuff like choose whether some devices are going to be on or off.

The problem is that I want to make a button which will send an SMS with a question to a particular device. Then I want a notification to pop up (“Waiting for the device response”).

I want to keep this notification on the screen until I get an SMS reply.

How do I make the toast linger until the reply comes?

  • 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-12T11:33:43+00:00Added an answer on June 12, 2026 at 11:33 am

    How do I make the toast linger until the reply comes?

    You don’t. Since the user cannot get rid of a Toast, they have a limited lifetime, so the user will not get irritated with people cluttering up the screen for an indefinite period of time.

    Since you apparently have an activity (“I want to make a button”), you can display your message in your activity’s UI, or pop up a dialog.

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

Sidebar

Related Questions

I am writing a simple Android app and have a database that will send
I'm writing an Android app which will be making use of the cloud-2-device messaging
I am writing an Android app that will communicate with the PC. I tried
I'm writing an Android app for a client of mine that will display his
I am writing an app for Android that will measure speed as the Android
I am writing a android app that will pull in a list of all
I'm writing an android app that will connect to a REST/JSON webservice. Users will
This might be a really rookie question, but I'm writing an Android app that
I am writing an Android app that has a Button which calls SelfDestruct() .
I'm writing an Android app which does exactly the same as our iPad app

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.