Coder Social home page Coder Social logo

Eclipse Phonegap plug in installed but cannot create new project from Sample folder about mobile-web-development-with-phonegap HOT 9 CLOSED

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Eclipse Phonegap plug in installed but cannot create new project from Sample folder

from mobile-web-development-with-phonegap.

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
The plugin is set up to work with the directory structure from github 
https://github.com/phonegap/phonegap-android

I'll update the plugin to support both phonegap directory structures in the 
next release.

Original comment by [email protected] on 7 Jan 2011 at 6:12

  • Changed state: Accepted

from mobile-web-development-with-phonegap.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Thanks Paul but I tried with the directory structure from the github and it 
didn't work at all. The message is the same. Now the name I provided is 
"C:\phonegap-android-812a4b3\example"

Original comment by [email protected] on 7 Jan 2011 at 10:42

from mobile-web-development-with-phonegap.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Hmmm.   You should not need to provide a location.  

On the first wizard page, you can select "Use phonegap example source as 
template for project".  It should also work to specify 
"C:\phonegap-android-812a4b3\example" if "C:\phonegap-android-812a4b3 is the 
phonegap-android Location.

On the second page you should leave "Create new project in workspace" selected 
and the "Use default location" unchanged.

Original comment by [email protected] on 7 Jan 2011 at 11:15

from mobile-web-development-with-phonegap.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Ups!, You are right!. I provided ""C:\phonegap-android-812a4b3" and then set 
the "Use phonegap example source.." and go to the next step.
The project is generated but a lot of errors (105) appeared.
One example:
"Description    Resource    Path    Location    Type
Account cannot be resolved to a 
type    ContactAccessorSdk5.java    /PhonegapTest/src/com/phonegap  line 678    Java 
Problem"
Another:
"Description    Resource    Path    Location    Type
ContactsContract cannot be resolved to a 
variable    ContactAccessorSdk5.java    /PhonegapTest/src/com/phonegap  line 633    Java 
Problem"



Original comment by [email protected] on 8 Jan 2011 at 12:32

from mobile-web-development-with-phonegap.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
It looks like you're using 1.5 or 1.6.  A few edits to the java files are 
needed.  I'll work on it in the next few days.

You should be error free if you choose at least a 2.1 target on the second 
wizard page.

Sorry about the issues and thanks for letting me know!

Original comment by [email protected] on 8 Jan 2011 at 1:03

from mobile-web-development-with-phonegap.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Created issue 6 
http://code.google.com/a/eclipselabs.org/p/mobile-web-development-with-phonegap/
issues/detail?id=6 to track the 1.6 issue and workarounds

Original comment by [email protected] on 8 Jan 2011 at 10:57

from mobile-web-development-with-phonegap.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Again you are right. I should read better the instructions. I set the target as 
2.1 and now the sample is working. And I tested also in a Samsung Galaxy Spica 
con Android 2.1 (Upgraded by me!)Great work Paul. Now I need to know how to 
program using Phonegap. Where can I get information? Thanks in advance.

Original comment by [email protected] on 8 Jan 2011 at 11:26

from mobile-web-development-with-phonegap.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
I appreciate the feedback.  The docs can definitely be improved.

For getting rolling with phonegap, you should explore www.phonegap.com and 
check out the docs, presentations, code, etc.  Also, you could try to tweak the 
example program that came with the plugin.

Original comment by [email protected] on 8 Jan 2011 at 11:51

from mobile-web-development-with-phonegap.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
The next rev - 1.1.1 - will allow support both PhoneGap directory structures - 
from www.phonegap.com, as well as github

Original comment by [email protected] on 10 Jan 2011 at 10:22

  • Changed state: Fixed

from mobile-web-development-with-phonegap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.