User Tools

Site Tools


Writing /var/lib/dokuwiki/data/meta/teaching/ie0117/actividad_7new/kivy.meta failed
teaching:ie0117:actividad_7new:kivy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
teaching:ie0117:actividad_7new:kivy [2016/05/16 17:33] – [Evaluación] adminteaching:ie0117:actividad_7new:kivy [2022/09/20 00:08] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Actividad 7: Kivy ======+====== Actividad: Kivy ======
  
 ===== Preguntas ===== ===== Preguntas =====
Line 22: Line 22:
   * Construya un paquete de debian para plyer e instálelo   * Construya un paquete de debian para plyer e instálelo
  
 +  sudo apt-get install python-stdeb
   cd ~/local/src/plyer   cd ~/local/src/plyer
   python setup.py --command-packages=stdeb.command bdist_deb   python setup.py --command-packages=stdeb.command bdist_deb
Line 77: Line 78:
 ==== En Android ==== ==== En Android ====
  
-Utilice el kivy launcher para correr "Test"+  * Utilice el kivy launcher para correr "Test" 
 +  * Copie un archivo con una canción de la siguiente forma: 
 + 
 +  mkdir -p ~/mnt/cel/storage/emulated/0/kivy/test/musica/ 
 +  cp directorio_cancion/cancion.mp3 ~/mnt/cel/storage/emulated/0/kivy/test/musica/
  
   * Cambien el contenido completo de main.py por lo siguiente:   * Cambien el contenido completo de main.py por lo siguiente:
Line 140: Line 145:
      
   if __name__=="__main__":   if __name__=="__main__":
-      sound = SoundLoader.load('musica/AC_DC/Highway to Hell/01 Highway to Hell.mp3')+      sound = SoundLoader.load('musica/cancion.mp3')
       if sound:       if sound:
           print("Sound found at %s" % sound.source)           print("Sound found at %s" % sound.source)
Line 157: Line 162:
       TestApp().run()       TestApp().run()
  
-  * Corra dicho programa en Linux y Android y comente las diferencias. +  * Ejecútelo en Linux y Android y comente las diferencias.
  
  
teaching/ie0117/actividad_7new/kivy.1463420026.txt.gz · Last modified: 2022/09/20 00:08 (external edit)