Skip to content

Tag: android

Controlling Media on phone from WearOS Watch

Is it possible to make an app like the media controller app that WearOS comes with yourself? Im asking because I want to design my own watch face that has media controls on it. There is a surprising lack of online documentation and people with this same question about this, which makes me think this is imposs…

Application not compatible with older Android versions

I’m generating an Android application via mvn -Pandroid gluonfx:build gluonfx:package. Here are the versions from the POM: Using graalvm-svm-java17-linux-gluon-22.1.0.1-Final The application works well on Android 8. However, when trying to install it on Android 7.0, a message pops up saying that the app…

Creating Constraint layout uisng java file

I am trying to create constraint layout using Mainactivity.java but I am facing some problems. I’m getting the below output. The constraint layout isn’t matching the size of parent. I have created 2 classes 1 is MainActivity.java and another is MyConstraintLayout.Java MyconstraintLayout.java MainA…

How can I create a button for clickable many times on android?

I triying make a android app for learning but my buttons clickable only once. I can’t click second time. Here is my codes for button. There is the xml codes: And there is java codes: There is generate method: There is variables: Answer After calling generate() the first time password.length() < 16 wi…