Sample code for Talk2Watch API integration in a BlackBerry 10 headless app