Category Archives: Android

Contribute to the vogella Android tutorials via Github pull requests

If you want to contribute an improvement to the vogella Android tutorials, we are providing our Android tutorials Asciidoc source code via Github. Please clone and send your Pull Requests. vogella Android tutorial at Github. Thanks for your contributions and … Continue reading

Posted in Android, Lars Vogel | Comments Off on Contribute to the vogella Android tutorials via Github pull requests

Where are the vogella example projects at Github?

On a regular basis I get the question where people can find the example code of our tutorials. There are on Github but Github is big, so we created this vogella Source code page to make it easier to find … Continue reading

Posted in Android, Eclipse, vogella, Web | Comments Off on Where are the vogella example projects at Github?

Android Development Tools (ADT) for Eclipse now building with Maven Tycho

The ADT project is now using Maven Tycho for there build. See Bug report and ADT build instructions for details.

Posted in Android, Eclipse, Lars Vogel | Tagged , , , | 6 Comments

Publishing an Android book in the vogella book series

Since a few months I’m working on an Android book based on the popular Android online tutorials from my website. On thing I learned in the past about book writing is that the process is extremely painful. Creating a consistent … Continue reading

Posted in Android, vogella | 3 Comments

Using XML layout references in Android

Android supports resource selectors based on qualifiers. For example to use a special layout file for activity_main.xml on a tablet in landscape mode you would typically define a layout file also called activity_main.xml in the layout-sw600-land folder. Instead of using … Continue reading

Posted in Android, Other | Tagged | Comments Off on Using XML layout references in Android

Android – Always show the overflow menu even if the phone has an options button

If an Android device has an option button, the overflow menu is not shown. While it it not recommended as the user except a certain behavior from his device, you can trick you device in thinking it has no option … Continue reading

Posted in Android | 1 Comment

Android – Why not to use static for View fields in your Activity or Fragments by Lars Vogel

Your should not use static for defining fields for Views in your Android application. Then creating a View, the LayoutInflater (used in setContentView(R.layout.ID)) uses the current Context (of the Activity) and pass it to the inflated Views. A reference to … Continue reading

Posted in Android | Comments Off on Android – Why not to use static for View fields in your Activity or Fragments by Lars Vogel

Determine the active Android framework maintainer by Lars Vogel

If you want to know the current Android maintainer you can use the following link: Android framework maintainer Thanks to Arvid Gerstmann for pointing me to that URL on Google+.

Posted in Android | Tagged | Comments Off on Determine the active Android framework maintainer by Lars Vogel

How to enable the Development Settings on your Android 4.2 phone by Lars Vogel

Developer Settings in your Setting application of your Android phone allow to set configurations which simplify the analysis of your application. For example you can enable that the touch area is highlighted. If you don’t have a developer phone you … Continue reading

Posted in Android | Tagged , | Comments Off on How to enable the Development Settings on your Android 4.2 phone by Lars Vogel

Setting to update Android applications only if connected with WLAN (Android user tip)

In case you are on a limited data plan you should setup your device to update your applications and the system image only via WLAN. To set this up, open the Google Play application, open its options and and select … Continue reading

Posted in Android | Tagged | Comments Off on Setting to update Android applications only if connected with WLAN (Android user tip)