**** BEGIN LOGGING AT Sat Mar 27 02:59:56 2010 Mar 27 03:18:04 hey haeffb_pre Mar 27 03:18:08 where did u go? Mar 27 04:20:29 hi all Mar 27 04:29:28 howdy JenP Mar 27 04:29:41 hi Roy...you're up late Mar 27 04:31:09 Just got the first bounty from an application developer to have his application supported in Save/Restore. Mar 27 04:31:41 $20 for 5 lines of code :) Mar 27 04:31:42 awesome rod! Mar 27 04:31:49 glad to hear you're finally making some money Mar 27 04:32:40 I'm more enthused by the fact that app developers see the value in the app itself., Mar 27 04:33:11 lol rod we all see the value in the apps you make Mar 27 04:33:20 rwhitby: Good, good. Mar 27 04:34:17 very nice Mar 27 04:34:18 * rwhitby bbl Mar 27 05:34:48 o/ Mar 27 11:03:35 hi Mar 27 11:26:15 morn'n Mar 27 11:27:04 what's new here ? Mar 27 11:28:54 dunno. just woke up Mar 27 11:51:05 morning Mar 27 11:51:32 Bmyers Mar 27 11:51:52 I went to sleep... Mar 27 12:22:05 haeffb: just now u mean? Mar 27 12:29:35 no, you were looking for me last night Mar 27 12:29:39 I was snoozin Mar 27 12:57:36 haeffb: o yeah. Jenp has this problem with her app Mar 27 12:57:57 i thought maybe in your drunken state u would understand whats shes trying to do Mar 27 13:03:39 haeffb: do you know how to do a swipe / listen / cmd on in scene Mar 27 13:03:47 not just the gesture area? Mar 27 13:06:52 yeah. use your finger. Mar 27 13:07:41 BangerPre: just in case you didn't know, you have to be registered with nickserv to post in here. Mar 27 13:08:04 thx haeffb Mar 27 13:08:23 so, my drunk coding was this || close. Mar 27 13:08:34 an hour later and it's all working Mar 27 13:08:58 nice Mar 27 13:09:06 i should try that sometime Mar 27 13:09:20 hey, i'm up to over 500 dl's on GR Mar 27 13:14:56 wheeeee! fun ride! Mar 27 13:15:14 I'm about to shoot this for loop in the ass Mar 27 13:15:33 for (i = 0; i < response.length; i++) { Mar 27 13:16:10 if response.length is 4, i should go from 0 to 3, right? Mar 27 13:16:43 stupid bastard is going to 4 and throwing an error. Mar 27 13:18:40 oh, I see what I am doing. weird. Mar 27 14:40:46 morning all Mar 27 14:43:25 hi JenP Mar 27 14:43:39 hi haeffb Mar 27 14:44:35 whats new wit u? Mar 27 14:45:10 i'm trying to figure out why my object itsn't working Mar 27 14:45:21 u? Mar 27 14:45:33 your object? is that what the kids are calling it these days? Mar 27 14:45:41 I'm trying to write a new app. Mar 27 14:45:57 yeah? what app? Mar 27 14:46:09 Banger: if you want to talk in here, you have to be registered with nickserv Mar 27 14:46:44 a followup to my original TaskAdder app - this will be a todo app that syncs with Toodledo. Mar 27 14:46:54 it's...uh...complicated. Mar 27 14:47:03 but I'm making progress. Mar 27 14:47:15 smiles...it sounds cool Mar 27 14:48:40 whats wrong with your object? Mar 27 14:49:09 haeffb: PMn you Mar 27 15:40:21 Can you pop all scenes and push another one? I'd use swap scene, but I have two scenes in the stack ... Mar 27 15:45:37 nvm, got it Mar 27 16:04:58 Anyone have an sqlite snippet for ordering a table by a column? I can't get mine to work Mar 27 16:12:57 order by Mar 27 16:18:00 I realized sqlite ordering wasn't the solution. thanks though Mar 27 16:31:12 Does Python run on webos? i.e. Palm Pre? Mar 27 16:31:16 Palm Pre Plus. Mar 27 16:53:17 hey Mar 27 16:56:25 swisstomcat: hi Mar 27 16:56:31 hey Mar 27 16:56:34 ping roy-pre101 Mar 27 17:03:41 pong Mar 27 17:03:46 What's up? Mar 27 17:37:00 morning all Mar 27 17:39:52 LoneStar99: hello Mar 27 17:40:48 howdy Mar 27 17:42:33 how is everyhting going? Mar 27 17:45:30 good, working on my chat app. Mar 27 17:45:33 what about you? Mar 27 17:46:16 since I got a 4 rating about a week ago have sold no more than 5 apps, losing like $100+ a week Mar 27 17:46:37 have a 4.8 rating instead of 5 Mar 27 17:47:24 my app has lost it's presence Mar 27 17:54:17 What app again? Mar 27 18:14:39 hi all Mar 27 18:14:41 loosing money ? Mar 27 18:15:35 JenP: hi Mar 27 18:15:43 hey tibfib Mar 27 19:08:51 so under the PDK can we not link to any of the STD libs? Mar 27 19:14:59 ping roy-pre101 Mar 27 19:16:09 hello swisstomcat Mar 27 19:16:18 I need more heatshrink tubing.... Mar 27 19:20:50 hey haeffb Mar 27 19:45:26 so under the PDK can we not link to any of the STD libs? Mar 27 19:48:25 why not? Mar 27 20:54:21 hi! I'm starting in the webos develop world, and I'm very interesting in make this sample work http://www.weboshelp.net/webos-mojo-development-resources/ui-widget-list/322-webview but I don't know where I must c&p the three last lines Mar 27 20:58:48 xota: don't know, doesn't make much sense Mar 27 20:59:27 Paste em in the setup method? Mar 27 21:00:13 even then, you don't need it Mar 27 21:00:28 the lines make no sense to me Mar 27 21:00:43 its just setting up a listener... Mar 27 21:02:21 right Mar 27 21:07:51 MetaView: ok, thanks :) I make it work without these lines, but in the log I see a error: http://pastebin.com/qk0MT8yL do you know why? what's wrong on my call to bindAsEventListener() Mar 27 21:09:20 do you have a linkClicked function? Mar 27 21:12:18 halfhalo_T400: no Mar 27 21:12:50 then thats why Mar 27 21:13:04 Its trying to call linkClicked with is undefined Mar 27 21:13:17 excuse my stupid questions, this sampel is uncomplete, sorry Mar 27 21:13:25 it is, yes Mar 27 21:18:58 has anyone here gotten the PDL_* functions to work? Mar 27 21:20:23 I've saw it in the sdlquake code Mar 27 21:21:25 MetaView, you have a link to that? Mar 27 21:23:13 Can I see the HTML Code of my view in Ares? Mar 27 21:26:44 BAH, stupid sprint store hadn't had me fully updated. Mar 27 21:31:01 Note to self, don't do PDL_LaunchBrowser in a display loop Mar 27 21:51:10 is it easy to change the url in a webview without reload the scene? Mar 27 21:51:34 check the webwidget Mar 27 21:55:38 thanks MetaView, stupid question Mar 27 21:57:04 hi all Mar 27 22:56:55 hey peoples, has anyone seen a good explanation of the js involved with collapsible dividers? Mar 27 22:57:18 i've tried deciphering it from the stylematters sample Mar 27 22:57:35 but there's alot of extraneous code there - cant get my head around it Mar 27 23:03:06 just found a conversation between bmyers and sugardave on this issue Mar 27 23:03:24 hmm, not much help though Mar 27 23:04:19 BigBiff what are you trying to do? Mar 27 23:04:45 just trying to learn it - make lists that are collapsible Mar 27 23:05:02 can you pastebin your code? Mar 27 23:05:08 actually, just the same list sorted in a few different ways Mar 27 23:05:21 sure - its not my code though, its from the sdk sample Mar 27 23:05:33 gimme a sec Mar 27 23:07:08 http://pastie.org/890241 Mar 27 23:07:43 if the code is truly that involved, i may just abandon it Mar 27 23:08:16 well the code i use for my drawer isn't that involved Mar 27 23:08:46 do you have your html set up? Mar 27 23:09:41 hi! how can I do that my app allows write on it... this is show a entry in the top when I start writting? Mar 27 23:11:02 jen: no, i havent deciphered their html yet either - not sure which classes are necessary, which arent Mar 27 23:11:44 BigBiff: ok how about starting out simple....have you made your project yet? Mar 27 23:13:02 heh, yes, just dont have the html and templates for the collapsible dividers Mar 27 23:13:43 kk one sec i'll give you something to paste Mar 27 23:14:02 awesome - jen your my new fav Mar 27 23:14:50 xota: you mean an ajax call? Mar 27 23:16:08 BigBiff_: I don't know... for example in the explorer you don't see any entrybox, but when you start writting webos shows one Mar 27 23:17:21 so a hidden text entry field that appears when you start typing Mar 27 23:18:07 bigbiff yes Mar 27 23:18:19 sorry s/bigbiff/BigBiff Mar 27 23:19:17 hmm, that's definitely beyond my skills Mar 27 23:19:32 http://pastie.org/890255 Mar 27 23:19:40 biff this is a simple set up Mar 27 23:21:47 JenP: thx so much! Mar 27 23:22:10 i wish the sample had basic setups for some of these Mar 27 23:22:10 no prob but thats the beginning still have some more to give you Mar 27 23:22:15 ok Mar 27 23:22:27 what is this widget (the bottom one): http://1.bp.blogspot.com/_Aw1hEegM1OU/S0Pm2Qqiy-I/AAAAAAAAASQ/aHzg6T51Ch0/s200/flashcards_2010-05-01_103218.png Mar 27 23:23:10 BigBiff: k now you need this Mar 27 23:23:11 http://pastie.org/890258 Mar 27 23:23:45 it's your open and close arrow action Mar 27 23:25:10 so that's for the arrow button it will open and close your drawer Mar 27 23:29:05 so, are the attributes changeable, unlike in other widgets? i noticed that the second divider att is set to 'open' Mar 27 23:30:08 or is that just a default and changeable setting Mar 27 23:33:15 BigBiff: http://developer.palm.com/index.php?option=com_content&view=article&id=1916&Itemid=239 Mar 27 23:35:04 does that help a little? Mar 27 23:36:01 yes that's great! Mar 27 23:36:20 oh good! Mar 27 23:37:00 so once the drawers are open they will display whatever children content is in them...etc Mar 27 23:37:56 xota: are you pointing out the buttons at the bottom with "random" in it Mar 27 23:39:11 if you are those are the command menus http://developer.palm.com/index.php?option=com_content&view=article&id=1638&Itemid=51 Mar 27 23:41:52 thanks JenP Mar 27 23:42:06 was that what you needed Mar 27 23:45:40 Jen: that code you shared with me - is the drawer supposed to be openable? or does it acutally need items in it first Mar 27 23:47:09 JenP: another simple question more... in a RadioButton how can I deselect all items... I select it with value: X Mar 27 23:48:29 BigBiff: next2drawer is the drawer...it will need something in it...text or something Mar 27 23:50:04 xota: i'm not sure i understand what you mean Mar 27 23:50:36 JenP: I have a RadioButton with (for example) value: 1, then, the first item is selected. But how can I deselect all items? Mar 27 23:50:38 if one is selected and in a down press state...it would lead me to believe you have it set up as a toggle button and not a radio button Mar 27 23:51:01 can you pastebin your code? Mar 27 23:51:12 of course JenP, wait Mar 27 23:51:29 http://pastebin.com/wTZHnn98 Mar 27 23:54:17 xota: take a look at http://pastebin.com/d5L3qGFA Mar 27 23:54:35 that's how i do it....bascially its a group of buttons at the bottom of my app Mar 27 23:54:46 the user presses one and it launches to the scene Mar 27 23:55:56 so then on lines 27, 30 & 33 I call out the method i want to have executed Mar 27 23:56:00 really, the scene doesn't change, change the url Mar 27 23:56:22 ok...change it to change your url Mar 27 23:57:18 so i think where you had value i have command... Mar 27 23:58:00 JenP: another question (sorry :D) how can I popdown the filter? Mar 27 23:58:20 popdown? Mar 27 23:59:05 hide it Mar 27 23:59:25 one sec on phone Mar 28 00:00:37 ok JenP no problem, thanks :) Mar 28 00:00:56 sometimes we forgot that Pre/Pixi is a phone too :p Mar 28 00:01:13 lol Mar 28 00:02:24 not mine. internals meta-doctor to the rescue! Mar 28 00:17:19 morning Mar 28 00:22:11 almost time to pwoer off your lights Mar 28 00:23:53 hi all Mar 28 00:24:00 where were u 2? Mar 28 00:24:22 switching rooms...had to buy a plane ticket Mar 28 00:24:35 eh? what? Mar 28 00:25:06 vegas Mar 28 00:25:20 woo hoo vegas.. Mar 28 00:25:25 u getting married? Mar 28 00:25:33 yeah you guys should totally meet me... Mar 28 00:25:51 cough....cough....NO Mar 28 00:26:11 3rd time is a charm Mar 28 00:26:21 been there done that...paid the alimony... Mar 28 00:26:24 id think so Mar 28 00:26:47 over 850 dl's on guyrules. Mar 28 00:26:48 what are you guys doing? Mar 28 00:26:55 oh! awesome! Mar 28 00:27:11 one guy left feedback Mar 28 00:27:22 any good? Mar 28 00:27:24 what's in vegas? Mar 28 00:27:25 saying he thought it would be "tips and tricks" on women Mar 28 00:27:33 what a dumb ass Mar 28 00:27:39 lol Mar 28 00:27:47 whats in vegas....family Mar 28 00:28:08 oh sweet Mar 28 00:28:09 but it will be after the IL trip Mar 28 00:28:44 haeffb_pre were you able to look at my code? Mar 28 00:30:26 not yett... Mar 28 00:30:44 kk no worries...i was just wondering where i'm screwin gup Mar 28 00:31:14 but looks like you are tryinh to use same cookie 4 2 diff things Mar 28 00:31:30 yeah that's exactly what i'm doing... Mar 28 00:32:04 i'm just not sure what would be the right way to do what i need done... Mar 28 00:33:08 JenP: I can't link a event to my web View... this is the line: Mojo.Event.listen(this.controller.get("Tuenti"), Mojo.Event.webViewLinkClicked, this.link.bind(this)); why doesn't work? Mar 28 00:33:20 ok. Mar 28 00:34:50 adn I can't log with Mojo.log in the console I don't see anything Mar 28 00:35:01 xota: really? Mar 28 00:35:05 pastebin? Mar 28 00:35:53 http://pastebin.com/LH0k2JN8 perhaps it does but I can't see the alert because change quickly? Mar 28 00:36:13 jenp, explain what you are trying to do... Mar 28 00:37:02 haeffb i'm making the object call to give me original values...then i'm trying to get new values using a new object call Mar 28 00:37:15 problem is the object will return the array with the values i needed Mar 28 00:37:29 so first time around...great....second call...fail Mar 28 00:38:38 so the cookie is updating a set of fields....then later a new object call makes the same cookie and it's suppose to update the new fields Mar 28 00:40:50 xota: is this an italian app? Mar 28 00:41:33 JenP: no, spanish Mar 28 00:41:55 tuenti is a social network as facebook Mar 28 00:42:22 xota: where's your activate method? Mar 28 00:42:51 activate what? Mar 28 00:43:12 activate scene? Mar 28 00:43:28 so when you run this what do you see in the emu? Mar 28 00:43:29 the setup()? is in the pastebin Mar 28 00:43:54 I see a scene with a webview, a radiobutton and a filter Mar 28 00:44:06 (this is the sourcode of this scene) Mar 28 00:46:46 xota: go to palm dev site and search for palm-log Mar 28 00:47:51 bbiaf... Mar 28 00:48:39 that will help you in using Mojo.log.xxxx to debug Mar 28 00:49:26 ok haeffb_pre thanks, I'm reading this: http://developer.palm.com/palm-sdk/jsdoc/symbols/Mojo.Log.html and I've changed my log_level, but no messages :( Mar 28 00:50:48 put one at the begin of setup so you know the logs are working... Mar 28 00:51:27 there is a palm-log page with details on use Mar 28 00:51:27 palm-log -f -d tcp com.my.app Mar 28 00:51:46 haeffb_pre: it works, thanks :) I was logging from console (ssh) Mar 28 00:52:49 do you get to the link fcn then? Mar 28 00:55:32 haeffb_pre: no, but I can't log withou alerts Mar 28 00:59:33 it's very strange because no error with my event, but it isn't launched/handle Mar 28 00:59:50 try/catch? Mar 28 01:00:55 Bmyers: where? Mar 28 01:01:55 where u are not sure whats going on Mar 28 01:02:26 sometimes an error can just stop executing js in a method go on by everthing else Mar 28 01:02:39 also try jslint if u r using komoedit Mar 28 01:03:53 I write a try-catch in the .listen() but no problem with it :( Mar 28 01:04:56 k back Mar 28 01:05:01 what did i miss Mar 28 01:06:34 haeffb fixed ur code but you werent around so he went to sleep Mar 28 01:07:52 lol Mar 28 01:08:08 well i new he was good.... Mar 28 01:09:02 so when are you planning on releasing gr? Mar 28 01:09:41 early next week Mar 28 01:10:08 awesome Mar 28 01:10:17 seems to work ok Mar 28 01:32:11 finally I got it with another event Mar 28 01:45:48 grrr anybody know how change the radiobutton value in execution time? I'm trying: this.controller.get("Pages").mojo.value = X; Mar 28 02:08:23 xota: you have to change the model.value Mar 28 02:08:37 then call modelChanged Mar 28 02:09:29 haeffb_pre: I can't read this: this.controller.get("Pages").model.value or this.controller.get("Pages").mojo.model.value Mar 28 02:10:22 you have to save a reference to the model when you setupWidget Mar 28 02:11:45 this.myRadioModel = {...} Mar 28 02:12:05 let me see haeffb_pre thanks :) Mar 28 02:12:42 haeffb_pre Rick helped me understand what i was doing wrong Mar 28 02:12:49 needed to add another parameter to my array Mar 28 02:12:57 [id][#] Mar 28 02:13:13 cool Mar 28 02:14:06 I can sleep peacefully tonight, then. Mar 28 02:15:21 lol Mar 28 02:37:15 it works haeffb_pre :) lot of thanks Mar 28 02:37:17 ugh. spidermonkey is apparently not being built now for ubuntu 10.04 Mar 28 02:37:23 so no jslint :/ Mar 28 02:56:51 hello peeps Mar 28 02:58:37 So, for Save/Restore, I'm going to put the files in a subdirectory marked by the timestamp (to allow for multiple savesets in the future). Mar 28 02:59:00 What's a good human-readable timestamp format that is also easily parseable by Javascript? Mar 28 02:59:17 (and it has to work as a directory name in VFAT, with no spaces or colons) **** ENDING LOGGING AT Sun Mar 28 02:59:56 2010