Android Question Resolved - Activity.SetBackgroundImage path error

padvou

Active Member
Licensed User
Longtime User
Why does this code:
Activity.SetBackgroundImage(File.DirRootExternal & "/Apollo/" , pngfilename)
B4X:
Activity.SetBackgroundImage(File.DirRootExternal & "/foldername/" , pngfilename)
produce an error:
B4X:
Parsing code.                          0.18
Compiling code.                        Error
Error compiling program.
Error description: Too many parameters.
Occurred on line: 58
Activity.SetBackgroundImage(File.DirRootExternal & "/foldername/" , pngfilename)
Word: pngfilename
 
Top