Browse all latest questions tagged Android
I have an M3U8 file located here: https://vcloud.blueframetech.com/file/hls/13836.m3u8 This video contains timed metadata every single second. My goal is to read this metadata from ExoPlayer. I curre...
I get this exception when I call EditText.setSelection() java.lang.IndexOutOfBoundsException: setSpan (N ... N) ends beyond length 10500 N can be any number. For example if I call setSelection(1047...
Has anyone used DTLS on Android or is there an open source Java implementation that supports DTLS? What are my other options for securing UDP traffic on Android?
I was trying to debug an app when I encountered this error Static interface methods are only supported starting with Android N (--min-api 24): void butterknife.Unbinder.lambda$static$0() Here is...
What is Uri Matcher in android.content.UriMatcher How to use it? Can someone please explain meaning of following three line of code? uriMatcher = new UriMatcher(UriMatcher.NO_MATCH); uriMatcher....
I am trying to load a HTML page into my app. I want to show only the content of the HTML page. please help me with a javascript function where I can loop through all the p tags and get the content of...
I got here a simple question for people that used to work with cloud storage API's. I want to set up a client/server model where the client is Android and it uploads files periodically to the cloud....
I have built a signed application (system application) with a shared user id android.uid.system. It contains a FileProvider, which I need for a package install intent. When I try to install the appli...
I'm trying to add a google login with firebase to my project, following the offical documentation for google sign-in. https://developers.google.com/identity/sign-in/android/sign-in I already seen othe...
I wonder for a method like MyDialog(Context context, @StringRes int message), what does @StringRes exactly do? My impression is that if it is not there, the programmer might think message is a number...
I am using AIDE as an Android IDE. This application built my project successfully and produced the corresponding APK file. I would like to debug my project. Currently I: open a terminal emulator mo...
I created a music player app and I want to set the volume up/down programmatically. I want to implement two Buttons to increase/decrease the volume and set to the media player. Activity: control = (Im...
When showing and hiding the keyboard in my React Native app there is a white flickering where the keyboard goes, see this: https://photos.app.goo.gl/Bwmin9T1R4OAO9tB3 I'm making my first app using R...
I have a Spring Boot API that runs locally, with a self-signed certificate, using the HTTPS protocol. Obviously, when I send GET Requests from the browser, I receive the io.netty.handler.codec.Decode...
I'm building a UI, and it's all static defined in the XML. All of it has weights all over the place, and while it looks right, I wanted to see that things actually have the right height and all. The p...