Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2012

    How to log the call and sms event?

    There are sms and call links on the page. I want to log the event (use ajax to get a URL) when the links are clicked.
    The links ("sms:" and "tel:") run on the phone, so the dialog(dial message and sms app) show up immediately after the links are clicked.

    But the href not work when i add "onclick" to the links.

    How to log the event quietly and not effect the normal process?
    Thanks a lot!

    <a id="SmsButtonId" href="sms:?body=testBody">sms</a>
    <a id="CallButtonId" href="tel:+1234567890">call</a>

  2. #2
    Registered User
    Join Date
    Jul 2012

    Re: How to log the call and sms event?

    Found the solution for sms.
    for example:
    <a id="SmsButtonId" href="#" onclick="mwl.loadURL('sms:?body=test');mwl.timer('smsTimer',10,1,logSms());">sms</a>
    This worked perfectly.

    But it not work for "tel:", any body can help? Thanks.

Similar Threads

  1. How to capture mobile ringing event or call connected event
    By nitin.84india in forum Mobile Java General
    Replies: 4
    Last Post: 2009-09-03, 06:19
  2. changing event type from intenet call to voice call
    By tal.shahar@mobile-mx.com in forum Symbian
    Replies: 0
    Last Post: 2009-01-12, 09:49
  3. How i can call this event
    By 1symbian1 in forum Symbian
    Replies: 3
    Last Post: 2008-11-07, 04:50
  4. End of call event
    By max.brin in forum Symbian
    Replies: 2
    Last Post: 2007-12-16, 12:38

Posting Permissions

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