Category "android"

Unable to add view to a window with TYPE_PHONE params android

I am trying to create a floating view which should appear on top of everything but notification panel and settings app hide my view I tried to use WindowManager

Android 11 Download File to Download Folder doesn't work

currently I'm trying to download a File with the DownloadManager but that doesn't work, the download starts but there is no File inside the Download Folder afte

Unable to add view to a window with TYPE_PHONE params android

I am trying to create a floating view which should appear on top of everything but notification panel and settings app hide my view I tried to use WindowManager

KMM IncorrectDereferenceException in Thread

I have been trying to upload an image to aws s3 server using shared module KMM. It works very well in Android but in iOS I have been getting this issue :- Uncau

ionic angular project my build failed ... error

build error hey guys I am stucked with the build error for many days please help me regarding this error I have tried upgrading gradle version and android gra

Sublime text Android version

I'm using sublime text Android version. I want to know where my github repository is stored in my phone and how to enter the location on the space provided to e

How can i turn on screen at android 11?

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O_MR1) { setShowWhenLocked(true) setTurnScreenOn(true) } else { window.addFlags( Win

Share APK via Azure DevOps public link

I have setup Azure DevOps CI/CD in my project. I want to share APK artifact to someone else via public link. Via artifact link, it requires credentials. Anyone

SQLiteDatabase.insert() and SQLiteDatabase.execSQL("insert into ...") doesn't work

I'm working on an Android application in Java. In my application I need, among other things, to store an address in a database. My address is stored in a table

Save image to internal storage using ActivityResultContracts.GetContent(). - (Kotlin/Java/Android)

I'm new to file storage. My main goal is to take a picture with the camera, store it with good quality, then display it in an ImageView. I want to avoid asking

What does mean @Stable and @Immutable annotation in Jetpack Compose?

While studying through the Jetpack Compose sample project, I saw @Stable and @Immutabe annotations. I've been looking through the Android documentation and GitH

Shell script in Gradle build: java.io.IOException

I have the following lines in my build.gradle file of my Android project: "./prebuild.sh".execute() But during the build I get this error: java.io.IOException:

Flutter Search Delegate Taking Full Width

I made a master-detail type view app using flutter, running on flutter desktop. I implemented the SearchDelegate on appBar, but it takes the full width of the a

Can't remove a line from conf file

When I build my ktor project It fails and it tells me about a line which causes the failure. The line is located in the application.conf file: ktor { developme

ItemActiveIndicator in not Visible in Material 3 Bottom Navigation Bar by Default in Android

implementation 'com.google.android.material:material:1.5.0' added this already in Build.Gradle . . Code for implementing Bottom Navigation Bar: <?xml version

Why does injection Context into ViewModel with Hilt cause the error "could not be resolved"?

I use hilt_version = '2.41' in my project, I have read the article. I hope to inject Context into ViewModel, so I write Code A based that article. When I comp

Cross-compiling the gettext library: error when relinking for armv7a

I'm trying to cross compile (for armv7a and aarch64, android) the gettext library (dependency for glib). The configuration and compilation is successful, but du

I am not able to launch main activity while provisioning device

This is my AdminReceiver public class MyDeviceAdminReceiver extends DeviceAdminReceiver { private final String TAG = MyDeviceAdminReceiver.class.getName();

React-native Vision Camera unable to zoom

I am unable to zoom in https://github.com/mrousavy/react-native-vision-camera on ios devices. I am able to zoom in on android devices without any problem but un

Can React Native's PlatformColor get colors for dark mode when the system is in light mode?

I can't find any details on whether or not PlatformColor can access colors that aren't part of the currently selected system theme. For example, if the system t