Top "Android-5.1.1-lollipop" questions

Android 5.1 (LOLLIPOP_MR1) is an update to the Lollipop release.

Android getResources().getDrawable() deprecated API 22

With new android API 22 getResources().getDrawable() is now deprecated. Now the best approach is to use only getDrawable(). What changed?

android android-drawable android-resources android-5.1.1-lollipop
Android XML: android:elevation vs. app:elevation

When do I use android:elevation and when app:elevation? What's the difference between those two?

android android-layout android-5.0-lollipop android-xml android-5.1.1-lollipop
Android MediaCodec Encode and Decode In Asynchronous Mode

I am trying to decode a video from a file and encode it into a different format with MediaCodec in …

android android-5.0-lollipop video-encoding android-mediacodec android-5.1.1-lollipop
How to change background color of app icon

as you know Android 5 add a background color to old apps. Newest apps are able to set a background color …

android icons background-color android-4.4-kitkat android-5.1.1-lollipop
How to display image with intent.ACTION_VIEW

My grammar can run at android 5.1 but is not working at android 7.1.... File file = new File(Environment.getExternalStorageDirectory(), "Pictures/1481853170451.jpg"); …

android android-intent android-5.1.1-lollipop android-7.1-nougat
boolean android.net.NetworkInfo.isConnectedOrConnecting() is not working in Android 5.1.1

I am working on an Android Tablet Application, I am checking Internet connectivity within an Activity named "Home". I have …

android android-5.1.1-lollipop