SDK 14 auf SDK 21

How have I to do it in app inventor

Probably everything you need to know is here: