
Cow mooing
One of my first applications was just approved by the Apple Store last night. Woo-hoo!
Pushtone 1.0 is an app for sending hilarious alert sounds to an iPhone or iPod touch. If you’re offended by movies such as Wedding Crashers, Animal House, or comics like Chris Rock… this isn’t for you. If not, grab two iPhones or iPod touches, and pushtone to your heart’s content. Your phone never sounded so inappropriate.
I wanted to experiment with the new Push service, play with images, sounds, animation effects, table views, registration, XML feeds, backend servers in the cloud, embedded feedback through email, SMS gateways, and more. This little app packs a lot. The hard part was making it really easy and viral.
Registration? Its automatic. Sending a pushtone? Three taps. Tap once to get a list of pushtones. Tap a second time to choose a Pushtone. Tap a third to send it to yourself, or tap the phone number and quoted saying to send them to a friend.
The SMS gateway was an interesting challenge. Carriers are more than happy to let us send SMS and MMS messages from a cloud server. You just have to pay for it. Handsomely. Think a nickel an SMS, thirty cents per MMS.
I found a database of over 300,000 phone entries, held by an obscure US Government agency. By law they publish a list of all phone number “sets” and who owns them. A set is defined by the first 3, then the next two digits in a 10-digit phone number. This works pretty well. However, the agency hasn’t yet figured out how to track numbers that were ported.
For example, suppose you first had 914 555 2345 on Verizon. If you bought an iPhone and wanted to keep your number, the phone companies “port” your number from Verizon to AT&T. So, even though Verizon technically owns the set of numbers 914 55x xxxx, they’ve made an exception for you, 914 555 2345, and given it to AT&T. These are apparently not reported to the agencies.
The end result is that the database is mostly accurate — except for ported numbers. I mapped that database to the known email gateways, then send the SMS by sending an email to the appropriate carrier gateway, using their addressing format (e.g. Verizon would be 91455552345@vtext.net).
Filed under:
Apps by admin