[Solved] Convert ArrayString to Array android [closed]


try this

String []aaaa = "[1000000062,1000000095,1000000058,1000000400]".replace("[", "").replace("]", "").split(",");
    int aa[] = new int[aaaa.length];
    for(int i=0; i<aa.length; i++){
        aa[i] = Integer.parseInt(aaaa[i]);
    } 

1

solved Convert ArrayString to Array android [closed]