1. smoen02's Avatar
    Apologize if this info has been posted before, but I searched and couldn't find it.

    After installing Categories, I put several icons in my "Music" folder, but couldn't put SeeqPod in there as it is a WebClip. This little tutorial will show you how to to convert a URL to an application, and have it ACT like an application.

    You will need:
    1) Erica Sadun's openURL utility on your phone (found in Cydia)
    2) and be comfortable with SSH, Putty, etc into your phone

    Note: I didn't make this up ALL by myself, I actually used SwapItunes as a template.

    Step 1:

    Create a shell script that contains the following: (I called mine SeeqPod.sh)

    #!/bin/bash
    openURL http://www dot seeqpod dot com (or other site)
    exit 1

    NOTE: Obviously, use the . instead of dot

    Step 2:

    Create an Info.plist file that contains the following:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>CFBundleDevelopmentRegion</key>
    <string>en</string>
    <key>CFBundleExecutable</key>
    <string>SeeqPod.sh</string>
    <key>CFBundleIdentifier</key>
    <string>com.xxxx.SeeqPod</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>SeeqPod</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>0.9</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleVersion</key>
    <string>0.9</string>
    <key>SBUsesNetwork</key>
    <integer>1</integer>
    </dict>
    </plist>

    NOTE: the xxxx above is (I believe) a unique identifier for your application source.

    Step 3:

    Create a directory on your PC called SeeqPod.app

    Step 4:

    Place the following files into the SeeqPod.app directory:

    SeeqPod.sh
    Info.plist (that you created)
    icon.png (the icon that you want to use for this app)

    Step 5:


    SSH/Putty/WinSCP into your phone, and copy the SeeqPod.app directory from your desktop to your phone, under the directory /var/stash/Applications.XxXXX/

    Step 6:


    Change the permissions of the SeeqPod.sh file to allow execution.

    chmod +x SeeqPod.sh

    Step 7:

    Respring and enjoy


    For ONE-TOUCH Dialing ----

    I have also used this method to have a "poor man's" one-touch dialing system. In your shell script, instead of openURL http: use "openURL tel://555-555-1212. You will then have an app that, when pressed, will call the number in the script.

    Personally, I also "badge" the icon with an H (Home), C (Cell) etc using the following (from the PuTTY command line)

    badge CallHome H<enter> (with CallHome being the name of this "app"

    To remove the badge if you don't like it, key in

    badge CallHome <enter>

    NOTE: the badge command is part of Erica Sadun's utilities.

    I hope this has been clear. If you are not familiar with SSH, basic *nix commands, you might want to find someone to do this for you.

    NOTE: If you do this, it is at your own risk. I take no responsibiltiy, etc, etc, etc. It works great on my phone (8G 1st Gen, 2.0.1, JBroken)
    2008-09-05 11:55 PM
LINK TO POST COPIED TO CLIPBOARD