Android : How To Get Outgoing Call Duration During?

Oct 18, 2010

I would get outgoing call duration a call, I thought to get when the persone to the other side answer my call, but with PhoneStateListener we can get the state of a call, but PhoneStateListener changes state to CALL_STATE_OFFHOOK immediately when the outgoing call starts and not when the person to other side answers, so i can't get the effective time of call during a conversation.

ADVERTISEMENT

How To Get Outgoing Call Duration In Real Time

Sep 18, 2011

Now I write one app and have some problem - I need to show real-time outgoing call duration. But I do not know when I should start timer. I must start when get answer from other side. I tried TelephonyManager.EXTRA_STATE_OFFHOOK -- but it's state is when I press call-button..

OFFHOOK is the state when call is placed.

So we should be notified when the call is received. How can we get that?

When I should start count outgoing time?

View 1 Replies View Related

Sony Ericsson Xperia X10 Mini/pro :: Outgoing Call Time And Outgoing Sms?

Nov 30, 2010

i've just bought a xperia x10 mini pro. after reading the entire user guide, i still can't find the "counter" for total outgoing call time and outgoing sms. Anyone knows where to find this in the phone? previously when i was just W910i, this function was easily located. Someone pls advise and provide some guidance.

View 3 Replies View Related

HTC Desire :: App For Call Duration Summary?

May 15, 2010

is there an app available that shows call duration on screen once you disconnect, or is it a setting somewhere within the phone that I have just missed...?

View 4 Replies View Related

Android :: Want To Drop Call After Some Time Duration

Sep 11, 2009

I want to drop a call after some time duration let me know how to send the event to it or how to throw event on ACTION_DIAL intent

View 2 Replies View Related

HTC Desire :: Call Log For Duration Of Received Calls

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

Android :: Use Intent Make Outgoing Call - How To Detect The Call State

Jan 19, 2009

I can use this code make outgoing call.

Intent dial = new Intent(Intent.ACTION_CALL); dial.setData(Uri.parse("tel:5556") );

context.startActivity(dial);

But how to detect call pick up the call or refuses to answer?

I tried PhoneStateListener but not working.

View 2 Replies View Related

HTC Droid Eris :: Recent Call Log Display As Outgoing Call

Feb 14, 2010

I have an Eris and my recent call log on my phone displays my outgoing calls as Unknown even if they are saved in my Google contacts. I have the outgoing calls set to go through GV option selected on the phone and I'm not sure what's going on. The contact is displayed for a second and then reverts to Unknown. When I add the unknown number to my existing contacts it works and displays properly, but when I call the same number back from my contact list, it shows up as unknown. My incoming calls and missed calls all show up with the proper contact info, so it seems to just be a problem with my outgoing calls. Does anyone know what's going on or how to fix this?

View 1 Replies View Related

HTC Droid Eris :: Easiest Way To View Call Duration?

Nov 16, 2009

easiest way to view a call's details, to see call duration? The only way I can find is to go to a contact's info, view call history, then get the details of the call there.

View 6 Replies View Related

Android :: How To Hang Up Outgoing Call?

Feb 2, 2009

We are new to Android and creating an application where one of the things we need is to control the outgoing call, at least to be able to stop it from our application. For now we tried using Intent.ACTION_CALL to use existing activity:

Intent callIntent = new Intent(Intent.ACTION_CALL, Uri.parse ("tel:" + phoneNumber)); startActivity(callIntent);

But we can't figure out whether it's possible to stop launched by this default Call activity. Is it possible? If yes, how? If not, what should we use to write our own Call activity to make a very simple call? We would want this activity only to be used by our application, not for all outgoing calls.

View 3 Replies View Related

Android :: How To Receive New Outgoing Call

Mar 23, 2009

I want to listen to outgoing call. Below is our manifest.xml and Listen.java. But when a outgoing call is doing, I got the following waring, and the receiver got no response. Would you like to help me out. Thank you very much.

