Tagged Questions
0
votes
0answers
5 views
location bar not appearing in InAppBrowser for iOS, Cordova
I'm trying to load an external page in my iOS app, using Cordova. The page loads fine, but I can't get the location bar to display.
<script>
// Wait for device API libraries to load
...
0
votes
0answers
16 views
Which has higher performance in phonegap? Canvas or HTML Elements?
Imagine we want to create a cross-platform (iOS, Android, Win...) app using PhoneGap (and we are as expert as to know that native-apps has higher performance in contrast with using a framework but ...
0
votes
0answers
14 views
Interactive 2D on mobile cross-platform
I am looking to create a simple interactive 2D map as part of a bigger application. The app needs to run on Android (the more versions the better, but at least from 2.3 and up) and iOS. I have done ...
0
votes
0answers
20 views
Find image uri of last saved image in ios phonegap
Can we get image uri of last image that was saved in iphone through phonegap? Remember we are not uploading or capturing image. Just want to know which was the last image (image uri) saved on the ...
0
votes
1answer
21 views
How to search pdf content inside web view? Is there any way to convert Pdf into html so that we can search inside html?
I am using javaScript code for searching a string inside webview But this code is working for all the document except PDF? Can someone please suggest me how to search PDF content inside web view?
...
0
votes
0answers
22 views
ios icon transition effects on unlock
Without the right search term I could not find what do you call that effect on ios devices.
Is there a library, tutorial, a fiddle that actually does that transition effects on icons upon unlock of ...
0
votes
0answers
15 views
Trying To Display Google Maps in my iphone app reading coordinates from the page url
I am trying to display google maps within my iphone jquery app
the landing page is maps.html?q=-27.50862,152.938741
the q paramaters in the url change hence why i cannot hard code the values in the ...
0
votes
0answers
27 views
Javascript not working on Modal
I'm have a hybrid BlackBerry/IOS app in JQuery Mobile. I have two JavaScript functions, one to fill a drop down box and one to fill a text box depending on the value selected in said drop down via ...
0
votes
2answers
29 views
Get a javascript variable's value in iOS app
I need to access a javascript variable which is declared inside a try block in the script
var ErrorResponse = "";
in my iOS app. I don't have much idea about javascript thats why I am unable to ...
-1
votes
1answer
18 views
IPad3 iOs7 localStorage quotaExceededError
Im having this weird problem, google is no help. Getting the QuotaExceededError: DOM Exception 22 on iPad3, iOs7 7.0.4, Safari 9537.53 (version 7, WebKit 537.51.1). Just to cut out all the answers ...
0
votes
2answers
23 views
iOS: Fastest way to load and inject javascript into a webpage?
What is the fastest way to inject javascript into a webpage and run the script? Is there any way where I can load the webView without images to speed up load times in iOS? I came across the ...
1
vote
3answers
24 views
Safari on iOS, is there any event before virtual keyboard pop up?
I'm developing a iOS browser application(html + javascript), and there's something wrong with the fixed-bottom(from twitter bootstrap) feature when virtual keyboard is pop up, so I want to disable it ...
-2
votes
3answers
60 views
Can we use JavaScript for creating iPhone apps? [duplicate]
I just want to know if we can use JavaScript for creating iPhone apps. And if we can how do we do it? Do I have to become an expert in JavaScript to do that?
0
votes
0answers
14 views
IIS HTTP Authentication through ajax in Safari/iOS
I've written a javascript login page that logs you into an IIS server (not sure whether that makes a difference) using HTTP authentication.
It works on Chrome, Firefox and IE on desktop and on Chrome ...
0
votes
2answers
38 views
iOS stringByEvaluatingJavaScriptFromString is not working in a simple code
I wrote a piece of code about JS:
NSString *function1 = @"function getString(){return \"123\";}";
NSString *str = [theWebView stringByEvaluatingJavaScriptFromString:function1];
NSLog(@"str: %@", ...
-2
votes
1answer
34 views
Free MVC crossplatform solution (identical UI) [on hold]
I'd like to develop an offline application that would work on Android, iOS, and Windows Phone with the absolutely identical UI.
It is based on a Model-View-Controller architecture.
First I wanted to ...
1
vote
0answers
29 views
200s being sent instead of 304s for images in Android / IOS?
In a web-app I am making, I load in pages by appending their HTML to the DOM (via appendChild -- note that I append CLONED nodes), after a user clicks "next" or "previous" in the interface.
I check ...
0
votes
0answers
23 views
Playing background YoutubeVideo in iPhone
I tryed to background play youtube video in iOS.
Back ground audio code.
`
- (BOOL) ensureAudio
{
// Registers this class as the delegate of the audio session (to get background sound)
...
0
votes
1answer
45 views
Search clear button does not appear in iOS
I have an application that does some searches against post codes and for the most part it works fine. However, I have noticed that the clear icon which appears on the right-hand side of the field does ...
0
votes
1answer
22 views
Javascript prompt not expanding on ipad
I have an iPad running iOS6.
The javascript prompt I'm creating looks fine on computers in Chrome, Firefox, and Safari - meaning that as lines are added the prompt expands so you can see all the ...
0
votes
0answers
11 views
how to embed m3u8 with flowplayer
I'm using flowplayer but i wonder if it possible to use it to run .m3u8 media file on my ipad
<script type="text/javascript" src="player/flowplayer-3.2.13.min.js"></script>
...
0
votes
1answer
24 views
Phonegap iOS getjson not working - but working in desktop
I wrote this JSON but it doesnt execute. maybe somthing wrong with my syntax?
because it does execute on a dekstop computer, but when i run with with an iphone simulator it doesnt. :/
...
0
votes
1answer
17 views
Unwanted sliver of space to right of banner/webpage in iOS 7
Only in the Contact page of my site, there is a sliver of space to the right of the banner/webpage and it only shows up on my iPhone (I haven't checked any other mobile devices). The sliver doesn't ...
0
votes
0answers
9 views
Trigger Touchhold event with Javascript
Copying links from a Text Input is an awful way to share a link on iOS. Touch-hold, then "Copy URL" on the context menu works much better. But it's hard to communicate this usability elegantly.
Would ...
0
votes
1answer
41 views
how to call MainViewController.h methods from html / javascript ? ( IOS Phonegap)
I am new to IOS phonegap. In my application i need to send a mail from my app. So I am using "mailto" function it is working fine but the problem is after sending a mail it is not return back to my ...
1
vote
4answers
38 views
Javascript append to a specific place in an HTML string
I'm building a keypad to enter monetary amounts via touch device.
http://codepen.io/bsley/pen/hrEmK
Once the user has entered 2 digits, I append a decimal. However, once they enter 4 digits, I need ...
0
votes
0answers
36 views
How can I get the iOS status bar to *overlay* the app surface rather than pushing it down?
I am developing a Phonegap app for iOS (and others). The view is landscape only. I am using Phonegap Build with PG 3.1. I am testing on an iPad3 with iOS7. I need a solution that works not just on ...
0
votes
0answers
19 views
jQuery randomize images crashes on iPhone
I am using this code to mix up the order of the images in my slideshow and then display it:
$(".swipe-wrap").html($(".img-slide").sort(function(){
return Math.random()-0.5;
}));
window.mySwipe = ...
0
votes
1answer
34 views
can't change youtube movie quality on iPhone
I tried to change youtube video quality in UIWebView with youtube playerapi javascript.
reference
https://developers.google.com/youtube/js_api_reference
code
...
0
votes
0answers
21 views
Phonegap application text appears and then immediately disappears. How do I debug this?
Sorry if this isn't a very technical question, but I have no idea how to solve it or even begin approaching to solve it. I can't really give you any code because I don't know what modifies what since ...
0
votes
0answers
21 views
CamanJS - Mobile - Blank Canvas
I am having problems running the CamanJS script on mobile devices, i.e. iPad and iPhone's Safari / Chrome, and I've been trying to resolve it for days.
The test script is very simple:
1) Accepts ...
0
votes
1answer
38 views
External links / InAppBrowser in Cordova / Phonegap 3.3 always behave like “_self”
I'm trying to have links in a Phonegap app that open in a "closable" InAppBrowser, or at least in an external Safari occurence, not inside the Webview itself.
Using _blank, or _system always result ...
1
vote
1answer
33 views
Zooming ONLY inside img in UIWebView
Is there any way to be able to zoom images inside divs without allowing the entire page to zoom?
Currently I'm using:
<meta name="viewport" content="width=device-width, initial-scale=1.0, ...
1
vote
5answers
41 views
Convert web information to pdf information
I have an internal form that is web-based. Clients insert their information (Name and such) and sign using a signing pad (This is more than an image. It's the speed, pressure, ect of the signature).
...
0
votes
0answers
14 views
Popup Message shows message based on Mobile browser type
I have a site where I am using a Div like a iframe with horizontal scrolling . Works fine on all browsers except on iphone, ipad mobile browser where the scrolling is not visible(I think this is a ...
1
vote
3answers
77 views
Check internet connection on iOS app with Cordova Phonegap 3.3.0 not working
I have tried following this guide on Cordova docs, but it doesn't seem to work.
Here is my code:
I have added <plugin name="NetworkStatus" value="CDVConnection" /> to config.xml.
and this ...
0
votes
4answers
62 views
How do I position a button in a responsive layout, in an area that has no fixed height and position:absolute? (UPDATE)
Here's a UPDATED fiddle with my layout: http://jsfiddle.net/RDmN4/24/
HTML:
<div id="container">
<div id="header">header goes here</div>
</div>
<div ...
0
votes
0answers
25 views
Omniture / Adobe Analytics tracking breaks external links in Safari
The Omniture tracking code is breaking all external links on our site in desktop and mobile Safari. When we click or tap on any link with an href outside our own domain, Safari won't open the page ...
0
votes
1answer
25 views
Log console messages of a website when opened in safari of iphone
I have a website made in Javascript and HTML5
Hardware and software that I have
iPhone 4 (iOS 7)
Windows 7
In JS I have written some console message using Google console API.
When I open the ...
0
votes
0answers
22 views
Canvas and .remove() jquery
I am trying to create a gallery that works with touch and mouse events. On the mouse events it work perfect the problem is on the touch events. I am using spritespin for my gallery and smoothzoom and ...
0
votes
0answers
19 views
Cordova plugins are undefined
I've imported web-based project into phonegap for running on ios, android and windows phone 8.
Importing was successfully. So architecture is so, that all front-end is generated in php files and ...
0
votes
0answers
31 views
javascript string parsing in iPhone browsers
Does anyone know why this code will parse and evaluate to true when a match is found in all browsers that I've dealt with except for the iPhone version of safari?
It even works on the desktop safari ...
1
vote
0answers
18 views
Site video opens in default youtube player in Iphone [closed]
This is a direct question. When I try to play embedded youtube video in my website using iphone then videos are opened in default installed youtube player.
Is there anyway to get past this?
Can I ...
0
votes
1answer
33 views
Cordova 3.0 ios geolocation how to stop alert per screen
I've been looking around for a while now and can't find a solution. I currently have a cordova project that uses the HTML5 geolocation capabilities. The thing is it asks every time page would like use ...
0
votes
2answers
29 views
iOS: getting constantly updating information from web
So I've made an iPhone application that streams online radio from here: http://wvum.org/index.php/wvum/stream/
However, I'd like to also include in my app the information (it doesn't necessarily have ...
0
votes
2answers
22 views
Ajax call not working until user interaction in IOS
I am developing an application using phonegap and jQuery and I am facing a problem when performing ajax requests on IOS. I do the request , the php on my server receives the information and echo the ...
0
votes
0answers
23 views
playing local audio sources in javascript on ios
The following code works for the audio files on a desktop computer but on an ios7 phone only one of the audio files works. the difference between the two is that the URL of the audio file is a full ...
0
votes
0answers
21 views
JavaScript iOS 7 check if cookies are enabled
I want to check, if cookies are enabled. At first, I used navigator.cookieEnabled, but that is not the correct way for newer browsers. That's why I changed the script to this:
function ...
2
votes
1answer
623 views
Embedding a youtube video programmatically via iFrame API does not play on mobile
I need to be able to load videos in an element programmatically via the iframe api and get it to play on mobile (iOS 6, iOS 7, latest android).
Here is the javascript:
var tag = ...
17
votes
5answers
33k views
Prevent orientation change in iOS Safari
Is it possible to avoid transition to landscape view in Safari for iOS when the device is rotated?
iOS Safari has the "orentationchange" event, I tried to intercept it and disable the default ...