playTrack - PocketTouch.framework, CLI app (with arguments)

Discussion in 'iOS Development' started by SkylarEC, Sep 15, 2008.

  1. SkylarEC

    SkylarEC Super Moderator Emeritus Staff Member

    Joined:
    Sep 19, 2007
    Messages:
    6,642
    Likes Received:
    129
    I've just whipped up a little ditty that is an introduction into using the PocketTouch framework. It should be available on cydia any minute now. Or, you can download the application directly from: http://www.touchrepo.com/Multimedia/2.0/playTrack1.0.zip If you manually install, make sure that you have the PocketTouch framework installed from Cydia before use. Extract that zip and place the binary in /usr/bin/

    What the application is is a method to change the track using the command line. The average person may never use this (or see this in Cydia, of there are filters set).

    In SSH or terminal, type
    • playTrack --next
    • playTrack --previous
    • playTrack --random

    The application uses the exact same code as PocketTouch.app. In fact, PocketTouch.app will acknowledge changes made via playTrack on the command line. Try it

    Please Register or Log in to view images

    !

    More Info: http://www.touchrepo.com/depictions/playTrack.html
    Source Code: http://www.touchrepo.com/source/playTrack1.0SourceCode.zip



    EDIT You're going to need these, lol.
    PocketTouch.framework headers: http://www.touchrepo.com/source/PocketTouch.framework.headers.zip
  2. overkill305

    overkill305 New Member

    Joined:
    Mar 23, 2008
    Messages:
    82
    Likes Received:
    1
    Device:
    iPhone 3GS (White)
    Sounds cool
  3. cacman93

    cacman93 Banned

    Joined:
    Jul 13, 2008
    Messages:
    1,061
    Likes Received:
    0
    Device:
    iPhone 3G (Black)
    hey skylar, i got a q, whenever i install pocket touch from cydia, it never shows on by springboard, i am on 2.1 and i have tried deleting the installation thing, but to no avail, I think the repo is pretty messed up.
  4. Steaps

    Steaps New Member

    Joined:
    Oct 24, 2007
    Messages:
    5,074
    Likes Received:
    41
    Device:
    iPod touch
    I love when developer's release source code. Makes the [developers] world go round, faster.

    Please Register or Log in to view images

  5. spoonforknife

    spoonforknife Retired Moderator

    Joined:
    Nov 15, 2007
    Messages:
    6,896
    Likes Received:
    317
  6. rileyman

    rileyman Banned

    Joined:
    Jan 26, 2008
    Messages:
    1,239
    Likes Received:
    0
    Device:
    3G iPod touch
    lol no offense skyler but y would u waste ur time on this!!
  7. spoonforknife

    spoonforknife Retired Moderator

    Joined:
    Nov 15, 2007
    Messages:
    6,896
    Likes Received:
    317
    You're an idiot, every post I've seen of yours is criticizing people for doing good work because you're too busy posting ASCII art pedobears and making that irritatingly long signature.

    This is so other developers can expand their skills, learn, it's a framework for other applications (i.e. WebTouch), and a bunch of other amazing things.
  8. Cyanidepoison

    Cyanidepoison Active Member

    Joined:
    Jan 18, 2008
    Messages:
    1,076
    Likes Received:
    2
    This actually has some pretty cool uses.
  9. MrCrawley

    MrCrawley New Member

    Joined:
    Apr 5, 2008
    Messages:
    338
    Likes Received:
    1
    Maybe Skylar you may add full functionality to it i mean pause stop, volume it rocks.
    it's a geeky way to do simple things lol Like verbose mode BTW: is there a way to use verbose mode in 2.0.X yet?
  10. Blaze_Blaster

    Blaze_Blaster Member

    Joined:
    Jan 17, 2008
    Messages:
    557
    Likes Received:
    1
    Device:
    iPod touch
    Because maybe some people need it for there app >.> no one asked you to download it..

Share This Page