mojo-sdk

Will the Palm Pre Mojo SDK grant access to bluetooth apis?

Does anyone know if Palm's new Mojo SDK will grant access to bluetooth APIs? Perhaps in some form or fashion? I can't get any information about it and given I have to choose what to spend my money on in regards to the the next platform for my development, I would really like to NOT waste it. Perhaps there's some lucky PRE developmers ou...

Mojo SDK - set a timer

I'm messing around with building an application for the Palm Pre. I have a simple question: How can I set up a timer for some code to get run after a certain amount of time has passed? I tried using the regular old javascript setTimeout, but it doesn't seem to work. Here is what I've tried: setTimeout(this.someFunction, 3000); se...

Mojo Messaging Service - Device URL

Does anyone know the URL for using the Mojo messaging service with the device. I can get it to work with the emulator from Google App Engine and .NET but it does not work on the device. I've read in some other forums that it may be related to the URL. Anyone have any information. The URL I am currently using is https://ps15.sb.palm.c...

Debugging Mojo for Palm Pre with Eclipse & Aptana

I'm pretty new to Eclipse and Mojo (.NET guy). I'm having difficulty debugging. I can set breakpoints and switch to the "Debug" Perspective, but no matter what I can do (I am running in debug mode), I can't seem to get the IDE to stop at a breakpoint in the emulator. I'm sure it's a pretty newbie mistake with Eclipse. Anyone have a go...

Palm Pre Dashboard notification...

How can I get Dashboard notification in my Palm-Pre application? ...

Variables Access Prototype

Hi All, I am working on the new Palm Pre WebOS, the Apps for Palm Pre are developed in MojoSDK which is developed on top of Prototype Javascript Framework. I am trying to access variables defined at assistant level in event handlers which are a part of the same assistant as well. When I access the assistant level variables in an event ...

How do you get Length of Text in a Mojo TextField?

How do you get the length of the text inside a Mojo TextField? I'm trying to set a multiLine TextField with a limit of 150 chars, I tried doing it with a counter, but ran into a issue of not being able to decrement the counter when the text was erased, or adding the right number when pasting text, so my new approach was to get the lengt...

Command Menu: Spaces in Labels

Hi All, I am working on a Palm-Pre App. For some Custom Functionality, I am creating a Command Menu in my App which has 3 options at the maximum. The options are labels and doesn't contain any images. The issue is that when I add spaces in the Labels, the menu got messed-up. The separators become thick and the alignment is also distur...

podcast for WebOS development?

Are there any podcasts for WebOS (Palm Mojo) development? ...

Is O'Reilly's WebOS book out of date?

The book Palm webOS -- The Insider's Guide to Developing Applications in JavaScript using the Palm Mojo Framework by O'Reilly was published in July, well before the Palm Pre was released, meaning that the authors used an early pre-release version of the OS. This leads me to wonder if the information is current enough. Does anyone have ...

Developing Palm WebOS Mojo applicaitons with Google Web Toolkit GWT

Has anyone successfully developed a "native" Palm WebOS app using GWT? How do you setup your development environment and how did you interface with the mojo framework? I was thinking one setup might be to create 2 projects: a GWT & a Palm OS project. Setup your build to copy the results from you GWT compile into the Palm OS project. Pro...

Double tap in webOS

How can I implement DoubleTap event and SingleTap event separately in webOS ? ...

Palm Mojo: Object properties

There was another question with an answer saying that you can use event.down.x to get the x-coordinate of a tap event. It also said that this was not well documented in the Palm Mojo SDK. My question is how can I find the properties that I can use for any given Mojo object? ...

Maven MOJO transitive dependency resolution ordering from the bottom of the graph

I'm resolving transitive dependencies in my MOJO and wish to have them returned in order from the bottom of the dependency tree up. Is this possible using Maven2? Here's my code so far: Set<?> dependencyArtifacts = project.createArtifacts(artifactFactory, null, null); ArtifactResolutionResult result = resolver.resolveTransitively( d...