Capturing and displaying the same image

All we need is a simple explanation of the problem, which is provided below. I am working on a semester project and it requires that I send images from an android device to server without storing the image. I want to make sure my cameta application is working properly. I want to check this using … Read more

gradle build error Plugin with id 'com.android.application' not found

All we need is a simple explanation of the problem, which is provided below. I’ve been trying to build my android app with gradle build, and to get it download required dependencies and jar files automatically, I added in my settings.gradle apply plugin: ‘com.android.application’ apply plugin: ‘com.android.library’ And my build.gradle looks like this plugins { … Read more

Android studio check if Mediaplayer is playing in a screen widget activity

All we need is a simple explanation of the problem, which is provided below. There’d be a button on the home screen which would play a certain song and change the background image of the button. If the user clicks on the button again (when the music is playing) then the music should stop and … Read more

Gstreamer, how to play udp stream using C on android?

All we need is a simple explanation of the problem, which is provided below. I’m trying to play udp stream using Gstreamer on android. (I’ve used this tutorial from the official Gstreamer website). I can play rtsp and https streams, but when I pass udp uri (like this: udp://@238.0.0.1:1234) nothing happens (there is a black … Read more

Cannot create an instance of class com.example.retrotest.ui.AlbumsViewModel

All we need is a simple explanation of the problem, which is provided below. Got a error when I try to launch the app with the emulator. Try to look up the AlbumListFragment errors at line: 40 and 41. I can’t understand what I have done wrong. Have implemented this code severals times without errors. … Read more

Flutter cannot build release apk got " Android resource linking failed"

All we need is a simple explanation of the problem, which is provided below. Am able to build debug apk but got this error for creating release apk. [+17902 ms] FAILURE: Build failed with an exception. [ +1 ms] * What went wrong: [ ] Execution failed for task ‘:flutter_exif_rotation:verifyReleaseResources’. [ ] > A failure … Read more

Setting ImageView's size AND position as percentages programmatically in ConstraintLayout (Android)

All we need is a simple explanation of the problem, which is provided below. As stated in the title i’m trying to set multiple ImageViews size and position as percentages in a ConstraintLayout programmatically. I succeeded to do the individually, either via ConstraintSet or ConstraintLayout.LayoutParams, but when i try to do them both at the … Read more