Category "android"

What exactly is the difference between physical density and physical density of a device?

I have created a function to calculate diagonal screen size based on the resolution and pixel density. viz- def find_display_size(d): width=float(720); he

How can I make an accompanist navigation BottomSheet fully expanded?

I know that a normal bottom sheet can be setup like this rememberModalBottomSheetState( initialValue = ModalBottomSheetValue.Hidden, confirmStateChange = {

FirebaseInstanceId Token retrieval failed SERVICE_NOT_AVAILABLE

I'm working on an android app, it uses Firebase Authentication, Database and Storage. It was all working fine until this error message started to show up in log

Using UUID for Primary Key using Room with Android

I need to sync my Android mobile app with a multi-tenant database in the cloud. I thought the best way to do this was using a UUID for the Primary Key of my tab

Android WebView Not showing Anything

I am trying to use webView to show a URL in android app. If I try with this URL- http://stackoverflow.com I am getting this- But if I am trying with th

How i can get Uri from intent?

I did @Override public void onClick(View v) { switch (v.getId()){ //если выбрали

How Do I Solve Android Gradle Plugin Error On Android Studio 3.1.1?

I upgraded Android Gradle plugin to version 3.1.1 and Gradle to Version 4.4. I got the error. How can I solve it?. Please, Anyone. Could not find method fla

Avoid hearing my own voice on PlayFab Party Voice Unity SDK with Photon - PUN 2

I have tested one user on Windows and the other on Android Device. I went away from my computer for making sure that my Laptop does not receive any audio. When

AbstractSavedStateViewModelFactory: SavedStateProvider with the given key is already registered

Although it is the same exception, my situation is different from SavedStateProvider with the given key is already registered as I am using Nav-graph Scoped Vie

Be alerted when an Ad-Blocker blocks ads

I have my android app published in Google Play just like many of you. I know that many users use an Ad blocker to prevent my AdMob to load an interstitial ad an

Flutter build apk on release mode cannot generate updated version

I had run this flutter build apk to release my App. Now I had built version 2 of that. Now, I want to release my version 2 App. So, I run flutter build apk aga

How to resolve "Warning: debug info can be unavailable. Please close other application using ADB: Restart ADB integration and try again"

I am having a slight issue when trying to debug and android app via usb to external device. I keep getting the error "Warning: debug info can be unavailable. Pl

Failure INSTALL PARSE FAILED MANIFEST MALFORMED

I am getting a strange issue while installing application. When I compiling my project there is no error but when I trying to launch its shows me, Installatio

How can I use an API to implement a search functionality on Android?

I am attempting to create a search functionality in an android application and have been doing research on how I can accomplish this while taking in data from a

Calculate distance point to line

I'm using Mapbox for Android Java and need to calculate the distance between a drawn line defined by start and endpoint to the users current location. Any idea

net::ERR_CONNECTION_REFUSED ionic

I'm developing an application using ionic , I could retrieve data from my webApi server and display them on the navigator with ionic serve but when I try to exe

how to have close option in android keyboard

I don't wanna see the Enter option on my keyboard. showing close instead of Enter option. what should I do? The screenshot of my layout: my xml code :

Location Aware Exception After upgrading to Android Studio 3.1 - Build Failed

I am facing an issue of build getting failed. I recently upgraded my android studio. And the look and feel has good changes in the IDE. But there is something I

Flutter loads old version of app every time I restart the app

Every time I run the flutter app from IntelliJ, it loads an old outdated version of the app from days ago. The new version of the app is only loaded after a hot

Oracle MAF 2.3.0 Jdeveloper 12.2.1 can't deploy applications

i'm developing an android app with MAF 2.3.0 in Jdeveloper 12.2.1 on a Ubuntu x64 OS and i have android SDK emulator running but everytime i want to deploy my a