Code samples for learning BlackBerry 10 programming