Most typical Android developers use a single machine to code their application from start to finish. If you happen to be a casual Android developer, that is develop outside of working hours, then access to your code is limited to when you next use your desktop or laptop. However, this need not be the norm. With some clever software and cheap hardware, working anywhere virtually anywhere becomes possible.The home office with your desktop, slobbing in front of the tv with your laptop, and on perhaps your commute on my your android phone. Here’s the software and hardware required to achieve this.
- Desktop pc with eclipse
- Laptop with eclipse
- Mobile phone with AIDE and thumb keyboard.
- Raspberry Pi with Git source control
The first two probably do not need explanation, if you are a seasoned Android developer, so we won’t explain further. However, developing on your mobile will be new to some, but before we move onto that let’s look into what glues them altogether. Continue reading 24/7 Android development with AIDE, Git and Raspberry Pi
Create gradient filled buttons with rounded corners
Android has a standard set of buttons for user interaction, and the latest ICS guidelines recommends how your application should look and behave. For the majority of applications you would want to stick to the guidelines, but there are some cases when more striking buttons are more preferable.
For example, applications aimed at children need be more colourful with bolder text, to grab their attention. You could use image buttons, with the ImageButton class, where the buttons are created as an image. However, you will need to create multiple image buttons at various resolutions, i.e. ldpi, mdpi, hdpi, etc.
Continue reading Create gradient filled buttons with rounded corners
My Android development environment is on Linux (Specifically Kubuntu 10.04 LTS). Kubuntu is a derivative of Ubuntu, using KDE as it’s desktop rather than Unity.
Here are some of the reasons I prefer Linux
- KDE is a nice environment to work in. Dolphin the file manager is feature rich, and I cannot live without virtual windows.
- Do not have to worry about virus or virus checking. I do run a virus check now and then (using clam AV), but have not installed a virus checker that slows down the whole OS.
- Very stable and efficient with memory. Swap usage is 0 for most sessions, though having 6 Gb of RAM does help.
Below is a setup guide, though I would recommend using the links provided for more detail. This guide will not teach you Linux, nor Java, but does provide setup knowledge to get you up and running for Android development.
Continue reading Setup Android development with Linux