Code example for ImageSwitcher

Methods: setImageURI

0
					public void run() { 
						// TODO Auto-generated method stub 
						if (lecture) {
							mCurrentPosition = (mCurrentPosition + 1)
									% mImages.size();
							mImageSwitcher.setImageURI(Uri.fromFile(mImages
									.get(mCurrentPosition)));
							myHandler.postDelayed(myRunnable, 80L);
						} 
					} 
				}; 
				myHandler.postDelayed(myRunnable, 40L);
			} 
 
			return false; 
		} 
 
		private void tapOnScreenHandler() { 
			// TODO Auto-generated method stub 
			switch (etat) {
			case Init: