Start screen appears and App starts do not
Hello and thanks in advance.
I am trying to build a splash screen that displays a logo for 5 seconds, then returns to the main application, but the application shows the start screen or starts the main thread. I looked at the code example in the start screen and tried to imitate closely. The model code is shown below.
import java.util.Timer; import net.rim.device.api.system.Bitmap;import net.rim.device.api.ui.Field;import net.rim.device.api.ui.FocusChangeListener;import net.rim.device.api.ui.UiApplication;import net.rim.device.api.ui.component.BitmapField;import net.rim.device.api.ui.container.MainScreen; public class Test extends UiApplication { public static void main(String[] args) { Test app = new Test(); app.enterEventDispatcher(); } public Test() { SplashScreen screen = new SplashScreen(); pushScreen(screen); } public class TestScreen extends MainScreen implements FocusChangeListener{ public void focusChanged(Field field, int eventType) { } }} class SplashScreen extends MainScreen { private UiApplication application; private MainScreen next; private static final Bitmap _bitmap = Bitmap.getBitmapResource("resource/logo.png"); private Timer timer = new Timer(); public SplashScreen(){ Test tmpTest = new Test(); Test.TestScreen tmpScreen = tmpTest.new TestScreen(); this.next = tmpScreen; this.add(new BitmapField(_bitmap)); } public void dismiss() { timer.schedule(new CountDown(), 5000); timer.cancel(); application.popScreen(this); application.pushScreen(next); }}
The Simulator is the Curve 8330 and the api is 4.5.
Any help would be great.
Best regards and thanks again.
1. the implementation of your class of SplashScreen() is not correct.
I modified your SplashScreen() in this way:
class SplashScreen extends MainScreen { private UiApplication application; private MainScreen next; private static final Bitmap _bitmap = Bitmap.getBitmapResource("resource/logo.png"); private Timer timer = new Timer(); public SplashScreen(UiApplication application, MainScreen next) { this.application = application; this.next = next; this.add(new BitmapField(_bitmap)); timer.schedule(new CountDown(), 5000); //show this splash screen application.pushScreen(this); } public void dismiss() { timer.cancel(); application.popScreen(this); application.pushScreen(next); } private class CountDown extends TimerTask { public void run() { DismissThread dThread = new DismissThread(); application.invokeLater(dThread); } } private class DismissThread implements Runnable { public void run() { dismiss(); } } }
2 and also you must call the SplashScreen of the main class in the following way:
public Test() { //the screen that will show after splash screen TestScreen nextScreen = new TestScreen(); new SplashScreens(this,nextScreen); }
Concerning
Bika
Tags: BlackBerry Developers
Similar Questions
-
Portege M200 - Toshiba start screen appears and then nothing
My Portege M200 does not start.
Turn it on and toshiba start screen appears and remains like that. Nothing works (or F2 to enter the BIOS)
Any ideas?
Hey,.
To me, it looks like hat it is a certain hardware for computers problem stops at the screen of the Toshiba BIOS...
It's really hard to say what could be the reason
First of all, you must follow the instructions in this article and maybe it helps:
[What steps must be followed if your Toshiba laptop does not start? | http://forums.computers.toshiba-europe.com/forums/ann.jspa?annID=21] -
I try to start a program and the lock screen appears and the program crashes.
I try to start a program and the lock screen appears and the program crashes. How can I stop this or should I give up windows 8?
Former title: lock screen
Hi William,
Thanks for posting the query on Microsoft Community.
If I understand correctly, you are unable to open a program as the program crashes. Don't worry, will help you with the question.
1. What is the brand and model of the computer?
2 does on all programs or only one?
3. you receive an error before it crashes?
Try to put the computer to boot and check if it helps.
This will eliminate the conflicts of software that occur when you install a program or an update or when you run a program in Windows. It starts Windows by using a minimal set of drivers and startup programs.
How to perform a clean boot in Windows: http://support.microsoft.com/kb/929135Note: After troubleshooting, consult this "How to reset the computer to start normally after a boot minimum troubleshooting" section in the link above.
Please get back to us with the information required to help you further.
-
Safari and App Store are not open. Recently updated to El Capitan 10.11.4
Safari and App Store are not open. Safari icon will bounce back and not open. App Store comes up with "App Store close unexpectedly"
Please read this message before doing anything.
This procedure is a diagnostic test. It is unlikely to solve your problem. Don't be disappointed when you find that nothing has changed after you complete it.
The test is intended to determine if the problem is caused by a third-party software that loads automatically at startup or logon, by a device, by a police conflict or corruption of system files or some system caches.
Disconnect all devices wired except those required to test and remove all the expansion cards from secondary market, as appropriate. Start in safe mode and log on to the account of the problem.
Note: If FileVault is enabled in OS X 10.9 or an earlier version, or if a firmware password is defined, or if the boot volume is a software RAID, you can not do this. Ask for additional instructions.
Safe mode is much slower to boot and run as normal, with limited graphics performance, and some things work at all, including an audio output and a Wi - Fi connection on some models. The next normal boot can also be a bit slow.
The login screen is displayed even if you usually connect automatically. You need your password to log on. If you have forgotten the password, you will have to reset it before you begin.
Test in safe mode. Same problem?
After testing, restart as usual (not in safe mode) and make sure you always have the problem. View the results of the test.
-
conmputer crashes and blue screen appears and the computer restarts
my computer guard crash blue screen appears and then the computer restarts, reinstalled windows xp and the problem persists
If you reinstalled Windows, then you can be sure that it is hardware related.
The three most likely culprits are the processor, graphics or RAM card. Unfortunately exactly identify the problem will always be tricky unless you have access to the spare parts that you can switch to turn.Neilwww.nwarwick.co.UK -
blue screen appears and a physical memory dump _
After a few minutes the blue screen appears and a dump of physical memory followed by the model turned off.
How to solve this problem?Hello
We really need more information to help you troubleshoot the BSOD - BlueScreens.
Check this thread for more information on using BlueScreenView, MyEventViewer and other methods of
Troubleshooting the BlueScreens - top 3 answers.Please post BCCode or Stop Code and all information that you can collect to help us to help you.
I hope this helps.
Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.
-
original title:
When I try to log in to my admin user, a screen appears and says ' the user profile service has no logon. User profile cannot be loaded. "I can't spend anything for users of our families because they ask for approval from the admin and it won't work. What can I do to correct the admin user?
You have another admin account , you can connect?
If so, please do it and then run the Microsoft Support tutorial below.If you don't have another admin account, go into safe mode.
Here's how to get safe mode:
Shut down your computer > turn it back on and immediately and repeatedly tab key F8 until you see a black and white screen. The top/down arrow and selectSafe Mode with network.In the window of logon in safe mode...
1 can connect to your account administrator in safe mode?
If so, run the Microsoft tutorial support listed below.2. If you can't log into your own account, you see another admin next to your account in the logon screen?
If you do, that one is the built-in Administrator account. By default, there is no password. Opening of session and run the tutorial from Microsoft technical support below.3. If you are able to log on in safe mode, do a system restore. Choose a date when you were able to log in NORMAL MODE as your restore point.
How to do system restore: System Restore tutorialtutorial from Microsoft support :
http://support.Microsoft.com/kb/947215
There are several methods,go through one by one.
Method 3 has a "fix it for me" application
For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem. -
Original title: I was struck with Mal-Ware. Everything on the left side of the screen disappeared and all programs. Does not restore. Everything is still there, but can't find it. How can I get that back?
When I go to help and support, I've seen where it will take me to something in Office 2007 even if you ask the computer to find or search, he says that's not there.
Hi windy-54,-What do you mean when you say "everything on the left side of the screen disappeared and all programs not recover"? Does this mean you "Start" menu is empty?-What is the exact error that you receive while you are trying to search for programs on the computer?Write us with more information pertaining to the matter to help us help you better. Meanwhile, scan your computer to clean the virus or malware that touched it.You can use the Microsoft security scanner to do the same.Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss. -
signature of the problem:
problem event name: bluescreen
OS version:6.0.6001.2.1.0.786.3
Locale ID: 16393
More information about the problem:
BCCode:10000008e
BCP1:C0000005
BCP2:94B525C6
BCP3:9BA92C14
Product information
Product number: NC646AA
Series No.:CNX9030FZ9
HP Pavilion Slimline s3560in desktop PC
Hi mkm.
Were there any hardware or software changes made at the time the blue screen appeared?
I suggest to close the PC and remove all devices in addition to the screen, the keyboard and the mouse.
If the computer works without a blue screen for a reasonable period of time, you can start to add them one at a time to see if a specific device that is causing the error back.
Chris
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
Upgraded to 7.1 on smart phones blackBerry bold 9900 and app world will not work
App world says there is a problem with the appworld and app world must be closed. How do I get this resolved. Worked fine before upgrade
Please make sure you have the version of app world update. Visit http://blackberry.com/appworld on your phone's browser.
Guilbert
Ron
-
How to fix iPhone 6 home &; lock screen? (and apps)
So my iPhone 6 has been left for about 5 hours and I woke up and it was hot. Applications went so quickly I them all turned off and turned my phone off, so it can cool. 10 minutes later, when it got cooler, I opened it again and there was a transparent box with an arrow circle at the bottom that I can not click and it read: "ESO; The brotherhood of darkness"on the lock screen. (Which is not part of my baggage) I have never played nor heard of this game until it continues to show on my phone. (It is not on the apple store). I tried to turn it off to restart, but it is still there, especially in the dark. I don't know if I should be concerned it shows and disappears when my light is completely upward. But in any case, is it possible to take the transparent app on my home screen and lock? (it also shows on which applications are a bit dark)
Have you tried a forced restart (by building and maintaining home and power until the Apple appears then release buttons to finish to start)? Have you tried to restore from a back to the top? Restore like new?
Edit: it occurs to me that you can also have suggested active apps. Settings > general > transfer & suggested Applications. Cut the two settings and see if that makes a difference.
-
Why my screen freezes or blue screen appears in normal mode but not safe modes?
My monitor quivers at the start and in security mode. PC freezes or blue screen during normal mode but not in safe mode.
Hello
If it works, fine, safe mode, start your computer in a clean boot State to eliminate conflicts of third party software and check if the problem persists.
Note: Follow step 7 to your computer as usual.
In addition, follow the steps in this article.
-
Windows 8 Netflix and App Store do not work
I have an Asus Q200E PC Netbook and when I try to use the Windows 8 Netlfix application or the app store of Windows, he says I am not connected to the internet, but I can still use my PC screen and surf the web very well so use my other Windows applications. I tried a lot of shooting, disconnect my internet router and plugging, so as to turn off my wifi and it reactivated.
Hi VERALINE,
Running the troubleshooter for Internet connections and empty the cache store may help resolve the issue.
Method 1: Run the troubleshooter for Internet connections and see if it helps.
a: press the logo Windows + O to open the search box.
b: Type Troubleshooting, press ENTER.c : now, click on network and Internet.
d: then click on Internet connections.
Method 2: Empty the cache store and check.
has. press ' Windows key + R'.»»
b. type wsreset.exe and then click OK.Method 3: Temporarily disable the antivirus software or security.
Temporarily disable anti-virus software or other security software installed on your computer.
a: press the logo Windows + Q to open the search box.
b: now click settings and then type Action Center, press ENTER.
c: click the Chevron next to Security.
d: disable the anti-virus installed on the computer.
Warning: security software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.
For more information, see the links.
What to do if you have problems with a soft
http://Windows.Microsoft.com/en-us/Windows-8/what-troubleshoot-problems-app
Why can't find or install the application on the Windows Store?
http://Windows.Microsoft.com/en-in/Windows-8/why-find-install-app-Windows-store
I hope this helps. If you are facing the issue with downloading the applications from Store or if you face problems of Windows in the future, let us know and we would be happy to help you.
-
Screen sharing and the Bar Menu not desired
When you use the mode full screen with a shared computer, sharing screen menu bar down on the menu bar of the shared computer when the mouse touches the top of the screen. This makes the job difficult because it is not uncommon to hit the top of the screen when you try to use the menu bar in the remote session.
Is it possible to change this behavior? Either by imposing a multi-seconde delay before sharing screen menu bar falls down or by requiring a special set of keys to be held down until the behavior is triggered?
Thanks in advance for solutions or advice.
What remote client do you use? I use Realvnc server and Realvnc client.
R
-
Help! My saved favorites does not appear when I type in the first letter. For an example, I saved "www.facebook.com" as one of my favorites. Whenever I go into facebook, I'll just enter the letter 'f' and he goes, a drop down link in the html bar then I'm leaving for facebook! But recently there have not been showing bookmarks I saved. I reinstalled firefox and it does not solve the problem at all. How and what do I do?
Make sure that the address bar is not set to 'Nothing': Tools > Options > privacy > address bar: when you use the location bar, suggest: history, bookmarks and bookmarks - see Smart Location Bar
Maybe you are looking for
-
Session of visa driver looping issue
Hello This is the first time I ever install a loop with a session driver visa in it. I'm trying to recover a table of data flow. The indices of the table correspond to physical locations (x, y) on this point that I measure the flow. This is why I nee
-
Drivers and software for HPPhotosmart5510e-all-in-one
I have a HPPhotosmart5510e all in one printer that does not print. After troubleshooting, I found that I maybe lack of pilots. I reinstalled the printer twice and both times I got a notice that said "device software was not fully installed. In addi
-
my xp keeps just reboot? and occurs even in safe mode
Please help recover registry files or that it would create a loop effect so I can retrieve the family photos and then wipe the disc. No available restore points. I thank point. 0 x 00000024 (0x8acc4ca0, 0 x 00000102, 0 x 00190203, 0 x 00000000)
-
I have a problem with Windows Media Player does not.
Original title: Windows Media Player I can't open my Windows Media Player, it tells me it works
-
How to convert an array of char byte array?
Hello Someone can say, how can I convert Byte char []? Thank you