×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Aug 2006
    Location
    Calgary,Alberta,Canada
    Posts
    78

    tracking call time

    Hello all,

    Is there a way to track the length of an incomming or out going call from a j2me app?? or just a way to detect an incomming or outgoing call. I want to build a call time logger for nokia.
    Last edited by desijatt; 2007-05-23 at 17:27.
    Rupinder Deol

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: tracking call time

    Call timers are not possible to create with J2ME. Your MIDlet might need to exit, or then hideNotify of Canvas is called (or on some phones it might be that pauseApp is called) when a call is received. Those methods can be called also because fo other reasons. ALso you cannot know reliably when the call (or whatever event pushed your MIDlet to the background) ends

    Hartti

  3. #3
    Nokia Developer Expert
    Join Date
    Jun 2005
    Posts
    923

    Re: tracking call time

    This is only possible with JSR 253 (Telephony API). Unfortunately this JSR hasn't been implemented in any Nokia device so far.

    Daniel

  4. #4
    Regular Contributor
    Join Date
    Aug 2006
    Location
    Calgary,Alberta,Canada
    Posts
    78

    Re: tracking call time

    thank you both for your generous responses. I guess Jave is not there yet.

    Just out of curiousity, is it possible with symbian??
    Rupinder Deol

  5. #5
    Nokia Developer Expert
    Join Date
    Jun 2005
    Posts
    923

    Re: tracking call time

    It is possible with Symbian C++ and I believe it's also possible with Python for S60.

    Daniel

  6. #6
    Regular Contributor
    Join Date
    Aug 2006
    Location
    Rawalpindi, Pakistan
    Posts
    486

    Re: tracking call time

    just out of curiosity.guys i have question. many of the things possible in Symbian C++ and not in java like this time of call thing. why is java always one step behind ?
    Regards
    Nouman

  7. #7
    Regular Contributor
    Join Date
    Aug 2006
    Location
    Calgary,Alberta,Canada
    Posts
    78

    Re: tracking call time

    well, Java is platform independent. so it does not have access to the native code [at least not so easily]. symbian c++ is the language of OS so it has direct access to the native api.
    Rupinder Deol

  8. #8
    Nokia Developer Expert
    Join Date
    Jun 2005
    Posts
    923

    Re: tracking call time

    Because every new Java API has to be agreed upon by vendors on Java Community Process before it's implemented. Of course a vendor is free to implement native proprietary Java APIs, but that would break the biggest benefit of Java: platform independence.

    With Symbian OS C++ or Python, it's a single company that decides what should be implemented, and as there's no need for an app to run on all the world's devices unmodified, freedom to innovate and implement new things is greater.

    Daniel

Similar Threads

  1. voice call setup params
    By nishantghai in forum Symbian
    Replies: 11
    Last Post: 2007-04-12, 08:37
  2. Nokia E61 Transfer VoIP Call Bug
    By heininger in forum VoIP
    Replies: 0
    Last Post: 2007-01-30, 11:13
  3. Replies: 2
    Last Post: 2005-10-29, 10:31
  4. 3650 losing time on missed call log
    By antony.john in forum Symbian
    Replies: 0
    Last Post: 2003-10-05, 16:46
  5. SMS time stamp format with time zone parameter?
    By turunhe in forum General Messaging
    Replies: 1
    Last Post: 2002-06-11, 07:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×