/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

juffalow.com
| | wittchen.io

When we work with Activities in Android, defining different layouts for different screen orientations is easy. The only thing we need to do, is to create two *.xml files with the same name for layouts in two separate directories (res/layout/ and res/layout-land/). In Fragments its not that easy. In such case, we need to perform additional operations in order to achieve our goal. Fragment in Android is not re-inflated on configuration change, but we can recreate layout and repopulate view manually.
1.9 parsecs

Travel
| |
| | pbrisbin.com

I am not an android developer. I am not even a Java developer. What appears below is my attempt to share what I've learned using the android documentation, google, and copious amounts of trial and/or error. I apologize for mistakes; please offer corrections via twitter or email. I was upset when I first got my Droid Eris that the media player couldn't load a url by default. I stream my mpd out to the world so that I can pick it up away from home.
1.9 parsecs

Travel
| |
| | jakewharton.github.io

Field and method binding for Android views.
1.7 parsecs

Travel
| |
| | www.thepolyglotdeveloper.com

Use a Java InputStream with threads to download remote files without a browser in Android. Use this method to download in-app purchase files or update data.
14.3 parsecs

Travel
|