calllog

Mock objects, nUnit, call log and log4net

A very often scenario of unit test is as follows: public void SetUp() { this.callLog = new StringBuilder(); } public void TestBuzzBar() { var bar = new Bar(new MockFoo(callLog)); bar.Buzz(17); Assert.AreEqual("MockFoo.Init(17) MockFoo.PrepareStuff MockFoo.DoTheJob ", callLog.ToString()); } ... with MockFoo implementing an IFo...

Problem with system intents

I have a program that has a broadcast receiver that listens for Phone_State and then sends a user defined intent. Well, my problem is that the system also sends out an intent (the one that I am trying to replace with my program) So I am trying to find a way to CANCEL the systems intent. I have found that if i have a timer just wait for a...

CallLogs in Blackberry

Hi, i am working on CallLogs Sync Application in Blackberry and partially i have done it, one point that i didn't understand is how to add information to CallLogs. I have retrieved information from CallLogs and Store on Server but now i retrieved information from Server but how to add info to CallLogs didn't come in my mind as i retrieve...

Access call log in iOS4 - possible?

Hi, I know that it isn't possible to access the Call Log on iOS less than 4. My question is about the new OS - is it already possible? ...

android adding number to Call logs

Hi Friends, Is it by anyway possible to write to call logs database?? I mean i want to add selected numbers to the call history. I tried searching the tutorial on net but couldn't find any... Though 1 thing is for sure, IT CAN BE DONE. coz i have seen lots of applications online, which restore call logs, so i guess we can modify the cal...

How to force refresh on CallLog.Calls.CACHED_NAME column?

My goal is to collect all unknown phone numbers from the Call Log. This can be achieved by the following code: private static final String[] CALLOG_PROJECTION = {CallLog.Calls._ID, CallLog.Calls.CACHED_NAME, CallLog.Calls.NUMBER}; private static final String CALLOG_WHERE = CallLog.Calls.CACHED_NAME + " is null"; Cursor c = get...

How to access call logs from J2ME apps?

I've been looking around and haven't found an answer to the above question. Many forums say it cannot be done in most phones, but most of those entries date back to 2006-2007 or more. I'm hoping J2ME's gotten better in the past few years. :) ...