tag:blogger.com,1999:blog-78932077658570274522024-03-28T02:29:32.466-07:00FalsinSoftWise is he who knows he doesn't knowUnknownnoreply@blogger.comBlogger106125tag:blogger.com,1999:blog-7893207765857027452.post-82760061196272277202020-07-11T12:13:00.000-07:002020-07-11T12:13:13.149-07:00QWebSocket synchronous communication<div class="separator"><div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="200" data-original-width="200" height="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXI9hyphenhyphenD-aqVD24k5hVd-fBVxxuziFpwLbIEIpN01jxx9l4qR1C8MletWDbSVgBozzovw6SPeqDD5Y6a-Iq3D6iiTsar7KzNin-3rxAReiz9qAthr_KlmEfQ0oHMWFJ55lM_fbP1ZZfk_U/w128-h128/qt_logo_mini.png" width="128"></div></div><div style="text-align: justify;">QWebSocket can send or receive packet with text or binary contents. As all other Qt components everything works asynchronously. However, there may be cases where it is necessary to work asynchronously waiting for the reply to a given message before moving on. Here an example for a synchronous communication that you can use in your project.</div><div style="text-align: justify;"><br></div><div><div><br></div><span></span></div><a href="http://falsinsoft.blogspot.com/2020/07/qwebsocket-synchronous-communication.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7893207765857027452.post-57147497968183542252019-10-22T13:21:00.001-07:002019-10-22T13:21:46.708-07:00QML: Emboss effect<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="100" data-original-width="100" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoJzR7hjVs92FqZlNi1d2UPu8UVv1VEYrXMVfWk3Ge6WbaDa1mUsRA7h88Hk9T01BEXHKPfb8mjly7kWCEHikIdsmZWxzhn8RQd1sar34nFNXzo1Es04T_tACo5JDy9kXto7-JkdmeBqw/s1600/qml_icon.png"></div>
<div style="text-align: justify;">
QML have some components allowing to draw a shadow over an item. The InnerShadow draw a shadow only in one side of the item, but for have the emboss effect we need to habe both sides with light/dark color. The solution is very simple, use two InnerShadow combined.</div>
<br>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2019/10/qml-emboss-effect.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7893207765857027452.post-53717549960233949882019-03-12T14:41:00.000-07:002019-03-13T13:29:34.975-07:00QML: CheckBox and RadioButton with description field<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="100" data-original-width="100" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoJzR7hjVs92FqZlNi1d2UPu8UVv1VEYrXMVfWk3Ge6WbaDa1mUsRA7h88Hk9T01BEXHKPfb8mjly7kWCEHikIdsmZWxzhn8RQd1sar34nFNXzo1Es04T_tACo5JDy9kXto7-JkdmeBqw/s1600/qml_icon.png"></div>
<br>
<div style="text-align: justify;">
Restarting from <a href="https://falsinsoft.blogspot.com/2018/12/qml-checkbox-and-radiobutton-with-word.html" target="_blank">this</a> post explaining how to add the word wrap feature to the CheckBox and RadioButton controls here will propose to add a description field under the main control text. This will be useful to give a short explanation concerning the use of the control itself.</div>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2019/03/qml-checkbox-and-radiobutton-with.html#more">Read more »</a>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7893207765857027452.post-88227618420711167582019-01-14T14:08:00.000-08:002019-01-14T14:08:14.308-08:00Git on Windows and custom SSL proxy certificate problem<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="383" data-original-width="383" height="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJFex31LTNXN47s_u84keNNMlKtIO_V3FDwzyphzB9xP2vLRUh_B4feI1o8RYB8vpRRd4ESO9_bfsnhv0MhlHjddDLjGTI8_q90pCvwYdr3bjtz2z3i4WHTs4Hc27r-LhTvBZ-vEf4TGI/s200/git_logo.png" width="128"></div>
<div style="text-align: justify;">
Modern proxies, usually used on a companies, check each downloaded data for malicious code. For allow check of SSL connections the proxy provide a custom SSL certificate to use from inside company PCs. Use this custom certificate in a browser is a very easy operation since all modern browser can manage them by internally install the certificate. However with some other tool like Git the procedure is a bit more complicated.</div>
<br>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2019/01/git-on-windows-and-custom-ssl-proxy.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7893207765857027452.post-68850779783936429322018-12-13T12:09:00.001-08:002019-01-14T13:06:55.323-08:00Qt: Request Android app permissions<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="128" data-original-width="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimS5IeiAHcZL4cQ9K3MDslIMMjgUW1nRFb6rVcToqs-b2vy7nOTpVeaVWgZgALCjP6yplatX3Z_A71e0dk9G5_cNz8K_J0LAlliKUkxVpRtubNmZY1Lj3laRV6grnN9Kfkz3eFMpL5Xro/s1600/qt_android.png"></div>
<div style="text-align: justify;">
Each Android app, based to the "interaction" with system, have to declare what resources need to access through some special info called <i>permissions</i>. Normally these permission are declared inside the <i>AndroidManifest.xml</i> and this was enough. However, from android version 23 (Marshmallow) and above some part of these permissions (classified as more "critical") have to be manually requested to the user who have to accept for authorize the app to use it.</div>
<br>
<a href="http://falsinsoft.blogspot.com/2018/12/qt-request-android-app-permissions.html#more">Read more »</a>Unknownnoreply@blogger.com4tag:blogger.com,1999:blog-7893207765857027452.post-59273116745345778642018-12-10T00:17:00.000-08:002018-12-10T00:17:33.131-08:00QML: CheckBox and RadioButton with word wrap feature<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="100" data-original-width="100" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoJzR7hjVs92FqZlNi1d2UPu8UVv1VEYrXMVfWk3Ge6WbaDa1mUsRA7h88Hk9T01BEXHKPfb8mjly7kWCEHikIdsmZWxzhn8RQd1sar34nFNXzo1Es04T_tACo5JDy9kXto7-JkdmeBqw/s1600/qml_icon.png"></div>
<div style="text-align: justify;">
Standard QML CheckBox and RadioButton controls can be used in a very easy way but, at least until the current date, it have the problem if the text go over the parent control container is not automatically moved to the next line but is simply cutted out. This missing feature is called <i>word wrap</i>.</div>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2018/12/qml-checkbox-and-radiobutton-with-word.html#more">Read more »</a>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7893207765857027452.post-15824045165303652752018-12-07T04:50:00.002-08:002018-12-07T04:56:00.974-08:00Linux: Translate virtual to physical addresses in user space<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="128" data-original-width="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXF-e8MAWDaxdo8-NUAskDlg7X2WRlOKMjEqJrglqMs8uC5pmS1c63f29nYepKb6iWuxQZa5sL5wN4jhX3rVcMkNB7749DKVKjpH5x06iuJoCU5FXIHzbPvneU1wvakyF05WK8oYpRCzY/s1600/linux_memory.png"></div>
<br>
<div style="text-align: justify;">
Each memory allocated in a process use a special address system called virtual address. This is a special address used inside the process space. However, sometime, could be necessary to know the real physical address in system memory for different purposes in user space. Here a short snippet showing how to do.</div>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2018/12/linux-translate-virtual-to-physical.html#more">Read more »</a>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7893207765857027452.post-51018965923051076352018-09-12T02:42:00.001-07:002018-09-12T02:44:43.008-07:00Android: Remove system app from adb command line<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="128" data-original-width="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxDh5MEksIBNpoDr0Ciwk7ek5K_WOrQF6e0UIJxP8x0h5mE_WRiHtxJVlCofsqdh1cTbD9KDiw5u7eyHwpjKsTIOSMvnOkynYzrVI96LMpTN_232c2IL8ccc3C9NUeV7SCsSVqmgCDJFg/s1600/android.png"></div>
<br>
In case you want to remove from your android a system app is possible to use few commands using adb but remember you need to have a rooted device for get it working<br>
<br>
<br>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2018/09/android-remove-system-app-from-adb.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7893207765857027452.post-50087699226431796802018-07-24T02:25:00.000-07:002018-07-24T02:25:22.679-07:00Qt Installer: show uninstall window only<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="96" data-original-width="96" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyBf-Fy1Fy7O4kqvzGda3YaJD_W-o2dQi6MVzCLpnCOXoS8nVBxw00s0r7ZlItH4KOUX3_gHd5RBwvNRjkbsWw-l8jAHcBrlMIVmj3NcpE6IPEe4T9UV3GNU2Vbc8WLFHxxARkb6YTA34/s1600/qt-icon.png"></div>
<div style="text-align: justify;">
Qt Installer Framework is the multiplatform installer solution provided by Qt team. Is a powerful tool but customization is currently not so easy cause no visual tool has been provided and all the customizations have to be done by code.</div>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2018/07/qt-installer-show-uninstall-window-only.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7893207765857027452.post-64480232226941934592018-04-13T04:56:00.001-07:002019-01-14T13:07:56.794-08:00QML: Get Android apk package info<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="128" data-original-width="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimS5IeiAHcZL4cQ9K3MDslIMMjgUW1nRFb6rVcToqs-b2vy7nOTpVeaVWgZgALCjP6yplatX3Z_A71e0dk9G5_cNz8K_J0LAlliKUkxVpRtubNmZY1Lj3laRV6grnN9Kfkz3eFMpL5Xro/s1600/qt_android.png"></div>
<br>
<div style="text-align: justify;">
All the information stored inside apk <i>AndroidManifest.xml</i> file can be extracted using dedicated Android API. Using JNI through C++ Qt layer is possible to get these info and pass them to the QML level.</div>
<br>
<br>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2018/04/qml-get-android-apk-package-info.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7893207765857027452.post-50046268436723134962018-04-05T02:31:00.000-07:002019-01-14T13:08:32.589-08:00QML: Mixed native Android and QML animated splash screen<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="128" data-original-width="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimS5IeiAHcZL4cQ9K3MDslIMMjgUW1nRFb6rVcToqs-b2vy7nOTpVeaVWgZgALCjP6yplatX3Z_A71e0dk9G5_cNz8K_J0LAlliKUkxVpRtubNmZY1Lj3laRV6grnN9Kfkz3eFMpL5Xro/s1600/qt_android.png"></div>
<br>
<div style="text-align: justify;">
In this blog two methods for show a splash screen has been proposed. One is based to pure QML code and show animations and the second is native Android way but static. Now a third method mixing both previous solution by allow a partially animated splash screen is proposed.</div>
<br>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2018/04/qml-mixed-native-android-and-qml.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7893207765857027452.post-6749211950748297272018-04-04T04:56:00.000-07:002018-04-04T04:56:07.388-07:00Merge multiple Subversion repositories into a single Git repository<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="128" data-original-width="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitSBWgrw2ALpSIOKeUPsZzRPYV3jGgxAraYCeSUUrnAhfEyTU4-o3HiKit2l2hl2_Jg68exsA546qWxoHXuWAUGvlDO8jXFX-EuvubQTBowXyRqKRKowzHgUd1ob-rPE3T2ioeRr5pU7U/s1600/svn_git.png"></div>
<br>
<div style="text-align: justify;">
If you want to move your subversion repository to a git repository already exist tools make this porting in an easy way. But if you want to move and merge more than one subversion repositories into a single git repository you have mo make some manual steps.</div>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2018/04/merge-multiple-subversion-repositories.html#more">Read more »</a>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7893207765857027452.post-73210292582878976902018-02-26T12:52:00.000-08:002018-02-26T12:52:18.590-08:00Qt Creator: set dependencies between subprojects<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="126" data-original-width="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnTivJV0kgIwJ0a2FiMf_CIRvhAqM-9SonuOAgRvZuZ6JV9VQjVfjByZZZebLNx-kgipH2Nr9nKqzPUV6gjIXjiA5m3RaX8QGmJqCUr1XfBbkg7ezkyEod2WB1r1ohNj6GZ0oCy0bJE34/s1600/qt_creator_icon.png"></div>
<div style="text-align: justify;">
In case your project is divided in some subprojects like, the typical case, a main app plus a library you have to be sure, when you make some change into the library, also the main app is automatically recompiled for "integrate" the new changes of the library. This operation can be done by set a dependency between the library and the app.</div>
<br>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2018/02/qt-creator-set-dependencies-between.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7893207765857027452.post-59804426018916770232018-02-14T02:16:00.000-08:002019-01-14T13:09:19.784-08:00Qt: Load resources from static or shared library<div style="text-align: justify;">
<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="96" data-original-width="96" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7olBMosbfJkXZqrAQjsx2PjqibdI59HKJf0blB5dBatd4x3eAXQoI4zjd4WwBrLdS6tZLvDS682BsXrN6osKyslr1c6HiOEYZH1raMZFmk__YGh1JyJ6HMT06k95y1KHE5JTtPiaeDaM/s1600/qt-icon.png"></div>
Usually Qt resource file (.qrc) is embedded inside the main executable file for automatic access without any additional operation. Just compile and you have access to the resources from any point of the code by using the special path prefix required for the resource virtual file system. However, if required, is also possible to load resources from static or shared libraries with a minimal efforts.</div>
<br>
<a href="http://falsinsoft.blogspot.com/2018/02/qt-load-resources-from-static-or-shared.html#more">Read more »</a>Unknownnoreply@blogger.com5tag:blogger.com,1999:blog-7893207765857027452.post-27505150665940550092018-02-03T04:43:00.000-08:002019-01-14T13:09:52.455-08:00QML: Change Android screen orientation programmatically<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="128" data-original-width="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmsnSZzd-aIIjR0wZrYc8hYJwDgwNLrGEm3qEWPysW0iX98yKwYPDEIQ1dbXC-cdrVXVekrc4ZkRCtmhetYfvLB0xZyhCZgpjtLvviq_v35LZqIlu0fleKJpVTW61m2HrssgnwItJnckE/s1600/qt_android.png"></div>
<br>
<div style="text-align: justify;">
In case your Android app require to dynamically set screen orientation for some particular interface is possible to directly call the system API allowing to choose one of the two standard orientations LANDSCAPE or PORTRAIT.</div>
<br>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2018/02/qml-change-android-screen-orientation.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7893207765857027452.post-23353984379546781672017-11-13T03:39:00.001-08:002017-11-13T03:39:41.044-08:00Visual Studio 2015 required executable runtime libraries<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="128" data-original-width="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ3HkDuWIifuZcZWtl3rcvRhw143fpz47Y7JDeXU8A3ngZKTRujhbIuhOE9Y0Lrbb8xcdIUt_hYk6N3fi4Hn-wU-vRQHgnr-H6uYT1TO9TXiLql4dLtxc04OTXw3A2D4x1OaM7K9hmLfY/s1600/visual_studio_2012.png"></div>
<div style="text-align: justify;">
Once finished to develop your software final step is start to release the installation package. Executable generated by Visual Studio compiler require some additional libraries called runtimes allowing to software to run correctly. You have to provide these libraries in your installation package for allow your software to run in each machine without problems.</div>
<br>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2017/11/visual-studio-2015-required-executable.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7893207765857027452.post-28162479669597553502017-10-05T02:35:00.001-07:002017-10-05T02:35:13.186-07:00Android: adb push and read-only file system error<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="128" data-original-width="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghm9ALghRZzmIq_WW9EilPHV166W0FLCyjtfouUmlgp8AqTy_4RM0xYWl6O0b4044DmGlYrcxq-GY581qxfNZy8sKhEQYmzuBied9L2gbvPNygJRFLvpREXTxewjgf2qpjObB9XOf9Vr0/s1600/android.png"></div>
<div style="text-align: justify;">
If you want to copy a file from your PC to the connected android device the fasten way is to use <b>adb</b> tool with <i>push</i> command. This command get as params the path of the local file and the remote path to copy in the device. Sometimes, especially if you use adb from Windows or MacOS, and error about read-only file system show up and you can not copy any file.</div>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2017/10/android-adb-push-and-read-only-file.html#more">Read more »</a>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-7893207765857027452.post-35150157095731089022017-09-29T08:17:00.000-07:002017-12-15T00:37:37.799-08:00Java and https invalid certification error<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipQ3i-pq9PZdbzXs7T5e2EYBgtDaoD33PnjpB81pwbtp6THjAQAsBlyGQ8TyJwk2_Jj761bo5gJsWsPAAcjin9B0JwmgmgRuV35a1y-hsJyXSpb-6tvxn1TziOsKPLj27IElmUSU6z8bg/s1600/java.png"></div>
<div style="text-align: justify;">
In case you are working under a restricted network with some particular proxy who have its own secure certificate system is possible you experiment some problem when Java runtime try to download something from an https address. Developing with Android Studio can show the problem cause try to download gradle package at first compilation.</div>
<br>
<a href="http://falsinsoft.blogspot.com/2017/09/java-and-https-invalid-certification.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7893207765857027452.post-58466921264459131462017-09-26T00:26:00.000-07:002017-09-26T00:26:32.732-07:00Make Android/iOS resized icons package online<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="108" data-original-width="108" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_a4b5ZXrBoiTjxoLJJpk_i8aqD5ZZ_0RbIgF6L0YN0jOkroSHFLNNK6IYCHuOT-YvtbdiHjwn-0bqxCCDCqke8OMID-cvzbSgJg2KbtzLc36uefcIl_dS0QtkB4vZmIoZ7_eskOBQtkg/s1600/resize_icon.png"></div>
<div style="text-align: justify;">
Major mobile systems require you provide a set of image of same icon resized to support different DPI screens. This is a very boring step in develop your app but fortunately it exist some tool able to automatically make the job for us. </div>
<br>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2017/09/make-androidios-resized-icons-package.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7893207765857027452.post-48057763922930189302017-09-19T02:15:00.001-07:002017-09-19T02:18:27.308-07:00Access PCI device registry from Linux user space<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="150" data-original-width="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGcApC0NjOUD1cTxO-v13IdPc1G_qOw3TItVTTuwWyBHVIOUbdKryc8V0AWRtb83610fXYtC-oISKmNx4DDGhsArJYmk22l2rg3ttzGjirwuQSNOaG_PPPqndtgwyz78va5Gk17sCO1dw/s1600/pciboard.png"></div>
<br>
<div style="text-align: justify;">
In case you need to modify registry of some PCI devices from Linux user space you can easily do by access to the <b>/proc/bus/pci</b> path where all PCI devices found on the system are listed.</div>
<br>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2017/09/access-pci-device-registry-from-linux.html#more">Read more »</a>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7893207765857027452.post-66219709813225832632017-08-24T01:50:00.000-07:002017-08-24T01:50:11.039-07:00Store and retrieve Android contacts photo<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="128" data-original-width="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXNPB_-LdlJmxXJBFljjmR0w-6vWZTjlLmWei_oWw0ODQMCZIep-1WeT0a6gsJ-CXuhh62bX56fho-UnEmP218v3iOiXBG3DgVukC6b_0Spipy9xDrR47obAebIBERcoFwyHUhRxZQqXk/s1600/android.png"></div>
<br>
<div style="text-align: justify;">
Android default contacts are, basically, a database for store and retrieve phone contacts info. Here a short snippets showing a way to store and retrieve the photo of the contacts. Android contacts store photo in two format, large and thumbnail with two different way for retrieve it.</div>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2017/08/store-and-retrieve-android-contacts.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7893207765857027452.post-88184708876760003352017-08-10T20:51:00.000-07:002017-08-11T06:47:16.228-07:00Block access to the site if javascript is disabled<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="128" data-original-width="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ3qrKrGb54ATgUm2pxeHduRRe8wFllxGcVCr69y2OO-k8_AcnKlErT76wHkODU0Zks1olBHpaJMHlc5sNFMYSg4yYWfx3FnZZg8uK1c33qD4CwEkx8sLL02X8f3I7G4n9e7_hUCy3Wbg/s1600/application_javascript.png"></div>
<div style="text-align: justify;">
Majority of modern web sites, especially with responsive feature, make a large use of javascript for allow various objects to be managed correctly in each situation. Sometime can happen user have javascript disabled in the browser and the web site will not work as expected with the result of a bad user experience. Here a simply solution for advise user about javascript problem and block access to the site until javascript enabled.</div>
<br>
<a href="http://falsinsoft.blogspot.com/2017/08/block-access-to-site-if-javascript-is.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7893207765857027452.post-71177931984782811822017-07-27T06:38:00.000-07:002019-01-14T13:10:34.479-08:00QML: Show Android native splash screen in your QML app<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="128" data-original-width="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmsnSZzd-aIIjR0wZrYc8hYJwDgwNLrGEm3qEWPysW0iX98yKwYPDEIQ1dbXC-cdrVXVekrc4ZkRCtmhetYfvLB0xZyhCZgpjtLvviq_v35LZqIlu0fleKJpVTW61m2HrssgnwItJnckE/s1600/qt_android.png"></div>
<div style="text-align: justify;">
In <a href="http://falsinsoft.blogspot.com/2017/01/qml-show-animated-splash-screen-at.html" target="_blank">this post</a> a solution to make a pure QML splash screen has been proposed and could be used for Android app also. However, since Qt/QML app are "wrapped" inside pure Android code a solution like these could be a little slow especially in the first step of application startup. Here another solution specific for Android app more faster to show splash screen at startup.</div>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2017/07/qml-show-android-native-splash-screen.html#more">Read more »</a>Unknownnoreply@blogger.com4tag:blogger.com,1999:blog-7893207765857027452.post-45859385880615042062017-07-26T03:07:00.000-07:002019-01-14T13:11:10.937-08:00QML: Get Android signal strength level<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="128" data-original-width="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmsnSZzd-aIIjR0wZrYc8hYJwDgwNLrGEm3qEWPysW0iX98yKwYPDEIQ1dbXC-cdrVXVekrc4ZkRCtmhetYfvLB0xZyhCZgpjtLvviq_v35LZqIlu0fleKJpVTW61m2HrssgnwItJnckE/s1600/qt_android.png"></div>
<br>
<div style="text-align: justify;">
Second post regarding how to get system info from Android to QML. This post will analyze the way to install an Android listener to be advised when phone signal strength level change.</div>
<br>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2017/07/qml-get-android-signal-strength-level.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7893207765857027452.post-90873220750608296252017-06-17T04:11:00.000-07:002019-01-14T13:12:05.679-08:00QML: Get Android battery level and status<div style="text-align: justify;">
<div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<img border="0" data-original-height="128" data-original-width="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmsnSZzd-aIIjR0wZrYc8hYJwDgwNLrGEm3qEWPysW0iX98yKwYPDEIQ1dbXC-cdrVXVekrc4ZkRCtmhetYfvLB0xZyhCZgpjtLvviq_v35LZqIlu0fleKJpVTW61m2HrssgnwItJnckE/s1600/qt_android.png"></div>
<br>
This post will explain a way to get Android battery level and status from QML. To be more precise will explain the way to install a sort of listener that will automatically advise the QML layer about changes in level of battery charge and the status of the phone (if on charge or not).</div>
<br>
<br>
<a href="http://falsinsoft.blogspot.com/2017/06/qml-get-android-battery-level-and-status.html#more">Read more »</a>Unknownnoreply@blogger.com0