What’s the Tip 1.0 Released!

What’s the Tip 1.0 is in the app catalog! You can get it here! Regular price $1.49 but only $0.75 till July 23rd during Palm’s 50% off sale.

Your feedback and support is appreciated!

Stan

Posted in Apps, What's The tip | Comments Off

What’s the Tip updated 0.9.1

Minor update to prepare for the final release of “What’s the Tip?”!!!

Stan

Posted in Apps, What's The tip | 2 Comments

WebOS SDK – Making buttons

From a post I made in the Palm developer forums (hope it is helpful to someone):

Here is my summary of making a button (from lots of trial)

In the scene HTML declare this

<div id="RefreshBtn" class="myButton"> </div>

Notice that this is a div not an input element like traditional html. The x-mojo-element=”Button” is what what links the div to the mojo framework that does all the button drawing stuff.

The id is important and should be unique in the app. Good practice is to put something like “Btn” or “Button” in the name just to remind yourself when you are in your javascript what you are working with. The class declaration is only needed if you are changing the appearance some way in your own CSS.

Next in the scene assistant you need three things. Setup, control, and cleanup.

Setup:
In the Scene Assistant setup function – usually something like FirstAssistant.prototype.setup = function () {}; there are 4 substeps

1 Attributes :
Technically these are all optional (if you just need a regular button) but I feel it is good practice to declare at least the button type like thus:

// a local object for button attributes
this.RefreshBtnAttributes = {
type : "Mojo.Widget.defaultButton"
};

again just to remind myself this is a regular button rather than an Mojo.Widget.activityButton (unless you want one and then you must declare it)

2 Model :

// a local object for button model
this.RefreshBtnModel = {
label : "Refresh",
buttonClass : "primary",
disabled : false
};

Again all are technically optional for the defaults, except the label needs to appear in either the attribute or the model. Legal values for button class are “primary”, “secondary”, “affirmative”, and “negative”.

3: setup the button

// set up the button
this.controller.setupWidget("RefreshBtn", this.RefreshBtnAttributes,
              this.RefreshBtnModel);

Straight forward. this is where your ID links in from the HTML.

4. Bind the button

// bind the button to its handler
this.RefreshBtnBind = this.refreshButtonPress.bind(this);
this.controller.listen(this.controller.get("RefreshBtn"), Mojo.Event.tap,
               this.RefreshBtnBind);

refreshButtonPress will be the name of the handler to be declared. Again notice the link to the ID from the HTML.

Control :
The “simplest” part – define what to do when the button is pressed (“tapped”) like thus :

FirstAssistant.prototype.refreshButtonPress = function(event){

// do something here

};

Cleanup:

Finally make sure you clean up something like this :

FirstAssistant.prototype.cleanup = function(event) {
this.controller.stopListening("RefreshBtn", Mojo.Event.tap,
               this.RefreshBtnBind);
};

Add the stopListening counterparts to the listen binds of any other widgets you declare for the scene as well.

Posted in WebOS Dev | 2 Comments

What’s the Tip updated 0.9.0

LAST Beta:

What’s the Tip is almost done! Look for the 1.0 release soon!

New:
Visual tweak;
Added the ability to round the tip up and down to the nearest $0.50, $1.00, $5.00 or $10.00.

As usual get it here! Your feedback is appreciated!

Stan

Posted in Apps, What's The tip | Comments Off

GamersAid updated 0.7.0

Major update!
Changes:
New visual style with changeable color dice.
Added 100 sided option.
More Dice/More Sides now also totals the dice.
Added automatic check for new version.
Drastically smaller application.

As usual you can get GamersAid – Beta here. And as always your feedback is appreciated!

Stan

Posted in Apps | Comments Off

What’s the Tip updated 0.8.0

Changes:

I think I have eliminated the NaN’s (Not a Number’s) than could pop up. Also the main cost input box is more usable and stable. (no forever disappearing input box!)

If you have 0.7.0 you can just launch the program to be notified about the update (Thanks Palm (webOS) Update Check framework!!). Otherwise you can get What’s the Tip – Beta here. And as always your feedback is appreciated!

Stan

Posted in Apps, What's The tip | Comments Off

What’s the Tip updated 0.7.0

I just uploaded 0.7.0 of Whats the Tip – Beta. Some big changes:

Spanish Localization: If you use the US Spanish locale you should see the app in (probably poor) Spanish. If you can suggest better phrasing for any of the pages let me know.

I have incorporated Jeremy Forsythe’s great puchk (Palm (webOS) Update Check framework) so when I push the next version testers will get a pop up notice.

I have also incorporated Palm’s own code from github to let you know when the beta expires. A lot of work went into localizing that code.

Plus, I now have a tell-a-friend framework launching from the help screen. It could be a lot more elegant, but I am happy with version 1. Right now you can e-mail or text a message. (I just saw the code to be able to post status updates to Facebook from WebOS apps.. oooooo v 1.5 here it comes)

As usual you can get What’s the Tip – Beta here. And as always your feedback is appreciated!

Stan

Posted in Apps, What's The tip | Comments Off

What’s The Tip Updated 0.6.0

This update mainly has cosmetic changes, but lays the foundation for adding a couple more features.

Stan

Posted in Apps, What's The tip | Comments Off

GamersAid updated 0.5.5

You can now shake your phone to roll the dice on the main screen or on MoreDice/More Sides.

More features Coming!

Stan

Posted in Apps, GamersAid | Comments Off

What’s the Tip in Beta

Just uploaded a new beta app called “Whats the Tip”. It helps you calculate tips quickly with selectable tip percents. “What’s the Tip” also shows the tips as rounded up and down to the nearest dollar.

The Beta Application expires July 1, 2010 and you can get it here within a couple hours. As always your feedback is appreciated!

Posted in Apps, What's The tip | Comments Off