November 11, 2011

How to do internet tethering on iPhone without iTunes

*Update* 30/7/17 : The original links below are for a very old version of iTunes and I have removed them (the latest iTunes is 12.6.2), but the steps to download and extract the files are still relevant, and the iTunes website will auto detect your system version so that you do not have to worry about 32 or 64 bit installer. Do download the latest iTunes and extract the files. Other than winrar, you can use the free opensource tool 7zip also.

One good thing about the iPhone is I can use it like a modem and share its internet connection with another device like laptop or PC. The bad thing though is I have to install iTunes or the other device will not be able to "see" the iPhone as a modem.

Or is it really so?

Actually, the good news is the bloatware (iTunes) is not required to be installed. What is required are just the drivers. So just download the latest iTunes package, use a zip program to extract the contents (I used winrar) . 

There should be a few .msi files inside. Depending on your Windows 32bit or 64bit version, you will want:
  • AppleApplicationSupport.msi or AppleApplicationSupport64.msi
  • AppleMobileDeviceSupport.msi or AppleMobileDeviceSupport64.msi

November 9, 2011

Xcode: Some thoughts on using audio

Sooner or later, you will want to have some sound effects or music in your iphone app.

I started audio experimenting using the AVAudioPlayer class (AVFoundation framework), but later tried using System Sound Services (AudioToolbox framework) too. Had some thoughts after trying out both which I will be sharing in this post.