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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
BlackBerry Development Advisor
chadtatro
Posts: 412
Registered: ‎10-01-2009
My Carrier: Bell

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

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.
Developer
peardox
Posts: 844
Registered: ‎03-20-2011
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!
Please use plain text.