Removed JNI_OnLoad() as it's no longer needed.

Change-Id: I568576b0ec5d9c81a59dca21f43a8c7ce8f6bef1
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Update documentation

- The list of examples was not showing in the index page.
- Added information about types, method signatures, J2N and GC.
- Fixed some typos.

Change-Id: Ibe66ddbc0b1cac323563d629ca82bfe54d69dfc1
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Doc: Updated url variable in qdocconf files.

In 5.2, the HTML output is in a flatter structure and when they are
hosted in qt-project.org/doc, the documentation will be found at
http://qt-project.org/doc/qt-$QT_VER

The url variable is used by projects outside of Qt 5 which need
to link to Qt 5 documentation, such as Qt Creator.

Task-number: QTBUG-34584
Change-Id: If3b2ef1bec1805e5f6bf14c8468126e4160e0ed0
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Fix bug in code snippet.

We should set a good example by deleting local refs. as soon as we are
done with, also in our own examples...

Change-Id: Ib9b25b226d79532c137e1c404625840ffd3cdf6e
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Fix note about jni references in documentation.

QAndroidJniObject does not manage user created references regardless
of them being local or global refs.

Change-Id: I4afa8aba8d53f35d83d36758946d4b0f0cb5734a
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: Ib8d267887ca6c11067a94812f9f4ac0151c1113f