0
votes
2answers
24 views

Call javascript function in Android WebView

Good evening. I have an activity with WebView and Button on it. Android sdk 17. Website isn't mine, so I can't change it anyway. I need to do js code by android button click. I'm trying to do this ...
2
votes
0answers
25 views

Android input date field value not clearing

I have a input date field like this : <input type="date" value="2013-06-10"/> and I am testing in Android Tablet (version 4.1.2). A strange issue is coming while I click on the field and set ...
0
votes
0answers
13 views

Idangerous swiper scrollBar plugin not working on android devices with scrollContainer mode

scrollBar plugin not working on android devices with scrollContainer mode. But on IOS it works fine. How can i fix this problem?
0
votes
1answer
19 views

Android Webview Injecting JS&CSS

I'm working on a simple rss reader app for personal use. The thing is a complete hack but I'm just using it personally so whatever. The problem I'm trying to solve is that a site I read and am ...
0
votes
1answer
17 views

Access WebSQL from native application

I have a hybrid (HTML/JS + Java) application and am using WebSQL database to store data. Is it possible to start a query from Java, execute it in JavaScript and pass a resulting record set back to ...
-2
votes
0answers
20 views

Copy Photo File into www in Phonegap (cordova) [closed]

I get the picture in Android and iOS using this method: var photoOptions = { sourceType: null, destinationType: null }; photoOptions.sourceType = pictureSource.CAMERA; ...
0
votes
2answers
23 views

Dynamically Created Audio Object not playing in Android Chrome browser

I'm trying to write a RIA which can be used on both Mobile as well as desktop browsers. One main objective of this app is to play sounds. There could be X many (as of now, there are 150+) On a ...
-1
votes
0answers
17 views

Multi platform mobile application with phonegap [closed]

I have to develop a multi-platform(Android,IOS,Blackberry,Windows) mobile app. App must work in online mode ie. when connected to internet as well as offline mode ie.when not connected to internet. ...
0
votes
1answer
26 views

Javascript function does not call on firefox for android

In my html page, after loading the page, i dynamically add a piece of code containing this anchor <a id="btnCall" class="btn_call_infobox" href="javascript:booking.userCall(189, ...
0
votes
1answer
27 views

Android: get HTML from web page as String with HttpClient not working

I am programming an app that uses HttpClient to connect to a web page (the aim is to be able to copy some of the HTML of a webpage into a String). I tried accomplishing this by using an HttpClient ...
0
votes
0answers
16 views

Android(4) web browser… crash with long input?

Our website implements some payment systems that requires to redirect to some other site where the buy is actually made, that site what is does is render a form with some hidden fields.... the issue ...
0
votes
1answer
13 views

Android WebView: Element height returned by JavaScript is inconsistent

I have the following HTML document: <html> <head> </head> <body> <div> <p>blah blah blah</p> </div> ...
0
votes
0answers
15 views

Load Accordion list data into form panel

Am new to sencha touch am using an accordion list to display some user data from a json file, am getting the data fine in my accordion list, i want to display the user information into a form panel so ...
0
votes
2answers
26 views

JQuery external link confirm mobile compatibility

