Blog
Page 717 of my articles, tutorials, and thoughts
Latest Articles
Activity has leaked window that was originally added
# π± Activity has leaked window that was originally added β You're happily building your Android app, and suddenly, this error pops up: ``` Activity com.mypkg.myP has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@44c46ff0 that was
How to get current time and date in Android
# How to Get Current Time and Date in Android ππ Are you developing an Android app and want to display the current time and date? Don't worry, we've got you covered! In this guide, we'll walk you through the process step by step. πΆββοΈ ## Common Issues
Run/install/debug Android applications over Wi-Fi?
## π² How to Run/Install/Debug Android Applications over Wi-Fi? Are you tired of being tied down by cables while developing Android applications? π€ Do you want to unleash the full potential of your creative genius and be able to test your apps wirelessly
Find the unique values in a column and then sort them
# π Finding Unique Values and Sorting Them in a Pandas DataFrame π So you have a pandas dataframe and you want to find the unique values in one of its columns and then sort them in ascending order. Sounds like a simple task, right? But wait, you tried i
Strange OutOfMemory issue while loading an image to a Bitmap object
π Blog Post: Strange OutOfMemory Issue While Loading an Image to a Bitmap Object πΌοΈ Are you facing an OutOfMemory issue when trying to load an image to a Bitmap object in your Android app? π« Don't worry, you're not alone! This is a common problem faced
Hex transparency in colors
π Hex Transparency in Colors: A Complete Guide π Are you facing trouble with hex color transparency? Don't worry, we've got you covered! In this blog post, we'll address the common issues and provide easy solutions to help you achieve the desired transp
What is the difference between gravity and layout_gravity in Android?
## The Difference Between `android:gravity` and `android:layout_gravity` in Android If you've ever worked with Android layout properties, you've probably come across `android:gravity` and `android:layout_gravity`. While they may sound similar, these two p
Is there a way to get the source code from an APK file?
# Can You Rescue Your Source Code from an APK File? π¦π€ Have you ever experienced the heart-wrenching moment when your hard drive crashes, and you lose all your precious source code? It's like seeing your dreams crumble before your eyes! π± But fear not!
Activity restart on rotation Android
# Activity Restart on Rotation in Android π π± Have you ever noticed that when you rotate your Android device, your app's activity gets restarted? This can be quite frustrating, especially if you have a lot of initial setup logic in the `onCreate` method
How can you get the build/version number of your Android application?
π±π’ π³οΈ How to Get the Build/Version Number of Your Android App? Are you feeling lost trying to display the build/version number of your Android application on the UI? Don't worry, you're not alone! π€ In this blog post, we will walk you through the pro