Question: Android Studio/Java I Need help writing the code that asks the user to select 3 points on a colorwheel/Image. Selection 1=Point1 Selection 2=Point2 Selection 3=Point3
Android Studio/Java I Need help writing the code that asks the user to select 3 points on a colorwheel/Image. Selection 1=Point1 Selection 2=Point2 Selection 3=Point3 public class MainActivity extends AppCompatActivity { private int Point1; private int Point2; private int Point3; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); // ask user to select 3 points on color wheel selectPoints(); // obtain RGB values for each point int[] Point1RGB = Color.valueOf(Point1).toArgb(); int[] Point2RGB = Color.valueOf(Point2).toArgb(); int[] Point3RGB = Color.valueOf(Point3).toArgb();
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
