How to check the total of the data sent and received via Web Service

Hi guys

I develop an application that receives data on about from server using the Web Service. Any fast way I can find total data sent to the server and the total of the data received from the server by my application?

Any help would be much appreciated.

Pinsard

Check this thread:

http://supportforums.BlackBerry.com/T5/Java-development/calculate-data-usage-for-particular-applicat...

It could be that useful...

Tags: BlackBerry Developers

Similar Questions

  • Data sent and received by app

    long no_of_packet_sent = RadioInfo.getNumberOfPacketsSent ();
    long no_of_packet_recieved = RadioInfo.getNumberOfPacketsReceived ();

    packet_sent = new LabelField ("amount of packets sent:" + no_of_packet_sent);
    Add (packet_sent);

    packet_recieved = new LabelField ("amount of the packets received:" + no_of_packet_recieved);
    Add (packet_recieved);

    Hey all

    The above code returns the amount of data sent and received (in bytes from what I understand)

    I want to collect the data sent and received by the application, under the code gives me only one name of the Application:

    ApplicationManager Manager = ApplicationManager.getApplicationManager ();
    ApplicationDescriptor descriptors [] = manager.getVisibleApplications ();
    ApplicationDescriptor descriptor = ApplicationDescriptor.currentApplicationDescriptor ();
    String visible_apps = descriptors [0] .getName ();
    String current_apps_Descr = descriptor.getName ();

    Descriptor = new LabelField ("descriptor:"+ visible_apps ");
    Add (Descriptor);

    1. is there a specific function to retrieve data sent & received by app or how should you go about it?

    2. What am I doing wrong in the second part of the code that it displays all running applications?

    The guidelines would be apreciated.

    Thank you

    lol the methods you listed are the only way, there is no other, more information available.

    regarding the second question (better use a thread to one of the questions next time):
    ApplicationDescriptor descriptors [] = manager.getVisibleApplications ();
    This line gets you a table. You can use descriptors.length to check the size and a loop (for example) to iterate over it.

  • Anyone know how to check the date of warranty until when?

    Anyone know how to check the date of warranty until when?

    https://checkcoverage.Apple.com/Jo/en/;JSESSIONID=9pJ0X9pFPJtNg3c44yDGCvk9pVpt5l QSgn4B60y4Skv1WfmnqMkF!-1840326800

  • How to recover the data pin and a location for visitors to the Web site

    need help

    I'm doing a project with asp.net blackberry

    How to recover the data pin and a location for visitors to the Web site when he pressed the button on the web using asp.net?

    so far, this is the only code that works for me to get a location in a web widget:

    http://docs.BlackBerry.com/en/developers/deliverables/17954/CS_Retrieving_a_GPS_loc_by_using_a_web_p...

  • How to check the data file is set to unlimilted autoextend

    S/N,

    Oracle version: 10.2.0.4
    OS: linux

    could someone tell me how can I check the data file are set to unlimited autoextend?

    Thank you
    Bahadur.

    Salvation;

    Pelase see:
    How to check the CanGrow data files the value of Maxsize unlimited [ID 468096.1]

    Respect of
    HELIOS

  • How to check the date valid?

    Hello

    I have a stored procedure that has a parameter of type varchar data entry. This parameter is actually a date, now I want to check whether this parameter is a valid date. My version of oracle's 10g. I tried ISDATE() built-in but my version of oracle does not support.

    Can ppl help please how?

    Concerning

    Frébault

    Hello Marie Lise.
    Here is the code example that you can do to check the Date. Create a function for this, hope this helps

    CREATE OR REPLACE FUNCTION F_DATE(v_date IN VARCHAR2) RETURN NUMBER IS
        v_date1 DATE;
    BEGIN
        select to_date(v_date) into v_date1 from dual;
            RETURN 1;
        Exception WHEN Others THEN
            RETURN 0;
    END;
    ----------------------------------------------
    SELECT F_DATE('01-JAN-09') FROM DUAL;
    -- Returns 1
    SELECT F_DATE('111111') FROM DUAL;
    -- Returns 0
    

    Please indicate if it helps you or correct
    Kind regards
    Danish

  • How to check the CPU usage and paging using LabVIEW

    Hi guys,.

    I build an application that is used to check the CPU usage and paging using LabVIEW. How can I do?

    any help, suggestions or advice will be greatly appreciated...

    Kind regards

    Prashant

    Hello

    If you plan to build your app for Windows, you can use .NET classes. (System.PerformanceCounter), there is a simple example with LabVIEW:

    C:\Program NIUninstaller Instruments\LabVIEW 2010\examples\comm\dotnet\SimpleTaskMonitor.llb

    Also, you have several screws that you can use to verify information about the processor.

    Kind regards

  • My native BB app, how to connect to the remote URL and call a Web service method to retrieve the XML base result using Eclipse Version 3.7.2

    Hello

    I am new to the development of native applications from BB using JDE. I'm testing Simulator. From my native BB app, I connect a remote URL and call a Web service method to extract some basic result XML.

    I need to write a login code remote URL to achieve? If so, how?

    So, how can I use this connection object to call the Web service from this URL remotely.

    Please help me out of it...

    Many thanks in advance...

    What i am doing is, On clicking the "Login" button i want to call the webservice method like below mentioned code...
    Here WaveServices is a class and getAllCinemas() is a static method inside which a webservice method call is made..
    
    loginButtonField.setChangeListener(new FieldChangeListener() {
                public void fieldChanged(Field paramField, int paramInt) {
                    WaveServices.getAllCinemas();
                }
            });
    

    Indeed, the question was raised and answered here:

    http://supportforums.BlackBerry.com/T5/Java-development/from-my-native-BB-application-how-to-connect...

  • How to check the date of last used database?

    We have a few databases are not used for a long time. How we can check the last date of use?

    I tried scn_to_timestamp (max (ora_rowscn)), does not, because scn_to_timestamp SNA must be not more than 5 days.
    I tried DBA_TAB_modifications, but we have not defined monitoring.

    Thank you very much

    SkyRiver

    How we can check the last date of use?

    If apps/user to connect through earpiece, you can look in the newspaper of the listener.

  • How to check the data that are not digital?

    I have a varchar field and I would check for all of the lines where it does not contain a numeric value. How can I achieve this?
    Thanks in advance.

    One option is to write a small function

    CREATE OR REPLACE FUNCTION is_numeric( p_str IN VARCHAR2 )
      RETURN NUMBER
    IS
      l_num NUMBER;
    BEGIN
      l_num := to_number( p_str );
      RETURN 1;
    EXCEPTION
      WHEN others THEN
        RETURN 0;
    END;
    

    only then can you call

    SELECT *
      FROM some_table
     WHERE is_numeric( some_string_column ) = 0
    

    Of course, you can adapt the function to return the numeric value rather than a 1 or a 0 more.

    Justin

    Published by: Justin Cave on June 21, 2011 18:15

    Depending on the version of Oracle (which you don't mention), you can also write a regular expression to search for things other than numbers. This can become a little difficult if you have to manage commas and dots as decimal separators and grouping because different regions use the symbols differently and have different rules about what are valid models.

  • How to check the data stored in the database sqlite in black berries.

    Am a newcomer to the black berries and LL hel me how to learn quickly. Wite a few good ways to study black berry quickly.

    Hi dembele,.
    Welcome to the world of BlackBerry,

    See this link, that every thing is there.

    http://supportforums.BlackBerry.com/T5/Java-development/useful-links-for-novice-and-experienced-Prog...

  • How to disable the Date/time and the side Pop out window of Windows 8.1

    When I move my cursor/arrow on my touchpad on my laptop 11 flow through the office, or sometimes on a web page, for example, the date and time pop - up down to left and the research / action / start / devices / Setup window appears on the right side of the screen. It makes me crazy. How can I disable this feature of the software?  If I need them, I can simple enter the windows on the bottom of the screen icon. In its current form, it is playing all the time and I want to turn it off. Thank you.

    HP PC laptop flow 11 model: 11-d010nr, product number: K2L95UA #ABA, file system NTFS, Intel Celeron CPU N2840 2.16 GHz, RAM 2.00 GB, 64-bit x 64 based processor, 8.1 with Bing Windows operating system, HP USB 3.0 flash drive 128 GB, Sandisk Ultra SDHC 32 GB FAT 32 memory card

    Hello @BubuBaby,

    Thank you for visiting the HP Forums! A place where you can find solutions for your problems, with the help of the community!

    I stumbled upon your post on the laptop and wanted to help you! I looked in your question about your HP Notebook PC 11 workflow and settings of Touchpad not working not properly. You can disable the popup of charms by right-clicking on the desktop go to properties. In the properties of Navigation window and the taskbar, click the Navigation tab and uncheck the box - when I point to the upper right corner, show the charms.

    Here is a document on how to troubleshoot the Touchpad, if you need it.

    If you proceed to the section setting of TouchPad pointing the sensitivities it should help solve the problem. Enable or disable individual gestures by clicking the check box next to each item. A check mark in the check box indicates that the gesture is turned on.

    Hope this fixes the Touchpad settings.

    Thank you.

  • How can you unpack the emails and bring them back to date sent and received?

    I downloaded two files to the box with FolderLink and once I sent the e-mail of my emails in my Inbox started immediately to compact. I don't know that it will probably continue to my Inbox, sent, etc.. How to reverse this trend and to bring them to sent date and the date of receipt? Thanks V.

    _ http://KB.mozillazine.org/Thunderbird: _Tips_:_Compacting_Folders

  • To access the data in pages ADF (.jspx) Web Service

    I have developed a .jspx page in the human task BPM from ADF.
    Now, I want to extract data LOV web service for one of the field. Can you please help.

    1. speak your version of JDev.
    2 Goto page editor, select selectOneChoice.
    3 Goto Inspector, find property "UnselectedLabel", the value "nothing selected".
    4 restart your application and see if it makes a difference. If this isn't the case, poster of the pieces of your code.

  • How to check the date of renewal of iCloud (paid)?

    I'm completely lost. I'm sure I checked everywhere (settings iCloud, info account Apple ID, menu 'manage subscriptions', etc) but I can not find my subscription renewal date to 50 GB of extra storage. Of course, I could get my mail Inbox, but I well enough to remove all the ads/receipt of Apple without reading them, so it's not an option for me.

    Any ideas?

    Thank you

    Adam.

    I believe that it is in your purchase history: see your purchase history in iTunes on Mac or PC - Apple Support store

Maybe you are looking for