Hi,
This is P B Lal from Pune, I would like to suggest you that create a
class by extending Thread in which you should create two button , one
for start and other for stop.
Always create object of that class and put it in the Linear Layout , in
this manner you will not get any issue flag
Dear Jagruti madam,
You can do it by using the PhoneStateListener call and start timer when
call receives and call end.
Now u can use it by overriding the onCallStateChanged() method for your
purpose.
I hope it will be sufficient for you.
Thanks Regards
Prashant B Lal.
On 24-02-2012
Dear Karthik,
I would like to recommend you to use the following code snippet in your
activity.
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
super.onKeyDown(keyCode, event);
if (keyCode == KeyEvent.KEYCODE_BACK
event.getRepeatCount() = 0) {
*
Dear Android Experts,
I want to get Contact id from the call log id if the number is saved in
the android device.
*For Call Log I am using the following cursor.*
String[] strFields = {
android.provider.CallLog.Calls.NUMBER,
android.provider.CallLog.Calls.TYPE,
Dear Android Developers,
I am developing an application using call log.
I could not relate*call log id of call log* table to *contact id of
Contact table. *Sometimes we need to fetch some contact table's personal
detail like image , group , and emailid etc. I have tried to relate
contact id
Dear All Experts,
I have developed my own application but I am unable to close it through
coding.
I have tried following ways
(a) System.exit(0)
(b) android.os.Process.killProcess(android.os.Process.myPid());
(c) super.destroy()
(d) this.finish();
(e)
6 matches
Mail list logo