Small pieces of code that can be copy/paste-ed on your project

How to unzip Gzipped InputStream

Snippets, Solutions
If you are working with HttpURLConnection on Android then you might encounter strange InputStream outputs like when you have a strange character encoding even though on the server side everything…

Android: How To Change Hint’s Size

Snippets, Solutions
If you need to set a smaller hint for your edit text, you can set the hint this way: myEditText.setHint(Html.fromHtml( "<small><small><small>" + getString(R.string.hint) + "</small></small></small>")); Also, you can set the…
Exit mobile version