Sencha Touch 2 make call to phone number doesn't work properly on android 4.0.4 -
i have simple view info user. when tap on phone number i'm able call number, , it's ok.
when tap on user number in titlebar able call number. user number not phone number, it's kind of id, , don't want call number. can call user number (that in title bar) phone number on android 4.0.4.
on iphone 4 (ios 6) , android 4.1.2 not happaning i.e. can call phone number.
can tell me problem ? , how can solve issue ?
ext.define("callphoneapp.view.test", { extend: "ext.form.panel", requires: "ext.form.fieldset", alias: "widget.testview", config: { scrollable: "vertical", items: [ { xtype: "toolbar", docked: "top", title: "<div>user no. 8344396856</div>" }, { xtype: "fieldset", items: [ { xtype: "label", html: "first name" }, { xtype: "label", html: "last name" }, { xtype: "label", html: "home phone num. <a href='tel:{+38999888777}'>home</a>" } ] } ] } });
try
<a href="#" name="tel:8344396856">8344396856</a>
and listener this---
listeners :{ element : "element", delegate : "a", tap: function (e,eopts) { var link=e.target.name; window.location.href = link; } }
Comments
Post a Comment