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
3
views
I'm looking for a Flutter package (specifically for Android devices) which allows checking the app usage in my device, so that I can know when did the user open some application. Any recommendations / ...
0
votes
0
answers
3
views
After reading dozens of post regarding this topic I've come to the conclusion I'm behind a very difficult goal, but shouldn't be impossible.
You can use my app to learn/improve english and I'm trying ...
-1
votes
0
answers
10
views
I built an android app that contains a fragment for questions' posts, another for courses. I want to add a recommendation system that send a notification to lecturer to tell him that a person may be a ...
0
votes
0
answers
4
views
I want to create a music project that contains the title and image of each music track on the mobile device. The title is displayed but the image of each song is not displayed. If possible, give me ...
0
votes
0
answers
7
views
Has anyone found a good way to implement Android's new Photo Picker with an option to also take a photo using the camera?
My app currently has a chooser that lets users add a photo from existing or ...
0
votes
0
answers
7
views
ok so I am trying to write a composable function that has a default padding but I found that with a default modifier parameter it gives me this warning:
I understand the reason is that if we want to ...
0
votes
0
answers
11
views
I am using fragments in my android project. Whenever I insert a second fragment in my navigation xml and connect the first to the second, I get an error. In the automatically generated ...
0
votes
0
answers
8
views
I am creating a project (I only have one activity and I already have thousands of problems), I am starting with Kotlin and watching some videos and reading tutorials little by little I have been ...
0
votes
0
answers
5
views
I tried to find free solution for background location for Android RN app and used this lib.
But it seems it not support background geolocation. I used this code:
useEffect(() => {
Geolocation....
0
votes
0
answers
6
views
Unity Android failed build
error:
java.io.IOException: Can't read [/Users/user/.gradle/caches/transforms-2/files-2.1/aa91abc22c3608da7062f69537a62ac6/googlemobileads-native-unity-runtime.jar(;;;;;;;**....
I want to modify android keyboard so that it always types in proper case i,e the first letter of each word is in uppercase like this " This Is A Sample Text" Which code should I put and ...
0
votes
0
answers
12
views
Is there a way to capture a 14-bit raw camera image from a Python script on a Linux computer connected to an Android phone via USB (Google Pixel 4a to be specific)?
Basically like a USB Webcam, but ...
0
votes
0
answers
10
views
I have pretty simple desktop app written in JavaFX. The only task is to get a search term (text input box), send a request to my REST API and display results in a form of articles list (name and photo)...
0
votes
0
answers
3
views
I'm having a problem with not receiving notifications from Firebase when I make my SDK33 app my app, the app is programmed through Sketchware
I'm having a problem with not receiving notifications from ...
0
votes
0
answers
11
views
My application is in react native, it is an uber driver type.
I use location in the background.
notifications.
Information of the version of the app.
Camera.
enter image description here
enter image ...
0
votes
0
answers
10
views
I'm trying to pass a referrer with GeckoSession.Loader, given that no referrers are passed at all by default with GeckoView. However, only the origin is ever passed. My code (actual URLs obfuscated):
...
0
votes
0
answers
5
views
I want to make make it possible for users to change the theme of the app but drawer layout does not change theme. I don`t understand why.
AndroidManifest.xml
<?xml version="1.0" encoding=&...
0
votes
0
answers
5
views
I have a ModalBottomSheet and within I have a LazyColumn with a list of items. When I scroll quickly up or down, i.e. fling, that LazyColumn content, then the bottom sheet briefly detaches from the ...
0
votes
0
answers
8
views
My goal is to develop an Android app that can print an image directly without prompting the user for print settings. I want the app to send the necessary data to the printer and initiate the printing ...
0
votes
0
answers
10
views
The question about UI layer and unidirectional data flow (UDF). Let's we have DetailFragment with EditText:
When user open existing detail, text filled from StateFlow<DetailUiState> by ...
0
votes
1
answer
14
views
I need to create add multiple numbers and each of them have unique name from user input. Then in another Activity when user put the name, the app returns the number.
To Store:
public void ...
READ_EXTERNAL_STORAGE error
MainActivity.java
public class MainActivity extends AppCompatActivity {
RecyclerView recyclerView;
TextView noMusicTextView;
@Override
protected void ...
-1
votes
0
answers
6
views
I'm BRIJESH JANI from surat Gujarat, INDIA
I have a technical issue that's why I contact you, I expect that you would help me out,
Two Months ago My phone was stolen, after having a legal process my ...
0
votes
0
answers
13
views
I'm trying to apply formatting to a String literal using fromHtml()
My string (foo) is something like: aaa<br/><b>bbb</b><br/><br/><b>ccc</b>
However, when ...
-1
votes
0
answers
18
views
to com esse seguinte erro no android studio, algume consegue me ajudar ?
06/02 15:02:26: Launching 'app' on motorola one action.
Error loading build artifacts from: C:\Users\mathe\...
0
votes
1
answer
10
views
I am developing an Android app using Cordova 11. The app performs AJAX call to 2 different domain URLs on the login page.
To validate the mobile number entered. If the number exists, it generates an ...
0
votes
0
answers
10
views
I want to show the screen of a custom app like a demo, not the default share sheet, when I click Share in an external app
I already checked the below issue and didn't understand it in that android ...
0
votes
0
answers
6
views
I have a task that needs to run once at the end of every month approximately at 00:00.
I have implemented it in the following way:
fun schedule(existingWorkPolicy: ExistingWorkPolicy) {
val ...
0
votes
0
answers
5
views
Adapter class
package com.example.breakingblock.roomdb
import android.util.Log
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.lifecycle.LiveData
import androidx....
how to make sure that the keyboard doesn't hide the inputdialog
i tired :
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE)
and :
i added android:windowSoftInputMode="...
0
votes
0
answers
12
views
I'm trying to run a new Flutter project, but I keep getting the following error message:
Copy
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain Caused by: java.lang....
0
votes
0
answers
10
views
I am writing an application for Android >=12, in which I use ForegroundService to get the user's coordinates and synchronize them with the server.
I don't have any apps hosted anywhere yet (I'm a ...
0
votes
0
answers
8
views
I'm looking to get support for Google Places Autocomplete for iOS version 16.x (and Android) on mobile devices in portrait mode.
So I've upgraded our Angular web application from 14 to 15 and then to ...
0
votes
0
answers
19
views
Uber offers the following libraries, but I dont know how to add them to my Android Studio project:
https://github.com/uber/RIBs/tree/main/android
The link above has a Libraries folder, I need to add ...
0
votes
0
answers
13
views
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import '../components/grocery_item_tile.dart';
import '../...
0
votes
1
answer
19
views
I am creating a Composable which is responsible for showing notifications to users. Every time the user goes to that Composable, I want to execute a query which will clear the notification count. I ...
0
votes
0
answers
15
views
I have tried retrieving all the existing shortcut using
shortcutManager.getShortcuts(ShortcutManager.FLAG_MATCH_PINNED) with all existing flag but it didnt retrieve "App info" and "...
1
vote
0
answers
17
views
Actually, I add some images to the assets folder of my React Native Expo app. I want that when a user opens my app, they can download or save these images on their physical device. I have tried many ...
I'm trying to create a Snackbar in my Android Java application. It has an action, displayed as Cancel, that should stop (or return) the parent method.
I tried this:
snackbar.setAction("Cancel&...
0
votes
1
answer
19
views
I have a list of files in a LazyColumn.
User can select multiple files in the list.
I have a button floating over that list.
The text of the button is "Archive n files" (where n is the ...
0
votes
0
answers
5
views
I have a Compose Screen with BackdropScaffold and with AsyncImage in backLayerContent, so when I open the Screen the first time, the scale of the image works weird, like in Screenshot1. And when I ...
0
votes
0
answers
5
views
I have followed the official Android Doucumentation to implement UMP.
This is the code I have:
public class MainActivity extends AppCompatActivity {
private ConsentInformation consentInformation;
...
0
votes
1
answer
33
views
I am encountering an error in the pre-launch report on the Google Play Console during testing. The error message is as follows:
java.lang.SecurityException: No active admin ComponentInfo{com.google....
0
votes
0
answers
11
views
I am building an android application which contains some activities that fetch datat using retrofit client. For now, i have resorted to creating instances in each activity that requires it. However, ...
0
votes
0
answers
8
views
I build my aosp project by running:
source build/envsetup.sh
lunch x86_64-userdebug
m component
I got the zip file created which inside there are different img files and others.
Then I modified some ...
0
votes
1
answer
19
views
I tried to run the project on an android emulator and get the following error. I have mac os. Thank you all in advance for your help in solving this issue.
0
votes
0
answers
10
views
I have the following code in jetpack compose in an android project.
Button(onClick = { }, modifier = Modifier.height(52.dp).clip(RoundedCornerShape(26.dp)).clip(RoundedCornerShape(12.dp))
...
0
votes
1
answer
14
views
I am getting started with React and doing a simple app. Basically when pressing a button it should generate some random-ish data (for simulating trade in a RPG). It seems to pretty much work except ...
0
votes
0
answers
8
views
I am trying to unzip a local maven repo and copy the files into app\libs directory. The repo is a .zip file and the zip file contains .a files and header files. Also, I want this task to run on ...
0
votes
0
answers
8
views
I should start by saying that this is a private app, so I don't need to worry about Google Play allowing my app to be published.
I have my app installed on the system partition, in the priv-app folder,...