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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:41:15+00:00 2026-06-04T18:41:15+00:00

In my application, user tap a button to go back to home screen by

  • 0

In my application, user tap a button to go back to home screen by sending a certain intent to startActivity()

But I want to show a Dialog(built by AlertDialogBuilder) after the user goes to home screen. I will call finish() after going to homescreen. How can I do so?

Or in more general, how can I show dialog after calling startActivity to start a activity not belonging to me(now home screen).

  • 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-04T18:41:17+00:00Added an answer on June 4, 2026 at 6:41 pm

    Please look over this

    PopUp dialog Android from background thread

    as per link

    Use the notification system — don’t use dialog boxes in place of notifications

    If your background service needs to notify a user, use the standard notification system — don’t use a dialog or toast to notify them. A dialog or toast would immediately take focus and interrupt the user, taking focus away from what they were doing: the user could be in the middle of typing text the moment the dialog appears and could accidentally act on the dialog. Users are used to dealing with notifications and can pull down the notification shade at their convenience to respond to your message.

    What are Android dialog notifications?
    A guide to create notifications is here: http://developer.android.com/guide/topics/ui/notifiers/notifications.html

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

Sidebar

Related Questions

In my application when user hits home button I save the data in NSUserDefaults
In my application user can share information with different apps using: shareIntent.putExtra(Intent.EXTRA_SUBJECT, Link from
I have a application that allows the user to tap and move a UITextField
I am developing an application where the user can tap multiple hit areas which
Steps: User starts app from Android Market application User clicks Start child stack: ActivityMain
In my application user can add there reminder for the specific day and reminder
I'm developing an application (user space) which send notifications of value changes via network.
In my application user can create post,however only the creator of the post can
In my application i am using MFMailComposer to send email. In my application user
Can you use FluentHTML or other alternatives in an web application user control? Can

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.