<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Prashant Mondkar on Medium]]></title>
        <description><![CDATA[Stories by Prashant Mondkar on Medium]]></description>
        <link>https://medium.com/@prashant2123?source=rss-57c1aa36f8c1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*8xm9lq9SXv7-UY7c</url>
            <title>Stories by Prashant Mondkar on Medium</title>
            <link>https://medium.com/@prashant2123?source=rss-57c1aa36f8c1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 08:01:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@prashant2123/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Master Password Security in JavaScript with bcrypt.js Tutorial for Beginners]]></title>
            <link>https://medium.com/@prashant2123/master-password-security-in-javascript-with-bcrypt-js-tutorial-for-beginners-0a4442de19d6?source=rss-57c1aa36f8c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a4442de19d6</guid>
            <dc:creator><![CDATA[Prashant Mondkar]]></dc:creator>
            <pubDate>Mon, 23 Nov 2026 12:16:31 GMT</pubDate>
            <atom:updated>2026-11-23T12:16:31.738Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g_OszufCZ-LR8Aw8r9GrhQ.jpeg" /></figure><p>Storing user passwords as plain text is one of the biggest vulnerabilities a web application can have. If you are building registration and login systems in JavaScript or Node.js, understanding how to properly hash, salt, and verify credentials isn’t optional — it is essential.</p><p>Written by software developer and cybersecurity enthusiast <strong>Prashant Mondkar</strong> (and edited by <strong>Manisha Mondkar</strong>), <strong><em>bcrypt.js Tutorial for Beginners: Learn Password Hashing, Secure Authentication, Salting, and Password Verification in JavaScript</em></strong> is a practical, 251-page hands-on guide designed to take you from password security basics to implementing real-world authentication workflows.</p><h3>What You Will Learn Inside</h3><p>Rather than overwhelming you with dense cryptographic theory, this guide introduces core concepts step by step using practical JavaScript and Node.js examples:</p><ul><li><strong>Password Security Fundamentals:</strong> Understand the critical differences between encryption and hashing, and why safe credential storage matters.</li><li><strong>Getting Started with bcrypt.js:</strong> Learn how bcrypt.js works under the hood and how to set it up in a Node.js environment.</li><li><strong>Salting &amp; Hashing:</strong> Generate secure salts using genSalt() and genSaltSync(), understand salt rounds, and create password hashes with hash() and hashSync().</li><li><strong>Password Verification &amp; Hash Inspection:</strong> Compare user-entered passwords against stored hashes using compare() and compareSync(), and inspect bcrypt hash structures.</li><li><strong>Full Authentication Workflows:</strong> Build complete registration and login pipelines, integrate password hashes into databases, and follow industry security best practices.</li></ul><h3>Who Is This Book For?</h3><p>Whether you are a programming student studying authentication concepts, a JavaScript beginner exploring application security, or a Node.js developer building login systems from scratch, this book gives you the practical foundation needed to handle user credentials responsibly.</p><h3>Available Formats &amp; Where to Buy</h3><p>The book is available in two convenient formats to suit your reading preference:</p><ul><li><strong>Kindle Edition</strong> ($4.21) — Available for instant digital download.</li><li><strong>Paperback Edition</strong> ($10.90) — A 251-page physical copy (ISBN-13: 979–8144260398).</li></ul><p>👉 <strong>Get your copy today on Amazon:</strong> <a href="https://www.google.com/search?q=https://www.amazon.com/dp/B0HSBYBZ6Z?th%3D1">bcrypt.js Tutorial for Beginners on Amazon.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a4442de19d6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simplifying Data-Driven Apps: Inside Prashant Mondkar’s New AppML Tutorial]]></title>
            <link>https://medium.com/@prashant2123/simplifying-data-driven-apps-inside-prashant-mondkars-new-appml-tutorial-dab9ef275d93?source=rss-57c1aa36f8c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/dab9ef275d93</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[appml-models]]></category>
            <category><![CDATA[appml-tutorial]]></category>
            <category><![CDATA[application-modeling]]></category>
            <category><![CDATA[json-data-binding]]></category>
            <dc:creator><![CDATA[Prashant Mondkar]]></dc:creator>
            <pubDate>Sat, 24 Oct 2026 20:19:29 GMT</pubDate>
            <atom:updated>2026-10-24T20:27:07.645Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ixly12UgsTlthcyYdRS29g.jpeg" /></figure><h3>Demystifying Data-Driven Web Development: A Look at “AppML Tutorial for Beginners”</h3><p>In the fast-paced world of web development, building dynamic, data-driven applications often feels like climbing a steep mountain. Between configuring complex server-side environments, setting up databases, and wiring up user interfaces, beginners can easily get overwhelmed.</p><p>Enter <a href="https://www.amazon.com/dp/B0HP28XSSD"><strong>AppML Tutorial for Beginners: A Step-by-Step Introduction to Application Modeling, Data Binding, and Dynamic Web Development</strong></a> by Prashant Mondkar (edited by Manisha Mondkar). This practical, structured guide cuts through the noise, offering a clear, logical pathway to understanding how structured data, HTML templates, and JavaScript work together seamlessly.</p><h3>What Makes This Book Stand Out?</h3><p>Rather than relying on endless walls of boilerplate code or requiring readers to blindly copy and paste, the book focuses heavily on conceptual clarity. It guides learners step-by-step through the core components of Application Modeling Language (AppML):</p><ul><li><strong>Foundational Understanding:</strong> It starts with the basics — exploring what AppML is, how it fits into the broader web development landscape, and how it bridges HTML, JavaScript, and JSON.</li><li><strong>Models and Data Binding:</strong> Readers learn how application models organize data, how JSON objects represent information, and how data binding connects values directly to HTML elements.</li><li><strong>Practical Interface Design:</strong> The book covers how to display information cleanly in tables and lists, handle user input via forms, and implement essential search, filtering, and sorting techniques.</li><li><strong>Behind the Scenes &amp; Beyond:</strong> It doesn’t just stop at the frontend. Chapters dive into data loading from files and remote sources, web API integration, debugging, error handling, security fundamentals, and web accessibility.</li></ul><h3>Real-World Application Scenarios</h3><p>Theory is best cemented through practice, and this book delivers by walking readers through four familiar web application scenarios:</p><ol><li><strong>Product Catalog:</strong> Organizing and displaying item details.</li><li><strong>Employee Directory:</strong> Presenting personnel records with built-in search and filtering.</li><li><strong>Data-Driven Dashboard:</strong> Structuring summary information and interactive records.</li><li><strong>Record Management Interface:</strong> Connecting web interfaces directly with server endpoints.</li></ol><h3>Who Should Read It?</h3><p>This guide is an ideal companion for:</p><ul><li><strong>Beginners</strong> taking their first steps into data-driven web design.</li><li><strong>Students</strong> exploring how modern web architecture handles data flow.</li><li><strong>HTML developers</strong> looking to level up their skills by learning how to display structured, dynamic data on a page.</li></ul><p>If you are looking to demystify data binding, master application models, and understand how modern web interfaces talk to data sources, <a href="https://www.amazon.com/dp/B0HP28XSSD"><strong>AppML Tutorial for Beginners</strong></a> provides a refreshing and accessible starting point.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dab9ef275d93" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lottie animation as a splash activity in Android 12+]]></title>
            <link>https://medium.com/@prashant2123/lottie-animation-as-a-splash-activity-in-android-12-cb6a55203491?source=rss-57c1aa36f8c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb6a55203491</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[splash-screen]]></category>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[lottie]]></category>
            <category><![CDATA[android-studiio]]></category>
            <dc:creator><![CDATA[Prashant Mondkar]]></dc:creator>
            <pubDate>Sat, 23 Aug 2025 08:31:30 GMT</pubDate>
            <atom:updated>2025-10-06T19:17:09.015Z</atom:updated>
            <content:encoded><![CDATA[<p>Setting a Lottie animation as a splash activity in Android 12+ involves a few key steps, primarily leveraging the SplashScreen API introduced in Android 12 (API level 31). Here&#39;s a comprehensive guide:</p><p><strong>1. Add Dependencies:</strong></p><ul><li>Make sure your project uses Android Gradle Plugin 7.0.0 or higher and Gradle 7.0 or higher.</li><li>Add the necessary dependencies to your module-level build.gradle file:</li></ul><pre>dependencies {<br>    implementation &#39;androidx.core:core-splashscreen:1.0.1&#39; // Or latest version<br>    implementation &#39;com.airbnb.android:lottie:latest_version&#39; // Or latest version<br>}</pre><p><strong>2. Create Your Lottie Animation:</strong></p><ul><li>Design or obtain your Lottie animation file (.json).</li><li>Place the animation file in your res/raw folder. If the raw folder doesn&#39;t exist, create it.</li></ul><p><strong>3. Implement the Splash Screen:</strong></p><ul><li>In your AndroidManifest.xml, set the theme of your splash activity to a theme that extends Theme.SplashScreen:</li></ul><pre>&lt;resources&gt;<br>    &lt;style name=&quot;Theme.AppSplash&quot; parent=&quot;Theme.SplashScreen&quot;&gt;<br>        &lt;item name=&quot;windowSplashScreenBackground&quot;&gt;@color/your_splash_background&lt;/item&gt;<br>        &lt;item name=&quot;windowSplashScreenAnimatedIcon&quot;&gt;@drawable/lottie_splash_drawable&lt;/item&gt;<br>        &lt;item name=&quot;postSplashScreenTheme&quot;&gt;@style/Theme.YourApp&lt;/item&gt;<br>    &lt;/style&gt;<br><br>    &lt;style name=&quot;Theme.YourApp&quot; parent=&quot;Theme.MaterialComponents.DayNight.NoActionBar&quot;&gt;<br>        &lt;/style&gt;<br>&lt;/resources&gt;<br><br>&lt;application<br>    android:theme=&quot;@style/Theme.YourApp&quot;&gt;<br>    &lt;activity<br>        android:name=&quot;.MainActivity&quot;<br>        android:exported=&quot;true&quot;<br>        android:theme=&quot;@style/Theme.AppSplash&quot;&gt;<br>        &lt;intent-filter&gt;<br>            &lt;action android:name=&quot;android.intent.action.MAIN&quot; /&gt;<br>            &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&gt;<br>        &lt;/intent-filter&gt;<br>    &lt;/activity&gt;<br>&lt;/application&gt;</pre><ul><li>windowSplashScreenBackground<strong>:</strong> Sets the background color of the splash screen.</li><li>windowSplashScreenAnimatedIcon<strong>:</strong> This is where you&#39;ll use a Drawable that references your Lottie animation.</li><li>postSplashScreenTheme<strong>:</strong> The theme to apply after the splash screen is dismissed.</li></ul><p><strong>4. Create a Lottie Drawable:</strong></p><ul><li>Create an XML file in your res/drawable folder (e.g., lottie_splash_drawable.xml) to define the Lottie drawable:</li></ul><pre>&lt;animated-vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;<br>    xmlns:aapt=&quot;http://schemas.android.com/aapt&quot;&gt;<br>    &lt;aapt:attr name=&quot;android:drawable&quot;&gt;<br>        &lt;animated-vector&gt;<br>            &lt;aapt:attr name=&quot;android:drawable&quot;&gt;<br>                &lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;<br>                    android:width=&quot;200dp&quot;<br>                    android:height=&quot;200dp&quot;<br>                    android:viewportWidth=&quot;200&quot;<br>                    android:viewportHeight=&quot;200&quot;&gt;<br>                    &lt;group&gt;<br>                        &lt;aapt:attr name=&quot;android:animation&quot;&gt;<br>                            &lt;objectAnimator<br>                                android:duration=&quot;2000&quot;<br>                                android:propertyName=&quot;lottie_rawRes&quot;<br>                                android:valueType=&quot;rawRes&quot;<br>                                android:value=&quot;@raw/your_lottie_animation&quot; /&gt;<br>                        &lt;/aapt:attr&gt;<br>                    &lt;/group&gt;<br>                &lt;/vector&gt;<br>            &lt;/aapt:attr&gt;<br>        &lt;/animated-vector&gt;<br>    &lt;/aapt:attr&gt;<br>&lt;/animated-vector&gt;</pre><ul><li>Replace your_lottie_animation with the name of your Lottie file (without the .json extension).</li><li>Adjust the width, height, and viewportWidth, viewportHeight to match your animation&#39;s dimensions.</li><li>Change the duration of the animation in the objectAnimator element.</li></ul><p><strong>5. Implement the Splash Screen in your Activity:</strong></p><ul><li>In your MainActivity&#39;s onCreate method, call installSplashScreen() before super.onCreate():</li></ul><pre>import androidx.core.splashscreen.SplashScreen;<br><br>public class MainActivity extends AppCompatActivity {<br><br>    @Override<br>    protected void onCreate(Bundle savedInstanceState) {<br>        SplashScreen splashScreen = installSplashScreen();<br>        super.onCreate(savedInstanceState);<br>        setContentView(R.layout.activity_main);<br><br>        // Optionally, you can keep the splash screen visible for a specific duration:<br>        splashScreen.setKeepOnScreenCondition(() -&gt; {<br>            // Return true to keep the splash screen visible.<br>            // Return false to dismiss it.<br>            return false; // For example, dismiss immediately.<br>        });<br><br>        // Your other activity code...<br>    }<br>}</pre><ul><li>installSplashScreen()<strong>:</strong> This method sets up the splash screen.</li><li>setKeepOnScreenCondition()<strong>:</strong> This method allows you to control how long the splash screen is displayed. You can use it to perform background tasks or wait for data to load before dismissing the splash screen. If you return false, the splash screen will dismiss immediately after the animated icon has finished playing.</li></ul><p><strong>Important Considerations:</strong></p><ul><li><strong>Performance:</strong> Optimize your Lottie animation for performance to avoid delays or frame drops.</li><li><strong>Animation Duration:</strong> Ensure the animation duration is appropriate for a splash screen. A short, smooth animation is generally preferred.</li><li><strong>API Level:</strong> The SplashScreen API is available on Android 12 (API level 31) and higher. For older versions, you&#39;ll need to use a different approach.</li><li><strong>Theme Consistency:</strong> Ensure that the splash screen’s background color and the animation’s style match your app’s overall theme.</li></ul><p>By following these steps, you can effectively implement a Lottie animation as your splash activity in Android 12+.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb6a55203491" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stream in NodeJS]]></title>
            <link>https://medium.com/@prashant2123/stream-in-nodejs-b2967315b5a3?source=rss-57c1aa36f8c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2967315b5a3</guid>
            <category><![CDATA[nodejs-tutorial]]></category>
            <category><![CDATA[nodejs-stream]]></category>
            <category><![CDATA[stream-example]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Prashant Mondkar]]></dc:creator>
            <pubDate>Thu, 21 Aug 2025 08:47:26 GMT</pubDate>
            <atom:updated>2025-08-21T14:12:18.057Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/440/0*ad_NClj7nYVHRTiO" /></figure><p>In Node.js, streams are a powerful way to handle data in a continuous, chunk-by-chunk manner. Instead of loading an entire file or data source into memory, streams process data as it becomes available, making them highly efficient for large files, network requests, and other I/O operations.</p><p>There are four main types of streams:</p><ul><li><strong>Readable:</strong> A stream from which you can read data. Examples include fs.createReadStream() for files and the http.IncomingMessage object on a server.</li><li><strong>Writable:</strong> A stream to which you can write data. Examples include fs.createWriteStream() for files and the http.ServerResponse object for a server&#39;s response.</li><li><strong>Duplex:</strong> A stream that is both Readable and Writable. An example is a net.Socket.</li><li><strong>Transform:</strong> A Duplex stream that can modify or transform data as it is written and read. A good example is the zlib module for compression and decompression.</li></ul><h3>How to Use Streams</h3><p>The most common and recommended way to work with streams is using the pipe() method. Piping connects a readable stream to a writable stream, so data flows from one to the other automatically.</p><h4>Example 1: Reading and Writing Files</h4><p>This is a classic example of using streams to copy a large file without consuming excessive memory.</p><pre>const fs = require(&#39;fs&#39;);<br><br>// Create a readable stream from the source file<br>const readableStream = fs.createReadStream(&#39;source.txt&#39;);<br><br>// Create a writable stream to the destination file<br>const writableStream = fs.createWriteStream(&#39;destination.txt&#39;);<br><br>// Pipe the readable stream to the writable stream<br>// This will read data from source.txt and write it to destination.txt<br>readableStream.pipe(writableStream);<br><br>// You can also listen for events to know when the operation is complete<br>writableStream.on(&#39;finish&#39;, () =&gt; {<br>  console.log(&#39;File copy complete.&#39;);<br>});</pre><h4>Example 2: Using Events (Low-Level Approach)</h4><p>While pipe() is the easiest method, you can also use events to handle streams. This gives you more fine-grained control over the data flow.</p><p><strong>Readable Stream Events:</strong></p><ul><li>data: Fired when a chunk of data is ready to be read.</li><li>end: Fired when there is no more data to be read.</li><li>error: Fired if an error occurs.</li></ul><p><strong>Writable Stream Events:</strong></p><ul><li>finish: Fired when the end() method has been called, and all data has been written.</li><li>error: Fired if an error occurs.</li></ul><p>Here’s how you would manually handle a readable stream and pipe it to a writable stream using events:</p><pre>const fs = require(&#39;fs&#39;);<br><br>const readableStream = fs.createReadStream(&#39;source.txt&#39;);<br>const writableStream = fs.createWriteStream(&#39;destination.txt&#39;);<br><br>// Read data chunk by chunk<br>readableStream.on(&#39;data&#39;, (chunk) =&gt; {<br>  // Write the chunk to the writable stream<br>  writableStream.write(chunk);<br>});<br><br>// When the readable stream ends, close the writable stream<br>readableStream.on(&#39;end&#39;, () =&gt; {<br>  writableStream.end();<br>});<br><br>// Handle errors<br>readableStream.on(&#39;error&#39;, (err) =&gt; {<br>  console.error(&#39;Error reading from file:&#39;, err);<br>});<br>writableStream.on(&#39;error&#39;, (err) =&gt; {<br>  console.error(&#39;Error writing to file:&#39;, err);<br>});</pre><h3>When to Use Streams</h3><p>Use streams in Node.js whenever you are dealing with large amounts of data or when the data is not immediately available, such as:</p><ul><li>Reading or writing large files.</li><li>Handling data from network requests (HTTP, TCP sockets).</li><li>Processing compressed data using zlib.</li><li>Working with data from other processes.</li></ul><p><em>Originally published at </em><a href="https://codesphere2.wordpress.com/2025/08/21/stream-in-nodejs/"><em>http://codesphere2.wordpress.com</em></a><em> on August 21, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2967315b5a3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create a floating window using Window Manager in Android]]></title>
            <link>https://medium.com/@prashant2123/create-a-floating-window-using-window-manager-in-android-b48cb7144201?source=rss-57c1aa36f8c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/b48cb7144201</guid>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[androidhelp]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Prashant Mondkar]]></dc:creator>
            <pubDate>Fri, 15 Aug 2025 13:57:16 GMT</pubDate>
            <atom:updated>2025-08-15T13:57:16.336Z</atom:updated>
            <content:encoded><![CDATA[<p>I’d be glad to help you create a floating window using the WindowManager in Android. Here’s a comprehensive guide that incorporates best practices and addresses potential issues:</p><p><strong>1. Prerequisites:</strong></p><ul><li><strong>Target SDK:</strong> Ensure your app’s target SDK is set to API level 29 or higher. This is necessary to use the WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE flag, which prevents the floating window from stealing focus.</li><li><strong>Permissions:</strong> Request the android.permission.SYSTEM_ALERT_WINDOW permission in your app&#39;s manifest. This permission allows your app to display windows on top of other apps.</li></ul><p><strong>2. Create a Layout for the Floating Window:</strong></p><ul><li>Design an XML layout file (e.g., floating_window.xml) to define the content and appearance of your floating window. You can use standard Android views like TextView, ImageView, Button, etc.</li></ul><p><strong>3. Create a Floating Window Service:</strong></p><ul><li>Extend the Service class and override the onStartCommand() method. This method will be called when the service is started.</li><li>Inside onStartCommand(), create a new WindowManager.LayoutParams object and set its properties:</li><li>type: Set the type to WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY to display the window on top of other apps.</li><li>flags: Set the FLAG_NOT_FOCUSABLE flag to prevent the window from stealing focus and FLAG_LAYOUT_IN_SCREEN to position the window relative to the screen.</li><li>format: Set the format to PixelFormat.TRANSLUCENT to allow the window to be partially transparent.</li><li>x, y, width, height: Set the initial position and size of the window. You can adjust these values later using updateViewLayout().</li><li>Create a View object from your layout resource.</li><li>Add the View to the WindowManager using the addView() method with the WindowManager.LayoutParams object.</li></ul><p><strong>4. Handle Window Updates and Dismissal:</strong></p><ul><li>Implement methods to update the window’s position, size, or other properties using updateViewLayout().</li><li>Create a method to dismiss the window using removeView().</li><li>Consider using a BroadcastReceiver to handle events like screen orientation changes or app updates that might affect the window&#39;s visibility.</li></ul><p><strong>5. Start the Floating Window Service:</strong></p><ul><li>In your main activity or other appropriate context, use startService() to start the floating window service.</li></ul><p><strong>Complete Example:</strong></p><pre>public class FloatingWindowService extends Service {<br>private WindowManager mWindowManager;<br>    private View mFloatingView;<br>    @Override<br>    public IBinder onBind(Intent intent) {<br>        return null;<br>    }<br>    @Override<br>    public int onStartCommand(Intent intent, int flags, int startId) {<br>        // Create the floating window<br>        mWindowManager = (WindowManager) getSystemService(Context.WINDOW_SERVICE);<br>        mFloatingView = LayoutInflater.from(this).inflate(R.layout.floating_window, null);<br>        WindowManager.LayoutParams params = new WindowManager.LayoutParams(<br>                WindowManager.LayoutParams.WRAP_CONTENT,<br>                WindowManager.LayoutParams.WRAP_CONTENT,<br>                WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY,<br>                WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE | WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN,<br>                PixelFormat.TRANSLUCENT);<br>        params.gravity = Gravity.TOP | Gravity.LEFT;<br>        params.x = 0;<br>        params.y = 0;<br>        mWindowManager.addView(mFloatingView, params);<br>        // Handle window updates and dismissal here<br>        return START_STICKY;<br>    }<br>    @Override<br>    public void onDestroy() {<br>        super.onDestroy();<br>        if (mFloatingView != null) {<br>            mWindowManager.removeView(mFloatingView);<br>        }<br>    }<br>}</pre><p>Remember to replace R.layout.floating_window with the actual resource ID of your layout file.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b48cb7144201" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fully working Node.js server that handles text forms and large file]]></title>
            <link>https://medium.com/@prashant2123/fully-working-node-js-server-that-handles-text-forms-and-large-file-93b14589bf28?source=rss-57c1aa36f8c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/93b14589bf28</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[node-js-development]]></category>
            <category><![CDATA[javascript-tips]]></category>
            <category><![CDATA[node-js-tutorial]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Prashant Mondkar]]></dc:creator>
            <pubDate>Fri, 15 Aug 2025 13:56:46 GMT</pubDate>
            <atom:updated>2025-08-15T13:56:46.637Z</atom:updated>
            <content:encoded><![CDATA[<p>Here’s a <strong>single, fully working Node.js server</strong> (no Express, no third-party modules) that:</p><ul><li>Serves an HTML page with <strong>text fields + large file upload</strong></li><li>Handles <strong>application/x-www-form-urlencoded</strong> (text forms)</li><li>Handles <strong>multipart/form-data</strong> (streaming file upload) <strong>without buffering the whole file</strong></li><li><strong>size limit</strong>, <strong>filename sanitization</strong>, and <strong>basic field parsing</strong></li></ul><blockquote><em>Create two files: </em><em>server.js and </em><em>index.html.</em></blockquote><p>server.js</p><pre>// server.js<br>// Pure Node.js form &amp; large file upload handler (no external modules)<br>const http = require(&quot;http&quot;);<br>const fs = require(&quot;fs&quot;);<br>const path = require(&quot;path&quot;);<br><br>// ===== Utility helpers =====<br>const MAX_FILE_SIZE = 200 * 1024 * 1024; // 200 MB limit (adjust as needed)<br><br>// Safe filename (strip directories and suspicious chars)<br>function safeFilename(name = &quot;upload.bin&quot;) {<br>  const base = path.basename(name).replace(/[^\w.\- ]+/g, &quot;_&quot;);<br>  return base.length ? base : &quot;upload.bin&quot;;<br>}<br><br>// Parse application/x-www-form-urlencoded into an object<br>function parseUrlEncoded(body) {<br>  const out = {};<br>  body.split(&quot;&amp;&quot;).forEach(p =&gt; {<br>    if (!p) return;<br>    const [k, v] = p.split(&quot;=&quot;);<br>    const key = decodeURIComponent((k || &quot;&quot;).replace(/\+/g, &quot; &quot;));<br>    const val = decodeURIComponent((v || &quot;&quot;).replace(/\+/g, &quot; &quot;));<br>    if (key in out) {<br>      if (!Array.isArray(out[key])) out[key] = [out[key]];<br>      out[key].push(val);<br>    } else out[key] = val;<br>  });<br>  return out;<br>}<br><br>// Find first index of a Buffer pattern inside a Buffer, starting at fromIndex<br>function indexOfBuffer(buf, pattern, fromIndex = 0) {<br>  return buf.indexOf(pattern, fromIndex);<br>}<br><br>// ===== Multipart parser (streaming) =====<br>// Minimal streaming multipart parser that supports multiple fields + one or more files.<br>// It never buffers the whole file in memory: it writes to disk while scanning for boundaries.<br>function handleMultipart(req, res, boundary) {<br>  const boundaryMain = Buffer.from(`--${boundary}`);<br>  const boundaryCRLF = Buffer.from(`\r\n--${boundary}`);<br>  const boundaryEnd = Buffer.from(`--${boundary}--`);<br>  const boundaryEndCRLF = Buffer.from(`\r\n--${boundary}--`);<br><br>  const fields = {};<br>  const savedFiles = []; // { fieldName, filename, savedAs, size }<br><br>  let buffer = Buffer.alloc(0);<br>  let current = null; // { headersText, fieldName, isFile, fileStream, filename, bytesWritten }<br><br>  // To prevent writing boundary fragments into the file, we keep an overlap<br>  const OVERLAP = Math.max(boundaryCRLF.length, boundaryEndCRLF.length) + 8;<br><br>  function pushFieldValue(name, val) {<br>    if (name in fields) {<br>      if (!Array.isArray(fields[name])) fields[name] = [fields[name]];<br>      fields[name].push(val);<br>    } else {<br>      fields[name] = val;<br>    }<br>  }<br><br>  function parseHeaders(headerText) {<br>    // Simple header parsing for Content-Disposition / Content-Type<br>    const lines = headerText.split(&quot;\r\n&quot;).filter(Boolean);<br>    const out = { &quot;content-disposition&quot;: &quot;&quot;, &quot;content-type&quot;: &quot;&quot; };<br>    for (const line of lines) {<br>      const idx = line.indexOf(&quot;:&quot;);<br>      if (idx !== -1) {<br>        const key = line.slice(0, idx).trim().toLowerCase();<br>        const val = line.slice(idx + 1).trim();<br>        out[key] = val;<br>      }<br>    }<br>    // Extract name, filename from content-disposition<br>    const cd = out[&quot;content-disposition&quot;] || &quot;&quot;;<br>    const nameMatch = cd.match(/name=&quot;([^&quot;]+)&quot;/i);<br>    const fileMatch = cd.match(/filename=&quot;([^&quot;]*)&quot;/i);<br>    const name = nameMatch ? nameMatch[1] : &quot;&quot;;<br>    const filename = fileMatch ? fileMatch[1] : &quot;&quot;;<br>    return {<br>      fieldName: name,<br>      filename,<br>      contentType: out[&quot;content-type&quot;] || &quot;&quot;<br>    };<br>  }<br><br>  // Initialize: consume the first boundary line which starts the body<br>  let started = false;<br>  let ended = false;<br>  let totalWrittenThisFile = 0;<br><br>  req.on(&quot;data&quot;, chunk =&gt; {<br>    buffer = Buffer.concat([buffer, chunk]);<br><br>    // On first chunks, ensure we skip the preamble up to first boundary<br>    if (!started) {<br>      let i = indexOfBuffer(buffer, boundaryMain);<br>      if (i === -1) return; // wait for more data<br>      // After boundary there should be CRLF<br>      const after = i + boundaryMain.length;<br>      // Could be end boundary immediately (rare on preamble), handle both<br>      if (buffer.slice(after, after + 2).toString() === &quot;--&quot;) {<br>        // Empty multipart? Treat as ended<br>        started = true;<br>        ended = true;<br>        buffer = buffer.slice(after + 2);<br>      } else {<br>        // Expect CRLF<br>        started = true;<br>        // Advance buffer past `--boundary\r\n`<br>        if (buffer.slice(after, after + 2).toString() === &quot;\r\n&quot;) {<br>          buffer = buffer.slice(after + 2);<br>        } else {<br>          // If not aligned yet, try to find CRLF later<br>          const crlf = indexOfBuffer(buffer, Buffer.from(&quot;\r\n&quot;), after);<br>          if (crlf !== -1) buffer = buffer.slice(crlf + 2);<br>          else return;<br>        }<br>      }<br>    }<br><br>    // Now iterate parts<br>    while (true) {<br>      if (ended) break;<br><br>      if (!current) {<br>        // Need headers for the next part: look for \r\n\r\n separator<br>        const headerEndIdx = indexOfBuffer(buffer, Buffer.from(&quot;\r\n\r\n&quot;));<br>        if (headerEndIdx === -1) break; // wait for more data<br><br>        const headerText = buffer.slice(0, headerEndIdx).toString(&quot;utf8&quot;);<br>        const { fieldName, filename, contentType } = parseHeaders(headerText);<br><br>        // Advance buffer past headers + separator<br>        buffer = buffer.slice(headerEndIdx + 4);<br><br>        if (filename) {<br>          // File part<br>          const safeName = safeFilename(filename);<br>          const savePath = path.join(__dirname, &quot;uploads&quot;);<br>          if (!fs.existsSync(savePath)) fs.mkdirSync(savePath, { recursive: true });<br>          const finalPath = path.join(savePath, safeName);<br><br>          current = {<br>            headersText: headerText,<br>            fieldName,<br>            isFile: true,<br>            filename: filename,<br>            savedAs: finalPath,<br>            fileStream: fs.createWriteStream(finalPath),<br>            contentType,<br>            bytesWritten: 0<br>          };<br>          totalWrittenThisFile = 0;<br>        } else {<br>          // Field (text) part<br>          current = {<br>            headersText: headerText,<br>            fieldName,<br>            isFile: false,<br>            chunks: []<br>          };<br>        }<br>      }<br><br>      // We have a current part; search for the next boundary which ends this part.<br>      // It can be \r\n--boundary or \r\n--boundary-- (final).<br>      let boundaryIdx = indexOfBuffer(buffer, boundaryCRLF);<br>      let boundaryEndIdx = indexOfBuffer(buffer, boundaryEndCRLF);<br><br>      let isFinalBoundary = false;<br>      let idx = -1;<br><br>      if (boundaryIdx === -1 &amp;&amp; boundaryEndIdx === -1) {<br>        // No boundary yet: for file parts, write all but an overlap tail<br>        if (current.isFile) {<br>          const writableLen = Math.max(0, buffer.length - OVERLAP);<br>          if (writableLen &gt; 0) {<br>            current.fileStream.write(buffer.slice(0, writableLen));<br>            current.bytesWritten += writableLen;<br>            totalWrittenThisFile += writableLen;<br>            if (current.bytesWritten &gt; MAX_FILE_SIZE) {<br>              // Abort if too large<br>              current.fileStream.destroy();<br>              try { fs.unlinkSync(current.savedAs); } catch {}<br>              res.writeHead(413, { &quot;Content-Type&quot;: &quot;text/plain&quot; });<br>              res.end(&quot;File too large&quot;);<br>              req.destroy();<br>              return;<br>            }<br>            buffer = buffer.slice(writableLen);<br>          }<br>        }<br>        // For fields, keep accumulating (fields are typically small)<br>        break; // need more data<br>      } else {<br>        // Boundary exists in buffer — pick whichever appears first<br>        if (boundaryIdx === -1 || (boundaryEndIdx !== -1 &amp;&amp; boundaryEndIdx &lt; boundaryIdx)) {<br>          idx = boundaryEndIdx;<br>          isFinalBoundary = true;<br>        } else {<br>          idx = boundaryIdx;<br>        }<br><br>        // Content for this part is everything up to idx (but exclude the preceding \r\n)<br>        // The multipart spec puts `\r\n` before boundary. We need to trim it from content.<br>        let content = buffer.slice(0, idx);<br>        // Trim trailing \r\n if present<br>        if (content.length &gt;= 2 &amp;&amp;<br>            content[content.length - 2] === 0x0d &amp;&amp;<br>            content[content.length - 1] === 0x0a) {<br>          content = content.slice(0, -2);<br>        }<br><br>        if (current.isFile) {<br>          current.fileStream.write(content);<br>          current.bytesWritten += content.length;<br>          totalWrittenThisFile += content.length;<br>          current.fileStream.end();<br><br>          savedFiles.push({<br>            fieldName: current.fieldName,<br>            filename: current.filename,<br>            savedAs: current.savedAs,<br>            size: current.bytesWritten,<br>            contentType: current.contentType<br>          });<br>        } else {<br>          // Text field; decode as utf8<br>          const val = Buffer.concat([...current.chunks, content]).toString(&quot;utf8&quot;);<br>          pushFieldValue(current.fieldName, val);<br>        }<br><br>        // Advance buffer past boundary marker<br>        buffer = buffer.slice(idx + (isFinalBoundary ? boundaryEndCRLF.length : boundaryCRLF.length));<br><br>        // After boundary comes either \r\n for next headers, or `--` (end)<br>        if (isFinalBoundary) {<br>          ended = true;<br>        } else {<br>          // Next should be \r\n; skip it if present<br>          if (buffer.slice(0, 2).toString() === &quot;\r\n&quot;) {<br>            buffer = buffer.slice(2);<br>          }<br>        }<br><br>        current = null; // done with this part; proceed to next (if any)<br>        // Loop continues to parse possible next headers in buffer<br>      }<br>    }<br>  });<br><br>  req.on(&quot;end&quot;, () =&gt; {<br>    if (!ended &amp;&amp; current &amp;&amp; current.isFile &amp;&amp; current.fileStream) {<br>      // Close any open stream (best effort)<br>      current.fileStream.end();<br>    }<br><br>    // Build a small HTML response summarizing the upload<br>    const filesList = savedFiles<br>      .map(f =&gt; `&lt;li&gt;&lt;strong&gt;${f.fieldName}&lt;/strong&gt;: ${path.basename(f.savedAs)} (${(f.size/1024).toFixed(1)} KB)&lt;/li&gt;`)<br>      .join(&quot;&quot;);<br><br>    const fieldsList = Object.entries(fields)<br>      .map(([k, v]) =&gt; `&lt;li&gt;&lt;strong&gt;${k}&lt;/strong&gt;: ${Array.isArray(v) ? v.join(&quot;, &quot;) : v}&lt;/li&gt;`)<br>      .join(&quot;&quot;);<br><br>    res.writeHead(200, { &quot;Content-Type&quot;: &quot;text/html&quot; });<br>    res.end(`<br>      &lt;h1&gt;Upload OK&lt;/h1&gt;<br>      &lt;h2&gt;Fields&lt;/h2&gt;<br>      &lt;ul&gt;${fieldsList || &quot;&lt;li&gt;(none)&lt;/li&gt;&quot;}&lt;/ul&gt;<br>      &lt;h2&gt;Saved Files&lt;/h2&gt;<br>      &lt;ul&gt;${filesList || &quot;&lt;li&gt;(none)&lt;/li&gt;&quot;}&lt;/ul&gt;<br>      &lt;p&gt;&lt;a href=&quot;/&quot;&gt;Back&lt;/a&gt;&lt;/p&gt;<br>    `);<br>  });<br>}<br><br>// ===== Main HTTP server =====<br>const server = http.createServer((req, res) =&gt; {<br>  if (req.method === &quot;GET&quot; &amp;&amp; (req.url === &quot;/&quot; || req.url === &quot;/index.html&quot;)) {<br>    // Serve the form<br>    const file = path.join(__dirname, &quot;index.html&quot;);<br>    fs.createReadStream(file)<br>      .on(&quot;error&quot;, () =&gt; {<br>        res.writeHead(500, { &quot;Content-Type&quot;: &quot;text/plain&quot; });<br>        res.end(&quot;Missing index.html. Create it next to server.js.&quot;);<br>      })<br>      .pipe(res);<br>    return;<br>  }<br><br>  if (req.method === &quot;POST&quot; &amp;&amp; req.url === &quot;/submit-text&quot;) {<br>    // Handle simple text form (urlencoded)<br>    let body = &quot;&quot;;<br>    req.on(&quot;data&quot;, chunk =&gt; (body += chunk));<br>    req.on(&quot;end&quot;, () =&gt; {<br>      const data = parseUrlEncoded(body);<br>      res.writeHead(200, { &quot;Content-Type&quot;: &quot;text/html&quot; });<br>      res.end(`<br>        &lt;h1&gt;Text Form Received&lt;/h1&gt;<br>        &lt;pre&gt;${JSON.stringify(data, null, 2)}&lt;/pre&gt;<br>        &lt;p&gt;&lt;a href=&quot;/&quot;&gt;Back&lt;/a&gt;&lt;/p&gt;<br>      `);<br>    });<br>    return;<br>  }<br><br>  if (req.method === &quot;POST&quot; &amp;&amp; req.url === &quot;/upload&quot;) {<br>    const ct = req.headers[&quot;content-type&quot;] || &quot;&quot;;<br>    if (!ct.startsWith(&quot;multipart/form-data&quot;)) {<br>      res.writeHead(400, { &quot;Content-Type&quot;: &quot;text/plain&quot; });<br>      res.end(&quot;Expected multipart/form-data&quot;);<br>      return;<br>    }<br>    const boundary = ct.split(&quot;boundary=&quot;)[1];<br>    if (!boundary) {<br>      res.writeHead(400, { &quot;Content-Type&quot;: &quot;text/plain&quot; });<br>      res.end(&quot;Missing multipart boundary&quot;);<br>      return;<br>    }<br>    handleMultipart(req, res, boundary);<br>    return;<br>  }<br><br>  // Serve uploaded files statically (simple)<br>  if (req.method === &quot;GET&quot; &amp;&amp; req.url.startsWith(&quot;/uploads/&quot;)) {<br>    const filePath = path.join(__dirname, req.url);<br>    if (!filePath.startsWith(path.join(__dirname, &quot;uploads&quot;))) {<br>      res.writeHead(403).end(&quot;Forbidden&quot;);<br>      return;<br>    }<br>    fs.createReadStream(filePath)<br>      .on(&quot;error&quot;, () =&gt; res.writeHead(404).end(&quot;Not Found&quot;))<br>      .pipe(res);<br>    return;<br>  }<br><br>  res.writeHead(404, { &quot;Content-Type&quot;: &quot;text/plain&quot; });<br>  res.end(&quot;Not Found&quot;);<br>});<br><br>server.listen(3000, () =&gt; {<br>  console.log(&quot;Server running at http://localhost:3000&quot;);<br>  console.log(&quot;Open http://localhost:3000 in your browser.&quot;);<br>});</pre><p>index.html</p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br>  &lt;meta charset=&quot;utf-8&quot; /&gt;<br>  &lt;title&gt;Pure Node.js Form &amp; Upload&lt;/title&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br>  &lt;h1&gt;Text Form (application/x-www-form-urlencoded)&lt;/h1&gt;<br>  &lt;form action=&quot;/submit-text&quot; method=&quot;post&quot;&gt;<br>    &lt;label&gt;Name: &lt;input name=&quot;name&quot; required&gt;&lt;/label&gt;&lt;br&gt;&lt;br&gt;<br>    &lt;label&gt;Email: &lt;input type=&quot;email&quot; name=&quot;email&quot; required&gt;&lt;/label&gt;&lt;br&gt;&lt;br&gt;<br>    &lt;label&gt;City: &lt;input name=&quot;city&quot;&gt;&lt;/label&gt;&lt;br&gt;&lt;br&gt;<br>    &lt;button type=&quot;submit&quot;&gt;Submit Text&lt;/button&gt;<br>  &lt;/form&gt;<br><br>  &lt;hr&gt;<br><br>  &lt;h1&gt;Large File Upload (multipart/form-data)&lt;/h1&gt;<br>  &lt;form action=&quot;/upload&quot; method=&quot;post&quot; enctype=&quot;multipart/form-data&quot;&gt;<br>    &lt;label&gt;Username: &lt;input name=&quot;username&quot; required&gt;&lt;/label&gt;&lt;br&gt;&lt;br&gt;<br>    &lt;label&gt;Notes: &lt;input name=&quot;notes&quot;&gt;&lt;/label&gt;&lt;br&gt;&lt;br&gt;<br>    &lt;label&gt;Choose file: &lt;input type=&quot;file&quot; name=&quot;file1&quot; required&gt;&lt;/label&gt;&lt;br&gt;&lt;br&gt;<br>    &lt;label&gt;Another file (optional): &lt;input type=&quot;file&quot; name=&quot;file2&quot;&gt;&lt;/label&gt;&lt;br&gt;&lt;br&gt;<br>    &lt;button type=&quot;submit&quot;&gt;Upload Files&lt;/button&gt;<br>  &lt;/form&gt;<br><br>  &lt;p style=&quot;margin-top:2rem;opacity:.7&quot;&gt;<br>    Tip: try with a large file (100MB+) — the server streams it to disk without loading it all in memory.<br>  &lt;/p&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93b14589bf28" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Android Room Database]]></title>
            <link>https://medium.com/@prashant2123/understanding-android-room-database-d865a550633c?source=rss-57c1aa36f8c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/d865a550633c</guid>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[room-database]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Prashant Mondkar]]></dc:creator>
            <pubDate>Thu, 14 Aug 2025 09:23:37 GMT</pubDate>
            <atom:updated>2025-08-14T09:23:37.395Z</atom:updated>
            <content:encoded><![CDATA[<p>Android Room is a powerful persistence library that simplifies database operations in Android apps. It’s built on top of SQLite and provides an abstraction layer to interact with the database using familiar object-oriented concepts.</p><p><strong>Key Components of Room:</strong></p><ol><li><strong>Database Class:</strong></li></ol><ul><li>Annotate with @Database to define the database.</li><li>Specify the entities (data models) and version number.</li><li>Provide an abstract DAO class.</li></ul><p><strong>2. Entity Class:</strong></p><ul><li>Annotate with @Entity to define the table schema.</li><li>Use @PrimaryKey to specify the primary key.</li><li>Use other annotations like @ColumnInfo, @Ignore, etc., to customize the schema.</li></ul><p><strong>3. DAO Class:</strong></p><ul><li>Annotate with @Dao to define the data access objects.</li><li>Define methods for querying, inserting, updating, and deleting data.</li><li>Use annotations like @Query, @Insert, @Update, and @Delete to specify the SQL operations.</li></ul><p><strong>Example: A Simple Note-Taking App</strong></p><p>Let’s create a simple note-taking app to demonstrate how to use Room.</p><p><strong>1. Define the Entity (Note):</strong></p><p>Java</p><pre>@Entity(tableName = &quot;notes_table&quot;)<br>public class Note {<br>    @PrimaryKey(autoGenerate = true)<br>    private int id;<br>    @ColumnInfo(name = &quot;note_title&quot;)<br>    private String title;<br>    @ColumnInfo(name = &quot;note_content&quot;)<br>    private String content;<br>// Getters and setters<br>}</pre><p><strong>2. Define the DAO (NoteDao):</strong></p><p>Java</p><pre>@Dao<br>public interface NoteDao {<br>    @Query(&quot;SELECT * FROM notes_table&quot;)<br>    List&lt;Note&gt; getAllNotes();<br>@Insert<br>    void insertNote(Note note);<br>    @Update<br>    void updateNote(Note note);<br>    @Delete<br>    void deleteNote(Note note);<br>}</pre><p><strong>3. Define the Database (NoteDatabase):</strong></p><p>Java</p><pre>@Database(entities = {Note.class}, version = 1)<br>public abstract class NoteDatabase extends RoomDatabase {<br>    public abstract NoteDao noteDao();<br><br>private static volatile NoteDatabase INSTANCE;<br>    public static synchronized NoteDatabase getInstance(Context context) {<br>        if (INSTANCE == null) {<br>            INSTANCE = Room.databaseBuilder(context.getApplicationContext(),<br>                    NoteDatabase.class, &quot;note_database&quot;)<br>                    .build();<br>        }<br>        return INSTANCE;<br>    }<br>}</pre><p><strong>4. Use the Database in Your Activity or Fragment:</strong></p><p>Java</p><pre>NoteDatabase db = NoteDatabase.getInstance(this);<br>NoteDao noteDao = db.noteDao();<br><br>// Insert a note<br>Note note = new Note(&quot;New Note&quot;, &quot;This is a new note&quot;);<br>noteDao.insertNote(note);<br>// Get all notes<br>List&lt;Note&gt; notes = noteDao.getAllNotes();</pre><p><strong>Additional Tips:</strong></p><ul><li><strong>Asynchronous Operations:</strong> Use AsyncTask or RxJava to perform database operations on background threads.</li><li><strong>Data Validation:</strong> Validate input data before inserting it into the database.</li><li><strong>Error Handling:</strong> Implement proper error handling mechanisms to gracefully handle exceptions.</li><li><strong>Testing:</strong> Write unit tests to ensure the correctness of your database operations.</li><li><strong>Migrations:</strong> Use RoomMigrations to handle schema changes when updating the database version.</li></ul><p>By following these guidelines and leveraging the power of Room, you can efficiently manage data in your Android apps.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d865a550633c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Basics of HTTP]]></title>
            <link>https://medium.com/@prashant2123/basics-of-http-15861dfd6676?source=rss-57c1aa36f8c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/15861dfd6676</guid>
            <category><![CDATA[http-request]]></category>
            <category><![CDATA[http-protocol]]></category>
            <category><![CDATA[learn-http]]></category>
            <category><![CDATA[http-basic]]></category>
            <category><![CDATA[http-client]]></category>
            <dc:creator><![CDATA[Prashant Mondkar]]></dc:creator>
            <pubDate>Thu, 14 Aug 2025 09:02:28 GMT</pubDate>
            <atom:updated>2025-08-14T09:02:28.057Z</atom:updated>
            <content:encoded><![CDATA[<h3>0) What HTTP is (and isn’t)</h3><ul><li><strong>HTTP</strong> = text-based request/response protocol on top of TCP (or QUIC for HTTP/3).</li><li><strong>Stateless</strong>: each request stands alone (servers remember you via cookies/tokens).</li><li><strong>Ports</strong>: 80 (HTTP), 443 (HTTPS over TLS).</li></ul><h3>1) The URL</h3><pre>https://api.example.com:443/users?id=42#section<br>└scheme┘  └── host ───┘ :port  └ path ┘ └query┘ └fragment (client-only)</pre><h3>2) An HTTP request (anatomy)</h3><pre>&lt;Request line&gt;           -&gt; METHOD SP PATH SP VERSION<br>&lt;Headers&gt;                -&gt; key: value<br>(blank line)<br>&lt;Body&gt; (optional)</pre><h3>Raw GET (HTTP/1.1)</h3><pre>GET / HTTP/1.1<br>Host: example.com<br>User-Agent: curl/8.0<br>Accept: */*<br>Connection: close</pre><p>Try it:</p><pre># Plain HTTP<br>printf &#39;GET / HTTP/1.1\r\nHost: example.com\r\nConnection: close\r\n\r\n&#39; | nc example.com 80</pre><pre># HTTPS (uses TLS)<br>printf &#39;GET / HTTP/1.1\r\nHost: example.com\r\nConnection: close\r\n\r\n&#39; | openssl s_client -quiet -connect example.com:443 -servername example.com</pre><h3>3) An HTTP response (anatomy)</h3><pre>&lt;Status line&gt;            -&gt; VERSION SP STATUS-CODE SP REASON<br>&lt;Headers&gt;<br>(blank line)<br>&lt;Body&gt; (optional)</pre><p>Example:</p><pre>HTTP/1.1 200 OK<br>Content-Type: text/html; charset=UTF-8<br>Content-Length: 1256<br>Cache-Control: max-age=3600</pre><pre>&lt;html&gt;...&lt;/html&gt;</pre><h3>4) Methods (what you’re asking the server to do)</h3><ul><li><strong>GET</strong> (safe, idempotent): fetch a resource.</li><li><strong>HEAD</strong>: like GET, but no body (metadata only).</li><li><strong>POST</strong>: create / process (non-idempotent).</li><li><strong>PUT</strong> (idempotent): replace a resource.</li><li><strong>PATCH</strong>: partial update.</li><li><strong>DELETE</strong> (idempotent): remove.</li><li><strong>OPTIONS</strong>: capabilities/preflight.</li><li><strong>TRACE</strong>, <strong>CONNECT</strong>: special/rare.</li></ul><blockquote>Idempotent<em> = repeating the request has the same effect.</em></blockquote><h3>5) Headers you’ll use a lot</h3><ul><li><strong>Host</strong>, <strong>User-Agent</strong>, <strong>Accept</strong>, <strong>Accept-Encoding</strong>, <strong>Accept-Language</strong></li><li><strong>Content-Type</strong>, <strong>Content-Length</strong> (or <strong>Transfer-Encoding: chunked</strong>)</li><li><strong>Authorization</strong> (e.g., Bearer &lt;token&gt;)</li><li><strong>Cookie</strong> / <strong>Set-Cookie</strong></li><li><strong>Cache-Control</strong>, <strong>ETag</strong>, <strong>If-None-Match</strong>, <strong>Last-Modified</strong></li><li><strong>Location</strong> (redirects)</li><li><strong>Range</strong> / <strong>Content-Range</strong></li><li><strong>Access-Control-</strong>* (CORS)</li></ul><h3>6) Sending data (four common ways)</h3><h3>a) Query string (GET)</h3><pre>GET /search?q=android&amp;page=2 HTTP/1.1</pre><pre>curl &quot;https://httpbin.org/get?q=android&amp;page=2&quot;</pre><h3>b) Form fields (URL-encoded)</h3><pre>Content-Type: application/x-www-form-urlencoded</pre><pre>name=Prashant&amp;role=dev</pre><pre>curl -X POST https://httpbin.org/post \<br>  -H &quot;Content-Type: application/x-www-form-urlencoded&quot; \<br>  --data &quot;name=Prashant&amp;role=dev&quot;</pre><h3>c) JSON</h3><pre>Content-Type: application/json</pre><pre>{&quot;name&quot;:&quot;Prashant&quot;,&quot;role&quot;:&quot;dev&quot;}</pre><pre>curl -X POST https://httpbin.org/post \<br>  -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{&quot;name&quot;:&quot;Prashant&quot;,&quot;role&quot;:&quot;dev&quot;}&#39;</pre><h3>d) File upload (multipart/form-data)</h3><pre>Content-Type: multipart/form-data; boundary=----abc</pre><pre>curl -X POST https://httpbin.org/post \<br>  -F &quot;avatar=@photo.jpg&quot; \<br>  -F &quot;note=hello&quot;</pre><h3>7) Receiving data (how bodies arrive)</h3><ul><li><strong>Known length</strong>: Content-Length: N.</li><li><strong>Streaming</strong>: Transfer-Encoding: chunked (arrives in pieces).</li><li><strong>Compressed</strong>: Content-Encoding: gzip (client should send Accept-Encoding: gzip, br).</li></ul><p>Resuming big downloads:</p><pre>curl -C - -O https://speed.hetzner.de/100MB.bin  # uses Range under the hood</pre><h3>8) Status codes (what happened)</h3><ul><li><strong>2xx</strong> success: 200 OK, 201 Created, 204 No Content</li><li><strong>3xx</strong> redirect: 301/308 (permanent), 302/307 (temporary)</li><li><strong>4xx</strong> client error: 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 429 Too Many Requests</li><li><strong>5xx</strong> server error: 500, 502, 503, 504</li></ul><p>Follow redirects:</p><pre>curl -L http://example.com</pre><h3>9) Caching &amp; conditional requests (save bandwidth)</h3><ul><li>Server hints: Cache-Control: max-age=600, public, ETag: &quot;abc123&quot;, Last-Modified: Wed, 14 Aug 2024 12:00:00 GMT</li><li>Client revalidation:</li></ul><pre># First fetch<br>curl -i https://httpbin.org/etag/abc123</pre><pre># Revalidate with If-None-Match<br>curl -i <a href="https://httpbin.org/etag/abc123">https://httpbin.org/etag/abc123</a> -H &#39;If-None-Match: &quot;abc123&quot;&#39;  # expect 304 Not Modified</pre><h3>10) Cookies &amp; sessions</h3><p>Server sets:</p><pre>Set-Cookie: sid=xyz; Path=/; HttpOnly; Secure; SameSite=Lax; Max-Age=3600</pre><p>Client sends back:</p><pre>Cookie: sid=xyz</pre><h3>11) Auth (common patterns)</h3><ul><li><strong>Basic</strong>: Authorization: Basic base64(user:pass) (only over HTTPS).</li><li><strong>Bearer</strong> (e.g., JWT/OAuth access token): Authorization: Bearer &lt;token&gt;.</li><li><strong>API keys</strong>: header or query (header is better).</li><li><strong>OAuth 2.0 / OIDC</strong>: browser-based token dance.</li></ul><h3>12) HTTPS (TLS)</h3><ul><li>Encrypts &amp; authenticates the connection (certificates).</li><li>Modern servers use <strong>HSTS</strong> to force HTTPS.</li><li>SNI/ALPN negotiate host &amp; protocol (e.g., HTTP/2).</li></ul><h3>13) HTTP/1.1 vs HTTP/2 vs HTTP/3 (big picture)</h3><ul><li><strong>HTTP/1.1</strong>: text, one request per connection (keep-alive pipelines have head-of-line blocking).</li><li><strong>HTTP/2</strong>: binary frames, multiplexing, HPACK header compression (much faster).</li><li><strong>HTTP/3</strong>: runs over <strong>QUIC</strong> (UDP), better latency and loss recovery, QPACK header compression.</li></ul><p>You still write the <em>same</em> requests; the wire format differs.</p><h3>14) CORS (browser-only rule)</h3><ul><li>Cross-origin requests may require:</li><li>Response: Access-Control-Allow-Origin: <a href="https://your.app/">https://your.app</a></li><li>Preflight (browser sends OPTIONS with Access-Control-Request-*)</li><li>Not relevant to native apps/servers — only browsers enforce it.</li></ul><h3>15) Content negotiation</h3><p>Client says what it can accept:</p><pre>Accept: application/json<br>Accept-Language: en-IN<br>Accept-Encoding: gzip, br</pre><p>Server chooses accordingly (and may send Vary headers).</p><h3>16) Upgrades &amp; streaming</h3><ul><li><strong>Server-Sent Events (SSE)</strong>: one-way event stream (text/event-stream).</li><li><strong>WebSockets</strong>: Upgrade: websocket to switch protocols for full-duplex.</li><li><strong>HTTP/1.1 chunked</strong>: stream chunks as you generate them.</li></ul><h3>17) Proxies &amp; CDNs</h3><ul><li><strong>Forward proxy</strong>: client → proxy → internet.</li><li><strong>Reverse proxy</strong> (nginx, HAProxy, Cloudflare): internet → proxy → your app.</li><li>Common for TLS termination, caching, load balancing, rate limits.</li></ul><h3>Mini “cheat” lab (copy-paste ready)</h3><h3>Inspect a response</h3><pre>curl -i https://httpbin.org/get</pre><h3>Send JSON</h3><pre>curl -i https://httpbin.org/post \<br>  -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{&quot;hello&quot;:&quot;world&quot;}&#39;</pre><h3>Upload a file</h3><pre>curl -i -F &quot;file=@/path/to/file.zip&quot; https://httpbin.org/post</pre><h3>Conditional GET</h3><pre>curl -i https://httpbin.org/cache/60  # check Cache-Control/Date</pre><h3>Quick client code (Android/Java with OkHttp)</h3><pre>// build.gradle: implementation(&quot;com.squareup.okhttp3:okhttp:4.12.0&quot;)<br>OkHttpClient client = new OkHttpClient();</pre><pre>// GET<br>Request get = new Request.Builder()<br>    .url(https://medium.com/&quot;https://httpbin.org/get?q=android&quot;)<br>    .build();<br>try (Response resp = client.newCall(get).execute()) {<br>    System.out.println(resp.code());<br>    System.out.println(resp.header(&quot;Content-Type&quot;));<br>    System.out.println(resp.body().string());<br>}</pre><pre>// POST JSON<br>MediaType JSON = MediaType.get(&quot;application/json; charset=utf-8&quot;);<br>RequestBody body = RequestBody.create(&quot;{\&quot;name\&quot;:\&quot;Prashant\&quot;}&quot;, JSON);<br>Request postJson = new Request.Builder()<br>    .url(https://medium.com/&quot;https://httpbin.org/post&quot;)<br>    .post(body)<br>    .build();</pre><pre>// Multipart upload<br>File file = new File(&quot;/path/to/photo.jpg&quot;);<br>RequestBody filePart = RequestBody.create(file, MediaType.parse(&quot;image/jpeg&quot;));<br>RequestBody multipart = new MultipartBody.Builder()<br>    .setType(MultipartBody.FORM)<br>    .addFormDataPart(&quot;avatar&quot;, file.getName(), filePart)<br>    .addFormDataPart(&quot;note&quot;, &quot;hello&quot;)<br>    .build();<br>Request upload = new Request.Builder()<br>    .url(https://medium.com/&quot;https://httpbin.org/post&quot;)<br>    .post(multipart)<br>    .build();</pre><h3>Mental model recap</h3><ol><li>Client sends <strong>method + path + headers + optional body</strong>.</li><li>Server replies with <strong>status + headers + optional body</strong>.</li><li>Everything else (auth, caching, cookies, CORS, compression, streaming) is just rules around those two lines.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15861dfd6676" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A38 Theme for KLWP]]></title>
            <link>https://medium.com/@prashant2123/a38-theme-for-klwp-96957f4a4ed6?source=rss-57c1aa36f8c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/96957f4a4ed6</guid>
            <category><![CDATA[themes]]></category>
            <category><![CDATA[klwp]]></category>
            <category><![CDATA[locksreen]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Prashant Mondkar]]></dc:creator>
            <pubDate>Sun, 27 Oct 2024 21:02:42 GMT</pubDate>
            <atom:updated>2024-10-27T21:02:42.390Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*x-PDSNDuzrRRQaoh6xmOCA.png" /></figure><p>This is not a stand alone app. Theme requires Kustom Live Wallpaper Maker PRO application (not free version of this app).</p><p>11 Beautiful themes.<br>A38 Theme for Kustom supports all screen ratios.</p><p>What you need:<br>✔ Kustom (KLWP) PRO<br>✔ Compatible launcher that supported by KLWP (Nova launcher is recommended)</p><p>How to install:</p><p>✔ Download A38 Theme for Kustom and KLWP PRO application<br>✔ Open your KLWP app, choose menu icon on top left, then load preset<br>✔ Find and tap on the Pastel KLWP theme<br>✔ Hit “SAVE” button on the top right</p><p>Instructions:</p><p>In the Nova launcher settings you need:<br>✔ select 1 screen<br>✔ hide status bar and dock</p><p>In the KLWP settings you need:<br>✔ select 1 screen</p><p>Please contact me mail02prashant@gmail.com with any questions/issues before leaving a negative rating about A38 Theme for Kustom Theme.</p><p><a href="https://play.google.com/store/apps/details?id=a38themeforklwp.kustom.pack&amp;pli=1">Download</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96957f4a4ed6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Samsung Galaxy S24 Ultra: Everything You Need to Know]]></title>
            <link>https://medium.com/@prashant2123/samsung-galaxy-s24-ultra-everything-you-need-to-know-ab0e86d3ec91?source=rss-57c1aa36f8c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab0e86d3ec91</guid>
            <category><![CDATA[s24-ultra]]></category>
            <category><![CDATA[samsung-s24-ultra-price]]></category>
            <category><![CDATA[samsumg]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[samsung-galaxy-mobile]]></category>
            <dc:creator><![CDATA[Prashant Mondkar]]></dc:creator>
            <pubDate>Fri, 25 Oct 2024 17:59:40 GMT</pubDate>
            <atom:updated>2024-10-25T17:59:40.161Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cPMOY6OoBd4w9a_VxJxgmA.jpeg" /></figure><p>The <a href="https://amzn.to/4fi5IaB">Samsung Galaxy S24 </a>Ultra is Samsung’s latest flagship in the Galaxy series, bringing several noteworthy updates in terms of performance, design, and camera capabilities. Building on the success of its predecessor, the Galaxy S23 Ultra, the <a href="https://amzn.to/4fi5IaB">Galaxy S24 Ultra</a> integrates cutting-edge technology with user-friendly features that appeal to both tech enthusiasts and casual users alike. Here’s an in-depth look at what makes the<a href="https://amzn.to/4fi5IaB"> Galaxy S24 Ultra</a> a standout in 2024.</p><h3>1. Sleek and Durable Design</h3><p>The <a href="https://amzn.to/4fi5IaB">Galaxy S24 Ultra</a> retains Samsung’s classic design language, combining premium materials with a robust yet elegant build. Samsung has used an armor aluminum frame and Corning Gorilla Glass Victus 3 to increase the device’s durability against drops and scratches. The phone is IP68 rated, making it resistant to dust and water.</p><p>One of the design highlights is the display. The <a href="https://amzn.to/4fi5IaB">Galaxy S24 Ultra</a> boasts a nearly bezel-less design, with a slight curve along the edges, maximizing screen real estate without compromising grip. This large screen is perfect for gaming, streaming, and multitasking, making it one of the most immersive displays in the market.</p><h3>2. Stunning Display</h3><p>Samsung continues to lead in display technology, and the <a href="https://amzn.to/4fi5IaB">Galaxy S24 Ultra</a> is no exception. It features a 6.8-inch Dynamic AMOLED 2X display with a resolution of 3200 x 1440 pixels, offering vibrant colors, sharp details, and deep contrasts. The refresh rate is adaptive, ranging from 1Hz to 120Hz, which optimizes battery life by adjusting based on the on-screen content.</p><p>The peak brightness has been improved to 2,500 nits, ensuring that the display remains readable even under direct sunlight. This high brightness, combined with HDR10+ support, makes for a stunning viewing experience whether you’re watching videos, playing games, or simply browsing through photos.</p><h3>3. Top-Tier Performance with the Snapdragon 8 Gen 3</h3><p>The <a href="https://amzn.to/4fi5IaB">Galaxy S24 Ultra</a> is powered by Qualcomm’s latest Snapdragon 8 Gen 3 processor, delivering faster processing speeds and better energy efficiency. Combined with up to 16GB of LPDDR5X RAM, the <a href="https://amzn.to/4fi5IaB">Galaxy S24 Ultra </a>can handle intensive tasks, multitasking, and gaming without breaking a sweat. This processor also improves AI-powered functionalities like image processing and voice recognition, making daily tasks smoother and faster.</p><p>For storage, Samsung offers options of 256GB, 512GB, and even a massive 1TB variant, giving users plenty of space for apps, games, videos, and photos.</p><h3>4. Enhanced Camera Capabilities</h3><p>Samsung is known for its camera innovations, and the <a href="https://amzn.to/4fi5IaB">Galaxy S24 Ultra</a> sets a new benchmark. The phone comes with a quad-camera setup:</p><ul><li><strong>Main Camera</strong>: 200 MP sensor with improved low-light performance and enhanced stabilization.</li><li><strong>Telephoto Lenses</strong>: Two telephoto lenses, a 10x periscope zoom, and a 3x optical zoom for capturing details from a distance.</li><li><strong>Ultra-Wide Camera</strong>: A 12 MP ultra-wide camera to capture expansive landscapes and large groups.</li><li><strong>Selfie Camera</strong>: A 12 MP front-facing camera with improved low-light and AI capabilities for flawless selfies.</li></ul><p>With these hardware improvements, the <a href="https://amzn.to/4fi5IaB">Galaxy S24 Ultra’s</a> camera system can capture stunning photos and videos in any lighting condition. The 200 MP sensor is particularly noteworthy, producing incredibly detailed shots even in challenging lighting. Additionally, Samsung’s Nightography mode has been fine-tuned, allowing the camera to capture clearer images at night with reduced noise.</p><h3>5. Massive Battery with Intelligent Power Management</h3><p>The <a href="https://amzn.to/4fi5IaB">Galaxy S24 Ultra</a> packs a 5,000 mAh battery, which, combined with the energy-efficient Snapdragon 8 Gen 3, provides excellent battery life that can easily last a day on a single charge. Samsung has also introduced intelligent power management features, which optimize power usage based on user habits.</p><p>Fast charging support allows the <a href="https://amzn.to/4fi5IaB">Galaxy S24 Ultra</a> to charge up to 50% in just 30 minutes with a 45W charger. It also supports 15W wireless charging and reverse wireless charging, allowing you to charge other devices like Galaxy Buds or a Galaxy Watch.</p><h3>6. Advanced Software and One UI 6.1</h3><p>Running on Samsung’s One UI 6.1 based on Android 14, the<a href="https://amzn.to/4fi5IaB"> Galaxy S24 Ultra</a> offers a smooth, user-friendly experience with several customizable options. One UI 6.1 includes new features like a redesigned control center, enhanced privacy settings, and customizable widgets. Samsung’s partnership with Google ensures regular software updates, giving the <a href="https://amzn.to/4fi5IaB">Galaxy S24 Ultra </a>up-to-date security patches and new features for years to come.</p><p>Samsung has also improved the integration with Galaxy devices. The <a href="https://amzn.to/4fi5IaB">Galaxy S24 Ultra</a> connects seamlessly with other Galaxy products, like the Galaxy Tab and Galaxy Watch, allowing for cross-device functionality, such as continuing tasks on multiple devices and using the phone as a remote viewfinder for the Galaxy Watch camera.</p><h3>7. Eco-Friendly Initiatives</h3><p>Samsung has made strides toward sustainability with the <a href="https://amzn.to/4fi5IaB">Galaxy S24 Ultra</a>. The device uses more recycled materials in its components, including recycled aluminum, plastic, and glass. Samsung’s packaging is also eco-friendly, using less plastic and more recyclable materials, which aligns with the company’s commitment to reducing its carbon footprint.</p><h3>Pros and Cons</h3><p><strong>Pros:</strong></p><ul><li>Incredible display with high brightness and adaptive refresh rate</li><li>Powerful Snapdragon 8 Gen 3 processor</li><li>Versatile and high-quality camera system</li><li>Long-lasting battery life with fast charging support</li><li>Excellent software experience with One UI 6.1</li></ul><p><strong>Cons:</strong></p><ul><li>Premium price tag</li><li>Large size may not be comfortable for everyone</li><li>No major design changes from the previous generation</li></ul><h3>Conclusion</h3><p>The Samsung G<a href="https://amzn.to/4fi5IaB">alaxy S24 Ultra</a> is a powerhouse of a smartphone, combining top-notch performance, an impressive camera system, and a stunning display. While it carries a high price, the features and user experience make it a worthy investment for those seeking a premium device. With improvements across the board and a focus on durability and sustainability, the <a href="https://amzn.to/4fi5IaB">Galaxy S24 Ultra</a> reaffirms Samsung’s position as a leader in the smartphone market. Whether you’re a power user, a photographer, or simply someone who appreciates high-quality devices, the <a href="https://amzn.to/4fi5IaB">Galaxy S24 Ultra</a> is built to impress.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab0e86d3ec91" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>