Categories
vogella tutorial rss feedHome
Recommended
Twitter
-
Recent Posts
Tag Archives: Android
Android SoundPool – How to check if sound file is loaded?
SoundPool loads the sound asynchronously. Before API level 8 where was no standard way of checking if a sound had been loaded before using it. As of API 8 Android allows to check if the loading has been completed via … Continue reading
Creating Bitmaps from the internet via Apache HttpClient
Last week I blogged about the Android DownloadManager. As a result I received the question how to create a bitmap from internet ressources the “normal” way. Here is a small example which uses the Apache HttpClient in Android to download … Continue reading
Creating Android applications via the command line and Apache Ant
Android projects can be created either with the ADT Plugin for Eclipse or via the command line. This blog entry explains how to do this via the command line. You find the related command line program “android” in the folder … Continue reading
Android – Hacking layouts
One common mis-understanding seem to be that Android starters seem to think that a layout can only be defined via a XML resource. While this is the most common way of defining a layout in most cases you can also … Continue reading
Android – Making efficient layouts
Android Programming is a lot about efficiency to have snappy user interfaces. The Android SDK provides two nice tools to help building efficient UI’s. In the tools directory you find the tools: layoutopt and hierarchyviewer. layoutopt is a command line … Continue reading
Android library projects – Renting some code
Android does not require that all source code used by one application is directly included into this application., Android library projects allow to store source code which is used by several other Android projects. Library projects cannot be compiled to … Continue reading
Android – Hidding the status and title bar of your application
An Android application provides a titlebar. The Android platform provides a statusbar. If you desire to hide them you can do this either via code or via the theme setting in your “AndroidManifest.xml”. To hide the titlebar of your application … Continue reading
Registering for Android Intents – Being a crappy browser
One of the most powerful concepts of Android Development is that you can send asynchronously messages to other activities and services via Intents. The standard case is that you specify the intent you want to call and then Android starts … Continue reading
Disassemble Android dex files
The Android platform cames with a handy disassembler tool, called “dexdump”. You find this in your Android SDK installation directory in the folder”platform-tools”. This allows you to create the Dalvik Virtual Machine bytecode from a dex file. If you are … Continue reading
Using Android Wakelock – Staying up all night long
One of the think you as an Android developer should properly not do is prevent the Android system from shutting down certain components to save energy. But sometimes you need to prevent the system from sleeping, e.g. during an important … Continue reading