-
Website
http://justin.harmonize.fm/ -
Original page
http://justin.harmonize.fm/index.php/2009/07/meetup-com-webos-client-part-1-services/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
maacl
1 comment · 2 points
-
davezor
1 comment · 1 points
-
aaronasjones
1 comment · 1 points
-
mebaran
1 comment · 1 points
-
miami web designer
1 comment · 1 points
-
-
Popular Threads
Now all we need is a harmonize client for the pre :-)
What are you trying to do with it?
I am trying to write an application that manages some profiles (settings for Wi-Fi, Bluetooth, 3G, Ring Settings, Airplane Mode) based on location and time variables. The iphone doesn't allow you to do this yet. So was hoping to see it in the Palm SDK at least :)
Thanks for the quick reply and sorry if you felt I was just trolling your post!
i'm having some problems with it.
onSuccess: function(list) {
Mojo.Log.info("Got account list: %j", list);
if (list.list && list.list.length > 0) {
self.account = list.list[0];
k();
}
the self.account in the calling scope is not updated, only the self.account of the onSuccess is being updated thus i cannot get back the params.
any ideas? i've noticed the .bind(this) command but i was unable to utilize it.
Thanks,
Avner.
you don't need to bind. Without it, "self" has no meaning and you should
just use "this" with bind.