Category "android"

Android build issue with 'scan' plugin - Flutter

Android build failing with following exception. Plugin: scan [https://pub.dev/packages/scan] FAILURE: Build failed with an exception. What went wrong: Executio

Android gives error "Cannot fit requested classes in a single dex file"

I don't know why but it's impossible to launch my app on my mobile this morning. I get this error message: Cannot fit requested classes in a single dex file. T

Views get stuck on Top Left Corner (Android Studio)

I'm a begginer in Android Development so I decided to download Android Studio. I created a project and in my first couple of times trying to build the App the c

Why cant I deploy on an App with certification on an lower Api version?

I'm trying to deploy my App on another phone. I already installed the cert on the new phone and I'm still facing this problem. java.security.cert.CertPathValida

Cannot resolve method registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter) in Fragment class

//here my code //used this IntentFilter IntentFilter filter = new IntentFilter(); filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); filter.addAction(Bl

Search view disappears when 'search' button on the soft keyboard is clicked

I have a search view on my menu. When I search for something and then click on the 'search' button on the phone's keyboard, the search view disappears. I have

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