examples: move touchtracer into his own directory, and change to be able to run on android

This commit is contained in:
Mathieu Virbel 2011-02-06 19:56:44 +01:00
parent 486a0be44d
commit 3f39fecb6d
5 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,12 @@
Touchtracer
===========
Touchtracer is a simple example to draw lines under every touches detected
on your hardware.
Android
-------
You can copy/paste this directory into /sdcard/kivy/touchtracer in your
android device.

View File

@ -0,0 +1,3 @@
title=Touchtracer
author=Kivy team
orientation=portrait

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

View File

@ -76,5 +76,5 @@ class TouchdebugApp(App):
def build(self):
return Touchdebug()
if __name__ == '__main__':
if __name__ in ('__main__', '__android__'):
TouchdebugApp().run()

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB