Posts

Showing posts from February, 2025

MERN stack (and short Android) dev notes: Feb to Apr 2025 (includes Powershell scripts for copying and listing swdev project source code)

Last updated on 7 Apr. 2025 Quick note The (Windows) Powershell scripts I use mainly for copying and listing software development project source code folders and files are available on my public GitHub repo:  https://github.com/ravisiyer/PS-Scripts  . Detailed notes 7 Apr 2025 Why Companies Are Moving Away from Next.js,  https://analyticsindiamag.com/ai-features/why-companies-are-moving-away-from-next-js/  , 28 Mar. 2025. ---------------------- 26 Mar. 2025 To create a directory/folder hierarchy: New-Item -Path VSCode\HTML-CSS-JS\ -ItemType Directory -Force If they don't exist, creates VSCode folder and HTML-CSS-JS folder within it. ================= IDEA IntelliJ Increase font size: Alt + Shift + period ------------ Android related How to save and retrieve Date in SharedPreferences, https://stackoverflow.com/questions/12343014/how-to-save-and-retrieve-date-in-sharedpreferences https://docs.oracle.com/javase/8/docs/api/java/lang/System.html#currentTimeMillis-- https:...

Very Simple Launch and One-Touch-Add Timestamp Recorder Android App

Image
Last updated on 28 Jun. 2025 Quick-Info 28 Jun 2025 Update: A slightly more sophisticated version was developed later in June 2025. Related post:  Using ChatGPT and Gemini to write React Native and Expo Timestamp Tracker app (mobile and web) . end-Update This is a very simple launch/redraw and one-touch-add timestamp recorder Android app. It will automatically create a timestamp (with no text associated with it) when the app is launched. The app will display a hardcoded maximum number of previous launch timestamps. It also has button to clear the timestamps, add a timestamp and to show app info. Duration from last timestamp has been added. This app is useful to quickly and easily record timestamps and also to capture typically small break duration or even small task duration. Screenshot of Android app (possibly older version but with similar screen as current version) running on my Samsung M21 phone: [Chrome browser: To open pic in larger resolution, on PC right-click on pic f...

Notes on creating debug and release APKs using Android Studio and running them on phone/device

Last updated on 1 Mar. 2025 My post: Notes on using React Native without Expo framework and Expo Go,  https://raviswdev.blogspot.com/2025/02/notes-on-using-react-native-without.html covers how to create APKs for React Native projects not using Expo framework, and installing and running these APKs on my Samsung M21 Android phone. That led me to explore creating APKs using Android Studio and installing and running these on my Samsung M21 phone. Notes related to this work are given below. I think the notes are of 5 Feb. 2025 or perhaps from a day or two earlier. The tutorial app code I used with minor variation:  https://developer.android.com/codelabs/basic-android-kotlin-compose-first-app#6 Build your app for release to users, https://developer.android.com/build/build-for-release : If the build variant you've selected is a debug build type, then the APK is signed with a debug key and it's ready to install. If you've selected a release variant, then, by default, the APK is u...

Windows 11 Operation Tips and Issues Log; Dark mode (including Chrome on Android)

Last updated on 9 Jun 2025 Chronological Order 5th Feb. 2025 Today (which perhaps was there yesterday too but I am not sure), I started facing a problem of slow PC operation on Windows 11. Saw that the disk activity light was almost constantly on. Task Manager showed "windows modules installer worker" as the CPU hog. Net browsing indicated that it could be related to Windows Update. I recalled that I had a partially done optional update which I later realized I don't need. To fix that, I followed general instructions on Troubleshoot Windows Update in this video (around 1st half of video, IFIRC): How to Fix the Windows Modules Installer 100% Disk Issue [Guide], https://www.youtube.com/watch?v=nony1q7F5oQ , around 4 mins, Jun. 2024. Key action that seems to have fixed the issue for me: As admin, search Troubleshoot -> Choose Troubleshoot Settings -> Other troubleshooters -> Click on Run button for Windows Update. That brought up another 'Get Help' window w...