Click here to Skip to main content
15,892,768 members
Everything / Hosted Services / Cordova

Cordova

Cordova

Great Reads

by mudasser ajaz
How to debug ionic Android application in development phase
by Chris Duke
This article demonstrates how the Meteor Javascript app platform can be used in conjunction with Crosswalk to create a simple app for an Android Smartwatch
by Siddharth Chandra
How to use Angular in a Cordova Environment and its impact
by Silvia Campo
I've been using web sockets the same way as a regular http request; I wasn't using them to their full potential...

Latest Articles

by Silvia Campo
I've been using web sockets the same way as a regular http request; I wasn't using them to their full potential...
by Silvia Campo
This post contains steps on how to set up an Android application widget in an hybrid mobile application using Apache Cordova and the plugin ACE from Microsoft.
by Imran Abdul Ghani
Ionic is basically an open source SDK (Software Development Kit) for developing Hybrid Mobile Applications
by yaazone
You have an idea for an app and decided to do it yourself, either alone or with a small group of people and your app development is not organized professionally. Then this article fits perfect for you. The context above is exactly the one in which I have implemented a native ios and hybrid app.

All Articles

Sort by Updated

Cordova 

14 Nov 2022 by Aravindba
Hi All, I try to show badge count in app icon , but it not showing count. I am using "cordova-plugin-firebase-messaging" and "cordova-plugin-badge" in Cordova CLI for Android,but not show badge count in app icon. What I have tried: In...
3 Nov 2022 by Aravindba
Hi, I try to implement push notification in android mobile app. Using cordova-plugin-firebase-messaging i can send push notification to android mobile using firebase console , but what happen those are installed apk file , all are receive...
11 Oct 2022 by Aravindba
Hi I am created new cordova app, when i build i get below error. D:\Mobile\hel>cordova build android --stacktrace Checking Java JDK and Android SDK versions ANDROID_SDK_ROOT=C:\Android\android-sdk (recommended setting)...
18 Jun 2021 by Shivam Shokeen 2021
I want to create an app widget on the home screen like a basic music player that contains next, previous and pause/resume. I don't want to use the android studio. What I have tried: I tried to use Cordova, capacitor but nothing found...
18 Jun 2021 by Richard MacCutchan
You need to use whichever language you understand that is capable of generating Android applications. And if you don't want to use Android Studio then take a look at Xamarin.Forms | .NET[^], or possibly Intel's C++ Compiler For Android[^].
9 Mar 2021 by KEEPREADING
I am looking to build a Children’s educational app for alphabets, numbers, phrases, words etc. I want to use a cross platform framework that can create good 2D graphics and animated videos. Could you kindly suggest any cross platform frameworks I...
9 Mar 2021 by Richard MacCutchan
See Xamarin.Essentials - Xamarin | Microsoft Docs[^], but you need to be a reasonably experienced programmer.
17 Dec 2020 by Aravindba
Hai All I have a mobile app in cordova , in that i create directory , if i use Target Api 28, it will create folder, in same time if set Target Api as 29 ,directory never creating, i am using following code to create directory in internal...
30 Jul 2020 by Shweta Babbar
Hi I am new to Ionic Cordova. I am implementing fingerprint and passcode authentication to integrate it with login API for an application. I am thinking that when first time user logs in into the app, app should be able to authenticate with...
30 Jul 2020 by Sandeep Mewara
This seems more of the program logic of authentication. You need to track if its the first time (user has ever logged in via username/password). Once you have this info as true, then you make use of fingerprint approach. If you find otherwise,...
28 Jan 2020 by phil.o
You should replace LOGIN with the unix username and groupname of the account which should be the new owner of specified path. If username is username, the command is then sudo chown -R username:username /usr/local/lib/node_modules/cordova Regarding your chmod command, the error message tells...
28 Jan 2020 by Member 14704249
To ensure permissions are correct, run this command on Mac what should i replace with LOGIN? as im getting error chown: LOGIN: illegal username. $ sudo chown -R LOGIN /usr/local/lib/node_modules/cordova For Read and Write permission: chmod -R 777 '/Users/username/.cordova/lib/tmp' in this...
19 Jul 2019 by Member 14536080
completed example Ionic with asp.net mvc c# web api Ion News - A Ionic News App With Asp.Net Mvc Web API
9 Apr 2019 by Abhishek Gupta 18
I am using IONIC version 1 with cordova. I have tried many cordova plugins to browse the PDF files from mobile file system. But None of them has worked for me. Thanks in advance. What I have tried: File Picker, Cordova File Chooser, Cordova-plugin-file
19 Mar 2019 by Member 14170167
Hi every one, I am developing an ionic 4 application. The app is running on browser well. But when i build the app for android then get error like "An error occurred while running subprocess cordova." Is there any solution to solve this problem. Help will be appreciated. Thank You here is the...
20 Dec 2018 by Member 14096264
I am developing an App in Cordova and I am going crazy to debug. Any suggestion to be able to dubber will be welcome. Thank you What I have tried: The Android Studio emulator slows down the computer a lot so I can not use it, so to check anything, I have to build the whole app and then...
16 Jul 2018 by tasinsahin
I made an ionic project and succesfully converted it to ios app and installed it to my device successfully. However; after trying addding android platform to the project; ionic cordova platform add android I had the following error; Failed to install 'cordova-universal-clipboard':...
16 Jul 2018 by Gerry Schmitz
Have at it: Path must be a string. Received undefined after upgrading my cordova to 7.1.0 - Stack Overflow[^]
6 Mar 2018 by Silvia Campo
I've been using web sockets the same way as a regular http request; I wasn't using them to their full potential...
21 Jan 2018 by Member 9983063
you need IOS platform for build for IOS like macbook and xcode for built how can you Build IOS app in windows
3 Jan 2018 by mehul.prajapati
showing error when build cordova app : 1."SDK platform" for android-23, 2."Android SDK Platform tools(latest)" 3."Andrpod SDK Build tools(latest)" Hint: open the sdk manager by running : "c:\Program files\Android\android-sdk\tools\android.bat" please install android target: "android-23". you...
1 Dec 2017 by Silvia Campo
This post contains steps on how to set up an Android application widget in an hybrid mobile application using Apache Cordova and the plugin ACE from Microsoft.
12 Nov 2017 by elshorbagy
I added Facebook plugin(Telerik Fork) to my Cordova project in Visual Studio 2015, it was working fine and for no reason every time I compile my app I get this error: FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'android'. > Could not...
14 Oct 2017 by Member 13465086
Hi, did you ever find a solution?
2 Oct 2017 by elshorbagy
I need help to implement Facebook login within my application. I tried the official Cordova plugin example but I could not make it work, I need to retrieve the username,email and gender. If anyone has implemented this before I will appreciate your help. Thank you What I have tried: ...
2 Oct 2017 by Sourav Kumar Nanda
Use the Code Add these scripts in html page: the body...
21 Jun 2017 by Member 9983063
Hello Guys, How are you.I hope you will be fine guys I have started my new ionic project and the projects is working well but I have an issue with multiplication can you please guide me how can I sum 2 values in ionic and show in 3rd {{item.item_qty}} ...
21 Jun 2017 by Member 12464509
In your code i see this line {{item7.product_price}} it has 7 number remove that and you can write below code to multiply: {{item.item_qty * item.product_price}}
21 Jun 2017 by Member 12464509
hi you can try this way create a folder and place HTML and Controller file at same place. I created folder on desktop, then First create HTML file then Create a Controller file inside desktop folder. Step 1: to create index.html file. open notepad and paste below code and I saved it as...
21 Jun 2017 by Member 9983063
Hello Guys, how are you i hope you all be fine guys i need to sum 2 values in my angular project but am new and just a beginner lever angular programmer i dont know how to make variable in angular and sum it What I have tried: var num1,num2,num3 num1 = item.item_qty; num2 =...
21 Jun 2017 by David_Wimbley
I think you would be better off putting the adding/subtracting of your angular variables in your controller rather than your view. You should add another property to your item object...i'll call it sumOfTwoVars. So you should have something like this in your controller (note, you didn't include...
2 Jun 2017 by Member 13237994
We are building a solution for field technicians that utilize Apple iPhones out in the field to track data for installations at assigned sites. The iPhone is running a custom-built application that field techs utilize to view their list of assigned installations for the day. They can also log...
10 May 2017 by Member 13171518
Hi, I am doing APK upgrade. When upgrade finishes and APK re-opens it gives an exception "unable to Start Cordova spinner". When I restart the APP 2-3 times it restart the application without any exception. It looks like application is not ready. My Application first(Login) page we are...
28 Apr 2017 by Imran Abdul Ghani
Ionic is basically an open source SDK (Software Development Kit) for developing Hybrid Mobile Applications
12 Apr 2017 by MarkNopfler
Case analise index.js var db = null; var db2 = null; var db3 = null; var dbUser = null; var dbName = "estudos.db"; var app = { // Application Constructor initialize: function() { document.addEventListener('deviceready', this.onDeviceReady.bind(this), false); }, // deviceready Event Handler...
16 Mar 2017 by Member 13060802
The unmanaged DLL is not being foundWhat I have tried:I have a cordova project referencing a windows runtime component. This is how I am calling the method from JSusing System;namespace IBscanUltimate{ public sealed class Class1 { public static String...
16 Mar 2017 by KarstenK
Looks like you are in "dll hell". Your only friend is the good old Dependency Walker. Often this error is a syndrom that some other dlls like some run time dll are missing. Check out that your dll finds all needed dll. Watch out for red or rose dlls in the Dependeny Walker. Is the behaviour...
1 Mar 2017 by yaazone
You have an idea for an app and decided to do it yourself, either alone or with a small group of people and your app development is not organized professionally. Then this article fits perfect for you. The context above is exactly the one in which I have implemented a native ios and hybrid app.
1 Mar 2017 by Wray Smallwood
Since this was apparently never answered, for anyone reading the question, the answer is that you don't have to do anything. If workorderdata is a list that changes, when it is changed, angular will run a $digest cycle and the display list should reflect the changes immediately. In fact you...
1 Mar 2017 by Oguz Türkan
Hi,I m using angularjs and jquery for cordova on visual studio. for android 4.1.2 when i use $scope.$apply() or $scope.$apply(funtion() {..}) to refresh ng-repeat mobile application crash. log says win deathIs there any way do this.
23 Feb 2017 by Nayan Choudhary
How to properly authenticate and avoid error 12501
6 Feb 2017 by Vitheya Monikha
The plugins which i used for card scanner is cordova(card.io) and it was successfully installed, but after the build function i cant able to generate any apk file, it throws an error.How can i solve it??Error: Error code 1 for command:/android/gradlew with args:...
25 Jan 2017 by prthghosh999
Finally i have build an apk file for android version. I had to install android SDK in my local machine and set the environment path.
17 Jan 2017 by Aravindba
Hi How to choose any type of files from mobile devices (Android,ios,windows),Currently i can choose only .jpg file only.i never pass mime type,but still allow to choose .jpg file only.What I have tried:I am using this code to choose filenavigator.camera.getPicture( ...
6 Jan 2017 by prthghosh999
I created an application using Cordova in visual studio 2015. But I am unable to generate .apk file in my Windows 7 platform. Is there anyone who could help me to solve this problemWhat I have tried:I have created an application using Cordova in visual studio 2015. I have generated...
23 Dec 2016 by Aravindba
Hi I am using cordova FileTransfer plugin to upload and download in Android and IOS Mobile device,i am now stuck with receive in aspx page using HttpPostedFileFrom mobile app i am transfer file using below code. in button click event function uploadFile() { ...
14 Dec 2016 by Garbel Nervadof
Create a simple Android application "Counter Tap" using PhoneGap Build with pure HTML, CSS, and JavaScript, and also Dialog and Vibration plugins. Very simple application to count stuff. Step by step.
9 Dec 2016 by Member 12567297
Hi,I have imported my Cordova application in Android studio but after importing ,a notification is Displaying like "Migrate Project to Gradle"?.I am new to Android Studio.Can anyone help me What does it mean and how can i migrate Project into Gradle.What I have tried:Imported...
9 Dec 2016 by ridoy
Android Studio always uses Gradle under the hoods to build the sources. Check out these and follow:cordova - How to Get a PhoneGap Project to Run in Android Studio with Gradle Build System - Stack Overflow[^]Importing a Cordova Project into Android Studio[^]
7 Dec 2016 by Member 12567297
Hi,I am trying to create a Cordova project in Android studio. I am new to Android Studio. Can anyone help me to know ,how to create a Cordova project in Android Studio.What I have tried:Tried to create a Cordova project in Android Studio
7 Dec 2016 by Nelek
Sorry but your question is too generic and too wide to be answered in a "quick answers" section.Why don't you start with a simple google search?Apache Cordova Tutorial[^]Getting Started with Android - Apache Cordova[^]Apache Cordova Tutorial: Mobile Applications with HTML, CSS & JS |...
3 Dec 2016 by Ahmed Bouchefra
Throughout this tutorial, we are going to learn how to use Ionic 1 and ngCordova by building a flashlight app for Android and how to use angular-translate to add mutli language support to our app.
1 Dec 2016 by Tanuj Goyal
I'm getting some weird error while trying to add cordova wkwebview plugin in my existing application.Error: if i try to update ios cordova platform ///////////////// admins-mbp:WKWebView admin$ cordova platform update ios Updating ios project... Error: Uncaught, unspecified "error" event....
7 Nov 2016 by Ahmed Bouchefra
In this post ,we are going to see how to use the mobile phone camera in mobile apps built using the Ionic 2(2.0.0-rc.1) Framework.
22 Oct 2016 by LincolnMugasho
Am trying to display a graph using Viz graphs in my Cordova app which uses phonon framework. var container=document. getElementById('mygraph');Doesn't seem to initialize it and hence it can't displayWhat I have tried:document.getElementById('myElement');
19 Oct 2016 by Member 12804288
I want google login in cordova app for android platform by using **cordova googleplus plugin** so I have made an android app on console developers google on google account and integrate it with my cordova app but when i run my cordova app on emulator i am facing error with code:8 and when i run...
19 Oct 2016 by Yasar Bhatti
I am trying to rebind onclick events to buttons after the form has been submitted.However i can't seem to rebind the click event after the initial click. I've created a brief example below to show highlight what i'm talking about.What I have tried:I have a basic index page that looks...
5 Oct 2016 by Member 12776954
Hi,I want to build an app to run on android that will connect to a on premise back office webapi, it needs to access built in barcode scanner (zebra tc55), it is a business application (stock control).I am not sure on the best approach, cordova or xamarin they both seem to do the job,...
5 Oct 2016 by David_Wimbley
Both cordova and xamarin have their pros and cons. We don't know anything about your project or what you are trying to accomplish so the only thing we can suggest is try both and see what you like.Cordova is more a web technologies framework for building cross platform mobile apps and...
18 Sep 2016 by Member 12379554
I am using local storage jwt authentication while logging in. I have to log in every time I open my app. Is there a way to stay logged in like any other apps until unless we specifically sign out ? Please help . ThanksWhat I have tried:I have tried with localstorage.set but it's not safe...
23 Aug 2016 by Member 11405465
Hi I'm working on Ionic framework for mobile app development in Visual studio 2013.In config.xml I could not able to add cordova file plugin, it shows couldn't able to download plugin., so I manually installed the Plugin from Git repository. The version of the plugin added is 4.2.0 and I added...
23 Aug 2016 by Maciej Los
Start with this tutorial: Building Apache Cordova Apps with Visual Studio on Channel 9[^]Some details how to install Cordova plugin, you'll find here: Installing Cordova Plugins in Visual Studio 2013 - Stack Overflow[^]
18 Aug 2016 by Member 12480925
i want to insert image path into sqlite and display that image using angularjs and cordova.What I have tried:My current code is as follows:myDB.transaction(function(transaction) {transaction.executeSql('CREATE TABLE IF NOT EXISTS newtb(Name text,img blob)');var executeQuery =...
17 Aug 2016 by Patrice T
When you learn to drive a car, you are required to learn all road signs.It is the same for programming!You want to use SQL: Learn the language, read documentation, follow tutos, practice.You want to use Angularjs: Read documentation, follow tutos, practice.You want to use Cordova: Read...
17 Aug 2016 by Member 12689721
You are inserting the path of the image and not the blob content of the image. You have to correct the type of column for path it should be a nvarchar(255) or like so, but not a blob
10 Aug 2016 by Member 12680902
Hi,I have a hybrid mobile application which works on both android and ios devices.The problem with it is that the application works fine when run on Android. However, there is a Network Error: XMLHttp Request Exception 101: saying server is unresponsive while running the application in...
27 Jul 2016 by Richard MacCutchan
You already posted this question at How to receive push notifications into tray when app is not running[^].And if you have not tried anything, how do you expect anyone to help?
22 Jul 2016 by aparnaChandras
I want to store notification into local storage when network connection is off and receive atleast 10 notification after network is on .I have used cordova push plugins and android sdk.What I have tried:I am new in android developer.Please help me
22 Jul 2016 by Sangeet Das
You might want to consider using a BroadcastReceiver for ConnectivityManager.CONNECTIVITY_ACTION instead. From the docs:A change in network connectivity has occurred. A connection has either been established or lost. The NetworkInfo for the affected network is sent as an extra; it should be...
19 Jul 2016 by Member 12525379
I have used npm install -g ionicand getting the below errors. Before ionic ,i have successfully installed cordova, node js. Some one please help me out.npm ERR! Windows_NT 10.0.10586npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\JOY...
6 Jul 2016 by Member 11137490
I am new to cordova mobile application. I can upload image file using cordova but when i am trying to upload the pdf file, it is not work for me. I don't know how to upload pdf file. If anyone knows about it, kindly help me to upload the file.What I have...
3 Jul 2016 by Member 12242002
I am using Intelxdk for this application. This is a mobile application.My categorylist will show, after that click on that, I have to redirect the product page, When I click on the category I can get some error like this. "Can't find variable:...
22 Jun 2016 by Richard MacCutchan
You already posted this question at Android - information leakage flaw outputstream[^]; please do not repost. If you have information to add then edit your original.
5 May 2016 by arunfromtmm
I am creating a hybrid app by telerik app builder in visual studio. I am not able to access sqlite db which is created externally. But I can access the db which is created at run time. I referred some sites, those solutions are not worked for me. The following code will create db and access it...
5 May 2016 by arunfromtmm
Actually I missed the js reference for cordovaYou are correct, actually I missed to include the following cordova script
4 May 2016 by Torakami
Hi , I am using aapche cordova application project that uses sql lite as database But The error which I am getting at the time of creating table is as belows index.js:11 Uncaught TypeError: Cannot read property 'transaction' of undefinedWhat I have tried:var myDB;//Open...
29 Apr 2016 by Dave Kreskowiak
So you want a complete tutorial on how to use Ionic, in a forum environment?Really, your first step is going to be Googling for "Ionic app tutorials".You're not going to get any kind of a course on it in a forum.
26 Apr 2016 by Richard MacCutchan
You already posted this question at How to convert android existing project to cordova plugin[^]. 1. Please do not repost. 2. Please do your own research.3. Please explain your problem in better detail.
24 Mar 2016 by Member 12366212
I want to connect to Remote Agent on Mac. I have npm, node.js installed. I have also remotebuild installed and it spits out the remotebuild certificate. I have Xcode installed and active too. But Once I try to connect from VS 2015 Tools for Apache Cordova and input the certificate info I get...
2 Mar 2016 by Member 12336167
HiMy objective is to get the beacon data from advertising data i.e. uuid+Manfacturing data+Major_Minor+txpower,I used cordova Ble scan plugin in Visual studio 2015,I am unable to get whole beacon data from ble.start scan,Please help me in this regard,The following is the...
2 Mar 2016 by Richard MacCutchan
Try the developer forum at Evothings | Making mobile apps for IoT easy, fast and fun to build![^].