Application of trust State

Hello

Is it possible to determine whether the end user has "Trusted Application" status?

My request is set to auto-start and so is started automatically when it is installed.  The problem is that some of the code throws an exception if the end user doesn't have the status of 'Trusted Application' and the exception can actually blind to the grant of the "Trusted Application Status" dialog box.

Suppose I have change the code so it does not seek to use these features until the end user has confirmed acceptance of the EULA and terms of use - that says that they actually have the status of 'Trusted Application' before accepting the EULA and terms of use?

Now, I think I need to move the privileged code, so it does not run as long as the EULA is accepted and try to catch any exceptions that are thrown.

If anyone understands the privileged code and the automatic boot process - I would like to hear your feedback on the best way to handle this situation.

Sincerely, Christopher

I'm not aware of a way to detect the status of trust.  In addition the user cannot grant this status of anyway, so if they reject it, then your application is going to do?

As I understand it, trusted application is just a collection of permissions that are normally required by the application programs (location, Internet, etc.).  In doing so, once in a formal BB specific way means that most applications do not have to worry about putting in place their own screens for permissions and means most users see a consistency in how the permissions are asked for.  That's all that.

I suggest that you do not run the treatment to start automatically until the user has indeed been through a "setup", that is to accept the terms and conditions.  Also in this configuration, you can check the permissions and request the permissions that you need.  Generally, you will probably find that the user gave the status of trust and already have the permissions that you want, in which case you don't have to ask the user anything.

The demonstration code ApplicationPermissions help it, but actually I don't like the approach he uses.  Personally, I have set up a screen that tells the user, I want to ask if I have not been given permissions, and then try to request permissions.

I hope this helps.

Tags: BlackBerry Developers

