I'm trying to build a mobile-safari/iphone web-app using jQuery code I already wrote for the desktop version of the app. The problem I'm having is that when my phone goes to sleep with the web-app running, when I wake it up (slide to unluck) the JavaScript event handlers no longer function. In this case meaning when I click on a link t...
Hello
I have a code that will detect if the are a iphone or not.
private static string ua = HttpContext.Current.Request.UserAgent.ToLower();
public static bool UserAgentiPhone()
{
if (ua.Contains("iphone") || ua.Contains("ipod"))
{
return true;
}
return false;
}
I have thi...
I am a web developer and I want to move my web products to iPhone. One of the products is like Google Maps: show map on the phone screen, you can drag or resize the map and view some information that we add to the map.
I know there are some technologies that enables you to use HTML, CSS and Javascript to develop native iPhone apps. I'v...
I'm developing a website for intra company use; most of the users will have iPhones. There are several dropdownlists which can have hundreds of choices (for example, a vendor list); with a keyboard this isn't a problem because you can just type the first characters of the required value and zoom in. With the iPhone you get that very cl...
Is it possible to make my own website as iPhone friendly format when user launches my website in an iPhone browser?
Currently if i launch my website in iPhone, it doesn't look more readable and i need to zoom it to see clearly. If i want to provide my website link will be more clear and readable with bold fonts and buttons ( moreover it ...
I am working on an animated, interactive graph using raphael that I need to work well on the iPhone. I have 2 minor rendering issues that I'm struggling with.
The first is that whenever you click on an svg element that has a click handler attached, mobile safari draws a transparent gray box around it to indicate what was clicked. It's t...
Hai all,
In my iphone project i need to pass the user name and password to a web server,previously i pass data using GET method and used the url with GET format (eg: localhost:8888/login?userName=admin&password=password ) but now i need to sent this as a POST data,
can any one help me to find what wrong in this code below ?
code i tr...
I am creating a web form for uploading small movie clips to a HTTP server. However, while my HTML file input control gets shown on an ipod touch, the button is completely disabled and I cannot click it to upload files.
What do I have to do to use the input control to upload files (e.g. movie clips or pictures) to my HTTP server. My page...
In app mode, if I open a new window using javascript, the newly-opened window cannot close itself (on an on-click event) using the standard window.close() or self.close(). Does anyone know if there's an alternate method?
What I find most beguiling about this is that it goes against Apple's very own design guidelines: essentially a site...
Im trying to allow copying of text in an HTML page on an iPhone.
Ive tried putting in some text inside a <p> and it works if the text is static, but when i try to add text dynamically (using jQuery), the 'copy' option never pops up. Any suggestions?
...
In iPhone web applications you supposedly can define a custom splash screen that will appear while the site is loading (when loading the site from a saved bookmark icon on the home page). The point is to make the web app startup experience feel a lot more like a real iphone application.
I believe the syntax is like this:
<link rel="...
Hi All,
I am new to the iphone development and have to develop a multivew application for the same.
I want to do the following:
On click of a button in the main window; we have to open a new view that has a toolbar with items & a tab bar in it; with some text data in between from a service.
If the user click on any of the toolbar ite...
My company would dearly like to have an iPhone app which, among other functions, could capture a customer signature. A web app would be ideal but unfortunately, Mobile Safari doesn't appear to allow mouse movements to be captured by javascript. It traps them for screen manipulation. So my question is in two parts:
Is there any way a...
Hello,
i am busy with a chatbox that contains MySQL, AJAX, PHP and Javascript.
Now i want to have this on my iPod Touch/iPhone, so i am building a website with iWebKit.
The following codes i provided is done now; just asking why it does not display the chatbox itself (so not the senders) after more than 2 lines are entered... What code...
I'm collecting latitude and longitude from Mobile Safari with some JavaScript code. After collecting the information from the browser, I want to update the location with an AJAX request. Is there a helper or otherwise simple way to do this with Rails/Prototype or will I have to do an XMLHttpRequest? I only see link_to_remote, periodicall...
When someone accesses a site via a WebView in an iPhone app, is there a reliable way (JavaScript or server-side) to tell what app is being used? It seems like the user agent string can tell me if it's from Safari or not, but not what precise app is being used if it's not Safari, unless a custom user agent has been specified by the app's...
Hi,
I've developed an application that is currently in the app store weighing in at just over 400MB. The main reason for this is that the app features lots of video which at the moment is baked into the binary.
For our next release we'd like to externalise this video, allowing the user to download the videos they'd like to keep on-dema...
I have made an iPhone friendly version of my site, that I want to direct my users to.
The big question now is how to direct my users to this site. There are a few alternatives:
Redirect the user based on the user agent, e.g. if the user agent sent by the browser contains "iPhone" or android or whatever.
If the user agent matches the a...
Does the iPhone browser have special events that I can hook into with Javascript? For instance, if the users slides to the left, I would like to perform a certain action. If there are events like this available, it would be nice to see a reference for all of them. ideally, there will someday be a standard for all touch-screen mobile b...
Can iPhone web apps request and get the GPS position or do you need to use full-blown apps for this?
...