• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

WiFi Aware in Android Studio

Hello, I'm doing a simple app that uses WiFi Aware and its publish/subscribe mechanisms. However, while I was trying to test it on Android Studio, I would always get the boolean false with this line of code:
boolean hasWiFiAware = getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI_AWARE);


This would mean that the device (the emulator in my case) doesn't support the feature of WiFi Aware. I tried a lot of different APIs in the Emulator and couldn't seem to get it to work (return true and allow me to use the feature).

Did anyone already work with WiFi Aware? And specially developed an app in Android Studio? If so, have you used Android Studio Emulator to test the App or a physical device? Does it even exist the possibility to use such feature in the emulator?

Audio via USB headset is not working Android 12 AOSP code (Android S) -- 2nd Whatsup audio call

Use case :
Pre-cond : Connect USB headset to Android 12 based device
1.) Initiate what's up audio call **Result **: 2way audio is fine
2.) Initiate/Receive audio call **Result **: 1way audio is present (Output : Audio via USB MIC , Input : NONE )
Log snippets (after disconnecting 1st whats up audio call) :
04-11 06:01:25.761 307 2667 E modules.usbaudio.audio_hal: start_output_stream failed to open device(card: 0 device: 0)
04-11 06:01:25.769 307 2667 E modules.usbaudio.audio_hal: start_output_stream failed to open device(card: 0 device: 0)
04-11 06:01:25.776 307 2667 E modules.usbaudio.audio_hal: start_output_stream failed to open device(card: 0 device: 0)
2way audio should be established in USB headset during audio call.

Finding someone to root Droid Maxx 2 for a fee

1. If I see "Fastboot (Secure), Device is LOCKED, Status Code: 0", does that mean that even the carrier cannot unlock the phone?
2. If the carrier can do it, can I just waltz into the carrier's local store and ask them to unlock it?
3. Will unlocking the phone delete all the data? (An online remote rooting service is telling me it's not possible without a factory reset.)
4. Instead of rooting, is there a way to backup a phone including all system and hidden files without rooting? Then examine the files from their backed up location?
5. Should I have started a new post with this comment?
1. carrier unlock and bootloader unlock are two different things. the "device is locked, Status 0" means that you have a locked bootloader. it will need to be unlocked first in order to root. so yes this is why kingoroot will not work.
2.a carrier will not unlock a bootloader for you. they may allow it, if they so choose. like moto can provide you with unlock codes to unlock the bootloader save for verizon's moto's
3. yes unlocking the bootloader will delete data. not sure if kingo Root will though.
4.nope
5.no you are good. this is your thread so that's up to you.

edit: sorry i did not respond sooner. had a super busy week.

Help Is installing Rocket Player safe?

This is a nine year old thread so it's important to keep in mind that apps and how they're developed and supported has changed quite a bit since then, and Google's Play Store as evolved (or devolved to appease the Google haters out there) into a very different repository. Also, app Permissions are very different now than when KitKat and Lollipop were the current versions on our devices at that time.

Filter

Back
Top Bottom