[CORDOVA] Plugin conversion

Hello

I am some of my old bb10 webworks plugin conversion to cordova plugin but I don't know what is the equivalent of:

window.webworks.execAsync in Cordoba.

I think that cordova.exec is synchronous.

Cordova.exec is asynchronous

Tags: BlackBerry Developers

Similar Questions

  • AMPA and Cordova plugin network-info

    Hi all

    Details on my JDeveloper.

    12.1.3 JDeveloper (Build JDEVADF_12.1.3.0.0_GENERIC_140521.1008.S)

    MAF 2.2.0.0.41.151010.021

    AMPA 12.1.3.2.32

    When I use the generator interface user AMPA, the tool appears to add the following entry in my maf - plugins.xml. This plugin does not exist in the folder extensions to JDeveloper and causes an INVALID_PLUGIN_PATH error during the deployment of Android.

    <core-cordova-plugin id="c2" pluginId="org.apache.cordova.network-information"/>
    

    I can't be sure, but I believe in a single instance of JDeveloper, the tool creates a bunch of folders empty plugin - org.apache.cordova.geolocation, org.apache.cordova.file, org.apache.cordova.network - information and one bunch of others.

    Any ideas what's happening here?

    Laure,

    Remove this line from maf - plugins.xml, then go to MAF - application.xml, click on the Plugins tab, verify access to the network box and you should be good to go.

    Steven Davelaar,

    Oracle Mobile & Cloud A-team.

  • Conflict beetween cordova-plugin-facebook4 &amp; cordova-plugin-facebook4 phonegap-plugin-push

    Hello

    I've been using Phonegap to build for a couple of years and it's a great tool. It is the first time that I can't understand what is happening.

    If I add the following plugins, one at a time the construction is successful, but if I put all the build fails

    1. Cordova-plugin-facebook4
    2. PhoneGap-plugin-push

    Here is my file config.xml

    <? XML version = "1.0" encoding = "UTF-8" standalone = "yes"? >

    < widget id = "com.x.x" version = "1.0.1" xmlns =" " http://www.w3.org/ns/widgets "xmlns:gap =" " http://PhoneGap.com/ns/1.0 "versionCode ="1"> "

    < name > X < / name >

    < description >

    App Móvil del Lider for sale Electronica

    < / description >

    " < author email = ' [email protected] "href =" http://www.x.com.ar/ ">

    x

    < / author >

    " < author href = ' http://www.x.com.ar/ "email =" " [email protected] "> "

    x

    < / author >

    < src = "index.html" / content >

    < access origin = "*" / >

    < name of option = "webviewbounce" value = "false" / >

    < name of option = "UIWebViewBounce" value = "false" / >

    < name of option = "DisallowOverscroll" value = "true" / >

    < name of option = "android-minSdkVersion" value = "16" / >

    < name of option = "BackupWebStorage" value = "none" / >

    < name of option = "phonegap-version" value = "cli - 5.2.0" / >

    < name of option = value "android-build-tool" = "gradle" / >

    < src = "icon.png icon" / > "

    "< src="res/icon/android/icon-36-ldpi.png icon "gap: platform = gap: qualifier 'android' ="ldpi"/ >

    "< src="res/icon/android/icon-48-mdpi.png icon "gap: platform = gap: qualifier"android"="mdpi"/ >

    "< src="res/icon/android/icon-72-hdpi.png icon "gap: platform = gap: qualifier 'android' ="hdpi"/ >

    "< src="res/icon/android/icon-96-xhdpi.png icon "gap: platform = gap: qualifier 'android' ="xhdpi"/ >

    "< src="res/icon/ios/icon-57.png icon "gap: platform ="ios"width ="57"height ="57"/ >

    "< icon src="res/icon/ios/icon-72.png "gap: platform ="ios"width ="72"height ="72"/ >

    "< src="res/icon/ios/icon-57-2x.png icon "gap: platform ="ios"width ="114"height ="114"/ >

    "< src="res/icon/ios/icon-72-2x.png icon "gap: platform ="ios"width ="144"height ="144"/ >

    "< icon src="res/icon/ios/icon-certify-76.png "gap: platform ="ios"width ="76"height ="76"/ >

    "< src="res/icon/ios/icon-certify-120.png icon "gap: platform ="ios"width ="120"height ="120"/ >

    "< src="res/icon/ios/icon-certify-152.png icon "gap: platform ="ios"width ="152"height ="152"/ >

    < name of option = "SplashScreen" value = "none" / >

    <!-set the screen for starting application for each platform. ->

    "< src="res/screen/android/screen-ldpi-portrait.png gap: splash "gap: platform = gap: qualifier 'android' ="port-ldpi"/ >

    "< src="res/screen/android/screen-mdpi-portrait.png gap: splash "gap: platform = gap: qualifier 'android' ="port-mdpi"/ >

    "< src="res/screen/android/screen-hdpi-portrait.png gap: splash "gap: platform = gap: qualifier 'android' ="port-hdpi"/ >

    "< src="res/screen/android/screen-xhdpi-portrait.png gap: splash "gap: platform = gap: qualifier 'android' ="port-xhdpi"/ >

    "< src="res/screen/blackberry/screen-225.png gap: splash "gap: platform ="blackberry"/ >

    "< src="res/screen/ios/screen-iphone-portrait.png gap: splash "gap: platform ="ios"width ="320"height ="480"/ >

    "< src="res/screen/ios/screen-iphone-portrait-2x.png gap: splash "gap: platform ="ios"width ="640"height ="960"/ >

    "< src="res/screen/ios/screen-iphone-portrait-568h-2x.png gap: splash "gap: platform ="ios"width ="640"height ="1136"/ >

    "< src="res/screen/ios/screen-ipad-portrait.png gap: splash "gap: platform ="ios"width ="768"height ="1024"/ >

    "< src="res/screen/ios/screen-ipad-landscape.png gap: splash "gap: platform ="ios"width ="1024"height ="768"/ >

    "< src="res/screen/windows-phone/screen-portrait.jpg gap: splash "gap: platform ="winphone"/ >

    < src = "" splash.png gap: splash "/ >"

    < name of the function "Θtat bar" = >

    < param name = 'ios-package' value = 'CDVStatusBar"onload ="true"/ >

    < / fiction >

    < access origin = "*" / >

    <! - added the following intentions to support the withdrawal of the code of the white base cordova to a plugin list - >

    <!-white list configuration. Refer to -> https://cordova.apache.org/docs/en/edge/guide_appdev_whitelist_index.md.html

    < name of the ditch: plugin = "cordova-plugin-whitelist" version = "1.2.2" source = "MNP" / >

    " < allow intention href = ' http://*/* "/>

    " < allow intention href = ' https://*/* "/>

    < allow intention href = "Tel: *" / >

    < allow intention href = "sms: *" / >

    < allow intention href = "mailto:*" / >

    < allow intention href = "geo: *" / >

    < platform name = "android" >

    < allow intention href = "market: *" / >

    < / platform >

    < platform name = "ios" >

    < allow intention href = "itms: *" / >

    < allow intention href = "itms-apps: *" / >

    < / platform >

    < name = "com.telerik.plugins.nativepagetransitions plugin" source = "MNP" / > "

    < name of the ditch: plugin = "cordova-plugin-x-socialsharing" source = "MNP" / >

    < name of the ditch: plugin = "cordova-plugin-inappbrowser" source = "MNP" / >

    < name of the ditch: plugin = 'cordova-plugin-facebook4' source = 'MNP' version = "1.7.4" >

    < param name = "APP_ID" value = "X" / >

    < param name = 'APP_NAME' value = 'X' / >

    < / gap: plugin >

    < name of the ditch: plugin = 'phonegap-plugin-push' source = 'MNP' version = "1.5.3" >

    < param name = "SENDER_ID" value = "X" / >

    < / gap: plugin >

    < gap: plugin name = "org.apache.cordova.device" / > "

    < name of the ditch: plugin = "cordova-plugin-x-toast" source = "MNP" / >

    < name of the ditch: plugin = "Ionic-plugin-keyboard" version = "2.1.0" source = "MNP" / >

    < / widget >

    And the error log is the following. Can someone help me? Thanks in advance

    Construction date: 2016-10-01 18:06:18 + 0000

    --------------------------------------------------------------------------------

    OUTPUT OF THE PLUGIN

    --------------------------------------------------------------------------------

    Installation of "org.apache.cordova.device" to "0.3.0" for android

    Using this version of Cordoba with an older version of cordova-android is removed. Consider the upgrade to [email protected] or newer.

    Retrieve the plugin "[email protected]" through the Museum

    Installation "cordova-plugin-whitelist" to "1.2.2" for android

    Using this version of Cordoba with an older version of cordova-android is removed. Consider the upgrade to [email protected] or newer.

    This plugin is applicable for versions of cordova-android higher than 4.0. If you have an earlier version of the platform, you do * not * need this plugin because the white list will be built.

    Retrieve the "cordova-plugin-x-socialsharing" plugin via the NPM

    Installation "cordova-plugin-x-socialsharing" to "5.1.3" for android

    Using this version of Cordoba with an older version of cordova-android is removed. Consider the upgrade to [email protected] or newer.

    Retrieve the "cordova-plugin-inappbrowser" plugin via the NPM

    Installation "cordova-plugin-inappbrowser" to "1.5.0" for android

    Using this version of Cordoba with an older version of cordova-android is removed. Consider the upgrade to [email protected] or newer.

    Retrieve the plugin "[email protected]" through the Museum

    Installation "cordova-plugin-facebook4' to '1.7.4" for android

    Using this version of Cordoba with an older version of cordova-android is removed. Consider the upgrade to [email protected] or newer.

    Retrieve the plugin "[email protected]" through the Museum

    Installation 'phonegap-plugin-push' to '1.5.3"for android

    Using this version of Cordoba with an older version of cordova-android is removed. Consider the upgrade to [email protected] or newer.

    Retrieve the "cordova-plugin-x-toast" plugin through the Museum

    Installation "cordova-plugin-x-toast" to "2.5.2" for android

    Using this version of Cordoba with an older version of cordova-android is removed. Consider the upgrade to [email protected] or newer.

    Retrieve the plugin "[email protected]" through the Museum

    Installation 'Ionic-plugin-keyboard""2.1.0"for android

    Using this version of Cordoba with an older version of cordova-android is removed. Consider the upgrade to [email protected] or newer.

    Retrieve the plugin "com.telerik.plugins.nativepagetransitions" through the Museum

    Installation of "com.telerik.plugins.nativepagetransitions" to "0.6.5" for android

    Using this version of Cordoba with an older version of cordova-android is removed. Consider the upgrade to [email protected] or newer.

    --------------------------------------------------------------------------------

    COMPILATION OUTPUT

    --------------------------------------------------------------------------------

    Build the option-"unrecognized (ignore).

    Running: / project/gradlew cdvBuildDebug b /project/build.gradle-Dorg.gradle.daemon=true - PcdvBuildMultipleApks = false - PcdvVersionCode = 1

    Configuration on demand is a function of incubation.

    : stretch

    : compileDebugNdk

    : preDebugBuild

    : checkDebugManifest

    : preReleaseBuild

    : CordovaLib:compileLint

    : CordovaLib:copyDebugLint updated

    : CordovaLib:mergeDebugProguardFiles

    : CordovaLib:preBuild

    : CordovaLib:preDebugBuild

    : CordovaLib:checkDebugManifest

    : CordovaLib:prepareDebugDependencies

    : CordovaLib:compileDebugAidl

    : CordovaLib:compileDebugRenderscript

    : CordovaLib:generateDebugBuildConfig

    : CordovaLib:generateDebugAssets updated

    : CordovaLib:mergeDebugAssets

    : CordovaLib:generateDebugResValues

    : CordovaLib:generateDebugResources

    : CordovaLib:packageDebugResources

    : CordovaLib:processDebugManifest

    : CordovaLib:processDebugResources

    : CordovaLib:generateDebugSources

    : CordovaLib:compileDebugJavaNote: entry files use or replace an obsolete API.

    Note: Recompile with - Xlint: deprecation for more details.

    : CordovaLib:processDebugJavaRes updated

    : CordovaLib:packageDebugJar

    : CordovaLib:compileDebugNdk

    : CordovaLib:packageDebugJniLibs updated

    : CordovaLib:packageDebugLocalJar updated

    : CordovaLib:packageDebugRenderscript updated

    : CordovaLib:bundleDebug

    : CordovaLib:copyReleaseLint updated

    : CordovaLib:mergeReleaseProguardFiles

    : CordovaLib:preReleaseBuild

    : CordovaLib:checkReleaseManifest

    : CordovaLib:prepareReleaseDependencies

    : CordovaLib:compileReleaseAidl

    : CordovaLib:compileReleaseRenderscript

    : CordovaLib:generateReleaseBuildConfig

    : CordovaLib:generateReleaseAssets updated

    : CordovaLib:mergeReleaseAssets

    : CordovaLib:generateReleaseResValues

    : CordovaLib:generateReleaseResources

    : CordovaLib:packageReleaseResources

    : CordovaLib:processReleaseManifest

    : CordovaLib:processReleaseResources

    : CordovaLib:generateReleaseSources

    : CordovaLib:compileReleaseJavaNote: entry files use or replace an obsolete API.

    Note: Recompile with - Xlint: deprecation for more details.

    : CordovaLib:processReleaseJavaRes updated

    : CordovaLib:packageReleaseJar

    : CordovaLib:compileReleaseNdk

    : CordovaLib:packageReleaseJniLibs updated

    : CordovaLib:packageReleaseLocalJar updated

    : CordovaLib:packageReleaseRenderscript updated

    : CordovaLib:bundleRelease

    : prepareComAndroidSupportCardviewV72340Library

    : prepareComAndroidSupportCustomtabs2340Library

    : prepareComAndroidSupportSupportV132340Library

    : prepareComAndroidSupportSupportV42340Library

    : prepareComFacebookAndroidFacebookAndroidSdk4141Library

    : prepareComGoogleAndroidGmsPlayServicesBase940Library

    : prepareComGoogleAndroidGmsPlayServicesBasement940Library

    : prepareComGoogleAndroidGmsPlayServicesGcm940Library

    : prepareComGoogleAndroidGmsPlayServicesIid940Library

    : prepareComGoogleAndroidGmsPlayServicesTasks940Library

    : prepareProjectCordovaLibUnspecifiedDebugLibrary

    : prepareDebugDependencies

    : compileDebugAidl

    : compileDebugRenderscript

    : generateDebugBuildConfig

    : generateDebugAssets updated

    : mergeDebugAssets

    : generateDebugResValues

    : generateDebugResources

    : mergeDebugResources

    : processDebugManifest

    : processDebugResourcesWarning: AndroidManifest.xml sets already debuggable (in http://schemas.android.com/apk/res/android); with existing value in manifest.

    Failure of the generation of table of resources to do a separation "

    /Project/build/intermediates/RES/debug/values-v23/values.XML:6: error: error: no resource only for the name found (at 'cardBackgroundColor' with value '? android: attr / colorBackgroundFloating').

    FAILED

    FAILED: Build failed with an exception.

    * What went wrong:

    The execution of the task failed ': ' processDebugResources.

    > com.android.ide.common.internal.LoggedErrorException: unable to run the command:

    /Android-SDK/build-tools/24.0.1/AAPT package - f - no - crunch - I /android-sdk/platforms/android-22/android.jar - M /project/build/intermediates/manifests/full/debug/AndroidManifest.xml s/project/build/intermediates/res/debug - a/project/build/intermediates/assets/debug m-J/project/build/generated/source/r/debug f /project/build/intermediates/res/resources-debug.ap_--debug mode - custom package com.rii.test - 0 apk - output-text-symbols/project/build/intermediates/symbols/debug

    Error code:

    1

    Output:

    Warning: AndroidManifest.xml sets already debuggable (in http://schemas.android.com/apk/res/android); with existing value in manifest.

    Failure of the generation of table of resources to do a separation "

    /Project/build/intermediates/RES/debug/values-v23/values.XML:6: error: error: no resource only for the name found (at 'cardBackgroundColor' with value '? android: attr / colorBackgroundFloating').

    * Try:

    Run with the option - stacktrace to get stack trace. Run with the option - info or - debug option to get out of the newspaper.

    BUILD FAILED

    Total time: dry 7,751

    /Project/Cordova/node_modules/q/q.js:126

    throw e;

    ^

    Error code 1 for command: / project/gradlew with args: lse cdvBuildDebug,-b,/project/build.gradle,-Dorg.gradle.daemon=true,-PcdvBuildMultipleApks=fa,-PcdvVersionCode = 1

    After a few days, I found the solution

    I changed from BMP to use the latest version of cordova

    And added lines

  • Can't cordova-plugin-device works

    Hi all!

    I'm pretty new to PhoneGap and since I couldn't find a solution via Google, nor in this forum, I decided to start a new topic.

    I use PhoneGap Build to create my mobile application. In addition to some css, I have two files in my root directory: index.html and config.xml.

    index.html

    <!DOCTYPE html>
    <html lang="en">
      <head>
      <title>Test</title>
      <meta charset="UTF-8" />
      <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
      <meta name="viewport" content="width=device-width, initial-scale=1.0"> 
      <link rel="stylesheet" type="text/css" href="css/style.css" />
      <link rel="stylesheet" type="text/css" href="css/font-awesome.css" />
      <link rel='stylesheet' type='text/css' href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700,300' />
      <script src="cordova.js"></script>
      <script type="text/javascript">
        document.addEventListener("deviceready", onDeviceReady, false);
        
        function onDeviceReady() {
          var vInfo =  'Device Name: ' + device.name + '\n' +
            'Device Cordova: ' + device.cordova + '\n' +
            'Device Platform: ' + device.platform + '\n' +
            'Device UUID: ' + device.uuid + '\n' +
            'Device Version: '+ device.version;
           alert(vInfo);
        }
      </script>
      </head>
      <body>
        <div class="container">
          <section class="main">
            <button onclick="window.plugins.toast.showShortBottom('Hello World!', function(a){console.log('toast success: ' + a)}, function(b){alert('toast error: ' + b)})">Show Toast</button>
            <button onclick="alert('Device name: ' + device.name)">Show Device Cordova</button>
          </section>
         </div>
      </body>
    </html>
    

    config. XML

    <widget xmlns   = "http://www.w3.org/ns/widgets"
      xmlns:gap   = "http://phonegap.com/ns/1.0"
      id="de.sample.app" version="0.0.1">
      
      <plugin name="cordova-plugin-device" spec="1.1.2" source="npm" />
      <plugin name="cordova-plugin-dialogs" spec="1.2.1" source="npm" />
      <plugin name="cordova-plugin-x-toast" source="npm" />
      <preference name='phonegap-version' value='cli-6.3.0' />
      <name>Sample App</name>
      <description>
        A sample app.
      </description>
      <content src="index.html" />
      <access origin="*" />
    </widget>
    

    The problem is, apparently, that I can't the cordova-plugin-device plugin to work. When I install the APK on my Android phone, or the "deviceready" alert - alert or the 'button' - runs. When I try to use navigator.notification.alert(device.name, alertCallback) (dialogues plugin) instead (and of course provide the callback function) it does not work either. I tried to add a span element and change its HTML to device.cordova on click of button via jQuery - no effect.

    " I also tried to make the plugin from GitHub via < plugin spec =" https://github.com/Apache/Cordova-plugin-device.git "/ > instead of NPM." However, this also does not work. Strange to say, the 3rd party toast plugin works very well.

    I have run out of ideas now and really hope you can help out me.

    Best regards

    Maik

    Try to move your script inline in the body or add the attribute "defer" as he waits until everything has finished loading. You can also try moving your script in a separate (like index.js) .js file.

    Also, have you tried debugging the application using either Chrome (Android)? There might be some error messages that appear in the console that may be useful. Also, check "adb logcat" to see if your device connects to messages that might be useful.

  • I can't get the plugin cordova-plugin-music-controls to work.

    I'm trying to add audio controls to my application, but I can't.

    I put it in the config.xml file

    < plugin name = "cordova-plugin-music-controls" source = "MNP" / >

    and this in a script inline in index.html

    MusicControls . create ({

        track       : 'Time is Running Out', // optional, default : ''

    artist : 'Muse', // optional, default : ''

    isPlaying : true / / optional, default: true

    returned : vrai, / / facultatif, par défaut : faux

    / / Hide the previous/next/close buttons:

    hasPrev : fake / / Show previous button, optional, default: true

    hasNext : fake / / see the next key, optional, default: true

    hasClose : real / / Show optional, default close button: false

    / / Android only, optional

    / / text displayed in the status bar when the notification (and the ticker) are updated

    ticker : 'Now playing 'Time is Running Out''

    }, onSuccess, onError);

    but I can't make it work? could someone help? If you could give me a zip of a project with the bare minimum to open the MusicControls, which would mean the world to me. I know javacript, but I can't understand how to call the MusicControls.create function.

    "and this in a script inline in index.html.

    Also, make sure you call MusicControls.create () (or any other feature of the plugin) AFTER the 'deviceready' event was triggered.

  • Error during application deployment - an error occurred to deployment Cordova plugins.

    I get the below error when deploying the application of MAF.

    [18: 23:30] "org.apache.cordova.network" Installation - information for android [18: 23:30] error Code: INTERNAL_ERROR [18: 23:30] error during the processing of the action! Attempt to return...

    [18: 23:30] oracle.maf.mafhelper.api.MafHelperException: oracle.maf.mafhelper.api.MafHelperException: java.lang.Exception

    [18: 23:30] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities.runProcess (unknown Source)

    [18: 23:30] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities.executeCmd (unknown Source)

    [18: 23:30] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities.addPlugin (unknown Source)

    [18: 23:30] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities.deploy (unknown Source)

    [18: 23:30] at oracle.maf.mafhelper.MafHelperMain.main (unknown Source)

    [18: 23:30] caused by: oracle.maf.mafhelper.api.MafHelperException: java.lang.Exception

    [18: 23:30]... 5 more

    [18: 23:30] caused by: java.lang.Exception

    [18: 23:30] to oracle.maf.mafhelper.api.MafHelperException. < init >(Unknown Source)

    [18: 23:30]... 5 more

    [18: 23:30] Server Android Debug bridge closure...

    [18: 23:30] deployment cancelled

    [18: 23:31] - incomplete deployment.

    [18: 23:31] an error occurred the Cordova plugins deployment. (oracle.adfmf.framework.dt.deploy.android.deployers.plugins.AndroidPluginDeployer)

    Help, please.

    Thank you and best regards,

    Paul Davis

    Hi all

    I solved this problem.

    This can happen to the below reasons:

    1.) location of the android SDK is too long.

    Solution: Put SDK in a path runs like: C:\Android\SDK

    Set the same in places tools-preferences-MAF-Android SDK.

    2.) location of the application (file .jws) is too long.

    Solution: When creating application MAF choose a short path, say: C:\ADF\Application

    The names of project application/3.) contains spaces. for example:(Sample Application.jws)

    Solution: Please do not include a space for Application for the name of the project.

    I hope this helps...

    Thank you best regards &,.

    Paul Davis

  • Cordova-plugin-concordance-webview - how to get the apk ARMS?

    I use my config file cordova-plugin-concordance-webview. XML as below.

    < name of the plugin = "cordova-plugin-concordance-webview" / >

    version 1.5.0 of the concordance

    But it seems that the PhoneGap Build outputs only the .x86 APK.

    With certificate, it gives x 86 build. Without a certificate, it gives ARM version.

    No idea how we can get the 64 bit APK (arm) in the final version?

    The version in the PhoneGap Build curated list plugins will build for arm, but notes that it is an older version. To use it:

    Alternatively, it looks like a user brought a newer building with arms on the NPM:

  • Windows build fails when add 'cordova-plugin-camera' + 'cordova-plugin-contacts'

    all the details here

    Windows build fails when add 'cordova-plugin-camera' + 'cordova-plugin-contacts'

    Resolved in the thread on the GS.

  • Who is wrong? "unsupported plugin: de.appplant.cordova.plugin.background - mode.

    Hello friends!

    When I Isaiah to compile my project to phonegap Build, the screen displays the following error message: "unsupported plugin: de.appplant.cordova.plugin.background - mode.

    I need to use this plugin, so I have to do?

    There are the fllowing lines in my file config.xml:

    < name="nl.x-services.plugins.insomnia"/ plugin >

    < plugin name = 'cordova-plugin-vibration' source = 'MNP' / >

    < plugin name = 'cordova-plugin-device' source = 'MNP' / >

    < plugin name = "cordova-plugin-dialogues" source = "MNP" / >

    < name of the plugin = 'cordova-plugin-transfer files' source = 'MNP' / >

    < plugin name = "cordova-plugin-Geolocation" source = "MNP" / >

    < plugin name = "cordova-plugin-inappbrowser" source = "MNP" / >

    < plugin name = "cordova-plugin-network-information" source = "MNP" / >

    < plugin name = "phonegap-plugin-mobile-accessible" source = "MNP" / >

    < plugin name = "statusbar-plugin-cordova" source = "MNP" / >

    < plugin name = 'cordova-plugin-local-notifications-bmp' source = 'MNP' / >

    < name of the ditch: plugin = mode "de.appplant.cordova.plugin.background" / >

    Thank you

    Hugo.

    OK, the solution is here: https://github.com/katzer/cordova-plugin-background-mode/issues/139

    Now, we must use the tag .

    Thank you!

  • Working Webworks/Cordova Plugin with the Q_OBJECT Macro

    Hello together,

    could someone provide me with a sample Plugin for Eclipse project that is using Macros of Q_OBJECT? It would be great and a simple example would be sufficient.

    Thanks a lot and best regards

    I followed the plugin SystemDialog on Github. It uses QT SIGNALS and SLOTS. That works for me.

    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/BB10-Cordova/SystemDialog

  • JS Plugin conversion

    Hi all

    I wrote a javascript program, in the javascript I want to convert the type of plugin?

    What is the procedure to convert the plugin?

    Kind regards

    Sudar

    On ESTK, choose file > export as a binary...

    Yes, it will work like JSX file, but there are some limitations - I don't remember exactly, but it seems that you can't use #include in binary.

  • Cordova file Plugin error saving images

    Hello

    I have a problem with the plugin on my Blackberry PRIV and the new DTEK50 file.

    When take us pictures through the camera of cordova plugin and save the image to the file system via the plugin file cordova that the folder is created and the image is in it and can be seen in the file on the device Explorer.

    Then connect us the device via USB to a pc windows and move to the filetransfer-mode (MTP) and can see the file structure create us via the plugin file, but the images do not appear. Folders remain empty on the pc.

    When we look in the same folder directly on the device, the photos are displayed.

    When I go in the app on the device and see my pictures and I move to another destination, I can see the image in Windows Explorer also. So when I bring it back to its original folder, so I can still see in the original destination.

    It seems that the pictures are not recognized until I started to move on the device itself.

    Sorry for my bad English hope, you are able to understand.

    Thanks in advance

    Update:

    I think I found the problem and it seems that I'm not the only one:

    https://code.Google.com/p/Android/issues/detail?ID=38282

    https://code.Google.com/p/Android/issues/detail?ID=195362

    It's not like there will be a quick solution to google themselves.

  • Plugin de Cordova for iOS, binary embedded for custom frame

    Hi all

    I am trying to create a wrapper to Cordova iOS for a native of specific features.

    The plugin uses a custom frame that must be added in the binary shipped (XCode - general) before building. For the normal plugin of Cordova, I can't open XCode project and add in the binaries shipped, but I don't know how in the MAF to the Oracle.

    If the custom frame is not added in the binary incorporated, the application is able to build and run but accident after the launch.

    Thank you

    Kind regards

    There are workaround is, open the project (after having built and deployed by MAF jdeveloper) / project/ViewController/deploy/ios_deploy_name/then in xCode, manually add the framework for binaries shipped.

    I have not found any solution to Cordova plugin config to automatically add embedded binary files.

    Thank you

  • MAF: Addition of the Cordova.Dialogue Plugin "CDVNotifications".

    Hello Oracle Community:

    If I understand the MAF sta ck is no longer ships with the Cordova.Dialogues plugin called "CDVNotistories" (see previous Discussion Forum Thread HERE)


    That is why any programmatic attempt to popup a message using the container ADFMF to invokeContainerJavaScriptFunction using the navigator.notification.alert method will fail to run. 


    Use case: I need to display the confirmation that users are connected successfully.  Here's how I did it in the ADF Mobile.

    () AdfmfContainerUtilities.invokeContainerJavaScriptFunction

    "CustomLogin.phone", "navigator.notification.alert."

    (New Object() {"successful connection.."});



    ASK:

    Implementation of an IOS directories are the files .h & ".m" to place in If the .h, .js files ".m" are not in the right directory I can not 'Add' the plugin in JDev.


    Screen Shot 2015-07-15 at 2.31.58 PM.png



    I spent the time to research in the Oracle documentation on the subject.  Some of the links that I've referenced are:


    Links:

    YouTube Tuts

    Hi @,TreeStrepek,

    having the Dialogs Cordova Plugin working in the MAF 2.1.2 is trivial. Given that the MAF has full support for plugins to Cordova, it is very easy to integrate.

    You must follow the steps thees:

    1. Locate the source Cordova Plugin Dialogs: the source code is provided with the MAF extension. You can find it at [JDEVELOPER_HOME]/jdev/extensions/oracle.maf/CordovaPlugins

    2 source plugin copy of your MAF project: this step is optional.

    3. Add the plugin in "maf - application.xml": open the tab "Plugins". In "Additional Plugins", click on "+" button and navigate to the location of the source code of the plugin.

    Navigation.notification is now available to use. Now your code will work:

    () AdfmfContainerUtilities.invokeContainerJavaScriptFunction

    "CustomLogin.phone", "navigator.notification.alert."

    (New Object() {"successful connection.."});

  • How to use the plugin Cordova customized with AEM Mobile?

    Hello

    I explored the basics of the AEM Mobile over the last days and also tried to use some plugins Cordova mentioned in the Plugins to the application tab. Now, I would like to know how to use a custom Cordova plugin or plugin other than those mentioned in this list in my application.

    Is it possible to achieve today? If Yes, please provide me with the markets / pointers to all documentation which explains the same thing.

    Custom plugins support is not yet available, but on the road map

