By Goran Siric on 2/28/2012 9:59 PM

If you recently started to develop applications for the Android platform (or any other mobile platform) it is likely that you will encounter the problem of designing user interfaces. Have you realized the importance of ListView control in developing android applications? That is what I learned the hard way. Don't allow this to happen to you too.

Search Blog

If you found this useful,
you can buy me a coffe :)
By me a coffe through PayPal :)

Featured articles

Android "DataEntry ListView" Design Pattern

Have you realized the importance of ListView control in developing android applications ?

GIMP script for creating Android icons at once

Script for creating Android icons for different screen resolutions at once. Icons can be saved using standard Android icons naming conventions and saved in appropriate folders.

Creating Android button with image and text using relative layout

Source code with examples how to use relative layout to create nice buttons with text and images in Android

Android application and the Internet

Tutorial about connecting to the web pages on the Internet from Android application, using both POST and GET web requests.

Recent Entries

Calculated variables
Comments about Parking SMS Scheduler
Comments about cities and parking zones
Android "DataEntry ListView" Design Pattern
Android application and the Internet
Keep my DNN site alive

Recent Comments

Re: GIMP script for creating Android icons at once
Hey Leonidthanks for your code for creating folders.This is always problem when someone don't read documentation.
I will update script on this page too in next few days.
Re: GIMP script for creating Android icons at once
Sorry for spamming J

skipped it at first, but then found in one of the comments above a link to a github repository with the code. Have contributed with this pull request. Please see it for a small bugfix to my original post above (missing python import will crash the code if the directories exist). Plus the windows compatibility issue by using a platform dependent DIR-SEPARATOR.

github.com/ruleant/script-fu-save-android-icons/pull/1

Cheers!
Re: GIMP script for creating Android icons at once
Also,

would you consider merging with this opensource script to have the two great extensions in one place?

github.com/m2orris/GIMP-scripts
Re: GIMP script for creating Android icons at once
Hi,

good script, thanks for that.
I have found it midway writing my own. I just thought to myself "hey, you seem to be doing something others might have done better", which was the case. Again.
However, I would like to contribute.

I have found a way to create directories from within a script-fu, although this wasn't for some reason described on gimp forums. I have patched your script and it works nice. Please feel free to add this line just before file-png-save2:

(python-fu-eval 1 (string-append
"import os;\ntry:\n\tos.makedirs(os.path.dirname('"
newName
"'))\nexcept OSError as exception:\n\tif exception.errno != errno.EEXIST:\n\t\traise"))
Re: GIMP script for creating Android icons at once
There is a new way to register Android app icon... you can now set them in mipmap folder instead of drawable folder.
Thank's for this top plugin.