Skip to content

Latest commit

 

History

History
74 lines (53 loc) · 4.22 KB

README.md

File metadata and controls

74 lines (53 loc) · 4.22 KB

Android-Handling-Catrobat-files

Recieving .catrobat files on Whatsapp:
File Mimetype
743(1).catrobat application/zip
817.catrobat application/zip
12827copy.catrobat application/zip
pro je ct.catrobat application/zip
project.catrobat application/zip

in some cases of project names whatsapp uses application/x-zip (in some devices)

Sending .catrobat files on Whatsapp:
File Mimetype
743(1).catrobat application/octet-stream
817.catrobat application/octet-stream
12827copy.catrobat application/octet-stream
pro je ct.catrobat application/octet-stream
project.catrobat application/octet-stream

File Mimetype
743(1).catrobat *
817.catrobat *
12827copy.catrobat *
pro je ct.catrobat *
project.catrobat *

This file manager handled the .catrobat files extension with regex : pathPattern=".* \.catrobat"

So files named with an .something before the final extension This file manager cannot find app to open file. (i.e. could not open file named name.something.catrobat

File Mimetype
projects directly downloaded from share.catrob.at application/zip
projects recieved from other sources (such as whatsapp or copying to mobile internal storage in pc/mac) application/octet-stream
not project files (such as random txt file) renamed to have .catrobat extension (resulting in failure to import application/octet-stream

File Mimetype
743(1).catrobat application/x-zip
817.catrobat application/x-zip
12827copy.catrobat application/x-zip
pro je ct.catrobat application/x-zip
project.catrobat application/x-zip

files recieved from forwarded files are treated either x-zip or zip

files uploaded to drive changes them to zip. If the file extension .zip is removed - most apps treat the files as application/octet-stream

These are results of testing on Zte Blade v8 mini android 7.1.1 api level-26