<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- examples-android.qdoc --> <title>Qt for Android Examples | Qt 5.11</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td ><a href="index.html">Qt 5.11</a></td><td >Qt for Android Examples</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.11.2 Reference Documentation</td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#running-the-examples">Running the Examples</a></li> <li class="level1"><a href="#essentials">Essentials</a></li> <li class="level1"><a href="#qt-quick-and-qml-examples-for-android">Qt Quick and QML Examples for Android</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Qt for Android Examples</h1> <span class="subtitle"></span> <!-- $$$examples-android.html-description --> <div class="descr"> <a name="details"></a> <p>This page lists Qt Examples known to work for <a href="android-support.html">Android</a>. This page is not an exclusive list, meaning most <a href="qtexamplesandtutorials.html">Qt Examples</a> are compatible with Android but are not listed here.</p> <a name="running-the-examples"></a> <h2 id="running-the-examples">Running the Examples</h2> <p>To run the examples from <a href="http://doc.qt.io/qtcreator/index.html">Qt Creator</a>, open the <b>Welcome</b> mode and select the example from <b>Examples</b>. Entering the search term <b>Android</b> filters these examples from the other <a href="qtexamplesandtutorials.html">Qt Examples</a>. For more information, visit <a href="http://doc.qt.io/qtcreator/creator-build-example-application.html">Building and Running an Example</a>.</p> <a name="essentials"></a> <h2 id="essentials">Essentials</h2> <p>These examples and tutorials give instructions on how to get started as well as information related to Qt for Android.</p> <ul> <li><a href="androidgs.html">Getting Started</a></li> <li><a href="http://doc.qt.io/qtcreator/qt-creator-accelbubble-example.html">Creating a Mobile Application</a></li> <li><a href="http://doc.qt.io/qtcreator/creator-deploying-android.html">Deploying to the Device</a></li> <li><a href="portingtoandroid.html">Porting a Qt Application</a></li> <li><a href="publishtogoogleplay.html">Publishing to Google Play</a></li> <li><a href="opensslsupport.html">Adding OpenSSL Support for Android</a></li> <li><a href="http://wiki.qt.io/Qt5ForAndroidBuilding">Building from Sources</a></li> <li><a href="../qtandroidextras/qtandroidextras-notification-example.html">Qt Notifier</a> - demonstrates how to call Java code from an Android application</li> </ul> <a name="qt-quick-and-qml-examples-for-android"></a> <h2 id="qt-quick-and-qml-examples-for-android">Qt Quick and QML Examples for Android</h2> <p>These are a list of Qt Quick and QML examples for Android. For a full list of Qt Quick examples including beginner-level tutorials, visit <a href="../qtquick/qtquick-codesamples.html">Qt Quick Examples and Tutorials</a>.</p> <div class="multi-column"><div class="doc-column"><p><b>Touch and Key Interaction</b></p> <ul> <li><a href="../qtquick/qtquick-touchinteraction-example.html">Touch Interaction</a></li> <li><a href="../qtquick/qtquick-keyinteraction-example.html">Key Interaction</a></li> <li><a href="../qtquick/qtquick-mousearea-example.html">MouseArea</a></li> </ul> </div><div class="doc-column"><p><b>Images, Animation, and Layout</b></p> <ul> <li><a href="../qtquick/qtquick-imageelements-example.html">Image Elements</a></li> <li><a href="../qtquick/qtquick-text-example.html">Text</a></li> <li><a href="../qtquick/qtquick-animation-example.html">Animation</a></li> <li><a href="../qtquick/qtquick-canvas-example.html">Canvas</a></li> <li><a href="../qtquick/qtquick-positioners-example.html">Positioners</a></li> <li><a href="../qtquick/qtquick-righttoleft-example.html">Right to Left</a></li> </ul> </div><div class="doc-column"><p><b>Scenegraph</b></p> <ul> <li><a href="../qtquick/qtquick-scenegraph-customgeometry-example.html">Custom Geometry</a></li> <li><a href="../qtquick/qtquick-scenegraph-graph-example.html">Graph</a></li> <li><a href="../qtquick/qtquick-scenegraph-openglunderqml-example.html">OpenGL Under QML</a></li> <li><a href="../qtquick/qtquick-customitems-painteditem-example.html">Painted Item</a></li> <li><a href="../qtquick/qtquick-scenegraph-textureinsgnode-example.html">Rendering FBOs</a></li> <li><a href="../qtquick/qtquick-scenegraph-simplematerial-example.html">Simple Material</a></li> </ul> </div><div class="doc-column"><p><b>Particles and Effects</b></p> <ul> <li><a href="../qtquick/qtquick-particles-emitters-example.html">Emitters</a> (Particles)</li> <li><a href="../qtquick/qtquick-particles-affectors-example.html">Affectors</a></li> <li><a href="../qtquick/qtquick-particles-system-example.html">System</a></li> <li><a href="../qtquick/qtquick-particles-imageparticle-example.html">Image Particles</a></li> <li><a href="../qtquick/qtquick-shadereffects-example.html">Shader Effects</a></li> </ul> </div><div class="doc-column"><p><b>Extending QML</b></p> <ul> <li><a href="../qtqml/qtqml-referenceexamples-grouped-example.html">Grouped Properties</a></li> <li><a href="../qtqml/qtqml-referenceexamples-methods-example.html">Methods</a></li> <li><a href="../qtqml/qtqml-referenceexamples-signal-example.html">Signal Support</a></li> <li><a href="../qtqml/qtqml-referenceexamples-attached-example.html">Attached Properties</a></li> </ul> </div><div class="doc-column"><p><b>Multimedia</b></p> <ul> <li><a href="../qtmultimedia/qtmultimedia-multimedia-video-qmlvideofx-example.html">Video Shader Effects Example</a></li> <li><a href="../qtmultimedia/qtmultimedia-multimedia-video-qmlvideo-example.html">Video Example</a></li> <li><a href="../qtmultimedia/qtmultimedia-multimedia-declarative-camera-example.html">Camera Example</a></li> </ul> </div></div></div> <!-- @@@examples-android.html --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br/> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br/> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>