Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List of internal assets #76

Closed
alex-Symbroson opened this issue Oct 16, 2023 · 0 comments
Closed

List of internal assets #76

alex-Symbroson opened this issue Oct 16, 2023 · 0 comments
Labels
new category new doc page that should be created short-term

Comments

@alex-Symbroson
Copy link
Collaborator

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:

"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" ) 
@alex-Symbroson alex-Symbroson added new category new doc page that should be created short-term labels Oct 16, 2023
alex-Symbroson pushed a commit to SymDSTools/Docs that referenced this issue Nov 2, 2023
alex-Symbroson added a commit to SymDSTools/Docs that referenced this issue Nov 3, 2023
alex-Symbroson added a commit that referenced this issue Nov 3, 2023
 #99, already closed #97, closes #96, closes 95, closes #94, already closed #83, closes #76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new category new doc page that should be created short-term
Projects
None yet
Development

No branches or pull requests

1 participant