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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

How to display the shadow of Material-style in Android native UI in Unity

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 ...
user avatar
  • 1
-1 votes
0 answers
5 views

Android Bitmap rotation using postRotate

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....
user avatar
0 votes
1 answer
4 views

onPress not working in react-native on android

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 ...
user avatar
  • 16.4k
0 votes
0 answers
6 views

Some contents java and xml change be null

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 ...
user avatar
  • 32
0 votes
0 answers
7 views

Flutter) Android Setting Error " error: unexpected element <provider> found in <manifest>. "

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/...
user avatar
0 votes
0 answers
5 views

How can I store two digit month in Firebase using Java?

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) { ...
user avatar
0 votes
0 answers
10 views

Why is every MediaPlayer object created null?

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....
user avatar
0 votes
0 answers
5 views

How to add List of Object in Proto Datastore and Observe in view model

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 ...
user avatar
0 votes
0 answers
5 views

How to get AppUpdater working with a github rep0?

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 ...
user avatar
  • 307
0 votes
1 answer
8 views

How to get styling to refresh with new variable in react native

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 ...
user avatar
  • 1
0 votes
2 answers
12 views

Why does my widget's build method think I am returning NULL?

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 ...
user avatar
  • 1,288
0 votes
1 answer
17 views

How to put and retrieve parcelized objects using bundle and safeargs?

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 ...
user avatar
0 votes
0 answers
3 views

Android: Camera photo gets rotated 90 degrees; no EXIF data available. How can I programmatically determine if the photo is rotated?

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 ...
user avatar
0 votes
0 answers
5 views

Error in XML Regarding Case insensitive is Reversed

<?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app=&...
user avatar
0 votes
1 answer
13 views

Flow.collect blocking the main thread

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? ...
user avatar
  • 2,548

15 30 50 per page
1
2 3 4 5
91619