splash-screen

problem with splash screen - C# - VS2005

北城余情 提交于 2019-12-08 03:24:06
问题 I have an application. First I display a splash screen, a form, and this splash would call another form. Problem: When the splash form is displayed, if I then open another application on the top of the splash, and then minimize this newly opened application window, the splash screen becomes white. How do I avoid this? I want my splash to be displayed clearly and not affected by any application. 回答1: You need to display the splash screen in a different thread - currently your new form loading

Android cancelable splash screen

偶尔善良 提交于 2019-12-07 23:05:42
问题 I'm trying to create a Splash page that has a banner and cancel button, by the following rules: if nothing is pressed, go to main activity after 5 seconds. if cancel button is pressed, go to main activity immediately. if banner is pressed, go to other activity. My code: public class BannerSplashActivity extends Activity { private static final int TIMEOUT = 5000; private View mButtonCancel; private SplashHolderTask mSplashHolderTask; public void onCreate(Bundle savedInstanceState) { super

Android Splashscreen while AsyncTask is running

坚强是说给别人听的谎言 提交于 2019-12-07 22:27:29
问题 At the moment I work on an android-phonegap project. Before the app loads the index.html there is some native code doing work. In detail it's in AsyncTask which is knocking around on the SD card (if available). I managed to show a progress bar while the A.Task is working but furthermore I'd like to add a Splash screen in the background. I mostly worked with Phonegap and just start with native code. So I'm kinda confused by all these layouts, themes and what else you may define in the .xml

Java Swing: JWindow appears behind all other process windows, and will not disappear

喜夏-厌秋 提交于 2019-12-07 21:59:24
问题 I am using JWindow to display my splash screen during the application start up. however it will not appear in front of all windows as it should, and it will not disappear as well. import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.Toolkit; import javax.swing.BorderFactory; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JWindow; public class MySplash { public static

Load Data and show a splash screen during that

淺唱寂寞╮ 提交于 2019-12-07 18:05:15
问题 I got to load some data out of a db4o database which takes 1 or 2 seconds at the startup of my app, the rest has to wait because first of all the data has to be loaded. doing this in an own thread would mean that the rest has to wait for the thread-finishing. I'd like to do a splash screen or something during the data is loaded for what also need an own thread, right? how would you do? I'm using csharp, .net 3.5 and winforms 回答1: Showing a splash screen at startup is easy to do. In your

Stopping Splash Screen to go under the navigation bar

夙愿已清 提交于 2019-12-07 17:24:55
问题 I would like to use this splash screen but it keep going under the navigation bar. Splash img How can I force it to fit on the screen while keeping the navigation bar? <style name="splashScreenTheme" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar.Fullscreen"> <item name="android:windowBackground">@drawable/splash</item> </style> 回答1: Found one solution <item name="android:windowBackground">@drawable/splash</item> to <item name="android:background">@drawable/splash</item> 回答2:

How to add separate Portrait and Landscape splash Images to Android config.xml gap:splash

我只是一个虾纸丫 提交于 2019-12-07 16:14:07
问题 The question here is how to allow for separate (landscape and portrait) splash images in PhoneGap. 回答1: Unable to find a satisfactory answer for a long time, I finally spent a few hours messing with it and was able to get it to work in the following way: define two items for each android size- on the portrait files, DON'T put width and height attributes, and on the landscape DO put them. Here is my code so others can follow: EDIT: THE CODE BELOW IS FOR PHONE GAP BUILD VERSIONS 2.7 THROUGH 3.0

Black screen for Android app

五迷三道 提交于 2019-12-07 10:26:30
问题 I have added a splash screen for an Android app. It displays, but it shows a black screen for two seconds after showing the splash screen. How can I fix this? 回答1: Based on your tags I assumed that you are facing issue for Android Phonegap app. You have to close splash screen on device ready instead of giving specific time in loadUrl method. Code Snippet: super.setIntegerProperty("splashscreen", R.drawable.splash); // Display splash screen for android this.setIntegerProperty(

WPF splash screen until windows ends loading

对着背影说爱祢 提交于 2019-12-07 08:46:10
问题 I have an application that consumes a lot of time when the window loading. In the Window_load event, I read from the database the state and the name of some controls. I want to do a splash screen that will ends after the window will fully load. I have tried with this example http://www.codeproject.com/KB/dialog/wpf_animated_text_splash.aspx but the splash screen closes before the main window is fully loaded and my mainwindow appears in white and is not fully loaded. I am beginner in wpf, and

QT: Hide the title bar of a dialog/window

随声附和 提交于 2019-12-07 08:23:40
问题 I have a parent window in which a push-button's click event function has the following lines: SplashScreenDialog *splScrDlg = new SplashScreenDialog(this); splScrDlg->show(); What I want is I want to remove the maximize button, minimize button, close button and also the title bar from the dialog(or window). [Actually it is for a splash screen, it would contain an image for a while and then would exit automatically and opens the main window, you are welcome with other ideas for showing splash