On Sun, Oct 3, 2010 at 4:36 AM, Shivakumar T <[email protected]> wrote:
> If my app is dependent on a 3rd party library, say chartdroid. Is there a
> way to check this dependency during installation time and redirect the user
> to install the dependency before continuing to install my app.

I am assuming your "3rd party library" is in the form of a separate
application. In that case, you can use PackageManager to see if it is
installed. However, you cannot do this during installation -- only
when your application is run by the user.

If by "3rd party library" you mean a JAR, that will be bundled in your
application automatically, and so it cannot be missing at installation
time.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 3.0.1 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to