03-23 16:05:09.227: WARN/ActivityManager(79): Permission Denial: broadcasting Intent { action=android.intent.action.NEW_OUTGOING_CALL (has extras) } from com.android.phone (pid=193, uid=1001) requires null due to receiver com.android.lianyun/com.android.lianyun.Listen import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log;
Code...

View 2 Replies View Related

Change Outgoing Call Number

Oct 18, 2012

I want to know how to use the setResultData() in worker thread

1. Registered a broadcast receiver for this intent "android.intent.action.NEW_OUTGOING_CALL"
2. So using "intent.getStringExtra", i got the user dialed number.
3. After that i need to do some database operation and after that i have to change the user dialed number.
4. Using setResultData(), i will update the dialed number.

here i want to do the database operation in worker thread instead of doing it in OnReceive() of BroadcastReceiver.So from the worker thread how can i use the setResultData()?

View 3 Replies View Related

Android :: Detect A Received Outgoing Call

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

Android :: How Can I Detect When Outgoing Call Has Been Accepted?

Oct 20, 2009

I have seen, using search, that this question has been asked already in this forum, without answer. To ask again: How can I detect when outgoing call has been accepted ?I can detect when outgoing call has been started using BroadcastReceiver. I can detect when call has ended using PhoneStatusListener. But there is nothing more except this two notifications.Internal phone application detects this event, my HTC magic (running standard cupcake) vibrates shortly when other party accepts call.So is it possible to detect this event in 'cupcake' or 'donut'. If not where can I post feature request to android OS developers to include this notification in next API revision.

View 2 Replies View Related

Android :: Detect If An Outgoing Call Has Been Answered

Feb 12, 2010

Once ACTION_NEW_OUTGOING_CALL has been broadcasted, I need to capture the following event of the other party answer. Could you advice on how to achieve that please? I know it is possible as the android dialer app changes the green android icon to the person's photo excatly when they pick up. I've had a look at the source of the app on Android handling the outgoing calls.

View 1 Replies View Related

HTC Desire :: Need App For Outgoing Call Waiting Notification

Jul 26, 2010

Earlier I was using Nokia N82 phone (Symbian OS). I used to get a notification on my screen (CALL WAITING) shall the person I am calling is currently engage. However, after I switched to HTC Desire, this notification doesn't appear. Is there a special way to enable this? or are there any applications?

View 6 Replies View Related

Android :: How Do I Get State Of Outgoing Call In Phone?

May 20, 2010

I noticed in the class TelephonyManager there are CALL_STATE_IDLE, CALL_STATE_OFFHOOK adn CALL_STATE_RINGING. They seem to be used for incoming calls.What I actually want to do is to be notified when an outgoing call is made, is received, or timed out. How to do that?

View 2 Replies View Related

Android :: How To Stop / Hang Up Outgoing Call?

Jun 22, 2009

I'm just doing an application that controls who to call and how many rings let the call do. For example, to not wake up someone in the morning we only do 3 tones. I'm using the standard BroadcastReceiver method to stop the call from going out. I explain here for the people who want to do it, also.

[ Manifiest ] 1.- You need enough permissions: <uses-permission
android:name="android.permission.PROCESS_OUTGOING_CALLS" />
<uses-permission android:name="android.permission.CALL_PHONE" />
To make calls and process outgoing calls.

2.- You need a broadcast receiver that catches the broadcast intent:
<receiver android:name=".receiver.PhoneOutgoingCallReceiver" android:enabled="true" >
<intent-filter android:priority="0">
<action android:name="android.intent.action.NEW_OUTGOING_CALL" />
</intent-filter> </receiver>
[Code]

3.- You controls who can call in the:
@Override public void onReceive(Context context, Intent intent) { }

View 7 Replies View Related

Android :: Get Outgoing Call Details In Background

Oct 12, 2009

Actually I was working to get duration of outgoing call.But I don't find any way of doing this.Then I decided to get the details of outgoing call from call log.

