Wednesday, May 22, 2013

PhoneGap - Setup New Project

PhoneGap with Android

Setup New Project

  • In a terminal window, navigate to the bin directory within the android subfolder of the Cordova distribution.
  • Type in ./create <project_folder_path> <package_name> <project_name> then press "Enter"

Setup your PATH environment variable on Windows

Environment path
;C:\Development\android-sdk-windows\platform-tools;C:\Development\android-sdk-windows\tools

Create Project
phonegap\lib\android\bin>create <project_folder_path> <package_name> <project_name>

Import into Eclipse
Select menu item New Project





Trouble Shooting

Error:
lib\android\bin\create.js(31, 5) Microsoft JScript runtime error: Path not found

Solved:
removed the hyphen, dot ... from project dir name and it worked (without modifying create.js)

Related Posts:

  • SQLite – a local database for your mobile apps If you need relational storage for your Cordova-based app, SQLite provides a lightweight and feature-rich database.  I will walk you through the steps to use SQLite with Telerik’s Icenium IDE and build a demo … Read More
  • Telerik Navigation Type Navigation Types The predefined navigation types that you can choose from in the Telerik Platform Views service are: Tab Menu: displays a tab for each view included in the navigation. The position of the tab menu depends … Read More
  • Mobile App Builderhttp://mobile-frameworks-comparison-chart.com/ IDE https://www.codenameone.com/ https://software.intel.com/en-us/intel-xdk http://jquerymobile.com/ http://www.jqmbuilder.com/build/ http://m.jqmbuilder.com/ http://jqmde… Read More
  • Excellent Platforms for Building Mobile Apps If you want to save money, time and energy, while still coming up with a spectacular mobile App, you need to leverage on the best app building platforms. Here is a list of the crème de la crème of mobile app builders: 1.… Read More
  • 10 Free Wireframing and Mockup ToolsThe wireframing process is the straight-to-the-point and completely non-tech stage of any web project. It only requires that you define a skeletal outline of essential page elements such as headers, footers, navigation an… Read More

0 comments:

Post a Comment