Category "android"

Truecaller like alert dialog in dart

I am trying to implement a true caller like alert dialog in flutter. Since I am very new to flutter+dart, I was looking for any out of the box implementation. S

Android studio Composable Preview Render problem

I am having this issue When previewing composable from file. This is the code I made in other kotlin file. package com.example.movieapp.screens.home.details im

Is it good to use radio button instead of ImageView for just displaying purpose in android?

I have a design where the image view looks like a radio button but serves no purpose of radio checked/ unchecked. Since it looks like a radio button, is it good

How to open flutter application from url?

For example, i have case in my flutter app when user can recover his password. In that case user will receive link on e-mail, and i want by clicking on that lin

java.lang.IllegalStateException: enterPictureInPictureMode: Current activity does not support picture-in-picture

Error message java.lang.IllegalStateException: enterPictureInPictureMode: Current activity does not support picture-in-picture. at android.os.Parcel.c

How to fix image view icon color changes in dark mode and lite mode of the device

I'm trying to include icons in imageview but when the dark mode is on the color is dark and when on lite mode its shows in white, I want color to be white in bo

how to play one video in view pager with exo player

i am making a app where i am playing videos with exo player in view pager but problem is that i am not able play one video at a time. all videos playing there a

Can't find Composer Class when Building

I'm trying to add compose to my existing project and getting the following exception when building e: java.lang.IllegalStateException: Cannot find the Compose

Passing an argument between two fragments each of them in a different Navigation Graph

Using Android Navigation Component. I have two Navigation Graphs (each of them with their own flow), lets say navigation graphs A and B. I navigate successfully

I am new to flutter and dart so i have being trying to use my phone to test the demo flutter file in android studio but i keep getting this error

FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:compileDebugKotlin'. Could not resolve all files for configuration ':

Ignore firebase related exceptions in Roboelectric unit test

My Roboelectric unit tests are giving this exception when I try to initialise Firebase in the Application class. java.lang.IllegalStateException: Default Fireb

NameNotFoundException when calling getPackageInfo on Android 11

After setting targetSdkVersion to 30 (Android 11) I'm getting android.content.pm.PackageManager$NameNotFoundException when doing packageManager.getPackageInfo(p

URL Waze (GPS), directing from browser to app

I have an Waze URL with the adresses settled in a button in an Web Page, in which souldnt calculate the route, only mark the pin at the map. This link should re

WearOS support for PWA

I'm digging over internet on how to make a PWA app made with react.js run over WearOS, but I do not find any article. Also, the WearOS website is empty of infor

Shortcuts not working after updating to Android studio 4, in Mac?

After updating to Android Studio 4 from AS 3.5, as a Mac user I found out none of the default shortcuts work properly, i.e cmd+shift+F does not open search ever

Jetpack compose can't preview after updating to 1.0.0-rc01

this happened to me only when I updated to 1.0.0-rc01. it says: The following classes could not be found: - androidx.compose.ui.tooling.preview.ComposeVie

Manually clearing an Android ViewModel?

Edit: This question is a bit out of date now that Google has given us the ability to scope ViewModel to navigation graphs. The better approach (rather than tryi

Unable to add Google App platform in Facebook App

Hi I am trying to add Android app platform in my Facebook app in developers.facebook.com but when i add package id in Package Names field then it given an error

How to programmatically connect to Wifi with no internet Android (Xamarin)

My app needs to use a wifi network (without internet, thus android avoids it by default). And I want it to be simple to use (like Grandma doesn't have to be man

Turkish Identity Number Verification

How can I make sure that the given text is Turkish Identity Number? I have seen js version here and phthon version here Also, posted a question couple of days