<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: prasad joshi</title>
    <description>The latest articles on DEV Community by prasad joshi (@prasadjoshi660).</description>
    <link>https://dev.to/prasadjoshi660</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3202575%2Fee960131-ca3e-4d11-aa40-0515633e131c.png</url>
      <title>DEV Community: prasad joshi</title>
      <link>https://dev.to/prasadjoshi660</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/prasadjoshi660"/>
    <language>en</language>
    <item>
      <title>Can You Share an Image as an Audio File? Yes—Here’s How It Works ?</title>
      <dc:creator>prasad joshi</dc:creator>
      <pubDate>Sat, 24 May 2025 18:00:36 +0000</pubDate>
      <link>https://dev.to/prasadjoshi660/can-you-share-an-image-as-an-audio-file-yes-heres-how-it-works--3e2</link>
      <guid>https://dev.to/prasadjoshi660/can-you-share-an-image-as-an-audio-file-yes-heres-how-it-works--3e2</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
You might think images and audio belong to completely different worlds—but what if you could send a picture as sound? That’s exactly what happens with a fascinating method called SSTV (Slow Scan Television), used since the 1950s. Let’s explore how it works, and why it's still used today—even in space&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What Is SSTV (Slow Scan Television)?&lt;/strong&gt;&lt;br&gt;
SSTV is a technique that converts an image into a series of audio tones. These tones can be played, recorded, or transmitted just like regular sound. A decoder can then listen to this "sound image" and reconstruct the original picture.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How It Works – Image to Audio&lt;/strong&gt;&lt;br&gt;
The image is scanned line by line.&lt;/p&gt;

&lt;p&gt;Each pixel’s brightness or color is turned into a specific frequency.&lt;/p&gt;

&lt;p&gt;The result is a sound file (e.g., .wav) that "sounds weird" to the ear—but it's carrying visual data.&lt;br&gt;
How to Try It Yourself (Modern Use)&lt;br&gt;
You can encode an image into audio using tools like:&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;SSTV Encoders (online or desktop)&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
Save the audio and play it&lt;/p&gt;

&lt;p&gt;Use an app like Robot36 (Android) to decode it back into an image&lt;/p&gt;

&lt;p&gt;It's like a secret message hidden in sound!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SSTV in the Real World&lt;/strong&gt;&lt;br&gt;
Amateur Radio (HAM): Widely used to share pictures over radio.&lt;/p&gt;

&lt;p&gt;NASA &amp;amp; ISS: The International Space Station transmits SSTV images to Earth.&lt;/p&gt;

&lt;p&gt;Offline Communication: Works without the internet—ideal for remote or emergency scenarios&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why It’s Cool and Useful&lt;/strong&gt;&lt;br&gt;
1.Works with low tech—just a speaker and mic&lt;/p&gt;

&lt;p&gt;2.Sends images where the internet can’t reach&lt;/p&gt;

&lt;p&gt;3.Fun for hobbyists and retro tech fans&lt;/p&gt;

&lt;p&gt;4.Teaches fundamentals of analog signal encoding&lt;/p&gt;

</description>
      <category>oldworld</category>
      <category>sstv</category>
      <category>encode</category>
    </item>
    <item>
      <title>Dark Mode with CSS: How to Create a Theme Toggle</title>
      <dc:creator>prasad joshi</dc:creator>
      <pubDate>Sat, 24 May 2025 11:36:16 +0000</pubDate>
      <link>https://dev.to/prasadjoshi660/dark-mode-with-css-how-to-create-a-theme-toggle-23j2</link>
      <guid>https://dev.to/prasadjoshi660/dark-mode-with-css-how-to-create-a-theme-toggle-23j2</guid>
      <description>&lt;p&gt;Dark mode makes websites easier on the eyes and gives a modern feel. Here’s how to add a dark mode toggle using CSS variables and a bit of JavaScript.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;HTML&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/p&gt;
&lt;br&gt;
  &lt;br&gt;
  Dark Mode Toggle&lt;br&gt;
  &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
  Toggle Dark Mode&lt;br&gt;
  &lt;p&gt;This is some text to see the color change.&lt;/p&gt;



&lt;ol&gt;
&lt;li&gt;CSS
`:root {
--bg-color: #ffffff;
--text-color: #000000;
}&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;body {&lt;br&gt;
  background-color: var(--bg-color);&lt;br&gt;
  color: var(--text-color);&lt;br&gt;
  transition: background-color 0.3s, color 0.3s;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;body.dark-mode {&lt;br&gt;
  --bg-color: #121212;&lt;br&gt;
  --text-color: #e0e0e0;&lt;br&gt;
}`&lt;/p&gt;

&lt;p&gt;3.JAVASCRIPT&lt;br&gt;
`const toggle = document.getElementById("theme-toggle");&lt;/p&gt;

&lt;p&gt;toggle.addEventListener("click", () =&amp;gt; {&lt;br&gt;
  document.body.classList.toggle("dark-mode");&lt;br&gt;
});&lt;br&gt;
`&lt;br&gt;
&lt;strong&gt;Quick Explanation of this Code:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;CSS Variables (--bg-color, --text-color) define theme colors.&lt;/p&gt;

