0
votes
0answers
7 views

Facebook. How to make simple redirect to page for mobile phones (androids/ios)?

I have simple Facebook application where user from this application is redirectin to canvas page after like button is clicked on the fan page. How to make this app working on mobile phones? This page ...
0
votes
0answers
5 views

unable to get location of mobile using geolocation in javascript

i am working on a web app which need to get the location of a person on mobile. It is a web browser based application. I googled to know how to get the location and i found the following code. ...
0
votes
0answers
6 views

Hammer.js pan event only for touch devices and not for desktop computer Click+Drag

I use this standard code for Pan / Pinch (1) with Hammer.js : var mc = new Hammer(document.body); mc.add(new Hammer.Pinch({ threshold: 0 })).recognizeWith(mc.get('pan')); // let the pan gesture ...
0
votes
0answers
12 views

Views not updating in AngularJS

So we have this very nice project. Bluetooth LE, notified by calling native code to javascript and then angular.... And now we are trapped into the mess this is. Wtf. The databinding looked very ...
0
votes
1answer
18 views

External url not working in inappbrowser

I am new to xcode, if I implement an external url in phonegap using inappbrowser method is window.open() the url is not loading, I get a white screen and at bottom a message is shown as load error and ...
0
votes
0answers
2 views

Perform Action on Javascript function from ios

i am developing the app in ios in which there is only 3-4 native pages and other things are handle in uiwebview. i want to start my native loader when "next" button clicked which is in html page and ...
0
votes
0answers
9 views

How to take snapshot of image element with UIWebView?

I need to take a snapshot of a certain element inside a UIWebView, that is an image, while the UIWebView is hidden. Does anyone know how to do this? Thanks in advance!
-3
votes
0answers
17 views

Detect if ios is installed using javascript [duplicate]

I need to detect if an app is installed in ios devices, if it is it should skip a promotional page if is not the promotional page should appear. I don't need to launch the app at all, just detect if ...
0
votes
1answer
12 views

RSS Notification Android Application

Hello everyone I know this has probably has been asked a lot and I have tried to search but can't find the answers I'm looking for. I'm trying to build a application for Android and iOS where the ...
0
votes
0answers
16 views

Can't scroll UiWebView

So I'm creating a webview that when you click a selection in the "list" webview it loads a new webview with a webpage. The problem is that the webview is a template so when I load a webpage into that ...
1
vote
0answers
16 views

Adding 2 .js files and a .css file to UIWebView in xcode6

I'm trying to get 2 .js files and a .css file to load in a UIWebView application on iOS via a HTML file (which is being found).. but it's not working.. The files are already copied on Copy Bundle ...
0
votes
0answers
18 views

Javascript on mobile, can you detect when the display switches on?

As the title says. Someone is looking at a web page on his mobile, he switches the display off, he then switches it back on, are there any common or proprietary javascript events that fire when he ...
-1
votes
0answers
14 views

is it possible to add more options on context menu ( copy | define | my-option)?

I want users to be able to select text, but I don't want the copy/define menu to show up. Either that, or I'd like to be able to modify that menu with my own options. Is there a way to do this? Some ...
0
votes
0answers
7 views

JavaScript XCode Framework?

Is there any way to make IOS apps in XCode with JavaScript instead of using Objective C? I do most of my coding in HTML and JS making web apps, and canvas games, but I wanted to know if I could do ...
0
votes
1answer
12 views

How to show controls dynamically in HTML5 App [on hold]

I am creating a new HTML5 mobile app (IOS & Android). I want to create some ui controls dynamically based on certain values from DB.. Do you have any suggession for any java script library which I ...
-1
votes
0answers
10 views

Why w3schools setCookie() only sets numeric cookies on iPhone?

