Category "android"

Android: Drawing a bitmap on a hardware-accelerated canvas yields corrupted display, odd behavior

I've been stuck for several days on drawing to a hardware-accelerated canvas from a live wallpaper. When the wallpaper launches, it's in portrait mode and every

include local.properties file in android jenkins build

I am trying to set up jenkins pipeline for android app. we are not commiting the local.properties file on git server for security reasons. now the problem is th

How to change fonts and add page number to epub android flutter

I have library using epub package to read the E-book files but it didn't show the page number, also I want to add my customized fonts. please tell me if anyone

Edit apk without android stud

is it possible to edit a file in apk (like in 7zip, not android stud.)? If yes, after i edited the file the apk won't install on my mobile. I tried to edit it i

StorageReference getFile doesn't work properly

I have a text file I'm storing on the Firebase database and I'm trying to retrieve the text as following: File tempFile = File.createTempFile("tempfile", ".txt"

Three type of action on single button

I am creating a simple counting app when the button pressed on button ACTION_DOWN and ACTION_UP store the time. When time difference is less than 300 ms increme

Bottom overflowed by xxx pixel using TabBarView() in flutter

I have 2 columns on the top is simple container and the the bottom is TabBarView() what I want to achieve is the tabbarview() result is scrollable using singlec

How to remove Play Games Services from game?

I'm having a hard time setting up a Leaderboard using Google Play Games Services, so I want to remove Play Games Services from my game and restart from scratch,

Download hardware profile for Xiaomi MI 9T

is there a repository where it is possible to download hardware profile for xiaomi MI 9T, in order to import in android studio device manager? Thanks a lot

java.lang.IllegalStateException Caused by: android.database.sqlite.SQLiteCantOpenDatabaseException

I m getting the following error in the google play console, and no idea how to solve it. I don't use SQLite in my app. The error started appearing after targeti

Flutter deep links not working from browser

I made changes in Android manifes as suggested here: https://docs.flutter.dev/development/ui/navigation/deep-linking So, new metadata and config has been added

How to include OpenGapps in AOSP 12 build?

I am building AOSP 12 for my Pixel 3a sargo. It worked but I wanted to install Gapps on it. When I tried to flash any Gapps zip in TWRP, it said that my system

How to convert animated webp to gif in android / java?

I want to convert the animated webp files to gif file and looking for solution since couple of days but did not get any easy straight solution yet. I tried ffmp

Flutter Error: No named parameter with the name 'displayLarge'

I am working on an app, I posted last update on git 2 days ago and haven't touched the code since. Now, I opened android studio and it was giving me this error

Why is the second background image not displaying after rotating my device?

I have two background images to create a layered effect and to keep the file sizes small. There's a repeating star pattern in the back, and a white "cutout" on

coroutine nested exception problem on unit test

Can somebody explain why the exception problem is happening only in unit test? I was testing exceptional case for flow and I found exception does not throw as

How can we use a sensor replay file in Android Emulator

Android Auto Emulators Volvo/Polestar published has a feature called Sensor Replay. However, there is no documentation or sample file on the internet about it o

Remotely debugging android NDK app using VSCode

I've tried a number of ways to get this to work but to no avail so far. My requirements are as follows: To be able to connect using visual studio code & gdb

How can I navigate to next list item on a new page?

I have a list that I fetch from a provider file and display using ListView builder. The LIST page displays only the title of the item on the list and clicking o

Dynamic Icon content in Android Compose

What I need is to adjust Icon's content accordingly to the available screen space. If the screen height is enough - I would like to display a bigger image versi