You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Marlin Mixon <ma...@gmail.com> on 2012/03/12 04:55:56 UTC

[Android] Installation instructions

I noticed some inconsistencies in new names vs instructions for getting started.

(1)
Copy phonegap.js from your PhoneGap download earlier to /assets/www

should probably be changed to:

Copy cordova_1.x.js from your PhoneGap download earlier to /assets/www

(2)
Copy phonegap.jar from your PhoneGap download earlier to /libs

should probably be changed to:

Copy cordova_1.x.jar from your PhoneGap download earlier to /libs

Marlin

Re: [Android] Installation instructions

Posted by Marlin Mixon <ma...@gmail.com>.
Adding a few more things here:

(3)
Just above the graphic, Instead of:
Add import com.phonegap.*;

Should probably be
Add import org.apache.cordova.*;

(4)
Graphic needs to be changed.  (I'm not able to replicate the graphic
correctly else I would)

(5)
Just after the graphic, instead of:

You might experience an error here, where Eclipse can't find
phonegap-1.0.0.jar. In this case, right click on the /libs folder and
go to Build Paths/ > Configure Build Paths. Then, in the Libraries
tab, add phonegap-1.0.0.jar to the Project. If Eclipse is being
temperamental, you might need to refresh (F5) the project once again.

need to substitute cordova-1.x.x.jar

(6)
The instructions for creating the index.html file needs to reference
cordova.js instead of phonegap.js

With the suggested changes, I was able to get Hello World up and running in 1.5.

Marlin

Re: [Android] Installation instructions

Posted by Filip Maj <fi...@adobe.com>.
Thanks for this, however this is in the wrong place :)

You are probably mentioning the phonegap.com/start guides.

These are separate from the Apache Cordova project. The readme in the
project repositories on the Apache servers (here:
http://git-wip-us.apache.org/repos/asf) should have the most up to date
and correct installation and getting started instructions.

I'll forward your edits to the person in charge over at phonegap.com.

Cheers,
Fil

On 3/11/12 8:55 PM, "Marlin Mixon" <ma...@gmail.com> wrote:

>I noticed some inconsistencies in new names vs instructions for getting
>started.
>
>(1)
>Copy phonegap.js from your PhoneGap download earlier to /assets/www
>
>should probably be changed to:
>
>Copy cordova_1.x.js from your PhoneGap download earlier to /assets/www
>
>(2)
>Copy phonegap.jar from your PhoneGap download earlier to /libs
>
>should probably be changed to:
>
>Copy cordova_1.x.jar from your PhoneGap download earlier to /libs
>
>Marlin