$('document').ready(function(){ $('a.external').click(function(e){ e.preventDefault(); var speedBump = confirm("You are now leaving this website. Do you want to continue?"); ...
0
votes
2answers
25 views

Javascript — call to string.search(/regex/) occaisionally crashes program

I'm writing a native javascript app for android, and it involves a short regex call. The following function should select the inner string from a block of html, shorten it if it's too long, then add ...
1
vote
0answers
19 views

Why do certain redirects cause Nexus Chrome browser to not run Javascript?

On the Chrome 18.0.1025469 browser for Nexus 7, 4.2.2. certain redirects seem to cause Javascript not to load. For example the following page: http://jsfiddle.net/NTEQF/show/ has the javascript ...
1
vote
1answer
15 views

Generating JavaScript document using yuidoc with ANT script

I am trying to generate JavaScript documentation using yuidoc, below is my ANT script. <?xml version="1.0"?> <project default="javascriptdoc"> <property name="doc_dir" ...
1
vote
1answer
29 views

jQueryMobile Does not load with Phonegap on Android

Regular javascript works, however when I try to use jQuery or jQueryMobile, it does not load. I have downloaded the compressed jQueryMobile file, and placed it in my project. These are my script ...
0
votes
1answer
17 views

PhoneGap readAsDataURL

I am writing my first Android app using PhoneGap, but I'm a little confused by the documentation for the FileReader. I need to take an image file and convert it to a Base64 string using the ...
0
votes
1answer
38 views

JavaScript Injection using Firefox Mobile

I would like to inject JavaScript into a website on a mobile browser (in this case on android). However, most mobile browsers do not seem to support any kind of plug-ins (except for Firefox, correct ...
-3
votes
3answers
43 views

Website is not working on Mobile browser [closed]

I am very new in Web development. I design a website http://Jainbakers.com . It is working fine on the desktop or laptop. When i am opening it into Mobile browser (Android or iPhone) it does not open ...
0
votes
1answer
35 views

How to check specific email validation in phonegap android

I had created an registration form in which i had created and email i had provided validation to all the filed but I'm confused how to give validation to email field because i want that email should ...
0
votes
1answer
41 views

Why my chart works on IPhone/IPad but not on Android?

Hi all, I'm using Enyo with JS. I've used PhoneGap to portate my code to IOs - IPhone/IPad. But the chart is not working on Android.. The problem is that the chart doesn't render. I've been looked ...
0
votes
1answer
18 views

Running Mozilla Firefox specific code in phoneGap?

I am creating an application for android and iOS using phoeGap. I am using Mozilla specific js library; meaning a javascript with yield and let. Does PhoneGap have dependencies on ECMA 6 or ...
2
votes
1answer
28 views

Redrawing elements ignores user-scalable=0 in Android Browser. Why?

This is the meta tag <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"> Problem - I wanted to force a redraw (to ...
0
votes
1answer
23 views

select a data from list and store in a variable in phonegap android

hi I new to phonegap android in I had created a list using jquery which contains data from local database. know what i want to do is select a data from list and to store that selected list in ...
-1
votes
0answers
35 views

Can't upload files to ftp server from android

I am developing an application for android that can upload files to ftp server but it does'nt upload the files it connects the the ftp server but o upload.Here is my first package com.downloadfiles; ...
0
votes
1answer
20 views

Is it possible to combine cordova and android ndk?

I want to implement a cordova packaged app in javascript and use c-code for some high performance operations. Is it possible to write a cordova plugin which then calls into android-ndk using jni? If ...
1
vote
1answer
46 views

PhoneGap: JavaScript Focus and Blur event in iOS / Android

I would like to detect the focus and blur event in HTML input text box in a PhoneGap mobile application. For iOS, the behaviour is as expected - When the textbox is in focus (textbox is clicked), ...
0
votes
1answer
35 views

Don't understand how to pass data from Android Activity to HTML UI when using PhoneGap

I don't understand how it is possible to do this, since there are no WebActivities with PhoneGap, only your Activity classes and your index.html page. I have a MainActivity that looks like this... ...
0
votes
0answers
19 views

Create a “playable demo” version of Mobile application [closed]

I created mobile app using common platform (Html5,JS). There is "playable demo" button on app which gives full access to application (like insert, update and delete). These data will get deleted after ...
0
votes
0answers
62 views

PhoneGap (cordovo- 2.7.0) Uncaught ReferenceError: Media is not defined

<script type="text/javascript" charset="utf-8"> // Wait for Cordova to load // document.addEventListener("deviceready", onDeviceReady, false); // Cordova is ready // ...
0
votes
0answers
18 views

Uncaught Error: SECURITY_ERR: DOM Exception 18 in webview android?

i am working with android webview and displaying webpages inside it .So the webpages are calling MathJax.js file but it is showing error to load the file ,the error is like- Uncaught Error: ...
1
vote
0answers
26 views

Javascript mobile redirect not working on android devices

I've made a script which should redirect a mobile user to another domain if the site is directly accessed from a mobile device. However if the user has been referred from that domain, they should stay ...
1
vote
0answers
26 views

Javascript error for my_title.innerHTML on android 2.3

I was using my_title.innerHTML = "blah", which failed on my android 2.3. Although I have fixed it by using jquery(...).html( 'blah'), my question is: Why did the android 2.3 machine fail where pc ...
0
votes
0answers
31 views

Change the class of dom element programmatically in javascript while building apk via webview

The project works fine in browser, both from PC and mobile phone. When I tried to build the web app with webview, it doesn't work when we change the class of dom element in javascript, especially for ...
0
votes
1answer
37 views

using barcodescanner phonegap-.plugin ANDROID

Ok here is the deal I did everything on here I also add the code to the manifest taking care is inside the and add the permisions also edit the xml file located at my res folder... then create a ...
0
votes
1answer
32 views

stop touchmove event for popup dialog

Creating app for mobile devices. So the Issue: I need to show popup dialog when user click the link on page. Page shoud be frozen during popup is showing (disable scroll). Inside popup I have long ...
-5
votes
1answer
57 views

I am beginner for making Android. If I create an extra xml, How do I create a class for the xml? [closed]

I tried to create a class under the same package. But it did not work at all. I wanted to code for the new xml Please and thank you. Here is the first class for the xml When the button1 is clicked, ...
3
votes
3answers
112 views
+400

How to bring focused field into the view using iscroll and Android WebView

When I focus into a form field at the bottom of iScroll view, it does not scroll up/bring the focused field above the softkeyboad. Any idea? Thank you! This is the Android project. ...
0
votes
1answer
44 views

Android, getting html content in my app

I need to get some properties of an html page which is loaded in a webview. Something similar to what is here: stringByEvaluatingJavascriptFromString (iOS method, what is Android equivalent?) So I ...
0
votes
0answers
58 views

android/phonegap Uncaught ReferenceError

I am getting the below exception when i try to invoke a javascript call from an android application that uses PhoneGap. Stacktrack error: 06-01 13:58:40.225: D/CordovaLog(1197): Uncaught ...
1
vote
1answer
28 views

how to use touchmove to complement mousemove for androids

What difences should i be aware of when tring to complement a working function that use mouse move in to also work on smartphones. So far have i learned that on my android i get touchmove insted of ...
0
votes
0answers
34 views

Android Phonegap Facebook login keeps asking to authenticate

I'm making a Phonegap application with a Facebook login. Everything works fine, but I have to authenticate every time I start the app. I use the original Phonegap Facebook plugin. index javascript: ...
0
votes
1answer
26 views

How to load js .click just after a div is dinamically included

i have a div wich content is dinamically loaded into it with jquery .load event. example: <div data-role="content"> <!-- dinamic loaded content with .load--> <input type="button" ...
0
votes
1answer
56 views

Phonegap not working on android emulator(index.html not found)

i am using phonegap to create a native android application that displays html5 web pages and the issue is that on an emulator, the app produces a application error saying: "the connection to the ...
3
votes
0answers
77 views

Onclick doesn't work on supports

I created a list of 5 videos with an onclick function. When a user click on one of its, the video will replaced the main video on the top of the website. This is my code. It works to Chrome, IE9+, ...
0
votes
2answers
37 views

how to get the real value of data that has been hashed?

how to get the real value of data that has been hashed? is it possible that you can still get the real value of the data after you get the hashcode? or is there any code that can reverse the output. ...
0
votes
0answers
12 views

how to give validation and link to another page in java script in phonegap

I want to know that how to give validation to text field in javascript for email,date and number. I also want to know how to link to another page when we click on button. I am very new to this please ...
0
votes
2answers
69 views

Change view native app Sencha Touch

I created a very simple app to test a native Android app with Sencha Touch. I have two panels. When a button is tapped in the first panel, the second panel must open. In my browser it works great, but ...

1 2 3 4 5 64
15 30 50 per page