WebOS Boston Developing for WebOS

28Aug/093

Working with Cookies

Written By: Joseph Crawford

Over the last few days I have been working with the Cookie as a method for storage on the Palm Pre. I looked in the WebOS Book and there was a nice cookie class that could be used. This will not be a complete walk-through like the last tutorials have been. This will show you how to create a cookie object and how to interact with it so that you can store your application preferences. You can store any type of data you would like in a cookie. It does not seem to be like the Depot where you can *only* store objects.

At the time of writing I have found an issue with using cookies so be sure to read the second to last paragraph.
Below is the class that was taken from the WebOS Book which we will be using for our Cookie object.

Tagged as: , , , , 484 Views Continue reading
18Aug/096

Tutorial Suggestions…

Written By: Joseph Crawford

What would you guys like to see in the next tutorial? I am open to ideas. I want to be able to teach people the correct methods for WebOS Development and do not want to start writing stuff if people are not going to find it beneficial.

Tagged as: , 32 Views 6 Comments
17Aug/099

A Basic WebOS Application and the Depot

Written By: Joseph Crawford

A lot of people are trying to understand how to write applications for WebOS so I figured the very first tutorial I would create for this site would be a simple walk-through of creating a very basic application. I am going to go a bit deeper than just a basic application like they cover in the Hello World example. The application created in this walk-through will explain the concepts behind creating a basic application, explaining what each part is and why you have to do it that way. I will also introduce the Depot in this walk-through. Are you ready?

The Tools I Use
Everyone will have their own set of tools that they use and they do not have to be the same as mine, however please note that I am not going to give the terminal commands for pushing the app to the emulator etc. My tools do that all for me and allow me to focus on developing my application.

The very first thing you should install is the Palm Developer SDK which you can get from the Palm Developer Website. For my Editor I use Komodo IDE with the very nice add-on that Templarian has created. If you do not have a license for Komodo IDE you can use the free version of Komodo Edit. You can download the add-on on Templarian's website and installing is as easy as dragging and dropping on your editor window. The last thing I use is a file that you import into your editor that provides code completion for your editor. You can download this file here. Please note that you want to click the Download link and download the rawmojo.zip file. Installation instructions can be found on the same page. You can ignore the tool-kit as the tool-kit is the ancestor of the add-on.

Once you have these things installed you are all ready to start developing your first WebOS application.

Tagged as: , , , 2,986 Views Continue reading

Navigation

Calendar

<<Jun 2010>>
MTWTFSS
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

Most Viewed

Categories

StatPress

Visits Today: 12
Total Visits: 4509
Guests Online: 0
Members Online: 0

Archives

Tag Cloud

authors books Bugs Cookie Depot Development directions JavaScript Lists Meetings Mojo Organization Palm Storage Tutorial WebOS WebOS Boston