Taking a Picture / File Upload from Moodle App in custom plugin

Re: Taking a Picture / File Upload from Moodle App in custom plugin

by Neal Young -
Number of replies: 0

Hello, Naomi. 

I'm trying to build an attachment selector on "mobile_add_document_to_category_view". Unfortunately, I might not see it's been showed correctly on this mobile view. I assume I can browse & select documents from local Photo albums.  

The third screenshot is my php codes when I create a function "createAttachmentsSelector".  Are my written codes correctly may I ask ?

Can you describe a bit more details about these 6 steps if you have a chance, please ?

Attachment mobile_add_document_to_category_view.mustache
Attachment moodle mobile view
Attachment Php codes