Category "android"

Failed to resolve: com.github.barteksc:android-pdf-viewer:2.8.1

I am trying use this library in my Project. But i am unable to download it by adding it in gradle build. In fact i am even unable to download any library throug

Google play java.lang.NullPointerException

I have an app with 100 installs done but I have 2 error on java.lang.NullPointerException; the thing is that when that error came in my device or emulator I cou

RecyclerView items duplicate and constantly changing

What's Happening: The list (RecyclerView) is mixing up the data when I scroll. I.E when I scroll back up after scrolling down, some of the list items are

Reading data from Sqlite Database in android application.

I am trying to read data from a database. I imported the database in the sqlite manually and now just want the connection made in android application and want t

Change EditText.setError() background and error message android

I want to change the text and background color of error message for invalid email address. I tried but my text message doesn't display any content. here is my c

How to make layout with rounded corners..?

How can I make a layout with rounded corners? I want to apply rounded corners to my LinearLayout.

Leaking MainActivity through WebView

I have an app whose Activity has a fragment with a webView. This webView is being instantiated with an Activity context, as the documentation indicates. The pro

Parse Server Push notification with FCM not received

I don't receive Push notification with Parse Server, i tried only from dashboard it says "SENT" but it's not delivered. Here's my index.js configurations :

Visual studio can't debug Android Xamarin app

I've started with Xamarin and Android using Visual Studio 2013. When I start debugging the android app, it builds, deploys to device and then debugging in Visu

Could not get traffic stats of tunnel interface in Android 10 & 11

Accessing /proc/net/dev is restricted from Android 10 (API level 29). And no luck for ifconfig as well. I tried to use TrafficStats, in which we have restrictio

Highlighting a menu item in system settings

Trying to bring up an unaswered question I found here - How to highlight android setting app menu item? As seen in this video https://www.youtube.com/watch?v=eH

Can't initialize/start emulator after press F5 without starting emulator device VS 2019/2022

If in a new project I start the emulator device and next press F5 the project is showed in the device correctly, but if I miss step one and directly press F5 it

Android: set empty view to a list view

<TextView android:id="@android:id/empty" style="@style/FacebookFont" android:layout_width="match_parent" and

INSTALL_FAILED_USER_RESTRICTED : android studio using redmi 4 device

Got this freaky error Installation failed with message Failed to finalize session : INSTALL_FAILED_USER_RESTRICTED: Install canceled by user. It is possible th

android - how to set and get value from spinner

I am trying to set and get value to a spinner for item dynamically ? any ideas ? I just need help with the Spinner behavior right now, the rest should be q

How can I disable a task in build.gradle

I want to skip some tasks when I run gradle build. I know that it can be done from command line with -x: gradle build -x unwantedTask My question is how can t

Why AVD Manager options are not showing in Android Studio

Why i'm unable to see Android Virtual Device (AVD) I'm facing problem to create AVD in android studio, the problem is i'm unable to see any of this option Tool

Organize shared code between androidTest and test

I'm building an android component in the form of a gradle project. To test my components UI in several configurations with the espresso framework, I have a Test

How to Lock Android App's Orientation to Portrait in Phones and Landscape in Tablets?

I am developing an Android app whose orientation I don't want changed to landscape mode when the user rotates the device. Also, I want the locked orientation to

Picking video file on Android 10: Error NdkMediaExtractor can't create HTTP service

I'm using Unity version 2019.4.3f1 I'm trying to load local video file on Android 10 device (Samsung A90) from the gallery but I'm not able getting this error: