**** BEGIN LOGGING AT Fri May 14 02:59:56 2010 May 14 03:00:52 lavalamps run on magic...silly May 14 03:01:03 lol May 14 03:01:06 Tibfib: Hippy gas! May 14 03:01:43 have one infront of me, some really cool shit May 14 03:06:22 need to figure a way to display randomness as a lavalamp any ideas? May 14 03:09:07 sun microsystem engineers calculated an encryption based on the randomness of 6 or lavalamps next to each other about 10 years ago, can't seem to find any info on that anymore... May 14 03:40:22 what's wrong with this code? it has to do with the cookie. First launch of app hangs... next launch works but doesn't push tutorial May 14 03:40:29 http://webos.pastebin.com/q632T6pV May 14 03:41:14 I get this error: Uncaught Error: require Failed: unbalanced call to PerfTimer pause/resume 'scene#assistantSetup', palmInitFramework338:10583 May 14 03:42:29 is there a limit to how many cookies you can have? May 14 03:42:31 Tibfib does it work if you remove the 0 from push May 14 03:43:13 nope, that works from other parts of the scene assistant May 14 03:43:56 Tibfib: does your app use alot of cookies? May 14 03:44:22 that one posted will be the 5th May 14 03:46:13 fine... I'll just move it to another cookie. May 14 03:47:05 Tibfib: sugardave built a cookie system that is totally scalable, and works great May 14 03:47:20 oh really? May 14 03:47:24 yeah May 14 03:48:57 my apps use it May 14 03:48:58 http://www.webos101.com/Mojo.Cookie May 14 03:49:01 has anyone seen a command menu/submenu with icons in it? May 14 03:49:30 never again, do i need to add another cookie, simply add to the existing cookie May 14 03:50:16 or remove from the existing cookie May 14 03:51:12 JenP: yes May 14 03:51:12 Tibfib: "A Cookie Bakery Example" May 14 03:51:53 LoneStar99: thanks for the link May 14 03:52:00 that is what you want to look at, only issue is that you will have to recode the cookie stuff May 14 03:52:47 it is well worth it b/c the cookie is reusable May 14 03:52:55 sugardave: thanks for code May 14 03:53:19 thanks sugardave! May 14 03:53:57 I need to redo some cookie stuff for my chat app anyway May 14 03:55:19 right on May 14 03:56:34 * Tibfib isn't going to update countdown for a while... going to go pdk with it for practice May 14 04:04:19 Tibfib: have you began to use the PDK? May 14 04:04:43 nope... just have _basic_ c++ knowledge May 14 04:04:53 countdown is simple enough. should be okay. May 14 04:06:00 have no clue how the PDK works, but seems cool, need to think of an app that would need that type of power May 14 04:06:58 perhaps the drawing of naturally moving objects, moving according to alot of factors... May 14 04:08:34 before anything need to rollout major updates to my apps May 14 04:10:21 ah... it is late. goodnight all. thanks for your help. May 14 04:31:53 Since I got all the bugs filed with palm figured I would go ahead and start building my new site for mobile devices. http://img37.imageshack.us/img37/7061/mobilet.png May 14 04:37:05 nice May 14 04:37:26 looks very black and white May 14 04:37:41 looks like art May 14 04:38:03 nice design May 14 04:38:44 LoneStar99: it's blue... calibrate your monitor. lol. May 14 04:39:14 Templarian: lol May 14 04:40:10 always have my screen dim May 14 04:40:37 Well on mobile devices it looks like blue hehe. May 14 04:40:53 (especially on AMOLED) May 14 04:42:22 led is the shit] May 14 06:17:26 morning May 14 06:48:40 morning May 14 07:18:27 morning warpdesign May 14 07:21:35 how are you ? May 14 07:33:55 hi guys May 14 07:34:40 hi jenp May 14 07:34:52 how are you May 14 07:35:52 swisstomcat: do you have any experience with sql? May 14 07:37:01 yes, a bit May 14 07:37:35 do you have any idea why this wouldn't work? http://pastebin.com/DpGFukDh May 14 07:38:38 where does it fail? May 14 07:38:58 well i no longer get an error message and i do get the delete sucess message May 14 07:39:17 but if i reload the app all the data I thought I deleted is still there May 14 07:39:34 is it possible to have a label for a toggle button, much like selectors.... May 14 07:39:44 like.. "Sound .................... ON|OFF" May 14 07:39:53 yeah i do that May 14 07:39:59 how do you do that ? May 14 07:40:06 one sec let me look May 14 07:41:17 in your attributes give a trueLabel & falseLabel May 14 07:43:16 well, that's what I have May 14 07:43:29 what I'm asking is how adding the "Sound" (in my example) label May 14 07:43:53 Right now I only have ".................... ON|OFF", not really intuitive ;) May 14 07:44:14 put it in a table May 14 07:44:17 in the ui widgets demo they have a label hardcoded in a table cell May 14 07:44:25 your label in col1...toggle in 2 May 14 07:44:32 it works May 14 07:44:34 but I'd like to avoid adding that.. I'd like to have something like the selector list May 14 07:45:03 Sorry cant help there May 14 07:45:04 of course, but I want the label tap to toggle the toggle button (just like taping the label of a selectorList will show the selector list...) May 14 07:45:32 let me look how i did it May 14 07:47:09 warpdesign: http://pastie.org/959958 May 14 07:47:40 that's how i did it too May 14 07:47:46 ok, thanks May 14 07:47:48 swisstomcat: any ideas on that sql? May 14 07:48:02 but I'll have to style my own label to reflect the selector's label styling.. May 14 07:48:14 plus in semantic, a table shouldn't be used there... sigh.. May 14 07:48:16 thanks May 14 07:49:27 compared to my code, your code looks more complicated .. maybe you can streamline it, jenp May 14 07:49:55 this.db.transaction((function (inTransaction) { inTransaction.executeSql(sqlDeleteHistory, [], function() { }, dao.errorHandler); })); May 14 07:49:59 that's all i do May 14 07:50:15 hmm i'll try it May 14 07:50:31 how will that know to delete the particular row selected? May 14 07:51:02 this is a function and you pass it the sql as a string (sqlDeleteHistory) May 14 07:51:37 oh kk May 14 07:51:50 well guys i'm beat...i'll talk to you later May 14 07:51:52 g'nite May 14 07:51:56 night May 14 09:52:14 does anyone know how i can make cells clickable to push scenes? May 14 09:52:27 hi May 14 09:52:30 or is there a better way to create a spreadsheet of buttons? May 14 09:52:42 i ended up using the following May 14 09:53:17 Mojo.Event.listen(this.controller.window, Mojo.Event.tap, this.tapHandler, false); May 14 09:53:41 and then in the handler May 14 09:53:47 Mojo.Log.info("observed tap on: object>"+event.srcElement+" nodename>"+event.srcElement.nodeName+" id>"+event.srcElement.id); May 14 09:56:06 does this.controller.window count as the whole scene? May 14 09:56:12 yes May 14 09:56:21 as far as i tested it May 14 09:56:41 i have 18 clickable td's May 14 09:57:16 would that also capture a click on a palm-button? May 14 09:57:39 good question .. try it May 14 09:58:23 so that wayso basically this.tapHandler then decides what was clicked and calls the appropriate function? May 14 09:58:39 i see. very cool. May 14 09:58:42 i'll try it May 14 09:59:18 thanks :) May 14 09:59:19 yes, the taphandler sees which td was clicked and calls the next scene May 14 09:59:29 awesome May 14 10:11:50 swisstomcat, it works, thanks! Now I just have to logical ids to each one. Thanks!! May 14 10:24:33 what's the conf file in /etc for log files for WebOS? May 14 13:47:00 http://www.microsoft.com/australia/technet/ie8milk/ May 14 13:56:35 saw that, pretty funny May 14 14:06:13 what's wrong with 9 year old milk? May 14 14:06:16 i like cheese May 14 14:06:34 heh May 14 14:06:41 i don't use IE anymore May 14 14:07:00 i use a fresh chrome beta or firefox beta May 14 14:10:48 i only use ie (6, actually) when i have to troubleshoot my code for work May 14 14:11:03 i use ff3.6, but the "corporate standard" is ie6 May 14 14:11:19 so i have to make code modifications to allow it to work :/ May 14 14:13:35 HattCzech, sounds like you should send that ie8milk link to a few people May 14 14:14:40 yup May 14 14:14:49 i've seen some companies that are still on ie6 May 14 14:15:17 i've been told that we'll be upgrading to win7, so that should fix some things :) May 14 14:16:27 i work at a company where we can install what we want :) i my case linux and chrome/firefox May 14 14:17:57 My Prē has been at Best Buy (or wherever they've sent it off to) being fixed for a month now. Urge to kill, rising. May 14 14:18:41 that sucks May 14 14:31:02 He who uses Chrome beta should try Iron: http://bit.ly/5pV2Wa May 14 14:31:25 hey sugardave May 14 14:31:38 hi hi May 14 14:32:49 i'm working on some css3 transition stuff May 14 15:39:19 Anybody here using the PDK on a mac with SDL_image? May 14 15:44:17 no, sorry May 14 15:45:37 alright everyone have a great weekend, will be at a rancch for the weekend - no internet! May 14 15:45:59 happy coding ) May 14 15:48:45 enjoy the ranch, lonestar May 14 15:54:03 thanks swisstomcat laters May 14 16:09:54 hi noradtux May 14 16:14:28 hi May 14 16:26:47 is there a reason i get "contact not found" when i try to get contact details for an id that i just pulled from a list? May 14 16:54:40 hello guys =) May 14 17:17:19 hallo May 14 17:20:34 hullo May 14 17:39:51 anyone around to help with webos and contact lookup? May 14 17:42:42 hey May 14 17:43:42 * phil_bw sighs May 14 17:43:54 still can't figure out the best way to listen to key press events May 14 17:43:59 found about 10 ways to do it May 14 17:44:12 listen to them where? May 14 17:44:31 Good day everyone May 14 17:44:48 just on the screen May 14 17:45:00 let's say for example to take any key press and spit it into a div May 14 17:45:05 is there a reason i get "contact not found" when i try to get contact details for an id that i just pulled from a list? May 14 17:45:09 (that's not what's going to happen, but for example sake) May 14 17:45:10 anyone here working with the pdk May 14 17:45:45 hi ctladvance May 14 17:46:06 hello swiss May 14 17:46:21 CTLAdvance: I am, not as a plugin though. May 14 17:47:17 haven't use a keypress listener yet May 14 17:47:31 hattczech: you're using a list of contacts ? May 14 17:47:42 i got the id from a list of contacts May 14 17:47:56 i was using an "undocumented" way of doing it before May 14 17:48:03 (and it worked) May 14 17:48:20 but using the palm://com.palm.contacts/crud method isn't working May 14 17:48:35 it's telling me my contact doesn't exist May 14 17:52:23 swisstomcat: any thoughts? May 14 17:53:29 i stored the id from the event.personId, so i know it's valid May 14 17:54:40 hmm May 14 17:58:34 woohoo visual studio is almostdone installing May 14 17:59:11 can i still talk in here? May 14 17:59:15 guess so May 14 18:00:01 still able to talk? May 14 18:00:29 cool May 14 18:11:31 hmm May 14 18:11:43 @webosdev: "okay boys and girls. If you're a member of early access, new toys in the drop box. go check out the private forum for details." May 14 18:12:38 oh really? hmmm, am I a member or not? May 14 18:16:34 have you signed up for early access, hattczech? May 14 18:17:19 I'm not sure. I think I tried originally May 14 18:18:24 where might I go about becoming a member? May 14 18:19:01 Seconded. May 14 18:23:50 how to become a member? https://developer.palm.com/distribution/viewtopic.php?f=5&t=3573 May 14 18:25:41 Thank you. May 14 18:27:35 ahhh, conditionals... i need to have an app in there May 14 18:27:39 soon... soon... May 14 18:29:11 brb May 14 18:29:28 Actually, HattCzech, if I read the follow-up post right, Chuq mentioned that they had dropped that restriction.... May 14 18:29:53 well thanks for clarifying May 14 18:29:54 that's correct, you don't need to have an app in the catalog to join May 14 18:30:51 swisstomcat, contined from the other chan: http://www.pastie.org/960682 May 14 18:31:26 allright May 14 18:32:18 does my handler function have to change or something? May 14 18:32:49 what is your handler function called? handleKeyDown or onKeyDown? May 14 18:32:59 handleKeyDown May 14 18:33:18 then you need to change: this.handleKeyDown = this.onKeyDown.bindAsEventListener(this); May 14 18:33:46 this.handleKeyDown.bindAsEventListener(this); May 14 18:34:39 nothing May 14 18:35:15 hm May 14 18:35:19 any errors? May 14 18:35:22 in the log May 14 18:35:27 got it by changing some things around May 14 18:36:17 wen tthis route: this.eventKeyDown = this.handleKeyDown.bindAsEventListener(this); May 14 18:36:36 and dropped this.eventKeyDown into the Mojo.Event.listen part May 14 18:36:56 what did you change it to? May 14 18:38:04 urg, so it looks like i can't use the crud to get account info May 14 18:38:30 swisstomcat, here is the working config: http://www.pastie.org/960682 May 14 18:38:59 yes, this looks correct May 14 18:39:03 and stopping works too? May 14 18:39:15 that's my next test May 14 18:40:52 yep May 14 18:40:59 does anyone know of a way to 'update' a contact if i have their id? May 14 19:12:02 alright, so capturing key down events is working great now... only problem is I can't get what key is being pressed. from what I read it should be "event.keyCode" but that just returned "undefined", anyone know why? May 14 19:14:45 anyone working with the PDK on mac? May 14 19:18:30 can you log the event object, phil_bw? May 14 19:19:03 umm, newbie question: how do I go about that? May 14 19:20:35 in your keyhandler function, the passed in parameter is event, right? May 14 19:20:49 it's an object May 14 19:20:52 right May 14 19:21:01 try Mojo.Log.info(event); May 14 19:21:06 to see if it's an object May 14 19:21:33 says undefined May 14 19:21:36 yet May 14 19:21:41 if I do event.type May 14 19:21:48 it registers "mojo-keydown" May 14 19:22:20 swisstomcat: is there a way to log a whole event without the stack overflow issue that sometimes pops up? May 14 19:22:48 Mojo.Log.propertiesAsString(event) May 14 19:23:31 codeslaws example is probably better May 14 19:23:49 strange that event would be undefined, but event.type not May 14 19:24:42 ok, got something May 14 19:24:47 can't copy and paste it May 14 19:25:08 says "returnValue:true, type:mojo-keydown, etc May 14 19:25:13 codeslaw: I'm using it on the Mac. May 14 19:25:36 Robdor: when i start a new project in xcode, it seems to have a bunch of cocoa libraries linked May 14 19:25:46 and i don't see evidence of any PDK libs May 14 19:26:18 phil_bw: now you can look for your property in that list May 14 19:26:24 hi all May 14 19:26:30 hi May 14 19:26:42 swisstomcat, it's not in that list, it says the same thing each time with only the timestamp changing May 14 19:26:46 hey JenP May 14 19:26:49 hi jenp May 14 19:26:54 hi guys May 14 19:27:02 codeslaw: I use Textmate and rake as my build system, so I'm not sure what xcode is trying to do. May 14 19:28:17 phil_bw: what's in event.keyCode? May 14 19:28:46 Robdor: word. not an xcode fan myself, and i have textmate, but no rake experience May 14 19:28:57 know a good resource to get up to speed on that? May 14 19:29:34 swisstomcat, nothing, but I did it for event.originalEvent and I can see the keycode in there, now to access it... May 14 19:29:48 codeslaw: This is probably a good place to start: http://docs.rubyrake.org/tutorial/index.html May 14 19:30:12 any thoughts on ANT vs rake? May 14 19:30:32 oh there it goes: event.originalEvent.keyCode May 14 19:31:27 Ant is a great build system. I'm just a Ruby dev by day so I tend to stick to my Ruby tools for most things. May 14 19:31:45 right on May 14 19:31:52 Ant can get a little verbose at times. May 14 19:31:59 yes May 14 19:32:56 This is the Rakefile for a project that I'm working on right now. It handles incremental building and all that good stuff. http://gist.github.com/401549 -- I don't have any device parameters in there yet, just host. May 14 19:33:07 Not a lot of verbosity there. May 14 19:33:57 phil_bw: was just going to post that May 14 19:34:55 ya that's pretty cool May 14 19:35:22 I think I'm actually getting the hang of this May 14 19:38:54 codeslaw: If you don't mind my asking, are you making a game with the PDK? I'm excited to see the games people are making with the PDK. There is a lot of power sitting in this little phone, and I think that we'll see a lot of cool things done with it once more people are using the PDK. May 14 19:39:33 Robdor: i'm porting my painting engine into C May 14 19:39:35 there's also a lot of great stuff you can do with hybrid apps May 14 19:39:49 and with the sdk (just finished a SDK game) May 14 19:40:04 i plan to go hybrid... full mojo controls over a plugin canvas May 14 19:42:28 i'm playing around with css3 transitions May 14 19:43:00 It would be nice to have hardware accelerated css3 transitions. May 14 19:43:15 they will come summer/fall May 14 19:43:37 this was announced at the developer days May 14 19:44:14 I didn't hear about that. That's really cool. May 14 19:44:34 lots of other cool stuff coming too May 14 19:44:44 http://developer.palm.com/index.php?option=com_content&view=article&id=2062 May 14 19:44:53 watch the keynote for the announcements May 14 19:56:46 watched teh vid May 14 19:56:53 can't wait for webgl May 14 19:59:08 the "pdk hybrid apps" session is probably for you, codeslaw May 14 19:59:42 or "optimization under palm's 3d hardware" May 14 19:59:44 ya havent watched it yet May 14 20:06:18 are there tutorials or videos up some where swiss? May 14 20:08:04 ctladvance: yes, videos and slides: http://developer.palm.com/index.php?option=com_content&view=article&id=2062 May 14 20:14:46 night everyone May 14 20:18:57 just broke 1900 unique downloads on my paid app May 14 20:19:10 grats! May 14 20:19:22 about to break 5000 on the free version May 14 20:19:37 NICE May 14 20:19:50 I havnt got my paid app approved yet May 14 20:20:02 i think i need to limit the free one more.. theres alot of repeat usage of it, and i want people to buy it not keep using the free one :P May 14 20:20:11 hahaha May 14 20:20:24 like.. on sprint, 2638 downloads, but 9492 launches May 14 20:20:39 yah, i m still waiting for review May 14 20:20:44 verizon, 886 downloads, but 3329 launches May 14 20:21:03 gratz May 14 20:21:09 you are getting that $1000 now right? May 14 20:21:16 yeah for the paid app May 14 20:21:17 try directly advertising the paid features from within the free app May 14 20:21:19 grrr...my home theater receiver stopped working with HDMI. Onkyo wants me to drive 260 miles to a service center... May 14 20:21:21 its at like #94 i think May 14 20:21:24 my free app is at 14961 May 14 20:21:29 I need 18000 May 14 20:22:00 wana check it out? May 14 20:22:05 i just submitted the free version on 4/27 May 14 20:22:20 whats your app? May 14 20:22:29 Fantasy Chat May 14 20:22:37 oh yah i saw that, but didnt download it May 14 20:22:46 lol May 14 20:23:03 i havent had time lately to work on any of my apps (current and upcoming) lately. working alot of OT, and tryign to get the racecar finished so i can actually drive it this year May 14 20:23:25 * haeffb thinking about throwing it in the trash and buying a Yamaha or Pioneer instead. May 14 20:23:40 id rather drive May 14 20:23:52 onkyo > thoseguys May 14 20:24:13 try it, give me some feedback on how to upgrade it =_= May 14 20:24:20 i will May 14 20:25:04 its just alice right? May 14 20:25:40 you think? The Onkyo support guy was pretty f'in rude. May 14 20:26:13 Nyceane, it doesnt save my name May 14 20:26:40 and theres a small rectangle at the top left May 14 20:27:09 and you need to move the chat text away from the left side, its like right on the edge May 14 20:28:59 you need to trim the message May 14 20:29:17 if i send just a space it doenst like it May 14 20:30:00 theres no scrollback buffer May 14 20:30:15 and no help scene to contact for support :P May 14 20:37:18 it saves your name in the database May 14 20:37:31 oh, that would be my next update =), will just pull your name from there too May 14 20:38:01 yeah if you send just a space, it complains about missing AIML files May 14 20:38:19 =_= May 14 20:38:26 wow, you are awesome May 14 20:38:41 I m gona go work on it tonight and release update this weekend May 14 20:38:45 thanks a lot, dawm May 14 20:38:48 another thing that was annoying May 14 20:38:56 it doesnt replace text May 14 20:39:00 like u doesnt become you May 14 20:39:16 yah, thats a hard part =_= May 14 20:39:29 ok, i'll work on that one too May 14 20:39:37 just look inside the stock messaging app May 14 20:39:38 is there any good app for replacing text? May 14 20:39:41 i believe the source is in the sdk May 14 20:39:45 ok May 14 20:40:12 thanks for the feedback, I'll be working on it right away May 14 20:40:29 program files\palm\sdk\share\refcode\webos-applications\messaging May 14 20:40:45 ok May 14 20:40:50 no prob May 14 20:40:58 let me write these down May 14 20:41:09 if you are female, you'd be chatting with peter May 14 20:41:15 lol May 14 20:41:16 with male personality May 14 20:42:01 oh man May 14 20:42:11 you might need to edit the aiml files May 14 20:42:17 i did May 14 20:42:22 she just said 'taller than the world trade center.' May 14 20:42:41 +_+ May 14 20:42:41 that could be offensive May 14 20:43:32 also add interaction to the button, it doesnt change when you tap it so its like it wasnt actually tapped May 14 20:46:48 YES! Just got Visual Studio Installed and configed for pdk use May 14 20:46:51 this is awesome May 14 20:54:01 anybody want to critique my app description before I submit to the catalog? http://uploads.precentral.net/homebrew-apps/done-toodledo May 14 20:55:26 note: catalog descriptions become one big paragraph May 14 20:58:43 you can embed html I guess May 14 20:58:55 thats how some people get spaces and new lines May 14 20:59:08 unless they broke that May 14 21:16:46 dawm, the black box is caused by using visual studio May 14 22:22:38 do you guys know how do i join flash channel? May 14 22:27:33 hi there May 14 22:28:06 i need some help with the calendar service using the sdk May 14 22:28:55 the CRUD api? May 14 22:29:04 there've been some people having problems there May 14 22:29:10 i personally have 0 experience with the calendar May 14 22:29:38 yeah it looks so complicated. espacially when you're new on js May 14 22:29:55 i even tried to understand the sample files. no chance ;-) May 14 22:30:17 JS is pretty quick learning, but MOJO isn't a very simple framework May 14 22:30:54 i agree :-) May 14 22:30:59 once you understand how it works its great May 14 22:31:33 it is great May 14 22:31:36 very powerful May 14 22:32:31 but have you aver worked with the crud api at all, besides calendar? May 14 22:32:40 i'm talking about creating an account May 14 22:32:53 on webOS no May 14 22:33:06 oh. ok. thanx anyway May 14 22:33:43 just idle in here, poke your head up, someone with calender experience is bound to be in at some point May 14 22:34:18 amiroo: what's wrong ? May 14 22:34:46 wow. codeslaw is good... May 14 22:34:59 :-) thank god May 14 22:35:20 * codeslaw nods, approvingly. May 14 22:35:21 warpdesign: i don't understand a word in the references. here's my first question May 14 22:35:37 do you like gladiator movies? May 14 22:35:49 like ben hur? May 14 22:35:53 warpdesign: is it right, that i can use anything i want for username and domain while creating an account? May 14 22:36:44 well.. I was just asking to see if I could help... I don't have experience with the calendar api either.. May 14 22:36:56 sorry to disapoint you guys ;) May 14 22:37:04 warpdesign: ohhh. too bad. np May 14 22:37:34 lol May 14 22:37:49 but here's a question (please don't laugh) i guess all of you can answer May 14 22:38:04 42 May 14 22:38:18 * haeffb holds hands over keyboard to beat oilsworkn May 14 22:38:20 doh! May 14 22:38:23 well played! May 14 22:38:28 lol May 14 22:38:38 in the reference there a two functions. i don't know where to but em. and how i call them May 14 22:38:48 turns out you actually have to place hands ON keyboard May 14 22:38:54 amiroo: which functions? May 14 22:38:59 this.controller.serviceRequest('palm://com.palm.accounts/crud', { May 14 22:39:00 method: 'createAccount', May 14 22:39:00 parameters: { May 14 22:39:01 username: "myusername", May 14 22:39:01 domain: "mydomain", May 14 22:39:01 displayName: "My Name", May 14 22:39:02 icons: {largeIcon: '../accountIcon.png', smallIcon: '../stampIcon.png'}, May 14 22:39:02 dataTypes: ["CONTACTS", "CALENDAR"], May 14 22:39:02 isDataReadOnly: false May 14 22:39:03 }, May 14 22:39:03 onSuccess: this.accountCreated.bind(this); May 14 22:39:03 onFailure: function(response) { May 14 22:39:04 Mojo.Log.info("Account create failed; ", response.errorText} May 14 22:39:04 } May 14 22:39:05 }); May 14 22:39:20 sorry. didn't mean to spam the room ;-) May 14 22:39:21 wait May 14 22:39:23 eeek, use pastie.org, or post links May 14 22:39:30 http://www.weboshelp.net/webos-mojo-development-resources/api-reference/423-mojocontrollerscenecontrollerservicerequest#accountcreation May 14 22:39:43 no prob May 14 22:39:53 i'm talkin about the frist on Synergy Account Creation May 14 22:40:02 and the one below Calendar May 14 22:40:08 you can call that function in the setup method of your scene May 14 22:40:19 or whenever you need that to happen May 14 22:40:32 can i call them in a button handler? May 14 22:40:34 yes May 14 22:40:36 huh, there's a channel called #accountcreation May 14 22:40:56 are you serious? thanx! May 14 22:41:04 yes May 14 22:41:13 you can call it anywhere you have access to the scenecontroller May 14 22:41:18 haha I am the only one in that channel May 14 22:41:22 loll May 14 22:41:30 I was there a moment ago... May 14 22:41:35 :0 May 14 22:41:41 which is any and all code executed after your scene has been created, so, not in the constructor function May 14 22:42:11 ok. and i can put these function in a seperate file and include them in the sources file? May 14 22:42:30 eehh depends on how/when you call them May 14 22:42:39 that gets tricky, ESPECIALLY if you are new to JS May 14 22:42:51 which handles OO like a drunken clown May 14 22:43:04 i just want to call them on buttonPress in a scene May 14 22:43:20 ya, just leave that code in your scene until you have it working May 14 22:43:32 then figure out how re-organize your code May 14 22:43:37 or do one first, then the other May 14 22:43:57 oops...the wife's home...can you guys keep it down a bit? May 14 22:44:08 i only suggest this, because i had trouble for a while getting all the scope references to work when i moved code around to organize better May 14 22:44:26 * oilsworkn turns on CAPSLOCK May 14 22:44:35 ok i understand May 14 22:44:47 anyhow, i'm leaving work, i'll talk to you all later May 14 22:44:55 good luck getting calendar stuff working amiroo May 14 22:44:58 so i can pull the code out of the function and use them direcely on buttontab May 14 22:45:05 thx May 14 22:45:10 basically May 14 22:45:19 thank you so mich May 14 22:45:28 any of these guys can help you with where to place your service calls and such May 14 22:45:42 you can put them anywhere May 14 22:45:50 see? May 14 22:45:54 hehe cool May 14 22:45:57 you guys rock May 14 22:46:07 I'm about to implement high score submiting to my game, and I'm wondering how I could do that so that you cannot easily hack it (ie: something could just watch my code, then send some fake new scores by hand..) May 14 22:46:10 any idea ? May 14 22:46:46 warpdesign: server side checks for impossible to achieve scores May 14 22:46:58 yes, I'll do that May 14 22:47:10 but client side security is basically pointless, because anyone savvy enough to watch your net connections to figure this out May 14 22:47:14 but this won't prevent anyone to submit fake (valid) scores without having played the game May 14 22:47:17 will know that they can just look at your source code May 14 22:50:12 Hi all May 14 22:51:29 what's another way to set content aside from innerHTML? May 14 22:51:47 w/prototype element.update('foo'); May 14 22:51:52 i've been using that, but i just noticed it doesn't work for labels in a row May 14 22:52:14 let me try that May 14 22:52:55 nope, still having issues May 14 22:53:35 when i set the value in HTML, it works, but i'm trying to localize it, so now i'm going through JS May 14 22:53:49 and now it is way off the edge of the row May 14 22:56:17 the problem i have is: how do i identify someone, and make sure it's coming from the game and isn't a fake request ? May 14 22:56:33 good luck May 14 22:57:39 Any familiar with the latest palm-package with the 1.4.5 SDK? May 14 22:58:35 1.4.5 ? May 14 22:59:52 warpdesign: how about getting a method from the server to encript it and use the same method on the server to decrypt it. and use a checksum or somthing May 14 23:00:18 a ment vice versa May 14 23:00:52 aaaa May 14 23:00:57 sorry bad idea. forget it May 14 23:01:20 HattCzech|work: what's wrong with innerHTML ? May 14 23:01:42 it cuts of the label in the row May 14 23:01:55 the label is "Name" May 14 23:02:00 and i see "Na" May 14 23:02:10 and before it was something short? May 14 23:02:25 before it was "Name" and i had it in the HTML side May 14 23:02:38 Oh, you have nothing on the HTML side? May 14 23:02:43 put something back in there. May 14 23:03:02 then overwrite it with innerHTML May 14 23:03:51 very interesting May 14 23:03:57 that worked May 14 23:04:05 but why do i need something there? May 14 23:43:55 because the framework sets the length of the label based on whats in the HTML... May 14 23:44:36 ...it may be a bug in what it does if there's nothing in the HTML May 14 23:45:38 i'm thinking it's a bug May 14 23:45:46 cuz i set it to '!' and it works May 14 23:45:52 but a space doesn't May 14 23:46:08 and other alpha-numeric characters appear to work also May 15 00:15:04 3000 away from $1000 May 15 00:15:06 yay! May 15 01:16:50 just released my first paid app May 15 01:16:54 no one bought it yet May 15 01:33:46 Congrats Nyceane. May 15 01:34:05 (At least on the release.) May 15 01:53:46 is it possible to determine if another app is installed on the pre? May 15 02:45:18 hi all! May 15 02:47:06 is it possible to determine if another app is installed on the pre? May 15 02:50:49 Chriswebos: possible... I believe so... I'm not sure how though May 15 02:51:59 hmmm...need to find out...i just tried doing the cross-lauch thing...it didn't do it for me... May 15 02:52:22 i'm thinking of Mojo.service, but i don't see how to register a service **** ENDING LOGGING AT Sat May 15 02:59:56 2010