Android Wake On Lan in Java

i’m trying to make a Wake On Lan application in Java (for Android), so I searched, and found this code: import java.io.*; import java.net.*; public class WakeOnLan { public static final int PORT = …