How can I write an ASP.NET (C#) application that will render a page can be permanently cached on the iPhone when it is bookmarked as a "Homescreen Icon"? I have tried setting this on the code behind "Response.ExpiresAbsolute = DateTime.MaxValue;" but to no avail. The server code is still executed every time the home screen icon is laun...
I am trying to build an iPhone web application using ASP.NET. The page is dynamically rendered once for each visitor. At this point the page can be bookmarked and it will never change again for that visitor. For this reason it should be cached locally from that point on so the application will run if referenced from the bookmark even if...
In an attempt to hide the Safari UI components for an web-app bookmarked as a Homescreen Icon. I am using this meta tag
<meta name="apple-mobile-web-app-capable" content="yes" />
as specified on iPhone Dev Center but the address bar and toolbar are still there when launched from the home screen icon. What do I need to do different? ...
I read the tutorials for web applications and the special rules you can put into style sheets. Are folks finding they can just tweak their style sheets to serve up content to iPhones or do they deliver custom iPhone specific pages? would you bother with this if you were going to create a specific page anyway for mobile users ? (even if ...
I recently did the Chris Coyier tutorial from the css-tricks.com weblog #38: Basics & Tips on Designing for the iPhone. Needless to say I got very excited and suggested to a guy that I do some code monkey work for that we could now offer iPhone websites to his clients. He said cool, but what about other mobile devices? good question. So ...
What is best way to show Date Picker for iPhone based Web Application. Can we show something like iPhone native date picker like shown below in web application:
...
I am looking for more iPhone developers who are actively posting to their blog and/or Twitter. I have been learning a lot from books but the online resources beyond Apple's developer site have been hard to find.
Please let me know if you are doing iPhone development. You can see my comment on Twitter here...
http://twitter.com/offwhite...
I want my website to change its layout according to the device positon. The site has 2 layout types: vertical(height > width) ang horizontal(width > height).
do you see any solution?
upd: I don't see any complexity in changing the site layout. I want to know is there any event to handle.
p.s. will iphone's browser change its orientatio...
I am new to developing on the iPhone so am sorry if this is an easy question, but it has had me stumped for a little while.
Basically the app displays data retrieved from an XML feed. In that feed is an element that contains the path to an image. eg http://www.myserver.com/myimage.jpeg.
I want to be able to display that image in the li...
I ask this because I am on the verge of diving into iPhone development and I have been intently following the iPhone related questions here.
This question:
http://stackoverflow.com/questions/566265/retrieving-current-local-time-on-iphone
has a comment which asks "are you creating iphone web app or iphone app" and my question is, is t...
Hi, I've written an iPhone app and only tested it with the simulator as I don't have an actual iPhone. If I Build and Go, I can see the app running. But if I go to Finder and then open it through the project's build folder, it just crashes immediately. Does anyone know the reason for this?
...
Are there any resources or guidance out there on how to make iPhone friendly web applications?
In my case specifically, I'd like to use ASP.NET MVC, but since that all runs on the server, I know it'll boil down to just markup/css/javascript considerations.
edit: as I find other resources not mentioned here, I will update the question t...
I am looking to determine whether an internet connection is available on the iPhone. It doesn't matter for the app whether it's wifi or EDGE or whatever.
Using the code from the SeismicXML example doesn't seem to work and the Reachability example code from Apple seems like overkill for the app...
Is there a quick and easy way to deter...
I’d like to apply a stylesheet exclusively to the iPhone, without doing browser sniffing (via the user-agent string) on the server or via JavaScript.
I particularly don’t want Internet Explorer to apply the stylesheet. Apple’s suggested code for applying an iPhone-specific stylesheet, i.e.:
<link media="only screen and (max-device-widt...
I am trying to use Aptana to build an IPhone web application. I've never use Aptana. I downloaded the iphone support and started a new project. It is now asking me if I want to import a javascript library and lists the "big ones." Will IPhone's Safari be able to use these, specifically jquery? I saw that jquery had a special iphone ...
I'm trying to server HTML Javascript and CSS content from an iPhone application's local resources, and I'm having trouble handling onOrientationChange events and including external Javascript.
I seem to be able to link in CSS properly but not javascript. I'm trying to use the following example of handling onOrientationChange (How to bui...
HI all,
i am a newbie in iphone app development....
i have tried on XML parsing and done it pretty well....
but now am facing problem in generating XML for my view....
let`s say i have a view which has a text view with some content in it...
can i generate an XML for it....
does iPhone SDK has some API to perform it ??
Thank for any sugg...
When I rotate my iPhone into landscape mode, the iPhone automatically bumps the text size up.
What is the best way to prevent this? I'd like rotation to give the visitor more text to read, not a larger font. Is JavaScript like this the only way to go?
...
I have a server-side php-script that fetches results from a MySQL table. I am trying to retrieve these results from within an iPhone OS app. I am using the following method:
NSURL *myURL = [NSURL URLWithString:@"http://www.someurl.com/login.php?id=anid"];
NSArray *sqlResults = [[NSArray alloc] initWithContentsOfURL:myURL];
//Show me wh...
I am trying retrieve data from a .php file on a server from within an iPhone OS app. In one method, I employ the following code:
NSString *aString = [[NSString alloc] initWithContentsOfURL:aURL encoding:anEncoding error:nil];
//See what I got
NSLog(aString);
When I run the App it seems like the App runs through the code so fast I dou...