Here is a rundown on the phonegap commands you can execute with version 3.6.3 PhoneGap CLI (command-line interface) using the Terminal or console. Continue reading
inAppBrowser
Using Cordova CLI on Mac OS X to build iOS apps – updated 3/2018
This article gets you up to speed on how to integrate your HTML/CSS/JS app with Cordova into an iOS app using a Mac and prepare it for App Store submission. This article assumes you’ve already followed the steps on https://iphonedevlog.wordpress.com/2013/08/16/using-phonegap-3-0-cli-on-mac-osx-10-to-build-ios-and-android-projects/ to:
Download Node.js
Add PATH statements to .profile
In this article, I am referencing Mac OS X Yosemite 10.10.5 and Xcode 6.3.1 on a Mac Mini. Cordova CLI 5.4.1 was installed. I am referencing “cordova” in the command-line interface, not “phonegap.” This project will not use the PhoneGap Build service. Any updates to these programs may affect the following instructions.
Download Apple’s latest OS and Xcode if you haven’t already:
http://www.apple.com/osx/apps/app-store.html Continue reading
Using Cordova CLI on Mac OS X to build Android apps
This article gets you up to speed on how to integrate your HTML/CSS/JS app with Apache Cordova into an Android app using a Mac and prepare it for App Store submission. This article assumes you’ve already followed the steps here to set up your environment: https://iphonedevlog.wordpress.com/2014/10/30/setting-up-your-developmemt-environment-for-cordovaphonegap-android-projects/
I am referencing “cordova” in the command-line interface, not “phonegap.” This project will not use the PhoneGap Build service.
If you are making an app larger than 100MB for Google Play, you’ll need to make an expansion file. This 2014 article tells how to make one, though I don’t know if it works today. Back in 2014, the Amazon App Store allows apps up to 150MB before needing an expansion file.
Using PhoneGap 3.3 CLI on Mac OS X Mavericks to Build iOS Projects
This article gets you up to speed on how to integrate your HTML/CSS/JS app with PhoneGap/Cordova into an iOS app using a Mac and prepare it for App Store submission. This article assumes you’ve already followed the steps on https://iphonedevlog.wordpress.com/2013/08/16/using-phonegap-3-0-cli-on-mac-osx-10-to-build-ios-and-android-projects/ to:
Download Node.js
Add PATH statements to .profile
Install Cordova CLI
Install Homebrew
In this article, I am referencing Mac OS X Mavericks 10.8.5 and Xcode 5.0.2 on a Mac Mini. PhoneGap CLI 3.3.0 was downloaded. I am referencing “cordova” in the command-line interface, not “phonegap.” This project will not use the PhoneGap Build service. Continue reading
Using PhoneGap 3.0 CLI on Mac OS X to Build iOS and Android Projects
At the time this was written PhoneGap Build does not support PG 3.0. These instructions assume Cordova PhoneGap is being used, not Build.
I highly recommend following the latest version of PhoneGap or Cordova. For instance, try these pages:
In this article, you will use CLI to build iOS and Android projects:
- Install Cordova
- Create a project with all necessary www folders and files
- Add iOS and Android platform version folders and files
- Build an Android debug apk for installation on a device for previewing
- Build an Android project and view on a browser for previewing
- Add the InAppBrowser and Splashscreen plugins
- Update icons and splash screens for each platform
- Update the config.xml, AndroidManifest.xml, and index.html files
- Customize content for a particular platform
- Finalize a product apk for Google Play upload, including keys and certificates
Implementing inAppBrowser into a Cordova PhoneGap Project
If you want to link to an external site and make it easy for the user to return to your PhoneGap app, try the well-named inAppBrowser (IAB for short). Here are the simple steps to implement it into an already-working PhoneGap project for iOS and Android. Continue reading
Cordova PhoneGap 2.7.0 in Windows with Eclipse: Install to Release (updated 6/25/13)
I already have the major software installed on my Windows machine from my last Eclipse build, detailed in https://iphonedevlog.wordpress.com/2012/11/20/building-a-phonegap-android-app-on-windows-cordova-2-2-0-with-eclipse/. If this is your first time with Eclipse and PhoneGap, follow the link above and pay careful attention to the following setup sections:
Install Eclipse Juno IDE
Install Java JDK
Install ADT
Install the Android SDK
Android SDK Manager
Set up your PATH environment variables
The steps following will take up where these left off.
Continue reading
Building a PhoneGap Android App in Windows: Cordova 2.3.0 with Eclipse 4.2.1
I already have the major software installed on my Windows machine from my last Eclipse build, detailed in https://iphonedevlog.wordpress.com/2012/11/20/building-a-phonegap-android-app-on-windows-cordova-2-2-0-with-eclipse/. If this is your first time with Eclipse and PhoneGap, follow the link above and pay careful attention to the following setup sections: Continue reading
PhoneGap 2.3.0 in Mac OS X Mountain Lion 10.8: from Download to iOS App Store
These instructions follow the Getting Started with iOS guide at http://docs.phonegap.com/en/2.3.0/guide_getting-started_ios_index.md.html#Getting%20Started%20with%20iOS.
Before you can install the app on your device, you need to sign up as a Developer with Apple and go through the business documentation, Certificate Signing, and Developer Certificate process, all of which are detailed on Apple’s web site (https://developer.apple.com/programs/ios/), under Prepare for App Submission. Nevertheless, you can skip all those steps and still see your work in the the iOS Simulator included with Xcode. Xcode is a free download you can download now, but the Developer status comes at $99 a year. If you are new to creating apps for the App Store, you’ll want to peruse the App Store Review Guidelines to make sure your app falls within acceptable limits: https://developer.apple.com/appstore/resources/approval/guidelines.html Continue reading
Preview the Cordova 2.3.0 iOS inAppBrowser now!
This feature, built into Cordova 2.3.0, will take the place of ChildBrowser for me. Here are the steps to take to preview it yourself.
1. Download the zip file from https://github.com/apache/cordova-ios Continue reading