iPhoneでWAP
1. /private/var/preferences/SystemConfiguration/preferences.plistを一部変更:
<key>Interface</key>
<dict>
<key>DeviceName</key>
<string>ip1</string>
<key>Hardware</key>
<string>com.apple.CommCenter</string>
<key>Type</key>
<string>com.apple.CommCenter</string>
<key>UserDefinedName</key>
<string>com.apple.CommCenter (ip1)</string>
</dict>
<key>Proxies</key>
<dict>
<key>ProxyAutoConfigEnable</key>
<integer>1</integer>
<key>ProxyAutoConfigURLString</key>
<string>file:///private/var/preferences/proxy.pac</string>
</dict>
<key>UserDefinedName</key>
<string>com.apple.CommCenter (ip1)</string>
<key>com.apple.CommCenter</key>
<dict>
<key>AllowNetworkAccess</key>
<integer>1</integer>
<key>Available</key>
<integer>1</integer>
<key>Setup</key>
<dict>
<key>apn</key>
<string>mailwebservice.softbank.ne.jp</string>
<key>password</key>
<string>qceffknarlurqgbl</string>
<key>username</key>
<string>softbank</string>
</dict>
<key>Version</key>
<integer>1</integer>
</dict>2. /private/var/preferences/proxy.pacを設定:
function FindProxyForURL(url, host)
{if (isInNet(myIpAddress(), “10.0.0.0”, “255.0.0.0”))
return “PROXY sbwapproxy.softbank.ne.jp:8080”;
else
return “DIRECT”;
}3. UserAgentは何でもいいけど(705NKのUAだとイマイチ):
SoftBank/1.0/708SC/SCJ001 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1
