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 -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -