Category "android"

Square up Flow History Clear

I am learning android MVP pattern implementation with Square up Motor & Flow concept. I dont know how to clear my Flow history after user login is succeed.

how to manage lists in android auto?

I can display the information of my phone application but I am restricted to display only six. I would like to know how to proceed to display the rest of the el

FCM push notifications only works on Android, but only the message is sent to both Android and IOS

In our backend we are raising events for creating push notifications and message only through FCM (separated). One "message"(data only) for customer and the cl

Android navigation fragment: other fragment is blank screen

The next screen does not come up when navigating between fragments. It exits fragment a but does not go to b. When I inspect the profiler it says I'm in fragmen

From Unity android app open setting panel within custom canvas view

I would like to open Unity Android application from the setting panel within the custom canvas view. Can I get a code snippet to bring it within canvas view rat

Passing ArrayList of JsonObjects through intents [duplicate]

How do I pass ArrayList of JSONObjects from RecyclerView's viewholder to another activity through intents?

what should be the size of Drawer Header Image?

public DrawerProfile(Context context) { super(context); HeaderImageView = new ImageView(context); HeaderImageView.setVisibility(VISIBLE

Android Firebase Remote Config initial fetch does not return value

I'm using Firebase Remote Config to fetch data when app first open for the first time. But problem is I cannot fetch data on first start of the app. onComplete(

Is ExoPlayer supported in Android automotive apps?

hey guys I need your help, we are currently develop an android automotive application, and we have a part in it that will play a music/media from HLS, HTTP LIVE

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