Re: [android-developers] I can't show random images in the ImageView

2011-08-06 Thread Miguel Morales
Add some logging so that you can see what n is. Then find out why it's not generating a random number. On Sat, Aug 6, 2011 at 8:33 AM, Zwiebel wrote: > Nice day! > > I tried to show random images in my application in an ImageView. I > tried this code: > > public class r extends Activity{ > >    

[android-developers] I can't show random images in the ImageView

2011-08-06 Thread Zwiebel
Nice day! I tried to show random images in my application in an ImageView. I tried this code: public class r extends Activity{ ImageView secret; @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub