×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Apr 2013
    Posts
    4

    Data Usage of apps on series 40 devices

    Is there any api by which one could retrieve the wifi and mobile(GPRS and 3G) data used by individual apps on a nokia asha device? I have been looking for a solution for this for a few days but haven't found anything.

    Any help would be appreciated.

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,569

    Re: Data Usage of apps on series 40 devices

    As far as I'm aware, there are no such APIs.

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    686

    Re: Data Usage of apps on series 40 devices

    I'm assuming you mean the data consumption of each app, if so then there is no such API.

  4. #4
    Registered User
    Join Date
    Mar 2013
    Location
    United Kingdom
    Posts
    161

    Re: Data Usage of apps on series 40 devices

    The default counter app on the Asha line of phones that let's you get an overall picture of data usage on a mobile network - this might be useful to you for rudimentary testing.

  5. #5
    Registered User
    Join Date
    Apr 2013
    Posts
    4

    Re: Data Usage of apps on series 40 devices

    Is there any mechanism of doing this on Symbian S60 3rd/5th Ed? There are data connection log counters APIs which provides data downloaded on WLAN/GPRS but do they support any mechanism by which we can obtain information of per app download data. Thanks

  6. #6
    Registered User
    Join Date
    Jan 2005
    Location
    Italy
    Posts
    639

    Re: Data Usage of apps on series 40 devices

    Quote Originally Posted by kurmasys View Post
    Is there any mechanism of doing this on Symbian S60 3rd/5th Ed? There are data connection log counters APIs which provides data downloaded on WLAN/GPRS but do they support any mechanism by which we can obtain information of per app download data. Thanks
    As far as I know there isn't such possibility, not even in Symbian C++ (in Symbian C++ you can count "per connection" data traffic, but since a connection can be shared among different applications that doesn't solve your problem)
    br
    pg

  7. #7
    Registered User
    Join Date
    Apr 2013
    Posts
    4

    Re: Data Usage of apps on series 40 devices

    Quote Originally Posted by pavarang View Post
    As far as I know there isn't such possibility, not even in Symbian C++ (in Symbian C++ you can count "per connection" data traffic, but since a connection can be shared among different applications that doesn't solve your problem)
    br
    pg
    Thanks pavarang for your response. Can you please elaborate how I can count on "per connection" data traffic? I can think of having some workaround in what I want to achieve.

  8. #8
    Registered User
    Join Date
    Jan 2005
    Location
    Italy
    Posts
    639

    Re: Data Usage of apps on series 40 devices

    Hello,
    this is the java section of the forum, and my answer is about Symbian C++, but moderators will decide on it :-)

    These are the links to start:
    http://www.developer.nokia.com/Commu...tUintAttribute
    http://www.developer.nokia.com/Commu...-for-a-Session

    AFAIK you can't directly call Symbian C++ from Java, you could write a Symbian C++ exe that communicates via local socket with your midlet.... but it would be like killing a mosquito with a bomb

    regards
    pg

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,738

    Re: Data Usage of apps on series 40 devices

    And an article for the Java-C++ communication part: http://www.developer.nokia.com/Commu..._ME_on_Symbian

  10. #10
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: Data Usage of apps on series 40 devices

    Quote Originally Posted by abhijit.singh View Post
    Is there any api by which one could retrieve the wifi and mobile(GPRS and 3G) data used by individual apps on a nokia asha device? I have been looking for a solution for this for a few days but haven't found anything.

    Any help would be appreciated.
    You need to instrument the network code in each of the application under test which you monitor for network usage bytes send/received and write it in some public log file.

    This file can be read by your another app, that can display this aggregated info app wise when needed.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

Similar Threads

  1. Applications data usage
    By sevdotcom in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2010-12-13, 11:34
  2. Memory Usage more with S40 devices
    By muralidharvvk in forum Mobile Java General
    Replies: 6
    Last Post: 2008-06-03, 08:23
  3. Socket usage throws a security exception on Nokia devices.
    By tamboss2 in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2005-09-01, 16:24
  4. PointerCursor usage in Series 80
    By bruce0653 in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-02-21, 21:29
  5. Setting up demo apps of 7210 midlets for website usage
    By dwneonstar in forum Mobile Java General
    Replies: 2
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×