Category "android"

Convert Flutter Frame Camera to android Bitmap

I'm developing a Flutter plugin for Android and iOS using the Flutter plugin camera. First I stream the frame from the plugin using this method: controller.star

Dynamically adjust position of textview to always be at bottom of current camera preview

My layout is shown below. i want the textview to appear at the bottom of the camera preview. but this is not the case when the user changes the aspect the ratio

how to Save Inputted Values ​from Edittext into Array?

I am making a program to get Values ​​from edittext and store it in an array then I want to display that array on screen and here is my command Edi

How can I access specific data in Firebase?

I want to delete the messages of every user before 30 days. When the user enters the application, their own messages are deleted. But I can't access every user'

Using PHP sessions to open new android activity

I have created the following PHP in order to check if some username already exists inside a database. If it exists and the username+password is correct, I had

Android react-native-webview “SSL Error: Hostname mismatch” (expo)

when I use the WebView on expo with an external uri which I’m not the owner (I’m doing an SSO Auth page that uses cookies), if I open on iOS everyth

Android Studio Database Inspector always showing database as "closed"

I am trying to use Database Inspector in Android Studio. Why I run the app on the device, it inspector is always showing my application database (highlighted in

how i can add multiple themes in flutter?

i'm new in flutter space 'just 3 weeks from first code i wrote' and wanna to help in this issue, i develop an application with multiple themes 'just colors' and

problem in connecting two device through socket programming in python

I'm trying to send a simple message from my mobile to my laptop through socket programming in python. I'm using win 10 and python 3.7.4 on my laptop. I am also

Android / Execution failed for task checkDebugAarMetadata / A failure occurred while executing CheckAarMetadataWorkAction

TL'DR: In this Android Kotlin library I updated from Gradle 5.6.4 to 6.6.1 (commit d5d8d2). Now I cannot build a project depending on the aar anymore. Test setu

Is it possible to release only instant app without installable version?

I have only one module and I want my whole app to be an instant app without any other installable modules. Is it possible to release this app in play store only

Gradle : DSL element 'useProguard' is obsolete and will be removed soon

Since the 3.5 update of Android Studio, I have this warning when building my app : DSL element 'useProguard' is obsolete and will be removed soon. Use 'an

java.lang.IllegalArgumentException: HTTP method annotation is required (e.g., @GET, @POST, etc.).Error when trying call apiInterface GET request

I get error when trying to call API interface get request. I am trying to pass a value through GET method. But I get this error in logcat Caused by: java.lang

Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-5.4.1-all.zip'

Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-5.4.1-all.zip' I have just installed Android Studio 3.5 on windows

Dart Flutter The method 'init' isn't defined for the type 'OneSignal'

I'm trying to make a system of sending notifications to the phone with OneSignal. import 'package:firebase_core/firebase_core.dart'; import 'package:flutter/mat

How To Check Whether User is Disabled or Not in Firebase Auth

I have a Login System implemented using Firebase Auth, But Whenever I Disable any user he/she can still be logged. But When he/she log out and login him/her by

Wear OS ANR on broadcast act=android.intent.action.SCREEN_OFF

I'm getting regular ANR's on my WearOS app regarding the android.intent.action.SCREEN_OFF broadcast, which I haven't registered for. It happens primarily on Sam

Data binding: Missing required view with ID

I create an app using binding and I get an error that I couldn't solve. The error is java.lang.RuntimeException: Unable to start activity ComponentInfo{com.exam

Android Emulator stuck loading screen on M1 mac/ Apple Silicon

I had downloaded Android Studio on my M1 MacBook air but I can't run the emulator and it just gives me an error. I search Android Studio requirements for mac an

Build - il2cpp did not run properly

I'm using unity 2019.2.0f1 with the integrating jdk-sdk and ndk recommended by unity to build a game for android platform first i build successfully my project