Category "android"

How does Firebase identify my application and prevent other apps from impersonating my app?

I have created a project in Firebase and registered my app. I send data messages to this app. I do not want to have any user authentication on my app. However,

Script '/opt/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1102

I am trying to build a flutter app using google Cloud Build, I am constantly getting this error 1: [+1000 ms] FAILURE: Build failed with an exception. 1: [

Dart preview Flutter UI guides is not present in vscode?

I can't find the dart preview flutter UI Guides... I have installed flutter and dart extensions in vscode... Can anyone help?? my Flutter version 2.10.4 and Dar

List View Constrain jump to top

I am trying to learn SQL database with a tutorial. I add user and age to database and get them back and displayed using listView using ViewAll button then if

Get pixels of a recyclerView item

I'm wondering if it's possible to get the pixels of an item of a recyclerView, let's say I have an horizontal recyclerView and all the items are the same size (

Show screen before another app starts in android studio

I'm doing an app that blocks the access to another apps when you have used them for an specific time, for example Facebook. So, my idea is to show a screen when

Not able show Top & bottom items in recyclerView

I am using recyclerview in my project but bottom items are not displayed in recyclerview. I tried ScrollView but my app is crashing it shows java.lang.IllegalSt

Why when I install my apps APK on Physical Android Device says App Not Installed

Attention great developers. I have hit a snag. I have built this application in flutter and has been in development for over a year. When I run the command flut

How can I run PHP Code locally within a WebView App?

So I have been issued a project with tight restrictions, I need to run php files stored in local app directory for a WebView application. However I dont even kn

Is there a way to use adb to force android to not timeout the lock screen?

I've been using a special keyboard (the messageEase keyboard) to type in my really long password to get in, and it works well enough, but when I try to use the

Floating button doesn't seen because of Bottom Nav

On Main activity XML I have one buttom nav and on another fragment I have a floating button. This button is not visible because of the buttom nav. If I add on f

Flutter Could not get unknown property 'plugin' for project ':app' of type org.gradle.api.Project. Error

I am getting this error when running my Flutter app: Launching lib\main.dart on Android SDK built for x86 in debug mode... FAILURE: Build failed with an except

Does NavOptionsBuilder.launchSingleTop work with nested navigation graphs in Jetpack Compose?

I'm using BottomNavigation in Jetpack Compose with navigation-compose:2.5.0-alpha04 and I want to encapsulate each tab's flow with nested navigation. To achieve

Programmatically laying out vertical SeekBar objects

The purpose of the following function (in an Android app) is to programmatically lay out three vertical SeekBar objects one beside the other. The setting for th

Mocking methods that call JNI with Mockk

I am trying to add unit tests to an existing Android app that has some JNI libraries (only for ARM). I am using Mockk and Junit4, and I have the following: This

How to link deletion in room data

I have two data base or two tables ex:one for matches and one for chat jn event section in match note that the all messages is inserted in one table mean that e

Change Spinner Text content programmatically

I have a spinner, and I want to find a way to change the dropdown for my spinner. I want to change my text content through code, but I'm not sure how to do that

Android Native API ANativeWindow_setFrameRate is undefined when linking

Inside my "native.cpp" file I reference the native method; ANativeWindow_setFrameRate But when I compile I get; ld: error: undefined symbol: ANativeWindow_setF

ERRor:%android.database.CursorIndexOutOfBoundsException: Index 10 requested, with a size of 10%

Here is the complete code.. So the problem is that if there are 9 records in the table and by clicking on the ButtonNext , the application does not crash and di

my kivy app is all right on my computer, but don't show its content on my phone

My kivy project can run correctly on my computer, but if I use package logging to log, the project will not start application main loop on my phone. The followi