billthefarmer / mididriver

Android midi driver using Sonivox EAS library
176 stars 52 forks source link

Small misc updates (1.16 -> 1.17) #33

Closed TacoTheDank closed 5 years ago

TacoTheDank commented 5 years ago

I believe we should start migrating to appCompat libraries, and to androidx

billthefarmer commented 5 years ago

OK, thank you. I took the optimisation of sendMidi() out because it's in there for demonstration of two and three byte midi send methods. The java compiler probably optimises it out anyway.

I have avoided using the support libraries in my apps because they don't add anything useful and add about a Mb to the size of the app. A classic example IMHO, is the requirement in android 7 to use content URIs to share files for 'security'. If it just applied to files in apps' private storage, fine, but it applies to all files in the publicly accessible area. That means that my editor app, unless it can get a handle on the actual real file can't get the file name, can't get the file date, can't check if it was modified by another app while open, can't sort a list of recent files in date order, unless it uses a workaround to find the real file which doesn't always work.

TacoTheDank commented 5 years ago

Alright, thanks for explaining.