&lt;p&gt;JavaScript toggles the dark-mode class on the &lt;/p&gt; when the button is clicked.

&lt;p&gt;When dark-mode is active, CSS overrides the variables to switch to dark theme colors.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>html</category>
      <category>css</category>
      <category>code</category>
    </item>
    <item>
      <title>Understanding Android Screen Pinning: What It Is and Why You Might Need It</title>
      <dc:creator>prasad joshi</dc:creator>
      <pubDate>Sat, 24 May 2025 11:11:10 +0000</pubDate>
      <link>https://dev.to/prasadjoshi660/understanding-android-screen-pinning-what-it-is-and-why-you-might-need-it-5d68</link>
      <guid>https://dev.to/prasadjoshi660/understanding-android-screen-pinning-what-it-is-and-why-you-might-need-it-5d68</guid>
      <description>&lt;p&gt;In today’s digital world, smartphones are a central part of our lives, used by people of all ages for everything from messaging to watching videos, paying bills, and browsing the web. But what happens when you hand your phone to a child to play a game or to a friend to show a photo—and they accidentally open something else? That’s where Android Screen Pinning comes into play.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Screen Pinning?&lt;/strong&gt;&lt;br&gt;
Screen Pinning is a built-in security feature in Android that allows you to lock your phone to a single app. When screen pinning is enabled, the user can only use that one app and can’t switch to other apps, go back to the home screen, or access your personal data—unless they unpin the screen using a specific action or PIN/password.&lt;/p&gt;

&lt;p&gt;This feature was introduced in Android 5.0 (Lollipop) and has become an essential tool for both personal and professional use.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why is Screen Pinning Needed?&lt;/strong&gt;&lt;br&gt;
We often find ourselves in situations where we need to let someone use our phone temporarily. Here are some common examples:&lt;/p&gt;

&lt;p&gt;Handing your phone to a child to play a game without worrying they'll make a call or delete your files.&lt;/p&gt;

&lt;p&gt;Letting a friend or coworker make a call or use a specific app without accessing your photos or messages.&lt;/p&gt;

&lt;p&gt;Using a device in public places like stores, museums, or offices where it serves a specific function (e.g., survey, kiosk, or product display).&lt;/p&gt;

&lt;p&gt;Screen pinning ensures that your private content stays private and prevents unauthorized use beyond the intended app.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Advantages of Screen Pinning&lt;/strong&gt;&lt;br&gt;
Enhanced Privacy: Limits access to one app, protecting your data and apps from prying eyes.&lt;/p&gt;

&lt;p&gt;Child Safety: Prevents children from navigating away from safe or educational apps.&lt;/p&gt;

&lt;p&gt;Professional Use: Useful for businesses that provide devices for public or customer use (like tablets in retail).&lt;/p&gt;

&lt;p&gt;Accidental Protection: Stops others from accidentally deleting files, sending messages, or changing settings.&lt;/p&gt;

&lt;p&gt;No Extra Apps Needed: Screen pinning is a built-in feature—no need for third-party apps.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When to Use Screen Pinning&lt;/strong&gt;&lt;br&gt;
Before giving your phone to someone else for a specific task (e.g., playing a game, filling out a form).&lt;/p&gt;

&lt;p&gt;In educational or public environments where a device should be restricted to a specific application.&lt;/p&gt;

&lt;p&gt;When hosting a demo or presentation on your device and want to avoid distractions or leaks.&lt;/p&gt;

&lt;p&gt;In customer service kiosks or waiting areas using Android tablets.&lt;br&gt;
**&lt;br&gt;
How to Use Screen Pinning (Step-by-Step)**&lt;br&gt;
&lt;strong&gt;Enable Screen Pinning:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Go to Settings &amp;gt; Security or Biometrics &amp;amp; Security.&lt;/p&gt;

&lt;p&gt;Find Screen Pinning or App Pinning and toggle it On.&lt;/p&gt;

&lt;p&gt;(Optional but recommended) Turn on the option to require a PIN to unpin.&lt;/p&gt;

&lt;p&gt;Pin the App:&lt;/p&gt;

&lt;p&gt;Open the app you want to pin.&lt;/p&gt;

&lt;p&gt;Tap the Overview (Recent Apps) button.&lt;/p&gt;

&lt;p&gt;Tap the app icon at the top of the window, then select “Pin”.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Unpin the App:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To exit, press and hold the Back and Overview buttons at the same time.&lt;/p&gt;

&lt;p&gt;If enabled, enter your PIN, pattern, or password to unlock the device.&lt;/p&gt;

</description>
      <category>android</category>
      <category>mobile</category>
      <category>security</category>
      <category>privacy</category>
    </item>
  </channel>
</rss>
