i am trying to remove duplicate values from my array present i my android project my array is,
String [] standard = {"7", "7", "8", "7", "8", "7", "6"};
i want only unique values that will be stored in an array.like {7, 8, 6}. i am trying to solev this with comparing each element of array with itself and then add it into array. i have tried googling to solve this but i am failed to solve this. means offcourse i am mistaking at somewhere.
how to solve this using the same way that i am trying to solve.