News for hackers. Stuff that matters.
Re:Handy Light: Tethering App Camouflaged as Flashlight by gmurphy on Tuesday July 20, 2010 @10:09PM (#1534118)
Here's the source to one that doesn't require flashlight shenanegans: http://wiki.github.com/tcurdt/iProxy/
Re:Handy Light: Tethering App Camouflaged as Flashlight by gojomo on Tuesday July 20, 2010 @10:31PM (#1534157)
Indeed -- any iOS developer ($100/year) can install this on their own phone, and give it to friends (by using one of the limited number of test-device registrations), without jailbreaking.
Re:Handy Light: Tethering App Camouflaged as Flashlight by pmjordan on Wednesday July 21, 2010 @05:17AM (#1534726)
It's rather annoying to give to your friends though, as you have to re-sign the code once a month and dish out binaries to everyone again. Plus, you'll run out of device codes quickly if you use your dev account to build apps for clients (whose devices you need to register too).
Re:Handy Light: Tethering App Camouflaged as Flashlight by ROFISH on Wednesday July 21, 2010 @07:56AM (#1534941)
You just need to give a new mobileprovision file every three months, no need to update the app unless necessary.

I've always found it to be quite weird that the App Store is so closed, but a person with a developer certificate and MobileProvision can install whatever he wants and can do whatever he wants so long as the apps are codesigned. $99/yr is less than a couple coffees a month (or a good sushi plate) and way less than your phone bill, and is quite worth it for the bored hacker who wants to keep the warranty.

Re:Handy Light: Tethering App Camouflaged as Flashlight by w1ntermute on Wednesday July 21, 2010 @11:01AM (#1535354)
Wait a second, isn't the AT&T tethering plan $20/month? That makes becoming a developer a much cheaper way of getting tethering.
Re:Handy Light: Tethering App Camouflaged as Flashlight by wallflower on Tuesday July 20, 2010 @10:30PM (#1534154)
And, no, it's not possible to modify it to run in the background like Pandora because background networking/radio kills battery life.
Re:Handy Light: Tethering App Camouflaged as Flashlight by gojomo on Tuesday July 20, 2010 @10:36PM (#1534167)
Not directly, but -- if Pandora can make a fresh HTTP request out for each song-reload, could a not-quite-SOCKS proxy app make two outbound requests and relay traffic between them? Then, with some additional support on your laptop -- maybe just netcat in a loop -- things might work well enough for browsing.

Or could some novel proxy otherwise keep alive a tunnel to another machine in the background? The latest iSSH app says it can keep a session alive for 10 minutes in the background -- though it's not clear if it can relay significant data while backgrounded.

Re:Handy Light: Tethering App Camouflaged as Flashlight by wallflower on Tuesday July 20, 2010 @10:58PM (#1534196)
Looks like iSSH is using beginBackgroundTaskWithExpirationHandler. So, yes, it's possible it would run for up to 10 min. in the background but my guess is the watchdog would kill the SOCKS app for taking up too much CPU time for a bg process and/or network access would be killed intermittently.

http://developer.apple.com/iphone/library/documentation/uiki...

"This method lets your application continue to run for a period of time after it transitions to the background."

Re:Handy Light: Tethering App Camouflaged as Flashlight by gojomo on Tuesday July 20, 2010 @11:24PM (#1534247)
What method(s) do you think Pandora is using to stay alive more than 10 minutes, intermittently fetching additional megabytes of music?
Re:Handy Light: Tethering App Camouflaged as Flashlight by sirn on Tuesday July 20, 2010 @11:48PM (#1534284)
Pandora is using Background Audio API, isn't it? If so, the app is able to stay alive as long as it still play music. Background Task API, on the other hand, has 10 minutes time limit.
Re:Handy Light: Tethering App Camouflaged as Flashlight by gojomo on Wednesday July 21, 2010 @12:08AM (#1534319)
That appears to fit the bill. From reading here...

http://developer.apple.com/iphone/library/documentation/iPho...

...it sounds like a background audio app could do arbitrary other things while remaining unsuspended, and receiving audio callbacks, as long as it also keeps playing audio. (I'm sure Apple would frown on such behavior, and ultimately thwart it, but it seems like the framework gives enough discretion to the app to do other things.)

Re:Handy Light: Tethering App Camouflaged as Flashlight by wallflower on Tuesday July 20, 2010 @11:55PM (#1534297)
http://cocoawithlove.com/2010/03/streaming-mp3aac-audio-agai...

My guess is Pandora has some fairly sophisticated server-side streaming that responds to ACK/FIN-type feedback from the iPhone client.

Re:Handy Light: Tethering App Camouflaged as Flashlight by DenisM on Tuesday July 20, 2010 @10:20PM (#1534134)
thanks, gmurphy!