javascript - How to fetch and insert user's phone number in text field on visit -


goal: when user view page, mobile device, automatically insert phone number in input field, make easier convert him in lead.

of course there privacy policy etc.

it promo page, can 10% discount on burger king if you'll leave phone number. when it's typed-in it's lot easier think.

so, can automatically insert mobile user's phone number in text field?

if can, language have use.

thanks lot.

manifest

<uses-permission android:name="android.permission.read_phone_state"/>  

activity

telephonymanager tmgr = (telephonymanager)mappcontext.getsystemservice(context.telephony_service); string mphonenumber = tmgr.getline1number(); 

Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -