1,419,734
questions
0
votes
0
answers
8
views
JPG in anchor tag HREF resizes wrong in Android Chrome
In this HTML snippet, within a basic document served to both a Windows laptop (Firefox or Edge) and a Android mobile (Chrome) browser, the original JPG sizes fine, but when clicked-through the <a&...
0
votes
0
answers
13
views
How to initialize multiple parameters in jetpack compose. Right Way?
If I have multiple paramters that I am getting from repository which is getting it from datastore, how will I initialize them correctly -
This is my current approach -
`
@HiltViewModel
class ...
-1
votes
0
answers
10
views
How does one set a phonetic device name (i.e. for bluetooth connection announcements) [in Windows and/or in general]? [closed]
When I connect my bluetooth headphones to my phone, the headphones announce "Connected to Galaxy S8", however when I connect to my laptop, the announcement spells out my laptop device name ...
0
votes
0
answers
11
views
How Does ApkCombo Merge Split APKs Without Re-Signing
I’ve noticed that for split APK applications, ApkCombo provides a single APK file that can be directly installed. Out of curiosity, I compared the signature of the original APK from the official ...
1
vote
0
answers
12
views
Why styles do not work properly with Material3 (Android)?
I am using the below code to add a style to RadioButtons in my app. The parent of the base theme of the app is Theme.Material3.DayNight.NoActionBar.
Below is the code:
<style name="RadioStyle&...
0
votes
0
answers
13
views
Android kotlin SurfaceView error: disconnect: not connected (req=2)
I have an Android app that runs a background loop that calls delay(1000), then on the UI thread it draws on a SurfaceView. In this case, when I press the home button, my surface is destroyed and I get ...
0
votes
0
answers
10
views
How to add macOS Specific code in Kotlin Compose Multi Platform?
I want to write macOS specific code like bluetooth permission or other lower level code which is very specific to macOS which needs to be written in Objective C or Swift.
Creating KMM project from ...
0
votes
0
answers
8
views
ActivityMissingException using Geolocator's requestPermission() even with WidgetsBinding.instance.addPostFrameCallback()
I'm getting an ActivityMissingException when requesting location permissions using the Geolocator plugin in Flutter:
ActivityMissingException (Activity is missing. This might happen when running a ...
0
votes
0
answers
8
views
React Native - Stack Navigation - react-native-gesture-handler:compileDebugKotlin FAILED
I create a new React Native Project and I install React Native Navigation and React Native Stack Navigation.
npm install @react-navigation/native
npm install @react-navigation/stack
npm install react-...
0
votes
0
answers
16
views
What solutions are available to dynamically load native libraries on Android while following the native library namespace restrictions?
TLDR: I need to be able to dynamically create and load copies of a native library at runtime into some kind of temp or cache directory, but because of Android's native library namespace restrictions ...
0
votes
0
answers
7
views
Auto Print receipt on 80mm wifi printer using printer IP address from Android App [closed]
I would like to integrate WiFi (Network) Printer to print receipt in Android App. I have already integrated Bluetooth printer using DantSu:ESCPOS-ThermalPrinter library.
Now I have requirement to do ...
0
votes
0
answers
9
views
How a hls-viewer can change his role to co-boardcaster and publish his audio and video in live streaming
In my flutter app I am using hmssdk_flutter: ^1.10.6 to build live stream functionality. I have implemented basic live stream functionality where boardcaster can publish his audio and video and hsl-...
0
votes
0
answers
20
views
How to use Hilt in com.google.androidbrowserhelper.trusted.LauncherActivity?
I'm working on an Android project where I'm using com.google.androidbrowserhelper.trusted.LauncherActivity as the main activity to launch a Trusted Web Activity (TWA). I want to inject a dependency (e....
2
votes
1
answer
26
views
When I build an app with flutter it gives the Gradle error
When I try to build an app in Flutter with Android it gives me an error.
I've tried flutter clean, flutter doctor, deleting the build folder but nothing works.
I can build in Windows and Web but ...
2
votes
4
answers
44
views
Kotlin: Despite converting output of a function to string I still get type mismatch
Good day,
Please take a look on the that simple function.
fun multiplyByTwo(x: Int): String { // [1]
println("Inside multiplyByTwo") // [2]
var result = x * 2
result = result.toString(...