nexus-6p

Android sampling rates variation of hardware Sensors on Nexus 6P

不羁岁月 提交于 2021-01-27 07:56:24
问题 I'm developing an Android app, for a research, and im reading several Sensor data like accelerometer, gyroscope, barometer etc. So I have 4 Nexus 6P devices all with the newest Factory Image and freshly set up with no other app installed than the standard once which are pre-installed. So the Problem that occurs now is that one of the phones is constantly lagging behind, so for example i record for half an hour the accelerometer at 105 Hz (so the max possible rate for the accelerometer is

SharedPreferences not being removed on user uninstalling application

自古美人都是妖i 提交于 2019-11-27 21:01:37
Has anyone encountered this issue on a Nexus 6P device? I am only getting this issue on a Nexus 6P (running Google Fi). When I install the app there is a key for userIsLoggedIn inside SharedPreferences . This block: boolean userIsLoggedIn = SharedPrefs.userIsLoggedIn(this); // Then in another class... public static boolean userIsLoggedIn(Context context) { // For users updating apps, if the previous key-value is a string, convert it to boolean try { return context.getSharedPreferences(LOGIN_FILE, Context.MODE_PRIVATE) .getBoolean(USER_LOGGED_IN, false); } catch (ClassCastException e) { Logger

Cannot see Nexus 6P for debugging

自作多情 提交于 2019-11-27 14:48:43
问题 I'm using Windows 10, a Dell XPS 13, and v1.4.1 of Android Studio. I have SDK Tools 24.4.1 installed as well as Google USB Driver 11. # On the phone I have USB debugging enabled and can see the device in File Explorer (i.e. documents, pictures, etc.). But the device never shows up using adb devices , nor in Android Studio. I've never had this much trouble getting an Android device debugging before, but I don't know if it's Marshmallow or the Nexus 6P that's to blame. More importantly, I've no

SharedPreferences not being removed on user uninstalling application

大城市里の小女人 提交于 2019-11-27 04:29:31
问题 Has anyone encountered this issue on a Nexus 6P device? I am only getting this issue on a Nexus 6P (running Google Fi). When I install the app there is a key for userIsLoggedIn inside SharedPreferences . This block: boolean userIsLoggedIn = SharedPrefs.userIsLoggedIn(this); // Then in another class... public static boolean userIsLoggedIn(Context context) { // For users updating apps, if the previous key-value is a string, convert it to boolean try { return context.getSharedPreferences(LOGIN