But my code works only for Activity.I want this to work with Services because I want to get the details related to outgoing call in background using services.What should I do to get these details in background.I currently implement it for Activity.Here is my complete code...

View 9 Replies View Related

Android :: Record Incoming And Outgoing Call?

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

Android :: Hangup Outgoing Call Programmatically - Is This Possible?

Mar 29, 2010

I am new to Android. I would like to create an application that will hang up an outgoing call after it has been ringing for several seconds.

Based on what I have read in the discussions so far, we can abort a call that has just been initiated by using setResultData(null) on the BroadcastReceiver. This just means we can effectively censor calls only. Not exactly what I am trying to achieve.

If the ability to abort a call after it has started ringing is not supported by the SDK, what other means is there for me to achieve this? Are there any internal functions that I can use?

View 2 Replies View Related

Android :: Any Application So That Outgoing Call Go Straight To Voicemail?

May 15, 2010

I thought I had seen some application where you can call someone and have it go straight to their voicemail. I've been looking around and haven't been able to find it. Does anyone know if such an app exists.

View 4 Replies View Related

Android :: Need Outgoing Call Data Stream / Channel?

Aug 22, 2009

Is it possible to get a handle on the outgoing data (voice) stream during a call? I'd like to be able to intercept the outgoing data, alter it slightly, then write it back out.

View 15 Replies View Related

Android :: How Can I Detect When Outgoing Call Has Been Accepted (answered)?

Oct 4, 2009

I am not able to detect when outgoing call has been answered, I have registered BroadcastReceiver for PHONE_STATE broadcast, but onReceive() gets called only when number is dialed and when call has ended.If it is not possible with current API (1.5 or 1.6) please enlighten me ?

View 2 Replies View Related

Android :: Playing Recorded Message On Outgoing Call?

Nov 18, 2010

Is it possible to play a recorded message when making a phone call. I mean to call a contact and when the call is answered to play immediately a recorded message.

View 3 Replies View Related

Android :: Hang Up Outgoing Call Disallowed By Default API?

Mar 1, 2009

I am developing an application where one of the things we need is to control the outgoing call, at least to be able to stop it from our application.

For now I tried using Intent.ACTION_CALL to use existing activity:
Intent callIntent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + phoneNumber));
startActivity(callIntent);

But stopping the call seems to be disallowed by default API. For example, enabling airplane mode during the call. Just an example, this hack didn't work for me.

View 9 Replies View Related

General :: Huawei Ascend P1 - No Outgoing Voice During Call

Sep 23, 2012

I got a Ascend P1 U9200 in China and rooted it in order to install Google Play. It worked well a few days by using the chinese SIM card in China.

Back in Germany I have a problem with the outgoing sound during a phone call. For some numbers I dial, the other person doesn't hear my voice at all. For other destinations my sound works for about 10 seconds and afterwards the outgoing sound is missing as well.

My current version is U9200-1V100R001CHNC00B109, My provider is congstar (D1).

View 1 Replies View Related

HTC Desire HD :: Outgoing Call Connection - Rings Once At The Receiver Then Cuts Off

Nov 24, 2010

Been loving my new DHD however have this intermittent problem when making a phonecall all i get is a single beep and 'call ending' message. Today while outdoors it just refused to connect but working ok now.

It rings once at the receiver then cuts off so I was told.

I have plenty of signal and the person I'm calling can call me back after getting the one ring and wondering whats going on after the I've tried several times!

View 3 Replies View Related

HTC Droid Eris : Unable To Have Google Voice Outgoing Call

Jun 14, 2010

I can't make calls using google voice. What happens is I will dial a number and press send, then something will pop up asking me if I want to make the call with GV or without GV. I choose WITH GV and it will start out okay, but after 5 seconds it goes back to the normal call screen and calls regularly with out GV. Is there anyone who can help me out with this? I have a droid eris.

View 8 Replies View Related

General :: Intercept Call And Add Prefix (Incoming / Outgoing Calls)

