How to use phoneGap and Ripple emulator
In this tutorials i will show guys how to use the phoneGapdesktop to build an app, and the ripple emulator to test your app
steps by steps.
1. If you are using windows, go to Start menu and click on the
phonegap icon to louche it, after you louche it, (see image below)
2. click on create new project to start
and you you will see this
- FILE CHOOSER (LOCAL PATH)
- TEXT INPUT (NAME OF YOUR APP)
- ID
create a new folder name myapp or gave it any name you want
after you done so,
- local path
go to phonegap and click and choose (local path)
navigate to the new folder you just created (myapp), and click on it
and hit ok.
-Name
Give your app a name in the text input area, the give your app
where will be stored in the config.xml
-Id
This is a unique identifier across app store, in this text area you will
type this com.myapp.phonegop which serve as your app ID
and click on create project, and wait for few seconds , when it finish
creating your project, you will see something like this,
Conclusion
you will see the name of you app(myapp)
the local path and the server address (http://10.149.226.192:300)
this will create, your demo app and folders
in your folder (myapp) you will have .cordova, hooks, platforms, plugins,
www, and a file name config.xml. but we need the www folder and the config.xml for now
In the www folder you have the following folders and files,
- css (css files)
- img, inside you will put your images
- js for java script files
- res ( a folder for your app icons and splash and last
- index.html file
No comments:
Write comments