Questions tagged [phonegap]

PhoneGap is a distribution of Apache Cordova. You can think of Apache Cordova as the engine that powers PhoneGap, similar to how Blink is the engine that powers Chrome or Opera. Over time, the PhoneGap distribution may contain additional tools that tie into other Adobe services, which would not be appropriate for an Apache project. For example, PhoneGap Build.

If you are new to PhoneGap, please read this information before posting:

When asking a question, provide us with the following information where it is pertinent:

  • Your PhoneGap and Cordova version, as well as the platform version you are using (Android, iOS, etc.)
  • JavaScript technologies you are using: jQuery, Ionic, etc.
  • Platform(s) you are targeting: iOS, Android, etc.
  • If you have tested on a physical device, include device models as well.
  • OS and version you are building on: PC, Mac, Ubuntu, etc.
  • Software you are using to build/compile: CLI, Eclipse, Adobe products, etc.

If something is "not working" then provide the above and:

  • Post an example that reproduces the error by cutting the code down to the smallest it can be while still demonstrating the error. Please do not post hundreds or thousands of lines of code.
  • Exact error messages you are receiving. These should include the log information before the error message as often the error occurs a long way before the message.
  • Screen shots or animations showing the issue if possible (and an explanation of what's wrong and what you expect to see). Please do not post just the screen shots of error messages as they are often impossible to read and rarely have the right information.
  • Be concise and clear about what your problem is. Remember that nearly no one will have any idea about your project, your level of experience, what your app should do (or shouldn't) or what you have done to try and fix the problem.

The people who get the most help are the people who provide a clear explanation of what their problem is and provide accurate and appropriate information to help others debug their problem. You have to help us to help you.

Useful Links

Source code

Documentation

1811 questions
0
votes
2 answers

phoneGap 3.5.0 to 6.5.0 and api status was undifined

I try to update me app to 6.5.0 from 3.5.0 when i open it with chrome was 200 and all were Peace and it worked when 3.5.0 the api stasus was undefined on android 4.4.2 and 5.0.1 but it was 0 in 7.0.0 and no data come in. the device i want to use is…
顏陳吳
  • 1
  • 2
0
votes
0 answers

Same dimensions across different pixel densities

I am developing a Cordova app and I have this problem: I wrote all the css with px measures, now I see that in lower density devices everything appear a lot bigger. I want everything to be the same dimensions on every device (even at the cost of…
0
votes
0 answers

how to make secure connection with phonegap desktop

I need to make secure connection,https://192.168.42.253:3000/#/map/home instead of http://192.168.42.253:3000/#/map/home, I am using phonegap desktop cli. because " navigator.geolocation.getCurrentPosition(succes,error,timeout)" to get current…
nisar
  • 1,055
  • 2
  • 11
  • 26
0
votes
2 answers

how to change android package name on phonegap build website

i am trying to upload my apk on google play store but i am seeing this error: You need to use a different package name because com.phonegap.www is used by a pre-installed application. To upload a pre-installed application, please contact Google Play…
0
votes
1 answer

phone gap plugin in cordova project

In my project I am trying to open files which are downloaded in my phone using file opener. I my previous project i was doing the same thing using phonegap file opener module installed in my cordova project. Now I am trying to use the same module in…
stg
  • 62
  • 2
  • 10
0
votes
1 answer

Android Native Store Link Not Working In Cordova App

Running: window.open("market://details?id=com.itemtopia.app", "_system", "location=yes"); Throws: net:ERR_UNKNOWN_URL_SCHEME (market://details?id=com.itemtopia.app) With config.xml settings
lcharbon
  • 3,030
  • 2
  • 16
  • 18
0
votes
0 answers

Phonegap playing html5 video on android with file in www folder

I'm trying to play a video that is stored locally in the root www folder but it will not play. The video starts loading but never plays. Any suggestions? Unfortunately I am not able to load the file externally as it's part of the scope of the work.
dan
  • 1
  • 1
0
votes
1 answer

create a phone Gap app by just passing the url of website

I have created a phone gap app by just passing the url of my developed website into my PhoneGap project but in the app addressbar is coming want to remove that document.addEventListener("deviceready", onDeviceReady, false); …
Shahil Mishra
  • 470
  • 3
  • 14
0
votes
0 answers

phonegap build / apple reject because of support for audio in the UIBackgroundModes key

I am using a geolocation plugin and my app is rejected on the apple store I am using phonegap build to compile Your app declares support for audio in the UIBackgroundModes key in your Info.plist but did not include features that require persistent…
0
votes
1 answer

jquery click/touch events does not work on hybrid app bundled via phonegap

I have developed html + onsenui + jQuery app which is designated to be a hybrid android app (phonegap) but I am facing issues that the layout and click/touch events does not working. Here is the code:
radicz
  • 93
  • 8
0
votes
1 answer

Angular not working in app launch

I've working in Cordova app with Angularjs and all looks fine in Chrome and other browsers. But if I try install the apk to Android, Angularjs not execute the index.html in the launch. However, that's is the weirdest: if I change for other pages and…
ASilva
  • 1
  • 2
0
votes
1 answer

Fabric JS Touch Events

I'm working with Fabric js inside a Phonegap application and although the touch events work, the handles are very hard to catch and use. Specifically the rotate and resize handles. If you touch them 90% of the time they just disappear. I tired…
Matt Kaye
  • 465
  • 1
  • 5
  • 15
0
votes
1 answer

Cordova PhoneGap capture video in mp4 type with minimum size

I am using the code below to capture the video. How do I capture the mp4 video with the minimum size possible? navigator.device.capture.captureVideo(captureSuccess, captureError, { duration: 60, limit: 1, type: "video/3gpp", height: 600, …
Vivek Malik
  • 165
  • 1
  • 10
0
votes
2 answers

Disable Navigation Keys \ Change Their Function

For example, I am able to prevent the back key from exiting the app using this function: function onDeviceReady(){ document.addEventListener("backbutton", onBackKeyDown, false); } function onBackKeyDown(){ alert('back'); return…
0
votes
1 answer

Run JavaScript, jQuery, Ajax on PhoneGap Android App?

Is it possible to use JavaScript, jQuery and Ajax on a PhoneGap App for Android? And if so, how can this be possible? Because, when I run my index.html on Mamp, it works. But when I run it on my local machine, it does not work. So my question is -…
EVZ
  • 41
  • 2
1 2 3
99
100