[android-developers] Re: get outgoing call details in background

2010-01-15 Thread RoSippA
Hi, please explain how to do it. I need to get realtime duration call. Thank you very much. On Nov 20 2009, 10:06 pm, "patrizio.munzi" wrote: > Hi guys, > > in this last month I've been trying to develop on Android. > I've tried a few stuff and also Nemat's code for intercepting outgoing > call d

[android-developers] Re: get outgoing call details in background

2010-01-08 Thread instcode
I have a workaround for this one by deferring the call log retrieving process a little bit, say 200ms. I'm still looking for a more elegant solution. On Nov 20 2009, 11:06 pm, "patrizio.munzi" wrote: > Hi guys, > > in this last month I've been trying to develop on Android. > I've tried a few stuf

[android-developers] Re: get outgoing call details in background

2009-11-22 Thread patrizio.munzi
Hi guys, in this last month I've been trying to develop on Android. I've tried a few stuff and also Nemat's code for intercepting outgoing call details. The only difference is that I've been using the PHONE_CALL_STATE intents for triggering my broadcast receiver retrieving last outgoing call deta

[android-developers] Re: get outgoing call details in background

2009-10-14 Thread Nemat
Thanks to all of you. I have done it...I removed startManagingCursor() and called the close method() for cursor. On Oct 13, 7:10 pm, Lazarus 101 wrote: > just remove startManagingCursor and call the close() method on the > cursor when you've finished reading from it > > On Oct 13, 5:02 

[android-developers] Re: get outgoing call details in background

2009-10-13 Thread Lazarus 101
just remove startManagingCursor and call the close() method on the cursor when you've finished reading from it On Oct 13, 5:02 am, Nemat wrote: > @Roman > > But How would we get the state when the call is received?I mean call > duration means the difference of the time when call is received and

[android-developers] Re: get outgoing call details in background

2009-10-12 Thread Nemat
@Roman But How would we get the state when the call is received?I mean call duration means the difference of the time when call is received and the time when the call is disconnected.OFFHOOK is the state when caLL is placed.So we should be notified when the call is received.How can we get that?

[android-developers] Re: get outgoing call details in background

2009-10-12 Thread nEx.Software
You are getting the error on startManagingCursor because that method does not exist in a Service. Leave that out and make sure you close the cursor when you are done with it. On Oct 12, 11:00 am, "Roman ( T-Mobile USA)" wrote: > You should be able to measure the time between multiple > onCallSta

[android-developers] Re: get outgoing call details in background

2009-10-12 Thread Roman ( T-Mobile USA)
You should be able to measure the time between multiple onCallStateChanged events. In case of an outgoing call the state would switch from IDLE to CAll_STATE_OFFHOOK to to IDLE again. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in t