fullscreen

Disable power button… or… Resume full screen in Android toddler app

℡╲_俬逩灬. 提交于 2019-12-04 14:14:10
I'm creating an Android app for toddlers. So, I need to lock as many buttons as possible to prevent the toddler from accessing other features of the Android device. Basically, I'm looking to reproduce the locking mechanism in popular toddler apps like "Toddler Lock". I have logic that requires the user to tap the four corners of the screen in a clockwise motion to exit the app. To show the app in full-screen I have the following in my manifest android:theme="@android:style/Theme.NoTitleBar.Fullscreen" To show the app in landscape mode only, I have the following in my activity's onCreate event

Detecting full-screen Direct3D applications

瘦欲@ 提交于 2019-12-04 13:26:29
问题 Is there any way to detect - through the Direct3D API - Direct3D applications running in full-screen mode? SHQueryUserNotificationState, which can indicate such applications, is only supported on Vista and up. It also only works when the Explorer shell is running. 回答1: I found how to detect full-screen Direct3D and OpenGL (for example Minecraft) applications. Call IDirectDraw7::TestCooperativeLevel(). This function returns DDERR_EXCLUSIVEMODEALREADYSET if active full-screen Direct3D

Strange overlapping bug between navigation and status bars when rotating fullscreen videos in iPad

我们两清 提交于 2019-12-04 11:52:11
I'm implementing a video player inside my application and strange things happen when rotating the iPad when the video player is working in full screen. My test case is kind of easy: 1.- I set orientation to Vertical 2.- I start video playing (non full screen) 3.- I set full screen 4.- I rotate the iPad while in fullscreen and set it to horizontal 5.- I go back to "non full screen" 6.- Navigation and status bar become overlapped overlapped in a very silly way. Look: 7.- Then I rotate the iPad to Vertical again Status and Navigation Bars don't overlap anymore. Look again: 8.- Then I rotate back

How do I make a DIV visible on top of an HTML5 fullscreen video?

那年仲夏 提交于 2019-12-04 11:37:57
问题 My ultimate goal right now is to have a link appear on top of video when the video has reached the end. Using the JW Players functionality I have determined how to have the link appear when the video is complete but only in standard view. If the user views the video in fullscreen the link does not appear. I have done extensive reading and understand that when it is in fullscreen mode the video is in flash and I cannot override the flash functions without integrating the link into the swf file

Fullscreen the Exoplayer

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 11:02:48
问题 I try to show the show video (.mp4) with exoplayer in RecyclerView and ViewPager . I show the video controller with custom layout. so far so good. Now try to fullscreen the video like other video player how use before but can't find a good way in the exoplayer doc. can anyone help me? 回答1: The ExoPlayer library currently does not provide a built-in way to enable/disable fullscreen mode. You need to implement this yourself or find some third party code for this I'm afraid. Essentially two

Full screen video issue when using animate.css in Chrome

和自甴很熟 提交于 2019-12-04 10:48:30
I have a page that has a video using the video tag. Also, my page uses the animate.css to add some animations to my elements. The issue is that when I use a style in the animate.css, My video does not go to full screen correctly. This is a sample of my page: <div id="wrapper"> <div id="page-wrapper" class="gray-bg dashbard-1"> <h2 id="sv_title">Here is some text for illustration</h2> <div class="animated fadeInRight"> <video src="http://www.w3schools.com/html/mov_bbb.mp4" controls=""></video> </div> </div> </div> https://jsfiddle.net/p4nmt637/ Also, this issue seems to happen only in chrome, I

Mono winforms app fullscreen in Ubuntu?

蓝咒 提交于 2019-12-04 10:35:41
问题 Just wondering if there's a known way of getting a Mono System.Windows.Forms application to go fullscreen on Ubuntu/Gnome. Mono is 2.4.2.3 Ubuntu is 9.10 Doing it on Windows requires a pinvoke, clearly not going to work here. This is what I get setting window border to none, window position to centre, and state to maximised: alt text http://dl.dropbox.com/u/116092/misc/permalink/joggler/screenshot01.png Update. Have also tried: this.StartPosition = System.Windows.Forms.FormStartPosition

SDL - Get native Screen Resolution

血红的双手。 提交于 2019-12-04 10:13:27
My code: window.cpp Window::Window(int w, int h, const char *title, const char *icon) { height = h; width = w; if(SDL_Init( SDL_INIT_EVERYTHING ) == 0) { SDL_WM_SetCaption(title, NULL); SDL_WM_SetIcon(SDL_LoadBMP(icon),NULL); screen = SDL_SetVideoMode(width, height, 32, SDL_SWSURFACE | SDL_RESIZABLE | SDL_DOUBLEBUF); if(screen == NULL) { running = false; return; } fullscreen = false; } else running = false; return; } Window::Window() { const SDL_VideoInfo* info = SDL_GetVideoInfo(); screenWidth = info->current_w; screenHeight = info->current_h; Window(640, 480, "Flatgu game", "rsc/img/icon.bmp

Safari Mobile full screen

孤者浪人 提交于 2019-12-04 09:41:07
问题 I'm trying to set the full screen mode on my iPhone Web App, I have read the Apple's documentation on apple-mobile-web-app-capable meta tag, but it doesn't work, can you help me? Thanks 回答1: You can also add a javascript function : <body onload="setTimeout(function() { window.scrollTo(0, 1) }, 100);"> 回答2: <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple

WPF full screen on maximize

江枫思渺然 提交于 2019-12-04 08:36:02
问题 I basically want to have my WPF window to go in full screen mode, when F11 is pressed or the maximize button in the right top corner of the window is pressed. While the following works like a charm for pressing F11: private void Window_KeyDown(object sender, KeyEventArgs e) { if (e.Key == Key.F11) { WindowStyle = WindowStyle.None; WindowState = WindowState.Maximized; ResizeMode = ResizeMode.NoResize; } } This will still displays the Windows taskbar (tested with Windows 7): protected override