My Opera is closing 3rd of March

Iniciando o Hoje

Começando a avançar

Uma simples função para carregar imagens, de URL externas em Android

,

public Drawable getImageURL(String url) {
	Drawable image;
	URL imageUrl;
	try {
		imageUrl = new URL("http://"+url);
		Bitmap bitmap = BitmapFactory.decodeStream(imageUrl.openStream());
		image = new BitmapDrawable(bitmap);
	} catch (Exception e) {
		//Log.e(DEBUG_TAG, "Decoding Bitmap stream failed.");
		image = null;
	}
		return image;
}

Ordenando consulta sql por valores definidosAlerta da mesma forma do MSN

Write a comment

New comments have been disabled for this post.

February 2014
S M T W T F S
January 2014March 2014
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28