Feb 6, 2012

How to intercept incoming calls by adding a prefix like 19299 on incoming, and * on outgoing.

I have built and compiled an .apk file witch force closes for no apparent reason on launch. When compiled it compiles without any errors.

Is it even possible to monitor incoming calls on public API level? Or is that an API that is closed off? if the API is available, is it then possiblo to add said prefix both on incoming and outgoing calls?

View 1 Replies View Related

HTC Hero :: Contact Photos - Pixelated / Displayed Via An Incoming / Outgoing Call

Oct 19, 2009

I have a HTC Hero running the latest 1.5 software off of HTC site. One thing I have noticed, is that if I have any photos associated with a contact, the photo is heavily pixelated when it is displayed via an incoming/outgoing call.

I am using Gmail Sync to push email, calender and contacts. If I use the Pre or iPhone, then it shows up fine.

Is this a known bug? I have tried re-creating the image on the Hero - but once I select the area, it pixelates it again.

View 10 Replies View Related

Motorola Droid : Recent Voice Call - Outgoing Sound Cutting Off

Dec 22, 2009

I'm wondering if anybody else has experienced this issue. It doesn't happen all of the time, and I can't seem to reproduce it. It only started recently - within the last few days.

On some calls, after talking for a minute or so, the person on the other end will just not be able to hear me anymore. The call is still connected, and I can hear them just fine, but I end up having to disconnect and call them back due to the strange muting problem.

Anyone else experience this lately? I haven't installed any new apps recently - minus updates - so I'm not sure it's an app conflict. Just trying to pinpoint the issue and see if I'm the only one.

View 3 Replies View Related

HTC Hero :: Doesn't Recognized Contacts / Just Shows Numbers When On In / Outgoing Call

Jul 8, 2010

Im also having many problems after update to 2.1.

1. (and most annoying)- Black screen on incoming calls. Phone just freezes on black screen and I just cant answer the phone or do anything else for that matter. Just have to remove the back cover and battery.

2. lot less free memory after the update. using taskkiller but still- even after killing all non-system processes i have about 30MBs less memory

3. google maps, footprints, people, peep, stocks, gmail and some others keep opening by themselves, though ive killed the apps with appkiller.

4. so-many-mentioned lag on making calls. also. every-now-and-then while on call it makes another call to the same person and puts active one on hold...

5. does not recocnise some contacts and just shows their numbers when on in or outgoing call.

I've done several reeboots and also some hard resets on the device but still no use.Seriously concidering switching over to rooted ROM...

View 9 Replies View Related

General :: Blocking Outgoing Call Privileges For Specific Phone Numbers

Jul 9, 2013

Any way to block my son's phone from calling or texting specific phone numbers? I want him to be able to add phone numbers and contacts, but be unable to call or text a couple of specific phone #s. Is there a way to do this? I have Verizon but their number blocking service only works for incoming calls, not for outgoing.

View 2 Replies View Related

HTC Incredible :: Outgoing Call Connected - Loud Beeping Sound Constantly Heard

Jun 6, 2010

I have been happy with my Incredible up to this point. I recently placed a call to someone, and when the call became connected I heard a loud beeping sound constantly and the person on the other line couldn't hear me. I had installed an app, Task Killer, prior to this so I naturally thought this was affected. I shut down the app, placed the call again, and the same thing happened. I had to reset the battery on the phone to fix this problem.

View 2 Replies View Related

Android :: Initiate Outgoing Call Without Having Phone Invoke It's Default Dialing Screen?

Oct 7, 2010

Is it possible to initiate an outgoing call without having the phone invoke it's default dialing screen? The point is to be able to make a call without someone knowing I'm making a call.

View 1 Replies View Related

HTC Tattoo :: Call Duration On Tattoo?

Dec 13, 2009

is there like any display for total call duration on htc tattoo??? i cant seem to rally find it.

View 6 Replies View Related

Motorola Droid X :: Duration Of Battery

