Thursday, January 30, 2025

Discover QuickTiles: The Ultimate Quick Settings Tiles App for Android

Are you tired of navigating through multiple settings menus to access your favorite features on your Android device? Look no further! QuickTiles is here to streamline your experience with its intuitive quick settings tiles.

What is QuickTiles?

QuickTiles is an open-source Android app designed to provide quick access to various settings and features directly from your device's notification shade. Developed by flxholle, this app is available on GitHub and offers a wide range of functionalities to enhance your Android experience.

Key Features

QuickTiles boasts an impressive array of features that make it a must-have app for Android users. Some of the standout features include:

  • Media Control: Control media playback (play/pause, next, previous) and adjust media volume.

  • Volume Panel: Quickly access the volume panel to adjust sound settings.

  • New Event/Alarm/Timer: Set new events, alarms, and timers with ease.

  • Call Management: Make calls and manage call settings directly from the tiles.

  • Camera and Media: Take photos, record videos, and access the file manager.

  • Custom Apps: Open custom apps like the calculator, file manager, and more.

  • Settings Access: Search settings, open languages, dictionary, privacy settings, VPN, data usage, screen cast, connected devices, and more.

  • Screen Management: Set screen timeout, switch volume modes, adjust brightness, enable grayscale, take screenshots, force rotation, and lock the screen.

  • Power Management: Open the power menu, show battery level, enable/disable USB debugging, and access developer options.

Why Choose QuickTiles?

QuickTiles is designed to make your Android device more efficient and user-friendly. With its customizable tiles, you can tailor the app to fit your specific needs and preferences. Whether you're a power user or just looking for a convenient way to access your favorite settings, QuickTiles has got you covered.

Getting Started

To get started with QuickTiles, simply visit the GitHub repository and follow the instructions to download and install the app on your Android device. The app is open-source, so you can also contribute to its development or suggest new features.

https://github.com/flxholle/QuickTiles

Go ahead now, give it a try. Do note that Google Play protect needs to be disabled to get this app installed.

Once the QuickTiles app is installed go to your android quick tiles by swiping down from top to bottom 2 times on the home screen. Select verticle 3 dots and select edit tiles, you will be able to find QuickTiles enabled icon that can be added as tiles now.

Tuesday, January 21, 2025

Resolving the ValueError: invalid mode: 'Ur' Error when Installing the Wordnet Package

Introduction

When attempting to install the Wordnet package using Python 3.11.8 on an x86_64 architecture, you may encounter a frustrating error. This blog post will guide you through resolving the ValueError: invalid mode: 'Ur' error and successfully installing the Wordnet package.

The Error

The error occurs during the installation process, specifically when running python setup.py egg_info. The error message is as follows:

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-roglyr1e/wordnet_b5a4abfe71b04a169e19d2ba1bab9a46/setup.py", line 24, in <module>
long_description=read('README.md'),
^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-roglyr1e/wordnet_b5a4abfe71b04a169e19d2ba1bab9a46/setup.py", line 7, in read
return open(os.path.join(os.path.dirname(file), fname),'Ur').read()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid mode: 'Ur' 

The Solution

The error occurs due to the use of an invalid file open mode 'Ur'. To resolve this issue, you need to modify the setup.py file to use a valid mode.

Here's the corrected code:
--- setup.py 2025-01-21 04:55:36.541546072 -0800
+++ setup.py.old 2025-01-21 04:55:25.068593241 -0800
@@ -4,7 +4,7 @@
string in below ...
import os
def read(fname):
return open(os.path.join(os.path.dirname(file), fname),'r').read()
return open(os.path.join(os.path.dirname(file), fname),'Ur').read()

Replace the 'Ur' mode with 'r' in the read function. The corrected line should look like this:
return open(os.path.join(os.path.dirname(file), fname),'r').read()

Clone the wordnet to get the source and then do above change. Here are commands I used.

git clone https://github.com/anuragkumarak95/wordnet.git
cd wordnet
pip3 install -r requirements.txt
python3 setup.py install --verbose

Conclusion

By modifying the setup.py file to use a valid file open mode, you should be able to successfully install the Wordnet package.