Questions tagged [android-5.1.1-lollipop]
Android 5.1 (LOLLIPOP_MR1) is an update to the Lollipop release. It supports API Level 22.
android-5.1.1-lollipop
284
questions
0
votes
0
answers
39
views
Crash APK Cardlan QR Reader
i have a cardlan reader
https://es.cardlangroup.com/products/bus-card-reader-and-validator
is androdi 5.3 Lollipop API 22
works process of the apk is this:
scan QR and check internet
then, send the ...
1
vote
0
answers
74
views
Block the screen from turning on your Android phone
I develop an Android application in Java, using the Level 21 API (Lollipop), which aims to prevent third parties from manipulating the phone to turn on the screen.
I would like to point out that I am ...
0
votes
0
answers
196
views
Is it possible to clear the android application cache at API 21
Is it possible to write a function to clear the app cache on my app. I know that I can go to app settings and clear it that way but I want to be able to do that within my own app in code when its ...
0
votes
1
answer
91
views
How can I show "jump to latest" in a RecyclerView list only when the view is scrolled such that latest entries are not visible?
Is there a simple way to scroll back to latest entries in a RecyclerView only when latest entries are no longer visible (due to the user scrolling away)?
Ideally, I wish if there is a listener that ...
0
votes
0
answers
157
views
Android app halt prcess when phone goes sleep
I am making a simple Android app that monitors a server status and sends an SMS when something is wrong. It is working fine when the phone is awake, but as soon as the phone goes to sleep, the app ...
1
vote
1
answer
266
views
Push Notification content text not showing on Lollipop
Here is the code for showing push notification:
// receiverUid = unique uid for a receiver
// notificationUid = unique notification_uid
// receiverName, title, body are String variables.
...
1
vote
0
answers
768
views
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)
I'm getting about 50 crashes daily. I'm not using any NDK in the app. This is crashing only on Samsung devices. Maximum on Samsung J2.
I'm not using zopfli. I'm using android app bundle. This is ...
1
vote
0
answers
126
views
Android api 21/22 android version 5 video playing problems, video playing throws error Can't play video
Here is my code. When I run this app on android nexus 4 API 22, it throws me error saying "Can't play this video." However, the audio of video plays. Any help would be appreciated. Thanks
...
2
votes
1
answer
605
views
Develop for Android 5.1 on Delphi 10.4?
I am using Delphi 10.4 to develop for Android. I have a Motorola XT1060 running Android 5.1 that is compatible with Delphi 10.3 but generates a OLDER_SDK error on Delphi 10.4. The Android Syscheck ...
0
votes
0
answers
277
views
Xamarin.Forms: WebView support on Android 5.1
I've developed a Xamarin.Forms.Shell app where I use a WebView to manage appointments.
By default, I let the Android minimum Version to 5.0, as I still have an old device on Android 5.1 that I use for ...
1
vote
0
answers
169
views
Resource not found error for vector drawable in android 5 and 5.1
Hi,
I am using binding adapter methods to pass 1 imageUrl and 1 placeHolder drawable in image view like this.
and my binding adapter method is like this:
and here is my vector drawable:
it works ...
0
votes
1
answer
642
views
Appium Android : find element by element Id in Java
I tried the following APIs:
MobileElement book = driver.findElementById("c0cc9a86-2fbb-44d6-b288-d8c763c8a0ea");(1)
MobileElement book2 = driver.findElement(By.id("c0cc9a86-2fbb-44d6-...
1
vote
1
answer
524
views
Crash on start qt 5.15 app(armv8a build) in Android 5.1
The last message before crash in the log:
LOGCAT: F/art (22502): art/runtime/mirror/art_method.cc:356] Check
failed: !IsFastNative() int java.lang.Character.digitImpl!(int, int)
...and I have no ...
0
votes
1
answer
136
views
How to check if still connected to the network set by setProcessDefaultNetwork()
I have the following code that sets the default network of my internet connection.
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP) {
NetworkRequest.Builder ...
1
vote
2
answers
756
views
How to check if both Mobile Data and WIFI are connected?
I have this code:
ConnectivityManager connMgr = (ConnectivityManager)
context.getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo networkInfoWifi =
connMgr.getNetworkInfo(...