Category "android"

how to use Coroutine in kotlin to call a function every second

i just created an app where my function getdata() call every second to fetch new data from server and updateui() function will update view in UI i don't use any

MAUI Blazor Android Sql Connection

I am experimenting with Maui Blazor. I want to connect my application with an SQL server database. Therefore I used a simple Sql Connection String. When I test

Android gridview wont fill screen - only small with scroll

My problem is the gridView is only about 1 row high with a scroll bar and I cannot get it to fill the screen. You have to scroll down to see the other rows. I d

continue jacoco code coverage report after fail test case

Code coverage report not generated when Test case failed in android studio using Jacoco plugin.How to skip failed test case and generate code coverage report.

wrong day in Android Material DatePicker

i'm trying to get te selected date from DatePicker but always i have one day less than the selected For example, if I select 14/2/2022 i obtain 13/2/2022 and if

adb command not found

I need to run an adb forward command before I could use the ezkeyboard application which allows user to type on the phone using browser. When I run adb forwar

Alert.alert not working in React native iOS, but perfectly fine in Android

Please check the code , import { Alert, } from 'react-native'; checkForSendingOtp = () => { let hash = 'aBcDeGgd'; Platform.OS === 'android'

How to avoid multiple triggers on EditText while user is typing?

I use the following code to perform search when user types in an EditText : EditText queryView = (EditText) findViewById(R.id.querybox); queryView.addTextChan

Full managing of fragments flow in Android

I have a special flow of fragments in my app, so I need to be able to switch to any fragment, while keeping fragments in memory whenever possible (so if it's ti

Change particular Edittext box locale to English if App locale is arabic

I am working on a application which is having Arabic and English language like user can switch to any language between these two,My problem comes when i change

My Request JSON keys (Data class propertis) are getting changed to "a", "b" autometically when I install my app from playstore

Issue Details: I recently developed and uploaded my Android app to the play store. When I install my app through Android-Studio (simply by running the project)

How to Change programmatically Edittext Cursor Color in android?

In android we can change the cursor color via: android:textCursorDrawable="@drawable/black_color_cursor". How can we do this dynamically? In my case I have

Kalman filtering algorithm for indoor positioning system [closed]

I am using a BLE (Bluetooth Low Energy) for indoor positioning system by its RSSI and trilateration algorithm. The problem is how to find an

Android Autofills For EditText is not Dark/Night Mode friendly

I have a email and password edit text. When Google Autofills popup, the text is not visible in dark mode/night mode. The rest of the app supports night mode wit

Flutter: Playing sound from UInt8List in Android and iOS

I have a UInt8List which contains sound byte data (can be mp3 or wav). I am trying to build a small sound player component. However I found no way to put the by

java.lang.RuntimeException: Unable to start activity ComponentInfo

I know this error appeared on forum million of times, but please help me find what I missed. I'm trying to do simple tab orientated application,I don't have muc

Changing view on Menu Item in Action Bar

I'm attempting to implement a refresh button in my app to allow a user to manually re-sync to a web server. The code works, but I'm having trouble figuring out

Flutter Release APK for playstore

I am trying to generate a build apk, but getting following error. this is compatible with flutter version 2.8.1 Getting following error while run flutter build

onDrawerClosed and onDrawerOpened not being called

I am playing with the DrawerListener , and unfortunately the official documentation is not quite detailed, not to say there aren't any examples given. All I w

Close Navigation Drawer on Back Button Pressed in Flutter

I have a material designed Navigation Drawer in my very first flutter app. This work's fine but I did't find any way to close the Navigation Drawer on Back Butt