depicus

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

Blants (noun) the rants of a blogger

  1. Wake on Lan Monitor for the iPhone and iPad

    November 19, 2010 by The Man

    First beta screen shot, enjoy…

    Update 21st Nov 2010 – Now on the App Store awaiting approval, so should be out next week at the very expensive price of FREE….


  2. iPhone App 1.3 – Forever in Review

    November 6, 2010 by The Man

    Well it’s been a week since v1.2 of the iPhone/iPad version of Wake On Lan was submitted to Apples app store. It’s the one annoying feature of the app store that you never know how long it will take. Thankfully I have been hard at work on 1.3 with more features so once 1.2 goes live I will submit 1.3. Here are a few screen shots to keep you going.

    1. The auto discovery page

    Discovery Page, current Arp Cache

    Discovery Page, current Arp Cache

    2. Doing some magic

    Doing some magic

    Doing some magic

    3. The end results

    The end results

    The end results

    And after a bit of tinkering


  3. Wake On Lan for OSX is live

    November 4, 2010 by The Man

    Well it’s not pretty but it works, will add more functionality if there is demand but for now here it is.

    Head on over to the main site to download.


  4. Because you can never trust a user…

    by The Man

    You will be surprised, or not, at the stuff people will try and type into UITextField boxes. Here is some code that uses shouldChangeCharactersInRange to a) check the characters entered and b) restrict the length and as a bonus add charachters that the user has to type.

    The field requires the user to input a mac address which is a alpha numeric field but letters are only valid up to F.

    As always this code is cobbled from other pioneers in the interweb, thanks to them.

    - (BOOL) textField:(UITextField*)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString*)textEntered 
    {
        if (textField.tag == 101)
        {
            NSCharacterSet *myMacAddress = [NSCharacterSet characterSetWithCharactersInString:@"0123456789abcdefABCDEF-:"];
        for (int i = 0; i < [textEntered length]; i++) 
        {
            unichar c = [textEntered characterAtIndex:i];
            if (![myMacAddress characterIsMember:c]) 
            {
                return NO;
            }
            if (([textField.text length] == 1) || ([textField.text length] == 4) || ([textField.text length] == 7) || ([textField.text length] == 10) || ([textField.text length] == 13))
            {
               [textField setText:[NSString stringWithFormat:@"%@%@-",[textField text],textEntered]]; 
                return NO;
            }
            int limit = 16;
            return !([textField.text length]>limit && [textEntered length] > range.length);
        } 
        }
        return YES;
    }
    

    Not perfect but better than nothing.


  5. Universal version of iDevice application submitted to the app store.

    November 2, 2010 by The Man

    The status for the following app has changed to Waiting For Review.
    App Name: Depicus Wake On Lan
    App Version Number: 1.2

    Fixed a bug when a user input Mac Address but nothing else and pressed wake up the app would crash. (Thanks Hugh)

    Fixed a scrolling issue with the list of already woken machines that would show overlay text.

    Added a bit of extra help information to the help page.

    Our coding monkey have been working full time and eating their bananas and have managed to convert the iPhone app to a Universal app which will run natively on the iPad.

    Should be live in about a week.


  6. Funny screen

    by The Man

    Am working on an update for the iPhone app but got this screen, mmm funny