iphone-web

Mutable NSHTTPURLResponse or NSURLResponse

I need to modify response headers in an NSURLResponse. Is this possible? ...

iPhone - Native App GeoLocation VS Web App GeoLocation

Here's my situation; I've built a very simple web app that looks up a users location and plots it on a Google map. Here's my code: http://pastebin.com/d3a185efd When I test it, my location is detected as being >= 500 meters from where I actually stand. BUT When I open up Google Maps or Gowalla my location is correct to within <20 me...

iPhone, Mobile Safari, YouTube ... stay on page.

Is it possible to have a YouTube video played on a web page in Safari on the iPhone, and have the 'done' button and 'video finished' event send the user back to the mobile web page they came from? Currently, it seems like i'm only able to direct them to YouTube.app to view the video ... but they then remain in YouTube.app and are presen...

How to process Reference Movie in iPhone app?

I followed Apple tutorial, Apple - QuickTime - Tutorials - Reference Movies, to create reference movie in my web site. In summary, "A reference movie contains pointers to alternate data rate movies--that is, multiple versions of the movie designed for downloading at various data rates". In my app, I use MPMoviePlayer and provide it wit...

Is there a method to programatically add a website shortcut to the iphone?

I am looking to add a button to my website which easily allows people to turn the site into a shortcut on their phone. I'm looking to automate the actions shown here: http://www.simpleleapsoftware.com/blog/how-to-create-shortcuts-iphone-ipod-touch-115 for my users, specifically for my website. I'm open to any alternative ideas of makin...

Creating a error-handling UIView Overlay

I have a Tab Bar controller inside a Navigation controller. I want to create a view, with a single 320x411 image (leaving the status bar, and the tab bar). The image is shown for a network connection error. Currently I'm using this code, in the tab bar item's individual view's viewDidLoad: if (appDelegate.hasInternetAtStart == NO) { ...

The easiest way to build and deploy an iPhone application that just points to my web app

I just want an icon on my users iPhone that takes them to my web applications. This is more of a bookmark than an actual application :) Is there a quick and easy way to do this without having to mess with Objective C? Also can I avoid the app store for my deployment? ...

How to add locationPreview icon of the certain location in iPhone app?

Hi guys, I was wondering if it is possible to add an icon (or image) with selected location like it is shown on the attached picture (left top corner) to my app? Maybe such an image could somehow be captured from Google or there is another way to deal with it? Any idea? ...

Programatically changing zoom/pan in UIWebView

I am currently investigating the potential for programatically adjusting the zoom level and on which area of the page the zoom is panned to. Is this possible either by manipulating the UIWebView or by firing custom javascript calls to the embedded browser? ...

Is it possible to integrate with autocomplete in Android / Mobile Safari from JS?

I'm currently developing a simple Javascript/HTML timetable application for use on mobile phones. The application includes a search facility that I would like to add autocomplete to, but doing so from within the DOM results in a pretty messy experience on Android (and I guess also iPhone). At least on Android, while the user is focused ...

Can I trigger a CSS event in mobile safari upon iphone orientation change?

I'm trying to figure out how to change an embedded web page when the user rotates their phone from portrait to landscape mode - basically to load a view that is better suited to the wider screen format. Is this possible to do without calling a new page from the server, i.e. to drive it from within CSS/Javascript itself? Thanks! ...

I can't get mailto links to open the Mail app from Mobile Safari when using jQTouch. What could be wrong?

Hi all, I'm developing an iPhone web app using jQTouch, and it contains a simple mailto: link to a valid email address, which should launch the iPhone mail application when tapped—but it doesn't. If I visit a "normal" web page in Mobile Safari which contains the exact same link, and tap on it, I get the expected result: the mail app po...

Iphone execute windows dll

Hi Is there a way for an iphone app to interact with an windows dll(business logic). I want to send a request to a web share which has all the dll's and get a response in return. this response can be a pdf or a url. Is it possible to do this? Or am i trying to do which is not possible? thanks ...

Compass spinning javascript problem with angle - rotate/translate

Hi i'm building a compass for the iphone, duh, just for experiment purpose and to learn how to do it, in javascript, with phonegap. now i'm already able to get the degrees, i was able to apply the deg 0-360 to a div (let's call it the "wheel") using the webkit-transform translateZ (or i could use rotate) but i have a bug: when the w...

Automatically Restart WebApp after a phone call on an iPhone

I have an iPhone WebApp that is installed to the home page. When a phone call comes in or an email is sent it brings up either the phone screen or the email screen. After the user finishes the phone call or email, is it possible to automatically bring up the same web application that was previously open? ...

iPhone unread dots on homescreen on web app icon

I'd like to know if it is possible to have unread dots on a icon of a iwebkit-based webapp. I've read this but its for native apps. Is it possible to simulate this with javascript or something? http://stackoverflow.com/questions/610172/iphone-unread-counts-on-tabbar ...

Javascript won't execute in iPhone Safari

I'm running into this issue only because I recently purchased an iPhone. The javascript for a picture carousel on my website (http://www.stuartmeyerphotography.com) won't execute in Safari for iPhone. I thought it worked on Mac Safari last I checked with a friend who had a Mac (a year ago), but now I need to go back and check that too ...

coding a web page for viewing on iphone

Now I've seen loads of websites that look great on the iphone, such as http://twitter.com and http://deviantart.com however I can't for the life of me get the right structure within my mobile web application to make it show up as if it was an iphone application. I've discovered iphone jquery ( http://jqtouch.com ) which seems to be the ...

Requesting a JavaScript property in Python (GAE)

Hello again! I'm currently making an iphone web app based on Google App Engine (python). I need to check if the user is browsing not trough safari but by the home screen. I can check this with an read-only 'window.navigator.standalone' Boolean JavaScript property as read on :http://developer.apple.com/safari/library/documentation/AppleA...

Running a Comet server implementation on a Hosted website?

Is it possible to use any of the many implementations of comet like streamhub..etc with a hosted web account from providers like GoDaddy i.e. get a domain and web hosting account from them. I want to host a iphone web application on go daddy, but i need to have comet i.e. data/ notifications pushed to my application. Any other alterana...