Question: I've created this table using MySQL and PHPMyAdmin. In Android Studio, I have created 8 rectangle shapes in the xml file. Using Java, how can

 I've created this table using MySQL and PHPMyAdmin. In Android Studio,

I've created this table using MySQL and PHPMyAdmin.

In Android Studio, I have created 8 rectangle shapes in the xml file. Using Java, how can I read the data from the database table and change the color of each of these shapes based on whether the table shows a 1 or a 0 under filled/empty? (If 0 the color of the shape should be green when the app runs, and if 1 the color should be red)

# Filled/Empty 10011011 #12345678

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!