Hello,
i did save png and pdf file in Sqlite successfully. but when i retrive png and pdf data from sqlite and trying to display in Webview its create a problem.
for exp
NSData *data = [[NSData alloc] initWithBytes:sqlite3_column_blob(selectstmt, 1) length:sqlite3_column_bytes(selectstmt, 3)];
[webview loadDat...
I am trying to implement a control to edit text that will display the text in multiple colors. None of the solutions I have attempted yet have been good enough.
UITextView cannot accomplish this. All of the text must be the same color.
Using CoreGraphics to draw the text does not allow the text to be selected.
Using a UIWebView, DIV ...
I have an iphone (jqtouch based) web app that uses cookies for authentication. The use flow is as follows :
user goes to the mobile landing page and is instructed to save the page as a bookmarklet on their home page.
they launch the bookmarklet to go to a login page to login and get a cookie.
the cookie works and they can navigate thr...
How do you check if the user browsing my website is using an iPhone, and then redirect the user to another URL?
...
I'm playing around with jQTouch to create a web app on the iPhone.
I'm using the scrolling extension to create the effect of a fixed toolbar on the top of the page while still able to scroll the rest of the page via a scrollable div.
Everything works fine except for when a user pulls up the keyboard in order to fill in form elements in...
Know if it's possible to access the iPhone compass in Safari using JavaScript? I see how the GPS can be accessed, but I can't figure out the compass.
Thanks, as always!
...
Hi,
I have a very simple HTML page with this META tag for the iPhone:
<meta name="viewport" content="height=device-height,width=device-width,initial-scale=1.0,user-scalable=no" />
Using the iPhone Safari, when the page loads in portrait mode it looks fine and the width fits the screen.
When I rotate the iPhone to landscape mode the we...
For creating an offline version of a bunch of linked web pages I use an app.manifest-file that lists all the web pages for offline caching.
I would like it that the app.manifest file is not fetched every time when a user jumps from one web page to another. Most of the web pages will never be updated once the application is on the iPhone...
I'm running Apache2 on Debian 5. I only want it to redirect when someone visits a certain page. Maybe something in JavaScript?
...
Can someone please shed some light on how I would get this to work:
http://www.icab.de/blog/2009/08/18/url-filtering-with-uiwebview-on-the-iphone/
I tried making the "FilteredWebCache.h" and "FilteredWebCache.m" files in my project, but it said that "FilterManager.h" did not exist. What am I meant to do with those files?
This I put in ...
I'm using Google appengine for developing an web application that is meant to be used on both the browser and iphone. I have purchased a domain name for this application, so that I have a pretty URL. I've used the User API for authentication. This works just fine on desktop browsers and iPhone Safari.
The user could add the application ...
We are working on an online mobile video app.
The videos we want to play on mobile phones are being generated by a server, as there can be dynamic content in the server (based on user input).
Now for iPhone we would like to play the video in the best possible resolution based on the connection speed at the time of downloading the movi...
I am opening an html page in web view and By Clicking an html link i want to open the given link in to web browser and my application should close.
...
I wrote a few iPhone apps using Core Data for persistent storage. Everything is working great but I would like to add the ability for users to back up their data to a PC (via WiFi to a PC app) or to a web server.
This is new to me and I can't seem to figure out where to begin researching the problem. I don't want to overcomplicate th...
Hi all
i want to know there a limitation in size for an iphone to display an image? as the resolution of iphone is 320*480 px. i am developing an app which fetches photos from an URL and that URL contains some photos os size > 600KB.So when i launch the app in simulator it behaves properly but in device the application crashes as soon a...
To clarify the weird title. I am trying to use figure out if there is a way, either by javascript or some other means, when the user is presented with a standard text keyboard to listen for the keyboards action like 'GO' or 'Search'. This button is in the bottom right corner of the keyboard used in Safari on the iPhone. This is NOT a ...
Hi all.
In my iPhone app I'm using a UIWebView to allow the user to browse to an XML document on a website. When the user has found the xml document they want, they click a button below the UIWebView. Then I try to read the contents of the XML document from the UIWebView using:
NSString *xml = [webView stringByEvaluatingJavaScriptFromS...
Hi, I am trying to send method invocations from JavaScript to Objective-C and vice versa. Everything works fine for window.location triggered urls, which are catched by shouldStartLoadWithRequest. Now if I try to use an AJAX call instead, shouldStartLoadWithRequest is not called.
Is there a way to do this? Mainly I do not want to be rest...
Hi there,
I am some real trouble getting the transitions working for my iPhone site, I am trying to add the 'flip' transition using,
<a class="button flip" href="#about">About</a>
However I get no flip transition nor do is navigate to the about anchor, here is my HTML,
<!DOCTYPE html>
<head>
<meta name="viewport" co...
Hello!
I'm developing a site for mobile devices (such as iPhones and Androids). And I would like to have a scenario when user clicks a button and hears a sound from audio-file (.wav for example). Is it possible to achive it somehow?
Thank you for your help!
...