Desaturate icons

convert -modulate x,y in.png out.png

(eg: x,y = 130, 10) modulate = vary brightness, contrast and hue

not -monochrome (=only 2 colours, not grayscale);

Android icon template size: 864/864.  Hi res = 72×72

Chooser icons – sub icon is 250x on largest axis, located at 568,100

Recipe for traversing a Cursor:

 while (cursor.isAfterLast() == false) {
    // do stuff

Basic anonymous toast:
Toast.makeText(view.getContext(), msg, Toast.LENGTH_SHORT).show();

0 Responses to “Scripts – Android”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog Stats

  • 248,553 hits

OSWALD Newsletter

If you would like to receive OSWALD, a weekly open source news digest please send an email to oswald (with the subject "subscribe") at

%d bloggers like this: