How to ge outgoing call time in Java ME

Is it possible to get outgoing time call from MIDlet?
Thanks in advance

Panfrano,
It is possible in very few cases. The phone must support [JSR 253|http://jcp.org/en/jsr/detail?id=253] Mobile Telephony API.
Only then you could be notified about phone events and write some code that could measure the time between those. However only very few newest phones support that JSR. One example is SonyEricsson eXperia X2.

Similar Messages

  • How to know all outgoing calls time?

    how to know all outgoing calls time?
    4S

    It all depends on your carrier whether incoming vs. outgoing times even matter.
    For example, here in the U.S., AT&T doesn't charge any differently whether a call is incoming or outgoing.  The carrier (AT&T) accepts a text code *646# to give you a summary of your call minutes, but they're divided into "Daytime", "Night and Weekend", and "Mobile to Mobile".  Those three types of minutes are billed differently here.

  • How can I separate incoming / outgoing call times?

    Hello,
    I'd like to know, is there's any app or tweak which makes my iPhone to be able to separate incoming and outgoing call times?
    Thanks in advance,
    Marcell

    Go to your recent call list - on any contacts click the blue arrow - it will show you the incoming and outgoing calls separatley.

  • How to find the Latency time in java.

    How to find the Latency time in java.

    long start = System.currentTimeMillis();
    doTheWork();
    long durationInMillis = System.currentTimeMillis() - start;You might repeat doTheWork() several (100-1000 or more) times if it is fast and the granularity of your system clock is not good enough.

  • How does the notify() call work in Java?

    Hi!
    Can someone help me:
    How does the notify() call work in Java?
    H�var

    Java's Thread Tutorial
    JavaWorld: Introduction to Java threads
    IBM: Introduction to Java threads
    Google: java+threads+tutorial

  • N82 outgoing call time limit

    I have a different rate first 20 minutes and after. So I want to stop calling on the 19th minute. How can I limit outgoing call duration? Is there any addition software to automate it? Thanks.

    not that i know of, you can watch your watch for the 19th minute and keep track of it or set a timer on your watch or whatever to keep track of the 19 minutes for you
    You know what I love about you the most, the fact that you are not me ! In love with technology and all that it can offer. Join me in discovery....

  • How to avoid the run time error  "java.lang.OutOfMemoryError"

    hi
    i have written a code to read a txt file ,i used FileReader to read a file . the code is working well for small txt files. but when i tried to read a large file(greater than 2MB), a run time error called "java.lang.OutofMemoryError" appeared .
    plz suggest the methods to read txt files of large capacity(greater than 25MB) .if possible give an example.

    thanks for ur replies
    i am new to java programming .i am a student persuing B.Tech final semester .i got struck in my project while reading a large txt file(greater than 3MB) . i am now giving a part of code that i had used in my project .it working fine with the txt files less than 3MB ,but when i am treing to read a file greater than 3MB , it is displaying a run time error "java.lang.outofmemoryerror"
    i have tried using "java -Xmx" ,it is working , but is there any better option ??
    here is the part of code:
       FileReader fin;
        al=new ArrayList();
         try
              fin=new FileReader(filename);
         catch(FileNotFoundException e)
           System.out.println("File not foumn");
         return;
    while((i=fin.read())!=-1)
           al.add(new Character((char)i));
         fin.close(); 
         Object obj[]=al.toArray();plz help me
    --santosh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to access phone call timer iphone 4

    does the iphone 4 have call timers for phone calls anf if so how are they accessed

    With the Phone app, select Recents.
    Select the right facing arrow in a blue circle icon to the right of a call to view the call time.
    For total call time, Settings > General > Usage > Cellular Usage > Call Time. There is a Current Period and Lifetime. You can reset the Current Period time for calls and data.

  • How to find the Execution Time for Java Code?

    * Hi everyone , i want to calculate the execution time for my process in java
    * The following was the ouput for my coding,
    O/P:-
    This run took 0 Hours ;1.31 Minutes ;78.36 Seconds
    *** In the above output , the output should come exactly what hours , minutes and seconds for my process,
    but in my code the minutes are converted into seconds(It should not)...
    * Here is my coding,
        static long start_time;
        public static void startTime()
            start_time = System.currentTimeMillis();
        public static void endTime()
            DecimalFormat df = new DecimalFormat("##.##");
            long end_time = System.currentTimeMillis();
            float t = end_time - start_time;
            float sec = t / 1000;
            float min = 0, hr = 0;
            if (sec > 60) {
                min = sec / 60;
            if (min > 60) {
                hr = min / 60;
            System.out.println("This run took " + df.format(hr) + " Hours ;"+ df.format(min) + " Minutes ;" + df.format(sec) + " Seconds");
        }* How to Calcualte exact timing for my process....
    * Thanks

    * Hi flounder, Is following code will wotk perfectly?
         public static void endTime()
              DecimalFormat df = new DecimalFormat("##.##");
              long end_time = System.currentTimeMillis();
              float t = end_time - start_time;
              float sec = t / 1000;
              float min = 0, hr = 0;
              while(sec >= 60){
         min++;
         sec = sec -60;
         if (min >= 60){
         min = 0; //or min = min -60;
         hr++;
              System.out.println("This run took " + df.format(hr) + " Hours ;"+ df.format(min) + " Minutes ;" + df.format(sec) + " Seconds");
         }

  • How Do I write a Timer in Java..

    Hi All..
    I need some mechanism where I need to call a CGI and wait a few seconds for response and if I dont get any reponse or if I get an error , then I want to go ahead with my processing accordingly.
    Any Ideas...

    you need to use a separate thread for the timer, take a look at the Multithreading tutorials and a class called SwingHelper

  • How to reduce CPU utilization time in Java Application

    Hi,
    I have created a Java Application. It is a 3-tier architecture. While running my Java application, the CPU utilization percentage shots up to 100 %. I feel that it will affect the system performance and it will hang up the system also.
    If any body know the solution to reduce the CPU utilization or links, please post it.
    Thanks in advance.
    Kennedy

    I know Java class file must be interpreted by VM. but
    Visual Basic is also a language to be interpreted. Why
    it run faster than Java? As Java running speed is
    concerned, it's unwise to apply to the
    enterprise-level application. Now I can't endure Java
    running speed. I wander to know whether it is
    associated with operating system or not.1. Java is nto interpreted in modern (since 1997 or earlier) JVM's - it is compiled into machine code as it is executed via a JIT or a Dynamic compiler (like HotSpot).
    2. VB (5 and later) is also not truely interpreted - in fact it uses the same excellent native code generator used by Visual C++.
    3. Java is principally used these days for enterprise server-based systems where it performs extremely well - or extremely poorly as does C++ in the hands of people who don't know how to use it.
    4. Different JVM's (and in some cases the same JVM hosted on different OS's) perform at different speeds - your mileage will vary. The OS has little influence on the computational speed of java but can highly influence its network, disk and graphics performance, as does hardware configuration (local console versus X terminal - Swing sucks on X Term).
    Chuck

  • How to get system idle time

    Hello Sir,
    I am Udhaya. I don't know how to capture system idle time using java. Please any one help me how to get system idle time. Any class is available in java to get idle time?
    Thank in advance
    Udhaya

    jwenting wrote:
    DrLaszloJamf wrote:
    jwenting wrote:
    the moment you ask the system for its idle time that idle time becomes 0, so just returning a constant value of 0 would always yield the correct answer.But when you don't call this constant method the value it would return is wrong. This is the sort of thing that keeps me up at night.Except of course that when you don't call it it doesn't return it and therefore still behaves properly.
    Or were you thinking of philosphical problems like "what does a method do when it's not called?"?Actually I was trying to see if I could get the OP to say boo to a goose.

  • Implementing Joda Time in Java Netbeans

    How do i implement joda time in java netbeans. i am reporting using ireports and on run time my report is showing java util and and time for a variable say DateOfBirth for which i don want the time to be include.how do i resolve it.
    Thank yu so much

    I am not sure I understand your question as it's posted. But let me offer a reference- there's a book being written by this guy:
    http://www.netbeans.org/community/articles/interviews/yarda-tulach.html
    on designing modular APIs. He's been involved in Netbeans from the start. Writing a plugin API is non-trivial where non-trivial means, essentially, non-commoditized knowledge needed to solve what's known as a "wicked problem".
    If you're asking what I think you're asking, no one is going to be able t type an answer to you in Sun's forums, but it's a good question and the right question to ask, that's for sure.
    best of luck!

  • App for tracking outgoing call usage

    I've been searching around the App Store, but haven't found what I'm looking for yet. I'd like to be able to track my OUTGOING call usage (not total call time like the iOS provides). My other need is to be able to track the number of outgoing SMS messages (I did find an app for that however, but it would be great if there was one app that could do both).
    I live in Brazil and cell phone usage is very expensive. However, we're only charged for outgoing call time, which is why I need to keep track of it.
    Thanks...

    You won't find any apps that will do what you want. No app would have access to the private API's necessary. If your carrier does not provide this info(some do throught their own apps), there is no way to obtain it.

  • Blocking *67  outgoing calls

    I am the account administrator for 3 lines. I am subscribed to usage controls and have blocked restricted/private #'s from being made/rcvd. I want to know how to block outgoing calls made that are dialed using *67 before the # ?.  I have tried to enter *67 into the block numbers field in control usage, however the *asterick* symbol is not recognized nor accepted. 

        Thanks for clarifying that, MilesinMarin!
    Usage controls doesn't enable you to block the users from dialing *67 before the called number.
    I apologize for the inconvenience.
    Tamara H.
    Follow us on Twitter @VZWSupport

Maybe you are looking for