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.
0
votes
0
answers
5
views
In my case, I had an aar file in Unity that open Android's native Material-style UI.
But UI looks different.
In Android Studio Native UI Pircure
Android Studio Native UI Pircure
In Unity Android ...
-1
votes
0
answers
5
views
I have this function that rotates a bitmap 90 degrees,
public static Bitmap rotate(Bitmap bitmap) {
Matrix matrix = new Matrix();
matrix.postRotate(90f);
return Bitmap....
I'm using a <G> component with an onPress handler
<G onPress={() => toggleRegion('ne')}>
...
</G>
The toggleRegion() handler fires every time on iOS (emulator, real device via ...
0
votes
0
answers
6
views
Yesterday i got pop up which say android studio can't load my .iml file. I tried delete module.xml inside .idea folder and pop-up not appear again after that but today when i open android studio some ...
0
votes
0
answers
7
views
I'm going to use flutter_downloader to download the file.
For that, AndroidManifest.xml added the following code as instructed.
<manifest xmlns:android="http://schemas.android.com/apk/res/...
0
votes
0
answers
5
views
I've now tried a couple of different methods to get the format I want in my Firebase Database:
I use the java.util.Calendar import in Android Studio.
Method 1:
if (endMonth <= 9) {
...
0
votes
0
answers
10
views
I am trying to create an app that plays music, but am having some problems with the MediaPlayer class.
Every time I use MediaPlayer.start(), it returns the error:
Caused by: java.lang....
0
votes
0
answers
5
views
I'm trying to add a list of userserData object' in the proto datastore.
here is my protobuf schema
syntax = "proto3";
option java_package = "com.wkt.distriware";
option ...
0
votes
0
answers
5
views
I'm trying to use the AppUpdater project to check for updates and install them, but I haven't been able to get it working yet.
https://github.com/javiersantos/AppUpdater
I'm avoiding Google Play ...
Using a global variable to store dark and light mode variable. In app I have place where variable is changed as user toggles if they want dark or light theme, but I cannot figure out how to get ...
0
votes
2
answers
12
views
I don't understand why this is giving an error. All of my if/else paths will always return something, but the code seems to think there is a path that ends in NULL?
The error:
The following ...
0
votes
1
answer
17
views
I am using Navigation and stumble upon safeargs.
I encountered a problem which, based on my observation, has something to do with passing my custom object inside the bundle.
-used parcelable instead ...
0
votes
0
answers
3
views
There are other posts about this already, but I'm working on an Android app where it takes a photo using the front camera. It seems the photo is getting rotated 90 degrees though.
This is the code ...
0
votes
0
answers
5
views
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app=&...
0
votes
1
answer
13
views
I've the following code that seems to blocking the main thread even though the flow is called on IO coroutine. I'm a kotlin and flow noob. What am I doing wrong here that's blocking the main thread?
...