android - How to open dialer on click of ListView -


i have 1 application in list view there in list view number , button there , want button click number goes dial screen... please suggest

i think asking call functionality, try below code on button click,

intent intent = new intent(intent.action_dial);  intent.setdata(uri.parse("tel:" + "2356894745")); startactivity(intent);  

Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

Simple Angular 2 project fails 'Unexpected reserved word' -

ios - Possible to get UIButton sizeThatFits to work? -