I have a WebView that's being run under root, and WebViews can't run under root (that's a good thing!) - but I'm an SDK and I'm stuck inside an app running as root.
I can bypass the exception thrown with reflection - but that's really ugly, and I would really want to avoid a WebView running as root (even though it performs no external internet access at all).
WebViews are android aren't very well protected in that it's very easy to shoot yourself in the foot. I totally get their choice to block it for my legitimate use case if it helps prevent security issues for 99% of users.
I have a WebView that I need in my SDK, I have a legitimate reason for that (honest), our SDK is being integrated in an app that's running as root on a rooted device.
You're mistake was thinking it would be a simple solution. I would never think that was a simple solution unless you know the hotspots beforehand :P dynamic catching the hotspots is hard
i know the hotspots beforehand, but i don't want to do the calculations dance
i want to be able to throw a image / svg / wathever to an intern and tell him "look at image 1's code, and add ths new one right below it on the list".
"This year we've cut cell tower support and WiFi to improve battery life and make it 1mm thinner. We now sell a bluetooth cell dongle to carry in your backpack, no more bulky SIM cards."
I don't think this is a good solution to implement a bottom navigation bar across your application since you are creating Activities, and it will be clear to the user that every time you change activity the screen will totally swap (bottom bar included) instead of keeping a fixed element in the b...
The benefit is, you're not using a random 3rd party library that most people don't use and asking for help with it, you're using an official android, well documented feature
After updating to android studio 3.0 and creating a new project I noticed that in build.gradle there is a new way for adding new dependencies instead of compile there is implementation
and instead of testCompile there is testImplementation
ex:
implementation 'com.android.support:appcompat-v7:...
Lately I've been coming across several jokes and comics about how apparently awful PHP is.
As a complete ignorant of the language, why is this? Is it my own perception or is this the overall general feeling on the programming community?