Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

sai voice

a radio player which streams audio from radio sai global harmony.

radio streams include:

  • asia stream
  • africa stream
  • america stream
  • bhajan stream
  • discourse stream
  • telugu stream.

smooth: the app is built to keep a smooth user experience. one can change the streams they want to listen to with ease by just sliding the panel up and selecting the new stream.

seamless listening: it is capable of running in the background until the app is removed from the process. listen to your favourite radio stream with just one click after opening the app (an option to set the favourite stream at the start of the app)

media control: it can handle the audio options from a handset to a headset, from lock screen notifications to earphones button click. it also pauses when another player starts and doesn’t interrupt any incoming notifications.

dark theme: the app also comes with dark theme. one can change the theme they want from settings.

split screen: the app is suitable for split screen. operate this app while doing work in a different app.

schedule: look at the radio schedule of different streams from within the app (redirects to the official website).

sai inspires: thought of the day by sai inspires is present inside the app. one can read it at any text size they want by zooming in. one can also share the content by clicking the copy icon (copies to clipboard). one can also view and save the image.

free without ads: the app is free for all and will remain the same further. no ads are shown in the app. this is thanks to radio sai global harmony for providing the content without any charge. like the sai organization, we believe in selfless service and do not expect anything in return.

open source: we believe that there is nothing to hide and like you to experience the bliss of swamy. so, the source code of the app is open-source and will remain the same in future.

file permissions: file write permission is requested only to save images from sai inspires. one can deny these permissions from the settings.

“sai ram, and happy listening”

future updates

*i cannot guarantee any of the below. but, will try my best to include such features in future releases (if i can)

  • add android auto support
  • add google chrome cast support

radio player flow

stop state -> play in app screen (user action) -> play state
stop state -> change radio stream (user action) -> changes radio stream -> stop state
play state -> change radio stream (user action) -> stop state -> changes radio stream -> play state
play state -> pause in app screen (user action) -> stop state

play state -> pause in notification (user action) -> pause state
play state -> stop in notification (user action) -> stop state

motivation

i like to listen to various bhajans which made me fond of radio sai. i’ve installed the app and kept listening to the radio that gave me peace. i felt the application ui/ux was not up to the mark. the audio stops in between and doesn’t handle audio when i receive a call or play another media. that was the start of the idea to build an app that solves these problems. i started to collect resources from where the radio is broadcasted and finally reached the point to have a public release of the app. i referred to the radio sai app and its functionality while building this app.

i feel this app solves the problems that i (and many others) face and would like to share this with all. it’s one’s choice to use whichever app is comfortable

screenshots

screenshot_1

screenshot_2

screenshot_3

screenshot_4

screenshot_5

screenshot_6

screenshot_7

screenshot_8

screenshot_9

screenshot_10

screenshot_11

screenshot_12

architecture

most of the main features use bloc architecture using providers and streams. the usage of this architecture helps the app no to completely refresh but just helpful for updating the needed components smoothly.

lib
├───audio_service   # audio service related task
│   └── notifiers
├───bloc            # business logic files related to screens
│   ├───media
│   ├───radio
│   ├───radio_schedule
│   └───settings
├───constants       # constants
├───helper          # helper classes
├───screens         # all screens
│   ├── audio_archive
│   ├───media
│   ├───media_player
│   ├───radio
│   ├───sai_inspires
│   ├───radio_schedule
│   └───settings
│       └───general
└───widgets         # widgets related to screens
    ├───radio
    └───settings

above is generated using “tree” command inside lib/

opensource libraries

shared_preferenecs:
used to store short data locally like: saving the radio stream while closing the app and displays the same on app start, display the favourite radio stream on app start; save the user preference app theme.

sliding_up_panel:
used to select a different radio stream by sliding up the panel.

shimmer:
used to show loading progress in the data loading screens

internet_connection_checker:
used to detect the internet status of the device

flutter_downloader:
used to download files/media from the internet

just_audio & audio_service:
the main base of the app helps play the audio seamlessly with media control. thank you @ryanheise

and many other open-source libraries.

thanks to the open source community for providing such great libraries and framework which was very helpful in building the application.


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Top