Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: Convert your WebClip to an App
09-05-2008, 02:55 PM #1Convert your WebClip to an App
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.
Create a shell script that contains the following: (I called mine SeeqPod.sh)
openURL http://www dot seeqpod dot com (or other site)
NOTE: Obviously, use the . instead of dot
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">
NOTE: the xxxx above is (I believe) a unique identifier for your application source.
Create a directory on your PC called SeeqPod.app
Place the following files into the SeeqPod.app directory:
Info.plist (that you created)
icon.png (the icon that you want to use for this app)
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/
Change the permissions of the SeeqPod.sh file to allow execution.
chmod +x SeeqPod.sh
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)