Questions tagged [phonegap-cli]

phonegap-cli is the Command Line Interface for Phonegap. It is an open-source, cross-device mobile development platform. It uses HTML, JavaScript, and CSS to create applications. Functionality is achieved through plugins. It is synonymous with Cordova.

233 questions
0
votes
2 answers

error building phonegap application : Error installing local npm package

I use visual studio 2015 to create a mobile app using javascript apache cordova app. but when I want to build it , I got two errors: Error installing local npm package. and this error : Could not find module 'C:\Users\rayban…
mina morsali
  • 778
  • 1
  • 16
  • 29
0
votes
1 answer

Phonegap Play Video/Phonegap add plugin

I have just started working with phone gap and I am experiencing some issues. As I understand there have been some recent updates to phone gap so some of the info is a bit out dated. I am trying to play an MP4 video stream. I have tried this on both…
The Humble Rat
  • 4,586
  • 6
  • 39
  • 73
0
votes
2 answers

How can I circumvent proxy on http requests when running a phonegap app in-browser

I have a PhoneGap 3.6.3 app. I'm running it locally using the phonegap cli using phonegap serve and opening the resulting IP in Chrome. The app needs to make ajax calls to an external server. However, all http requests are being rerouted through…
amacrobert
  • 2,707
  • 2
  • 28
  • 37
0
votes
0 answers

Javascript of apk built by cordova CLI doesn't work on emulator/device

I have started to learn PhoneGap/Cordova to create app for mobile devices. I created test app (cordova create) and added javascript file with simple function. file test1.js: function doalert() { alert("Test1 alert!"); } Then I put button into…
0
votes
1 answer

PhoneGap navigator.notification.alert does not work on iOS

I am new to PhoneGap and my navigator.notification.alert does not work. I am using a sample project from PhoneGap, just modified couple of lines in config.xml and in index.html Problem is that alert is shown if I use PhoneGap Developer, but if I…
0
votes
1 answer

Suddenly can not connect to web services in Cordova app

I am Working in visual studio 2015 Cordova App . My JQuery code which was able to connect to web services was running successfully . Suddenly it can't connect to web services . When i test my web service in Advanced Rest Client it worked fine . I…
0
votes
1 answer

phonegap installation error in ubuntu

I want to install the Phonegap on my Ubuntu15.10 os but after executing phonegap installation i got the following error : npm ERR! Linux 4.2.0-19-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "phonegap" …
RAJ KUMAR
  • 1
  • 5
0
votes
0 answers

Can't start Phonegap IOS server app, Can't run phonegap with Xcode, Can't fine Phonegap files for Xcode

So I'm trying to learn to building some IOS apps. I downloaded the Phonegap desktop app and created a project. I installed the ios app on my phone to view the project. The server port URL is wrong and the project doesn't download. I tried everything…
user2593661
  • 81
  • 1
  • 11
0
votes
1 answer

Cannot install Plugin using npm

I am developing a project using Phonegap/Cordova version 5.4.1. I have already created a project named "UnishKuri". Now I want to add some plugins, for example: Camera, Splash Screens. The command that I have used is as follows: cordova plugin…
Namrata Sen
  • 41
  • 1
  • 8
0
votes
0 answers

CORDOVA 6.0 image path fail

So issue appeared when I upgraded from cordova 5.4 to 6.0. Previously during the build all icons were placed in resources/ folder. Now they're placed in Images.xcassets/ folder. Locally all works well but when I try to submit my app I get this. Any…
daniel
  • 1,205
  • 1
  • 10
  • 15
0
votes
1 answer

Phonegap: onDeviceReady override

I have a phonegap project built for android and uses cordova. I planted a web-based app in this phonegap project. This app has one html page, index.html. In this index file, onDeviceReady() function is not called. However, this page is working…
Itamar
  • 885
  • 1
  • 9
  • 17
0
votes
1 answer

Is one Android activity enough with phonegap

I just started developing mobile app with phonegap. I want to check the best practice in maintaining screens. Is it possible to have only one activity and navigating screens with html's. If so is it correct practice? Besides, when we need to…
-1
votes
1 answer

Phonegap Create

when I cd into the proj dir in the Terminal and then I type: "phonegap create" It just gives me: Description: Creates a new application at the provided path. The application name and package ID can also be customized. These values are set in…
-1
votes
1 answer

Can I Open PhoneGap project without config.xml file?

Is there any possibilities that the phonegap project without config.xml file? Since I am new to phonegap so I need help. When I try to open phonegap project phonegap desktop shows me an error that "Selected folder doesn't contain config.xml file"…
-1
votes
1 answer

How to stream video with PhoneGap

I'm creating an app where i need to implement multiple live streams on different pages with PhoneGap and by using Framework7. How can I play the streams from a URL (I have .m3u8 and rtmp:// stream links), I tried with html5 but it doesn't work when…
1 2 3
15
16