Posts

Setting up Backup Rules in Android: Why Auto-Backup Matters - and Where It Bites

Image
  Undoubtedly, if we all strive everyday to build a robust app which support any Android Device in the world. There’s multiple aspects in Android Development lifecycle which is overlooked; i.e. Auto Backup Machenism . I’ll be talking in detail about this in this article, it has been very popular these days, since the popularity of Offline-first applications drastically increased. Precisely this is governed by android:allowBackup and backup_rules.xml configuration. Whether you’re optimizing a production release or debugging persistent reinstall issues, mastering app backups is really important skill. Highlighting the importance of android:allowBackup By default, android:allowBackup is true , which commands the application to back up the data to Google Drive , which consist of Databases , SharedPreferences , and Files . The purpose of this setting is to protect the user’s Data in case of App Uninstall or Device Migration . Anyways, we should be very cautious while playing with ...

Implement SharedViewModel in Pure Jetpack Navigation App

Image
  We all must have used SharedViewModel in Fragment based navigation using activityViewModels(). But now… what if our app is built in 100% Jetpack Compose? No fragments, No FragmentManager, No ViewModelStoreOwner. So… if we have 2 basic authentication screens LoginScreen and RegisterScreen, how can we share viewmodel/state across composables? 👇🏻 // Inside any Composable screen val parentEntry = remember(navController) { navController.getBackStackEntry( "auth_graph" ) // Your navGraph route } val viewModel: SharedViewModel = viewModel(parentEntry) Now both LoginScreen() and RegisterScreen() inside auth_graph can share the same SharedViewModel. ❤️ 💡 Why this matters If we’re building multi-step flows (Auth, Checkout, Onboarding), this keeps our architecture clean, and state scoped. Checkout the Git Repo from here… https://github.com/dev-vikas-soni/compose-shared-view-model If you enjoyed the article and would like to show your support, be sure to: 👏 Applaud for the story...

Apple 🍎WWDC 2025: What's New in Simple Words 🌟

Image
  Apple just dropped a tech bomb at WWDC 2025, and it’s packed with shiny new features, futuristic upgrades, and a whole lot of “finally!” moments. Here’s your no-fluff, all-fun roundup of what’s new: 💻 macOS Tahoe 26: Now With a Side of Phone Calls New Name, Who Dis? Say hello to macOS Tahoe 26 — because version numbers are so last decade. Phone App on Mac: Yes, you can now make actual phone calls from your MacBook. Your iPhone might get jealous. Live Activities: Your iPhone’s Live Activities now float into your Mac’s menu bar like magic. Spotlight Filters & Shortcuts: Searching just got smarter. And lazier. We love it. 🧊 Liquid Glass Interface: Apple Went Full Sci-Fi Glass Everywhere: App icons now float on a dreamy, translucent background. It’s like your screen took a spa day. Stretchy Time: You can now stretch the time on your lock screen. Because… why not? Available across iOS 26, iPadOS 26, and macOS Tahoe 26. 🎮 New Games App: One App to Rule Them A...

The Science Behind AI Chatbots and Language Models : LLM

Image
W ith the current digital era, artificial intelligence (AI) is gradually changing the manner in which we communicate with technology. From virtual assistants to bots, AI is becoming increasingly intelligent and human-like in its interactions. Behind this technology is the idea of large language models (LLMs), which effectively predict and create text. This blog post will explore the intriguing realm of AI chatbots, explaining their mechanism and the training process behind their capacity to serve users. Overview of Large Language Models Large language models are robust machines that rely on enormous quantities of data and sophisticated algorithms to make predictions about language. Large language models are trained on large text databases on the web, allowing them to produce meaningful and contextually correct responses in real-time. In order to comprehensively understand how these models work, it is necessary to look into their structure and functioning. The Mechanics of Language ...

Mastering Android App Performance: Expert Insights

Image
  Introduction to Android Performance Optimization Android developers constantly face challenges related to application performance and efficiency. As the demand for high-performance applications grows, understanding the tools and techniques available to optimize app performance is crucial. In this blog post, we will delve into insights shared by experts in the field, particularly focusing on Baseline Profiles and Startup Profiles, while also discussing best practices for enhancing Android application performance. Understanding Performance in Android Development The Importance of Performance Performance is a broad area in Android development that directly impacts user experience. Applications that start slowly or exhibit jank during scrolling can lead to user dissatisfaction and uninstalls. Consequently, optimizing the performance of an app is a critical aspect of a seamless user experience. Key Areas to Focus On Startup Performance: The time taken for an app to become usable...