Category "android"

Setting the mutability flag in PendingIntent on Android 12 when prompting phone number

In Android 12, it is required to specify the mutability of the PendingIntent. In the signing screen the HintRequest class is used and PendingIntent is returned

Found reliance on default encoding: new java.io.FileWriter(File, boolean)

I'm using FileWrite class to write into a file.and its working fine. But FindBugs is pointing me a Minor issue in my code snippet. code snippet: SimpleDateF

Ionic 4: You need to use a different package name because "io.ionic.starter" already exists in Google Play

I am trying to deploy my ionic app to Google Play. However, when I upload the app apk file, I get this error message You need to use a different package name be

App isn't building after update Firebase Performance SDK

After update classpath 'com.android.tools.build:gradle:3.5.3' to classpath 'com.android.tools.build:gradle:3.6.1' Getting compile errors below.... Caused by: o

Square up FLOW navigation

I followed Lukaspili Demo to create MVP architecture project for Motor & Flow framework integration. I want to have two different activities with for before

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