diff --git a/examples/demo/touchtracer/README.txt b/examples/demo/touchtracer/README.txt new file mode 100644 index 000000000..acdac8097 --- /dev/null +++ b/examples/demo/touchtracer/README.txt @@ -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. + diff --git a/examples/demo/touchtracer/android.txt b/examples/demo/touchtracer/android.txt new file mode 100644 index 000000000..3fca275a4 --- /dev/null +++ b/examples/demo/touchtracer/android.txt @@ -0,0 +1,3 @@ +title=Touchtracer +author=Kivy team +orientation=portrait diff --git a/examples/demo/touchtracer/icon.png b/examples/demo/touchtracer/icon.png new file mode 100644 index 000000000..ea7c8901d Binary files /dev/null and b/examples/demo/touchtracer/icon.png differ diff --git a/examples/demo/touchtracer.py b/examples/demo/touchtracer/main.py similarity index 98% rename from examples/demo/touchtracer.py rename to examples/demo/touchtracer/main.py index fff34918c..b72067726 100644 --- a/examples/demo/touchtracer.py +++ b/examples/demo/touchtracer/main.py @@ -76,5 +76,5 @@ class TouchdebugApp(App): def build(self): return Touchdebug() -if __name__ == '__main__': +if __name__ in ('__main__', '__android__'): TouchdebugApp().run() diff --git a/examples/demo/particle.png b/examples/demo/touchtracer/particle.png similarity index 100% rename from examples/demo/particle.png rename to examples/demo/touchtracer/particle.png