You can’t. The emulator does not support Bluetooth, as mentioned in the SDK’s docs and on several other places.
And you already discovered this yourself: “the adapter is returning null value, which means the android emulator is not having bluetooth capability”
More Related Contents:
- How to restart Activity in Android
- Adding gif image in an ImageView in android
- How to handle a lost KeyStore password in Android?
- Steps to create APK expansion file
- How to add SHA-1 to android application
- Android LinearLayout : Add border with shadow around a LinearLayout
- How to set Internet options for Android emulator?
- Generate Apk file from aab file (android app bundle)
- ViewPager with Google Maps API v2: mysterious black view
- When to Register/Unregister Broadcast Receivers created in an activity?
- Volume Control in android application
- How to wrap the height of a ViewPager to the height of its current Fragment?
- CMUSphinx PocketSphinx – Recognize all (or large amount) of words
- Tab not taking full width on Tablet device [Using android.support.design.widget.TabLayout]
- How to find Intent source in Android? [duplicate]
- How to save file from website to sdcard
- Disable home button in android toddler app?
- Failed to find style ‘mapViewStyle’ in current theme
- Change Checkbox value without triggering onCheckChanged
- ActivityGroup Example
- How do I change date time format in Android?
- VideoView Full screen in android application
- Coordinator Layout with Toolbar in Fragments or Activity
- How to set margins for TextView programmatically?
- Android send a image and save url [duplicate]
- How to define and use a system property in Android Instrumentation test?
- How to show animate an item view in LazyColumn on Jetpack Compose Android
- android Exit from full screen mode
- Writing Singleton Class To Manage Android SharedPreferences
- Security “Crypto” provider deprecated in Android N