WebOS Boston Developing for WebOS

28Sep/090

Douglas Crockford’s Video

Written By: FreeTim

Video of Douglas Crockford's talk at MIT still pending, meanwhile enjoy him here from Google http://hex.io/1i6f plus some follow-along slides.

Tagged as: , 10 Views No Comments
28Sep/092

Meeting Tonight

Written By: Joseph Crawford

Just a friendly reminder that we are holding a meeting tonight at the Boston Public Library. You can get directions from this post and read more about the meeting on this post. We encourage you to bring your laptops and your enthusiasm. The meeting will start at 7PM and go until 9PM. There may be a social hour after the meeting at a local pub as well.

Filed under: Meetings, Organization 9 Views 2 Comments
21Sep/094

Mojo Lists: Using a Cookie as a Data Source (Part 2)

Written By: Joseph Crawford

Mojo Lists Part 2In Part 1 of this tutorial we created the base for our application. It consisted of a static list that was displayed when the application was launched.

At the end of Part 1 you were able to build the application and tap on any of the items which would push another scene. In Part 2 of this tutorial we are going to focus on using a cookie as a data source for our list. We will build a list that will display a list based on a cookie's contents.

When you tap on a list item you will be taken to another scene where you will be able to change the title for the list item and it will be retained in a cookie. I did find an issue with cookies on the emulator and device. There is a known bug that cookies will retain on the emulator and device even after the application is removed. To learn more about this issue and cookies I suggest you read the Working with Cookies tutorial.

We will be continuing with the code that we created in Part 1 so open that application up. We will first be creating a model object that we will use to interact with the Mojo cookie stuff. In your application create the folder /app/lib/ and then create a new file named WBCookie.js and put it in your newly created lib folder. Now you will also have to update your sources.json so that Mojo will know where to find this file. Be sure that your sources.json file looks like the code below.

[
    { "source": "app\/lib\/WBCookie.js" },
    {"source": "app\/assistants\/stage-assistant.js"},
    {
        "source": "app\/assistants\/main-assistant.js",
        "scenes": "main"
    },
    {
        "source": "app\/assistants\/cookie-assistant.js",
        "scenes": "cookie"
    },
    {
        "source": "app\/assistants\/depot-assistant.js",
        "scenes": "depot"
    },
    {
        "source": "app\/assistants\/sqlite-assistant.js",
        "scenes": "sqlite"
    }
]
18Sep/091

Douglas Crockford speaking today at MIT for one hour

Written By: FreeTim

Douglas Crockford , author of "Javascript: The Good Parts" from O'Reilly Media - is speaking TODAY (Friday) at MIT at 12:45 in room G449 of the Patil/ Kiva Seminar Room in the Stata center (building closest to Vassar Street.) - this is the same building we met for the Sept 8th meeting. I have his book, and can vouch for it's excellence!

So, if you can get out for ONE HOUR come and listen in!

Cost: none
TIME:Refreshments: 12:45
Talk: 1: 00 PM to 2pm

13Sep/094

Mojo Lists (Part 1)

Written By: Joseph Crawford

At the request of a reader this next tutorial will cover Mojo Lists however it will get quite long so I have decided to break it into smaller parts.

Part 1 (This section) will deal with setting up a static list.
Part 2 will show how to use a cookie as a data source.
Part 3 will be some restructuring of the code
Part 4 will show how to use the depot as a data source.
Part 5 will show how to use an Sqlite database as the source.
Source Code will be posted for download after the series is complete.

On our main scene we are going to show a static list of items. This means that we are going to use an array of elements which will never change over the lifetime of the application. The list item data will be specified by us and not fetched from any data source. The main list will give you options to choose from such as using a Cookie, Depot or Sqlite for the data source. When you tap on one of these options another scene will be displayed that will actually load another list. The data that populates these lists will come from the data source that you specified. This should give you the ability to write your own lists using any data source that you see fit.

The very first thing that you need to do is create a new WebOS application and add a new scene to it called main. Now that we have the main scene created we need to alter our stage-controller.js so that it actually pushes the main-scene on startup. Open the file and make the code look like this.

function StageAssistant() {
}

StageAssistant.prototype.setup = function() {
    Mojo.Controller.stageController.pushScene("main");
}
Tagged as: , , , 1,326 Views Continue reading
11Sep/091

