android-5.0-lollipop

Disable download / install of App for a specific Android Version or Device

好久不见. 提交于 2021-02-11 06:40:40
问题 I just found out that the android version of my cordova/phonegap based app shows a bug on new android 5 devices (tested on Nexus 4 and Nexus 7). Not sure if the devices or the os version causes this (my guess: android 5) The problem is, that a relatively simple page cannot be scrolled - while buttons still responding to touch events. I'm working on a fix, but until this will be available I'd like to disable the app for all android 5 devices. So, basically I want to make the app manually

Bluetooth LE: undocumented error code 19

青春壹個敷衍的年華 提交于 2021-02-10 13:14:20
问题 My Android app uses BLE APIs, and one of these APIs, BluetoothGattCallback.onConnectionStateChange() , receives an undocumented error code 19. I'm using Nexus 9. Did anybody ever see this error code before? Like I mentioned above, this is undocumented in the Android API reference, and I don't know what to do about it. P.S. I searched issue tickets at Android issue tracker also, and found that developers encounter undocumented, BLE-related error codes often. Hmm, this is grim. 来源: https:/

Bluetooth LE: undocumented error code 19

与世无争的帅哥 提交于 2021-02-10 13:11:08
问题 My Android app uses BLE APIs, and one of these APIs, BluetoothGattCallback.onConnectionStateChange() , receives an undocumented error code 19. I'm using Nexus 9. Did anybody ever see this error code before? Like I mentioned above, this is undocumented in the Android API reference, and I don't know what to do about it. P.S. I searched issue tickets at Android issue tracker also, and found that developers encounter undocumented, BLE-related error codes often. Hmm, this is grim. 来源: https:/

Bluetooth LE: undocumented error code 19

冷暖自知 提交于 2021-02-10 13:10:04
问题 My Android app uses BLE APIs, and one of these APIs, BluetoothGattCallback.onConnectionStateChange() , receives an undocumented error code 19. I'm using Nexus 9. Did anybody ever see this error code before? Like I mentioned above, this is undocumented in the Android API reference, and I don't know what to do about it. P.S. I searched issue tickets at Android issue tracker also, and found that developers encounter undocumented, BLE-related error codes often. Hmm, this is grim. 来源: https:/

Bluetooth LE: undocumented error code 19

白昼怎懂夜的黑 提交于 2021-02-10 13:08:08
问题 My Android app uses BLE APIs, and one of these APIs, BluetoothGattCallback.onConnectionStateChange() , receives an undocumented error code 19. I'm using Nexus 9. Did anybody ever see this error code before? Like I mentioned above, this is undocumented in the Android API reference, and I don't know what to do about it. P.S. I searched issue tickets at Android issue tracker also, and found that developers encounter undocumented, BLE-related error codes often. Hmm, this is grim. 来源: https:/

Different capture output size on certain camera resolutions in Android

北城余情 提交于 2021-02-08 23:43:55
问题 I am developing a custom camera application using the Android Camera2 API where you can switch between the different camera and video resolutions available in the phone. It also offers the possibility to take squared 1:1 pictures. To take the square pictures, I take a normal 4:3 picture and then crop it to maintain the 1:1. (So 4032x3024 would be 3024x3024). I noticed a problem when taking a 1:1 picture on certain resolutions, the output is slightly cropped (zoomed). This is the result of the

Android drawable appears stretched for API <23 and correctly for API 23 and above

不羁的心 提交于 2021-02-08 05:09:51
问题 I am currently using a list selector for my listview and created it using layer-list. This is my xml code: <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/menu_arrow" android:width="18dp" android:height="36dp" android:top="5dp"/> <item android:top="0dp" android:left="5dp" android:bottom="0dp" android:right="0dp"> <shape android:shape="rectangle"> <solid android:color="@android:color/transparent"/> </shape> </item> When i build the app,

Android drawable appears stretched for API <23 and correctly for API 23 and above

倾然丶 夕夏残阳落幕 提交于 2021-02-08 05:08:01
问题 I am currently using a list selector for my listview and created it using layer-list. This is my xml code: <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/menu_arrow" android:width="18dp" android:height="36dp" android:top="5dp"/> <item android:top="0dp" android:left="5dp" android:bottom="0dp" android:right="0dp"> <shape android:shape="rectangle"> <solid android:color="@android:color/transparent"/> </shape> </item> When i build the app,

Android drawable appears stretched for API <23 and correctly for API 23 and above

萝らか妹 提交于 2021-02-08 05:05:04
问题 I am currently using a list selector for my listview and created it using layer-list. This is my xml code: <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/menu_arrow" android:width="18dp" android:height="36dp" android:top="5dp"/> <item android:top="0dp" android:left="5dp" android:bottom="0dp" android:right="0dp"> <shape android:shape="rectangle"> <solid android:color="@android:color/transparent"/> </shape> </item> When i build the app,

How to test your program after updating the OS on Android in emulator?

被刻印的时光 ゝ 提交于 2021-02-07 13:39:55
问题 For our android app we have had customers that report the program crashes after updating their system from Lollipop to Marshmallow. The program works fine if they do a clean install on Marshmallow, it only happens when they update. I am trying to recreate their environment on a emulator. The problem I am encountering is I can not figure out how to install the program on Lollipop in the emulator then upgrade the emulator to Marshmallow so I can run a debugger on the program to see where it