Digital Offers: Secure your devices with SaferVPN for just $49

Using publicly available Wi-Fi can be amazingly convenient. But, it’s also fraught with security issues. Connecting to an unsecured public Wi-Fi hotspot makes you vulnerable to hackers who can gain access to all your passwords, banking information, and anything other private information. If your phone automatically connects to available Wi-Fi…

read more

Scan Devices IP connected in WiFi network

Example to scan connected devices within the same WiFi network, using InetAddress.isReachable(). package com.blogspot.android_er.androidwireless;import android.content.Context;import android.net.wifi.WifiManager;import android.os.AsyncTask;import android.os.Bundle;import android.support.v7.app.AppCompatActivity;import android.widget.TextView;import java.io.IOException;import java.net.InetAddress;import java.net.UnknownHostException;import java.util.ArrayList;public class MainActivity extends AppCompatActivity { TextView tvWifiState; TextView tvScanning, tvResult; ArrayList<InetAddress> inetAddresses; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); tvWifiState = (TextView)findViewById(R.id.WifiState); tvScanning = (TextView)findViewById(R.id.Scanning); tvResult…

read more