ACTION_CALL how to get the called time in Activity Result

by GPU » Fri, 20 Feb 2009 13:21:52 GMT

Sponsored Links
 Hi ,
 I want to get the last call time.I am starting the activity for
result like this

                       Intent intent = new Intent(Intent.ACTION_CALL);
                        startActivityForResult(intent, REQUEST_CODE);

After i end the call i am getting the  resultcode = RESULT_CANCELED

So How to get the call time after the call is ended

If its not by the activty resul directly,what is the contect Uri for
the call log?

Other Threads

1. Communicating with rild


I am supposed to write a linux application which invokes RIL requests
through IPC.
I am able to communicate with "/dev/socket/rild-debug" port and do
operations eg: instantiate a call etc.
But I could see that even thoguh my request to connect to "/dev/socket/
rild" is sucessfull, I cant see any logs or actions happening in the
simulator for whatever data I sent thorugh this socket.
Can someone help me in this please...

Also I woul like to know what kind of data to be sent to rild port to
invoke RIL requests

for eg rild-debug expects
1. no of data to be passed
2. no of characters in each data
3. command , or argument as a string
loop 2 and 3 for number of data times.

how the data should be formed for rild???


2. tslib issue


 I encountered the following error when I tried to run ts_calibrate
 from the TSLIB package for calibrating the touch screen:

 /system/lib/ts/ dlopen() failed: cannot open
 shared object file: No such file or directory

 The file is not present anywhere in my root FS. Am I
 missing out something here?

 Also, ts_calibrate was not working at all if I build TSLIB with
 dynamic linking. Hence I built TSLIB with static linking. (generated
 binaries) Does this cause any problem ?

 Any help in this regard will be much appreciated.


3. opening sample index.html from present in /sdcard in web browser

4. Novice question on Notepadv1

5. SharedPreferences getting lost on device power off / on

6. Anyone interested in an Android Meet-up located in the Bay Area (CA)?

7. Permission problem while attempting to access privileged Phone object