Category "android"

How to hide the default android webview progress bar?

i work on an app that displays a page through a webview. I have implemented my own progress bar and it works fine. However i cannot get rid of the default andro

Return fingerprint and save in firebase

I am trying to write an app using flutter or android studio. The user will login to the app using his fingerprint. I want to read the fingerprint and save it in

Override done button functionality inappbrowser

Is it possible to override done button functionality? i need to just hide inappbrowser on done button as when show same the last visit url next time.

BATTERY_OPTIMIZATIONS not working even After Granting Permission from BATTERY_OPTIMIZATIONS Dialog in some Vivo,Oppo Devices

This is my Code:- AndroidManifest.xml <uses-permission-sdk-23 android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/> Java side: if

How do i add registered username in android application to SMS?

I'm currently developing a GPS Live Tracking Android Application. So the function of the application is to send a SMS to the admin mobile number using the regis

Install APK by programmatically Xamarin.Forms (Android)

So far my code looks like this: 1. Dowload the APK file and save it into internal storege: Using DependencyServices App.xaml.cs IDownloader downloader = Dep

How to identify the HDMI port and TV switch in android programmatically?

I want to know how to handle the HDMI switch to TV's home events. I have developed an app with exoplayer for FireTV. Issue is when I switch between HDMI port an

How to fix "Android resource linking failed" error in Android Studio?

I just started learning and working with "Android Studio" software and editing a project. It took too long to figure out how to work with that. I just fixed man

Build android.Why say "Missing nullability on parameter..."

I want to add my animation in android. First I copy TranslateAnimation.java to MyAnimation.java, and change class name. But Android build failed. error message:

Android - listFiles() doesn't list some files

I'd like to make an Android app to list files and their size, a bit like WinDirStat or TreeSize on Windows, or DiskUsage on Android. I tried this to get a list

Jetpack Compose Place every question in it's own screen

I have a JSON data looking like this questions: [ { id: "1", question_type: "FREE_TEXT", answer_type: "SINGLE_LINE_TEXT", question_text: "what's your name?", op

React Native Samsung Universal Link stopped to work after upgrading to Android 12

Using a Samsung S10e on Android 12, I was able in the past to open our React Native application (https://github.com/pass-culture/pass-culture-app-native) throug

Google Fit API does not work in internal testing

I am using Google Fit API to get fitness data for a kotlin app. But API does not work in internal testing on Google Play Developer Console. When connecting the

Text Composable dimensionResource not working as fontSize parameter

When I plug in fontSize = dimensionResource(id = R.dimen.textLabelTextSize) where the dimens or 54sp or 60sp depending on the device, I get an error on Text() "

How to do Assisted Injection with Navigation Compose?

I've a composable called ParentScreen and a ViewModel named ParentViewModel. Inside the ParentViewModel, I am collecting a value from my repo. class MyRepo @Inj

Is it possible to pass Android Composables as an array?

In the example below I can pass several composables as a function to a Column. Is it possible to pass them in any other way? Ideally, as an array of composables

ShapeableImageView's stroke is getting cut by borders

I have a ShapeableImageView here, with 5dp stroke: <com.google.android.material.imageview.ShapeableImageView android:id="@+id/profile_picture" androi

Failed to apply plugin [id 'com.android.internal.library']

I am trying to reanimate an old application A problem occurred evaluating project ''. Failed to apply plugin [id 'com.android.internal.library'] Cannot add a

How to go from one fragment to another fragment in kotlin?

I have a button in fragment A and when I click on fragment A, I want it to be redirected to fragment B. How to achieve this in kotlin? Right now I am using this

Android studio compile takes forever

My Android Studio compiles are taking forever. Min 10 mins and quite often longer than that. This started with the upgrade of gradle plugin to 7.0.4 This is my