<table><tr><td style="">nicolasfella created this revision.<br />nicolasfella added reviewers: davidedmundson, vkrause, broulik.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />nicolasfella requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D29268">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Import the date/time picker used in KTrip. It wraps the existing date/time picker components into a dialog. On Android it calls the native date/time picker instead.</p>
<p>The Android implementation is slightly messy since we apparently can't do JNI things directly from a QML plugin because it gets loaded in the wrong thread. As a workaround we have a linkable library on Android that forces JNI initialization in the right thread.</p>
<p>Finish</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Ported KTrip to it</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R1047 Kirigami Addons</div></div></div><br /><div><strong>BRANCH</strong><div><div>work</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D29268">https://phabricator.kde.org/D29268</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
KF5KirigamiAddonsConfig.cmake.in<br />
cmake/modules/FindGradle.cmake<br />
cmake/modules/local.properties.in<br />
cmake/modules/settings.gradle.in<br />
src/dateandtime/CMakeLists.txt<br />
src/dateandtime/DateDialog.qml<br />
src/dateandtime/KF5KirigamiDateAndTimeAndroid-android-dependencies.xml<br />
src/dateandtime/TimeDialog.qml<br />
src/dateandtime/android/AndroidManifest.xml<br />
src/dateandtime/android/CMakeLists.txt<br />
src/dateandtime/android/build.gradle<br />
src/dateandtime/android/org/kde/kirigamiaddons/dateandtime/DatePicker.java<br />
src/dateandtime/android/org/kde/kirigamiaddons/dateandtime/TimePicker.java<br />
src/dateandtime/lib/androidutils.cpp<br />
src/dateandtime/lib/androidutils.h<br />
src/dateandtime/lib/plugin.cpp<br />
src/dateandtime/qmldir</div></div></div><br /><div><strong>To: </strong>nicolasfella, davidedmundson, vkrause, broulik<br /><strong>Cc: </strong>plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>