I am working on an android app and when an user registers an account, I want to collect his mac address in order to restrict the login for the specific user only on that device. I need a system that does not allow the sharing of the account between several people in any circumstances. I ..
Category : mac-address
I’m new to BLE and thus BLE on Android and I’m trying to understand how BLE addresses are managed by Android. Looking at different posts and android documentation, I understood that Android is enforcing LE privacy by using private resolvable addresses when advertising and scanning. I have a use case with challenging timing constraints and ..
I want to access to my factory mac address in android 10 and according to the document of android I should enable the admin permission for my app.I’ve done step by step exactly as the document.I set my admin receiver in manifest and declare a Customadminreceiver that extends AdminReceiver: public class CustomAdminReceiver extends DeviceAdminReceiver { ..
I’m having trouble getting the macaddress, as I change the router, the mac changes and I don’t know why. This is my code link public Address getMACAddress( String network ) { try { List<NetworkInterface> interfaces = Collections.list( NetworkInterface.getNetworkInterfaces() ); for ( NetworkInterface n : interfaces ) { if ( network != null ) { if ..
Recent Comments