473,403 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Unable to call cordova.exe in windows phone 8

Hi,
I wrote the Cordova.exe code in a function hello(). The control is going inside the function but unable to call the cordova.exe.

Expand|Select|Wrap|Line Numbers
  1.  function openContact(successCallback, errorCallback,options){
  2.     alert('contacts...');
  3.    cordova.exec(sayHelloSuccess, sayHelloFailure, "Contacts", "pickContact",[ options ]);
  4.  
  5. }
  6.     function sayHelloSuccess(data) {
  7.         alert('sucess:'+data);
  8.         $('#NameInput').value(data);
  9.         $('#abc').text(data);
  10.     }
  11.  
  12.     function sayHelloFailure(data) {
  13.         alert('error' + JSON.stringify(data));
The alert is coming but the success alert/error alert is not coming after that.

Have implemented the contacts.cs and config.xml according to the cordova functionality.

Please help if any other settings are missed???


Thanks,
Divyaravind.
Attached Files
File Type: zip native.zip (1.3 KB, 72 views)
Jan 8 '16 #1
0 2343

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Tamilmannan | last post by:
Hi all, I'm working on the windows phone 7, I want to display what is memory space used by my application in the windows phone 7. everyone has idea ??? --- Tamil.
1
by: michaeldebruin | last post by:
Hello all, Anyone knows how to establish a connection from a Windows Phone App to a sharepoint server? I have experience with programming C# for desktop apps and a little bit ASPX knowlegde. So...
0
by: sharmashrayansh | last post by:
I am trying to upload a picture from the Pictures Library (on WP7) and save it in a folder on the server. On the server, I'm using PHP to receive the file using POST Method. The PHP Code is:...
0
by: ricontatv | last post by:
who know a code can transform your website in app for Windows phone??? because i dont know how i can add news in my app so if i create a website with html i can add news and after the news add in...
0
by: robertybob | last post by:
Hi. I am looking to write a personal application that I would like to run from a Windows Phone. Is it possible to install the program to my phone without putting it in the Windows Phone...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.