Cordova Plugin InAppBrowser

Apache Cordova / Phonegap InAppBrowser is used for Loading Child Browser in your application (which cannot access cordova api like camera, contacts ..etc) for loading third party (untrusted) content. This provide some default UI controls such as back, forward, done. Installing InAppBrowser Plugin To use Apache Cordova / Phonegap InAppBrowser we need to add a plugin. …

Upload Images using PhoneGap & PHP

This article, I’m going to explain How to Upload Images to the server using PhoneGap File Transfer Plugin. Requirements PHP based Web Server (you can use local web servers) Cordova Camera Plugin (cordova-plugin-camera) Cordova File Transfer Plugin (cordova-plugin-filetransfer) Steps Writing Simple PHP code for receiving files from Mobile App Camera Plugin is used for accessing …

PhoneGap Login with PHP & MySQL

Phonegap login system (cordova login) using php & mysql: In this tutorial, we’re going to build simple login system using phonegap with php and mysql backend. Creating database for storing user data ( mysql ) Creating Login page for authenticate existing user Creating Signup page for add new user account Database design for phonegap login system First …

Build Mobile Apps with WordPress using PhoneGap / Cordova – Part 1

As per reader suggestion, I’m going to write the article for how to build mobile apps with WordPress using PhoneGap / Apache Cordova. Requirements: A WordPress Blog WordPress – JSON API (Plugin) WordPress – JSON API User Plugin Cordova CLI / PhoneGap Build Jquery [download src=”https://codesundar.com/wp-content/uploads/2016/10/wordpress.zip” text=”DOWNLOAD SOURCE CODE”] Step 1: Setup WordPress Blog Login to …

Cordova PayPal Integration with Example

Paypal is an international payment gateway provider where you can send and receive your money with multiple currencies. commission rates will be different based on their countries Prerequisites Paypal Integration requires an account with PayPal. you can create new PayPal account for free Initialising PayPal document.addEventListener(“deviceready”, onDeviceReady); function onDeviceReady() { var clientIDs = { “PayPalEnvironmentProduction”: …

Cordova Admob Tutorial

Admob.com allows developers to make money by displaying advertisements. Cordova supports following ad types Banner Ads Interstitial (aka fullscreen ads) Syntax var admobid = {}; document.addEventListener(“deviceready”,onDeviceReady,false); function onDeviceReady(){ admobid = { banner : ‘ca-app-pub-5220248899755640/7077506610′, interstitial:’ca-app-pub-5220248899755640/8554239818’ }; var defaultOptions = { adSize : ‘SMART_BANNER’, position: AdMob.AD_POSITION.BOTTOM_CENTER, bgColor:’black’, isTesting:true //enable true when you’re testing }; AdMob.setOptions(defaultOptions); } function displayBannerAd(){ …