Developers! libiDeviceConnect!

Discussion in 'iPod touch 2G Jailbreak: redsn0w, 24kpwn, etc.' started by gojohnnyboi, Mar 5, 2009.

  1. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    Okay all you developers, Alaric from here on the forums, and myself have been workin on an insanely awesome library for usb connections to apple mobile devices running iphone os.

    to download it and use it(cross platform, of course), check out the source code on my website:

    http://www.gojohnnyboi.com

    -John

    EX USAGE:
    Code:
    using namespace iDeviceConnect;
    
    int MakeRed() {
    	iDeviceConnection _iPod2G;
    	if(_iPod2G.connect(RECOVERY_2_0) == iDeviceSuccess) {
    		if(_iPod2G.sendCommandToDevice("bgcolor 255 0 0") != iDeviceSuccess) {
    			return 1;
    		} 
    	} else {
    		return 1;
    	}
    	
    	return 0;
    }                
    
    that may be incorrect. it's hard to write without correct tabbing etc. developers should be able to get the point though =]
  2. iCrap

    iCrap Active Member

    Joined:
    Jan 4, 2009
    Messages:
    2,639
    Likes Received:
    4
    Device:
    iPhone 4 (Black)
    sooo.... uhh... what does it do?
  3. seanG

    seanG Active Member

    Joined:
    Dec 28, 2008
    Messages:
    1,746
    Likes Received:
    14
    Device:
    iPhone 5 (Black)
    Wow Johnny you continue to impress with the programs you make.
  4. Nathan B

    Nathan B Active Member

    Joined:
    Dec 12, 2008
    Messages:
    3,061
    Likes Received:
    0
    Device:
    iPhone 5 (Black)
    Yea, what does this do?
  5. dancool999

    dancool999 New Member

    Joined:
    Mar 8, 2008
    Messages:
    550
    Likes Received:
    0
    Device:
    iPhone 4 (Black)
    Hmm I wonder how Im going to implement this =/
  6. crizh4x

    crizh4x Active Member

    Joined:
    Sep 19, 2007
    Messages:
    4,474
    Likes Received:
    17
    Device:
    2G iPod touch
    Short answer, you aren't
  7. zeipodtouchguru

    zeipodtouchguru New Member

    Joined:
    Jan 6, 2009
    Messages:
    841
    Likes Received:
    0
    Device:
    iPhone 3GS (Black)
    Lol. Im not going to try. But very good!
  8. fastfreddy101

    fastfreddy101 New Member

    Joined:
    Jan 31, 2009
    Messages:
    276
    Likes Received:
    0
    Device:
    2G iPod touch
    soo... what does this do exacly?
  9. alyx

    alyx New Member

    Joined:
    Feb 9, 2009
    Messages:
    28
    Likes Received:
    0
    Seems like an alternative to libusb, i think.
  10. Exosion

    Exosion Member

    Joined:
    Nov 4, 2007
    Messages:
    843
    Likes Received:
    7
    Device:
    iPhone 5 (Black)
    Exactly. They have recompiled libusb to a more dev-friendly format.

Share This Page