Home > Mobile Development, PhoneGap > HelloPhoneGap Project Updated for PhoneGap 0.9.6

HelloPhoneGap Project Updated for PhoneGap 0.9.6

 
Just updated the code out on github so that it works with the 0.9.6 PhoneGap. Let me know if you see any issues…
 

Where to get the Code? (PhoneGap 0.9.6 Required)

 
You can get the entire source for my sample project “HelloPhoneGap” from github here: https://github.com/hutley/HelloPhoneGap

Advertisements
  1. Jane
    July 6, 2011 at 11:18 PM

    Hello,

    I’m trying to use the project from that git repo and an Xcode 4 build fails with…
    — error 1:
    ———-
    javascripts/phonegap.0.9.6.min.js javascripts/phonegap.0.9.6.js
    cp /Users/jane/Documents/PhoneGapLib/javascripts/phonegap.0.9.6.js /Users/jane/Documents/PhoneGapLib/javascripts/phonegap.0.9.6.min.js /Users/jane/Downloads/hutley-HelloPhoneGap-0d910ec 2/www
    usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-apvX] source_file target_file
    cp [-R [-H | -L | -P]] [-f | -i | -n] [-apvX] source_file … target_directory
    find: 2/www: No such file or directory

    — error 2:
    ———-
    /bin/sh -c /Users/jane/Library/Developer/Xcode/DerivedData/HelloPhoneGap-gpzfgyowgumekahleunauxmagkwe/Build/Intermediates/HelloPhoneGap.build/Debug-iphonesimulator/HelloPhoneGap.build/Script-17B1C10E134382EE00C23C63.sh

    /Users/jane/Library/Developer/Xcode/DerivedData/HelloPhoneGap-gpzfgyowgumekahleunauxmagkwe/Build/Intermediates/HelloPhoneGap.build/Debug-iphonesimulator/HelloPhoneGap.build/Script-17B1C10E134382EE00C23C63.sh: line 2: /Users/jane/Downloads/hutley-HelloPhoneGap-0d910ec: is a directory
    /Users/jane/Library/Developer/Xcode/DerivedData/HelloPhoneGap-gpzfgyowgumekahleunauxmagkwe/Build/Intermediates/HelloPhoneGap.build/Debug-iphonesimulator/HelloPhoneGap.build/Script-17B1C10E134382EE00C23C63.sh: line 2: exec: /Users/jane/Downloads/hutley-HelloPhoneGap-0d910ec: cannot execute: Unknown error: 0
    Command /bin/sh failed with exit code 126

    I guess it’s running PluginCopy.sh and for some reason it thinks that ${PROJECT_DIR} == 2?

    Thank you.

  2. Earl
    July 11, 2011 at 1:42 PM

    I downloaded your “HelloPhoneGap” project and it works perfectly, however, I cannot create a new project from scratch that includes a Plugin.

    Is there a tutorial on how to create a project from scratch that uses a Plugin?

  3. anna
    August 1, 2011 at 11:00 AM

    Hello, I am converting my HTML5/CSS website into an app via phonegap, but the meta “viewport” scaling does not seem to be working in the iOS simulator – any suggestions?

    thank you!

    • August 1, 2011 at 11:54 AM

      In the PhoneGap.plist file set this property EnableViewportScale to YES and it should allow the viewport meta tag and pinch and zoom gestures then.

  4. anna
    August 1, 2011 at 12:35 PM

    just tried that, but the simulator is still showing a big/cropped version of my page…

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: