I'm trying to disable gestures using Material 3 ModalBottomSheet. I've seen this question asked, but the accepted answer was to use a different method such as ModalBottomSheetLayout (Material 1). I need to use ModalBottomSheet.
creating this app in android studio using java language, it is kind of Instagram clone, for posting pictures i have this specific post activity in which i am trying to implement accessing the gallery of user to select a image but i am unable to do...
I have a code that adds a new captain to the list and then updates the list and has to redraw it, but it doesn't do that. Although an object is added to the MutableList
class MainActivity : ComponentActivity() { @SuppressLint(...
I am creating an app that through a ble scan returns a list of nearby devices, each device is an object which contains two pieces of information:
UUID : String, rssi: Int
I can get the rssi value and device address but I can't figure out how to...
We've got a WebView that we're loading under the Application class whenever the app starts. This website is for internal data loading and won't appear to end users. All was well; till then, we upgraded the application to Android SDK 34. While...
I'm Trying to Run an App from GitHub running on Android Studio that has No Module on it to Run the App. Some Apps from GitHub have a Module. Some Apps from GitHub don't have a Module. How do I get the correct Module for the App to run I got the code...
I'm trying to learn how I should re-write my room database (dao, repository, viewmodel, room databse). My problem: The user pressed the save button on the UI, the onClick function does the following: 1 – Save records in the room database using the...
In my current project I have the problem that the first restore state attempt (triggered via popBackStack) failed. The navigation after that first failure is working fine and the app manages to restore all states afterwards fine.
I want to get BasicTextField selected text count in jetpack-compose, how can I do it? I want to check if any text is selected in the BasicTextField, show a dialog.
@Composable fun AddEditNoteScreen( modifier: Modifier = Modifier, onBack: () ->...
I'm building a Flutter application and have a SearchDelegate function where I'm trying to put filters as a complement to the query. To do so, I have a buildActions button that displays the list of filters, you can choose what you want, and then the...
In Android Studio, I came across different ways to implement onCreateOptionsMenu() and onPrepareOptionsMenu() each with respect to the return statement in an Activity that extends from AppCompatActivity. It is quite confusing to me as to which one...
Unable to get the save button (which is the tick button) to save the entry to Firebase Firestore. It always return a failed command when pressed. It shows me Failed while add detail message when I tried to press the save button.
I want to get the stream url from an android app to open the stream video elsewhere using EZVIZ TY1 1080p 360-Degree camera or Mi Home Security Camera 360°1080P
I expect to get the url of the stream video and open it on a web page.
enter image description hereI am working on a project and getting help from some sources, but I am using firestore database. The source I use uses realtime database. How can I show this piece of code with storage reference?
I have this 3 lines of code which I use to hold the state of items in my listview when scrolling, but my problem is, the last line of code only gets executed. This is the code block:
The server then sets up connections to all running emulator/device instances. It locates emulator/device instances by scanning odd-numbered ports in the range 5555 to 5585, the range used by emulators/devices....
I am making the smoothBottomBar shared by a friend in Java, but when I want to make it in Kotlin, I get an error in the mainactivity codes. Example 1: Type in the object section, Example 2: Boolean Can anyone share appropriate MainActivity codes for...
i am trying to use shared preference in my app and before I even use it, just adding the dependency gives me this error. anyone with any idea? thanks in advance
I want to continue an old android project of mine and started fixing issues with that. My program launches well in android virtual device but then goes background.(I tried it on my phone it doesn't do that) Then checked logcats and saw erros like...
I created a button that I want to send the user to the MercadoLibre Reviews section, however, when I execute it it asks for authorization, but it does not send the user to the correct section.
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете добавлять вложения