Index ¦ Archives  ¦ Atom  ¦ RSS > Category: WebOS ¦ Atom ¦ RSS

Enyo - Service Components

Thu 20 October 2011

A feature I totally missed before and only saw after reading the db8 tutorial. If you have a service that you call different methods of, you probably do what I used to do:

enyo.kind({
    ...
    components:[
        {name:"downloader",kind:"PalmService",service:"palm://com.palm.downloadmanager/"}
        ...
    ]
    ...
    startDownload:function(){
        this.$.download.call …
continue

Continue reading →


Enyo - JustType-ish Functionality

Thu 20 October 2011

Yet again, here's another bit of Enyo goodness. Inspired by Preware, I really love it when an app accepts keyboard input straight off the bat. I don't have to click anything, I can just start typing and it knows what I want to do. That's what JustType is on the …continue

Continue reading →


WebOS's Weekly App Hack 10-05-11

Sat 08 October 2011

Welcome from the Palm Developer blog! Looking for binaries?

Having trouble posting your app or an update to your app using the provided sdltts? Either you're missing features or you want/need a callback from the method when it's done, or maybe you want only a few text strings in …continue

Continue reading →


PDK - Minimum Event Loop

Sat 08 October 2011

I recently worked on re-creating this week's Weekly App Hack's hybrid plugin, sdltts. It was compiled for the device and basically closed-source, only mentioning the library it used. I'm going to post the necessary code to make it later, but first I'm posting what I found to be the …continue

Continue reading →


Enyo - VirtualLists and Other Transforms in Toasters

Fri 30 September 2011

Recently, Chrome went to 14 and many people got background updates to it. Turns out that in Chrome 13, rendering of -webkit-transforms changed handling of z-index's. Well, that means a Toaster that isn't webkit-transform'd and has a background suddenly pops up on top of anything that is webkit-transformed, such as …continue

Continue reading →


Enyo - Device-based Assets

Fri 30 September 2011

With multiple screen sizes available for Enyo apps, it's likely that you want a single Enyo app to work on both phones, tablets, and anything else that may come out (HP or otherwise). The code below is a simple way of separating tablets from phones, but can easily be upgraded …continue

Continue reading →


Enyo - Improved Mixins [Updated]

Thu 29 September 2011

I've sent in a patch for slightly enhanced mixin support for Enyo, but since I have another post depending on that support I'll post the patch here until it gets included.

This patch mainly provides the ability to have mixins that handle events and allows them to join with kinds …continue

Continue reading →


Enyo - Enterable Inputs

Sun 25 September 2011

I've noticed that there's no "submit" button feature in WebOS Inputs like there are in normal web forms. If you have a input type="submit" in your form, pressing Enter in any form input will automatically press that button because that makes sense.

However, in WebOS there is no such …continue

Continue reading →


Enyo - Common Panes Toolbar

Sun 25 September 2011

Turns out, most SlidingPanes have a Toolbar with a GrabButton on the bottom so it seems like SlidingPane should have an option to automatically include one such Toolbar. Since it doesn't, I've written a quick kind that creates a toolbar with the little GrabButton for adding to the components of …continue

Continue reading →


Enyo - Service With Consistent Parameters

Sun 25 September 2011

In WebOS, services live as long as you have an outstanding call with them plus 30 seconds. Once that ends, the service is closed and any data it was storing temporarily is gone. Therefore, since I have an app that needs the username/password of my user for all requests …continue

Continue reading →

© Fahrzin Hemmati. Built using Pelican. Theme by Giulio Fidente on github.