Category "android"

How to parse raw data in android kotlin using retrofit?

I have a webservice api which is having some raw data. No json structure data. And all i want to parse it. This is the response i am getting from an api. And h

In app update in android always give UpdateAvailability.UPDATE_NOT_AVAILABLE

I am using in-app update but it is not working in production. I tried various ways but could not resolve the issue. The code is in java for android studio proje

FAILED: setup-jack-server when building LineageOS

I'm attempting to build LineageOS for the Moto Z (griffin) on a server, but the build crashes and burns 5 minutes out the gate. FAILED: setup-jack-server /bi

How do I make my Android app prefix each displayed line of text with ">"?

My app displays a long line of text like this: I want to add a ">" character to each line, so I tried the following code: private String addPrefixChars(Stri

Android Drawable Importer plugin not working in Android Studio 3.6

I have updated my Android Studio to version 3.6 (Build #AI-192.7142.36.36.6200805). This issue is with the Android Drawable Importer plugin which is no longer w

How to prevent android talkback to speak seekbar progress

I have a custom control extending SeekBar, in which I have overridden onInitializeAccessibilityNodeInfo as below: @Override public void onInitializeAccessibili

Google speech to text: Extra language set to "kn" but not working

I am trying to use Google Speech to Text API for Kannada language and I am setting EXTRA_LANGUAGE to "kn" for the same but it is not working. Below is the code

Popup menu goes out of the screen

Popup menu on inflate goes out of the screen for this activity, works fine for other Extending custom AppCompatActivity Styles: <style name="AppTheme.Ac

Android App doesn't have internet connection - No Permissions required

Well, I have built an app to store values on a remote database. It works!! I didn't use an emulator for testing instead I used my own phone. Now the problem is

Open play store app from browser link

From this post I was able to create a functionality to redirect user to android or ios from a single link. However, on detection of Android I want to open the p

Attempted to finish an input event but the input event receiver has already been disposed error

I am not sure what I have done but for a moment my code was working smoothly and after I added a new activity the error Attempted to finish an input event but t

Visual Studio Emulator is Offline Not Launching C++ Mobile

You might let me explain my little issue. I switched from android studio to visual studio for mobile c++ developing. I installed VS (visual studio) and also an

How to skip an item in nested map based on When()

I want iterate over items's data and create a a new list of SomeData based on item.type however when type is UNKNOWN I need skip that element and not add to lis

Flutter RawKeyboardListener listening twice?

What I am trying to achieve is when viewing this widget, the RawKeyboardListener starts listening straight away when the TextField is not selected/in focus. It

State of nested Fragments is lost when returned to same tab in 'Navigation Architecture Component'

I'm exploring the the 'Navigation Architecture Component' concept which introduced in Google I/O 2018 last month. Let say I have an activity with a bottom nav

Android Clean Architecture UseCase

I am developing a simple application. The user navigates through the elements of the RecyclerView to the end screen. When scrolling LastFragment to the very bot

How to debug over wifi with Android Studio

I am trying to set up to debug an Android app on a tablet (running 6.0.1) over wifi (not over USB, because the app needs hardware plugged into the USB port). G

How to send http post request from Android?

I'm new to android and now I'm so tired of searching the best tutorial about android HTTP requests. I'm trying to send these parameters to phpServer, Name = "

Ruby - Appium (android) webdriver actions throws "NoMethodError: undefined method `perform_actions' for nil:NilClass"

I saw that touch actions are now deprecated and the recommendation is to use webdriver actions instead. I've been following the exact example from: https://appi

ANDROID - Biometric_Not_Enrolled not working on my test device but works on emulator

my Biometric feature is working nice at emulator but when I test it on my Galaxy A7 2017, it is not working properly, instead of recognize as BiometricManager.B