blackberry / WebWorks

BlackBerry WebWorks for Smartphones is a platform for building deeply integrated web applications for BlackBerry smartphones
http://developer.blackberry.com/html5
268 stars 51 forks source link

Inconsistent icon paths (showBannerIndicator vs setHomescreenIcon) #121

Closed nunodonato closed 7 years ago

nunodonato commented 12 years ago

The setHomecreenIcon function needs an icon path in the format: “local:///images/icon.png” However, using the same format for showBannerIndicator will not work, throwing an undefined exception. This one only works with paths in the format: “images/icon.png”

I don't know about other functions that also use file paths, but the format should be consistent or, at least, explained in the API docs.