**** BEGIN LOGGING AT Sat Jul 03 02:59:56 2010 Jul 03 03:28:10 LoneStar99: The emulator is still x86 so no Jul 03 03:28:33 LoneStar99: You can build for the host though, they have SDL and an OpenGL ES wrapper lib for OS X and Windows Jul 03 03:30:46 Amaranth: ok, it makes sense, so need to test apps directly on the devices Jul 03 03:31:08 LoneStar99: no, you can test basic stuff on your computer Jul 03 03:31:21 But like always testing on the device is best Jul 03 03:31:42 And if you depend on the accelerometer or GPS or something you need to use the device, of course Jul 03 03:32:59 ok, trying to get a simple "hello world" to display on the device - this is what i have... Jul 03 03:33:57 http://pastebin.com/wVJ36m2f Jul 03 03:40:07 Amaranth: assuming a "hello world" has to have the proper includes to work, not sure if the PDK contains the libraries Jul 03 03:40:18 It does Jul 03 03:40:24 check the host directory Jul 03 03:41:02 host directory of the PDK? Jul 03 03:41:07 yeah Jul 03 03:41:08 http://developer.palm.com/distribution/viewtopic.php?f=70&t=7827 Jul 03 03:41:33 It's /opt/PalmPDK/host/lib on OS X Jul 03 03:42:53 ok thanks Jul 03 03:43:50 have a new app to build, but thought I would mess with the PDK for abit Jul 03 03:45:20 LoneStar99: Although for that simple of an app you don't need to link to anything and the includes are "standard" Jul 03 03:45:53 If you just use the STL and such Jul 03 03:46:14 It's when you get in to SDL, PDL, and OpenGL ES that you'll need to care Jul 03 03:46:47 yeah, was wondering that Jul 03 03:57:29 Hey guys doing clearInterval trigger GC? Jul 03 03:57:32 does* Jul 03 03:59:02 or does the object still exist, just not active Jul 03 04:29:32 hrm Jul 03 04:31:05 ugh Jul 03 04:31:13 chrome is stuck thinking its an iphone =/ Jul 03 04:31:49 oh and now it says i cant reinstall the extension.. Jul 03 04:38:09 wow, are there any companies who aren't putting out a web based tablet? Jul 03 04:39:23 i'm excited...new gadgets to buy! Jul 03 04:39:30 there'll be a dozen more at least in the next year Jul 03 04:39:42 there's a new kindle too Jul 03 04:40:16 NICE! Jul 03 04:40:21 webos tablet needs to be <$300 Jul 03 04:40:24 starting to get the hang of google maps Jul 03 04:40:35 got it to draw my profile locations as well as distance radiu Jul 03 04:40:39 er radii Jul 03 04:40:46 cool Jul 03 04:41:19 my 4 square google api is still scrwy Jul 03 04:41:46 yeah i was attempting to use the stuff from 4sq but it wasnt happening.. so i started over Jul 03 04:41:52 I touch it and the google maps app opens up Jul 03 04:42:33 heh Jul 03 04:42:37 http://koti.mbnet.fi/ojalesa/exam/ Jul 03 04:42:43 lots of api v3 stuffs Jul 03 04:42:52 no pan, zoom, nothing Jul 03 04:42:54 ahh Jul 03 04:43:55 one day when I have a comp I'm gonna try and figure all that out Jul 03 04:45:36 crap, phones about to die Jul 03 05:50:16 hehe Jul 03 06:55:03 ugh i cant get gmaps infowindows to display anything.. no matter what i do their blank.. Jul 03 11:09:56 hi guys ... how to get value of a TextField ? Jul 03 11:10:44 this.controller.get('textFieldId').getValue() ... is not working .. anyone? Jul 03 11:18:51 anyne there? Jul 03 11:52:07 .value Jul 03 12:29:59 hey Jul 03 12:31:44 hey Jul 03 12:41:05 hey guys .. this.controller.get('textFieldId').mojo.setText("hahah") .. not working .. any idea? Jul 03 12:56:23 raghuk: use the textfield's model to get/set the text Jul 03 12:57:37 this.controller.setupWidget('myTextfield', {...}, this.myTextFieldModel = {value: "some text"}); Jul 03 12:57:57 var myText = this.myTextFieldModel.value; Jul 03 12:58:10 this.myTextFieldModel.value = "new text"; Jul 03 12:58:22 this.controller.modelChanged(this.myTextFieldModel); Jul 03 13:49:04 haeffb: thanks that worked Jul 03 14:23:13 morning all Jul 03 15:22:36 hi JenP Jul 03 15:22:44 hi haeffb Jul 03 15:22:58 getting ready for your vacation? Jul 03 15:23:38 cleaning out the garage Jul 03 15:23:50 ahhhh Jul 03 15:24:06 in-laws are staying at our house while we're gone, so I have to get things ship-shape Jul 03 15:24:22 probably a good idea Jul 03 15:33:22 hello Jul 03 16:03:37 tttddfdfdf whoa Jul 03 16:03:45 that was weird.. Jul 03 16:04:18 what's that? Jul 03 16:05:34 somehow my computer wsa thinking the windows key was down, so everything i typed was winkey+ rather annoying when trying to type in a website url and it starts opening up explorer, minimizes windows, help and search windows popping up Jul 03 16:05:54 smiles...that is weird Jul 03 16:06:50 heh Jul 03 16:07:03 theers an app for droid to simulate iphone4 signal loss Jul 03 16:07:24 really? LOL that' sgreat Jul 03 16:07:47 heres the description Jul 03 16:07:48 Are you tired of your friends Jul 03 16:07:48 with iPhones getting all the cool new innovative features? Well now you can enjoy the same signal loss problems as the new iPhone 4. Jul 03 16:07:48 Loses signal if you hold it upright. NOTE: If you lose service while using this application you are holding it wrong! Jul 03 16:07:58 lol Jul 03 16:08:35 btw cyrkey.com lets you read your app comments Jul 03 16:08:53 oh i'll have to check that out Jul 03 16:08:58 for example http://www.cyrket.com/p/palm/com.biocandy.mycokerewards/ Jul 03 16:10:06 oh yeah i've seen that one Jul 03 16:10:31 hey dawm, do the dl numbers seem inflated to you on cyrket? Jul 03 16:10:50 no Jul 03 16:10:58 they're pretty close to what palm is reporting at this time Jul 03 16:11:01 palm is +3 Jul 03 16:11:31 oh wow, it supports the beta feed now too Jul 03 16:12:33 i'm looking at my own app and i'm seeing 29 dls on precentral and 34 on cyrket and i'm scratching my head at why there's a difference at all. Jul 03 16:12:56 anyone have GPS api experience? Jul 03 16:13:29 dpivs, is it a paid app? Jul 03 16:13:43 dawm_: yeah, ca lottery numbers Jul 03 16:14:18 hrm Jul 03 16:14:29 dpivs: what is your app? Jul 03 16:14:36 i have a free one on the web distribution and it's at like 600 dls on the palm site, I look at the number on webosroundup and it's like at 1,000 i'm like, "whoa that's not right". Jul 03 16:14:45 LoneStar99: ca lottery numbers Jul 03 16:14:57 palm's count is unique Jul 03 16:14:58 here's the link in cyrket: http://www.cyrket.com/p/palm/com.guylabs.calotto/ Jul 03 16:15:12 cyrkets is total downloads (including update downloads) Jul 03 16:15:33 dawm_: ohhh, well that makes more sense then. Jul 03 16:15:35 like for swap&drop cyrket says 4273 downloads Jul 03 16:15:42 but on palms its 2119 Jul 03 16:15:52 dpivs: my app shows 29 downloads Jul 03 16:15:53 but palm doesnt count 'update' downloads Jul 03 16:15:57 good morning Jul 03 16:16:14 morning EmmettLollis Jul 03 16:16:21 hi JenP! Jul 03 16:16:22 dpivs: info coming the rss feeds Jul 03 16:17:03 i have 38 web browsers open from last night just trying to fix one little thing in my app Jul 03 16:17:22 smiles...been there. Jul 03 16:17:44 how many feet is a standard residential block? Jul 03 16:17:46 thats what i get for using Ares Jul 03 16:17:51 less than 1000? Jul 03 16:21:17 around here a block is like 1/4th of a mile. roughly, it varies a lot though. Jul 03 16:21:27 nvm i just used google maps to figure it out Jul 03 16:24:06 there Jul 03 16:24:12 i knew my radii seemed large Jul 03 16:31:18 how much did you coe up with? Jul 03 16:31:23 come* Jul 03 16:31:32 oh i dunno Jul 03 16:31:52 hmm, it might have been easier to see my custom widget if it wasn't the same color as my background Jul 03 16:31:53 i just matched my inapp google maps w/ radius to google maps on the desktop with the built in scale Jul 03 16:33:46 ah Jul 03 16:35:05 oh yeah Jul 03 16:35:08 i fixed that XML bug Jul 03 16:35:51 which one? ;) Jul 03 16:36:21 the one in the MCR app Jul 03 16:36:56 oh smooth Jul 03 17:01:25 nice. as soon as my app went into the app catalog, i got 800 downloads over night Jul 03 17:01:41 oooo, that is really cool Jul 03 17:01:53 who knows who kept it though Jul 03 17:01:56 still nice Jul 03 17:02:02 morning dkirker Jul 03 17:02:08 morning discombobulate Jul 03 17:02:14 how's everything? Jul 03 17:02:25 meh, not too bad Jul 03 17:02:31 right on Jul 03 17:02:34 just waking up and buying accessories for the new Pixi+ :D Jul 03 17:02:41 smooth Jul 03 17:02:50 tough, it seems that Palm's on;line store is offline :/ Jul 03 17:02:59 heh Jul 03 17:03:03 online store is offline.. nice Jul 03 17:04:13 so, I think that I like the Pixi's keys better than the Pre's Jul 03 17:04:36 or at least just as much Jul 03 17:04:40 yeah? Jul 03 17:04:47 is the pixi touchscreen too? Jul 03 17:05:00 yeah Jul 03 17:05:17 i need to make my app pixi-friendly Jul 03 17:05:34 well, I have noticed with my Pre, some keys don't always register, so you have to hit them harder. The Pre keys are mushyier than the pixi ones. Jul 03 17:05:42 Yeah, that is why I bought the Pixi. :) Jul 03 17:05:53 And I wanted to spend some money :D Jul 03 17:06:11 verizon owes me a free upgrade.. wonder if i could get a pixi Jul 03 17:06:47 very likely Jul 03 17:07:12 * haeffb would wait for the new device.... Jul 03 17:07:48 haeffb; which one? Jul 03 17:07:48 * dkirker would buy the new device too :D Jul 03 17:08:24 one that will be announced sometime in the future... Jul 03 17:08:33 * haeffb hopes Jul 03 17:08:37 dkirker: good point. Jul 03 17:08:43 gotcha Jul 03 17:08:55 thought i missed an announcement :) Jul 03 17:09:03 might be cheaper to pay $$ for the pixi & get the new one free. Jul 03 17:09:20 there's gonna be one...just a matter of when Jul 03 17:09:22 ah.. very good point.. Jul 03 17:09:41 yeah palm could be like htc and put a new phone out every other week Jul 03 17:09:57 that would probably be bad Jul 03 17:10:11 * dkirker would go broke Jul 03 17:21:20 my in-laws' DSL is sloooooooooow Jul 03 17:22:30 july 12! Jul 03 17:23:19 DOH Jul 03 17:23:20 i hate you js Jul 03 17:23:39 here ive been messing with this calculation.. and it hasnt been adding the #s together its been makign them a string.. Jul 03 17:24:41 what is happening on july 12th ? Jul 03 17:27:31 HP's Phil McKinney to Keynote MobileBeat2010 July 12th Jul 03 17:28:50 Hey all Jul 03 17:29:09 is it normal for my Pre to get all hot and bothered when charged on the touchstone? Jul 03 17:29:13 yep Jul 03 17:29:19 I even have the CPU at 125mhz when it's on the thing, lol Jul 03 17:29:23 Hmm ok, thanks Jul 03 17:29:27 well how hot? Jul 03 17:29:34 ugh...i hadte when it saids it cant 'bind'...stupid buttons set up like all the others Jul 03 17:29:44 govnah says 38C atm Jul 03 17:29:54 thats fine Jul 03 17:30:04 once it crosses 40, I'd take it off Jul 03 17:30:05 And what's not fine just for future reference? Jul 03 17:30:07 ah Jul 03 17:30:10 it has done Jul 03 17:30:27 only seems to get hot when it's actually charging mind Jul 03 17:30:29 there is a patch that monitors temp and will notify you if it gets too hot Jul 03 17:30:36 not when it's already at 100% unsurprisingly Jul 03 17:30:58 I've had to do the cardboard hack with my touchstone :( Jul 03 17:31:06 otherwise I get the bingbong problem Jul 03 17:32:13 temp patch you say? Jul 03 17:32:19 yea Jul 03 17:32:24 (sorry, i got dc'd) Jul 03 17:32:50 in the preware patch section i'm assuming? Jul 03 17:32:53 yea Jul 03 17:32:59 search temp or something Jul 03 17:32:59 thanks.. i'll check it out Jul 03 17:36:18 hey thats smooth Jul 03 17:36:27 thanks for the tip Aurash Jul 03 17:36:35 no problem Jul 03 17:36:43 hm Jul 03 17:36:47 Maybe I should download it too Jul 03 17:36:48 >.< Jul 03 17:37:05 I consider it xD thanks for the help anyway Jul 03 17:37:09 think I might idle for a bit :P Jul 03 17:37:46 it's smooth.. it sits on that pull down menu on the top right corner.. states in farenheit next to the battery level Jul 03 17:38:18 86 degrees.. heh Jul 03 17:45:37 discombobulate: farenheit? =O can you change it to celsius? Jul 03 17:45:45 farenheit means nothing to me :p Jul 03 17:48:37 i think it normally is celsius Jul 03 17:48:44 ah fair enough Jul 03 17:48:45 i downloaded the americanized version i believe :) Jul 03 17:48:50 govnah is usually in celsius Jul 03 17:48:52 I'm making the images for my app now. I have the main icon made but what size should the small icon be and what directory should it be in? Jul 03 17:49:05 ooh what you making? ^^ Jul 03 17:49:10 If you don't mind me asking :P Jul 03 17:49:31 Do you mind if I tell you in a few days when it has been submit? :D Jul 03 17:49:35 i think it's 48x48 Jul 03 17:49:38 ha, no problem :P Jul 03 17:49:42 Yea I have the main icon at 48 X 48 Jul 03 17:49:46 But what about the smaller icon Jul 03 17:49:51 For the quick launch bar and splash screen Jul 03 17:50:00 I think it's 32 X 32 but I don't knolw Jul 03 17:50:10 32 is for the automagic help scene Jul 03 17:50:54 What should the file be named and what directory should it be in? Jul 03 17:51:13 doesnt matter Jul 03 17:51:15 it's whatever you set in that one file right? can't it be anything? Jul 03 17:51:22 you set that up in appinfo.json Jul 03 17:51:38 yeah thats the one ;) Jul 03 17:52:04 everything you ever wanted to know abou the UI Jul 03 17:52:04 http://developer.palm.com/index.php?option=com_content&view=article&id=1754&Itemid=51 Jul 03 17:53:49 i have the following Jul 03 17:53:54 "icon": "icon-64x64.png", Jul 03 17:53:54 "smallicon": "icon-32x32.png", Jul 03 17:53:54 "splashicon": "icon-256x256.png", Jul 03 17:54:04 i have a 48x48 but its not being used Jul 03 17:54:05 we should have sparknotes for APIs Jul 03 17:54:23 oh, where does that code go? appinfo.json? Jul 03 17:54:34 yes Jul 03 17:54:51 ok thanks Jul 03 17:55:07 my icons are in the application root Jul 03 17:55:24 but you could put them in images and add images/ to the icon velues Jul 03 17:55:25 values Jul 03 17:55:47 i've spend the past 2 days trying to get my icons to give visual feedback when they are pressed Jul 03 17:55:51 spent* Jul 03 17:55:59 lol Jul 03 17:56:01 wanna know how? Jul 03 17:56:09 :O Jul 03 17:56:23 yes! Jul 03 17:56:27 assClassName('selected') Jul 03 17:56:29 add Jul 03 17:56:31 oops Jul 03 17:56:36 no Jul 03 17:56:40 damn Jul 03 17:56:46 I thought that you were going to say that Jul 03 17:56:52 you have css for your icon right? Jul 03 17:57:02 for example .icon { blah } Jul 03 17:57:11 not at the moment Jul 03 17:57:20 was just using a palm-picture Jul 03 17:57:29 well you need a .selected Jul 03 17:57:31 tried using classes for .selected Jul 03 17:57:48 having trouble making it work in Ares Jul 03 17:57:59 you need to add x-mojo-touch-feedback="spontaneous" Jul 03 17:58:01 to the element Jul 03 17:58:05
Jul 03 17:58:21 when touched it applies .selected Jul 03 17:58:22 Ares is whats throwing me off Jul 03 17:58:30 everyone using Ares need to wear some kind of badge or something to let me know up front Jul 03 17:58:47 lol Jul 03 17:59:04 as much as i like having a gui design tool i really have to say that it's more trouble than its worth Jul 03 17:59:05 Hmm, not working. How do I change the icon that appears in the quick launch bar? Jul 03 17:59:41 I used "smallicon": "icon-32x32.png", in the appinfo.json file and made an icon with that file name and size but it still shows the moon icon in the quick launch Jul 03 17:59:55 well Jul 03 18:00:00 it doesnt use smallicon for that Jul 03 18:00:03 it uses icon Jul 03 18:00:18 "icon": "icon64x64.png" Jul 03 18:00:27 Well it's not using it :o Jul 03 18:00:34 does the file exist? Jul 03 18:00:41 Yup Jul 03 18:01:00 you're doing somethign wrong Jul 03 18:01:03 no typo in the appinfo? Jul 03 18:01:12 pastie your appinfo.json Jul 03 18:01:14 correct Jul 03 18:01:20 is it possible to use a .selected on a palm-picture? Jul 03 18:01:23 http://pastie.org/ Jul 03 18:01:24 did you delete/reinstall the app? Jul 03 18:01:31 EmmettLollis, should Jul 03 18:01:44 "is it plugged in, sir?" Jul 03 18:01:57 so essentially all my work to create a "custom widget" is for nothing Jul 03 18:02:14 I edited out the name of my app but here's the pastie: http://pastie.org/1029426 Jul 03 18:02:18 EmmettLollis: why do you need a custom widget and what kind? Jul 03 18:02:38 twbbas: line 10 Jul 03 18:02:40 trailing comma Jul 03 18:02:43 well i tried using the .selected to get the pressed image of my picture that i use to launch a scene Jul 03 18:03:23 and i couldn't get it to work... so in one of the 38 browsers i had open there was a custom widget tutorial Jul 03 18:03:23 oh shoot Jul 03 18:03:25 Thanks Jul 03 18:03:51 EmmettLollis, my 'custom' "widget' is just a div, with that x-mojo attribute, its own style w/ style.selected and a listener for Mojo.tap Jul 03 18:04:18 sugardave: That still didn't fix the small icon issue Jul 03 18:04:28 EmmettLollis: explain what you are trying to do with the selected image Jul 03 18:04:34 twbbas: bummer :( Jul 03 18:04:38 dave trailing comma aint gonna break it Jul 03 18:04:47 sometimes they break my shit horribly Jul 03 18:04:54 sugardave.. i'm just using it to launch a scene.. that part works fine Jul 03 18:05:12 Well this is a mystery Jul 03 18:05:18 twbbas, are you sure image-64x64.png is in the app root? Jul 03 18:05:23 Yes Jul 03 18:05:25 i'm going back to trying classes again Jul 03 18:05:29 it should be in the same dir as the appinfo.json Jul 03 18:05:55 Correct Jul 03 18:06:05 remove it from the quicklaunch bar Jul 03 18:06:09 close the launcher Jul 03 18:06:14 and open launcher and move it back Jul 03 18:06:16 how many mAh does the stock pre battery have? Jul 03 18:06:17 maybe its not updating Jul 03 18:06:25 Aurash: not enough Jul 03 18:06:44 im looking at this: http://cgi.ebay.com/New-Premium-High-Capacity-Standard-Battery-Palm-Pre-/230487709132?cmd=ViewItem&pt=PDA_Accessories&hash=item35aa2355cc#ht_761wt_1139 Jul 03 18:06:49 EmmettLollis, you have a tap listener on your 'widget' right? Jul 03 18:06:57 yes Jul 03 18:07:25 make a class for the widget called .selected and add x-mojo-touch-feedback="spontaneous" to the html element Jul 03 18:07:38 should apply .selected to the element when tapped/held Jul 03 18:07:43 right Jul 03 18:07:49 but... Ares Jul 03 18:08:13 i dont see why it wouldnt work in ares Jul 03 18:08:21 you can edit html right? and edit css? Jul 03 18:08:27 it doesn't work in design view, you have to run it in the emu Jul 03 18:08:28 you already have the listener Jul 03 18:08:48 I really don't know what to say, you are confusing me :P Jul 03 18:09:09 there is a ?-chrome.html file Jul 03 18:09:25 there should be scene html files, too? Jul 03 18:09:30 which i have used to override CSS for the palm elements Jul 03 18:09:58 dawm_: I tried closing the launcher and everything but it still shows the moon icon Jul 03 18:10:11 twbbas, you're doing something wrong somewhere Jul 03 18:10:15 then i found out how to get a regular stylesheet to link Jul 03 18:10:22 dawm_: I concur Jul 03 18:10:48 Ugh, do you know of any documentation anywhere that talks about the small icon? I can't find any Jul 03 18:10:57 twbbas, you're sending the updated app to the emulator right? Jul 03 18:11:05 twbbas, its not SMALLICON Jul 03 18:11:07 christ Jul 03 18:11:11 smallicon is for banner messages Jul 03 18:11:12 I'm only trying it on my device Jul 03 18:11:20 ICON is for the launcher Jul 03 18:11:32 And quick launch bar? Jul 03 18:11:38 yes Jul 03 18:11:40 i had to restart my device to get my icons to work proper Jul 03 18:11:52 Oh, maybe I'll try that Jul 03 18:11:56 just a thought.. Jul 03 18:12:21 it just scales the ICON to fit the quick launch bar Jul 03 18:12:31 smallicon is for banner messages Jul 03 18:12:35 and the splash didn't work at all til i restarted.. that took me way too long to figure out.. wish i could get that time back Jul 03 18:12:42 lol Jul 03 18:12:52 Ok, yea the splash wasn't working yet too Jul 03 18:13:07 Doing a luna restart right now :D Jul 03 18:13:19 don't forget to cross the fingers Jul 03 18:13:23 thats required :) Jul 03 18:13:25 haha Jul 03 18:14:03 arg, ares has no stylesheet Jul 03 18:14:19 * sugardave just looked at it for the first time since it came out of beta. Jul 03 18:15:29 Yea I was wondering how to use css in that so I just used html tags Jul 03 18:17:01 this sample here: http://webos101.com/GpsGetCoords will provide coordinates in X and Y values is that right? Jul 03 18:17:18 Yay! The luna restart fixed it! Jul 03 18:17:25 Thanks everyone Jul 03 18:17:59 LoneStar99: sort of, it's latitutde and longititude Jul 03 18:18:53 sugardave: sorry that is what i meant... Jul 03 18:19:10 in Ares i can't find a place to add the x-mojo-touch-feedback... it doesn't show me the
for any existing control Jul 03 18:19:17 it will be some kind of decimal degrees/minute format Jul 03 18:19:53 i can create a custom widget and it allows me to specify the div attributes there Jul 03 18:19:59 sugardave: then i want to get the acutall "city" then it would have to be plugged into another API? Jul 03 18:21:17 or wait, i have an idea Jul 03 18:22:38 LoneStar99: it's called reverse lookup Jul 03 18:22:50 and yeah, unless you wanted to have your own lookup db Jul 03 18:22:56 you'd need to use somebody else's API Jul 03 18:25:02 sugardave: ok, thanks, that is what I thought Jul 03 18:25:02 sugardave: looking at yahoo fire eagle Jul 03 18:25:05 for reverse lookup Jul 03 18:25:10 twbbas; no more icon issues? Jul 03 18:27:05 Nope, it's fixed Jul 03 18:27:08 Restarting luna fixed it, thanks Jul 03 18:27:11 so...oauth signatures....why are they so difficult to create? Jul 03 18:27:21 sweet. glad it worked. Jul 03 18:30:43 ok time to watch the spain, paraguay game, see you all laters! Jul 03 18:30:51 enjoy Jul 03 18:40:03 Hey guys Jul 03 18:42:23 Got a question.. com.mycompany.testapp Uncaught Error: TYPE_MISMATCH_ERR: DOM Exception 17 (app/game.js:145) Jul 03 18:42:39 I tried googling it but didnt find much. What does exception 17 mean? Jul 03 18:44:16 sugardave: that didn't work Jul 03 18:48:44 Can anyone point me in the direction I need to set an app into full screen mode, and to also have able to rotate between portraint and landscape.... Jul 03 18:52:41 http://www.palm.com/us/search/developer.html?search=fullscreen%20mode Jul 03 18:54:10 http://www.weboshelp.net/component/content/article/576-mojocontrollerstagecontrollersetwindoworientationorientation Jul 03 18:54:16 wow long url Jul 03 18:54:16 http://developer.palm.com/index.php?option=com_content&view=article&id=1874#.enableFullScreenMode Jul 03 18:54:34 why is palms search so sucky Jul 03 18:54:37 we need one of those tinyurl bots in here Jul 03 18:56:10 Awesome, thank you very much, google just kept giving me the 'secret code' to switch the email app to landscape lol Jul 03 18:56:18 I really appreciate it Jul 03 18:56:19 so, if I submitted an app through my open source account, and then later change it to not open source account...do purchasers still have access to updates? Jul 03 18:56:49 step 1: search http://www.webos101.com Jul 03 18:57:02 step 2: search http://developer.palm.com Jul 03 18:57:30 JenP: Done is within 12 downloads of catching Myles. Jul 03 18:57:42 OMG haeffb that's awesome! Jul 03 18:57:46 1.5 months versus 6 months Jul 03 18:58:01 wow! Jul 03 18:58:19 is this the wrong place to ask about apps ? looking for an irc app for my pixi Jul 03 18:58:22 bought the wife a new diamond... Jul 03 18:58:32 techrush: wirc in preware Jul 03 18:58:33 did you really? Jul 03 18:58:46 yep. 22 years married Jul 03 18:58:58 oh that's so cool. congratulations Jul 03 18:59:31 told her it was because she hadn't seen me for the last two months while I was writing code... :) Jul 03 18:59:50 lol yup i know that one... Jul 03 19:00:07 any preferred forums or blogs you guys would suggest for webos ? just got my pixi and am eager to learn more :) Jul 03 19:00:22 http://www.precentral.net Jul 03 19:00:34 http://www.webosroundup.com Jul 03 19:00:52 thanks. Jul 03 19:01:18 coming from years of symbian its like a breath of fresh air :) Jul 03 19:02:09 best mobile OS Jul 03 19:02:19 even with it's flaws Jul 03 19:02:37 what would you say the biggest flaws are ? Jul 03 19:02:59 biggest flaws are hardware. Jul 03 19:03:03 laggy. Jul 03 19:03:13 no microphone API Jul 03 19:03:51 JenP: which part didn't work? Jul 03 19:04:08 this.controller.modelChanged(this.nameStormodel); Jul 03 19:04:27 http://pastebin.com/0nqYRrEW Jul 03 19:04:33 seems like minor stuff....i am a web developer also so the application development model fascinates me as well... Jul 03 19:04:41 haeffb: how do you make a widget update its value on-screen when you change it? Jul 03 19:05:18 which widget? Jul 03 19:05:26 when I added a webview after scene setup, I had to refresh the scene with a call to activate() Jul 03 19:05:29 usually modelChanged Jul 03 19:05:49 haeffb can you take a look at http://pastebin.com/0nqYRrEW Jul 03 19:05:54 haeffb: JenP claims that modelChanged is not working....I think she's a witch Jul 03 19:06:00 lol Jul 03 19:06:03 does she float? Jul 03 19:06:51 sure do Jul 03 19:07:04 she's a duck Jul 03 19:07:11 lol Jul 03 19:07:37 oh wait a second Jul 03 19:07:54 isn't this going to be a different thing inside the transaction function? Jul 03 19:08:07 depends on how it's bound Jul 03 19:08:08 huh? Jul 03 19:08:40 .bind(this) Jul 03 19:09:06 JenP: on that last pastebin, try line 28 as: }.bind(this), Jul 03 19:09:15 ugh pastebin won't let me put the whole file in Jul 03 19:09:18 kk Jul 03 19:10:38 well the values show up in the comments, but the textfields do not update Jul 03 19:11:01 did they show up in the log statements before? Jul 03 19:11:07 oh that works! Jul 03 19:11:32 it works? Jul 03 19:12:00 yeah if i use the setWidgetModel method Jul 03 19:12:12 http://developer.palm.com/index.php?option=com_content&view=article&id=1531&Itemid=44 Jul 03 19:12:15 techrush: application development is horribly difficult. I wouldn't even attempt it if I were you! Jul 03 19:12:16 ah, cool Jul 03 19:12:37 techrush: give up now Jul 03 19:12:45 lol :( Jul 03 19:12:55 JenP: that means your binding isn't working correctly. Jul 03 19:13:01 you doubt my javascript ninja skills! Jul 03 19:13:05 really...crap Jul 03 19:13:14 what's the main cause of the lag in webos outside of multitasking? Jul 03 19:13:30 you're resetting the widget model to a this.myModel where "this" is different than in the original "this.myModel" Jul 03 19:13:59 techrush: nah, we just hate competent competition. Jul 03 19:14:05 truth Jul 03 19:14:08 hehe Jul 03 19:14:10 might put us amateurs out of business Jul 03 19:18:46 lul Jul 03 19:21:00 hello pplz Jul 03 19:21:13 Anyone have a specific clue what DOM Exception 17 means? Jul 03 19:21:36 sugardave in your db.js is update function the same as 'add' Jul 03 19:31:49 so whats the deal with 1.4.5 for sprint users? Jul 03 19:34:49 hi Jul 03 19:35:28 I develop a pdk app (navit) which needs to write to /media/internal. this doesn't work since webos 1.4.5 Jul 03 19:36:28 looking at /media/internal shows, that only root can write, also changing the mount options for /media/internal so that everyone can write "fixes" the problem for me. Jul 03 19:37:28 so the question is: did the update go wrong on my device or do I need to do some special pdl-call to get write-access? Jul 03 19:38:38 I dont have a clue, but navit is available on webOS? Jul 03 19:38:47 how do I install it? Jul 03 19:39:21 noradtux: No, they locked it down Jul 03 19:39:42 noradtux: You can read from /media/internal and write to your appdata directory in /media/internal Jul 03 19:42:35 you can write to any arbitrary directory under /media/internal as far as I know Jul 03 19:43:10 or make downloadmanager do it, is more accurate Jul 03 19:56:20 hey I have a serious problem with my sdk Jul 03 19:56:32 anytime I try to use novaterm Jul 03 19:56:36 it restarts my macbook Jul 03 19:56:46 that sounds amusing Jul 03 19:56:53 any time at all ? Jul 03 19:56:54 haha it does doesn't it? :P Jul 03 19:57:04 well it'll work once Jul 03 19:57:11 then when I close the connection Jul 03 19:57:18 it'll just reboot the mac, not even kp or anything Jul 03 19:57:32 that does sound a bit weird Jul 03 19:57:41 anything in any leftover logs you can figure out Jul 03 19:57:42 ? Jul 03 19:58:07 i checked the console Jul 03 19:58:11 absolutely nothing Jul 03 19:59:52 :( Jul 03 19:59:57 i think ill just use ssh for now Jul 03 20:00:04 probably a good idea Jul 03 20:00:12 but you should post to the official Palm foruma Jul 03 20:00:14 forums Jul 03 20:00:28 alright Jul 03 20:00:30 see what happens Jul 03 20:00:51 it's happened twice today so its not a coincidence Jul 03 20:01:06 just be concise in your description of the problem Jul 03 20:01:40 yea Jul 03 20:01:57 obtw bpadalino : do you use ares ide much? Jul 03 20:02:41 never Jul 03 20:06:12 haha okay Jul 03 20:08:00 sorry Jul 03 20:08:07 no its all good Jul 03 20:08:29 just coming from iphone development, I'm learning webOS Jul 03 20:08:38 understandable Jul 03 20:08:39 and not enjoying the ares ide :P Jul 03 20:08:42 heh Jul 03 20:08:44 i am sorry Jul 03 20:08:44 Aurash: navit is available in the git-repository of webos-internals. We are currently working on getting it into a preware-feed Jul 03 20:09:10 Amaranth: I cannot write into "my" appdata-dir Jul 03 20:09:10 interface builder was pretty neat when i was futzing around with it Jul 03 20:09:22 yea it's awesome!, ares is nice too Jul 03 20:09:27 i haven't played with ares, but what are your gripes with ares ? Jul 03 20:09:35 just don't understand why you can't position things properly Jul 03 20:09:50 ie drag a button to another spot Jul 03 20:11:03 wait.. iOS4 has a bug that displays too many bars? are you kidding me? Jul 03 20:11:12 lol! Jul 03 20:11:12 are people actually buying that bs? Jul 03 20:11:55 apple is used to changing public perception of things .. so it's a simple software fix to change the laws of physics Jul 03 20:12:06 everything is easy for Lord Jobs ;P Jul 03 20:12:19 they also stated the bug existed in previous iphones.. Jul 03 20:12:34 http://mashable.com/2010/07/02/apple-admits-iphone-4-issue/ Jul 03 20:12:36 well if its a software bug then obv Jul 03 20:12:58 they claim it was showing incorrect bars in weak signal areas Jul 03 20:13:14 which is silly anyway Jul 03 20:13:22 so holding the phone wrong has no effect on the signal quality, its a software bug displaying the wrong information Jul 03 20:13:33 which was too, silly Jul 03 20:14:33 ars had some dBm numbers .. and 23dBm droppage due to holding the antennas seemed about right Jul 03 20:16:09 yeah Jul 03 20:16:38 gruber had a nice article Jul 03 20:16:48 is he the daring fireball guy ? Jul 03 20:17:24 http://daringfireball.net/2010/07/translation_iphone_4 Jul 03 20:17:25 yea Jul 03 20:17:26 pretty jokes Jul 03 20:18:10 the daring fireball guy is decent .. the roughly drafted guy i can't stand Jul 03 20:19:46 yep Jul 03 20:19:52 tried it again same thing Jul 03 20:19:55 instant reboot Jul 03 20:21:01 did you uninstall previous version before installing the newest/ Jul 03 20:21:13 yea Jul 03 20:21:14 is your system up to date? Jul 03 20:21:16 maybe ill do it again Jul 03 20:21:21 yes system is up to date Jul 03 20:21:30 newest virtualbox? Jul 03 20:21:32 its literally the strangest thing Jul 03 20:21:34 yep Jul 03 20:21:41 no idea then Jul 03 20:21:45 lol Jul 03 20:21:45 did you check the system logs? Jul 03 20:21:52 nothing recorded Jul 03 20:22:00 just a blank time period between shutdown and reboot Jul 03 20:22:01 something is always recorded Jul 03 20:22:05 nope Jul 03 20:22:10 unless palm has some specific log Jul 03 20:22:49 there's no kp, so afaik nothing is logged Jul 03 20:23:13 odd Jul 03 20:24:31 it's a sign Jul 03 20:24:42 2012 coming early? :O Jul 03 20:25:16 run away .. run away!!! Jul 03 20:30:15 :O is flash player available for webos? Jul 03 20:31:39 not yet Jul 03 20:31:43 as far as i know Jul 03 20:31:46 awh Jul 03 20:31:52 i was looking forward to that :P Jul 03 20:32:07 soon enough i think adobe was saying Jul 03 20:32:18 oh well im getting my pre shortly Jul 03 20:32:25 and then hp's phone Jul 03 20:55:08 how strange... i have a button with my overriden class.. when its on the main scene it works fine.. i put it inside a group and it doesn't see the .selected part of the class Jul 03 21:08:55 what are my options for syncing my pixi with ubuntu ? Jul 03 21:12:27 webOS syncs everything in the cloud Jul 03 21:12:48 there got to be a way to say sync your google calendar with your calendar app in ubuntu Jul 03 21:14:19 ok Jul 03 21:56:31 EmmettLollis: maybe its got a .selected class for that group so its overriding yours? Jul 03 21:56:50 the group itself? Jul 03 21:57:33 hmm Jul 03 21:57:34 open it up in inspector and see what style it has inside the group Jul 03 21:57:47 good idea Jul 03 21:58:32 im debating making the point counter in my coke rewards app animated, think its worth it? Jul 03 21:58:46 if you've got the time go for it Jul 03 22:00:56 hmm, i created a new group and put my button in it... works fine Jul 03 22:01:04 lol Jul 03 22:01:26 maybe it has something to do with the other group being in a collapsible Jul 03 22:01:37 i dunno if people would notice or care that the counter is animated Jul 03 22:01:50 yeah thats why i said maybe theres a .selected overriding yours Jul 03 22:02:54 ok i dragged the new group inside the collapsible... still working Jul 03 22:03:02 i think it's just messing with me Jul 03 22:03:05 how odd Jul 03 22:03:26 i hate theres a holiday.. means the update to my MCR app wont hit for awhile Jul 03 22:03:38 just means more complaints in the reviews Jul 03 22:03:47 yeah, i was trying really hard to get my app out on friday Jul 03 22:03:55 then i saw the checklist :( Jul 03 22:04:07 checklist? Jul 03 22:04:09 lol Jul 03 22:04:22 i don think they even adhere to that anymore Jul 03 22:04:33 oh really? Jul 03 22:04:36 ive seen plenty of apps without edit or help app menu items Jul 03 22:04:48 that was one of the changed i made Jul 03 22:04:51 my first app got rejected cause of that, but i dont think they're being so picky anymore Jul 03 22:05:01 that, transitions and .selected Jul 03 22:05:20 oh well, if it makes my app look better i guess it's ok Jul 03 22:05:33 presentation is always a good thing to get right Jul 03 22:06:00 i wonder if the name of my button was throwing something off Jul 03 22:06:35 MCR is my first app to not use any webOS UI elements, and i think it looks great because it looks like time was spent making the UI rather than just using generic buttons Jul 03 22:06:56 true Jul 03 22:07:34 and since its all 'custom' i was able to make it pixi compatible just by making a pixi specific stylesheet to move things around to fit on the shorter screen Jul 03 22:08:09 nice Jul 03 22:08:22 i figured out how to auto scale my groups to fit the screen Jul 03 22:09:24 ive been seriously thinking about redoing my first app from scratch, was my first major project using JS so its messy altho it works Jul 03 22:09:38 hey JenP Jul 03 22:09:53 Hi dawm! Jul 03 22:11:06 i wish i could nail down this distance calculation so i can prevent gps profiles from overlapping, giving me a headache ;p Jul 03 22:11:56 aha! its the row messing me up Jul 03 22:12:20 somehow i had the icon outside of the row and it worked Jul 03 22:12:47 i bet theres a .selected for the row Jul 03 22:13:06 anyway to fix that? Jul 03 22:13:19 make a .selected specific Jul 03 22:13:32 i think .button.selected rather than .button .selected Jul 03 22:14:35 .meals-icon .palm-button.selected { Jul 03 22:14:40 thats how i had it Jul 03 22:14:59 maybe try a space Jul 03 22:15:05 ok Jul 03 22:15:06 .palm-button .selected Jul 03 22:15:15 those to syntax's still confuse me Jul 03 22:15:17 two Jul 03 22:16:20 hmm nope Jul 03 22:17:28 just check with palm-inspector what classes there are and get some basic knowledge on css Jul 03 22:17:56 you may need a more specific selector to override the actual one Jul 03 22:18:34 sounds right Jul 03 22:20:34 got it... set the group positioning to absolute and ignore the row alltogether Jul 03 22:22:40 now i should drink a pint of vodka to celebrate Jul 03 22:23:04 lol Jul 03 22:23:41 next time if i'm trying something that doesn't work in my app i'm going to use the sample app for testing Jul 03 22:31:32 omg the emulator is totally dragging my system down.. infact its booting up like an actual device.. Jul 03 22:32:32 my emulator goes slow like that Jul 03 22:32:43 and i'm running an i7 Jul 03 22:33:11 i figured they slowed it down on purpose Jul 03 22:33:16 i hate working on stuff on my mbair, but im too alzy to sit at the desk and use the pc Jul 03 22:33:36 i dont even own a laptop Jul 03 22:33:51 would like to have one for storm chasing though Jul 03 22:33:58 oh man.. my ringtone app is sooo not pixi compatible heh gonna have to redo some stuff i guess Jul 03 22:44:30 hrm.. i wonder how we can specific a pixi specific splash screen Jul 03 22:44:38 yeah i need to make the hurricane tracker pixi-worthy Jul 03 22:45:15 my emulator finally showed a splash screen and since it was a pre sshot, it got shrunk vertically on the pixi emu Jul 03 22:45:31 so it looked odd Jul 03 22:45:34 i bet Jul 03 22:46:23 can you just make a 400px high splash image and show it centered vertical? Jul 03 22:46:46 have the background color match whatever color you have in the splash Jul 03 22:47:56 then it would look weird on the pre Jul 03 22:48:14 ill have to peak at the stock apps Jul 03 22:49:14 i see in the email app theres nothing specific in the appinfo.json Jul 03 22:49:38 but there is a folder called platforms/pixie/images that has the splash images Jul 03 22:49:44 i wonder if the OS looks there Jul 03 22:49:49 cool Jul 03 22:50:40 i wish they would stop calling it pixie heh Jul 03 22:51:10 hrm.. Jul 03 22:51:20 theres also platforms/pixie/stylesheets Jul 03 22:59:09 lemme see if having files in those folders actually work Jul 03 22:59:10 blaaaargh Jul 03 22:59:30 phone's been stuck on 125 mhz Jul 03 22:59:41 lol Jul 03 23:02:06 can we can timecoe calculator as hottest app Jul 03 23:02:11 I don't even know what a timecode is :( Jul 03 23:05:22 any f105 users on? Jul 03 23:07:23 what does compache memlimit mean? Jul 03 23:09:06 so yah having those actual folders dont do anything as far as pixi/pre compat.. but they're in all the refcode stock apps.. maybe doesnt work on the emulator? Jul 03 23:09:30 possible Jul 03 23:09:44 would be interested in knowing when you figure it out Jul 03 23:10:02 Ok this comes back as successful. But the data never updates. I have no idea why? http://pastebin.com/zUmS8eag Jul 03 23:11:08 i think it returns successfully if no data is returned Jul 03 23:11:18 check the contents Jul 03 23:11:21 dammit. Jul 03 23:11:39 i think i heard someone in here complaining about that one day Jul 03 23:11:42 i could be wrong tho Jul 03 23:11:43 if i do that command in putty it changes the value... Jul 03 23:12:40 what is index Jul 03 23:13:01 i dont see it being passed Jul 03 23:13:11 so your where statement is flawed Jul 03 23:13:20 var x = parseInt(index); Jul 03 23:13:28 whats index, and where did it come form Jul 03 23:13:39 everything else is set from this.* Jul 03 23:17:28 oh index comes from the list tap item Jul 03 23:17:43 yeah but how does it get there Jul 03 23:17:54 bind? Jul 03 23:18:05 oh...sorry i put it in a cookie and retrieve it Jul 03 23:18:27 but in that function its a new empty var Jul 03 23:18:49 oh good point...let me change that Jul 03 23:18:57 mojo log the value of x Jul 03 23:19:01 i bet its null Jul 03 23:19:38 nope not null Jul 03 23:19:47 it reflects the id # correctly Jul 03 23:19:53 darn Jul 03 23:20:13 oh wait Jul 03 23:20:26 remove the spaces after the ='s Jul 03 23:20:40 that makes a difference? Jul 03 23:20:45 it has for me before Jul 03 23:22:31 nope Jul 03 23:22:39 well i give up ;p Jul 03 23:24:55 sigh...me too Jul 03 23:26:01 ugh sql quotes Jul 03 23:26:13 they make me tired Jul 03 23:26:40 I feel ur pain JenP Jul 03 23:27:00 BigBiff_pre Hi! yeah I'm so NOT happy right now Jul 03 23:28:41 interesting Jul 03 23:28:42 http://www.stonetrip.com/mobile-publishing.html Jul 03 23:28:48 theres a Pre in that image.. Jul 03 23:29:42 grr... why doesn't this work Jul 03 23:30:00 whats not working? Jul 03 23:30:10 sql update function Jul 03 23:30:21 whats the statement look like? Jul 03 23:30:50 http://pastebin.com/nCtCsWAv Jul 03 23:31:26 oh there is an = aferter card_mopay Jul 03 23:31:31 one sec let me update it Jul 03 23:31:41 so single and double quotes not needed for x? Jul 03 23:31:54 (im still learning) Jul 03 23:32:00 http://pastebin.com/q4V50Vp9 Jul 03 23:32:13 would it be? idk Jul 03 23:32:20 but i'll put them and see what happens Jul 03 23:32:33 o idk, I'm asking Jul 03 23:32:35 i dont think you need the GO Jul 03 23:32:45 :) Jul 03 23:32:50 i've tried it with and without Jul 03 23:33:00 i'm not using the GO; in mine Jul 03 23:33:34 or the ; Jul 03 23:33:44 ok it doesn't like the single quotes around the id Jul 03 23:34:32 is it working now? Jul 03 23:34:46 nope Jul 03 23:34:54 tx.executeSql("update tbl_totals set calories = ?, carbs = ? where date = ?", [recCals, recCarbs, recDate] Jul 03 23:34:55 no, I broke it further Jul 03 23:35:06 thats what my update looks like if that helps Jul 03 23:35:26 smiles.... Jul 03 23:35:40 EmmettLollis: can we come stay in OK and go storm chasing w/ you? Jul 03 23:35:59 only if you sign a release for loss of life Jul 03 23:36:10 haeffb! can you look at my pastebin and tell me what i did wrong? Jul 03 23:36:49 done. Jul 03 23:37:26 I agree, where does index come from? Jul 03 23:37:35 a cookie i bring over Jul 03 23:37:43 it comes over correctly Jul 03 23:38:12 you have index as a global var? Jul 03 23:38:28 I don't use the ' single quotes in my SQL Jul 03 23:38:30 yes Jul 03 23:39:09 what happens when u run this? Jul 03 23:39:23 it saids it's successful but the data never changes Jul 03 23:39:38 where are you reading the data? Jul 03 23:39:51 & u use the same SQL in putty & it works? Jul 03 23:40:10 yes Jul 03 23:40:29 are you reading it from your dbSuccess? Jul 03 23:40:42 reading what? Jul 03 23:40:46 if not there may not be enough time for it to update before you're reading it Jul 03 23:40:53 reading the data that you updated Jul 03 23:41:09 oh yeah i'm also double checking in putty to see if there is a change Jul 03 23:43:38 ok when i took the quotes away it saids i have a syntax error Jul 03 23:44:00 in putty? Jul 03 23:44:23 no from command log Jul 03 23:45:06 ok here's a question...do i have to uninstall and reinstall everytime i make a change to the dB? Jul 03 23:45:18 what sort of change? Jul 03 23:45:26 updating data Jul 03 23:45:39 like changing the number of columns in a table? Jul 03 23:45:44 no Jul 03 23:45:55 just the data inside a table Jul 03 23:46:00 no Jul 03 23:46:54 try this: Mojo.Log.error("---------------> GOT sql success <---------------- %j", results ); Jul 03 23:47:03 kk Jul 03 23:47:27 you don't need the .bind(this) on the functions here... you're not using any methods/properties of "this" Jul 03 23:47:58 kk Jul 03 23:49:09 try this... http://pastebin.com/vrAHtquU Jul 03 23:49:46 kk Jul 03 23:49:59 EmmettLollis: wife loves storms...she wants to chase them Jul 03 23:50:11 yeah, i love them too Jul 03 23:50:36 sadly i'm too broke to chase outside of 50 miles Jul 03 23:50:43 normally 20 Jul 03 23:50:47 seriously, if we spend a week in OK sometime, you come with? Jul 03 23:51:04 if i'm able to get away i'd love to Jul 03 23:51:07 EmmettLollis do i change tbl_totals to my table name? Jul 03 23:51:13 oops yes Jul 03 23:51:14 lol Jul 03 23:51:29 damn copy/paste Jul 03 23:51:30 kk wasn't sure if it was an sql magic table Jul 03 23:51:44 heh Jul 03 23:53:00 whoa Jul 03 23:53:10 this room's looking weird in wirc Jul 03 23:53:23 oh wait no Jul 03 23:53:43 somebody's name is a shade of gray that's almost the exact same color as the background Jul 03 23:53:55 can the PDK plugin to visual studio or is it eclipse only? Jul 03 23:54:24 there is a way to make it work with VS, i think the instructions are around somewhere on palms website Jul 03 23:54:48 GOT sql error {"message": "near \"card_int\": syntax error", "code": 1} Jul 03 23:54:50 zsoc!!! how's things in hungary? Jul 03 23:55:12 haeffb: small Jul 03 23:55:16 needs commas. Jul 03 23:55:27 so I've heard... Jul 03 23:55:32 commas are good for you generally Jul 03 23:55:46 commas are underrated Jul 03 23:55:47 haeffb: in my country there is problem, that problem is transport. Jul 03 23:55:49 oops i forgot them Jul 03 23:55:58 kk adding them Jul 03 23:56:07 haeffb: it take very very long.. because hungary is big. Jul 03 23:57:14 wow never seen this before: Uncaught Error: INVALID_ACCESS_ERR: DOM Exception 15, InstallPrototypeBuiltIn:126 Jul 03 23:58:14 nice, i broke your code in ways i haven't broken mine before Jul 03 23:58:22 LOL Jul 03 23:58:56 http://pastebin.com/Gbf32EVP Jul 03 23:59:04 heres what it looks like Jul 04 00:01:16 i'm wondering if popping the scene is destroying some data it needs Jul 04 00:01:30 generally the sql will execute a few seconds late Jul 04 00:01:45 i had a LOT of trouble with that Jul 04 00:01:55 hmmm is there a better way to get back then popScene? Jul 04 00:02:06 do i need to add a timer ? Jul 04 00:02:22 i didn't have much luck with timers Jul 04 00:02:23 pass your information in the popscene Jul 04 00:02:33 ? Jul 04 00:02:53 heh lemme open up some of my src Jul 04 00:03:19 thanks Jul 04 00:04:04 i'm not sure if thats the cause of the DOM error but it could definately hurt the SQL Jul 04 00:04:13 popScene(popOptions,yourVar,yourVar2) Jul 04 00:04:32 popOptions would be {name: 'scenename',transition: ..etc} Jul 04 00:04:47 and then in the scene your passing info into Jul 04 00:05:01 function MySceneAssistant(var1,var2) Jul 04 00:05:08 I've never seen that done before. Jul 04 00:05:19 i can write up a quick pastie if you want Jul 04 00:05:24 please Jul 04 00:05:27 i think i did that in my app somewhere Jul 04 00:05:38 give me a minute Jul 04 00:09:39 JenP: as long as your app doesn't close, it doesn't matter if you close the scene before the db transaction completes Jul 04 00:10:04 hmmm ok Jul 04 00:10:49 i'm up to 1,537 lines of code not counting the ares gui stuff Jul 04 00:11:21 ok now no matter what i do i get that weird DOM error Jul 04 00:11:44 now this isnt tested, but it should work unless theres a typo somewhere Jul 04 00:11:45 http://pastie.org/1029684 Jul 04 00:11:51 gives you the basic idea Jul 04 00:11:54 it sounds like its trying to access something thats not there Jul 04 00:12:01 k thanks Jul 04 00:12:09 you pass your vars thru the popScene/pushScene as the 2nd or 3rd or 4th..etc vars Jul 04 00:12:26 then use the vars in your sceneAssistant defining function Jul 04 00:12:36 EmmettLollis: amateur. I have 1500 lines in one assistant. Jul 04 00:12:47 ill see if i can find some documentation links for ya Jul 04 00:13:21 haeffb.. some of my old projects had 50k+ lines of code Jul 04 00:13:49 dawm|laptop: parameters from popScene are available in activate() of the underlying scene Jul 04 00:14:02 * haeffb <-- amateur... Jul 04 00:14:06 ive never used them there Jul 04 00:14:13 ive always taken them from the initial function Jul 04 00:14:21 pushScene are in the constructor Jul 04 00:14:27 popScene are in activate() Jul 04 00:14:31 ahh ok Jul 04 00:14:47 gotcha Jul 04 00:14:59 Removes a scene from the scene stack, passing the return value to the newly revealed scene's activate method. Note that this is an asynchronous operation. Jul 04 00:15:12 because on popScene, the underlying scene's constructor doesn't run Jul 04 00:16:03 anyone messed with oAuth or some sort of authentication on WebOS? Jul 04 00:16:08 oh gotcha Jul 04 00:16:14 popScene is different Jul 04 00:16:35 popScene(passedVars,popSceneOptions) Jul 04 00:17:04 zsoc: hungary is smaller than Texas. Texas doesn't have a transportation problem. You're not trying hard enough. Jul 04 00:17:57 and pushScene is pushScene(pushSceneOptions,passedVar,passedVars,passedVar3..etc) Jul 04 00:18:13 well look at that i learneded something Jul 04 00:20:23 they really should have kept it consistant heh Jul 04 00:22:22 strange.. part of my css code doesn't work from the stylesheet.. only in the ?-chrome.html Jul 04 00:23:03 ugh is there a place that has "DOM Exception 15" documented? Jul 04 00:23:11 sort of Jul 04 00:23:26 http://www.cafeconleche.org/books/xmljava/chapters/ch09s10.html - but it sucks Jul 04 00:23:40 15 is invalid access error Jul 04 00:23:41 smiles...thanks Jul 04 00:23:52 http://kobesearch.cpan.org/htdocs/HTML-DOM/HTML/DOM/Exception.pm.html#INVALID_ACCESS_ERR_15 Jul 04 00:23:57 better Jul 04 00:24:04 which means If a parameter or an operation is not supported by the underlying object Jul 04 00:25:08 in otherwords your trying to do something thats not valid Jul 04 00:25:45 smiles...caught that Jul 04 00:26:30 jen heh Jul 04 00:26:39 look at the last .bind(this)); Jul 04 00:26:42 JenP: stop doing invalid stuff Jul 04 00:26:44 remove the ; Jul 04 00:27:09 LOL Jul 04 00:27:16 actually the ); Jul 04 00:27:21 i think Jul 04 00:27:37 and throw a ; at the }) Jul 04 00:29:31 you also want quotes around the data in the sql or escape the data for notes, just incase theres quotes, ='s or spaces init Jul 04 00:29:50 nodnod Jul 04 00:30:15 but i think that misplaced ; was your problem Jul 04 00:32:43 i wonder who likes the sanjose sharks Jul 04 00:32:49 is there something i can look for to tell that someone is flicking my app off the screen?... i thought it would be cleanup() but aparently i'm wrong Jul 04 00:33:08 cleanup is fired after its flicked off Jul 04 00:33:23 hmm, i must be doing something else wrong Jul 04 00:33:26 i believe deactivate is fired when its minimized (card sized) Jul 04 00:34:54 scene.deactivate() then scene.cleanup() Jul 04 00:35:01 & stage. Jul 04 00:35:12 & app. Jul 04 00:35:54 but you can't do any async stuff in deactivate() or cleanup() because the app will close before they're done Jul 04 00:36:02 i'm calling saveRecord on cleanup Jul 04 00:36:23 then how am i supposed to save data when they close? Jul 04 00:36:30 dawm|laptop can you take a look if i did this right? http://pastebin.com/aBV9cVPD Jul 04 00:36:31 save when its changed Jul 04 00:36:37 i do that Jul 04 00:36:37 i'm still getting the error Jul 04 00:37:26 remove the ) on the end of bind(this)) Jul 04 00:37:31 and remove the } from }); Jul 04 00:37:44 er wait Jul 04 00:37:45 hold on Jul 04 00:37:50 in my situation they are editing the last field (textField).. hit the minimize and flick off screen... since they haven't commited the text field by hitting enter/back there is nothing to save Jul 04 00:38:03 i cant read it write unless its in my editor ;p Jul 04 00:38:31 smiles Jul 04 00:39:19 so my mojo.getValue is returning nothing Jul 04 00:39:28 although there is actually text in there Jul 04 00:40:02 well if they are tossing the card away thats their fault Jul 04 00:40:13 they should be doing a back gesture Jul 04 00:40:20 then you could save within deactivate/cleanup Jul 04 00:40:35 was just going through the checklist that says any changes have to be saved when app is exited Jul 04 00:41:05 i have the save in my cleanup... however mojo.getValue returns nothing since they haven't commited the field Jul 04 00:41:25 is there a mojo.getText? Jul 04 00:41:57 bbl gotta run errands Jul 04 00:42:41 cya jen Jul 04 00:45:17 like i said if the user is tossing the card away in the middle of editing they are basically tossing away that unsaved data willingly Jul 04 00:45:48 true Jul 04 00:45:59 so they wont reject my app over it? Jul 04 00:46:09 otherwise your only option is to constantly update the stored data as the textbox value changes Jul 04 00:46:31 i wouldnt think so Jul 04 00:46:32 yeah, that would be a little heavy on the db Jul 04 00:46:38 EmmettLollis: save on every propertyChange in the textWidget Jul 04 00:47:00 dawm|laptop: wrong Jul 04 00:47:04 but that will save every character typed Jul 04 00:47:12 yep Jul 04 00:47:15 so? Jul 04 00:47:20 haeffb: they've been ignoring the 'requirement' of having edit and help app menu items on every scene Jul 04 00:47:32 haeffb: say hes storing the data remotely Jul 04 00:47:40 thats alot of calls and traffic Jul 04 00:47:50 don't save remotely, save to the device Jul 04 00:48:07 lol Jul 04 00:48:21 i say if they toss the card, they're basically alt-f4'ing the app Jul 04 00:48:31 unsaved data be gone Jul 04 00:48:37 users will complain if their data is lost. trust me. Jul 04 00:48:52 * haeffb been there, done that Jul 04 00:48:52 i am saving on every onChange Jul 04 00:49:15 or you can see how the email app handles it Jul 04 00:49:20 * haeffb saves to a cookie. then to db. Jul 04 00:49:49 then in the db.onSuccess, delete the cookie. Jul 04 00:49:51 onChange only gets called when they tap off the field or hit enter Jul 04 00:50:07 EmmettLollis: do propertyChange Jul 04 00:50:09 then on app.launch, check to see if the cookie is there, Jul 04 00:50:18 & if so, save the cookie to db... Jul 04 00:51:19 the email app just saves the data from cleanup Jul 04 00:53:30 * haeffb saving on every propertyChanged event Jul 04 00:54:06 because I've had the customers who can't figure out "why my data isn't saved" Jul 04 00:54:32 when they flick the "add data" card away Jul 04 00:56:21 i guess i have to save the users pw in my coke cap code app.. they keep asking for it Jul 04 00:57:06 i have a list widget. i want to put two textfields in each item (& have their models be accessible). is this possible? Jul 04 00:59:38 should be Jul 04 00:59:52 i dont know anything about lists tho, my only usage was stolen from the alarm app ;p Jul 04 01:00:43 there's a nice example on how to put checkboxes in list items. i know how to do list items with 1 textbox. Jul 04 01:01:11 i just don't know how to go about doing 2 widgets. Jul 04 01:03:49 link to the example? Jul 04 01:04:15 http://webos101.com/List_Widget_With_Checkbox_Example Jul 04 01:04:32 ACarback: Jul 04 01:04:39 yes, you can do that. Jul 04 01:05:00 but each widget needs a separate modelProperty in the list model Jul 04 01:05:22 just duplicate models and setupwidget calls with unique names Jul 04 01:06:29 you need to set each TextField's modelProperty in attributes to some property in the list's model Jul 04 01:07:20 Hey guys, what's the code for locking screen orientation? Jul 04 01:07:29 okay. i'll try that . Jul 04 01:07:35 locking? Jul 04 01:07:42 yea so it doesn't rotate Jul 04 01:08:05 it shouldn't rotate unless you allow it... ? Jul 04 01:08:13 ... erm no. Jul 04 01:08:30 When I launch my app and move the pre around it rotates the scene Jul 04 01:08:34 accordingly\ Jul 04 01:08:42 if you have this line remove it... this.controller.setWindowOrientation("free"); Jul 04 01:08:44 this.controller.stageController.setWindowOrientation("free"); Jul 04 01:09:09 I'm using ares so I think its automaticly put in there somewhere but I can't find it Jul 04 01:09:17 stage assistant Jul 04 01:09:24 ah found it Jul 04 01:09:25 this.controller.stageController.setWindowOrientation("up"); Jul 04 01:09:28 :P <3 Jul 04 01:09:46 up as apposed to what? Jul 04 01:09:50 left right down? Jul 04 01:09:55 "free" Jul 04 01:10:06 look at docs... Jul 04 01:10:21 if you take the line out it defaults to portrait Jul 04 01:10:39 I tried that, cant seem to get google to give up any information on webos easily. Jul 04 01:13:08 docs are http://developer.palm.com/index.php?option=com_content&view=article&id=1872&Itemid=244#.setWindowOrientation ... does "up" work like haeffb said? Jul 04 01:13:38 Yea I fluked a "left" and it worked, although now my character doesn't move around the screen for some strange reason.... Jul 04 01:13:57 oh.. nvm :P just didnt randomize for a while Jul 04 01:14:10 https://developer.palm.com/index.php?option=com_content&view=article&id=1872&Itemid=244#.setWindowOrientation Jul 04 01:14:19 thanks for the doc ill check it out Jul 04 01:14:20 up, down, left, right or free Jul 04 01:14:42 * haeffb slow Jul 04 01:14:57 its so darn tempting to ask someone a question rather than RTFM :P Jul 04 01:15:22 true, but rtfm often gives a better answer... :) Jul 04 01:15:27 I always try google first but I get garbage most times when googling webos stuff Jul 04 01:18:43 yeah Jul 04 01:18:49 google is worthless sometimes Jul 04 01:25:54 holy friggen crap.. emulator totally lags my whole system Jul 04 01:26:18 i cant do anything and i closed it already Jul 04 01:28:42 I downloaded 1.4.5 sdk and the recommended version of Emu 3.2 and it instantly closes after loading the command prompt Jul 04 01:29:31 I can't "debug" with breakpoints and such in Ares on the phone, and I can't get the emu working so I have to output variables to an onscreen label. working not too bad for now :P Jul 04 01:32:11 nice Jul 04 01:32:20 whatever works heh Jul 04 01:32:28 I have a bad habit of biting my nails while programming, especially when I'm thinking about how to code something... by the end of the nite I have nothing left :/ Jul 04 01:32:37 ditto Jul 04 01:32:41 rofl Jul 04 01:34:45 ive never had so much lag with the emu on this sytem until today Jul 04 01:34:50 its crazy lag :( Jul 04 01:34:52 Anivrom: did you completely remove the old Virtual Box? Jul 04 01:35:28 Well there wasn't a VB on here in the first place. This is my wifes laptop that I brought to the inlaws for the day so I could continue my "flow" Jul 04 01:37:09 u using windows 7? Jul 04 01:37:28 windows 7 64 bit Jul 04 01:37:36 k same here Jul 04 01:38:21 do you have Java SE Runtime Installed? Jul 04 01:38:31 I downloaded w/e java they told me to Jul 04 01:38:49 and the screen is too fast to read the message Jul 04 01:38:58 even when spamming the .bat file :P Jul 04 01:40:02 in the cmd prompt does "palm-generate" print anything out? Jul 04 01:40:24 what command promt Jul 04 01:40:48 I'm using ares to develop Jul 04 01:43:41 Anivrom: have not used ares =( Jul 04 01:43:56 That seems the be the general reply from folks around here :P Jul 04 01:44:08 Looks like I'm a maverick. Jul 04 01:44:57 I much prefer driving with the headlights ON a.k.a Gui development :P Due to my general lack of html / css skills Jul 04 01:45:07 fudge Jul 04 01:45:12 Anivrom: did you install VB in the following "C:\Program Files\Palm" Jul 04 01:45:35 prolly not :P I just installed it whereever it defaulted to. Never thought it would make a difference Jul 04 01:45:39 i wish you could immediately reject an app thats been submitted.. Jul 04 01:45:44 I launch it from my desktop Jul 04 01:45:56 requesting rejection never seems to work for me and since its the weekend its not gonna get rejected for awhile Jul 04 01:46:49 Anivrom: can u launch the emulator manually? Jul 04 01:47:38 Thats what im doing, launching the .bat from within the sdk folder Jul 04 01:53:02 Man my phone runs so hot. It hit 55 degrees while downloading super k.o 2 on wifi yesterday and then 53 while listening to a radio station in my car Jul 04 01:53:09 Wonder if thats "normal" Jul 04 01:53:14 and that's cpu temps not batt Jul 04 01:53:41 without OC Jul 04 01:53:42 Anivrom: I am sure there is something wrong with the Path Jul 04 01:53:53 man i totally wish i had this app idea back at the beginning of the hot apps contest.. the downloads keep coming and the comments keep rolling in ;P Jul 04 01:54:05 which one's that dawm Jul 04 01:54:15 My Coke Rewards Jul 04 01:54:42 ah yea I checked it out today on preware, good gui for sure. I don't do coke points but if I did I would be downloading :P Jul 04 01:54:54 its in the app catalog now Jul 04 01:54:57 ;P Jul 04 01:55:01 Does your Win7 installation have "C:\Program Files\" and "C:\Program Files (x86)\" Jul 04 01:55:05 I know, that\s where I checked it out Jul 04 01:55:10 i dont ever drink coke.. i love my mtn dew Jul 04 01:55:26 LoneStar99: yes Jul 04 01:55:35 was a precentral forum app request Jul 04 01:55:52 i really wish they had a better option for replying to reviews for the developer Jul 04 01:55:52 where is your install now? "C:\Program Files (x86)\Palm\SDK\bin" ? Jul 04 01:56:04 completely widgets or custom classes in there? Jul 04 01:56:08 looks stupid having my review as <-- DEVELOPER .. yadda yadda Jul 04 01:56:29 Um the sdk folder is on the desktop.. Jul 04 01:56:42 and I click on the emulator.bat or w/e from inside there. Jul 04 01:57:16 Anivrom: talking to me about widgets? Jul 04 01:57:22 Yea lol complete giveaway Jul 04 01:57:24 Yea Jul 04 01:57:33 nope, only widget would be the spinners Jul 04 01:57:44 hmm so what did you use for the gui? Jul 04 01:58:05 textboxes are css styled input boxes and the buttons are custom divs with a bit of mojo action, but no real widgets or custom widgets Jul 04 01:58:49 so basically just images for the whole thing Jul 04 01:58:51 Anivrom: if yo installed the SDK on the Desktop, the Paths might be off Jul 04 01:58:55 yeah Jul 04 01:59:07 well you have some design skills then Jul 04 01:59:13 <---- graphic designer Jul 04 01:59:23 hmm Jul 04 01:59:28 the default buttons are too bulky for my tastes ;p Jul 04 01:59:29 the sdk should be installed in "C:\Program Files\Palm\SDK\" Jul 04 01:59:30 LoneStar99: what should I do then Jul 04 02:00:35 uninstall the current installation, and reinstall with the default path Jul 04 02:00:50 yeah if i could make my website as nice as my apps id be set, im just too lazy to play with wordpress even tho i know php pretty darn well ;p Jul 04 02:00:54 that was the default path cause I didnt change the path during installation Jul 04 02:01:15 did you download the 64bit? Jul 04 02:01:19 Yea Jul 04 02:02:06 Anivrom: if you open windows explorer do you see "C:\Program Files\Palm\SDK\" in there? Jul 04 02:02:30 yea Jul 04 02:02:43 and running the palm emulator.bat file does the same thing Jul 04 02:04:38 Man precaching all stages of this pet for all directions and animations is so tedious. / Jul 04 02:04:39 in the command prompt "java -version" what does it print out? Jul 04 02:04:46 what the hell.. metrix says 103 installs of MCR 1.0.3 but 1.0.2 hasnt even been approved and 1.0.3 aint left my hdd, sounds like theres a metrix issue tonite Jul 04 02:05:08 LoneStar99: I don't see Java version bat Jul 04 02:06:16 Is image mirroring supported in canvas on webos? Jul 04 02:06:42 If so I could save alot of imaging/coding from left / right directions Jul 04 02:07:01 'java -version' in cmd prompt prints nothing? Jul 04 02:07:14 How do I get to command prompt... lets start there Jul 04 02:10:56 windows start menu -> "Search programs and files" -> type in "cmd" -> press enter Jul 04 02:11:11 yea I tried that it said no command Jul 04 02:11:37 windows key and the letter R Jul 04 02:11:38 not recognized as an internal or external command Jul 04 02:11:58 without "" just: cmd Jul 04 02:12:22 Yea I got that far.. I thought you were talking about a palm provided terminal or something Jul 04 02:12:39 no simple command prompt Jul 04 02:12:45 you have that oepn? Jul 04 02:12:52 > not recognized as an internal or external command Jul 04 02:13:04 theres novaterm but thats not included and only works if the emu is running Jul 04 02:14:28 Man my phone is hitting 51 celcius and I'm not doing anything but usb charging and opening my program for testing..... literally nothing is open... wondering if palm accepts overheating as a valid reason for getting a new phone Jul 04 02:14:47 lol Jul 04 02:14:57 :P Jul 04 02:17:32 I tried googling it but what does DOM Exception 17 mean? I get it about five times in the console when I start up my app, which runs fine even with the errors, and then it says game.js:145, I thought that was a line number at first but it points to a line of code that doesn't use any DOM I don't think Jul 04 02:18:51 you have an error at lin 145 of game.js ;p Jul 04 02:19:06 morning Jul 04 02:19:06 probably a miss placed ; or ) Jul 04 02:19:16 see how hot ur phone gets while using sprint nav / car charger for about 6 hours Jul 04 02:19:18 JSLint would find that... Jul 04 02:19:19 still not 1.4.5 love for the US, hey? Jul 04 02:19:32 all of my GSM devices have now got the update Jul 04 02:19:33 rwhitby: nope not yet Jul 04 02:19:41 rwhitbyNor canada Jul 04 02:19:42 kinda retarded if you ask me Jul 04 02:19:54 Anivrom: canada is just part of the US ;) Jul 04 02:20:19 well the updates follow the sun right? Jul 04 02:20:24 its the retarded cousin we keep in the attic Jul 04 02:20:28 rwhitby: you are correct my leige, I must bow to my lords of the south Jul 04 02:21:08 Anivrom: that comment comes from someone who's ultimate ruler lives in London Jul 04 02:21:42 ("that comment" == my comment) Jul 04 02:21:46 Once upon a time :P Jul 04 02:22:13 Anivrom: the monarch of australia is still the queen of england Jul 04 02:22:36 Error: cannot assign my comment to non-variable Jul 04 02:23:45 Anivrom: that was perl code. Jul 04 02:23:56 orly? they reverse the order? Jul 04 02:24:11 an inline conditional, testing equality of a string and an expression local variable value Jul 04 02:24:37 oops... nvm Jul 04 02:25:22 I'm still clinging to my Visual Basic roots of "=" is the comparision operator & assignment operator Jul 04 02:25:40 Hard to get used to the way EVERY other language uses those :P Jul 04 02:26:03 took me a bit to get used to + (JS) instead of . (php) Jul 04 02:31:16 dawm|laptop: Wait until you have to get used to asprintf instead :) Jul 04 02:32:03 That reminds me, I wonder if the PDK has snprintf Jul 04 02:36:34 You guys know what the canvas method is to horizontally flip an image prior to drawImage/ Jul 04 02:36:56 asprintf is the cause of too many memory leaks Jul 04 02:37:07 rwhitby: How do you figure? Jul 04 02:37:21 it allocates tiny bits of memory, right? Jul 04 02:37:30 and everyone forgets to free them Jul 04 02:37:36 DOM Exception 17 looks like TYPE_MISMATCH_ERR Jul 04 02:37:47 sugardave: it is Jul 04 02:38:01 sugardave: but whats the CAUSE, doesn't give me a line number I don't think Jul 04 02:38:06 It starts with a small size and doubles it every time sprintf wouldn't fit, or at least a naive implementation does Jul 04 02:38:14 rwhitby: In that case malloc causes memory leaks Jul 04 02:39:20 Amaranth: too many people use asprintf as if it was just sprintf, not realising a malloc is involved. Jul 04 02:42:13 Anivrom: it gave you the line number it was 145 if i recall on game.js Jul 04 02:42:21 its either at 145 or just above it Jul 04 02:42:27 I dont know if that was a line number Jul 04 02:42:30 it is Jul 04 02:42:46 ive seen that sort of error many times ;p Jul 04 02:43:06 Hmm its not producing any logs now... Jul 04 02:43:20 Either my code is perfect or its messed :P Jul 04 02:43:31 I would hope the former but expect the latter Jul 04 02:46:24 It meaning Ares :P Jul 04 02:47:13 Anyone know if they "fixed" or atleast improved GC in 1.4.5? Jul 04 02:48:08 supposidly its improved in each release ;p Jul 04 02:48:17 lol. **** ENDING LOGGING AT Sun Jul 04 02:59:57 2010