Category "android"

How to use OpenGL to draw a text over a Android MediaPlayer?

I have a cpp code implementing a media player behavior on Android. I'm using the media player for playing a mp4 file however, I need to draw text above this. Fo

How request permissions with Jetpack Compose?

How should be implemented requesting permission from Jetpack Compose View? I'm trying implement application accessing Camera with Jetpack Compose. I tried examp

Execution failed for task ':app:processDebugMainManifest'. in ReactNative CLI

I try to build a ReactNative app using ReactNative CLI following the steps in their documentation: Link for the documentation After downloading the initializing

Schedule periodic local notification based on specific dates

I want to make a periodic worker to schedule notifications based on the total number of customer collection dates. I already did apart, but I'm facing a problem

"continue" is not a valid resource name

When declaring below text on string.xml, I'm getting this error <string name="continue">Continue</string>

How to retrieve drawable from attributes reference in a Fragment

Can someone confirm what the correct way is to retrieve drawable from attributes reference (from a fragment)? activity.context in val myDrawable = ContextCompa

flutter problem: "Could not resolve all files for configuration ':classpath'."

I run simple flutter "show random word" project but i have this error: this is my gradle-wrapper.properties file: #Fri Jun 23 08:50:38 CEST 2017 distributionBa

Playing Vimeo videos in Flutter

I'm trying to play vimeo videos in flutter app using the video_player plugin but got no success, it's throwing bunch of errors. please help me how I might go a

How to call API again when there is Network or Timeout Error in Android Volley Request

I am using a custom common class named APIHelper for Volley JsonObjectRequest for my all activities. I am handling all type of errors here. And setting positive

Window.open() to trigger phone SMS/Call/Email app not working in Chrome on Android on Page Load - Using ReactJS

This is my code snippet. else if (item.title === 'Text') { try { window.open(`sms:${item.link}`,'_self') } catch

Java getJSONArray when it is set to null

The problem happens when I'm trying to get children of a comment. If the child key is null, my application crashes and gives me this error: org.json.JSONExcept

Hilt: java.lang.ClassNotFoundException: Didn't find class "com.kotlin20test.Hilt_MyApp"

I have an error concerning Hilt, I"ve been trying to inject a retrofit interface I created using Hilt, Here is the error: java.lang.ClassNotFoundException: Di

Jetpack Compose BottomSheetScaffold sheetGestures disabled but gestures still works when child component is scrollable

I have a BottomSheetScaffold inside my android app that looks like the following: BottomSheetScaffold( sheetGesturesEnabled = false, sheetConte

Surface at +(...)% colors in jetpack compose

In official Material Design 3 resources (e.g. the Figma design kit), there have been many references to colors called "Surface at +x". These colors are the surf

Accessibility Service is malfunctioning

I've been using an Accessibility service for a while now on my app. It used to work fine, but there's this message on the phone at the screen where you enable t

java.lang.NoSuchMethodError after upgrading Jetpack Compose to 1.0.0‑beta07

I'm getting the following error running observeAsState on a LiveData object after I upgraded Jetpack Compose to 1.0.0‑beta07. java.lang.NoSuchMethodError:

Jetpack Compose on Kotlin 1.5.0

I've updated to Kotlin 1.5 last week, and after yesterday having seen the intention of Google to make Jetpack Compose the preferred option for designing UIs, I

Am facing this problem each time i run my react native app using expo please i need support

While trying to resolve module idb-keyval from file C:\Users\ADMIN\Desktop\Fintech\node_modules\parse\lib\react-native\IndexedDBStorageController.js, the packag

Could not determine the dependencies of task ':app:compileReleaseJavaWithJavac'. In React Native

I got this problem when I build my app in release mode using App Center. * What went wrong: Could not determine the dependencies of task ':app:compileReleaseJa

How to create an extension function with multiple receivers in Kotlin?

I want my extension function to have a couple of receivers. For example, I want function handle to be able to call methods of both CoroutineScope and Iterable i