iphone-web

How do I clear the HTML5 Application Cache from Javascript?

I have implemented application caching in a web app for the iPhone, and it seems to work, both on mobile Safari and and on my desktop iMac. Using iOS4, Safari 5.0, MacOS X 10.6.4. I am using the Webkit developer tools in Safari to debug it. What is bugging me at the moment is that when I go enable the debugger and run it, the debug...

Dirty Size, VM Tracker, iPhone

Hi All, My doubt is regarding iPhone "VM Tracker" memory management tool. I have been trying out this tool with my project and found that the "dirty size" column is showing 55 MB, which is quite huge. It would be great help if someone could answers the following How could I see which variables are the cause of "dirty" size? 32MB memor...

Video stretched on iphone. How to loop movie.

Hi, I have over 1000 flv clips for education market on server side. Each clips plays for less than 3-4sec. 192x144 frame size. They play on infinite loop. Users access clips via web only - after logging into their account. Our clients now wish to access them via iphone and similar. I will convert to mp4 for this to occur. Issue ...

Designing Rich Website for Android & Iphone

My team and I are currently planning to do some Rich Web development for the android and iphone and I am wondering if you guys could share some resources with us. Anything will be welcomed. Thanks in advance. ...

asy there any way to change color of UIWebView of Iphone Application

Hi all I am using webview to display Data from RSS Feed Can I change color of WebView to Black From white. I have declare outlet in xib file named RemainingRssViewController and i am diplaying it from root view controller the code is NSString *htmlstring =[[blogEntries objectAtIndex: blogEntryIndex] objectForKey: @"description"]; ...

how to resize image comming from Xml Feed

Hi I am getting image from Xml feed and then displaying it in table cell what I want to do is to resize image to minimum size of 5kb my code is. int blogEntryIndex1 = [indexPath indexAtPosition: [indexPath length] -1]; imgstring=[[blogEntries objectAtIndex: blogEntryIndex1] objectForKey: @"image"]; NSURL *url = [NSURL URLWithStrin...

how to compress image programmatically

Hi all, I am receiving images from xml feed they are very large in size how can i compress them before displaying them in table-cell. my code is int blogEntryIndex1 = [indexPath indexAtPosition: [indexPath length] -1]; imgstring=[[blogEntries objectAtIndex: blogEntryIndex1] objectForKey: @"image"]; NSURL *url = [NSURL URLWith...

as there anyway to play flv videos in webview in iphone

hi all As there anyway to play FLV videos in UIWebView. which I am loading from website through RSS Feed. current It is playing only those Videos which are in MP4 format. ...

How do I get iPhone-sized web pages to show up the right size?

I am creating an iphone version of several pages for a website and I am using a javascript file to redirect to the correct page: <script type="text/javascript">// <![CDATA[ if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) location.replace("index2.html"); // ]]></script> The page loads fine, but it is ...

Specify an url in html for the bookmark option on the iPhone.

I am building an iPhone optimized website and when people use the '+' button on the iPhone you can add a bookmark to the website on the homescreen of the iPhone. How can I specify a url that will be used instead of the page they are on. For example, if they are in the /Foo/Bar url I want the bookmark to be /Home so they go automatic to ...

how to play encrypted video from Http Live Streaming Server

I can play video from my Http Live Server on my ihone . The server contains unencrypted video But when I try to put encrypted video on my server, I can't play them. I know I must deliver key file to client, and use the key file to decrypt segmented files which listed in .m3u8 file. But I don't know how to handle the client. what s...

JQuery Image load fails on MobiOne iPhone simulator

I dynamically update an image on a JQTouch site using the following code: $('#sv_map') .one('load', function() { $(this).fadeIn(); }) .attr('src', imgURL); Got the basics of this from here. sv_map is an image, and imgURL points to a valid, existing JPG file. This code works as exp...

Detect iPhone 3G or 3GS (and iPod touch 2G vs iPod touch 3G) in JavaScript

Does anyone know a way to detect the older set of devices: iPod touch 1G iPhone 2G iPhone 3G iPod touch 2G From the newer set: iPhone 3GS iPod touch 3G iPad iPhone 4 I have found methods to detect the iPhone 4 and the iPad (using screen size). However, is there a way to tell the iPhone 3GS and the iPod touch 3G from the iPod touc...

Iphone/Jqtouch Testing without iphone

Hi, I am developing web application using jqtouch. But I don't have iphone/ipod touch. what is the best way to test html generated out of it with jqtouch. Thanks coool ...

how to put complete website features in iphone application.

hi all. I am developing iphone version of Youtube like website. my client wants that all features that are in website which are community,groups,login etc must also be available in iphone application. any idea how should i work. i have already develop Multi RSS application but this one in which their will be database interaction al...

how to interact with database of a website in iphone application

hi all i want to add signup and login feature to my iphone web application. the user will register himself/herself to website and his data will be store in database of that website. any idea or any tutorial links for it. i have just work on RSS application so far. thanks in advance. ...

Aquiring specific characters surrounded to specific tag

A simple tool to store and display texts longer than a few lines. The search button<div id="xyz">will highlight all</div> the words matching the name of objects that are members of the classes listed in searchedClasses, itself a member of the KeySet class. The highlighted words are hypertext. I want to retrieve characters which are su...

Why does Javascript run so slow on iPhone?

I've been researching writing an app for iPhone. I really like the look of PhoneGap which basically allows you to contain a webpage in an app. My skills are primarially in HTML/Javascript so this tool allows me to make the most of my skills without having to spend many hours learning how to write an app natively for the iPhone. I've b...

Iphone safari browser taking lot of time to render charts in a dashboard

I have developed a webpage containing charts using HighCharts. It works fine on the PC safari browser, but takes a long tim to load on an iPhone. What could be the issue? ...

How to create an authentication token for a message sent to the server ?

Hey Guys, I am creating an iphone app in which I have to POST some data to my PHP server. For example I do a HTTP request like this: http:example.com/append.php?data1=X&data2=Y&token=Z X and Y are my known data and I want to calculate Z with some algorithm that takes X and Y are inputs and produce Z. So when I receive X,Y,Z in the s...