Re: [android-developers] Query regarding unbounded service

2012-06-02 Thread Uberall, Android
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

Re: [android-developers] timer on sip calling

2012-02-24 Thread Uberall, Android
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

Re: [android-developers] handling back button

2011-11-24 Thread Uberall, Android
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) { *

[android-developers] how to relate call Log id to contact id if the corresponding phone number is saved in android device

2011-11-17 Thread Uberall, Android
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,

[android-developers] Relating Call Log and Contact

2011-11-17 Thread Uberall, Android
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

[android-developers] terminating the application in android issue

2011-10-13 Thread Uberall, Android
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)