title: Kivy: Buildozer - How to Add Modular Packages and See them Actually Work?
body: <p>I realize adding sound to an kivy app based on kivy APIs leads to some serious frame rate breakage.  From what I can tell, sound is not buffered or anything it's just played in the raw.  For a moment, the thought of using python threads to create buffers for kivy sound entered my head, then I was like "nah..."  I'll just use pygames sound mods instead.</p>
  
  <p>Under a virtual Linux Ubuntu 64 system, I type the command: sudo apt-get install python-pygame.</p>
  
  <p>I already have python 2.7 on the system.  I could see where pygame 1.9.1 was added (which is what I needed).</p>
  
  <p>In my buildozer.spec file I added pygame as a requirement along with kivy.</p>
  
  <p>I then build a test apk, installed in on my android device and for some reason, the log file tells me the app could not find the "mixer" module, which is provided by pygame.</p>
  
  <p>So what am I doing wrong?  Is there some other way to add pygame as a module which buildozer can processes into an available module at run-time?</p>
  
  <p>Update====March 24 2017=====================================================</p>
  
  <p>I decided to use a workaround for the SoundLoader issue.</p>
  
  <pre><code>            from kivy.core.audio import SoundLoader
              from kivy.core.audio.audio_sdl2 import SoundSDL2
  
              NewSound = SoundSDL2(source='path_to_sound.wav')
  </code></pre>
  
  <p>I'm hoping this approach will play on android as I am yet to test it.  I noticed mp3 files will not play with SoundSDL2 or when using just SoundLoader alone.  This worries me because mp3 files are common for an android device.  IDK about wave files....</p>
  
  <p>Let me test it...</p>