Code samples for learn BlackBerry 10 programming