Android 10: JAVA: How to list all files in a directory phptuts July 12, 2021 With Android < 10, we can list all files in a directory with this code: File directory = new File(path); File[] files = directory.listFiles(); But… Continue Reading
Bootstrap datetimepicker error: datetimepicker component should be placed within a non-static positioned container phptuts June 16, 2021 Origin code: Fix code: Continue Reading
Android error: Stopping service due to app idle phptuts May 25, 2021 Cause: Starting from Android O there is limitation on how freely app can access background Service. Solution: use Foreground Service Step 1: in service: Step… Continue Reading
Java: how to get a File’s Mime Type phptuts May 25, 2021 Use android.webkit.MimeTypeMap Code snippet java: Continue Reading
Java: MimeTypeMap fail to return extension for a filename contains spaces phptuts May 25, 2021 Sample error code: Solution: Replace blank space to %20 Continue Reading
Android error: Fragment is not currently in the FragmentManager phptuts March 4, 2021 Sample error: Solution: Change: To : Continue Reading
Android Error: CLEARTEXT communication to not permitted by network security policy phptuts February 23, 2021 This problem is similar to the problem: Android: how to fix: No Network Security Config specified, using platform default This occurs to the api 28… Continue Reading
CentOS 8: install MKVToolNix phptuts January 22, 2021 Step 1: Install dependencies: qt5-qtmultimedia cmark-lib fmt sudo yum install -y qt5-qtmultimedia cmark-lib fmt Step 2: Install MKVToolNix Done, now you can use command: mkvtoolnix-gui Continue Reading
CentOS 8: install VLC player phptuts January 22, 2021 sudo yum install vlc -y Result: Directory VLC extensions: /usr/lib64/vlc/lua/extensions Continue Reading
CentOS 8: How to use xrdp remote access phptuts January 22, 2021 Step 1: Install XRDP Step 2: Install xfce CentOS 8: how to install xfce Desktop Step 3 – Configure xRDP In this step, we create… Continue Reading