Category "android"

Get actual time from internet ?

How to get 'current(actual) time' or 'network operator's time' programmatically if device time is changed ? I'm trying to get current time through 'getLastKnow

Cordova (android) : Avoid the grey background before splash screen

How to avoid the dark grey background which will flash for a second before the splash screen appears in android app built by Cordova ?

Creating Custom Dialog box (android example error?)

Been trying to create customer dialog box and I copied source code from android website. I worked my way round a few things now I'm really stuck. I don't know w

Find and replace Android studio

Is there a way to find and replace all occurrences of a word in an entire project( not just a single class using refactor -> rename) and also maintain case,

How to get file path of file from internal storage in android

In our application we are storing pdf files into internal storage.Now i want to get its filepath and need to store into DB. Please tell me how to get its file p

disable screen record with sound in flutter

I am trying to disable screen record and screenshot in my flutter app and I already did using flutter_windowmanager package. my problem is with screen recording

Gradle error : Server returned HTTP response code: 403 for URL: http://services.gradle.org/distributions/gradle-2.2.1-all.zip

I have this error in the apps that I'm currently building on: C:\mobile\xtern_mobile\ST>cordova run android ANDROID_HOME=C:\Users\myPC\AppData\Local\Android\

vcf file import error

I have a small problem with my Samsung Galaxy Y. I took the .vcf file to my pc, deleted some contacts with the txt editor and saved the file (I had written a sc

Android 11 wifi adb error "Unable to start pairing client"

I downloaded the latest platform-tools for windows, then I enabled developer mode on my phone and turned on adb over wifi. However after I enter the command adb

Getting Parse Error when installing the .apk file

I am downloading .apk file from the server using DownloadManager after downloading when i am trying to install the app manually it is giving parse error with a

Where in the Google Play Console can I see the Android version distribution of my app?

In the old Play Console, I was able to see what Android versions the users of my app have, like explained here: https://stackoverflow.com/a/55246731/5428154 How

Error while adding Galaxy Store review broadcast

I publish my apps and games on Galaxy Store some apps are here in this LINK Using official (document)[https://developer.samsung.com/galaxy-store/customer-review

How to set tint for an image view programmatically in android?

Need to set tint for an image view... I am using it the following way: imageView.setColorFilter(R.color.blue,android.graphics.PorterDuff.Mode.MULTIPLY); But

green bitmap on analyze in cameraX when imageproxy to bitmap by using Samsung S20

I already use bottom code. But It apear green bitmap when I use imageproxy to bitmap only about lastest smartphone. Such as Samsung s20 Bottom code work well on

How can I get onTouchEvent in Jetpack Compose?

In normal view, we can have onTouchEvent override fun onTouchEvent(event: MotionEvent?): Boolean { when (event?.action) { MotionEvent.AC

Grid layout manager with dynamic item

I use grid layout manager but not working good for dynamic item What I want: or just like And What it shows:

BatteryManager's BATTERY_PROPERTY_CURRENT_NOW returning 0 or incorrect current value

I am using using BattteryManager on android to get the discharging/charging current on my app. But I've notice that although it works on many devices, but in so

How to create accessible focus groups in ConstraintLayout?

Imagine you have a LinearLayout inside a RelativeLayout that contains 3 TextViews with artist, song and album: <RelativeLayout ... <LinearLayout

AAPT error: resource drawable/... not found

After recently upgrading my android studio, I am not able to build my project anymore. Every time I execute a build, I am struck with the following error: err

Billing service unavailable on device. (response: 3:Billing Unavailable)

I've been struggling with this problem for days now. I know there are a lot of questions with the same problem on SO but i couldn't get it to work. What I have