Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Mobile Development
  3. Android
  4. How can we display the pop up message in android

How can we display the pop up message in android

Scheduled Pinned Locked Moved Android
androidadobetutorialquestion
5 Posts 3 Posters 31 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pankaj788
    wrote on last edited by
    #1

    How can we display the pop up message of some activity? but that activity must have in onPause() state. OR How to display the pop up message of activity in our front screen, smiler like flash message had been displayed on our front screen. But activity must have in onPause() mode.

    L D 2 Replies Last reply
    0
    • P pankaj788

      How can we display the pop up message of some activity? but that activity must have in onPause() state. OR How to display the pop up message of activity in our front screen, smiler like flash message had been displayed on our front screen. But activity must have in onPause() mode.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Use a Toast[^].

      P 1 Reply Last reply
      0
      • L Lost User

        Use a Toast[^].

        P Offline
        P Offline
        pankaj788
        wrote on last edited by
        #3

        Any other method except Toast. Because toast doesn't have close or OK button like pop up message box. :(

        L 1 Reply Last reply
        0
        • P pankaj788

          Any other method except Toast. Because toast doesn't have close or OK button like pop up message box. :(

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          In that case use a Dialog[^]. But in future you should provide a bit more detail to your questions.

          1 Reply Last reply
          0
          • P pankaj788

            How can we display the pop up message of some activity? but that activity must have in onPause() state. OR How to display the pop up message of activity in our front screen, smiler like flash message had been displayed on our front screen. But activity must have in onPause() mode.

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            pankaj788 wrote:

            How can we display the pop up message of some activity? but that activity must have in onPause() state.

            What does implementing the onPause() method have to do with displaying a message?

            pankaj788 wrote:

            ...smiler like flash message had been displayed on our front screen.

            What is a "flash message?"

            "One man's wage rise is another man's price increase." - Harold Wilson

            "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

            "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups