Replacing imageview/button with app shortcut

Hi,I need help with coding for my app.ie consider a blank button/imageview.on click button i need to see list of installed apps within phone and then select one of those apps and replace current button/imageview with those app shortcut icon and on clicking those icon must open app.Can any one tell me how to achieve this?

Anyone guys ? Please help.