Re: [OT] developing for the iPhone
Re: [OT] developing for the iPhone
- Subject: Re: [OT] developing for the iPhone
- From: Mike Schrag <email@hidden>
- Date: Tue, 3 Jul 2007 12:20:56 -0400
here are the notable headers from an iPhone:
{
user-agent = (Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en)
AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/
419.3);
accept = (text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5);
accept-encoding = (gzip, deflate);
accept-language = ("en");
}
On Jul 3, 2007, at 12:00 PM, Mike Schrag wrote:
3) If you set the default request handler key to be the direct
action handler, your defaultAction will be called.
2) Just put your phone on wifi on the same network as your machine
1) search for "iPhone" in the user agent string -- i'll have the
headers for you in a minute ... I haven't checked to see if there
are custom iphone ones
On Jul 3, 2007, at 11:28 AM, Baiss Eric Magnusson wrote:
1) How do I decode the WORequest to know that it is an iPhone on
the client side?
2) Is there a "simple" way to use the iPhone against my
development environment so I can test before deploying? I could
solve (1) if I could do this.
3) Can I intercept the call to "Main", the stack crawl shows only
framework calls, I thought I got the call in
WODirectAction.defaultAction, but I don't, and I think I want a
Login WOComponent (i.e. Main) specific to the iPhone?
----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden