02-03-2013 08:52 AM
Can anyone let me know if Im doing this right. Im using bbUi and I have a button when clicked does this:
onclick="blackberry.system.setWallpaper('images/sa mpler.png');"
Also in my config.xml file I have declared:
<content src="index.html" rim:allowInvokeParams="true"/>
<feature id="blackberry.ui.dialog"/>
<feature id="blackberry.system" />
<feature id="blackberry.app">
<param name="mode" value="portrait" />
</feature>
<feature id="blackberry.app">
</feature>
When testing on the device, nothing happens when Apply is pressed.
Anyone got a solution?
Regards,
Flow
If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
Solved! Go to Solution.
02-04-2013 10:39 AM
I believe you have to pass in a protocol before the path.
Try this
onclick="blackberry.system.setWallpaper('local://i mages/sampler.png');"