SHARE
TWEET

Untitled

a guest Jun 18th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. try {
  2.         String line;
  3.         String getCommand = "ip neigh show dev wlan0";
  4.         Process p = Runtime.getRuntime().exec(getCommand);
  5.         BufferedReader input =
  6.                 new BufferedReader
  7.                         (new InputStreamReader(p.getInputStream()));
  8.         while ((line = input.readLine()) != null) {
  9.             Log.i("value1",line);
  10.         }
  11.         input.close();
  12.     } catch (Exception e) {
  13.  
  14.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top