Android :: Kill Or Wait Phone Activity (incoming Call) Between Running Application?
Jun 30, 2010
Is it possible if my application is running and that time if any incoming call arrives then i want to kill or wait that call (phone activity). any one achieve this type of work in android. i have a no idea how to do this.
View 2 Replies
Apr 15, 2010
Experts: My MainActivity launches a SubActivity by calling: startActivityForResult(intent, REQ_CODE); The SubActivity shows a dialog that has two buttons: Yes, No For the dialog, I've the following code: public void onClick(DialogInterface dialog, int whichButton) {/* User clicked OK */setResult(DialogInterface. BUTTON_POSITIVE) ;finish();
View 2 Replies
View Related
Mar 12, 2010
I want to know that what will happen to my activity incase of an incoming phone call? Will the state of my activity be saved or I have to explicitly save it? Another question is that will the activity resume after the call is disconnected?
View 3 Replies
View Related
Aug 3, 2009
I have a requirement where I have to read/parse some data from the server(using HTTPConnection) and then display it on to the screen. To avoid ANR issue I used AsyncTask to perform the above. Now in order to avoid application crash in case the activity gets destroyed(either by OS or if orientation changes or say on any incoming call-->where user stays on the phone for long and for some reason OS destroys/recreates the activity). Currently, I hols the reference of AsyncTask in my activity and then provide a callback(the activity itself) to AsyncTask so that I can pos back message to activity(like closing progress dialog box).In order to avoid memory leaks on onPause I nullify this activity reference in AsyncTask.Before onPause I save the AsyncTask instance using onSaveInstanceState method but I have to use putSerializable for that. I have read on the forums that serialization method is slow, so my question is should I use parcelable approach(and whether the converting AsyncTask to parcelable will be same as creating any other object parcelable). or both these approaches are totally wrong i.e...............
View 10 Replies
View Related
May 30, 2010
I want my app to kill a running app but i got the problem that since AP I 8 the method is deprecated and i need to use another function. So i want that if AP I level of the device is smaller than 8 it runs this
Activity Manager a M = (Activity Manager) this.get System Service(ACTIVITY_SERVICE); a M.restart Package(package); And from 8 this But how do i accomplish this because using something like an if will make the compiler complain.
View 2 Replies
View Related
Nov 13, 2010
I have problem when i start activity from incoming call broadcastReciever, the problem is :
when call is coming i start activity X with FLAG_ACTIVITY_NEW_TASK flag, and it is work fine when my application is not on the screen.
but if my application on the screen (activity Y) and call come, when activity X called from braodcastReciver Activity Y cover screen over incoming call screen then Activity X display, so 2 activity become over incoming call, although i just want activity X just display.
View 11 Replies
View Related
Nov 4, 2010
I've created a class which is an extension of Thread. This class hits a web service and throws some data on screen. I don't care about persisting this data (the screen displays search results).
Currently, the user simply types into an EditText and clicks a search button. I'd like to take away the search button and implement something similar to Google's Instant Search where, as you type, the search results get updated.
This means, as the user types, the search parameters change. I want to be able to kill the currently running thread (if one is currently running) and spawn a new one with the new search string. How can this be achieved? Can I do it with Thread or will I need to use a new object?
View 4 Replies
View Related
May 5, 2010
I want to display one dialog box after incoming call, so that I can run my application in background while receiving call. How to catch that incoming call in android application?
View 1 Replies
View Related
May 4, 2010
It seems that what's draining my battery the most is my poor signal at work. I killed mobile data today while at my desk and despite the battery having just turned orange, it didn't turn red for nearly 5 more hours. So, I'd like an app that will kill the data connection at a certain time. Ti terrific and Setting Profiles Lite don't have the option to just kill data, only an airplane mode option.
View 5 Replies
View Related
Dec 5, 2009
I would like to retrieve the incoming call's phonenumber and do something with it.Could you please help me because I can't find any information about this.Where do i start and how do i get hold of the phone number?
View 3 Replies
View Related
Jul 21, 2010
can you change the incoming screen on the evo on a phone call.not that i don't think the droid is cute.
View 3 Replies
View Related
Aug 18, 2010
I need Android program which will indicate if a call is coming from diverted number.
I have a helpdesk number in my business, which is diverted to my normal number and I have to answer it differently. This is why I need to know with a sign or text or anything that the call is made to this helpdesk number.
I really don't want to carry 2 phones with me.
View 3 Replies
View Related
Aug 25, 2010
My Acer Liquid E keeps Muting every time I answer a call. Its odd because its not disconnecting at all and I can hear the caller perfect. Sometime if I hit the mute, speaker phone, or hold buttons a view times it starts to work normal. All outgoing calls are perfect. Hopefully I can narrow it down to either a phone defect or a OS issue that just needs an update. Has anyone else had this issue?
Firmware version:2.1-update1
View 1 Replies
View Related
Aug 18, 2009
I am developing a phone application with my own GUI , I want to receive incoming call event. I am able to receive it using Broadcast receiver ,
But after receiving in My Broadcast receiver. Native phone application GUI comes to foreground and my application GUI goes to background. I do not want native GUI to be displayed on screen , How can i disable native phone application GUI.
Is there any way to disable broadcast intent or any other suggestion for displaying my application GUI instead of native phone app gui.
View 4 Replies
View Related
Sep 7, 2010
I have one activity call a camera view activity, and in the onActivityResult, I have it start that activity again with different parameters. Android doesn't seem to like that, and gives me an error that the camera is not available if I start it right after it returns. I tried just waiting a few seconds, but this doesn't seem to work on all phones, and it sometimes crashes. Is there some way to wait until that activity finishes properly, and gives up all resources?
View 6 Replies
View Related
Jan 12, 2010
I have a problem that annoys me a lot when sometimes i kill all apps or when the mobile goes sleep, when reopen it and then unlock the screen, the HTC logo appears and it starts loading till it is ready.
View 24 Replies
View Related
Aug 17, 2009
I'm trying to write an app that will run when the phone rings but NOT answer the incoming call. The app would have an answer button that when pressed would perform the regular call answer action, but this isn't what I need help with. I've searched the internet and haven't been able to find any consensus on this issue. My app only needs to run during the call ringing stage and nothing more. What would I have to listen for to do this and what manifest entries would I need? Forgive my incorrect/nonexistant use of terminology, I haven't worked with Android in close to a year and haven't freshened up fully yet.
View 12 Replies
View Related
Oct 8, 2010
Is this possible to run an application in back ground and record incoming call on android phone ? Any body having any link or some thing for learning recording call.
View 2 Replies
View Related
Nov 2, 2010
I am making an application that has Activity which communicates with a single service, and is used to start, stop or change settings of that service. I used a singleton approach from this tip.
My problem is that busy-waiting is not working for me and I can't attach a listener to the service because activity gets blocked. I want the service to start or get it's current instance at application start so I put the busy-waiting in onCreate. I'm guessing I'm doing this very wrong, so how do I do this appropriately?
View 2 Replies
View Related
Nov 19, 2010
I own an xperia mini pro and I can replicate the issue always now. When I get an incoming call while the screen is off, if you slide out the keyboard (without opening the screen lock), immediately I get a Force close error for com.android.phone. I have Lookout Mobile security along with SayMyName installed. I have tried removing both, but the problem does not seem to go off. I am using Zeam as my home screen. On FC, SayMyName continues to call out the caller (or number if its not recognized), but the phone application crashes and on closing the FC pop up, the GSM mobile connection reinitiates (I am not in 3G).
Its just like when you switch on the phone after a shutdown. I have even tried changing home screen (ADW same problem), but seems like this issue persists. The problem is I keep my phone in a pouch attached to my belt and when I get a call, many times while bringing out the phone, the sliding of the keyboard happens and I get an FC. Then, there is no way to make out who had called and its very irritating (the call log does not register the call due to the FC).
View 5 Replies
View Related
Oct 29, 2010
I have no problems doing anything with my touch screen until there is an incoming call. No matter what I do I usually can not drag down the bar to unlock my phone.
View 5 Replies
View Related
Aug 9, 2010
I am a freshman and my English is poor.In some cases, I terminate the application and the DVM process couldn't be killed when a exception through, why is this? and how the problem is to be tackled?
View 2 Replies
View Related
Jul 2, 2009
Is there any way for an activity to register for being notified if a wait/force close dialog is shown or alternatively if the user selects force close, a way to detect that in ondestroy()?
View 6 Replies
View Related
Aug 18, 2010
In the Activity title bar, how do I put a spinning wait in the upper right corner?
View 1 Replies
View Related
Oct 26, 2010
I looked & was unable to find an answer to this when I searched. My phone is actually RINGING with the ringtone when I get a 2nd call on call waiting. I'd much prefer the beep as it is very disruptive and a friend asked me the other day what that noise was. It was my phone ringing for an incoming call!
View 1 Replies
View Related
Aug 16, 2010
I have had my Droid Incredible for about two months now. I was really one of the lucky ones!! I usually can fix problems by myself, because I am skilled in Android, but this one I have to turn to my friends in the Android community and ask for some assistance. Next, the phone will randomly change my ringtone. Next, the Sense clock/weather widget displays a location that I don't even live in, and sometimes it will show just a number. How I can fix this, without rooting (waiting for official Froyo).
View 1 Replies
View Related
Oct 28, 2010
I had the proximity sensor problem which was fixed after firmware update/blowing on the sensor. However, now neither the flip to silence the phone on an incoming call feature (the setting is on) OR the flip to activate the speakerphone when in a call now works. The flip to silence the phone on an incoming call was working before the firmware update.
View 7 Replies
View Related
Oct 14, 2010
On my Samsung Moment, a lot of times when someone is calling me, the phone will start vibrating or ringing as it should but the screen does not turn on showing the caller id until 4 or 5 rings, if at all. It makes answering calls before it goes to voicemail difficult.
Has anyone had this problem or know how to fix it?
View 1 Replies
View Related
Apr 27, 2010
Is it possible to get list of all process which are running in the Android system, and kill some of them? I know that there are some applications (task managers), but I would like to write my own, simple application.
I would like to write simple task manager, just list of all process and button which will kill some of them.
Could you just write some Java methods which I can call in order to get list of process, and method for killing them. Or just give me some advices.
View 3 Replies
View Related
Jul 8, 2010
Just this writing, I was answering an incoming call and the phone just auto shut down and rebooted. This is not the first time thoug, happens 2-3 times with 2-3 weeks inverval.
View 1 Replies
View Related