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);
                        intent.setData(Uri.parse("tel://988"));
                        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. openFileInput(FileName) does not support mark() and reset()

I open file "read.txt". He is in /data/data/$packageName/files/

FileInputStream fc= openFileInput("read.txt");
is=new DataInputStream(fc);

is.reset()  - not support!!!!!!!
fc.markSupported() - return false

Help!!!!!!!!!

I need is.reset().  What can I do?



--~--~---------~--~----~------------~-------~--~----~

2. error message "device offline" on android

Hello All,


Problem:- error message "device offline" on  android

Details of software used:-

Java version:- jdk 1.6
android installation directory:- 
D:\android-sdk-windows-1.0_r1\android-sdk-windows-1.0_r1\tools

steps i did

go to directory
"D:\android-sdk-windows-1.0_r1\android-sdk-windows-1.0_r1\tools"

- fire command "emulator" which launched Android Emulator(5554). It 
means device is running.
- fire command "adb shell" which gives error message "device offline"

adb devices command shows nothing.

how to ensure that device is up ?& running?
-- 
------------------------------------------------------------------------
*NIKHIL DEVAL*
Software Engineer
Vertex Software Pvt. Ltd.
(An NTT DATA Company)
"Creating Value"
Website: www.vertexsoft.com     Server Space, 5th & 6th Floor,
AG Technology Park, Off ITI Road,
Aundh, Pune - 411 007,
Maharashtra, India
Phone: +91-20-66041500 Ext.:550
Mob.: 9850900872


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy the original message all 
copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

Please do not print this email unless it is absolutely necessary.
--~--~---------~--~----~------------~-------~--~----~

3. UK Launch details

4. Android Group for Users

5. Free Code Camp this Weekend

6. SlideME: Testing of Apps

7. Licensing and Trial Software, the starts of a solution?