get code : https://www.buymeacoffee.com/pramilar...
we have created an Android application that allows users to search for medicines and advice based on their symptoms using speech recognition. Here's a brief summary of what we have done:
Created a Firebase Realtime Database to store the medicine data.
Built a UI with a button to initiate speech recognition and a RecyclerView to display the medicine data.
Configured the speech recognition functionality using the SpeechRecognizer API.
Set up a ViewModel to manage the app's data and business logic.
Fetched the medicine data from the Firebase Realtime Database and displayed it in the RecyclerView using LiveData and a RecyclerView Adapter.
Implemented search functionality using speech recognition and displayed the relevant medicine and advice data in ResultFragment.
Passed data between fragments using Navigation Component and displayed it in a ResultFragment using TextViews.