BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-17-2009, 02:49 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default getting programatically infos about the cost (and period or number) of talk/sms

Please Login to Remove!

hi, i was wondering-if it is possible to get programatically such informations:

- number of smses sent
- number of mms sent
- how long user was talkig
- how much user has payed for the talk/sms/mms-basing on user's tariif; is it possible to get programatically user's tariff?


kind regards
Offline  
Old 06-18-2009, 02:44 PM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

- number of smses sent
- number of mms sent

The above two you may be able to get by traversing the mail folders, play with the Mail api classes I've not tried this but theoretically possible

- how long user was talkig
you might be able to follow along noting the specific answer / disconnect methods found here in the phone listener

- how much user has payed for the talk/sms/mms-basing on user's tariif; is it possible to get programatically user's tariff?
very doubtful.
Offline  
Old 06-19-2009, 03:05 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

thx! i'll take a look on these links.

kind regards
Offline  
Old 06-20-2009, 04:37 AM   #4 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,

i still have one question:

i know that i can get the duration of the call using getDuration() from CallLog. but this is the duration of the last call. is there a method that will get me the duration of all incoming/outcoming call from the whole day? or i must implement it myself, for example-write to a file and then sum it?



kind regards
Offline  
Old 06-21-2009, 11:43 PM   #5 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Location: Ernakulam, Kerala, India
Model: 8320
Carrier: Airtel
Posts: 65
Post Thanks: 0
Thanked 0 Times in 0 Posts
Smile SMS/MMS Infos Programmatically.

Hi Misty

You need to implement it. There is no such API for doing that directly.
__________________
Regards
Anand.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.