Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
BlackBerry Development Advisor
Posts: 760
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

Re: setWallpaper with Base64?

We have a a pretty good sample app that shows how to save base64 canvas data to the filesystem.  

 

CanvasToFilesystem - https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/canvasToFilesystem

Developer
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: setWallpaper with Base64?

I managed to grab a Base64 image and save it to appdata as an image (filetransfer don't work)

 

I want this sort of thing for a completely different concept myself and was able to check that the resultant image was good

 

Thing is that when I tried a setWallpaper test from the App's own space it did absolutetly nothing - not even an error thrown

 

I'm wondering if that particular API has to have its files in shared data area?

 

I'll let Phil work that bit out

 

For my own use I wanted to download from a server, save file in appdata (as an image) then display it in-app - file system won't let you do this but got a horrible work-around that does the deed

 

 




Click the like button if you find my posts useful!