| Reply | « Previous Thread | Next Thread » |
|
Hello All
Can we get phone call history details (i.e. incoming and outgoing call details with call duration, Inbound or Outbound call, is it in Roaming or not and date time) ? Please help me out. Thanks, Amit |
| amit04.kumar |
| View Public Profile |
| Find all posts by amit04.kumar |
|
Join Date: Mar 2006
Posts: 6,293
Location: Helsinki, Finland
Offline
Forum Nokia Champion
|
|
|
Quote:
Now to the original problem, the answer is "Yes" for most of the requirements. One very useful tip: Always search on Forum Nokia Wiki before asking a question. It has many good articles where you can find answers for your questions. - Kiran |
|
Hi Kiran,
Thanks for your reply. I have searched this on Nokia forum and wiki before posting the question. But didn't get. Please help me out for getting the phone call history. how can I get the Phone call history? Is there any API ? This application is for C++. Thanks, Amit |
| amit04.kumar |
| View Public Profile |
| Find all posts by amit04.kumar |
|
Join Date: Mar 2006
Posts: 6,293
Location: Helsinki, Finland
Offline
Forum Nokia Champion
|
|
|
Quote:
- Kiran |
|
Hi
Thanks :) Thanks, Amit |
| amit04.kumar |
| View Public Profile |
| Find all posts by amit04.kumar |
|
Join Date: Mar 2006
Posts: 6,293
Location: Helsinki, Finland
Offline
Forum Nokia Champion
|
|
And yes, the magic search string was "logs". You can try it out for other search results.
- Kiran |
|
Hi Kiran,
I have implemented the code which is in http://wiki.forum.nokia.com/index.php/Logs_Example for read call log. But how to call the callreader method in my project ? below is my code is for calling the callreader method void CSMSreadContainerView::ConstructL() { // [[[ begin generated region: do not modify [Generated Code] BaseConstructL( R_SMSREAD_CONTAINER_SMSREAD_CONTAINER_VIEW ); // ]]] end generated region [Generated Code] // add your own initialization code here iSmsHandler = CSmsHandler::NewL(); // SmsHandler iCallLogReader = CCallLogReader::NewL(this);//for Call Log } And I try to read the log history in void CSMSreadContainerView::HandleLogEventL(const CLogEvent& event) { CEikonEnv::Static()->InfoWinL(_L("event"),event.Number()); } but didn't get any output. Please help me for calling the callreader method. Amit |
| amit04.kumar |
| View Public Profile |
| Find all posts by amit04.kumar |
|
Join Date: Mar 2006
Posts: 6,293
Location: Helsinki, Finland
Offline
Forum Nokia Champion
|
|
This line will start processing log reader logic. iCallLogReader = CCallLogReader::NewL(this);//for Call Log
You may also need to override virtual void LogProcessed(TInt aError) = 0; method and see if you get any error in that callback. Also debug your application and see where does flow go. - Kiran |
|
Hello Kiran,
Thanks code is working fine. Amit. |
| amit04.kumar |
| View Public Profile |
| Find all posts by amit04.kumar |
|
Hi Kiran,
I want to retrieve the call duration and SMS text from logreader. My code is: void CSMSreadContainerView::HandleLogEventL(const CLogEvent& event) { //for call duration HBufC* CallContent = HBufC::NewLC(10); CallContent ->Des().Append(event.Duration()); CEikonEnv::Static()->InfoWinL(_L("Duration"),CallContent ->Des()); //SMS content HBufC* SMSContent = HBufC::NewLC(400); SMSContent->Des().Append(event.Data()); CEikonEnv::Static()->InfoWinL(_L("Duration"),SMSContent->Des()); } But in above both case I got something like square box. I didn't get call duration and SMS Text. How can I retrieve the call duration, SMS Text and date ? Please help me. Amit |
| amit04.kumar |
| View Public Profile |
| Find all posts by amit04.kumar |
|
Join Date: Mar 2006
Posts: 6,293
Location: Helsinki, Finland
Offline
Forum Nokia Champion
|
|
You can try Subject() instead of Data(). Also you will find other methods in CLogEvent class. You can try those. In any case, debug your code and see what does you get in your HBufC variables.
Open SDK help and look for CLogEvent. - Kiran |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| [moved] TWO THINGS YOU PROBABLY NEVER KNEW YOUR MOBILE PHONE COULD DO | shawnonmobile | General Discussion | 4 | 2008-10-30 17:16 |
| Nokia Image Converter | davidpurdie | General Discussion | 0 | 2004-02-18 16:31 |
| Checking the status of a phone call | Nokia_Archive | General Symbian C++ | 1 | 2002-05-29 14:41 |