Android :: Not Calling OnStop When An Incoming Call Is Received
Apr 28, 2010
I have an application that is silencing the ringer while it is open, then when it closes it unsilences it. Currently I am doing these two things in OnStart and OnStop. The only problem (and it's a big one) is that when a phone call comes in, it stops my application (calling OnStop), then rings at its normal volume. Is there any way to get around this? I tried using onCreate and onDestroy, but I want to restore the original volume setting as soon as the program is closed, which onDestroy doesn't seem to do. You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@ googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
View 8 Replies
Dec 3, 2009
I'm having this strange issue where upon exiting a subactivity that is translucent (android:theme="@android: style/Theme.Translucent" ) the onStop() method doesn't appear to be called. have a TimerTask that runs and is supposed to be terminated when the subactivity ends in the onStop() method, but I'm instead left with an orphaned thread running in the background. It go particularly bad when I ran the subactivity several times. When I revert to no theme, the onStop() method is called and the activity behaves properly. Is there something I missed about how Translucent activities'lifecycles differ from standard activities?
View 4 Replies
View Related
Oct 14, 2010
i`ve got some problems with finish() method. I expect what after calling on my Activity finish() method onStop and onDestroy must be triggered(or am wrong??), in majority of examples they are, but Scenario: - reboot phone - launch activity - invoke finish() onPause is triggered but afterwards they are no calls to onStop() and onDestroy()I`ve noticed, that those calls are triggered after launching any other activity.
View 7 Replies
View Related
Sep 29, 2009
Is it possible to add an incoming call with current call to make it as a conference call programmatically?
View 2 Replies
View Related
Nov 14, 2012
I ported miui us over to the att s3. One issue I have is when an incoming call takes place it does not show the "1" like it should 1-555-555-5555 instead it shows +55 55 55555.
SAMSUNG-SGH-I747
View 2 Replies
View Related
Jan 25, 2010
how to disconnect the call(i.e incoming call) programmatically ?
View 3 Replies
View Related
Aug 2, 2010
When I'm on a call and a 2nd call comes in, my phone doesn't ring or anything. Is there anyway to change this so that I know when I have a call waiting without having to look at the screen (which is usually pressed up against my ear)?
View 1 Replies
View Related
Nov 26, 2012
i need a way to understand that the incoming call is a forwarded call so i can deny it using tasker or another application.If possible i want to auto decline the call using tasker + secure settings or any other plugin
View 3 Replies
View Related
Oct 14, 2010
I havn´t been able to find out, how to detect the event (if there are any), when an outgoing call is answered - does anybody know how to do this?
View 3 Replies
View Related
Feb 18, 2010
Hi, I've noticed that on android, the call to pthread_join does not suspend the calling thread. I've a number (6) of new thread created using pthread_create and pthread_join is called on each thread. But It does not suspend the main (calling) thread. I believe this relates to the port of pthread lib to android.
View 2 Replies
View Related
Sep 6, 2009
I know there are some posts from the group have talked about this ( like https://groups.google.com/group/android-developers/browse_thread/there... and https://groups.google.com/group/android-beginners/browse_thread/threa...), but I can not find exactly the official answer of this issue. in android market, there are some apps which can set up a black list and block the incoming call, see http://www.cyrket.com/search?q=block+call for details. is there something like backdoor or unkown api for blocking incoming call.
View 5 Replies
View Related
Oct 16, 2010
I'd like to implement a feature that monitors incoming calls and SMS and blocks them if necessary. But I don't know how to capture such events, could someone tell me how to do that?
View 2 Replies
View Related
Jul 22, 2010
I am trying to make my application in front just after incoming call.i mean when user cut the phone my application should come in front can it be possible ?
View 3 Replies
View Related
May 30, 2010
i know there's a call log of who you've phoned but is there a call log of how long you have been on the phone i.e how many hours and minutes
View 1 Replies
View Related
Jan 28, 2009
I have written a small player application. I want to handle incoming calls in my application. Actually while player plays some media file, if an incoming call comes, then my player should mute the volume and when the incoming call is done, the player should unmute the volume.
View 2 Replies
View Related
Feb 4, 2010
How can I show a window containing few lines of text during the phone ringing period? My app in running in background at this time.Toasts won't work because they last at most 4 seconds.
View 2 Replies
View Related
Jan 14, 2010
I am trying to hang up an incoming call with injecting KeyEvent, however, got error below:
WARN/WindowManager(61): Permission denied: injecting key event from pid 296 uid 10024 to window Window{43d37708 paused=false} owned by uid 1001 java.lang.SecurityException: Injecting to another application requires INJECT_EVENT permission
Though I've added android.permission.INJECT_EVENTS to the project, still the same.
How could I deal with this situation, I just want to stop the call.
View 2 Replies
View Related
Mar 17, 2010
I know this is not the good forum to post my question, but I need help and I spend 3 days to try to find solution ,but no way:(. I'm trying to develop application that can answer incoming call automatically.
In my code I use the intent "Action_Anwser" but it's seem not work.
The snippet of my code
CODE:...........
View 7 Replies
View Related
Oct 6, 2010
I am looking for a lockscreen replacement that most importantly gives the option to answer calls without using the slidey swipey thingy. Maybe just a answer call button. I have tried goto - that was cool, but still had the swipe to answer. Also i tried screen suite, but that thing didn't replace the home lock screen for some reason. Can you sugget any others you might be using or know of?
View 15 Replies
View Related
Mar 10, 2010
I want to develop one call control application on android. As we know android sdk does not provide any API which block incoming call due to security reason. Is there any possibility to block incoming call using android open source api;s?
View 6 Replies
View Related
May 19, 2010
I want to know is there any way to store an incoming/Outgoing voice call in android.
View 1 Replies
View Related
Nov 16, 2010
I want to record incoming call,any body knows please give some idea about that,other wise give some idea about How to know about incoming call.
View 3 Replies
View Related
Oct 8, 2010
I would like to know if we can get Incoming call data to the application in Android. I will be using this incoming call data to record the call or for the purpose of call streaming from my application. I read Audio manager and Telephony manager class provided by Android , but I could get an API which can give the data of incoming call.
View 2 Replies
View Related
Aug 6, 2009
I want to record the outgoing and incoming call. Can some one tell me. Is it feasible or not ?
View 4 Replies
View Related
Oct 7, 2010
I am continuously capturing images with my camera at interval of 1 min.It is working without any problem.But when i got incoming call,my camera activity goes to background and not capturing any images.When call finishes m able to see my activity and images are captured without any problem.
What to do so that when incoming call,still camera should capture images.
View 1 Replies
View Related
May 15, 2009
Is it possible to draw on the incoming call screen? I know that a few of the whitepages apps do it, but I would like to know how.
View 3 Replies
View Related
Mar 18, 2013
I was wondering if there is any way (through a tweak or an app) to have my contact's information appear automatically when I receive a call from him/her. For instance, if I receive a call from Joe Smith, the contact card for Joe Smith would pop up with all of his details (address, birthday, notes, etc.).
View 1 Replies
View Related
Nov 11, 2009
I was looking for about this subject and always I read de same: "It is not replace inCallScreen", "You can't modify inCallScreen", ... I need react to an incoming call and show two big buttons any way (new dialog, modifing incallscreen,...). I got start a new activity, but it appears after I reject incoming call. I need my activity appears over inCallScreen. Another thing I thought is use NDK, but I don't know if NDK support this.
View 6 Replies
View Related
Jan 28, 2009
how to reject an incoming call. At first, i wanna find some method already exists that can directly reject a phone call, but unluckily i failed. now i come up with an idea ,to simulate a ENDCALL KeyEvent. here is one solution to achieve it
IWindowManager.injectKeyEvent(...);
It may work in earlier version sdk... I didn't find any method like that in latest version sdk~ is there any method exists to simulate a KeyEvent ? or how could i reject an incoming phone call?
View 2 Replies
View Related
Oct 7, 2009
is it possible to suppress all notification messages e.g. incoming call or sms notification? Actually, I am developing a game and I want to given an option to user to mute all notifications (some thing like do not disturb :)) while playing game.
View 2 Replies
View Related