본문 바로가기

Android

String to InputStream

http://www.mkyong.com/java/how-to-convert-string-to-inputstream-in-java/

[code]
String str = "This is a String ~ GoGoGo";
InputStream is = new ByteArrayInputStream(str.getBytes());
[/code]

'Android' 카테고리의 다른 글

webview ?  (0) 2013.10.08
android with xpath  (0) 2013.10.08
How do I do a lazy load of images in ListView (DrawableManager)  (0) 2013.10.08
custom list view  (0) 2013.10.08
android xpath  (0) 2013.10.08