android-5.1.1-lollipop

Update Android System WebView on SDK Emulator

馋奶兔 提交于 2019-12-06 18:31:22
问题 I have a problem with my cordova app after the latest Android System WebView update (44.0.2403.39) on Android 5.x devices. I would like to update the replicate the problem on the SDK Emulator. But the standard image of Android 5.1 comes with the WebView version 39. Is there any way to update this component on the emulator? I've found the APK for the update here but after installing it shows two entries on the App list on System Settings and it's not updating. So I can't replicate the problem.

Store video files on SD card in Android 5

折月煮酒 提交于 2019-12-06 12:24:58
问题 I'm recording video with the aid of android.media.MediaRecorder class, which accepts path string for output file (MediaRecorder.setOutputFile(String)), though there is a version of the method which accepts FileDescriptor . I need to store huge video files, so I want to use SD card. In order to get path to relevant directory I use Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM) . It turns out that resulting path is for the “emulated” storage ( /sdcard/… ) instead of

Android: support features don't appear in android L

醉酒当歌 提交于 2019-12-06 12:09:44
I use Android Studio 2.0 . I have used RecyclerView and CardView which render properly on kitkat but when the app is run on SAMSUNG A5 with android 5.1.1 (lollipop) the RecyclerView doesn't scroll and my CardView doesn't have elevation and corner. I tried solutions suggested in SO such as adding card_view:cardUseCompatPadding="true" and adding margin. Even changed xmlns:card_view="http://schemas.android.com/apk/res-auto" to xmlns:card_view="http://schemas.android.com/tools" But these didn't work This is my RecyclerView: <?xml version="1.0" encoding="utf-8"?> <android.support.v7.widget

Rejecting re-init on previously failed class error when loading a Class with dalvikvm

本小妞迷上赌 提交于 2019-12-06 08:57:58
I am trying to use Terminal IDE on Lollipop 5.1.1. Using a Samsung E7 device, a mod version of Terminal IDE is provided by someone on XDA here: http://forum.xda-developers.com/showthread.php?t=1340852&page=7 I tried to use javac script in that mod but it gave an unsatisfied link error, saying that: $ javac java.lang.UnsatisfiedLinkError: org.apache.harmony.security.fortress.Services at org.apache.harmony.security.fortress.Engine.getServices(Engine.java:158) at org.apache.harmony.security.fortress.Engine.getInstance(Engine.java:137) at java.security.cert.CertificateFactory.getInstance

SwitchPreference Callback behaviour change in lollipop

我的梦境 提交于 2019-12-06 06:06:51
In our project we are using SwitchPreference similar to wifi settings.user can toggle value by clicking on toggle button and user can see more options by clicking on title. But this is not working in lollipop. I can see some behaviour change in lollipop. In kitkat: When user taps on toggle button, onPreferenceChanged callback is called and when user taps on title, onPreferenceClicked is called. In lollipop: you tap on toggle button or title onPreferenceClicked is called always and after that onPreferenceChanged is called. How can I get same behaviour in lollipop? This behaviour is breaking our

Content Transitions on Top of Shared Elements in android

眉间皱痕 提交于 2019-12-05 15:18:33
I am trying my hands with SharedElements and Content Transitions in Android. I was trying to combine Content Transitions and Shared Elements and create a particular animation, however I have encountered a problem. After the transition on Shared Elements (ImageView) end, I am using content Transitions to animate Text View into position using Slide Transition. However when the textViews are sliding from Bottom to their position on the top of image View, the text goes beneath the ImageView (Shared Element) and later just appears on the top of the ImageView. Is there a way to do this right? I am

Update Android System WebView on SDK Emulator

孤街浪徒 提交于 2019-12-05 01:21:14
I have a problem with my cordova app after the latest Android System WebView update (44.0.2403.39) on Android 5.x devices. I would like to update the replicate the problem on the SDK Emulator. But the standard image of Android 5.1 comes with the WebView version 39. Is there any way to update this component on the emulator? I've found the APK for the update here but after installing it shows two entries on the App list on System Settings and it's not updating. So I can't replicate the problem. The first one is the view that comes with the emulator v39 and the second one is the v44 Also is there

Android app time delay on 5.0+ devices

ぃ、小莉子 提交于 2019-12-04 23:32:31
My app is taking 10-12 sec delay while first load on 5.0+ devices, 4.4 or below devices does not have this problem. I have added a log message in Application class onCreate method but it is also called after 10-12 sec seconds. I have tried multidex enable false, minify enabled true but does not make any difference. I have found one thing, when we clear cache and data from app info activity, then it again delay while loading and my app is taking around 10mb of cache and 5 mb of data which is higher than usual. How to address this problem? I have not find this type of issue on net or

AutoCompleteTextView strange behaviour in LolliPop Device

假装没事ソ 提交于 2019-12-04 20:47:33
问题 I am using AutoCompleteTextView in my layout. But it's colorControlNormal and Activate is not Working as I expected. My Color value is #0072BA . Below is figure for Different Device. 1.) Android Kitkat 2.) Android LolliPop 3.) Android Marshmallow Xml code that i used is below <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="@color/md_black_1000" android:layout_marginTop="5dp" android:textSize="15sp" android:text="Medical Store Name" android

Can we display Old Style Time picker (Pre Lollipop Time Picker ) in lollipop devices

末鹿安然 提交于 2019-12-01 05:31:24
问题 I want to show older time picker (like pre lollipop devices time picker ) in lollipop devices. Can This is possible. 回答1: You can specify the spinner-style time picker by setting the timePickerMode attribute to "spinner". The default value on Material is "clock". 来源: https://stackoverflow.com/questions/30773646/can-we-display-old-style-time-picker-pre-lollipop-time-picker-in-lollipop-dev