Chris Alvares
Porfolio About Me Contact Me Social Blog
Home > Uncategorized > Coda and WebOS, a match made in heaven? Part 2

Coda and WebOS, a match made in heaven? Part 2

July 16th, 2009

This is part two of Coda and WebOS, you can find part 1 here.

Create a project
So the first thing we have to do is create a new Coda Project, I named it WebOS First Application

new project

The next we have to do is decide where we are going to put the project. This is the tricky part, whatever the last folder name is, that is the “name” of our project.

MyFirstProject

Here, I have titled my project “MyFirstProject” and have stored it inside the /home/webos/MyFirstProject folder, so MyFirstProject will be the name of our webOS project, this has nothing to do with the end pre app, only how the plugin distinguishes between projects.

newproject Note that there is NO forward slash at the end of the file path.


Next, you need to create a project, to do this go to Plug-ins->Palm Pre SDK->Create project

create project

You should notice we have a full project created for us

fullproject

After we have created the project, we can now open the simulator, which can be found at Plug-ins->Palm Pre SDK->Open Simulator

opensimulator
After the simulator boots up, and comes to the homescreen . We can test the application.
buildandgo

We should bring us to
firstapp


To close the application, all we have to do is call the Close Application button, again, from the Coda Plug-ins menu.
closeapplication

Well, I hope you enjoyed this tutorial on how to get started with the Palm Pre SDK using Coda, and I would love to see what you have created in the future.

admin Uncategorized , , , , , ,

  1. @AlessandraCo
    July 18th, 2009 at 18:23 | #1

    Very cool! Thanks for making this. I like being able to easily use Coda for Palm Pre SDK. Thank you for sharing with us!

  2. eisnerguy1
    July 23rd, 2009 at 09:33 | #2

    Very cool. I’ve been using Coda for WebOS development as well. 1 request that I have though is the feature to list all of the installed apps

    # List applications on default device
    palm-install -l

    # List applications on usb-connected device
    palm-install -d usb -l

    # List applications on emulator
    palm-install -d tcp -l

    Other than that, a very useful plugin. Thanks!

  3. GNoe
    July 30th, 2009 at 20:36 | #3

    Awesome but when i click on build/install/go nothing happens on the emulator.
    What do you think im doing wrong?

  4. Forrest
    August 28th, 2009 at 07:08 | #4

    I was wondering if this plug-in does a remove of the application before deploying a new version. Just wondering. Most of the time during development I want a clean slate when testing a new build, so I usually do:

    palm-package …
    palm-install -r …
    palm-install …

    Thanks for sharing this plug-in, it’s great!

  5. Dirk
    October 20th, 2009 at 16:54 | #5

    Wow, I was thinking about this and was finally getting around to building a plugin. A little goggling turned up your blog. Great work, thanks!!

  6. Nathan
    November 9th, 2009 at 18:24 | #6

    Awesome job Chris! I love Coda and had previously been using Eclipse to do my pre development, which has its cool features, but is no Coda. Is there a way to get your plug-in to install an app on an actual device instead of just the emulator?

    Thanks!

  7. John
    December 27th, 2009 at 22:23 | #7

    Just installed the plugin and was trying to create a new project. But when I select “Create Project” nothing happens. Am I missing something? I have the latest sdk and am using coda 1.6.7.

  1. July 16th, 2009 at 21:08 | #1