android-5.1.1-lollipop Questions
16
Solved
With new android API 22 getResources().getDrawable() is now deprecated.
Now the best approach is to use only getDrawable().
What changed?
Promontory asked 13/3, 2015 at 20:5
2
Solved
I develop an app that uses AlarmManager to set a bunch alarms (usually around 50) that need to be fired at a certain time during the year.
This is the code I'm using since 4.4 kitkat changed the Al...
Chivalric asked 13/2, 2016 at 13:11
0
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 ha...
Alexio asked 23/2, 2021 at 20:16
2
Solved
This answer suggests that an Android app can run dpm like this:
Runtime.getRuntime().exec("dpm set-device-owner com.test.my_device_owner_app");
This fails silently on my Nexus 4 running 5.1.1. T...
Rafferty asked 5/6, 2015 at 20:5
5
I am using CardView inside a RecyclerView.
After reading a lot I ended up with following 'NOT WORKING' code only on Android 5.1.1. On Android Version prior to this one its working nice.
<?xml v...
Pacifica asked 2/8, 2015 at 15:12
2
Solved
I was trying to get the MCC and MNC number (basically I want the IMSI number but these will also suffice) in Android 5.1 device having dual Sim (both active). As 5.1 supports dual Sim so I used the...
Dinky asked 24/7, 2015 at 13:32
3
Solved
When do I use android:elevation and when app:elevation?
What's the difference between those two?
Overblown asked 10/10, 2015 at 13:5
4
Solved
A bit of advice or idea is needed.
I am trying to build Android 5.1.1 Lollipop with Jenkins. But it fails to build libwebviewchromium.so:
...
out/target/product/generic/obj/GYP/shared_intermediat...
Hayashi asked 12/12, 2018 at 19:19
2
I am trying to decode a video from a file and encode it into a different format with MediaCodec in the new Asynchronous Mode supported in API Level 21 and up (Android OS 5.0 Lollipop).
There are m...
Lanza asked 9/3, 2016 at 6:34
11
Solved
I have updated my project's minSdkVersion from 19 to 21. This has caused an issue on 5.0/5.1 devices where I can't run the app. I keep getting a ClassNotFoundException on my Application class. The ...
Yorker asked 27/4, 2017 at 19:29
1
Solved
I'm developing an application that need this permission: android.permission.MANAGE_USB.
I know that this permission is given only at System Application.
If I install the application as a system...
Merrick asked 25/10, 2017 at 13:28
1
Solved
We developed an app before for jellybean to nougat but now we're having a problem after updating our xamarin in visual studio.
Before, our apk is perfectly running in all Android version but now a...
Mahla asked 13/7, 2017 at 9:49
4
Solved
I have a button style with a blue background that works fine in API 22, but the same button appears in dark grey without the applied style in Android 4. This is my style:
<style name="MyApp.Pl...
Bourque asked 11/8, 2015 at 19:48
2
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 Kit...
Retiring asked 21/8, 2016 at 4:39
1
Solved
I have a service that has one instance of BluetoothGattCallback
public class MyService extends Service {
private BluetoothGattCallback callback;
@Override
public void onCreate() {
super.onCr...
Tronna asked 22/10, 2015 at 5:35
5
Solved
I have written a launcher-app for Android with Apache cordova. It's for a kiosk-like application and basically it's working fine.
Unfortunatelly there is a problem:
Under certain circumstances And...
Pinero asked 1/6, 2016 at 7:43
2
Solved
In view of normal Lollipop transition of Activity having shared elements, e.g. https://github.com/codepath/android_guides/wiki/Shared-Element-Activity-Transition, it is quite common one is transiti...
Extractive asked 24/9, 2015 at 3:19
2
I have searched all things and experimented but not luck with NavigationView.
itemIconTint, itemTextColor and itemBackground working with ripple effect. but problem is state selected not working i...
Kristiekristien asked 24/10, 2015 at 7:17
1
I have successfully called third party apps from my app
Apps like: Google Drive and Google Photos
Code:
btnL1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v...
Pollywog asked 16/3, 2016 at 4:34
1
Solved
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=134...
Savarin asked 5/2, 2016 at 5:7
1
I found the problem with SimpleDraweeView of fresco at the beginning.
However the problem still exists after I replace with android ImageView.
So I can't be sure whether the problem is due to Andro...
Preciosa asked 1/10, 2015 at 7:39
3
Solved
How to detect which app has been launched by user in my app i.e my application should get notified when Whatsapp is launched by user even if my app is not running in foreground or background.
hike...
Sitka asked 3/2, 2016 at 8:39
2
I was installed old version(version 1) of my application from google play store in my phones. Now I would like to update this app to new version(version 2), so, I generated new apk file by using an...
Cubit asked 26/11, 2015 at 3:43
1
as you know Android 5 add a background color to old apps.
Newest apps are able to set a background color for their icons.
I'm using API Level 19 (Android 4.4.2) and here is how i set the icon for m...
Cheslie asked 2/10, 2015 at 9:53
1
Solved
My device runs Android 5.1.1 and I found out that if I use
Toast.makeText(this, "This is a toast", Toast.LENGTH_SHORT).show();
I got this:
But if I use getApplicationContext() instead of this...
Umber asked 9/10, 2015 at 19:6
1 Next >
© 2022 - 2024 — McMap. All rights reserved.