Click here to Skip to main content
15,887,302 members
Everything / Hosted Services / PhoneGap

PhoneGap

PhoneGap

Great Reads

by Mark Lassoff
In this tutorial, we’ll build a hardware-aware application that uses Javascript to work with the device accelerometer.
by Siddharth Chandra
How to use Angular in a Cordova Environment and its impact
by Hugo Carnicelli
In this article, we are going to learn what Apache Cordova is and in which way this tool is now integrated into Visual Studio 2015.
by Arian Celina
How to develop Hybrid Mobile Apps with Phonegap, AngularJS, Bootstrap

Latest Articles

by Siddharth Chandra
How to use Angular in a Cordova Environment and its impact
by Hugo Carnicelli
In this article, we are going to learn what Apache Cordova is and in which way this tool is now integrated into Visual Studio 2015.
by Arian Celina
How to develop Hybrid Mobile Apps with Phonegap, AngularJS, Bootstrap
by Mark Lassoff
In this tutorial, we’ll build a hardware-aware application that uses Javascript to work with the device accelerometer.

All Articles

Sort by Updated

PhoneGap 

6 Jul 2016 by _Kapil
Hey all,I am working on push notification for window app in phone gap.I not able to update navigator URI when receive push notification.Means when when i receive push notification i want to move to some particular form where i have to show all notification access from database in...
31 Aug 2015 by Aalaa Abo Omar
Hello,I want to learn about PhoneGap framework,kindly please provide me a good and simple tutorial for that.Thanks in advance
28 Mar 2014 by Abhinav S
If you are planning to go in for application development, you should go for .Net development.Phonegap is only for the phone.
1 Jun 2014 by Abhishek Pant
this may help you a little-http://stackoverflow.com/questions/14040371/sending-email-using-phonegap[^]How to send email in PhoneGap (Android) using a gmail account [^]
13 Feb 2014 by Achee06
I am encountering this error. Upload failedYou need to use a different package name because "com.phonegap.www" already exists in Google Play.I already followed some suggestions in the internet which is all the same and here is a sample...
21 Jan 2015 by Afzaal Ahmad Zeeshan
You can read this forum thread from PhoneGap to learn more on allowing the users to login in using their Google accounts.http://community.phonegap.com/nitobi/topics/implementing_google_login_in_a_phonegap_app[^]
18 Aug 2015 by Afzaal Ahmad Zeeshan
Ah, this is when you come to need a Web API and a client! Since most of your content in the post is mobile-app oriented. This means you want to use the data from your website in the mobile as a native application rather than HTML content being loaded using the old default browser. I think I got...
29 Jan 2014 by Ahmed Bensaid
Visual Studio is your friend ;)http://msdn.microsoft.com/en-US/windows/apps/br229519[^]
3 May 2016 by Amany Romeh
hi i currently work on a mobile application android using html and javascript in phone gap build so i link my app to my wordpress site and i want to retrieve some pictures from my mysql and display it as a slide show in my app . any help please?What I have tried:i select the data from my...
16 Jul 2015 by Ambati Dilip
Hello i am using Onsen for my IOS development using cordova in visual studio.Can any say slide bar with multipagination.http://onsen.io/guide/overview.html#ManagingMultiplePageshttp://onsen.io/guide/overview.html#UsingSlidingMenu[^]if i do indival its working fine but when i...
19 Aug 2014 by Ameer Vikram
how to call Jquery Ajax POST using WCF RESTFull Service from phoneGap or ASP.NET
2 Jul 2014 by Anil Kumar Ch
Here is the Code: XYZ Information First Name:
10 Jul 2013 by Annamalai09
Hi, I am new to PhoneGap. I want to access Sql Server Database from android phonegap app. Can anyone tell me how to do this.? Please.Regards,Annamalai
31 Jul 2013 by Annamalai09
Hi. How am i supposed to add an android native controls to phonegap app??? Pleae somebody help me in this. I havent got the solution yet.
30 Jul 2013 by Annamalai09
Hi, i finally found the solution. Though many here knows about this, i just want to share how i did. I wrote a webservice in c# which retrieves the data from SQL Server Database. I stored the data from database in datatable and put it JSON format through serializer.In phonegap, i used jquery...
30 Jul 2013 by Annamalai09
I am developing android app using phonegap. the problem i am facing is, the app doesnt look the same in various screen resolution. I tried px and % but its all in vain. Can anybody tell me how can i design an app which looks alike in all screen resolutions..????
7 Aug 2013 by Annamalai09
Hi friends, I surfed internet to find the solution to make phonegap android app run in background even the app is not opened. I found some solutions and also github links. But those are not clear enough to explain me how to write java and js file for a background service based on my...
18 Aug 2013 by Annamalai09
hi friends, I need to create Sqlite table in java and have to access it from javascript. Table is created through java but while accessing it in javascript it shows table is not found. Please help me. Its very urgent.Here is my code. in the below code i am creating database. I am...
17 Sep 2013 by Annamalai09
Hi. Again. I am with the solution for my own question. As nobody tried to answer this question. I am giving solution. Javascript and java create database in different locations so we can not access DB created in Javascript in java or viceversa. So, there is a phonegap plugin named...
3 Jan 2014 by Annamalai09
hi, i want to catch the keypad show and hide event in android phonegap. I have tried by adding event listener to "showkeyboard" and "hidekeyboard" events but the events are not fired. can anyone give another solution for this problem.??document.addEventListener("deviceready", onDeviceReady,...
6 Apr 2013 by aquant
Hi all,Is there a good/simple free or not JS filepicker which can be easly applied in a JavaScript's app for Android.
1 Apr 2015 by Arian Celina
How to develop Hybrid Mobile Apps with Phonegap, AngularJS, Bootstrap
2 Aug 2013 by Ashutosh Mahto
Please try the following code inside success function- $.each(data, function(i,item) { //create the li element var $landmark = $('').text(item.name); //bind the click event to li, since its being created at runtime $landmark.bind('click', function(){ //get the...
24 Aug 2013 by Avinash6474
I am trying to install PhoneGap on Mac, but I'm getting the following error: sudo npm install -g phonegapnpm http GET https://registry.npmjs.org/phonegapnpm http 304 https://registry.npmjs.org/phonegapnpm ERR! Error: EACCES, mkdir '/usr/local/lib/node_modules/phonegap'npm ERR! {...
28 Aug 2013 by Avinash6474
http://iphonedevlog.wordpress....
12 Sep 2013 by Avinash6474
Hi,add the window.location.href="page.html" at end of the function GetListTourneeByPersonnelIDFromServer()As javascript function calls are asynchronous so it immediately going to next line of code. And before completing function execution it is redirecting to next page.May this will...
31 Mar 2015 by Avinash6474
Hi All,I had created an application using phonegap. I had added geolocation plugin in application cordova plugin add org.apache.cordova.geolocationI can able to see the plug in added in project. Now I have created a location.html page in which I am using geolocation plugin...
13 Feb 2016 by Ayyaz Zafar
I am working on a mobile application in phonegap. I am at the stage to decide weather write custom jquery code (for things like sliding screens/pages) or I its better to use jquery mobile or angular js?If so then which framework should we use ? jQuery-Mobile or Angular.js?What I have...
28 May 2014 by Behno0o0oD
Hi every oneI am learning to develop android apps with html and css and javascript with phonegap.the problem is that I could not find the way to debug the app on my nexus7.what is the way to do that?any help would be highly appreciatedtnx in advance
18 Aug 2015 by Brady Kelly
I need to very quickly get a demo out of a small, simple mobile app. I have decided to use PhoneGap to package it and make it fit, and plain old HTML 5 and Angular to make it work.That scenario is all very well if the app is static, with a local data store, if needed, on the device, but I...
19 Jan 2016 by carlosbou
I need to disable the system keyboard. All inputs will be by a barcode scanner.The code I tried is the following;window.addEventListener('native.keyboardshow', keyboardShowHandler); function keyboardShowHandler(e){ cordova.plugins.Keyboard.close(); }
26 Feb 2015 by CHill60
We don't write code to order.Do some simple research using Google (or your favourite search engine) and you will quickly come across the Phonegap blog[^] on the Facebook integration plugin - complete with readme and example apps.Give it a go, then come back if you hit problems with your code
29 Sep 2014 by ChrisTekh
Hi folks! Can anyone help me with a beginner tutorial from his blog that would give me kick start in mobile development using cordova and phonegap. I am completely new.Thanks
10 Sep 2014 by Christian Amado
For me the best option is Xamarin[^], PhoneGap[^] and Telerik Mobile[^].
17 May 2016 by Debendra0256
That is CORS related issue .these problem you might face when your WCF service is hosted in one domain and your client in another,There are several tricks are there to fix this issue,as i have worked in WEBAPI there are several document available in net by which i fixed the issue.Please check...
28 Jan 2014 by DeepsMann
Hi,I have created a WP8 application with phonegap. Now i need to create same application for Windows 8. PhoneGap says to create it using Html5/Javascript metro app. There i need to use windows Runtime Component to call C# code. I tried to use WebRequest in a windows Runtime Component class,...
6 Jul 2014 by Dev Sharma
Hi,Iam trying to add watermark on my image.I have using below but iam new to phonegap.Please help me to add watermark on images... Capture Photo ...
18 Sep 2014 by Dev Sharma
Hi all,I am trying to turn on/off gps system setting using cordova/phonegap.I have gone through all the materials that are available on internet but no result.Only I got some comments on it.I have got some materials on for native android code and full source code also.The same question asked...
1 Aug 2013 by Deviprasad Das
Try using the following piece of code:$(document).ready(function(){ $(document).bind('deviceready', function(){ //Phonegap ready onDeviceReady(); });var output1 = $('#ullist'); function onDeviceReady() { $.ajax({ ...
28 Mar 2014 by dhage.prashant01
Hello friends,I have actually working on .NET and got change to work on Android Apps using Phonegap.I was bit confused weather .NET or Phonegap will give me bright future ahead?I know its kiddish question, but I want know from you expertise.Any guidance?Thanks in advance
30 Jul 2015 by dhage.prashant01
Hi Friends, I'm trying to Globalize the mobile application. Currently application supports English and Portuguese language.Problem:When I change the regional settings to Portuguese, the phonegap plugin still displays English text.EQ. When I click photo using camera, it display text...
2 Aug 2015 by dhage.prashant01
I got solution for it.This is not cordova or phonegap releated changes.Since it is iOS project, so I needed to make changes in the '.plist' file of Xcode.CFBundleLocalizations en ptNow above changes makes...
13 Mar 2015 by Dheeraj Singh Bhadoria
Please refer this Link[^] link to solve your problem.
10 Dec 2015 by elshorbagy
Hello, I'm building an android app with HTML5 and Javascript, and I want to add a close button to end my application. I read that I can do by using Phonegap API, I installed phonegap and I cannot find the phonegap.js on my hard drive. Is there another way to end my application? Where can I...
18 Dec 2015 by elshorbagy
I built an android app with HTML5 and Javascript. I want to enable users to dial numbers but it is not working:01224001111I also added this line to android manifest xml:
14 Aug 2014 by Erick Martín Garcia Vega
i'm trying to integrate sencha touch 2 files ( js, css) at my phonegap app, but i'm having a trouble that says the variable app it's not defined, i'm following this tutorial ( http://www.sencha.com/learn/a-sencha-touch-mvc-application-with-phonegap/ ), but it seems to be out of date :( , i feel...
18 Aug 2015 by F-ES Sitecore
Just build a mobile-friendly MVC site that people can use on their mobile. If you really want an "app" you can use phonegap to make an app that uses static html\javascript that communicates with the services provided by your mobile-friendly site. So you'll end up with one back-end site that...
19 Feb 2015 by FaizanMubasher
I am working in Phonegap/Cordova and I need to use menu to go for app settings. But I have came to know that according to [Google/Android docs][1][^], developer shouldn't use that menu button anymore. Instead, developer should use action bar for this purpose. Beginning with Android 3.0...
10 May 2013 by fatihkok
Hello, I'm having problems while getting JSPN from PHP, shown below:[{ "vehicleId": "1", "status": "Running", "position": "x", "battery": "25", "distanceTravelled": "123", "destination": "y", "freeSeats": "2", "speed":...
12 Jun 2014 by future2015
1>Is there a way of developing ios app without having mac PC?Yes, you can use VMware workstation. Install Mac OS X on vmware and then install Xcode.2>Is there any substitute emulator available in windows PC?Xcode is IDE with iPhone emulator.
30 Oct 2014 by Ganesan 2009
Hello I am started working in phonegap app for windows 8.1 using indexed db but its not working. While i am trying with windows 8 the indexed db supported. so any one aware of this issue means reply me.What db i should go with for windows 8.1Awaiting for quick replyThank...
31 Oct 2014 by Ganesan 2009
Dear All, Indexed db supported for windows 8.1 using cordova 3.6.3 version. (Not in PhoneGap Build, Work using in command Line).Thank you,
6 Aug 2013 by garav kumar mishra
I want to set alarm using phonegap. Can i do this how
8 Aug 2013 by garav kumar mishra
i had made use of http://tech.cibul.net/using-the-android-localnotification-plugin-for-phonegap/[^]to set reminder i can set mutiple alarm.But i have have problem to use this with database .any help ??
26 Sep 2013 by garav kumar mishra
i want to display html using phonegap .Problem is that my html works fine in chrome browser but not in chromium.When i use super.loadUrl() it uses chromium browser to display content , i want to force it to use chrome
20 Oct 2013 by gayan_priyankara
i have built a HTML5 application and there is a problem with the default android web view with my application, some functions are not working properlyso i need to get the web view from chrome to my application...i want to set the Google chrome as a the default web browser when my application...
19 Nov 2015 by George Jonsson
You are prpbably better off getting support from here http://onsen.io/forum.html[^]Quote:If anything about Onsen UI is unclear, please ask a question on Stack Overflow, and tag onsen-ui.
3 May 2016 by George Jonsson
As always you need to break up your task in smaller pieces.So what do you need to know in order to create a dynamic slideshow for a mobile device?Well, this is one possible approach:1. Look for ways to make the page mobile friendly."Mobile first" is a buzzword these days, so you can...
25 May 2015 by Golden Mind
helloi have this error when i try make build releaseError 27E:\App.Mobile\bld\Release\platforms\android\cordova\build.bat: Command failed with exit code 8 E:\App.Mobile\MDAVSCLI 1 1output1>------ Build started: Project: App.Mobile, Configuration: Release Android...
6 Jul 2016 by Gourav Khanna
I need your help/suggestion in Phonegap AngularJS application. I have created a app where i have 2 pages one is to show the categories and 2nd show the details of it.I am using $http service in my app to get data but it doesn't work in apk where as it works perfectly in Browser and i have...
6 Jul 2016 by Harinder_KBS
i am facing same issue but still on r&d
19 Sep 2016 by Harpreet05Kaur
use window.sessionStorage.setItem(key,value) function of jquery to store your strings throughout your application.
4 Jul 2013 by Het Upadhyay
I am new to phonegap, so please help me.i am using Pyo25 plugin to send sms in phonegap android but i got undefine method send error. i hv followed all steps though i got an error.i am using cordova 2.7this is my codevar smsSendingPlugin =...
14 May 2015 by Hugo Carnicelli
In this article, we are going to learn what Apache Cordova is and in which way this tool is now integrated into Visual Studio 2015.
17 May 2016 by hussainasdsd
i created a wcf service in asp.net for phone gap application where i will access those method using ajax in phonegap.. method working on Working Linkbut when i am tring same method locally it giver 405 error:Request URL:http://www.halawiat.com/Services/Service.svc/GetCustomersRequest...
9 Sep 2013 by ibrahimCA
I have the code belowGetListTourneeByPersonnelIDFromServer();window.location = './Calendrier.html';When I execute this code there is, the redirection to the Calendar page cancels the execution of the GetListTourneeByPersonnelIDFromServer function, and since I can not use the term...
21 Sep 2016 by iDoKin
I'm newbie to PhoneGap, have done some research before starting on development. I have registered through the website site to test app, so I need to test with my credentials and see if can will login. I do get the string from server which contains sessionid and name of person login...
2 Jun 2014 by Jeek_online
I have used LowLatencyAudio plugin in phonegap build to play sound and which works fine . But, when I referred this which says, unload function must be used in order to unload an audio file from memory. Otherwise, you will cause memory leaks. Here is my working code snippet.
4 Jun 2014 by Jeek_online
I am developing Phonegap build game application, where we have 2 parts in single screen which corresponds 2 functions. 1st function will display random image and text in first part. 2nd function will take care of new level in second part. Now the problem is , the UI is completely disturbed since...
6 Jul 2013 by Joezer BH
See how-to-create-text-file-and-insert-data-to-that-file-on-android[^]Cheers, Edo
1 Jun 2014 by Kaizad Karanjia
hello all,i am new to phonegap..i wanted to include email facality in my project... for example: if the user clicks on submit then an email should go to the owner of the company in background..can anyone please help me..
2 Jun 2014 by Kaizad Karanjia
hey, i have created a js file and also an xml config file. so now how do i access those file in my application that is how do i write html UI for it..??
5 Apr 2017 by Karthik_Mahalingam
Quote: Uncaught TypeError: Cannot read property 'querySelector' of null. You get this error when you try to access a member (method/property) of an object which is null Solution would be validating for null values before accessing the functions in it. but you will only have to trace the code...
30 Sep 2014 by Kornfeld Eliyahu Peter
The answer for this can fill books - you should go to the sites of PhoneGap[^] and/or Cordova[^] and start reading about.Set yourself a goal (some simple app, like Hello World) and try to develop it! If you are familiar with Visual Studio you may be interested in Multi-Device Hybrid Apps...
25 May 2015 by Kornfeld Eliyahu Peter
1. If you copied the project from other computer it is highly possible that the build command looks for android at a different location...(the build.bat command file was created with your project) Check the content and update it manually to the right location...2. If you copied the project...
9 Aug 2017 by Kornfeld Eliyahu Peter
As PhoneGap (or maybe Cordova) uses JavaScript, the question is how to call WCF services using JavaScript... for that you can use JQuery's ajax method (of course you have to enable HTTP/S bindings on your WCF and better to use JSON format for return values)... There is a nice sample of all this...
19 Mar 2014 by KRIZTE
Hi,i have downloaded PhoneGap 2.9.1 from this link http://phonegap.com/install/[^]. I'am developing an application for the Bada OS.In almost all tutorials there is a reference of "PhoneGap.jar" file. I searched everywhere and couldn't find anything(or i didn't quite understand). Can...
3 Aug 2015 by krunalpanchalN
Hello everyone,I am very new to phonegap (mobile apps), i was trying out and simple alert message app which displays "HELLO" on device ready in phonegap, but everytime I run the app it shows me Unfortunately, app has stopped.I have searched and tried a lot resolving this but couldn't, i...
18 May 2013 by Lohith Korupolu
I have a problem with my phonegap project working on blackberry simulator. The version is 10.When I say phonegap, I haven't used any Cordova features yet but my simple javascript functions are not working in the first place.I have a button click which invokes a Javascript function. This...
18 May 2013 by Lohith Korupolu
The solution is to edit the config.xml file of the project - add the tag . Only then, Blackberry allows access permissions to a different domain.
4 Sep 2014 by ma.fawzy.it
when using Arabic font "DroidKufi-Regular.ttf" using @font-face it work in my browser and when build it with phonegap it not worked.How embed this font with phonegap?
28 May 2014 by Madhuri Kavuru
I am using accelerometer api in phonegap,in my example onDeviceReady() not fire.Why i am getting this error?please give me solution.I added the "phonegap-1.2.0.js" file only and took the example...
20 Nov 2013 by mangalord
I want something simple in jaydata. I want to run a query and return true or false. For examplevar existingPatients = Database.Test.filter("Id", "==", 5);and then if it returns true i want to update the specific patient of add...
28 Jun 2013 by manueferns
Showing camera view inside html in androiShowing camera view inside html in android and then snap a pictured and then snap a picture
1 Jul 2013 by manueferns
function PostEditSpace() { var space =$("#txtSpaceID").val(); alert("globimg"+globImageUrl); var options = new FileUploadOptions(); options.fileKey="file"; ...
3 Sep 2013 by Mark Lassoff
In this tutorial, we’ll build a hardware-aware application that uses Javascript to work with the device accelerometer.
1 Sep 2019 by MarkNopfler
There is an error in index.js,line 43 that say: Uncaught TypeError: Cannot read property 'querySelector' of null /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional...
26 Jun 2013 by max_nowak
I know nothing about phonegap, but as for javascript:you can use the JS-FunctionsetTimeout(/javascript function/,milliseconds);It executes the Function you pass after a specified time. For examplevar birthday = /* a value you presumably somehow get from your phonegap framework...
19 Nov 2015 by mbarro
Hi, I'm trying to define a custom "modifier" attribute for an in order to modify it's default height value (44px). As is defined on Onsen's web page (here), the "ons-bottom-tolbar" has that attribute, and as comments here, if you want to create an modifier named "xxxx"...
20 Feb 2015 by mehdin69
hello friendshow can I want to develop a android program that when for example person A call to Person B.width answering by Person B , person A' phone start vibrating or flashing or ringing.thanx
19 Sep 2013 by mekalareddy
dear all,i am new to phonegap how can set different backgrounds for every screen
14 Dec 2013 by Member 10202752
i get this error wen i try running this script ...pls help TypeError: invalid 'in' operand obj" // when i view the console$.ajax ({ url:'jen.php', datatype:'json', jsonp:'jsoncallback', timeout:5000, success:function(data,...
25 Oct 2013 by Member 10278629
I'm Developing A windows phone 7 application using Phone gap 2.9.0 versionI just start My App now but The Alert Or Return Confirm Are Not Worked In windows phone emulator.but Same Code Work Fine In all Browser.Below It's my Code.
7 Jan 2015 by Member 10448952
function saveData() { var txtName = $("#txtName").val(); var txtEmailId = $("#txtEmailId").val(); var txtPwd = $("#txtPwd").val(); var txtPhoneNo = $("#txtPhoneNo").val(); $.ajax({ type: "POST", ...
16 Jan 2014 by Member 10525909
want to know to check in mobile device like iphone, ipad or android or windows 8 ...