Exemplo n.º 1
0
        private void Mostar_Foto()
        {
            TextView lbl_episodio_foto = FindViewById <TextView>(Resource.Id.lbl_episodio_foto);

            lbl_episodio_foto.Text = "Ep.:" + datos_informacion.id_episodio.ToString() + " Fecha:" + datos_informacion.fecha + " (" + datos_informacion.veo.ToString() + ")";

            //Trae el fichero y lo muestra en el ImageView
            TRAtaMeWS.TRAtaMeWS TRAtaMe = new TRAtaMeWS.TRAtaMeWS();
            byte[] bitmapData           = TRAtaMe.traer_fichero("F", datos_informacion);
            Bitmap bitmap = BitmapFactory.DecodeByteArray(bitmapData, 0, bitmapData.Length);

            _imageView = FindViewById <ImageView>(Resource.Id.imv_foto);

            _imageView.SetImageBitmap(bitmap);
        }