Get all installed applications on device

This code shows how to get all installed applications on device using Application API.