Some enhancements on the Android pages
|
@ -34,24 +34,9 @@ here](http://developer.android.com/guide/practices/jni.html).
|
||||||
|
|
||||||
## Download and install the SDK
|
## Download and install the SDK
|
||||||
|
|
||||||
The SDK has two variants: **Debug** and **Release**. The Debug variant
|
The GStreamer project provides [prebuilt binaries](https://gstreamer.freedesktop.org/data/pkg/android/)
|
||||||
produces lots of debug output and is useful while developing your
|
you should download the latest version and unzip it into any folder of your
|
||||||
application. The Release variant is what you will use to produce the
|
choice.
|
||||||
final version of your application, since GStreamer code runs slightly
|
|
||||||
faster and the libraries are smaller.
|
|
||||||
|
|
||||||
Get the compressed file below and just unzip it into any folder of your
|
|
||||||
choice (Choose your preferred file format; both files have exactly the
|
|
||||||
same content)
|
|
||||||
|
|
||||||
### Debug variant
|
|
||||||
|
|
||||||
FIXME: Link to download files
|
|
||||||
|
|
||||||
If you intend to build the tutorials in this same folder, make sure you
|
|
||||||
have writing permissions.
|
|
||||||
|
|
||||||
FIXME: Is this all TRUE ?
|
|
||||||
|
|
||||||
In the process of building GStreamer-enabled Android applications, some
|
In the process of building GStreamer-enabled Android applications, some
|
||||||
tools will need to know where you installed the SDK. You must define an
|
tools will need to know where you installed the SDK. You must define an
|
||||||
|
@ -62,10 +47,12 @@ system-wide by adding it to your `~/.profile` file (on Linux and Mac) or
|
||||||
to the Environment Variables in the System Properties dialog (on
|
to the Environment Variables in the System Properties dialog (on
|
||||||
Windows).
|
Windows).
|
||||||
|
|
||||||
- Point `GSTREAMER_SDK_ROOT_ANDROID` to the folder where you unzipped
|
Point `GSTREAMER_SDK_ROOT_ANDROID` to the folder where you unzipped the SDK.
|
||||||
the SDK.
|
|
||||||
|
|
||||||
> ![](images/icons/emoticons/information.png) If you plan to use Eclipse and do not want to define this environment variable globally, you can set it inside Eclipse. Go to Window → Preferences → C/C++ → Build → Build Variables and define `GSTREAMER_SDK_ROOT_ANDROID` there.
|
> ![](images/icons/emoticons/information.png) If you plan to use Android Studio and
|
||||||
|
> do not want to define this environment variable globally, you can set
|
||||||
|
> it inside Eclipse. Go to Window → Preferences → C/C++ → Build → Build Variables
|
||||||
|
> and define `GSTREAMER_SDK_ROOT_ANDROID` there.
|
||||||
|
|
||||||
## Configure your development environment
|
## Configure your development environment
|
||||||
|
|
||||||
|
@ -133,7 +120,9 @@ OpenGL ES).
|
||||||
|
|
||||||
#### Using the command line
|
#### Using the command line
|
||||||
|
|
||||||
> ![](images/icons/emoticons/warning.png) Note that, on Windows, this procedure requires a working Cygwin shell, as explained in the [Android NDK System Requirements](http://developer.android.com/tools/sdk/ndk/index.html#Reqs)
|
> ![](images/icons/emoticons/warning.png) Note that, on Windows,
|
||||||
|
> this procedure requires a working Cygwin shell, as explained in
|
||||||
|
> the [Android NDK System Requirements](http://developer.android.com/tools/sdk/ndk/index.html#Reqs)
|
||||||
|
|
||||||
For each tutorial, move to its folder and run:
|
For each tutorial, move to its folder and run:
|
||||||
|
|
||||||
|
|
BIN
images/icons/bullet_blue.gif
Normal file
After Width: | Height: | Size: 60 B |
BIN
images/icons/contenttypes/comment_16.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
images/icons/contenttypes/home_page_16.png
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
images/icons/emoticons/forbidden.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
images/icons/emoticons/information.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
images/icons/emoticons/warning.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
images/icons/grey_arrow_down.gif
Normal file
After Width: | Height: | Size: 61 B |