Unable to get the API to return the correct value

Hello

You can someone help me?

I use the API below to check the amount of data received and sent by bb10 but it didn't do anything.

QNetworkConfigurationManager: DataStatistics returns 0

Best regards

Jonathan

Welcome on the support forums.

We did some digging last week and finally found a solution.
See
http://supportforums.BlackBerry.com/T5/native-development/network-traffic/TD-p/2287487

Tags: BlackBerry Developers

Similar Questions

  • Present do not get the correct values

    Apex 4.2

    THAT IS TO SAY 8

    Theme 21

    I just upgraded a request from 3.2 to 4.2

    A page has had a lot of text to read only the value always.

    A running a process I got this error

    So I put my items to display only and read to null

    When the page opens all values are set correctly in session state

    My process works well, but when the process terminates and then check out the session state, my articles do not receive the correct values

    I looked into debugging accept

    All ideas

    Gus

    I changed all my articles to text, but after sending, they continue to receive the false values

    Gus

  • Unable to get the correct rules table result when the State is unknown

    Hi all

    I use OPA version 10.4. I'm writing a rule by using a table of rules. Requirement is such that when the State is unknown then conclusion should evaluate to 'Others' (for example). Now, I have a condition (text) attribute and attribute of conclusion (text). Now when the condition attribute value is "abc" then attribute of the conclusion must be "xyz" but when the condition attribute is 'unknown' or anything else then attribute conclusion must be 'other '. I tried to implement this in the two table rules in word doc and also in excel table of rule but failed to get the desired result. It assesses the 'unknown' conclusion when the condition attribute is 'unknown '. Please suggest.

    Thank you

    Mounia

    ruleTable3.JPG

    ruleTable2.JPG

    Hi Pascal,.

    As the table of treaty rules the rules in the top-down approach, so the 'unknown' State should be written before the value condition.

    If she meets the condition of value firstly she neglects the unknown state and gives the value of the conclusion as 'unknown '.

    Hi Sean,.

    Want your comments on that.

    See you soon,.

    Arup

  • Unable to get the correct results.

    Hi friends,

    I have a table xx_history1. It's the DOF is
     CREATE TABLE "XX_HISTORY1" 
       (     "EMP_NO" NUMBER(30,0), 
         "OLD_MRG_ID" NUMBER(30,0), 
         "NEW_MGR_ID" NUMBER(30,0)
       ) 
    It's the DML is
    Insert into XX_HISTORY1 (EMP_NO,OLD_MRG_ID,NEW_MGR_ID) values (279,262,280);
    Insert into XX_HISTORY1 (EMP_NO,OLD_MRG_ID,NEW_MGR_ID) values (283,280,262);
    My scenario is I need to display full_name corresponding employee in the tables of xx_history instead of referring to the emp_no, the old_mrg_id, the new_mgr_id with the id of the table.


    To display the respective employee name and eat instead of the id in the GI table using two tables

    < li > xx_people1-> where the person_id is present.
    < li > xx_assignments-> where the employee is present.

    xx_people1 DDL is
     CREATE TABLE "XX_PEOPLE1" 
       (     "PERSON_ID" NUMBER(10,0), 
         "FULL_NAME" VARCHAR2(240 BYTE), 
         "BUSINESS_GROUP_ID" NUMBER(15,0), 
         "PERSON_TYPE_ID" NUMBER(15,0)
       ) ;
    DML
    Insert into XX_PEOPLE1 (PERSON_ID,FULL_NAME,BUSINESS_GROUP_ID,PERSON_TYPE_ID) values (262,'Steve Heighway',216,5145);
    Insert into XX_PEOPLE1 (PERSON_ID,FULL_NAME,BUSINESS_GROUP_ID,PERSON_TYPE_ID) values (279,'Christian Poulsen',216,5145);
    Insert into XX_PEOPLE1 (PERSON_ID,FULL_NAME,BUSINESS_GROUP_ID,PERSON_TYPE_ID) values (280,'Pepe Reina',216,5145);
    Insert into XX_PEOPLE1 (PERSON_ID,FULL_NAME,BUSINESS_GROUP_ID,PERSON_TYPE_ID) values (283,'Sotirios Kyrgiakos',216,5145);
    xx_assignments table DDL is
    CREATE TABLE "XX_ASSIGNMENTS" 
       (     "PERSON_ID" NUMBER(10,0), 
         "SUPERVISOR_ID" NUMBER(10,0)
       );
    DML is
    Insert into XX_ASSIGNMENTS (PERSON_ID,SUPERVISOR_ID) values (262,248);
    Insert into XX_ASSIGNMENTS (PERSON_ID,SUPERVISOR_ID) values (279,262);
    Insert into XX_ASSIGNMENTS (PERSON_ID,SUPERVISOR_ID) values (280,263);
    Insert into XX_ASSIGNMENTS (PERSON_ID,SUPERVISOR_ID) values (283,280);
    I tried with the sub query, but it does not work as expected
    select decode(xx.emp_no,xx.emp_no,papf.full_name,null)"Employee Name", decode(xx.old_mrg_id,xx.old_mrg_id,supf.full_name,null)"Old Manager Name",
    decode(xx.new_mgr_id,xx.new_mgr_id,supf.full_name,null)"New Manager Name"
    from xx_history1 xx, xx_people1  papf, xx_people1 supf, xx_assignments paaf
    where xx.emp_no=papf.person_id
    and papf.person_id = paaf.person_id
    and paaf.supervisor_id = supf.person_id and xx.emp_no = paaf.person_id 
    and papf.business_group_id = 216 and papf.person_type_id = 5145 and xx.new_mgr_id is not null
    The result I got is
    Employee Name---------Old Manager Name----New Manager Name
    Christian Poulsen------Steve Heighway-------Steve Heighway
    Sotirios Kyrgiakos-------Pepe Reina-------------Pepe Reina
    But new manager name is not intervene correctly for me, according to my data in the table in xx_history1

    I have to get the name of the Manager again as
    Pepe Raina
    Steve Heighway
    But im getting like
    Steve Heighway
    Pepe Raina
    I don't know where I was wrong. Where im late in development.

    Brgds,
    Mini

    Got confused on the data in XX_ASSIGNMENTS, because 262 > 248 (employee) 283 > 280 (Manager)

    But XX_HISTORY1 262 > 280 (new id mgr) and 283 > 262 (new id mgr)

    Since you just need names of people to be shown, you can use below...
    the use of a different join instead of XX_ASSIGNMENTS xx_people1

    select decode(xx.emp_no,xx.emp_no,papf.full_name,null)"Employee Name",
     decode(xx.old_mrg_id,xx.old_mrg_id,supf1.full_name,null)"Old Manager Name",
    decode(xx.new_mgr_id,xx.new_mgr_id,supf.full_name,null)"New Manager Name"
    from
    xx_history1 xx, xx_people1  papf,xx_people1 supf,xx_people1 supf1
    where xx.emp_no=papf.person_id and xx.old_mrg_id=supf1.person_id
    and xx.new_mgr_id=supf.person_id and papf.business_group_id = 216 and papf.person_type_id = 5145 and xx.new_mgr_id is not null;
    

    Published by: Leonard November 1, 2011 05:26

  • I have an Acer Iconia Tablet W510. I am unable to get the correct auto (/ orthographic dictionary) to work

    I can't figure out how to auto correct work... any of you have any suggestions for me.

    A misspelled word will get highlighted (red), but I can not understand how to correct spelling.

    Help!

    Thank you...

    I have long pressed and saw that I had to check the spelling of the text off-screen audited... do otherwise... Ask Google for suggestions.  There is also a link to the language settings.  Thank you to help me with this...

  • Unable to get the windows updates, it returns an error (often 0x8007043c and other similar)

    Original title: can't get windows updates

    I was unable to get the updates of windows - via the feature of automatic update, or through the manual method to access microsoft.com.  When I go to the microsoft update Web site, and it starts to scan my PC, it returns an error (often 0x8007043c and similar).  I tried to run Microsoft FixIt.  It tells me that windows up-to-date devices require to be repaired, but when I run the repair (problem-solving), he continues to run for hours and hours and doesn't do a thing.  How can I remove the software from the Windows Update Agent from my PC and reinstall a new version?

    Hi JosephGPhD,

    ·         Did you do changes on the computer before the show?

    Follow the suggestions below for a possible solution:

    Method 1: I suggest you to follow the steps in the Microsoft Knowledge Base article and check.

    You receive an error message "0x800A01AE" or a "0 x 080070570" error message when you try to connect to the Windows Update Web page or to the Microsoft Update Web page in Windows Server 2003 or Windows XP

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

     

    Method 2: If the method above does not help then you can see the article mentioned below and check.

     

    You cannot install some programs or updates

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

    Let us know if that helps.

  • I'm unable to get the registration code for my Blu - Ray player

    I'm unable to get the registration code for my Blu - Ray player. I followed the instructions and all I get is the statement: device is registered. I can't register for the most part without a valid code. Please let me know how I can get the correct code. Thank you

    If you were able to enter the registration code the first time you tried to save the player before then you don't need to do it again. Just bought this drive? If so, was it a screen or mixed open-box model?

  • Unable to get the Bluetooth Toshiba BT Stac Headset profile in collaboration with mic

    Hello.

    I have problems with my Motorola HT 820 Stereo headset, the Toshiba Bluetooth Stack installed on Vista Home Premium 32 bit laptop.

    I am unable to get the microphone to work at all, so can't use it for Skype / VOIP calls etc. Features such as the A2DP and AVRCP work very well, and I can listen to music via the media player without problems.

    I read in a FAQ on this site, to make sure that I use the installation option custom rather than the quick installation when adding the device, but it seems to make no difference, am I missing a step here?

    In the properties of the device Windows registry, I see the option listed for Bluetooth Mic, but even assigning as device by default does not work.

    I know to plug my headphones on my desktop PC that uses the bluetooth stack Widdcom, can I use the headset/microphone function, but this battery seems to work differently, as I can select option headphones in the bluetooth settings, but I don't see such an interior option Toshiba stack - and I think that's the problem.

    I've updated to the last stack of Toshiba on this website, but this did not help at all.

    Here, any help would be appreciated.

    Concerning

    Matt

    Post edited by: Toxyturvy - wrong spelling

    Hello Matt

    Unfortunately I can't help you with that, but if I remember right here on the BT section that someone has already asked something similar. Please take a little time and see the BT section on this forum.

    You can also visit the FAQ section on http://aps2.toshiba-tro.de/bluetooth/
    Might find something there.

    Good luck!

  • Unable to get the windows updates. Get error code 80072EFE. Help!

    Unable to get the windows updates. Get error code 80072EFE.  Help!

    Gary,

    ERROR_INTERNET_CONNECTION_ABORTED 80072EFE

    You may experience temporary errors related to connection when you use windows update or microsoft update to install updates http://support.microsoft.com/kb/836941

    by running the Fixit on this page, you can reset to windows update components.  but, if there is malware present, she will continue to reset the connection to the update servers: how toreset windows update components

    suggest you download and save the Fixit.  then conf is the boot vlean system before you run it:http://support.microsoft.com/kb/971058

    How to troubleshoot a problem by performing a clean boot in Windows Vista/Windows 7http://support.microsoft.com/kb/929135

    Once the Fixit has been downloaded and the system is started in the pure State, check that the native vista firewall is now on if a 3rd party firewall has been used previously.  now run the Fixit and choose the default mode.  restart once it's done and see if the system can be connected to the update servers. If he can't, then rerun the Fixit and choose aggressive mode.  turn it back on when he finished the race and updates.

  • Unable to get the automatic updates of Windows.

    Suddenly I'm unable to get the automatic updates of Windows.  When I use Windows fix - it, it is unable to do so, stating that automatic update components need repair.  Is there a way to repair the components?

    Hi Robert,.

    Reset windows update components.

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

    Use the automated fix solution, then check windows update to see if it works.

    Additional information: If you are not fully patched for Windows XP SP3, download and install Windows XP SP3 from the link below.

    Windows XP SP3.

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=24

    Ignore the warning text on the professionals and the network installation.

  • I reinstalled Windows XP service pack 2-64 bit and now I am unable to get the Windows Update

    I reinstalled Windows XP service pack 2-64 bit and now I am unable to get the Windows Update. Updates are more automatic since the installation and now I get the following message if I try to update manually. Help!

    The website has encountered a problem and cannot display the page you are trying to view. The options provided below may help you solve the problem.

    For self-help options:

    To support options:

    SP3 is only for 32-bit versions of Windows XP. OP has the 64-bit version of XP Pro...

  • Unable to get the Windows updates. Activation of Windows icon "this copy of Windows is not activated." Cannot be enabled. Please notify.

    I was using Windows XP Professional for over 3 years with no problems. I get Windows updates automatically recently, I am unable to get the Windows updates. Activation of Windows icon is now displayed "this copy of Windows is not activated. What is going on?  Tried to reactivate without success.

    I tried with the key of product without success. Please notify. Thank you, Mark to * address email is removed from the privacy *

    I was using Windows XP Professional for over 3 years with no problems. I get Windows updates automatically recently, I am unable to get the Windows updates. Activation of Windows icon is now displayed "this copy of Windows is not activated. What is going on?  Tried to reactivate without success.

    I tried with the key of product without success. Please notify. Thank you, Mark at * address email is removed from the privacy *.

    Click HERE. Follow the instructions. I recommend to use Guided Help.

  • Fix it fails Center with the error: unable to get the catalog of the troubleshooter. Error MatsGetSapCatalog failed

    Original title: Fix it center fails.

    Difficulty Center fails with the error:
    Unable to get the catalog of the troubleshooter. Error MatsGetSapCatalog failed
    I can't find the url of re - download.
    It doesn't seem to be at the Download Center.
    Thank you
    Frank C

    Vista Ultimate 64 bit sp2

    CF. http://answers.microsoft.com/en-us/protect/forum/mse-protect_scanning/scanning-engine-has-stopped-responding/e0f84bec-2555-4279-bfb7-aff691b8ba8d

  • Unable to get the upgrade to Windows 7 purchased to start

    I bought an upgrade to a provider. I have acquired a product key. I invoke Windows Anytime Upgrade according to the directions and the only option is to upgrade to Vista. Then I went to the Microsoft page to buy the product. I have Vista 64-bit with all updates installed on my Toshibe Satellite computer. I ran the Upgrade Advisor and everything was satisfactory.

    Unable to get the upgrade to Windows 7 purchased to start

    I call Windows Anytime Upgrade according to the guidelines

    I have Vista 64-bit

    Windows 7 anytime upgrade: you have Vista or XP currently installed?

    If the product you have Windows 7 'Anytime Upgrade' does not allow to move from XP/Vista to Windows 7. You can buy the product at retail of Windows 7 Upgrade not the ' Anytime Upgrade '.

    Windows 7 'Anytime Upgrade' is for moving from one version of Windows 7 to a higher version, such as Windows 7 Home Premium to Windows 7 Professional.

    You can buy Windows 7 here:

    http://www.microsoftstore.com/store/msstore/cat/CategoryID.44066700

  • Unable to get the parameter by using a controller in the OPS

    Hello!

    I am new to using the OPS and will very much appreciate your help!

    FYI:

    Basically, I need to add 2 descriptive flexfields in a page (by creating a VO) and I need to update the table with the data stored on these de facto forces (I did all the logic already).

    I created a (CO) controller that calls a method that is declared in an application module (AM) that runs a stored procedure (CO and the AM were created by me and that they extend a standard CO and I am).

    Problem:

    However, updated just before... I'm having a problem because I can't get a parameter using paramContext.getParameter("reqHeaderId"). who will help me to identify which line I need to update.

    Because the statement is not capture the value, it returns a null value, and I got the following error when I try to convert it to a number in: oracle.apps.fnd.framework.OAException: java.lang.NumberFormatException: null

    It is really important to mention that, before we get to the page where I clicked the Send button that makes the logic mentioned... There are 2 pages before that where I'm trying to capture the setting and the required parameter is defined on the 1st page. I have been checking each standard CO 3 pages and they use the statement pageContext.putParameter ("reqHeaderId"); to switch between the 3 pages (as far as I know, if not please correct me). On the 3rd and last standard CO that it uses pageContext.getParameter ("reqHeaderId"); to get the value and make another logic.

    So why Im not getting the value if I do the same thing (pageContext.getParameter ("reqHeaderId") ;) on my xxController (which extends the standard co)?


    Here is the code of the controller:

    public class xxController extends standardController {}

    ' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)

    {

    super.processRequest (pageContext, webBean);

    }

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)

    {

    super.processFormRequest (pageContext, webBean);

    String str;

    Str = pageContext.getParameter("_FORM_SUBMIT_BUTTON");

    If ((str! = null) & & (str.equals ("SubmitButton")))

    {

    String ReqHeaderId = pageContext.getParameter ("reqHeaderId");

    String ReqLineId = pageContext.getParameter ("reqLindId");

    [Serializable] Parameters = CLIENT1

    {

    ReqHeaderId

    ReqLineId

    pageContext.getParameter ("xxavtBienServicio") //dff

    pageContext.getParameter ("xxavtAttribute3") //dff

    };

    String var = (String) am.invokeMethod ("updateAttributes", parameters CLIENT1);    updateAttributes is the method that converts it to ReqHeaderId number and runs my stored procedure

    }

    }

    }

    Thank you in advance for your help!

    Hello

    I found the reason why I have problems to get the needed values.

    The reason was that the given property has been set to false in order to use pageContext.getParameter must be set to true. So, I went ahead and created as a "value of the form" this way I could put the melted property and keep the hide at the same time field.

    Thanks for your help!

  • Error: Unable to get the 'platform' of undefined reference property or null

    I am updating a Web site on a computer that had Dreamweaver Cs4 installed as a transfer file from another computer. I get an error (unable to get the 'platform' of undefined reference property or null). The current computer has Windows7. How to upgrade to the operation of the platform within the program? What is the problem?

    What are you trying to do exactly?

    Files created in DW are not specific platform (they are just .html, .css, .js, etc.), but the program itself is when it's one of the older versions of perpetual license / disc.

    Adobe does not swap the platform for something else that current versions, however the current version (PCOC 2014) is not really specific platform more since you can have it installed on two machines, regardless of the platform. So, basically, ranking/cross-platform interchange is not permitted more.

    Product order | Platform, language Exchange

Maybe you are looking for