Android Question Help WifiVendorHal.java

FabioG

Active Member
Licensed User
Longtime User
Hello to all,

I need your help
I must be able to call this function
B4X:
    /**
     * Bring up the HIDL Vendor HAL and configure for AP (Access Point) mode
     *
     * @return true for success
     */
    public boolean startVendorHalAp() {
        return startVendorHal(AP_MODE);
    }

contained in WifiVendorHal.java
see also https://android.googlesource.com/pl...va/com/android/server/wifi/WifiVendorHal.java

but I do not know how to do it

who can help me?

Thank you
 

FabioG

Active Member
Licensed User
Longtime User
Upvote 0

FabioG

Active Member
Licensed User
Longtime User
This is not a public API so it is difficult to say whether it is possible to call it or not. You need to get a reference to the correct WifiVendorHal instance.

Thanks Erel
I asked for help for this because I need to update my app

if this is not possible
is there a way to reload the WiFi firmware? I previously did this with the root command "ndc softap fwreload AP"

unfortunately in Android 8 softap seems to have disappeared

Thanks again
 
Upvote 0

FabioG

Active Member
Licensed User
Longtime User
Upvote 0
Top