Phonegap TouchEvent

My problem is that I want to play an audio / video file from the main page (index.html)

It works like this:

function setaudio() { $("#aud").prepend('<a href=# onclick=playaudio();><img src=icons/audio_file.png alt=Audiodatei width=90px height=90px></a>'); } 

Audio Playback Function:

 function playaudio() { window.plugins.videoPlayer.play(myaudio[0]);} 

The problem does not work on index.html, but it works on related sites fe audio.html, where I call setaudio (); again...

I was told catlog, also I don’t click on the icon (on the index.html page) in an empty area of ​​the screen:

 03-01 13:19:23.980: V/webview(12235): singleCursorHandlerTouchEvent -getEditableSupport FASLE 

how to solve it? I am using the new Galaxy 10.1 - it worked with the same code on the Huawei MediaPad ... also with Android 3.2

+3
android cordova
Mar 01 2018-12-01T00:
source share

No one has answered this question yet.

See similar questions:

2
Phonegap button does not start due to "singleCursorHandlerTouchEvent -getEditableSupport FASLE"
2
telephone touch event / div overflow
0
WebView stuck in Read-only Empty TEXTAREA on Samsung Galaxy S3 (Android 4.1.1)

or similar:

310
Comparison between Corona, Phonegap, Titanium
273
Is there a difference between PhoneGap and Cordova?
250
Xamarin 2.0 vs Appcelerator Titanium vs PhoneGap
113
phonegap open a link in a browser
113
Install Windows Phonegap
93
Using Phonegap to Develop Your Own Applications
88
Phonegap Eclipse error - eglCodecCommon glUtilsParamSize: unknown param errors
27
Problems implementing the accessibility feature in Android
2
Using scroll and touch on android (phone delay)
0
mootools touchevents are not connected when used with telephone service



All Articles