Skip to content
Advertisement

Tag: android-studio

Why are images not being acquired by the analyze() method?

Summary/TL;DR: ML Object Detection application is unable to detect objects because images aren’t being acquired by analyze() method. BACKGROUND I’m currently working on a mobile application using CameraX and Google ML Kit written in Java. The purpose of the application is to detect objects with a real time camera preview. I implemented ML Kit using this guide aptly titled “Detect

Change text in button

I need to make it so that if a user clicks on button_apple and doesn’t click on it for 3 seconds, its text becomes so superfluous. And if anyone knows why my text changes in button_apple, but not in button_cherry. Tell me, please. Answer You’re setting the listener on your apple button. The cherry button doesn’t have a listener on

Creating dialogue box pop up – Android studio

Relatively new to the whole javascript scene -trying to create my first app! So far I have managed to create the base layout, link button to next .xml, etc. however I’d really like a button that when clicked, opens a pop-up with some information on (a few lines describing the app’s purpose). Unfortunately, all tutorials, although helpful, don’t explain where

How to Visible/Invisible using OnClickListener?

I am working on FAQ page I don’t want to use Expandable list view and stuff. So I set 2 TextViews(1 for Question and 1 for Answer) and made one clickable. The above image shows when the first textview mfaq is clicked it sets second one mAns to visible. The below code works well to Set the mAns textview visible:

Repeat Volley Request Every x-seconds Java

Alright – Before you say this is a duplicate, I’ve looked over every stack overflow article I can find, and none of them work and/or answer the question properly/simply. All I need is to repeat a function with a volley request inside of it every x-seconds. Basically, I have a fairly simple Volley request inside a function, which works absolutely

Advertisement