Category "android"

BroadcastReceiver not working when app is not running

In my manifest file I have declared the receiver. (as follows) <receiver android:name=".OnAlarmReceive" /> however, once I shut down my application, I

Google maps hide marker title in Android

I'm trying to add a Marker into my Google map. Here is the code. private final LatLng LOCATION_HOME= new LatLng(6.0334009,80.218384); mMap.addMarker(new Mar

Keyboard is not opening automatically though autoFocus={true}

I have a TextInput inside a Modal with autoFocus={true}. As soon as Modal is opened TextInput is focused automatically but keyboard is not opening automatically

Push Notifications take too long to arrive

I'm having a weird problem with push notifications in an adobe air app for iOS and Android. I'm using the Easy Push ANE from Milkman Games along with the One S

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