Jul 17, 2010

After hearing about the EVO's battery not lasting more than half a day, I was nervous to order the Droid X. I'm seeing some articles online stating that the battery life is pretty decent on the X. How have your experiences been so far? I have mine coming in the mail on Monday, and I'm hoping I don't need an extended battery that will turn my phone into something the size of a cinder block.

View 49 Replies View Related

Android :: Dialog Display Duration

Apr 19, 2010

I need to display an alert message for no more than a half a second. As I understand it, Toast only has 2 available durations, with no way to alter them. Correct me if I'm wrong. Which leads me to sing the AlertDialog. What would be the best way of displaying a dialog for 500ms and then dismissing it?

View 4 Replies View Related

General :: Auto Lock Duration?

Nov 20, 2013

Is there a way auto lock duration can be extended to more than 10 minutes ? the maximum showing on settings is 10 minutes. Our Administrator policy mandates the use of this security setting as I use the phone for corporate email & accesses. The 10 minutes is not enough as it is really annoying. GT-I9300

View 1 Replies View Related

Android :: Get Duration From Maps.google.com Directions

Jun 1, 2010

At the moment I am using this code to inquire google maps for directions from an address to another one, then I simply draw it on a mapview from its GeometryCollection. But yet this isn't enough I need also to extract the total expected duration from the kml. give a little sample code?

code:........................

View 2 Replies View Related

Android :: Duration Code Not Working Properly

Apr 24, 2010

I'm writing an app for Android OS, and I need to store some time values in the SQLite DB. I have been using android.text.format.Time to store the time values in the app, and then inserting the values as millis into the DB as REAL values. On the SDK emulator, everything works perfectly. On the sole phone I've had the opportunity to test my app (so far), my duration code doesn't work as expected. Some relevant code:

private static final String DATABASE_CREATE =
"create table " + DATABASE_TABLE + " ("
+ KEY_ROWID + " integer primary key autoincrement, "
+ KEY_START + " REAL, "
+ KEY_STOP + " REAL, "
+ KEY_DUR + " REAL );";
private SQLiteDatabase mDb;
ContentValues timerValues = new ContentValues();
timerValues.put(KEY_START, stime.toMillis(false));
timerValues.put(KEY_STOP, etime.toMillis(false));
timerValues.put(KEY_DURATION, stime.toMillis(false)-etime.toMillis(false));
int result = mDb.insert(DATABASE_TABLE, null, timerValues);

I pull this data from two separate functions with slightly different bits of code, both using Time.set(long millis), both giving incorrect results: The start and stop values come back correct, but the duration comes out 17 hours too large. Am I missing something about calculating durations or does this just seem like there's something "special" about this particular droid? I'll have another droid to test on Monday, but any ideas are appreciated.

View 3 Replies View Related

How To Apply Translate Animation From One To Another Geopoint With Some Duration

Nov 19, 2012

i need to apply translate animation from one geo point to another geopoint with some duration.when i doing this, the map is animating but getting white space in some part of the screen where the animation occurs.I think this is because of clipping of the map before animation occurs. During animation is running the entire mobile screen is covered with map is required.

View 2 Replies View Related

Android :: MediaPlayer Provides Wrong Duration On Audio Streaming

May 27, 2010

I am having the following problem: I am using Android's MediaPlayer to play an mp3 through an HTTP connection. The audio is played correctly, but the MediaPlayer returns an incorrect duration (calling mediaPlayer.getDuration() ). Depending on the mp3 the duration is either shorter or longer. The code that plays the audio is the following:

mediaPlayer = new MediaPlayer(); mediaPlayer.setOnCompletionListener(this); mediaPlayer.setOnErrorListener(this); mediaPlayer.setOnPreparedListener(this); mediaPlayer.setOnBufferingUpdateListener(this); mediaPlayer.setDataSource("a valid URL"); mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); mediaPlayer.prepareAsync();............................

View 2 Replies View Related

ADVERTISEMENT