You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there, or should there be, a list of provided layout background jpg files in the docs? I will PR this later, if approved.
Symbroson — 27/08/2023 18:50
Good idea
there are several subfolders available (you can see all of them when extracting the DroidScript.apk as zip)
ie there is /Sys /Img /assets and so on - several of them are used across the samples, but theres no complete list somewhere (probably because it frequently changes when new samples are released or removed)
AlanH — 27/08/2023 19:39
Not in the docs
ditto for /Sys/Snd and /Sys/fonts and /Sys/fonts/MUI
CaptainStarbuck — 27/08/2023 19:41
Yeah, thanks. I'll hit all of these, not just the images. The challenge is that when we are in code and want to use SetBackground(filename) we have no idea what filenames are available except for their reference in samples, publicly available code, and our own poking into the zip.
Intellisense would be great in there ... everywhere actually. 😉
But I understand that it doesn't know that it might need to default to the Sys folders. This would need to be a list of literals or an enum. Hmmm.....
AlanH — 27/08/2023 19:47
I have small apps to list these folders
Also fontawesome icons and MUI icons
CaptainStarbuck — 27/08/2023 19:49
If you add those to the Samples, we can refer to them from the docs. This will make the lists dynamic rather than static, requiring manual recognition of changes and updates.
AlanH — 27/08/2023 19:51
I think the icons are in the wiki
CaptainStarbuck — 27/08/2023 19:52
Well, it looks like the wiki may be deprecated... I would volunteer to enhance a basic list app with a display of the colors and icons. It would be a nice exercise for me. If you'd prefer, I'll be happy to write these from scratch.
Feedback from the team would help us to know if anything like this is already planned, available, or if this might be obsoleted by some other effort.
List of paths posted by Alan - may be incomplete:
"Choose a path"+",/DCIM,/Pictures"+",/Sys/Img,/Sys/Snd,/Sys/Html"+",/Sys/fonts"+",/Sys/fonts/mui"+",res/drawable"+","+app.GetInternalFolder()+","+app.GetPath()+","+app.GetPath()+"/"+"Gameview Tutorial/Img"//+","+app.GetAppPath()+","+app.GetPath()+"/APKs"+","+app.GetPath()+"/SPKs"+","+app.GetInternalFolder()+"/.Droidscript"//+","+app.GetInternalFolder()+"/external"+",/extsdcard"+","+app.GetExternalFolder()+","+app.GetExternalFolder()+"/Android"//+","+app.GetExternalFolder()+"/Android/data"//+","+app.GetExternalFolder()+"/SPKs"+","+app.GetPrivateFolder()//+","+app.GetPrivateFolder("pictures")+","+app.GetPrivateFolder("pictures","external")+",/sdcard/Pictures"+","+app.GetSpecialFolder("Pictures")+","+app.GetSpecialFolder("Music")+","+app.GetSpecialFolder("Downloads")
The text was updated successfully, but these errors were encountered:
Is there, or should there be, a list of provided layout background jpg files in the docs? I will PR this later, if approved.
Symbroson — 27/08/2023 18:50
Good idea
there are several subfolders available (you can see all of them when extracting the DroidScript.apk as zip)
ie there is /Sys /Img /assets and so on - several of them are used across the samples, but theres no complete list somewhere (probably because it frequently changes when new samples are released or removed)
probably best to put this into a details tag in the intro section either Overview or File Structure
https://www.quackit.com/html/tags/html_details_tag.cfm
i think intro/FileStructure works best
AlanH — 27/08/2023 19:39
Not in the docs
ditto for /Sys/Snd and /Sys/fonts and /Sys/fonts/MUI
CaptainStarbuck — 27/08/2023 19:41
Yeah, thanks. I'll hit all of these, not just the images. The challenge is that when we are in code and want to use SetBackground(filename) we have no idea what filenames are available except for their reference in samples, publicly available code, and our own poking into the zip.
Intellisense would be great in there ... everywhere actually. 😉
But I understand that it doesn't know that it might need to default to the Sys folders. This would need to be a list of literals or an enum. Hmmm.....
AlanH — 27/08/2023 19:47
I have small apps to list these folders
Also fontawesome icons and MUI icons
CaptainStarbuck — 27/08/2023 19:49
If you add those to the Samples, we can refer to them from the docs. This will make the lists dynamic rather than static, requiring manual recognition of changes and updates.
AlanH — 27/08/2023 19:51
I think the icons are in the wiki
CaptainStarbuck — 27/08/2023 19:52
Well, it looks like the wiki may be deprecated... I would volunteer to enhance a basic list app with a display of the colors and icons. It would be a nice exercise for me. If you'd prefer, I'll be happy to write these from scratch.
Feedback from the team would help us to know if anything like this is already planned, available, or if this might be obsoleted by some other effort.
List of paths posted by Alan - may be incomplete:
The text was updated successfully, but these errors were encountered: