1

random image in android

view story
linux-howto

http://stackoverflow.com – I have Images in drawable and I shuffle these images But I want that *R.drawable.a this image come 5* time and this *R.drawable.b come 10 time* but in my code image come again and again . public void addNewImageToScreen() { int pics[] = { R.drawable.a, R.drawable.b, R.drawable.c,R.drawable.d,R.drawable.e,R.drawable.f,R.drawable.g,R.drawable.h,R.drawable.i,R.drawable.j,R.drawable.k,R.drawable.l,R.drawable.m,R.drawable.n,R.drawable.o,R.drawable.p,R.drawable.q,R.drawable.r,R.drawable.s,R.drawable.t,R.drawable.u,R.drawable.v,R.drawable.w,R.drawable.x,R.drawable.y,R.drawable.z,R.drawable. (HowTos)