Questions tagged [android]
Android is Google's mobile operating system, used for programming or developing digital devices (Smartphones, Tablets, Automobiles, TVs, Wear, Glass, IoT). For topics related to Android, use Android-specific tags such as android-intent, android-activity, android-adapter, etc. For questions other than development or programming but related to the Android framework, use this link: https://android.stackexchange.com.
android
1,419,011
questions
0
votes
0
answers
4
views
Default behaviour of bezel scrolling a ScrollView in Android Wear OS in Java not happening
As best as I understand it, the bezel on a Wear OS device, like a Samsung Watch6, should scroll a ScrollView by default. In this XML layout the tvRules text does not scroll when the bezel is turned.
&...
0
votes
0
answers
14
views
how to list all the frequencies in given mp3 file java and android
I am looking for modified code of below class. ReadFile function does FFT analysis of the given mp3 file. I just want to enhance further to list out all the frequencies in given mp3 files and hold the ...
0
votes
0
answers
13
views
How to setContent() of a ComposeView inside a RecyclerView.Adapter, in java?
I'm trying to migrate my public class Adapter extends RecyclerView.Adapter<Adapter.ViewHolder> from using an XML layout as his ViewHolder to using a Jetpack Composable kotlin class, generated ...
0
votes
1
answer
12
views
android.sensor.game_rotation_vector to euler angles
So,
I'm making a DIY vr project with my phone (android). I am currently using the Sensor Server app to get the android.sensor.rotation_vector (or game_rotation_vector, whichever one is more convenient)...
0
votes
0
answers
17
views
sqLite work on realme devices but doesn't work on Samsung device
i have made android app that store and resotre data by sqLite database,when in it on realme device it work successfully, but when i run it on Samsung devices it It takes me out of the application ...
0
votes
1
answer
17
views
How to Directly Open an App Using App Links or Universal Links Without Web Redirection on AppsFlyer?
I'm currently using AppsFlyer for deep linking, but I've encountered an issue where the deep link process redirects to a web page first before deciding whether to open the app or send the user to the ...
0
votes
0
answers
8
views
Enable DND(Do Not Disturb) mode in AOSP 13
How to enable DND(Do Not Disturb) mode in AOSP 13 by default?
There is settings i found in frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java
I have ...
0
votes
0
answers
5
views
I want to send real time data from the Native Module to the React Native but getting an error
I want to send real time data from the Native Module to the React Native when a widget button is clicks but getting an error "java.lang.IllegalStateException: Tried to access a JS module before ...
1
vote
1
answer
11
views
Can't get text centered horizontaly in quadrants
I am practising Kotlin with Android Developer and got stuck with Compose quardant project. Everything is working an looks just like it is supposed to except for some of texts. The screen is devided to ...
0
votes
1
answer
18
views
What is the replacement of colorPrimaryVariant in jetpack compose Material3?
I want to change this gray color to black, in older versions i use to change it in theme.xml using colorPrimaryVariant, i have tried to use primaryContainer, secondaryContainer, surfaceVariant, in ...
0
votes
0
answers
14
views
How to combine two jetpack compose boxes
I am trying to create A UI Components like below
As Part of this i split the task into two , the curved bump and the rectangle.
The curved bump code is below
@Composable
fun TriangularCurve() {
...
0
votes
0
answers
14
views
Flutter relaese.apk has bugs and debug doesn't
I've seen other people face this issue too but nothing that worked for them works for me or it's outdated. I am far in building a flutter app and this issue just started happening recently, and it is ...
0
votes
0
answers
15
views
Android Predictive back gesture animation with jetpack navigation: IllegalArgumentException when selecting an item after cancelled Back Progress
This is the simplified version of my implementation of predictive back animation using jetpack navigation lib.
MainActivity:
class MainActivity : AppCompatActivity() {
private lateinit var ...
0
votes
0
answers
11
views
Unhandled Exception: WebSocketChannelException: HttpException: Connection closed before full header was received
So I am trying to implement WebSocket using Socket IO in Express and Flutter.
Below is the server code
const express = require('express');
const { Server } = require('socket.io');
const http = require(...
0
votes
0
answers
15
views
How to show a guide/prompt overlay in Android
I am trying to a build a app that requests user for a scoped storage permission, and I want a guide/prompt to show on top of the system storage picker, like in the attached screenshot.
If anyone can ...