2011년 11월 20일 일요일

오늘의 영어 단어 Jolly Roger

The Jolly Roger is any of various flags flown to identify a ship's crew as pirates. The flag most commonly identified as the Jolly Roger today is the skull and crossbones, a flag consisting of a human skull above two long bones set in an x-mark arrangement on a black field.

2011년 11월 16일 수요일

오늘의 영어 단어: Nursery Rhyme

Nursery Rhyme (동요, 자장가)

Nursery (room)
  : a nursery is usually, in American connotations, a bedroom within a house or other dwelling set aside for an infant or toddler

2011년 1월 26일 수요일

Switching branches on Android Open Source Project

This is from Google Groups.
It is about switching between android branches easily.
------------------------------------------------------

You can re-run repo init on the same client, such that repo sync will
only re-download the new data.
repo init -b [branch]; repo sync

You can't just checkout in all projects, because (like I explained above):
-the list of projects changes from one branch to another, so the
notion of "all projects" can't be used to go across branches
-there's not a 1:1 mapping between names of manifests and names of
branches in individual projects.

As an extra trick, if you already have a client tracking one branch
and want a client tracking another branch:

create a new empty directory
run repo init in it (with the -u parameter)
copy the .repo/projects directory from your existing client into the new one.
repo sync

That'll only download the projects you don't already have.
JBQ

2011년 1월 21일 금요일

Right Number & PhoneUtil

I was reading a blogpost on the internet and stumbled upon the interesting things.
It was "Right Number", an android application.
Right Number intercept the dialed number and correct the format according to the country where it was made.
More details can be found here[Right Number Project Page].
Right Number used PhoneUtil for parsing the phone number.

2011년 1월 3일 월요일

Make the screen blur

Set Window flags as blur.

WindowManager.LayoutParams lp = getWindow().getAttributes();
lp.flags = WindowManager.LayoutParams.FLAG_BLUR_BEHIND;
getWindow().setAttributes(lp);

For the Dialog, you can get a Window for Dialog. Dialog.getWindow().