File: README

package info (click to toggle)
directfb 1.7.7-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 32,212 kB
  • sloc: ansic: 306,760; cpp: 46,357; sh: 11,720; makefile: 5,620; perl: 662; asm: 507; xml: 116
file content (47 lines) | stat: -rw-r--r-- 973 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Android Build
=============


Quick info

	First compile DirectFB for the host (to be sure that all headers
	and flux generated files are created)

	Then in this directory:

	Run
		./prepare.sh

	to fetch and unpack the required freetype2 sources

	Now make sure that the DirectFB-examples folder is in the same
        folder then this DirectFB tree:

       ~|-- whatever
              |-- DirectFB
              |-- DirectFB-examples


	Then go to the df_andi or df_window subfolders located in build-android and type
		./prepare.sh
		ndk-build
		ant debug

	to get an .apk in bin/.

	You can install it on the device by doing

		ant debug install


	The examples will need their files in /mnt/sdcard/directfb on your device. Do this:

	        adb shell
	        mkdir /mnt/sdcard/directfb
	        ^D

	go to your DirectFB-examples folder and type

		adb push data /mnt/sdcard/directfb/

Now you should be ready to run df_andi and/or df_window on your android device!