How can I check if an app was installed on a device before trying to access it from another app? Is there any sort of checkApplicationManager method I can call?
Thank you.
Alternatively, you can also create an Intent object with appropriate Component info and then check if the Intent is callable or not using the following function:
Eli Zuckerman
Greenhorn
Joined: Apr 19, 2010
Posts: 4
posted
0
Thanks. I'll try this out today
martijn van gils
Greenhorn
Joined: Dec 16, 2011
Posts: 2
posted
0
Hi guys
I'm having the same problem as Eli,
but due to my lack of programming knowledge i don't know how to use it. If i want to check for the zxing Barcode scanner.
I tried some code but it doesn't really do anything.
i the toasts will be replaced with a popup that points the user to the market if the scanner is not allready installed.
thank you for your help beforehand.
martijn van gils
Greenhorn
Joined: Dec 16, 2011
Posts: 2
posted
0
thanks guys with this code i finally got it to work.
just needed to keep hacking away at it :P