I was making a app in which I have many app shortcuts for some apps…so in that app I want to fetch if the required app is installed or not…if installed it will ope the app but if it is not then it will go to the website from the link given in global variables…but I am not able to apply the correct logarithm…can anyone help to solve this issue…
Used this block also…
I have just made a list by getting all the package names…but out of them there are some available in my app…do out of those I want to open the specific app from package name…
for example: I have Google shortcut in my app and I want to to fetch the package name of Google and open it… similarly other apps also
But I am not able to pit the logic…I have saved some urls to some buttons…so if one button is pressed and it has a value then it will check whether the app is installed or not…if it is then open app else open url
This is the logic…but I want to put in blocks…can any of you help me to use this logic on the code…the url opening part of one by me…now I want to open the app
But I am not saving the package name…I am just saving the links of url so how can I fetch the package name… because without it I can’t select which app to open…