Questions tagged [enyo]

An open-source JavaScript framework for building single-page applications, based on code that powered HP webOS 3.0 for the HP TouchPad device, but now supporting a wide range of desktop and mobile browsers. The core principles are object-orientation, encapsulation of view and functionality, and code reuse.

An open-source JavaScript framework for building single-page applications, based on code that powered HP webOS 3.0 for the HP TouchPad device, but now supporting a wide range of desktop and mobile browsers. The core principles are object-orientation, encapsulation of view and functionality, and code reuse. More details at http://enyojs.com.

196 questions
2
votes
0 answers

How do I write Image Binary Data into local file system using Node.js services on webOS?

I am trying to write image data received from Evernote getResourceData-method, into local system in JavaScript code using Node.js. The image file is getting saved successfully, but looks like it is corrupted, and I'm not able to open it. The…
Petro
  • 21
  • 4
2
votes
1 answer

How to take a picture with MediaCapture in Enyo (webOS)?

I'm a kind of newbie webOS Developer, and I'm currently developing an App where I need to take a picture of a certain user. I've been looking for many resources and sites on the internet but I can't find a solution for my problem. I follow the…
vicsonic
  • 83
  • 1
  • 6
2
votes
1 answer

how to fetch two same fields data from db [HTML5]?

this.db.transaction(function (tx) { tx.executeSql('SELECT tsk.*, cont.firstName, cont.lastName ,cont1.firstName, cont1.lastName, list.listId FROM tbl_tasks tsk, tbl_contacts cont,tbl_contactequests cont1, tbl_lists list…
Ajay Patel
  • 5,298
  • 11
  • 55
  • 87
2
votes
1 answer

color to grey scale conversion in canvas

I am trying out a sample code that converts a color image to grey scale on a canvas in WebOS (enyo). When I use the ctx.getImageData method to read the pixels, the imageData contains only zeros. The sample I am using is provided in the link…
Vivek
  • 680
  • 1
  • 12
  • 24
2
votes
3 answers

Is It Possible To Deploy iOS and Android Applications Using HP Enyo?

Today I read this news: HP ran its webOS SDK on iPad 2, hopes to license it as mobile web app tool and as soon as I finished reading it and looking at the video I just completely freaked out and this question popped on my head: Is it possible to use…
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
2
votes
1 answer

hp webos, pdk plugin defunct in hybrid app.

I have been trying to call a pdk plugin from the mojo hybrid app and have also tried the same with enyo app. In both cases my pdk plugin is shown as , Interesting thing is in case of enyo, i received the plugin_ready response which is sent after the…
gsps
  • 86
  • 5
2
votes
2 answers

How can I detect in code if the TouchPad is not connected to WiFi?

Currently I'm looking at attempting a web request and seeing if that fails to determine if I'm online or not, but ideally it'd be nice if there was some hook in the OS that would alert me when I'm offline and go online. Does anyone know if this is…
TheTodd
  • 445
  • 4
  • 12
2
votes
2 answers

How to use SOAP in enyo?

For the last two days I have been searching for an answer to this question. Does Enyo support SOAP? If not, is there an alternative to SOAP? How can we call web services using JS?
Ajay Patel
  • 5,298
  • 11
  • 55
  • 87
2
votes
1 answer

How do I show/hide images in Enyo?

I am using HP webOS 3.0 and the Enyo framework. I have simple question that how can I show and hide images on click of a button. I have 2 images and I want to show images on click of one button and hide on click of another button. I have two panes…
Ajay Patel
  • 5,298
  • 11
  • 55
  • 87
2
votes
1 answer

Javascript Binding SQL results to a function

All, I am working with WebOS enyo, but having a really senior moment.... Basically the fact its enyo has no relation to my question however... I have a method: clickPopulate: function(){ // Do some SQL }; I am using a database class to…
diagonalbatman
  • 17,340
  • 3
  • 31
  • 31
2
votes
1 answer

Accessing the WebOS clipboard From an Enyo Application

When developing a WebOS application with Enyo, is it possible to access the clipboard contents? That is, if I copy a bit of text to the clipboard on a Touchpad or Pre device , can I programmatically grab that piece of text, or programmatically…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
2
votes
1 answer

Flyweight VirtualRepeater containing IntegerPicker

In my Enyo app, I have a VirtualRepeater which produces Controls containing various text displays and an IntegerPicker. I have two problems with this repeater: 1) If three rows are produced, clicking on the IntegerPicker in rows 1 and 2 brings up…
funkybro
  • 8,432
  • 6
  • 39
  • 52
2
votes
1 answer

LG Web OS cannot open internal link

currently, i'm developing LG Smart TV apps using HTML5, css and javascript and i dont use Enyo Framework. Everything fine on local browser. But when i deploy to my LG WebOS Emulator (.ipk file) using LG SDK CLI, i cannot open Internal Link…
questionasker
  • 2,536
  • 12
  • 55
  • 119
2
votes
1 answer

EnyoJS: Call enyo functions from raw JavaScript

In "old" enyo for HPalm devices I was able to call my enyo kind functions from/via JS like this: Now in enyoJS it doesn't work. My app.js looks like this: enyo.kind({ name:…
user3789335
  • 235
  • 1
  • 2
  • 5
2
votes
1 answer

Converting a Chrome extension into an Opera Extension

I have a number of Chrome extensions that I'd like to convert to Opera extensions. I understand that from Opera 15 they both use the same Chromium architecture for extensions, but I can't even get the Opera manifest to be recognized. My Chrome…
1
2
3
13 14