depicus

changing the digital world one bit at a time...

Blants (noun) the rants of a blogger

  1. Android: Getting the Wifi Ip Address

    May 1, 2011 by The Man

    This is how to get the ip address of your Android phone.

    WifiManager myWifiManager = (WifiManager) getSystemService(WIFI_SERVICE);
    WifiInfo myWifiInfo = myWifiManager.getConnectionInfo();
    int ipAddress = myWifiInfo.getIpAddress();
    System.out.println("WiFi address is " + android.text.format.Formatter.formatIpAddress(ipAddress));
    

    Make sure you also add

    to your Application Manifest.


  2. Testing UDP in the Android Emulator

    April 30, 2011 by The Man

    Well it looks like my Android HTC Wildfire is fucked…. looks like receiving UDP broadcasts does not work according to this

    So it’s off to the emulator to test there … ugggh.

    1. First telnet localhost 5554 to get you to the emulator console
    2. Then simply redir add udp:4343:4343 to forward that port on the local machine to the emulator.

    This problem with HTC phones isn’t going to do the Android cause any good 🙁


  3. Wake on Lan for Android – updated to 1.4

    February 14, 2011 by The Man

    Nothing much exciting just added the ability to name the bookmarks like the iOS version.


  4. Wake on Lan for Android is live

    February 7, 2011 by The Man

    Well that was quick. Seems Google don’t check apps before they go live so it took only a few minutes to go live and here it is…

    https://market.android.com/details?id=com.depicus.wakeonlan


  5. Updated Wake on Lan Android app

    February 6, 2011 by The Man