Opinion/Alerts help
So I'm writing a simple alarm style app, and I encountered some problems. Anyone know the answer to these questions?
1. the alarm should continue to sound/vibrate/other whatnot until the user intervenes. I played with the demo of notifications provided by RIM and have it work in the application. Records of app with the NotificationsManager and the alert plays when I want it. However... I want the alert that play continuously, not once. NotificationsConstants contains the CONTINOUS_REPEAT value, but I don't know where that provide as parameter to turn it on. It does work with the initial method of NotificationsManager.registerSource (). Anyone know how to implement that?
2. If I want a shortcut to menu/button to Notifications profile in my application, how I would do this? Essentially if the user triggers the application in the screen options, how can I provide them with quick access to change their settings for notifications.
Thanks in advance,
Shane
1. you need to create your own clock and call NotificationsManager.triggerImmediateEvent (...) to repeat the notification.
2 examples of code to open the Profile Manager
try { int moduleHandle = CodeModuleManager.getModuleHandle( "net_rim_bb_profiles_app" ); ApplicationDescriptor[] apDes = CodeModuleManager.getApplicationDescriptors( moduleHandle ); ApplicationManager.getApplicationManager().runApplication( apDes[0] ); } catch ( ApplicationManagerException e ) { // Handle exception here }
Tags: BlackBerry Developers
Similar Questions
-
So I have this custom formatting script:
Custom format for text field script
If (! event.value) {}
Event.target.userName = Event.Value;
Event.Target.Display = display.noPrint;
event.target.textColor = color.red;
} else {}
Event.Target.Display = display.visible;
event.target.textColor = color.black;
Event.Value = util.printx ("99-9999999", event.value);
If (event.value.length! = 10) {}
Event.Value = "";
App.Alert ("Tax ID # doesn't have the required number of 9!", 0, 0)
}
}
So, if you don't the good input format and press tab, then the app alert little pops up and after clicking OK it moves you to the next field (since you press tab).
My question is how to do it if the app.alert is run and then to make the previous request of the tab null and you keep in the field that caused the alert app to pop up?
I hope that makes sense if not let me know and I'll try to clarify.
You can use something like:
event.target.setFocus ();
-
Variable in an opinion please help session!
Good then this is my first time with Apex please help!
I am trying to create a view based on the user who is currently logged in my Apex application, but I can't seem to get this to work. Any ideas? or Suggestions on how to actually do?Hello
Welcome to the forum!
Unfortunately, this is the wrong forum. This forum is for SQL and PL/SQL questions; the Apex forum is:
Oracle Application Express (APEX)Try posting your question there. If you do, mark this thread as "Response", even if your question is not.
Sorry, I don't know anything about the apex.
The USER-defined function returns the Oracle username; If you want? -
Alert ID: PrintJobDestroyedwindow
My company is running a Windows 2000 Server as a print server and today I received a warning as follows, causing the service to stop running the application printing:
05/03/2011 07:14:42:389 UTC: 21:14:42:389 05/02/2011
Log type: alert level: 1 bytes: 2430
Alert Id: Alert qualifying PrintJobDestroyedWindow: SYD255-2CP alert severity: major
Alert text: print job on the printer SYD255-2CP has detected an attempt to create a window or dialog box.
Alert help text: an attempt to create a window or a dialog box associated with the print job thread has been detected. Since the server is running under a non-interactive desktop, displaying a dialog box or window would hang the print job thread, because the dialog box or window cannot be seen or closed by any logged-in user. The notification window or dialog create responded in a way that should cause the window to be destroyed. The handling of precision of the destroyed window or dialog box by the component tries to create the window or dialog box (often a Windows print driver) is unknown; However, it is likely that the print job will later receive a processing error that causes the printer to be blocked. To diagnose the problem, you should probably run out on the interactive desktop management server to see the actual content of the window that opens. The online help provides details on how to run the Server Manager of output in an interactive way. If the reason for the window display is inevitable, running output Manager as a non-interactive service would not be possible. Window class name: bidiMOWHi Johnny Luk.
The question you have posted is better suited on the TechNet Forums. Please see the following link for more information.
-
Hello
I'm looking for an emergency sos app for my iphone, which allows you to access it and alert help by pressing the power button. (Edge of Samsung Galaxy has a built) All applications that I found, will leave you only access it by going to your applications. At the time wherever you did, it could be too late! Any suggestions?
Thank you very much
I do not think that you will be able to find one. There is no way that a third-party application could change the function of the power button on this way.
You don't have to unlock the phone to make an emergency call. There is an emergency button on the lock screen.
-
ScanJet 4470c driver for windows 8
I bought a HP Pavilion to replace an old PC that was running Windows XP. This computer has Windows installed in the store 8.1 (or factory) and there is no driver for my scanner Scanjet 4470c I can find. HP download attempts have been unsuccessful to date. What is your solution? It is interfacing with a HP scanner HP computer, and it should work perfectly, in my opinion. Help please.
JMG01, welcome to the forum.
Your Scanjet is not compatible with Win 8/8.1. Here is a guide that shows the Scanjets that are not compatible. If a HP product is more than a year they provide no drivers for it.
Please click on the Thumbs up button '+' if I helped you and click on "Accept as Solution" If your problem is resolved.
-
Cannot create file winzip iso dvd
When I create a dvd from a winzip file or iso photoshop I get the following. Windows media player cannot play the dvd because the disc prohibits playback in your region of the world. You must obtain a disc that is intended for your geographic region. Two days ago I was able to create a dvd from the iso file with no problems today, I get the notice above. I tried to convert several iso files. They all end up with the same opinion. Help, please. Thank you
When I create a dvd from a winzip file or iso photoshop I get the following. Windows media player cannot play the dvd because the disc prohibits playback in your region of the world. You must obtain a disc that is intended for your geographic region. Two days ago I was able to create a dvd from the iso file with no problems today, I get the notice above. I tried to convert several iso files. They all end up with the same opinion. Help, please. Thank you
========================================
First of all a question... When you create the PhotoShop files...
would it not be possible to save in a different format?A simple solution may be to download and install the
Freeware VLC Media Player.It should play your DVD and not only that... If you right
Click an ISO file and choose... Open with / VLC
Media Player... it should play as well.(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)VLC Media Player (32-bit Version)
http://www.filehippo.com/download_vlc_32/
(works on XP, Vista, 7, 8)
(the name of the file to download is: vlc - 2.0.6 - win32.exe)(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)VLC Media Player (64-bit Version)
http://www.filehippo.com/download_vlc_64/
(works on XP, Vista, 7, 8)
(the name of the file to download is: vlc - 2.0.6 - win64.exe) -
Z5c randomly ringtone...
Since an update a few days ago my phone now randomly rings (well play the ring tone but there is no incoming call)
I went through all the applications that I think looking for opinion/alerts, but nothing appears on the notification screen (the thing that slides down from the top, I am new to android)
Anyone else had this? Any suggestions?
See you soon,.
RichardNo, there is no way to disable this notification.
-
Q10 call blackBerry keyboard shortcuts
How do you define keyboard shortcuts to make it up. They are very comfortable and essential, in my opinion. Help me.
found thanks
-
Windows does not start (possible disk failure HARD?) - Windows 7 64 bit.
Hello. My computer won't start. It leads to the 'Starting Windows' screen, then briefly (VERY briefly) flashes a BSOD and reboot to the Startup Repair.
I had several errors on my laptop which has eventually lead me to the current situation. I'll start from the beginning just after the specifications of the system, maybe they are connected somehow, or they can help you in some way:
Plug my computer is the following:
ACER aspire 5738ZG
-Pentium Dual-Core 2.4 Ghz
-4 GB of RAM
-AMD Radeon 5xxx mobility, 512 VRAM
-Drive Hitachi 500 GB SATA 5400 RPM
-Windows 7 Home Premium 64-bitThe first problem I had was a random BSOD who would leap upward with a certain frequency. I solved by going into safe mode, Device Manager and disable a card Microsoft Virtual Wifi Miniport that I don't remember being there before, and that makes not sense to me (I guess some program like a VM can be installed).
Second problem were random camera that has begun to occur just after I got rid of the BSOD. I experienced the almost all the time (just after awakening upward, while surfing the internet, games, etc.), but I noticed that it was more frequently when using a game with a kind of communication (like Skype) running program and active on the background, or loading videos. I ran a chkdsk and a memtest, and both gave me good results. These problems I was not able to solve, but I went from more games (like WoW) system-oriented to the less demanding (the binding of Isaac, Dwarf Fortress), which blocks exactly 0 produced despite being a bit much CPU.
I thought that it would be a heat problem, last week I went instead of a boyfriend and it opens. There was neither significant accumulation of dust, and no missed connections between the motherboard and the rest of the components, and I played for a week without a bump. Something of note, however, there was a brown spot on the label on the drive and under the keyboard, which my friend called "have you you spill coffee on the thing?", but I guess it's a day he just got hot. Don't know if it's of any help.
Finally, I woke up this morning to find out it was going really, very, very slow, and that my HDD light was on almost all the time. I booted safe mode - it seemed to have locked up on the start when starting on normal screen. And after a while of loading and showing me a light permanently on HDD, it gave me an i/o error (could not take the screenshot before it restarts). I also noticed the icon on the status bar would not connect when I woke up, I won't be too paranoid, but in my opinion, could help the network connections.
Memtest was clean. I did a chkdsk and it started to detect errors in index (something like "Error Index $021 program xxxx", don't remember the exact number), but had to go to work before it's over. When I got home, it comes to the start of repair screen telling me that Windows was not able to automatically fix errors. The next thing I know, I can't start my computer. I tried Chkdsk from Startup Repair tool CMD prompt, and it will immediately (as in, right this second) display the contents of the drive hard (with no "bad sectors"), but will not fix anything. Moreover, when I switch on the C:\ drive, it just shows empty. Memcheck to the boot and Memtest show RAM is clean.
So in short, the cause could be a faulty HARD drive? I'm pretty sure it must be something related to her or to the connector block, or, worse, my motherboard is upward (which I really, REALLY whish is not).
Any help will be less appreciated.
SATA drives have always seemed to generate more heat than the old ones IDE and your CPU can become quite hot when he's busy too. You do not have permanent damage normally until you get to about 70, so I would be fairly optimistic about the replacement of the HD unless conditions were very extreme. Don't forget that if you rebuild your system with a retail DVD of Windows 7, you will probably need download drivers at Acer for things like chipset, video and sound.
Good luck.
-
Windows media player does not work; get a server runtime error
I took my computer to repair store to have repaired minor problem. They fixed the problem I had, but in the process they must have done something to Windows Media Player. I didn't until I got the home computer. The Media Player is the only problem; the Media Center works great. Recover a server runtime error whenever I try to do something with the Media Player I really don't want to take the computer to the repair shop, who did a bad job in my opinion, any help would be appreciated.
Search the forum for the server runtime error and you will find several questions on the subject, so one of the suggested solutions might also work for you.
-
Reading text file and adding to start
var file = File(myFilePath); file.open("a", "TEXT"); //alert("file opened! it is: \n" + file); while (!file.eof){ // Loop doesn't trigger here var line = file.readln(); alert("line is:\n" + line); } file.close();
CheminMonFichier is a string that contains a file path in a text file on my drive.
Two issues here:
(1) why not the time loop trigger? Is expressions of the folklore of the position by default when you open a file for addition? ("a")
(2) how to open a file for add-to-start (' a + ')The case is the following:
I have a file already existing with some properties of the object. I want to open this file and add additional properties to top/beginning of it.This script alert help?
What new eyes can do, but mine was 75 years old and new new goal is good.
-
Hi all
I am considering P2V, i.e. 2000 SQL under Windows 2003, in vSphere environment 6. Lastes converter he takes?
If this is not the case, how can I do? With the help of old converter? I did not before P2V. Your opinion will help a lot.
Hello
It seems to work (tested with 6.1.1)
I would say stop all sql processes before the conversion.
Reg
Chris
-
Show on a text field, the number of times click us a Butoon
Hi there... I did some work... and my teacher told me to do an exercise... but I wonder just for your opinion and help
Here is that the problem... I managed to create a code to print text as soon as I click the butoon, here it is:
botao.addEventListener(MouseEvent.CLICK, mostrartexto); function mostrartexto(event:MouseEvent){ caixadetexto.text = "Hi there World"; }
So the thing is now... that... instead display the text by clicking the botoon I need to click on the butoon and it must indicate the number of times where I clicked on the text field.
That means... I click it will show me '1' or '1 click', '2' or ' ' clicks... and so on.
So, if there is someone who could help me and explaing how... or if it is even possible
Cordially ASilva
use a variable to store the number of clicks of buttons:
var botaoClickNum:int = 0;
botao.addEventListener(MouseEvent.CLICK, mostrartexto); function mostrartexto(event:MouseEvent){botaoClickNum++; caixadetexto.text = botaoClickNum.toString(); }
-
I get the RTC-5336 error when executing deployment/flow of process. He says: "unable to retrieve the version of workflow. Tried with all the workflow version in11gR2 (11i, 2.6.2 2.6.3 2.6.4 R12) but was still the question above... Please send us your opinion to help resolve this problem.
Is the scheme a workflow schema? Have you installed the workflow in this scheme? Looks like you do not have.
See here to integrate workflows;
http://download.Oracle.com/docs/CD/E11882_01/OWB.112/e17130/components.htm#BABGAABJSee you soon
David
Maybe you are looking for
-
Why don't point in the drop-down list address not remove when selected and click on remove
on version 14.1 - to remove an item in the drop-down address, said the point the address line the right click and select delete - this clears the address line but point remains in the drop-down list and does disappear not - why point unclear when you
-
Text label on the upper Surface of 3D shape
Hi all This question my seem silly, but nevertheless I would like to know the answer. For most of my parts of the circuit, I create a custom layout. Not to mention that I also create a semi 3D shape representation according to the data sheet of the m
-
I need to (re) activate Windows, I think it's the fault of my USB hub
I have been using a USB hub recently. I only have a single reliable USB port (outside), so I plug it into that and into a less reliable port for more power. Sometimes, it works very well. Sometimes, the computer can not detect it, and sometimes th
-
Error: "you must first activate windows.
Original title: Activation and network Windows Help needed! First my windows started having network problems. So I "fixed" with the cd in the boot menu. Repair complete, and now it was time for me to open a session. I entered my password, but it says
-
Vista error message - executable of time has Stppoed working
The above message is displayed when the system starts, but there is no reference to a particular program/software. What it means? I close the window and the system seems to work fine