Maybe you are looking for

  • Cannot save NMWG on my new Tablet WT8-B-102

    Hello I bought a Tablet WT8-B-102, and when I go to the NMWG page to save it and write s/n, it says that it cannot find the serial number. Why?

  • IKEv2 with certificates: bug or not?

    Hello I am tryting to test the IKEv2 VPN connection, which is the use of certificates for authentication. Customer must be on MAC or iPhone/iPad. Because I have encountered some problems, I looked more community and found a few messages that describe

  • Need help finding a disc of Windows 7 ISO image for my lenovo sl510

    I bought a lenovo sl510 ThinkPads that was running windows 7 pro. I decided to upgrade to windows 10 and now I have problems with my system. Driver Bluetooth installs and a few other issues, including late development. He came with a boot disc and I

  • Only the sounds of windows.

    Hello I have all the sounds of browser, any program like media player, the games have also no sound. The sounds I get are the sounds of popup windows as requested approval from the admin and all sounds by clicking on. I have windows vista edition Hom

  • I keep trying to find ways to update all my drivers at a time, as many problems with this computer

    ORIGINAL TITLE: update drivers, fixing problems, etc. NOTHING WORKS. I keep trying to find ways to update all my drivers at a time. There are so many problems with this computer, I'm so frustrated and things on it, I have to PAY TO ASK a QUESTION FOR