1
1
Using Mir on an Android device {#using_mir_on_android}
2
2
==============================
4
After installing mir on your device (see \ref installing_prebuilt_on_android)
5
switch off SurfaceFlinger (see: https://wiki.ubuntu.com/Touch/Testing/Mir#Switch_from_SurfaceFlinger_to_Mir).
6
(Alternatively, you can install a mir based image as described here: https://wiki.ubuntu.com/Touch/Testing/Mir#Easiest_way)
8
Open a shell on the device:
12
Now, start Mir and a client application:
15
# mir_demo_client_something # take your pick of something
17
Getting some example client applications
18
----------------------------------------
20
You can get some example programs by installing the `mir-demos` package
21
inside the Ubuntu touch chroot shell (see above):
23
# apt-get install mir-demos
4
Mir is the default on Ubuntu Touch images, so if you're using Ubuntu Touch,
5
you're already using mir.
7
If you would like to run a pre-release version of mir on your device, you'll
8
need to recompile our downstream dependencies (unity-system-compositor and
9
qtmir) to ensure ABI compatibility with the pre-release version of mir.
11
Using some demo applications
12
----------------------------
14
Simpler demos are available in the `mir-demos` package.
16
First install the demos:
18
$ apt-get install mir-demos
20
Next unsure that the Unity8 session is ended:
22
$ service lightdm stop
24
Finally, start mir and a client application:
26
$ mir_demo_server --test-client mir_demo_client_egltriangle
28
and you should see a triangle on screen.