Other Languages - i had to load new os in virtual box to work with Phone Gap

Asked By balaji mogadali on 01-Oct-11 08:24 AM
hi frds

i had to laod new os in virtual box to work with Phone Gap 
pls help 

i downloaded Java Software, Virutal Box 3.2 ,PalmOS, but what is order to install software to work with Phone Gap

Pls Help
Suchit shah replied to balaji mogadali on 01-Oct-11 08:33 AM

PhoneGap requires you have the following software installed:

1. Eclipse Integrated Design Environment (IDE), a program to write code and manage software development

2. Java Development Kit (JDK), the Java compiler and support tools

3. The Android Software Development Kit (SDK), base code and emulators for developing Android apps

4. Android Development Toolkit (ADT), a plug-in for Eclipse that makes Android development seamless

5. Apache Ant, a program that automates software build processes (similar to 'make')

6. Ruby, a programming language

7. Git Bash, an alternative command program for Windows environments (Windows only)



Follow the step from
 http://wiki.phonegap.com/w/page/16494774/Getting%20started%20with%20Android%20PhoneGap%20in%20Eclipse
dipa ahuja replied to balaji mogadali on 01-Oct-11 08:40 AM
You dont need to install any special or particular operating system in your computer.

Because PhoneGap is an HTML5 app platform that allows you to author native applications with web technologies and get access to APIs and app stores.

Like if you want to develop ASP.NET website , will you install any operating system? No !

Develop apps on the same OS you have.
Kirtan Patel replied to balaji mogadali on 01-Oct-11 11:25 AM

Step 1 : Install virtual Box 3.2 

Step 2 : Install PalmOS on virtual Hard Drive you Created in Virtual Box 

Step 3 : Define Shared Folder Between Virtual OS and Host OS so do it in Virtual box to make shared folder put all that 
  Java Setup Etc in to that shared folder so that u can access all those on Virtual OS .

Step 4: Done ! 


Radhika roy replied to balaji mogadali on 02-Oct-11 05:36 AM

Download Ubuntu 11

Make iso into installable CD

Use VirtualBox to creat a guest OS

Install Java

sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-jre
sudo update-alternatives --config java
 
java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)
 
javac -version
javac 1.6.0_24
 
Install Android SDK
http://developer.android.com/index.html
download the sdk and unzip to /usr1/dev/android/
in the proper directory
./tools/android
available packages
android repository (default)
select all
 
Install Eclipse 3.5 or greater
sudo apt-get install eclipse
(check if installed)
Menu item
\applications\programming\eclipse

glibc should be 2.7 or higher

gcc -v

gcc version 4.5.2 ...

ADT
Menu Eclipse\Help|Install new software
Add
Name (doesn't matter: "Android")
http://dl-ssl.google.com/android/eclipse
select option
next
next
accept
finish
Warning -> Yes
OK -> Restart
Eclipse\Window\Preferences\Android\
Select location of SDK (downloaded previously)
Apply
OK
Window\Android SDK
Under Virtual Devices select new
(Note: As of 4/2011 by far the most common is 2.2)
Selected New - Give it a name - 2.2 - Rest as defaults
Select AVD and Start (takes a few minutes to launch)