Re: [android-developers] How to make an Android app which cannot be deleted event after hard reset

2017-02-13 Thread 'Jean-Baptiste Queru' via Android Developers
You can't, because this violates software layering: you can't have something built on top of an OS whose behaviors survive the installation of another OS. Software that accomplishes what you want would have to be much much lower in the stack, and would frankly be a very bad idea. JBQ --

Re: [android-developers] No Real Persistent Background Work? Pathetic Google -.-

2017-02-13 Thread 'Jean-Baptiste Queru' via Android Developers
I'm assuming that you have an explicit and strong reason to stay away from GCM or Firebase. Two aspects: -In any mobile environment, you absolutely have to be able to deal with situations where sockets get closed on you anyway, and not have connectivity for a while. If you want to match GCM or

Re: [android-developers] Android Webview Url loading Issue

2016-09-26 Thread 'Jean-Baptiste Queru' via Android Developers
Spaces aren't legal characters in URIs, even though many tools accept them. You should URI-encode them. While this is not a fully scalable solution for all types of characters that might appear in a URI and cause problems, replacing all spaces in a URI with %20 is likely to solve your immediate

Re: [android-developers] Why won't my app work on devices running 6.0?

2016-05-25 Thread 'Jean-Baptiste Queru' via Android Developers
The biggest problem you can have running on 6.0 is expecting that your app has all the permissions it requests, whereas starting with 6.0 the user can revoke some of those permissions, even if you target an earlier version. That is a great opportunity to ask yourself for every single permission

Re: [android-developers] Android dialer app license

2016-05-03 Thread 'Jean-Baptiste Queru' via Android Developers
Odd, somehow the Dialer directory doesn't contain the customary NOTICE and MODULE_LICENSE_APACHE2 files that are included in most Android directories. Likely an oversight from Google, most probably when Dialer got split off from Contacts. Oops, I guess I deserve some of that blame. Individual

Re: [android-developers] Screen on event

2016-04-25 Thread 'Jean-Baptiste Queru' via Android Developers
http://developer.android.com/reference/android/content/Intent.html#ACTION_SCREEN_ON Using this is probably a bad idea, though, as it requires that you keep a Service running at least while the screen is off, which in turn uses RAM, which in turn might cause other services to get bumped from

Re: [android-developers] Must Enable Location to use Bluetooth and WiFi Background Scanning: Android API 23 Hardware Identifiers Changes

2016-04-25 Thread 'Jean-Baptiste Queru' via Android Developers
Those BT and WiFi APIs are used to determine proximity between devices, i.e. location, so it's expected that they are also tied to location as a baseline. JBQ -- Jean-Baptiste M. "JBQ" QuéruMobile Excellence Architect, YahooSent from Yahoo Mail On Saturday, April 23, 2016 5:10 PM, Nancy G

Re: [android-developers] users able to download older apk version

2016-04-05 Thread 'Jean-Baptiste Queru' via Android Developers
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Assuming that the new APK is available to the same users as the old one, there are several scenarios that can cause what you're

Re: [android-developers] How are big android applications managaging and optimizing network calls specially for poor networks like 2g ?

2016-01-13 Thread 'Jean-Baptiste Queru' via Android Developers
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Your biggest problem on a 2G network might actually be latency. Resolving DNS, establishing a TCP connection, negotiating TLS

Re: [android-developers] Game not playing on some compatiable devices

2016-01-12 Thread 'Jean-Baptiste Queru' via Android Developers
There are many devices out there with screens below 320 dpi. Even if your app is phone-only, there are many hdpi phones out there (240 dpi) (480*{800,848,854}), and mdpi isn't quite dead yet (160 dpi). Chances are, an issue very directly related to the screen density would affect all such