**** BEGIN LOGGING AT Fri Dec 25 02:59:57 2009 Dec 25 03:00:34 Now, about this scroller...anybody know how to actually get it set on a certain position? Dec 25 03:02:40 k guys i'm signing off. time to celebrate xmas... Dec 25 03:02:43 i'll ttyt Dec 25 03:03:04 Have a good one Jen Dec 25 03:03:06 reality9110: .mojo.scrollTo ? Dec 25 03:03:11 (not tested) Dec 25 03:03:21 jbjoerk: Yeah...it doesn't seem to be taking Dec 25 03:03:56 reality9110: do you set any snapElements on yours? Dec 25 03:03:59 lettme try on mine a bit quick Dec 25 03:04:01 Unless you can't call it from setup Dec 25 03:04:03 Yeah Dec 25 03:04:32 you can't call scrollto on setup because the element doesn't EXIST yet. Dec 25 03:04:36 you have to do it in activate Dec 25 03:06:14 Doesn't seem to work if you call it in activate either Dec 25 03:06:20 Unless I'm just calling it incorrectly Dec 25 03:09:54 reality9110: no luck here either Dec 25 03:11:24 Yeah Dec 25 03:11:32 Nothing here Dec 25 03:14:01 reality9110: problem found Dec 25 03:14:09 reality9110: I bet you are not giving it negative coordinates Dec 25 03:14:12 when trying to scroll to the right Dec 25 03:19:43 Let me test Dec 25 03:20:25 Yeah, that worked Dec 25 03:20:32 Thanks a lot Dec 25 03:21:44 np :) Dec 25 03:31:30 My users are still idiots. Dec 25 03:33:46 :D Dec 25 03:33:59 when designing ui's, I think that's a healthy approach Dec 25 03:34:15 I'm talking about the support requests Dec 25 03:34:21 "It doesn't work!!!" Dec 25 03:34:27 Yeah, kid, I'm sorry...it does work. Dec 25 03:34:57 charge for support requests?: =) Dec 25 03:35:03 I should Dec 25 03:35:15 Except, I'm already making a lot off of it Dec 25 03:35:56 I just want to strangle some of these people though Dec 25 03:36:30 Especially everybody who's like, "WHY ISN'T STATION XYZ IN THE MIDDLE OF NOWHERE ON THERE?!" Dec 25 03:36:54 And the jackass on the reviews who gave 2 stars because not all of the stations on the website are available on the phone. Dec 25 03:37:12 And then said that I should "Look into fixing this" Dec 25 03:38:00 Yes...please excuse me while I create a flash player for WebOS...excuse me while I quickly code up a WMA plugin... Dec 25 03:38:48 =) Dec 25 03:38:55 but a user wouldn't understand that Dec 25 03:39:03 you'd have to swing some fancy language to scare em away Dec 25 03:39:43 but yes, I agree. I done my share of working tech support *huah* Dec 25 03:40:12 It's irritating. There are exactly 102,147 other stations available in the program. But, if your local station that plays the same crap they play on every other station in the world isn't on the list...nope. 1 star. Dec 25 03:42:27 Some guy actually wrote an email to me saying, "The program sucks! Accuradio is better!" Dec 25 03:43:32 I wrote the guy back, "We carry every single Accuradio stream...but keep telling yourself that." Dec 25 03:45:00 :( Dec 25 04:11:29 Can I copy a browser page URL into a SMS message? I haven't been able to figure out how. Dec 25 04:13:05 jacques: which part are you asking about? creating a sms message or finding a browser page url? Dec 25 04:13:25 actually, is this a developer question or user question? :=) Dec 25 04:14:33 sorry. user question. I'm in a SMS conversation and want to send them the URL of the browser page I'm reading. Dec 25 04:14:44 is there a user forum? Dec 25 04:14:51 I mean user channel. Dec 25 04:15:43 it may be this one, I don't know honestly :=) Dec 25 04:16:35 jacques: hacky workaround would be to use "share" menu option, then copy the url from the created e-mail into messaging.. I'm sure there must be a better way though, just not too familiar with the browser Dec 25 04:17:05 ah, got it Dec 25 04:17:13 try scroll upwards on a webpage, that will give you the url bar Dec 25 04:17:19 then just go into the menu and press edit-> copy Dec 25 04:17:41 (click in the url bar first, it'll select the text, then you can copy it) Dec 25 04:17:51 am I making any sense? .. I need sleep :=D Dec 25 04:22:53 jbjoerk, thanks! I was close but did not try the copy once I got the URL bar selected. Dec 25 04:23:56 yes, that works! :-D Dec 25 04:24:48 great! :) Dec 25 05:20:24 hi all! Dec 25 05:26:50 hey hey Dec 25 11:15:26 hi, can someone give me a link to docs about scene? Dec 25 11:15:37 i get scene this StageController.active Dec 25 11:15:43 i get scene this StageController.activeScene(); Dec 25 11:15:58 but can't find reference about that object Dec 25 11:16:27 all i need is name of active scene Dec 25 15:20:28 morning all! Dec 25 16:46:14 Merry Christmas all who celebrate Dec 25 18:02:28 Hey everyone! Dec 25 18:12:32 ah...sadness...no Touchstone kit for me Dec 25 18:12:45 :( Dec 25 18:12:52 I got a pixi touchstone back Dec 25 18:13:32 I got a case of sugar cane Dr. Peppers, though Dec 25 18:13:40 that stuff is THE BEST Dec 25 18:14:40 Hah Dec 25 18:14:45 I love my parents Dec 25 18:14:57 They spoil me Dec 25 18:15:42 yeah, mine, too...this year we were only supposed to buy for the kids and we drew one adult each...of course, Mom sends a ginat box of crap here Dec 25 18:18:14 hah Dec 25 18:18:22 This year was so nice for me though Dec 25 18:18:29 24" monitor Dec 25 18:18:32 == Dec 25 18:18:35 Wonderful Dec 25 18:19:56 very nice :D Dec 25 18:20:27 now it's time to pick up wrapping paper....see y'all later Dec 25 18:27:17 damn flakey wifi Dec 25 18:30:53 merry christmas guys Dec 25 18:35:19 Merry Christmas JenP! Dec 25 18:35:53 merry christmas kesne Dec 25 20:20:48 MERRY CHRISTMAS Dec 25 20:20:56 palm got me what i wanted for christmas Dec 25 20:39:11 mhm i want a lastfm integration for the music player and bluetooth file transfer ;) Dec 25 20:39:53 but ya, merry xmas :) Dec 25 20:40:40 what did they get you atlanta? Dec 25 20:49:50 submitted my app to the catalog Dec 25 20:49:50 today Dec 25 20:50:29 very cool! Dec 25 20:50:48 go check it out Dec 25 20:50:51 picture tweet Dec 25 20:50:57 KK Dec 25 20:53:26 oh it's GREAT!!! Dec 25 20:53:30 Congrats! Dec 25 20:54:50 hucksy: i was thinking about making a last.fm app but there api forbids it Dec 25 20:54:54 JenP: THanks :-) Dec 25 20:55:24 sucks i cant even download my own app because of this dumb limit Dec 25 20:55:36 rate it :-) im off to family dinner Dec 25 21:23:08 Thus isi Dec 25 22:56:09 Hey there Dec 25 22:56:28 hi Dec 25 22:56:41 How's it going? Dec 25 22:57:07 Hi guys Dec 25 23:00:55 Hey JenP! Dec 25 23:01:00 I got me a new computer! Dec 25 23:01:02 hiya keen Dec 25 23:05:04 If I am in a scene assistant, and I type this.controller.get("myItemId"), what does that return exactly? Dec 25 23:05:33 object named myItemId? Dec 25 23:06:09 It it kind of the same as document.getElementByID? Dec 25 23:06:25 ti83 it's exactly the same Dec 25 23:06:36 sweet Dec 25 23:06:40 and also the same as $('myItemId') Dec 25 23:06:51 except they have been extended with a mojo property? Dec 25 23:07:14 well, the element itself is so extended, so you don't really care how you get it. Dec 25 23:07:18 Here's the problem..... Dec 25 23:07:31 Let's say you did a pushscene, then did a SECOND pushscene. Dec 25 23:07:48 and let's say that you were (saddly) dumb enough to use the exact same ID in both scenes. Dec 25 23:08:08 haha Dec 25 23:10:19 or you accidentally refered to an id in the first scene Dec 25 23:10:26 since they are now BOTH part of index.html Dec 25 23:10:40 if you use getelementbyid you can actually mess with the element in the other scene Dec 25 23:10:55 whereas, this.controller.get is scene safe. Dec 25 23:10:55 ah Dec 25 23:11:06 brb Dec 25 23:11:50 but Mojo.Controller.stageController is not? Dec 25 23:15:19 well, all pushed scenes are on the same stage. Dec 25 23:15:32 ti83 do you understand what happens when you push a scene? Dec 25 23:16:06 right Dec 25 23:16:13 I think I do--they get pushed onto a stack Dec 25 23:16:32 so the stagecontroller would know about both of the elements with the same id Dec 25 23:16:38 but this.controller would not Dec 25 23:16:43 right Dec 25 23:16:56 but that's why it's VERY IMPORTANT to use unique ID's even across stages. Dec 25 23:17:03 ah Dec 25 23:17:19 because when you push a stage, the stage's html gets inserted into index.html BELOW THE BODY TAG Dec 25 23:17:41 so, you push scene1 and it gets inserted, and then you push scene2 and it gets inserted ABOVE scene1. Dec 25 23:17:42 hmm, that's cool Dec 25 23:17:53 oh, really? Dec 25 23:17:58 really. Dec 25 23:18:02 where have you read all this>? Dec 25 23:18:26 there is'nt anywhere to read all this yet. I'm in the process of WRITING it. but if you use inspector, you can SEE it. Dec 25 23:18:58 inspector? Dec 25 23:20:47 sigh Dec 25 23:20:57 haha--nevermind! Dec 25 23:21:01 no, it's ok Dec 25 23:21:14 do you use chrome or safari or any other webkit based browser? Dec 25 23:21:19 chrome Dec 25 23:21:28 cool. Dec 25 23:21:37 the DOM inspector? Dec 25 23:21:39 in chrome, right click something, and pick "inspect element." Dec 25 23:21:41 yep that Dec 25 23:21:48 oh, right, I've used that Dec 25 23:21:58 now, palm has patched that so that it can reach INTO the emulator and inspect the running app in the emulator Dec 25 23:22:24 ooh, sweet! how? Dec 25 23:22:27 are you using command line tools, eclipse, or komodo? Dec 25 23:22:31 eclipse Dec 25 23:22:35 with aptana Dec 25 23:23:45 ok, in eclipse, there's a "button" that packages up your app, and installs it on the emulator, there's one that runs your app, and there's one that "inspects" the app, which launches the app in inspectable mode. Then you just run the palm-inspector app. which is in the sdk/share folder Dec 25 23:28:15 that's very helpful Dec 25 23:28:23 one more question if you're up for it Dec 25 23:29:14 I'm actually a flash/java dev and I always use an external logger. Is there anything like that for javascript dev? Some sort of logger? Dec 25 23:30:41 ti83: console.log is probably the closest equivalent Dec 25 23:30:42 it's /var/log/messages Dec 25 23:31:13 it auto-logs a bunch of stuff and you can pop things into it with Mojo.Log.error(string) or Mojo.Log.info(string) Dec 25 23:31:41 okay, I'll look into those Dec 25 23:31:44 thanks guys Dec 25 23:31:45 and palm supplies a command line tool to follow the logs in real time, palm-log Dec 25 23:31:55 ti83: you may actually want to check out Log4Js, it's a port of Log4J Dec 25 23:32:04 oooh Dec 25 23:32:25 it should have an adapter which uses console.log, which should be what Mojo.Log stuff uses Dec 25 23:33:35 that looks like exactly what I'm looking for Dec 26 01:11:30 Sigh, I'm having a terrible time trying to get logging in. I am connected to the emulator via novaterm Dec 26 01:11:51 and if I run log com.myprogram.program, some loggin shows up Dec 26 01:12:00 but Mojo.Log.info() never adds anything to it Dec 26 01:12:11 same if I just tail -f /var/log/messages Dec 26 01:12:20 is there something I'm missing? Dec 26 01:27:55 ti83 yes there is. Dec 26 01:28:10 you need a frame_config json file. Dec 26 01:28:43 framework_config.json? Dec 26 01:29:09 yeah Dec 26 01:29:21 http://developer.palm.com/index.php?option=com_content&view=article&id=1725 Dec 26 01:29:23 mine looks like this Dec 26 01:29:24 http://webos.pastebin.com/d789e1f33 Dec 26 01:30:09 looks ok Dec 26 01:30:17 Is the scene pushing? Dec 26 01:30:48 yes Dec 26 01:31:10 It's changing in the emulator Dec 26 01:31:22 try putting Mojo.Log.info("test") at the VERY top of the scene in the constructor. Dec 26 01:31:28 or in the stage controller Dec 26 01:31:33 just to prove that you can log. Dec 26 01:33:18 novaterm doesn't show it Dec 26 01:33:37 I might add that I could not find a "run as inspectable" option in eclipse Dec 26 01:33:41 I'm just running it Dec 26 01:34:10 so when you tail the /var/log/messages file you're not seeing your log entry? Dec 26 01:34:31 no, it's not there Dec 26 01:34:37 ti83 I don't use eclipse. I know it's in there, but I use komodo. Dec 26 01:34:49 does it have to be in inspectable mode? Dec 26 01:35:25 ok, let's try this. use the command line to run the app. Dec 26 01:35:39 close it out, and do palm-launch -i com.mydomain.myapp Dec 26 01:35:54 you do not have to be in inspectable mode to log, no Dec 26 01:36:19 but if you do that launch, then you can run the inspector. Dec 26 01:37:37 the inspector is just blank Dec 26 01:38:00 and I still don't see anything in novaterm Dec 26 01:38:04 weird Dec 26 01:41:49 novaterm does show some loggin, but none of it is mine Dec 26 01:41:53 ti83 pastebin your stage assistant. Dec 26 01:43:40 and replace your framework_config.json with http://webos.pastebin.com/m5c8fcee7 Dec 26 01:44:11 http://webos.pastebin.com/d7de8b4f1 Dec 26 01:45:39 and in the logging you're seeing, do you see transitions to your intro scene? Dec 26 01:46:45 ((you pastbined your scene, not your stage, but that's ok.)) Dec 26 01:47:25 I'm not sure if I'm seeing that Dec 26 01:47:45 just a sec Dec 26 01:48:32 http://webos.pastebin.com/d6740f3f Dec 26 01:48:39 this is the kind of thing I'm seeing Dec 26 01:49:13 http://webos.pastebin.com/d1c8132b6 Dec 26 01:49:16 and that's my stage Dec 26 01:49:18 sorry Dec 26 01:55:02 hey! Dec 26 01:55:07 I shut off the emulator Dec 26 01:55:11 then turned it back on Dec 26 01:55:15 and now it works... Dec 26 01:55:41 that's a bit ridiculous Dec 26 02:07:58 ahhh... Dec 26 02:08:02 that happens. Dec 26 02:08:23 the emulator gets "hung up" -- it's a very very fragile simulation of the device, which is itself somewhat fragile. Dec 26 02:08:52 I don't think lemketron is around tonight, but he might be able to tell us why logging fails sometimes until you restart the emulator Dec 26 02:13:58 Rick_work: thanks for the help, btw Dec 26 02:14:10 welcome Dec 26 02:14:19 helping other people is my best way to learn. Dec 26 02:23:46 do i have to make a class.create for radio buttons? Dec 26 02:26:44 have to? Dec 26 02:27:00 idk i was looking at the example and it had it Dec 26 02:27:08 as in will someone tell my momma on me if I don't? Dec 26 02:27:12 but id think i have to Dec 26 02:27:14 lol Dec 26 02:27:19 hi haeffb Dec 26 02:27:25 nice xmas? Dec 26 02:27:28 should not have to. they're just a widget Dec 26 02:27:31 going well so far Dec 26 02:27:38 what did you get? Dec 26 02:28:11 a Dilbert page-a-day calendar Dec 26 02:28:49 dilberts fun Dec 26 02:28:50 there Dec 26 02:29:10 's nothing in the API ref that implies they're different than any other widget. Dec 26 02:29:20 thanks Dec 26 02:29:31 you get anything cool? Dec 26 02:29:45 bf got me a bathrobe Dec 26 02:30:12 it's super soft...like one of those stuff animals you never want to put down Dec 26 02:30:27 i got him a new bamboo fun tablet Dec 26 02:32:28 what's a bamboo fun tablet? Dec 26 02:33:32 http://www.wacom.com/bamboo/bamboo_fun.php Dec 26 02:37:43 cool. Dec 26 02:38:11 yeah i got the medium size one...large was a bit too much for me and small was too small to actually work on Dec 26 02:58:17 dates/javascript/SQLite are kickin' my butt **** ENDING LOGGING AT Sat Dec 26 02:59:56 2009