Similar Questions

  • application of SQL statement tuning

    Application of SQL statement tuning

    1 SQL: Code that never ends. 11 hours running, but nothing get inserted into tables

    2. database version:
    SELECT * FROM V$VERSION;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0    Production
    TNS for Solaris: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    3.
    (i)
    SQL> SHOW PARAMETER OPTIMIZER
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      10.2.0.4
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUE
    SQL>
    BIF
    SQL> SHOW PARAMETER DB_FILE_MULTI
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    db_file_multiblock_read_count        integer     16
    SQL>
    (III)
    SQL> SHOW PARAMETER DB_BLOCK_SIZE
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    db_block_size                        integer     8192
    SQL>
    (IV)
    SQL> SHOW PARAMETER CURSOR_SHARING
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    cursor_sharing                       string      EXACT
    SQL>
    4 calendar and Autotrace output
    one)
    SQL>
    SQL> SET AUTOTRACE TRACEONLY
    SQL> Query;
    
    
    99999 rows selected.
    
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 888060805
    
    --------------------------------------------------------------------------------
    
    ------
    
    | Id  | Operation          | Name            | Rows  | Bytes | Cost (%CPU)| Time
    
         |
    
    --------------------------------------------------------------------------------
    
    ------
    
    |   0 | SELECT STATEMENT   |                 | 99999 |   171M|  6452   (1)| 00:0
    
    1:18 |
    
    |*  1 |  COUNT STOPKEY     |                 |       |       |            |
         |
    
    |   2 |   TABLE ACCESS FULL| STGING| 99999 |   171M|  6452   (1)| 00:0
    
    1:18 |
    
    --------------------------------------------------------------------------------
    
    ------
    
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - filter(ROWNUM<100000)
    
    
    Statistics
    ----------------------------------------------------------
              8  recursive calls
              0  db block gets
          33379  consistent gets
          24108  physical reads
              0  redo size
      177773283  bytes sent via SQL*Net to client
          46901  bytes received via SQL*Net from client
           6668  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
          99999  rows processed
    (b)
    SQL> SET AUTOTRACE TRACEONLY EXPLAIN rem Could't do SET AUTOTRACE TRACEONLY as query takes a long time.
    SQL> Query;
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 696991379
    
    --------------------------------------------------------------------------------
    
    -------------------------
    
    | Id  | Operation                     | Name            | Rows  | Bytes |TempSpc
    
    | Cost (%CPU)| Time     |
    
    --------------------------------------------------------------------------------
    
    -------------------------
    
    |   0 | SELECT STATEMENT              |                 | 99999 |   171M|
    | 77733   (1)| 00:15:33 |
    
    |   1 |  HASH UNIQUE                  |                 | 99999 |   171M|   390M
    
    | 77733   (1)| 00:15:33 |
    
    |*  2 |   CONNECT BY WITHOUT FILTERING|                 |       |       |
    |            |          |
    
    |   3 |    VIEW                       |                 | 99999 |   171M|
    | 40120   (1)| 00:08:02 |
    
    |*  4 |     COUNT STOPKEY             |                 |       |       |
    |            |          |
    
    |   5 |      TABLE ACCESS FULL        | STG_OLD_RUBRIC1 |   621K|  1066M|
    | 40120   (1)| 00:08:02 |
    
    --------------------------------------------------------------------------------
    
    -------------------------
    
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       2 - filter(LEVEL<=(LENGTH("STRING")-LENGTH(REPLACE("STRING",'
    
    Criterion:')))/10
    
                  )
       4 - filter(ROWNUM<100000)
    
    SQL>
    6. explain Plan output
    SQL> ed
    Wrote file afiedt.buf
    
      1  EXPLAIN PLAN SET STATEMENT_ID = 'A' FOR
      2  QUERY;
      3 /
    
    Explained.
    
    
    SQL> SELECT * FROM TABLE (DBMS_XPLAN.DISPLAY);
    
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------
    
    Plan hash value: 696991379
    
    --------------------------------------------------------------------------------
    
    -------------------------
    
    | Id  | Operation                     | Name            | Rows  | Bytes |TempSpc
    
    | Cost (%CPU)| Time     |
    
    --------------------------------------------------------------------------------
    
    -------------------------
    
    
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------
    
    |   0 | SELECT STATEMENT              |                 | 99999 |   171M|
    | 77733   (1)| 00:15:33 |
    
    |   1 |  HASH UNIQUE                  |                 | 99999 |   171M|   390M
    
    | 77733   (1)| 00:15:33 |
    
    |*  2 |   CONNECT BY WITHOUT FILTERING|                 |       |       |
    |            |          |
    
    |   3 |    VIEW                       |                 | 99999 |   171M|
    | 40120   (1)| 00:08:02 |
    
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------
    
    
    |*  4 |     COUNT STOPKEY             |                 |       |       |
    |            |          |
    
    |   5 |      TABLE ACCESS FULL        | STGING|   621K|  1066M|
    | 40120   (1)| 00:08:02 |
    
    --------------------------------------------------------------------------------
    
    -------------------------
    
    
    
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       2 - filter(LEVEL<=(LENGTH("STRING")-LENGTH(REPLACE("STRING",'
    
    Criterion:')))/10
    
                  )
       4 - filter(ROWNUM<100000)
    
    19 rows selected.
    
    SQL>
    7. from TKPROF output
    SQL> alter session set timed_statistics = TRUE;
    
    Session altered.
    
    SQL> alter session set sql_trace = TRUE;
    
    Session altered.
    
    SQL> query; rem it is still running, no idea what is going on.
    Any advice. Why the request is not able to generate a trace file and take so long?


    Let me know, if needed further information.

    Thank you.

    Something like that...?

    WITH T
    AS
    (SELECT 'Criterion: Crit1.
    Proficient (points 2): Crit1 text.
    Criterion: Crit2.
    Basic (points 1): Crit2 text.
    Criterion: Crit3.
    Proficient (points 2): Crit3 text.
    Criterion: Crit4.
    Basic (points 1): Crit4 text.
    Criterion: Crit5.
    Proficient (points 2): Crit5 text.
    Proficient (points 2): Crit5 text.
    ' latest_comment FROM DUAL union all SELECT 'Criterion: Crit1.
    Proficient (points 2): Crit1 text.
    Criterion: Crit2.
    Basic (points 1): Crit2 text.
    Criterion: Crit3.
    Proficient (points 2): Crit3 text.
    Criterion: Crit4.
    Basic (points 1): Crit4 text.
    Criterion: Crit5.
    Proficient (points 2): Crit5 text.
    Proficient (points 2): Crit5 text.
    ' latest_comment FROM DUAL union all SELECT 'Criterion: Crit1.
    Proficient (points 2): Crit1 text.
    Criterion: Crit2.
    Basic (points 1): Crit2 text.
    Criterion: Crit3.
    Proficient (points 2): Crit3 text.
    Criterion: Crit4.
    Basic (points 1): Crit4 text.
    Criterion: Crit5.
    Proficient (points 2): Crit5 text.
    Proficient (points 2): Crit5 text.
    ' latest_comment FROM DUAL ) SELECT SUBSTR(REGEXP_SUBSTR(latest_comment,'Criterion:[^<]+', 1, n.column_value), 20) column1, SUBSTR(REGEXP_SUBSTR(latest_comment,'points [^\)]+', 1, n.column_value), 8) column2, SUBSTR(REGEXP_SUBSTR(latest_comment,'\):[^<]+', 1, n.column_value), 3) column3, SUBSTR(REGEXP_SUBSTR(latest_comment,'blockquote>[^<]+', 1, n.column_value), 12) column4, SUBSTR(latest_comment, INSTR(latest_comment, '>', -1) + 1) column5 ,n.column_value FROM t,table(cast(multiset(select level from dual CONNECT BY LEVEL <= (LENGTH(latest_comment) - LENGTH(REPLACE(latest_comment, 'Criterion:')))/10) as sys.OdciNumberList)) n ;

    Kind regards
    Bob

  • Application failure: invalid statement 4

    After upgrading to Mac OS Sierra, I get "4 the invalid statement" when running applications that worked on El Capitan (on MacBook Pro 2015). Different pages from 2009 indicate that the executable file runs a statement of unknown or not CPU supported. Other items show the incorrect return values. How is it possible for applications that work on the same machine under El Capitan?

    Y at - it new security / firewall app from Sierra which could cause this? Anyone else seeing this?

    Quote including "BREW" applications and programming tools (Haskell, cabal, maven)

    Have you checked to see if there are any available updates for applications that are giving you problems?

  • ISE 2.0 Application Server initializing state

    Hi team,

    I have update the ISE of 1.3 to 2.0 version. After the upgrade of the ISE to 2.0, that application server service is initializing state.

    Tried the steps below:

    1. application stop ise

    2. application start ise

    3 reload.

    4. install the latest patch. Patch 3.

    But, no luck

    You all sharing the output of the status of the request

    # sh application status ise/Admin

    ISE NAME STATUS PROCESS PROCESS ID
    --------------------------------------------------------------------
    Running 3477 database listener
    Server database running 39 PROCESS
    Initializing application server
    Database of Profiler running 4497
    Connector AD running 6426
    Database Session M & T performer 3007
    M & T Log Collector executes 6314
    6262 clocked M & T journal
    6223 performer certificate authority service
    SXP Engine Service disabled
    pxGrid Infrastructure Service disabled
    pxGrid Publisher Subscriber Service disabled
    pxGrid Manager of disabled connection
    pxGrid disabled controller
    Identity mapping service disabled

    Version information:

    Admin # sh ver

    Deploying applications engine Cisco OS version: 2.3
    ADE-OS Build Version: 2.3.0.187
    ADE-OS system architecture: x86_64

    Copyright (c) 2005-2014 by Cisco Systems, Inc.
    All rights reserved.
    HostName:

    Version information for the installed applications
    ---------------------------------------------

    Cisco Identity Services engine
    ---------------------------------------------
    Version: 2.0.0.306
    Build Date: Thu Oct 8 13:25:23 2015
    Installation date: Tue may 10 18:32:37 2016

    Cisco Identity Services engine Patch
    ---------------------------------------------
    Version: 3
    Installation date: Wed May 11 14:17:51 2016

    Any help on the matter would be appreciated.

    Urgent!

    Thank you... Laxmi

    How long wait until she finishes, it may take quite a long time, anything from 10-30 minutes in my experience

  • Ways to restore an application JavaFx prev State when starting

    Usually what I do is write everything in xml when you close and then restart the application, I read this XML to set everything up as before.

    Is there a newer, more average Java FX version?

    XML is nice because you can edit in a text editor and it is relatively readable.  I never liked object streaming because it does not appear to age.  But I could be updated.  Database is too cumbersome to install.  But I've never tried an integrated db.

    Thank you

    > Usually what I do is write everything in xml when you close and then restart the application, I read this XML to set everything up as before. Is there a newer, more average Java FX version?

    JavaFX introduces almost nothing for it.  However, most of the means of the 'old' is always possible.  You're probably better off doing what you usually did before.

    Not new JavaFX, an alternative that isn't used, but a lot is the Java preferences API. I don't think that should make your easy editing in a test of the text editor, but if not, you might consider it.

    HTML5 local storage functions are implemented in Web for Java 8 mode.  There are no public Java API created to access the local storage used by WebView JavaFX HTML5 (I know), so to use it, you must create a WebView and access it's JavaScript API.  So, it would be a strange thing to do.

    If you have some sort of connected app, you can save the State if the cloud (I really hate that term) - things like s3 work well for storing things.

    > I never liked object streaming because it does not appear to age.

    It works even worse with JavaFX. JavaFX properties are often used in JavaFX applications to store the State of enforcement.  JavaFX properties are not serializable, as they do not implement the Serializable interface.

    > I've never tried an embedded db

    Embedded DBs such as H2 are very easy to use JavaFX.

    For some applications, persistent in a local database integrated state storage is a good option.  Depends on the app so considerably.

  • Application VM disk Stats

    Hello, I hope someone can help with this,

    I'm trying to use the cmdlet "Get-Stat" to extract statistics of the disc for all virtual machines. I am particularly interested in the following metrics:

    • virtualdisk.totalWriteLatency.average
    • virtualdisk.totalReadLatency.average

    At the moment I'm questioning the metric explicitly, but I was wondering if there was a better way to do this where the two measures are on the same csv output.

    Also, would be nice if the result included hosts running on virtual machines.


    # Variables

    $VIServer = "vc01.local.com".

    $stat = "virtualdisk.totalWriteLatency.average".

    $vms = get - VM


    $VI = to connect-VIServer $VIServer

    Get-Stat - $vms - Stat $stat entity - Realtime - MaxSamples 1 - ErrorAction SilentlyContinue | Tri-objet-property value - descending | Select @{N = "VM"; E={$_. @entity.name}}, Instance, Value | Export-Csv C:\scripts\TotalDiskWriteLatency.csv


    Thanks for the research.

    Then try like this

    # Variables

    $VIServer = "vc01.local.com".

    $stat = 'virtualdisk.totalReadLatency.average ','virtualdisk.totalWriteLatency.average '.

    $vms = get - VM

    $VI = to connect-VIServer $VIServer

    & {Get-Stat - $vms - Stat $stat entity - Realtime - MaxSamples 1 - ErrorAction SilentlyContinue |}

    Group-object - property {$_.} @entity.name, $_. Instance} | %{

    [pscustomobject] @ {}

    VM = $_. Group [0]. @entity.name

    VMHost = $_. Group [0]. Entity.Host.Name

    Instance = $_. Group [0]. Instance

    ReadLatency = $_. Group | where {$_.} MetricId - eq "virtualdisk.totalReadLatency.average"} |

    Select value - ExpandProperty

    WriteLatency = $_. Group | where {$_.} MetricId - eq "virtualdisk.totalWriteLatency.average"} |

    Select value - ExpandProperty

    }

    }} | Export Csv C:\scripts\TotalDiskWriteLatency.csv - NoTypeInformation - UseCulture

  • Application of switch statement

    Hello

    I'm writing a Switch statement that, when executed, should the head of reading either forward or backward a few images in Flash. The switch itself statement shall be effective after a RFID card is analyzed through a RFID reader dongle.

    Here is my code so far:

    // this bit places cursor in textfield.
    stage.focus = rfidValue;
    var tempRFIDValue:String;
    
    rfidValue.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
    
    // when the rfid is read it automatically hits Enter afterwards - function is waiting that to happen.
    function keyDownHandler(event : KeyboardEvent) : void {
         if (event.keyCode == Keyboard.ENTER){          
              //Do something here
              
              tempRFIDValue = rfidValue.text;
              trace(tempRFIDValue);
              
         }
    }
         
    
    // With Switch - how to tell it to go from midtobad & midtogood?
    // For example:          use 1st Case (41003dc8d1) as Cabbage - midtogood
    //                         & 2nd Case (41003daf7c) as Oranges - midtobad
    // stop()
    // switch is now listening out for the original function and calling on it (afaik)
    switch (tempRFIDValue){
    
    case "41003dc8d1":
         trace("This is card one");
         
         break;
    
    // case "41003daf7c":
    // trace("Card2");
    // break;
    
    // case "41003d2527":
    // trace("Card3");
    // break;
    
    // case "41003dd538":
    // trace("Card4");
    // break;
    
    // case "41003dcfb6":
    // trace("Card5");
    // break;
    
    // case "010a5c92ec":
    // trace("Card6");
    // break;
    
    // case "41003d76e8":
    // trace("Card7");
    // break;
    
    }
    

    Any help or advice would be greatly appreciated

    If you use something like: gotoAndStop ("Medium"); you don't need to trigger the animation you intend, then simply place these lines of code in the case of switch...

    Switch (cardValue) {}
    case '41003dc8d1 ':
    trace ("btnSpuds");
    gotoAndStop ("Medium");
    break;

    case '41003daf7c ':
    trace ("btnOranges");

    gotoAndStop ("MediumLarge");
    break;

    etc.

  • How to maintain the same State of the application after closure and reopen the app?

    Hello

    My problem is while accessing the request, if I close and reopen the application then the previous state of the application is at a loss.  Please help me to maintian the same State of the application after close and reopen the app means reopen after application, enforcement should be focused on the last viewed item and I used the browser component if I reopen the app, then content browser also be there under the previous state.

    Advanced thanks for any help.

    One proposed by Simon is 'Close' and that you save enough information to rebuild your Application in the State was restoring it when it is reopened.

    Alternately, instead of really close your application, you could just put it on the bottom using

    UiApplication.getUiApplication () .requestbackground ();

    Once in the background, when the user selects again your application it will start immediately and will be exactly as it was left.

    This does not, of course, runs through judgment or commissioning of treatment you could want, so, for example, will not store all resources you want to put away when you know that the user is going to use your app for a while.  To help with this, look at the Application.activate () and Application.deactivate () methods.

    I hope this helps.

  • Re: HTTPS and certificate trust

    Hello everyone. I read a lot of posts in this forum on the theme of the HTTPS and I think I understand the different ways to obtain certificates on a device to avoid the message "you are trying to open a secure connection, but the server certificate is not approved.".

    My question is whether it is possible for an application to trust all certificates via APIs, in order to avoid the certificate trust whole-problem?

    In Windows Mobile and iPhone OS, you can override the logic of acceptance of certificate in the API so that an application trusted all certificates. This is useful in cases where an application needs to connect only to a private server. Is it possible in sib to override the logic of certificate, or certificate statement stuff above, outside of the app? (More precisely, I'm just using a simple object of HttpConnection MDS etc..)

    Thank you!

    -Tom B.

    There is no API that allows you to trust a certificate.  This must be done by the user or the administrator of the BlackBerry Enterprise Server.

  • LabView 2011 Application launched as COM server via the Application Delphi lance is more if installed under 64 bit, Win 7

    I have a 32-bit LabView Application written using LabView 2011, that installs and registers as a COM Active X server.  I then used the resulting type library with a 32-bit Delphi Application to launch and communicate with the LabVIEW application (Boolean change States and collect data etc.).

    All this worked fine on Windows 7 32 - bit OS but not on Windows 7 64 - bit OS.

    The LabView application seems to work on its own, The Delphi launch application will not launch it?

    I used mmc comexp.msc 32 to set up the COM server to run as servers with launch of site privileges.

    Hi Luke,.

    Thanks a lot for your answer.  I have just managed on the basis of track down the problem almost at the same time, your answer came through.

    My Delphi application is also a COM server, allowing me to start it remotely from another system.  What I forgot, it was that the remote system makes the connection to the LabView Application otherwise the local application of Delphi just is there and does nothing.  I did it it as a work-around a few years ago because I could not the remote application of Delphi to launch the labview application or attaches to it as a running instance directly.

    Thanks again

  • Could not test the application on the device in draft mode

    Hi all!

    I have an application already published for BB10 devices, and I want to add support for the Playbook and test it before release.
    In the portal provider I have download the new .bar file and select all devices (Playbook too). The application modifies the State in project mode.
    Then to the Playbook I pass the link to http://appworld.blackberry.com/webstore/content/xxxxx, where xxxxx is the application ID and see my candidacy in AppWorld, but I couldn't download and test, rather download button I have a message: this application does not support this device profile.

    What I did wrong?

    Thank you!

    I solved this problem, thanks to Garrett.

    Before you bind the application in the browser, it needs to open AppWorld and type 'tst' and press 'return '.

    After that, if a link to the application in the browser, it will be aviliable in test mode.

    http://supportforums.BlackBerry.com/T5/BlackBerry-world-development/how-to-live-testing-the-payment-...

  • How should I detect the application runs in the background?

    Hello friends,

    I use 2 statement to run the application in forground and background.

    UiApplication.getUiApplication () .requestBackground ();
    UiApplication.getUiApplication () .requestForeground ();

    I need to check my application is running in the background or forground? someone help me how should I detect that my application in what state?

    {if (condition)}

    System.out.prinltn ("application run in Background");

    }

    Else if (condition111) {}

    System.out.prinltn ("application in the foreground");

    }

    What is this condition? and condition111? Please help me with this...

    Thank you and best regards,

    Ajay Patil.

    Hello

    With the help of UiApplication.getUiApplication () .isForeground (); You should be able to determine if the application is in the foreground. Hope that helps.

  • How to lock access to the application user interface?

    Hello

    Our user interface application is configured to start automatically in the background when the BlackBerry is turned on.

    We have a configuration property (ShowUserInterface) in the application that will allow users to access the user interface by clicking on the application icon.

    Application continues to run in the background regardless of whether or not the ShowUserInterface configuration setting is 1 or 0.

    If the device is configured with ShowUserInterface = 1, the user interface does not appear to the user until the user clicks on the icon of the application. If the user closes or closes the application then it will continue to run in the background and maintain its condition.

    By clicking on the application icon again will open the application in its state of the screen.

    If the device is configured with ShowUserInterface = 0, then the user interface does not appear even when the driver click on the application icon.

    Please help how to achieve this?

    A code snippet

    public class MyApplication extends UiApplication
    {
        private Configuration config;
    
        private BackGroundThread _thread;
    
        public static boolean fromService = true;
    
        // Boot
        public static void main(String[] args) {
            if (args != null && args.length > 0 && args[0].equals("gui")) {
                // code to initialize the app by icon click
                fromService = false;
                MyApplication app = new MyApplication();
                app.enterEventDispatcher();
            } else {
                MyApplication app = new MyApplication();
                app.enterEventDispatcher();
            }
        }
    
        public MyApplication() {
            if (fromService) {
                _thread = new BackGroundThread(); // create a new separate thread
                _thread.start(); // start the thread
    
            } else {
                if (config.isShowUserInterface()) {
                    pushScreen(new LoginScreen());
                } else {
                    // what to do here?
                }
            }
        }
    }
    

    When the user clicks on the icon of the application and config.isShowUserInterface () = false in this case I'm not pushing any screen of the application. It is for me only IU lost Focus error.

    Any help will be appreciated.

    Thank you

    Look at acceptsForeground().  I think that you can simply return config.isShowUserInterface ().

  • Application error program compatibility Blackberry Desktop Manager

    I tried several times to download and run the desktop for blackberry, but after the Download Manager, it refuses to start. It displays an error message saying that it is not a valid win32 application... I need an urgent solution to this problem, because it is really frustrating. Thank you.

    Hi Said,

    What version of the BlackBerry Desktop Manager software you are trying to install?

    I suggest to install the latest version of the software from the following link and check.

    https://swdownloads.BlackBerry.com/downloads/contactFormPreload.do?code=A8BAA56554F96369AB93E4F3BB068C22&DL=A2C0D61EB187AB3AFD247A852FAD3647

    First check if the id of the system meets the minimum requirements to install the application.

    http://in.BlackBerry.com/software/desktop/desktop-PC/system-requirements.html

    If it meets the requirements of the system, then follow these methods one after the other and check.

    Method 1:

    You can try to install the application in the State of clean boot and check.

    Clean boot: To help resolve the error and other messages, you can start Windows by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    How to perform a clean boot for a problem in Windows 8, Windows 7, or Windows Vista

    http://support.Microsoft.com/kb/929135

    Note: Please refer to the section: How to reset the computer to start as usual after a clean boot troubleshooting section of Kb to start the computer to a normal startup after you fix the problem

    Reference:

    http://social.technet.Microsoft.com/forums/Windows/en-us/5c2d961c-ad57-452D-B031-382639eecf93/BlackBerry-Desktop-Manager-not-OK-with-7

    Method 2:

    I would suggest to run clean and check disk. Here is the link that explains how.

    Delete files using disk cleanup

    http://Windows.Microsoft.com/en-us/Windows/delete-files-using-disk-cleanup#delete-files-using-disk-cleanup=Windows-7

     

    Reference:

    http://supportforums.BlackBerry.com/T5/BlackBerry-Curve/BlackBerry-Desktop-Manager-download-quot-not-valid-Win32/TD-p/176798

     

    Method 3:

    I suggest to refer to the article and follow the steps.

    Internal error 2738. Could not access VBscript appears when you install BlackBerry Desktop Manager

    http://btsc.webapps.blackberry.com/btsc/viewdocument.do;jsessionid=811178AF3EAC67C9047F96E84E18C9D7?externalId=KB03490&sliceId=1&cmd=displayKC&docType=kc&noCount=true&ViewedDocsListHelper=com.kanisa.apps.common.BaseViewedDocsListHelperImpl

    Note: this also applies to Windows 7.

     

     

    Reference:

    http://supportforums.BlackBerry.com/T5/desktop-software-for-PC/BlackBerry-Desktop-error-not-a-valid-Win32-application-help/TD-p/1004265

    http://supportforums.BlackBerry.com/T5/desktop-software-for-PC/BlackBerry-Desktop-Manager-is-not-installing/TD-p/1833581

    Let us know if you have other questions related to the issue. We would be happy to help you.

  • Application migration from one instance to another apex.

    Hello

    I am currently migrating applications to the apex of one instance to another. APEX version is 3.0.1.

    I could install apex and recreate the workspaces in the new instance, but I have problems exporting applications.

    -APEX is not listed in SQL Developer, when I browse to the schema.

    -I'm not able to export with APEXExport.class, I get

    Exception in thread "main" java.lang.AbstractMethodError

    to _Jv_MakeVTable (java.lang.Class) (/ usr/lib/libgcj.so.5.0.0)

    to _Jv_PrepareClass (java.lang.Class) (/ usr/lib/libgcj.so.5.0.0)

    to _Jv_WaitForState (java.lang.Class, int) (/ usr/lib/libgcj.so.5.0.0)

    to java.lang.VMClassLoader.linkClass0 (java.lang.Class) (/ usr/lib/libgcj.so.5.0.0)

    to java.lang.VMClassLoader.resolveClass (java.lang.Class) (/ usr/lib/libgcj.so.5.0.0)

    at java.lang.Class.initializeClass () (/ usr/lib/libgcj.so.5.0.0)

    to oracle.jdbc.driver.OracleStatement.executeQuery (java.lang.String) (unknown Source)

    at oracle.jdbc.dbaccess.DBAccess.setNlsParamsClient (oracle.jdbc.driver.OracleConnection) (unknown Source)

    at oracle.jdbc.ttc7.TTC7Protocol.initNls (oracle.jdbc.driver.OracleConnection) (unknown Source)

    at oracle.jdbc.driver.OracleConnection.OracleConnection (oracle.jdbc.dbaccess.DBAccess, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties) (unknown Source)

    to oracle.jdbc.driver.OracleDriver.getConnectionInstance (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties) (unknown Source)

    to oracle.jdbc.driver.OracleDriver.connect (java.lang.String, java.util.Properties) (unknown Source)

    at java.sql.DriverManager.getConnection (java.lang.String, java.util.Properties) (/ usr/lib/libgcj.so.5.0.0)

    at java.sql.DriverManager.getConnection (java.lang.String, java.lang.String, java.lang.String) (/ usr/lib/libgcj.so.5.0.0)

    -I'm not able to export using the interface of the apex, because they are not listed.

    Any clue?

    Thank you

    Cyrille

    I answer myself

    The application needed to be "Run and build the Application" in the State to build to be seen.

Maybe you are looking for