Tagged Questions
1
vote
0answers
16 views
Verify the length of a Label after executing Javascript in UIWebView
To make this clear I'm going to divide my question.
Goal:
After executing some Javascript check the a element on the page ONCE.
What I've tried:
-(IBAction)signin {
loginRequest = YES;
...
0
votes
0answers
11 views
Is there a way to track if a weppage loaded into a UIWebView is actually being rendered and viewed?
I am building a 3rd party SDK that does in-app OAuth, by opening up a UIWebView. I want to do conversion tracking on that web flow, but to make things smoother the SDK preloads the authorize page ...
0
votes
1answer
6 views
Remote debugging Chrome for iOS
I'm trying to debug an error on Chrome for iPad. How can I do that?
Additional info:
I know how to debug Safari for iOS. I just don't have a Mac at the moment.
Is it true that I need Safari on ...
0
votes
0answers
11 views
jquery.mmenu CSS causing Mobile Safari to crash with many menu items
Any thoughts on how to fix this?
Other than the site being a bit messy (it is a development site, after all), taking the jquery.mmenu.css out of the equation (but loading jquery.mmenu.min.js without ...
0
votes
0answers
11 views
Pure javascript html parser for cloud code?
do you guys know of cloud code on parse.com. I need pure js (JavaScipt) html parser, to crawl some info from a url that I want to run on cloud code (parse.com thing). Any suggestion on how to achieve ...
0
votes
1answer
30 views
jQuery works on Chrome, Firefox, IE but not on iPhone
This code works in computer browsers but it does not work on iPhone. I will be very happy if you can see and tell me the problem. What can the reason be?
<ol style="margin: 0px; padding: 0px; ...
0
votes
2answers
24 views
Titanium IOS Picker Example
I am almost new on titanium and iOS development.
I want to know how to use Picker with DONE and CANCEL buttons selected data show in textfield.
Is there any example?
Thank you
0
votes
0answers
10 views
Do phonegap/cordova support document.execCommand?
I have an app that I am trying to build in a small wysiwyg editor that runs inside a phonegap wrapper. I have spent lots of time trying different ones and I can't seem to get it to work. I am almost ...
0
votes
1answer
17 views
On iPhone, Vimeo Javascript API .play() function doesn't work until the video has been played
I'm using SwipeView (http://cubiq.org/swipeview) to create a swipeable slideshow on touchscreen devices. This is simple enough with images, but I want to include a Vimeo video in the slideshow as ...
0
votes
0answers
9 views
How to get the current caret position in a contenteditable div in UIWebView
I want to insert a image into a contentedible div in a UIWebView.
However, in iOS 7, when keyboard shows, the UIWebView loses focus. Thus I have to record the caret position before showing the ...
0
votes
0answers
14 views
Issue with Piechart creation on ios xcode using jqplot with html css and js
I'm trying to create a piechart in my ios xcode using jqplot library along with HTML,JS and CSS. In xcode simulator I can't get any output just the alert of main HTML page is just displaying. While ...
0
votes
1answer
41 views
Sort contact by name in IOS (Phonegap) (name display in Chinese and english )
i have display all contact in screen which i want to sort by name, these all contacts in english and Chinese so when i sorted contact, all Chinese contact display at the end of the list, so any one ...
0
votes
0answers
15 views
Zurb Foundation + Owl Carousel -> IOS devices Crash
We use owl carousel for responsive swipe elements containing 1 or 2 elements depending on display size. This is embedded in a site using Foundation 5. When opening the page or swiping (depending on ...
0
votes
2answers
47 views
iOS: disable bounce scroll but allow normal scrolling
I don't want the content of my site sloshing around when the user hits the edge of a page. I just want it to stop.
The omni-present javascript solution I see everywhere is this:
$(document).bind(
...
1
vote
0answers
13 views
Rescale Image object on Cavas element while maintaining aspect ratio (iOS, Android)
I am trying to load a HTML file that does one thing: display an image on a canvas element that is auto-resized and auto-rescaled to the maximum dimensions for the device in question.
For example:
...
1
vote
1answer
24 views
Is there a way to leave a trace of read email to be read later by an app on the same device?
I am struggling with a problem that hopefully has been faced by many before. In a nutshell, I'd like to be able to provide a user with a link in an email clicking/taping of which (specifically on ...
0
votes
1answer
33 views
Using Socket.io and iPhone Accelerometer
so I currently have a JavaScript code that I run on my iPhone to pull its Accelerometer data. What I would like to do is Pass this data to my Mac Book Pro. The Variables are changing multiple times a ...
0
votes
1answer
16 views
prevent mobile safari scroll on x direction
I implemented a div in mobile safari that has the same width as the device width and larger height than the device height:
I have used this meta tag:
<meta name="viewport" ...
0
votes
2answers
33 views
Using Socket.io to pass JavaScrip Variables
so I currently have a JavaScript code that I run on my iPhone to pull its Accelerometer data. What I would like to do is Pass this data to my Mac Book Pro and use the variables in A python Script. The ...
0
votes
1answer
28 views
onPlay (or onClick?) Trigger Full Screen Video on iPad
Using the following HTML and JavaScript, I've been trying to trigger fullscreen video on the iPad. This works if there is only one video, but because there are numerous videos on the same page, only ...
0
votes
0answers
13 views
Cocos2d-x JS retain and release
My question about Cocos2d-x engine 2.2, javascript api one.
I'm using Layer class extention for characters. Animations(sequences of pngs) have quiet big size, so I want to load sequence, play it and ...
0
votes
1answer
36 views
jquery mobile web app external HTML page open in web app browser
I created a jquery mobile web app and on one of the buttons it links to an .HTML file. When I add the web app to my home screen and tap that button it opens the .HTML page in safari instead of staying ...
0
votes
0answers
6 views
Selected text interferes with page layout on iPhone Safari
My web app is composed of three elements: a header, a footer and a body filled with text. The header and footer are fixed to the top and bottom of the page, respectively.
When an iPhone Safari user ...
0
votes
0answers
24 views
Fix Android Screen Rotation
i have a website i need to show different pages depending on how user is watching the site. If its on desktop, they'll see one page, if its on mobile portrait they'll see one different page, and if ...
0
votes
1answer
15 views
PhoneGap: Get orientation of captured video?
Is it possible know the orientation that the video was shot in? (portrait vs landscape)
0
votes
2answers
19 views
Infinite alert boxes on Safari (iPad with IOS7)
I've been testing some JavaScript code with a for loop that iterates a 1000 times and each loop will trigger a window.alert.
Now I was expecting a 'Prevent additional popups' checkbox. But after 150 ...
0
votes
0answers
21 views
Youtube iFrame API pauseVideo is undefined in UIWebView
I am developing an app for iPad which contains one or more youtube videos embedded in a UIWebView. I am using the Youtube iframe API. The video shows up fine and the user can use the normal controls ...
0
votes
1answer
27 views
Convert ISO DateTime to Millisecond
I have an ISODateTime format :
2013-11-21T20:58:03+0000
How to convert it to milliseconds in AngularJS.
I used DateTime.Parse() => it works on chrome but fails on ios.
Any other way to implement ...
0
votes
0answers
15 views
How to manipulate the small context menu of ios in javascript
I have a content-editable div. So it basically functions like a text editor. I have a toolbar of my own which has different buttons. Now when the user types some text in an iPad and then selects the ...
0
votes
0answers
13 views
Javascript's DeviceOrientation Event Stability on Android
Support for javascript's DeviceOrientation event on recent mobile devices is wide spread.
However signal stability from device to device differs a lot. iOS devices give a smooth and responsive Alpha, ...
-1
votes
0answers
20 views
Reposition ios context menu in javascript [closed]
I want to reposition the default context menu of ios in javascript when any text is selected so that it does'nt hide any of my other controls. Is this possible without disabling the context menu?
By ...
0
votes
0answers
7 views
Snap.js IOS 4.3 Scrolling Issue
I have implemented snap.js on my current mobile device. I noticed on an iPhone 3GS, the main-container will not scroll beyond height 100%. You can confirm this by testing the demo on the website using ...
0
votes
0answers
16 views
Drag and move image within a UIWebView
I am writing a Rich Text Editor using a UIWebView. Using contenteditable="true" to make the HTML editable, but at this point I really want to be able to tap an image (that is in the HTML) and drag it ...
0
votes
0answers
19 views
Phonegap in app purchase iOS
I have installed phongap 3.0.1 and have also installed the plugin found here:
http://fovea.cc/blog/index.php/3-steps-tutorial-for-phonegap-in-app-purchase-on-ios/
I can't figure out where the code ...
3
votes
0answers
42 views
phonegap XML parser in ajax geting error on iOS
with including jquery-1.8.3.min.js ajax xml parsing working fine. If i including jquery.mobile-1.3.2.min.js means getting error "XMLHttpRequest cannot load http://myurl.com. No ...
0
votes
0answers
16 views
Scroll to bottom of the page and show navigation bar ios 7 using javascript
I am developing a web page. in iOs7 browser, when I scroll down to the bottom it hide navigation bar. In fact, I see my link content that I want to click, but when I click it, it appears navigation ...
1
vote
1answer
54 views
HTML scripting not loading javascript file
I'm trying to display piechart in UIWebview of my ios xcode project, for that I'm using jqplot with HTML, CSS and javascript, the issue I face is javascript file "devicepiechart.js" is loading from ...
0
votes
4answers
32 views
Same id with diffent classname in html and javascript
I have a situation where
<label id="studentName" class="firstClass> </label>
<label id="studentName" class="secondClass> </label>
<label id="registerNumber" ...
0
votes
3answers
41 views
Prevent click event after handling jQuery Mobile tap event on iOS
To improve responsiveness in our web app on iPad, I switched from responding to the click event to responding to the jQuery Mobile "tap" event. It works great and is much more responsive, but it ...
0
votes
0answers
41 views
Running JavaScript code in a background thread in UIWebView
I have a very intensive JavaScript code that is running in a webview.
Is there a way to run this code in a background thread to make the application responsive while this code is running.
I know that ...
-5
votes
2answers
86 views
PDF viewer in all web browser [windows phone, android, iOS] [closed]
I have three app [windows phone, android and iOs].
I want to visualize a pdf in this web browser.
But only in iOS app it appears.
I have a web browser that visualize, for example, this page ...
1
vote
1answer
32 views
Finding screen width of HD device with JavaScript
I need to find the screen width of a device with JavaScript, I am unable to change the html and do not want to inject the meta viewport tag before doing so. Essentially I need to detect whether the ...
1
vote
3answers
43 views
what does the T separator in JavaScript Date
I think I need clarification on something:
I have a string representing a date in a format like this:
'2013-12-24 12:30:00'
and if I pass it to Date(), then I get the following output
new ...
0
votes
1answer
23 views
iOS “Open in background” animation recreated in CSS/JS [closed]
Im looking at a way to recreate the iOS safari animation of when you open a link in the background (the item jumps up an quickly animates to a where you can get to it from) - This animation is also ...
1
vote
1answer
54 views
PhoneGap Build iOS app has blank white screen after splash screen
I'm using PhoneGap Build 3.0, attempting to get rid of the blank white screen that appears after the splash screen.
I've done research and all I can find is references to PhoneGap and Cordova, not ...
0
votes
5answers
72 views
How to change keyboard button “Return” to “Search” for input in a UIWebView?
I have this simple HTML file that is to be displayed in a UIWebView.
<html>
<body>
<p>
<input name='search' type='search' placeholder="Input type is search" />
...
0
votes
1answer
42 views
How to convert alloy code tot classic titanium
I want to use alloy modules (modules written in alloy code) for my classic titanium project, now I saw posts of people saying that you can convert alloy to classic titanium code so that you can use it ...
0
votes
1answer
19 views
Sending events to an iFrame on a different domain?
So I've run into the problem where the contentDocument on an iFrame is not accessible to me because it's on a different domain, but I need to find some way to send touch events to elements within this ...
-5
votes
0answers
23 views
Javascript 2D animation for iOS and Android [closed]
Please advise on open source Javascript framework for 2D animation and game development that works both on iOS and Android. With touchpad support.
0
votes
0answers
43 views
Phonegap / jQuery Mobile form submit button not respond to click while the keyboard displaying
I using phonegap + jQuery mobile to create an iOS project. I have a simple form with a submit button as below:
<div data-role="content">
<form ...