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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T20:17:14+00:00 2026-06-06T20:17:14+00:00

I have an app that shows video all the time in fullscreen mode. So

  • 0

I have an app that shows video all the time in fullscreen mode. So I have a signle activity and SurfaceView on it. There’s no access to the screen or buttons of the device, so all I have is just a monitor showing video.

The problem is that from time to time my mobile operator sends an adverts that open up on device as alert dialog. This dialogs are shown above my activity and I need to dismiss them somehow. Or maybe somehow forbid the system to open this type of dialogs.

Is it possible on android and how to do this?

  • 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-06T20:17:16+00:00Added an answer on June 6, 2026 at 8:17 pm

    You can’t dismiss dialogs belonging to the system or 3rd party apps, but depending on your setup and needs you do have a couple other solutions:

    • programmatically turn of the mobile network connectivity (or put the phone completely into airplane mode) while the video is playing, so you don’t get any other data (sms or any other kind) from the network

    • when your activity loses focus (onPause event), bring it back to focus or relaunch it while preserving current video time

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

Sidebar

Related Questions

I have an app that, after some clicking, shows activity with news contents. I
I have an app that shows a series of UIImageView s on a ScrollView
I have an iPhone app that shows a simple view (View 1) that has
I have a little iOS5 app that shows images. I click on the image
I have an app that has a mapview, and it shows 20 pins (from
In my app, I have a temporary div that is shown each time the
I have been developing an app that supports streaming video and audio, among other
I have a simple Samsung Smart TV app that plays a series of video
We have a Wicket app with a page that includes an embedded Youtube video.
I have a simple Video model in my rails app that has_many comments. 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.