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

c - Calling a function within a loop -

vb.net - Unbound DataGridView add row with checkbox error -

How i fill combobox items in Radgridview manually using in vb.net -