I am using famous setCookie from w3chools function setCookie(cname, cvalue, exdays) { var d = new Date(); d.setTime(d.getTime() + (exdays*24*60*60*1000)); var expires = ...
0
votes
0answers
7 views

Event Error timeout on IPad

I have work with event using Canvas and touch event to fill the glass. It work well when I test on the web browser. But on it on Ipad, timeout doesn't work Any help please! The following is the part ...
-1
votes
1answer
22 views

How to send info to phonegap app from URL

Let's say I have an "Invite your friends" button. The invite will simply be a link that will be able to be sent from different services e.g. email. When a user clicks on the link the user needs to be ...
0
votes
1answer
23 views

Dropbox choose button does not return in ios8

I have developed an app using PhoneGap and need to integrate Dropbox for my users. I am currently using Cordova 2.9. I have been unsuccessful in using the chooser dropin. Here is a brief explanation ...
0
votes
1answer
28 views

Developing iOS apps in JavaScript - How far can it go?

I'm a JavaScript developer and I heard it is possible to develop iOS apps in JavaScript via some "mobile app frameworks", though I may lose access to some functionalities that are otherwise available ...
0
votes
2answers
40 views

Cordova / Phonegap lock the source app code to be not edited/hacked

Everyone knows cordova and phonegap uses a webview so the app contains html and js and css files, which means they can be edited. What i am wondering, is there any way to lock/ make these files not ...
0
votes
0answers
2 views

Audio as data-uri in iOS SDK / Ejecta

I'm making a Javascript app that requires dynamically generated audio. I can get this to work with generating an audio buffer and converting it to a base64 encoded riff wave, that I load as a Data URI ...
0
votes
0answers
14 views

javascript server for file transfer/recieve on mobile

i had developed an application that transfers files from devices to other devices through http server that can be accessed from browser on same network. i had successfully created an http server on a ...
1
vote
2answers
34 views

Objective C cuts off last part of string

We are working on a plugin for cordova and we want to construct a callback javascript to be ran from native code. So far the summary, here is the problem: NSString *js = [NSString ...
0
votes
0answers
11 views

Terminal/Shell Script execution of iOS UIAutomation in Xcode 6

Has anyone been able to successfully launch a UIAutomation .js script with instruments from the Terminal and/or a shell script yet? This is the script I was using on Xcode 5 that was working fine: ...
0
votes
0answers
10 views

Correct DeviceOrientationEvent

I'm currently researching mobile browser's DeviceOrientationEvent and DeviceMotionEvent. I'm trying to detect when the mobile device is tilted towards and away from you via the DeviceOrientationEvent. ...
-1
votes
0answers
17 views

html5 canvas drawImage wrong orientation [closed]

I have an app which allow user to upload an image using FileReader and then draw it to the HTML5 canvas. in iphone, when I choose an image, the thumbnail look landscape but when it's drawn into canvas ...
0
votes
0answers
12 views

iOS7 Simulator doesn't load images in web browser if they have parameters

I use images in my webapp looking like this: http://myapp.imgix.net/dc045b9e73fc057d674c21f92aa675d8?width=1920&auto=format,enhance I noticed that iOS 7.1 simulator Safari doesn't load images ...
1
vote
1answer
29 views

iOS UI freezes during file writing with PhoneGap/Cordova

I'm using the standard PhoneGap plugin for writing to local files via HTML5. In the background my app is downloading data from a server and then saving it to disk as it comes in. Typical file sizes ...
0
votes
0answers
23 views

How to Connect an iOS Web App to a Database

I am working on an iOS app for the iPhone, iPad and Mac desktop. I would like the web app to be able to save data to a database so that it is accessible on all the different platforms. Doing ...
1
vote
1answer
51 views

iOS youtube embed player doesn't play video on click on the red button

Everything's on the title. I have a Youtube player on an HTML website. On IOS devices, the video won't play when i tap on the red "play" button. It will play if I touch the preview image only ! ...
0
votes
0answers
10 views

Prevent Javascript redirect to App Store & Google Play from reloading

I have a couple of scripts (one for iOS, one for Android) that open a native app based on the userAgent. However, when users return to the browser, the page reloads, and they are thrown back into the ...
0
votes
1answer
22 views

HTML5/ javascript barcode reader on mobile without manually switching resolution

I am trying to do barcode reading in HTML5/ Javascript on mobile so I can extract the barcode and post to a Ruby on Rails web service. I am using this code for barcode reading: code by manuels which ...
0
votes
1answer
21 views

Opacity won't animate during scroll or touchmove events on iOS device

We're making elements "active" and animating their opacity from 0.2 to 1 based on which element is most on screen using JQuery. However on iOS the active class can be seen to be applied during the ...
0
votes
0answers
19 views

How to change page's language?

It is possible to get the language: navigator.language But is it possible to set it to something else? The original problem is that on iOS device (ipad, iphone) the multiselect in the browser has "0 ...
0
votes
0answers
15 views

Using OAuth 2.0 for Devices

I have a problem when using OAuth 2.0 for Devices, I obtained and visualized the user_code and verification_url correctly, the problem is when I call the url ...
0
votes
0answers
14 views

Cant't set device time with Phonegap, how to change globalization options

A short and simple question: Is it possible to set some device options with Phonegap, like date-time or language? With the globalization class i can read those informations, but i can't set them.
0
votes
0answers
20 views

Capture iOS done button click. Using javascript/Jquery

On iOS browser forms, an accessory bar is shown with Done button and next/prev buttons to move between fields. I would like to capture the Done button click event on the accessory Bar and perform some ...
0
votes
1answer
16 views

Sound won't play if invoked on ajax success function

I have a sound clip embedded in my mobile web page like so: <audio id="sound"> <source src="/assets/sound/mysound.mp3" type="audio/mpeg"> </audio> I call it like so: ...
0
votes
0answers
15 views

Javascript not running in Cordova iOS App

I developped a cordova application and it is working well in Android and in Navigators (Ripple). But when i tried to deploy an iOS I encountered a very strange problem : Javascript is not running. I ...
0
votes
0answers
20 views

Cordova Plugin Passing JSON to iOS

I'm writing a Cordova plug-in and can't seem to get JSON passed in correctly. Here is the javascript var settings = { "server": "127.0.0.1", "username": "example" }; ...
0
votes
1answer
25 views

Disable velocity.js animations for mobile devices

I have created a few Velocity.js animations that work well on a laptop using Chrome, Safari and Firefox, however, the animations sometimes crash or don't appear on my ipad2. Due to the fact that it ...
0
votes
0answers
11 views

Parse.Cloud.run slow on iOS

I have some code that runs a parse cloud function, then processes the results. This uses their javascript api (1.3.0), and is running in an ionic framework app. When running on a mac in chrome browser ...
0
votes
0answers
36 views

Fusioncharts Error: invalid dash array: at least one element must be non-zero in iOS app

I'm building a charts in my iOS app with webview and Fusioncharts. Everything works perfect but there are a lot of messages in the log: <Error>: CGContextSetLineDash: invalid dash array: at ...
0
votes
0answers
17 views

Implementation of workaround for iOS image rendering canvas bug

I have a need to enable basically any device to capture images in a form that get resized client side. A lot of our clients will be using apple devices to take pictures and upload them. Of course, I ...
0
votes
0answers
28 views

Detecting a mobile device by a specific identifier? JavaScript, jQuery, JQuery Mobile, MAC AirWatch

Before you mark this as a duplicate question, please read the entire question. I've built a jQuery Mobile application that I'm trying to make as secure as possible. I'd like to limit the usage to ...
0
votes
1answer
25 views

iPhone: span click doesn't work fine

I have problem when I want to touch on span 'arrow' to drop down second level of menu navigation. When I touch on arrow, result is same as I touch on page (e.g Philosophie). Arrow have css--> ...
0
votes
0answers
25 views

Cordova/Phonegap integration with Sencha touch - Class not found error

I have created Cordova/Phonegap application and I am trying to integrate with Sencha touch. Basically to start, I am calling Phonegap html from the Main.js of sencha touch application. This is my ...
-1
votes
0answers
22 views

Show long text in select input

I have a Web Page that loads dynamically the options for a select element, the problem is that some options are long strings and they are truncated on IOS browsers. Is there any way to show the full ...
1
vote
1answer
18 views

iOS HTML5 Canvas toDataURL

I need some assistance. We seem to be having an issue with iOS with regards to getting the base64 of an image via HTML 5 / Canvas. Everything works fine if we use the default height / width of the ...