11-11-2011 06:50 AM
There appears to be a coding error in the sample code shown for the Communcations API. The page in question is
Under point 4, it shows the following code:
URI uri = new URI("http://www.blackberry.com");
Should it not be:
URI uri = URI.create("http://www.blackberry.com");
11-14-2011 11:10 AM
Nice catch! This is definitely a mistake in the documentation.
For issues like this, with the docs, you can submit the issue to the writers directly using the following steps:
At the bottom of every page there is a small heading, "Did this help you?" with a Yes or No button below. If you click the No button then you will get a form where you can submit feedback regarding the information provided on the page.
Feel free to submit this information and the recipients will make sure that the documentation gets updated with correct code.