Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I heard about PhoneGap which let's you develop Android and iPhone apps, and it compiles it from HTML/CSS/JS.

I have only one PC with Ubuntu installed, and I want to make a mobile App from HTML/CSS/JS code so it sounds perfect.

What I wonder about if it's also possible to compile the iPhone apps with it even if I don't have a Mac, and though this is not a legal forum, I know Apple have some harsh laws regarding that stuff.

It's probably possible for me to have access to an Apple computer for a couple of hours to register to Apple and upload the App.

But I don't have a Mac to do the development on.

So is this possible?

share|improve this question
See detailed answer on SO.… – David Pitkin Aug 4 '12 at 23:07
up vote 2 down vote accepted

Setting Up An Android App Build Environment With Eclipse, Android SDK, PhoneGap. The tutorial describes how you can set up a development environment for building Android apps on an Ubuntu 10.10 desktop using Eclipse, the Android SDK, and PhoneGap.

But first you have to do the following: Installing Eclipse And Prerequisites For The Android SDK/PhoneGap

Eclipse and the prerequisites for the Android SDK and PhoneGap can be installed as follows:1

sudo apt-get install openjdk-6-jdk eclipse ruby rubygems ruby-dev git ant libxml2 libxml2-dev libxslt-dev

Next run

sudo gem install nokogiri

Then you need to install the Android SDK. Go to There you will find links for the Android SDK.1

Read on

1Source:Setting Up An Android App Build Environment With Eclipse, Android SDK, PhoneGap

Can I build for iPhone? Yes! Check out our iOS Guide for information on how to get PhoneGap Build up and running with iOS.2


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.