News for hackers. Stuff that matters.
Re:The Perils of Loading Native Libraries on Android by js2 on Sunday November 08, 2015 @10:47AM (#10528772)
We've seem the same problem at Yahoo:

https://github.com/yahoo/ygloo-ymagine/blob/master/src/com/y...

Here's another fun Android / PackageManager behavior - Android doesn't kill an app before upgrading it (unlike on iOS). You may think this is a feature, except that after the upgrade the PackageManager is now out-of-sync with the running code. So for example, say v1 of the code is still running after an upgrade to v2, and the code calls getPackageInfo() in order to find out say, its versionCode. The running code will erroneously think it's v2.

Re:The Perils of Loading Native Libraries on Android by Natanael_L on Sunday November 08, 2015 @11:29AM (#10528903)
Should you try to detect an initiated install and close?