Global Alerts... Help...

I need to display an alert... that I display boxes of dialogue and the pushGlobalScren method... When this dialog box appears that nothing else to do until the dialog box is dismissed. How can have a menu to close the dialog box... or is it possible that I can take the dialog box back...?

Please let me know the best way to do it...?

Kaddy.

You should not use GlobalScreens as a way to provide a User Interface, even a background task.  These are designed as comprehensive alerts, i.e. dealing with exceptions.  If you need display a number of your background Application screens, then it isn't really a background application.

I suggest you research system Modules and acceptsForeground(), if you wish to have something hidden which is always a UiApplication.

Also, you started a number of very similar questions associated with what you can and cannot do with global screens.  You consolidate in one, describing your problems with the Date, the Menu and who rejected, and 'Solve' all the others.

In response to this question, probably the best thing to do is have a button that dismisses the dialog box.  And is not point of overall screens that they are not going in the background.

Tags: BlackBerry Developers

Similar Questions

  • 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
            }
    
  • App.alert help form

    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 ();

  • 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: bidiMOW

    Hi Johnny Luk.

    The question you have posted is better suited on the TechNet Forums. Please see the following link for more information.

    Windows Server - general forum

  • Help component not on discs

    Dear friends,

    My aid component doesn't seem to be in the installation disc. I got "Error launching browser by default. You may need to reinstall the application and component help. "message. I reinstalled and still no help components work.  Thanks for any help.  @

    https://helpx.Adobe.com/x-productkb/global/offline-help.html

  • help offline manuals

    Hello

    I downloaded and installed Apps via creative cloud on my desk and they work fine.

    I need manual help offline installed on my desktop. I tried manager help adobe, but it displays no content available for download. I can access online help for any product from adobe from any office application installed. This isn't a problem. But I need to be able to also access the help offline.

    Help, please...

    AdobeHelp.jpg

    See if it works to aid in offline mode:

    http://helpx.Adobe.com/x-productkb/global/offline-help.html

  • Need help LOCAL for ALL my apps from master collection CS6

    HELP for CS products went down hill every version from CS4. I just installed CS6 master collection and can't get help to work 90% of applications. It shouldn't be so difficult. I shouldn't lose hours searching so enless this damn user seas to try to get simple help for a product. Adobe is just trying to slide off it is supported of the responsibilities on the public.

    I want FULL LOCAL HELP CONTENT for ALL my CS6 master Collection Apps installed on MY machine. and when I click on 'Help' that is what I want. I don't want to go online to get help.

    How to do that and how 'LOCAL' by default for ANY help

    Joel

    Try this solution of two parts:

    Part i: the Adobe installer helps to use offline Help content (if exists) as a source rather than the configured online help

    1. start Adobe if installed Help.exe on your machine with CS6 products. I found that it installed on my machine Win7 to C:\Program Files (x 86) \Adobe\Adobe Help\Adobe Help.exe. It will open the Adobe help Manager preferences.

    2 Select 'Yes' radio button for 'General Settings' > ' display local help only content:

    Part II: Download and set up help offline (PDF) for your product from the adobe.com website.

    1. read the "help offline use in Adobe products | http://helpx.Adobe.com/x-productkb/global/offline-help.html KB download PDF for your CS6 or current CC version helps.

    2. After downloading the PDF locally follow the section "using the help within your Adobe PDF product from" put PDF files on your computer so that it works with Adobe products.

    As mentioned on the KB.

    • Windows 7
      C:\Users\Public\Documents\Adobe\PDF\pdf\
    • Windows 8
      C:\Users\Public\Public Documents\Adobe\PDF\pdf\
    • Mac OS
      / Users/Shared/Documents/Adobe/PDF/pdf /.

    Important: CS6 help PDF must be copied to the Adobe\PDF\pdf\cs6\ folder in order to work with the version of CS6 Adobe products.

  • ExtendScript try/catch difference when the script took the ESTK and Illustrator

    Hello

    I wrote an ExtendScript for Illustrator using the toolbox toolbox ExtendScript (ESTK).  It works fine when running scripts it in Illustrator from the ESTK (using the target application functionality).

    However when I run it directly in Illustrator (by selecting it in the drop-down file menu > Scripts) I get a runtime error.  Is this normal?  Should I expect differences when you run the script in these two different ways?

    The error is in this feature...

    ```

    function itemUsable (arr, item) {}

    use var = true;

    try {}

    arr [point];

    usable = true;

    } catch (e) {}

    $.global.alert (e);

    usable = false;

    }

    usable back;

    }

    ```

    The code point is around the issue of the Illustrator to throw errors when accessing properties that do not always exist.  Connected ESTK the try/catch statement intercepts the error "No such item" and then sets the function returns false.

    When ran directly in Illustrator, the lights error message but the try/catch does not seem to stop the output script.

    The only difference I see is when to run the script in ESTK the dropdown next to the application target dropdown is always (and has only the option) 'main '.  Run the script directly in Illustrator, when the error is thrown this menu option drop-down is set to the 'transient' value.

    See this screenshot for an example of what I mean

    Screen Shot 2015-04-16 at 20.16.32.png

    Any help would be appreciated.

    Thank you

    / t

    Try adding $niveau = 0 at the beginning of the script or consult the last entry on the debugging of the ESTK tab

  • Remove the dialog box when you run the app.doscript jsxbin file

    I use InDesign CS6 and write a script loop in ExtendScript Toolkit CS6 (Extendscript ScriptUI 6.1.8 4.2.12)

    I use a file jsxbin inside a loop.  After the jsxbin file is a popup alert dialog appaers script, saying: it's done and I have to click on the ok button, before it will allow my script to continue.  I run the file app.doscript jsxbin ("[jsxbin string here]").  I tried to change the level of user interaction to never interact before running the doscript, but this had no effect.  Is it possible to run the userInteractionLevels.NEVER_INTERACT as a parameter in app.doscript?  OR, is there a way to automatically close the popup alert script when it opens.  I'm trying to avoid having to press the OK button several times that the script is running.

    I'm relatively new to scripting in InDesign.  Any advice or assistance would be greatly appreciated.

    Hi callentill1308,

    You're kind of asking for help to hack a jsxbin that isn't yours?

    Well okay, we will try to find a fair solution. First of all, there are good reasons to assume that jsxbin code itself contains instructions forcing userInteractionLevel to INTERACT_WITH_ALL. Something like:

    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
    // ...
    // Process
    // ...
    alert('Done');
    

    In this case, the parameter userInteractionLevel to NEVER_INTERACT in the calling script will have no effect.

    But, if you are sure that the jsxbin script calls the alert() function, a radical way to bypass the message is to rewrite this function itself:

    // inhibits alert()
    $.global.alert = function(){ };
    
    app.doScript( "[jsxbin string here]" );
    

    @+

    Marc

  • SOS emergency app

    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.

  • BlackBerry Smartphones BB 8530 question

    OK I just got my BB lastnight I wonder can have different ringtones to different people and also a different ringtone for my messages? I can't know where to put it all

    Yes, open a contact > Edit > scroll ring tones/alerts and set a custom ringtone.

    For your notifications and global alerts, search the profiles on your homesceen.

  • Windows 8 and 8.1 keep disable and re-enable the components themselves.

    I have two systems of windows 8. One is windows 8 and the other is windows 8.1. Both are in older computers that had nine drives installed and a new copy of windows installed on each. They have not been upgraded to windows 7, but they have windows 8 is installed directly on them.

    Both suffer from the same problem that Windows continually disables itself and then it will activate itself.

    Did have any registry editors on them. They are two computers in domain related to a 2008SBS with 20 other domain controller (all windows 7) which are all works well.

    They AVG edition company with nothing but the antivirus remotely connect the installed components (same thing with all other systems). Systems are behind a cisco firewall and the windows firewall. They are perfectly up-to-date.

    They were both installed using OEM licenses.

    None of them have ever android devices connected to them (I've seen similar posts on those causing problems). I ran sfc and dism on both. On one, he claims that he found nothing wrong, and on the other hand he find stuff wrong and said he fixed it, but both are always disable themselves.

    Please help me get this resolved!

    Hello Sklar,

    Thank you for your response.

    In general, the issues related to Windows on stand-alone computers or laptops with the basic queries on the Internet, no boot, installation and activation of the commercial versions and other simpler question is dealt with in this forum, so that issues related to servers, governed by group policy and other complex IT issues are for the most part responded in the TechNet forums.

    TechNet is watched by leading, Microsoft and other professionals in the world. You just need to re - ask this question in this forum. To make more global and help computing professionals, you should provide the exact error codes/messages (if any). In addition, give them the details of the configuration of your system and any significant changes you did before this problem.

    I hope that you will have the problem solved quickly.

    In addition to this, feel free to post on this forum for any of your problems with Windows on stand-alone systems in the future. We will be happy to help 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.

  • Target Load Order Bug?

    Version: 12 c

    I defined the load order of target to:

    T1, T2, T3

    But it still generates jobs as:

    T3 - IKM Oracle Fusion load

    Load T1_T2 - KM unknown (it is actually IKM Oracle Multi-Insert.GLOBAL)

    Help, please!

    There is a solution, but it requires some work on the physical tab.  You must drag the elements around so that you end up with two targets.  The first target loads the multicables at T1 and T2 and the T3 the second target loads.  They must default to run in the series, which is what is needed.  Do not operate in parallel.  I had trouble with the icons at the top left of the updated (blue squares) execution units.  Move to the rear and logical view must correct them.

  • Adobe Premiere Pro problem

    I have problems with some of my video files.  When I drag them on in my sequence sometimes audio will separate and go to the correct place and other times the video will go down but not the audio. So when I go through my sequence you have no louder (audio) and video. Not sure why it does this. I even video in the source box and I'll click audio only and then try to drag that to my sequence and it will still go down! Why is this happening? I didn't click anything.  In addition, it is returned with a fx symbol in the left had corner of the video file when it comes down to my sequence (when audio does not come with it).  Any help would be appreciated.

    Thank you

    Jamie

    Make sure that your Source patch and the targeting of the track are correct.

    https://helpx.Adobe.com/x-productkb/global/offline-help.html

Maybe you are looking for

  • Portege R100 - audio installation SP3 not working

    I have a R100, and since the installation of SP3, the audio does not work.Seems to be a driver problem (Realtek). Does anyone have a solution or a source for a new driver? CJ

  • Equium A210: broken screen

    Hello I have an Equium A210 and yesterday when I turned it on the bottom of the screen was broken.You can see the ink where it broke.I went back to where I bought it (his only 2mths old) and they won't do anything about it because that's not covered

  • Soft shock hit cover of the Satellite L855-12N

    Hello Two days ago, I bought a Satellite L855-12n (ice blue). He kept poking my skin like light electric shocks when I hit the bottom of the left and right of the touchpad corners. It happened only when it is connected and I'm barefoot, which led me

  • RDP can connect to a session of console rather than on a Windows XP machine?

    Hello I have a Windows Server2003 running of the machine.  I have 3 'stations' running Windows XP SP3, which function as machines of execution to the work initiated by the application on the server. In essence, a repository server where all the jobs

  • 4.0(5a) IPCC Express Services crash

    Hello After a stop and start of the IPCC Express servers (master/slave) 4.0(5a) 2, I found 2 red crosses on the enterprise desktop service and chat services to call in the web Center page coontrol master server indicating that services crashed. In th