app icon

How to make a rounded rectangle in GIMP

I recently needed to make an icon look like an iOS style app icon -- a rounded rectangle with transparent corners -- and to do that I needed to learn how to create a rounded rectangle in Gimp. This tutorial contains a short step-by-step description of how to do this.

Note: I’m writing this tutorial in April, 2015, using Gimp 2.8.

Android: How to specify an Android application icon

This page shows how to specify the app icon for your Android application. As shown, you need to create an app icon in different sizes for each phone/tablet size you want to support, then add a link like this in your AndroidManifest.xml configuration file:


In my case I’m working on a little test/demo app and have an app icon named motify.png, so I copied that file into the res/drawable directory and set this configuration string like this:


I also had to uninstall my app from the Android emulator and then re-install it before I saw the app icon in the list of Android apps, but once I did that it worked as expected.

How to enable the Android ActionBar activity icon to “tap to go home”

If you want to enable the Android activity icon (app icon) in your application's ActionBar so users can tap the icon to go to the home screen, here are my notes on how to do this.

Enabling the ActionBar activity icon to handle the home button tap is a simple, three step process:

Step 1

In Step 1, add a line like this to your app's AndroidManifest.xml file:

Setting an iPhone HTML/web app icon | iPhone app home screen icon

iPhone HTML app icon FAQ: I'm creating an iPhone HTML web app, and I want users to be able to save my HTML app icon to their iPhone home screen; how can I add a custom iPhone app icon to my web application?

The iPhone Mobile Safari web browser recognizes a special HTML tag that lets you add an iPhone app icon to your HTML application. Here's the syntax that lets you add an iPhone app icon to your web app:

Java: How to handle drop events to your Mac OS X Dock icon (Part 2)

In Part 1 of this tutorial I shared the Java source code you need to handle drag and drop events on Mac OS X. But as I mentioned in that tutorial, the recipe to handle files that are dropped onto your Dock application icon requires a little more work, in particular an Ant build process that uses the JarBundler task. So here in Part 2 of this tutorial, I'm sharing my Ant build script that completes this recipe.