gDial Pro hits the App Catalog

Written By: Joseph Crawford

gDial ProIt's not a big secret that gDial pro has been around for a while in the home brew community. What is a bit surprising and actually pleasing is that Palm has allowed it into the App Catalog. I have used the application and like just about everything there is except for the fact that it opens your phones main dialer to actually make the call. I doubt that there is currently any other way for the developer to place the call but I do hope that Palm opens the SDK to allow for this. It would be so nice to be able to just dial your number and have it dial straight in the gDial Pro application.

If you have never used gDial Pro then you need to head over to Google Voice and sign-up for an account. It is still in beta so you will need to wait for the invite from Google. When I registered a month back I only had to wait a few days to be invited but I have heard from others that they had to wait about a week. The only other thing I dislike about the interface is the colors the developer choose to use. It's pretty much all gray-scale, here's to hoping they allow for themes in the future so we can get past the grim look of the user interface as it is by default.

Filed under: App Catalog, Development, Palm 27 Views Continue reading
8Sep/091

Meeting review

Written By: FreeTim

Our very first WebOSBoston meeting was a great success, with 9 persons attending. It was a nice, loosely structured informal meeting that was VERY productive. Thank you ALL who attended, we had a great discussion.  After this, Eric Marthinsen of Agile Commerce came and spoke about recent development findings and hurdles and general programming practices. We looked at using the emulator, Ruby, scoping of functions and 'this' within a function, playing audio sounds from within a game, custom style sheet elements, log levels and much more. We were glad to have him come!!
BE SURE to join our mailing list to be notified of upcoming meetings , and in the event of last minute room changes you'll be in the know. Thank you for MIT for donating unused meeting space, and all who helped in planning and signs, etc.

Tagged as: , 11 Views 1 Comment
8Sep/090

Room Change – Sept 8th meeting MIT

Written By: FreeTim

WebOS seminar with Eric M. this afternoon (4:30pm-7pm) new room: Stata (Dreyfoos) building. 32-D451 at MIT.

32 Vassar St Cambridge, MA - go in the funny-looking angles buidling, then 4th floor in elevators.

There's a floorplan of the Building 32's Dreyfoos tower, fourth floor, at
http://www.csail.mit.edu/resources/maps/4D/D451.gif, with 32-D451
highlighted.

Directions to the building are on-line at http://www.csail.mit.edu/node/95

If you unwisely wish to drive to campus (instead of taking the very
convenient subway - the Red Line Kendall Square stop is very very close to
here), parking can usually be found (at meters) on Vassar Street, on Main
Street, on Ames Street, and on Mass Ave.

Filed under: Meetings, Organization 6 Views No Comments
8Sep/090

Directions to MIT Dewey – Sept 8th

Written By: FreeTim

MIT Dewey Library is in E53-100 building. 2nd Floor of library.
30 Wadsworth St, Cambridge MA in the Hermann Building [ map link ]
Wheelchair access: Yes. Ramps outside, elevator inside available.

FROM TAKING THE T:

Take the Red LIne to Kendall Sq/ MIT. [...Use link 'continue reading' below for more.]

3Sep/090

Annoying bug found in Palm’s WebOS Mail application

Written By: Joseph Crawford

Yesterday my boss was out for the day and while he was out he was trying to be responsive to e-mails that he received. When he would reply to an e-mail it would tell him there was a problem sending the e-mail and put it in his out box.

Today he realized that he did not have his account authentication settings set properly in his phone. He set them all as they should be and went to his out box. He would hit the refresh button and it would continue to give him the error that it was unable to send the emails. This time it started complaining about the password being incorrect. He checked the mail server and used Wire Shark to watch the TCP activity. When his email application on the phone would say that authentication failed there was actually no communication with the mail server.

it seems that if you build up 5-6 messages in your out box you cannot hit refresh to send all of the messages. You have to individually tap on each message in your outbox and hit send in order to get it to sent the message.

Let's hope that Palm fixes this issue in their mail application. While you are at it Palm, can we get a way to delete more than one email message at a time???

Tagged as: , 75 Views No Comments

Navigation

Calendar

<<Jul 2010>>
MTWTFSS
28 29 30 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 31 1

Most Viewed

Categories

StatPress

Visits Today: 3
Total Visits: 3989
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