**** BEGIN LOGGING AT Thu Apr 15 02:59:56 2010 Apr 15 03:00:12 no thtas not it Apr 15 03:00:15 lemme open my src Apr 15 03:00:40 ok, thanks for the help :D Apr 15 03:01:01 this.controller.window.innerHeight would be the screen height (the whole screen) Apr 15 03:01:18 so this.controller.get('element_id').innerHeight would be whatever you specify Apr 15 03:01:20 such as a div Apr 15 03:01:27 cool, let me try that now Apr 15 03:01:52 it might just be for window. tho Apr 15 03:02:07 yeah its only for window Apr 15 03:02:21 yeah, undefined for the scroller Apr 15 03:02:35 offsetHeight Apr 15 03:02:36 try that Apr 15 03:02:58 this.controller.get('element_id').offsetHeight Apr 15 03:03:32 that seems to be the same as the regular height property for the scroller Apr 15 03:03:35 hmm... Apr 15 03:03:42 phone rebooted itself Apr 15 03:03:53 yes 6.1 Apr 15 03:04:10 scrollHeight maybe? Apr 15 03:04:42 u think it was my app or just one of those 1.4.1.1 reboots Apr 15 03:05:05 what i wanna know is... Apr 15 03:05:15 how can google maps (the app) grab GPS Apr 15 03:05:16 YES! Scrollheight works. Apr 15 03:05:23 when i cant even get GPS with ##GPS# Apr 15 03:05:40 Thanks for your help :D btw, doesn't google maps use the startTracking service? Apr 15 03:06:33 the google maps app pretty much doesnt do alot Apr 15 03:06:43 its jsut a webview Apr 15 03:37:37 How do you get the version number of the app that's currently running. I'd like to put that in an email so that when the app opens an email I can include what version of the app the user is running. There's gotta be a way to get it from the appinfo.json right? Apr 15 03:41:26 catalystmedia: Yes, you can. Apr 15 03:41:57 Do you know how? I have such trouble using search on the dev website (maybe it's just me?) Apr 15 03:45:33 Mojo.appInfo.*anything in the appinfo.json file Apr 15 03:45:41 Mojo.appInfo.id for example Apr 15 03:46:29 sorry, I didn't mean to leave you hanging like tht. Apr 15 03:46:39 I got called AFK before I could find it in my app. ;D Apr 15 03:46:55 fortunately tiwizard saved the day. Apr 15 03:47:18 ;) I don't think he knows that I posted the answer to his question Apr 15 03:47:46 catalystmedia: Your answer awaits! Apr 15 03:47:48 Thanks tiwizard! :D Apr 15 03:48:00 no problem Apr 15 03:48:13 Haha thank you! You're right I didn't. It didn't have my name in it so it didn't beep at me :p Apr 15 03:49:19 The upshot is you can get anything you put into your appinfo. And, you can put anything you want into your appinfo. Apr 15 03:49:57 now only if I could get the stupid startTimeout thing to work... Apr 15 05:46:57 OK folks, someone must have something new to put up on webos101.com... Apr 15 09:10:39 hi Apr 15 12:15:11 lots of people awake this morning Apr 15 13:54:53 is there any way to pass a value from one scene to the setup function of another scene? Apr 15 13:56:56 to the initialize, yes Apr 15 14:00:35 please reply Apr 15 14:00:36 ? Apr 15 14:04:06 Yes this is definately possible - you can pass object as parameter Apr 15 14:04:17 I thought there was example in webOs book Apr 15 14:04:39 please tell me how,, Apr 15 14:04:43 i really need help Apr 15 14:07:43 this.controller.pushScene("myScene", myObject); Apr 15 14:08:13 Thanks LogDog - I was loooking for my example but you're faster :) Apr 15 14:12:32 rohit2: yOu can also pass a parameter back to the previous scene when top scene closes using popScene(returnValue) Apr 15 14:13:01 If it helps, the scene stack has some details on the 2.3.2 section of the WebOS book Apr 15 14:13:58 Or just look at here: http://developer.palm.com/index.php?option=com_content&view=article&id=1874&Itemid=244 Apr 15 14:15:49 FreeTim: any experience with Mojo.Drag? Apr 15 14:16:37 popscene reeturns value to the activate function.. iwant to return value to the setup function Apr 15 14:18:49 rohit2: look at here: http://developer.palm.com/index.php?option=com_content&view=article&id=1872&Itemid=244 Apr 15 14:19:06 yes, because the underlying scene was already active. If you want return value to the setup function, you likely have to kill that scene as you push the new scene. When the top scene calls the previous screen (which doesn't exist) it will push as new scene and your myObject will send to the newly creating scene's setup function. Apr 15 14:19:56 but this is a really bad design Apr 15 14:20:55 * FreeTim nods - Yes it is bad design. Apr 15 14:21:12 how can i kill the scene Apr 15 14:22:25 Is it a lot of data? If small then you could set cookie Apr 15 14:23:18 it's a string that i'm passing back Apr 15 14:44:17 @freetim: how to kill the scene. Apr 15 14:44:25 please elaborate ab it on that approach Apr 15 15:15:55 morning all Apr 15 15:17:04 Mornin' Apr 15 15:28:46 anyone messed with any draggable elements in webos? Apr 15 15:53:35 rohit2: Its bad design, not recommended. I mentioned only as possible method Apr 15 15:56:17 you can set cookie, or you can use stage controller to pass values as objects to scenes Apr 15 15:56:44 global var object perhaps? Apr 15 15:56:46 If anyone else is listening here, feel free to chime in Apr 15 15:59:24 yes, bad design Apr 15 15:59:26 I concur Apr 15 15:59:28 wholeheartedly Apr 15 15:59:35 bully Apr 15 15:59:39 man the torpedoes! Apr 15 15:59:43 thank u sugardave Apr 15 16:05:24 so what is the best practice way to pass a string to the setup portion of another scene and back again Apr 15 16:05:39 wawawaaaaaaaa Apr 15 16:05:51 I ^%$@# HATE those two words Apr 15 16:06:04 people in my classes are always asking me about "best practices" Apr 15 16:06:05 ? Apr 15 16:06:15 I look them in the eye and say "whatever works" Apr 15 16:06:22 best practices can kiss my ass Apr 15 16:06:44 if I want to write my js in hex I damn well will Apr 15 16:06:57 FreeTim: not sure there is a best practice for killing an existing scene just to pass a string to its setup function Apr 15 16:07:01 LoL ok, at least we can identify a few method that are the worst practic then :) Apr 15 16:07:03 probably better to handle it in activate Apr 15 16:07:27 worst pratice: whatever I do Apr 15 16:07:30 For sure I dont' mean to curtail anyone's freedom or creativity Apr 15 16:07:38 are you changing the layout of widgets in the scene? Apr 15 16:07:48 re-using a scene for a different purpose? Apr 15 16:08:03 has anyone worked on any draggable stuff on webos? Apr 15 16:08:19 sugardave is a pro at it Apr 15 16:08:38 Bmyers has me mistaken for someone else Apr 15 16:08:54 I can make things click-able :D Apr 15 16:09:04 lidx Apr 15 16:09:07 lies Apr 15 16:10:00 wawawaaaaaaaa Apr 15 16:10:12 Oh, i keep trying to swipe on my zune Apr 15 16:10:25 there is a perrrrfect little bezel that is tricking my brain Apr 15 16:10:55 boo... some "ass-Ole" gave me a 0 rating for not having an element draggable Apr 15 16:11:08 stab em in the neck Apr 15 16:11:17 that solves that problem in a hurry Apr 15 16:11:35 send an email to chuqui and he can give you the reviewer home address to pay them a visit Apr 15 16:11:41 i wish - my app was selling well, now i have a 0 rating Apr 15 16:12:02 an no sales in days Apr 15 16:12:39 if u got 1 0 star rating and your avg is now 0, maybe its not the reviewer. Apr 15 16:13:12 What app LoneStar ? Apr 15 16:14:24 have 194 purchases and 1 zero rating Apr 15 16:14:30 so 0 Apr 15 16:14:34 =( Apr 15 16:14:48 how many reviews? Apr 15 16:15:14 i guess just the one Apr 15 16:15:52 ahhhh Apr 15 16:15:58 thats would explain it Apr 15 16:16:04 http://urloid.com/palm9 Apr 15 16:19:59 it just plain sucks the app catalog is so damn inconsistent, like a tweaked out trick Apr 15 16:20:16 one bad hit, and your app is dead Apr 15 16:21:06 have 4 apps, and all are dead Apr 15 16:21:20 one has a 4.8 rating, but can't be found for shit Apr 15 16:22:45 after about 280 purchases some asshole killed my app because of a 4 rating Apr 15 16:23:30 heh Apr 15 16:23:59 Two of my apps that are dead (On purpose) are still getting downloads, but they are free in the WD and Beta Catalogs Apr 15 16:25:41 halfhalo: it sounds weird a 4.8 app dead, but it is very true Apr 15 16:26:13 try updating them to bump em back up to the top of the updated apps list? Apr 15 16:26:32 at a 5 rating had like 100+ downloads in a month - 4.8 rating in 3 weeks 10 downloads Apr 15 16:27:03 halfhalo: it only works for a day or 2 max with an update Apr 15 16:27:07 wow description is very short. I wonder if it allows me to export my drawn pictures when finished Apr 15 16:27:47 FreeTim: which app? the coloroo? Apr 15 16:27:56 yep Apr 15 16:27:57 any new news from bloomberg and the like? Apr 15 16:28:06 Does Palm limit the descxription to x characters? Apr 15 16:28:44 it does not at this point, but will have it done by next release 1 or 2, but also need to work on making images, draggable Apr 15 16:29:38 FreeTim: you can have a really long description i think 2000 chars Apr 15 16:33:51 We can't get any refunds, so the apps I'm most likely to download have good long descriptions of what they can do. Not sure if that helps you but I hope it does. Can the images be saved? How many can be saved? Can they be exported via USB or emailed out? etc. - I'm not saying you need to have any such features, my point is only, that it will help sell if you have long description fully listing any features you already have. Apr 15 16:35:46 hah hah I ran the App catalog to check out Coloroo and my Palm rebooted (not Coloroo's fault, but the App catalog) Apr 15 16:36:25 When it comes back i'll check out this app. I need a drawing app anyways. Apr 15 16:36:51 hey all, is there any way to leave a review via computer instead of by Pre keyboard Apr 15 16:39:16 also when I search 'draw' i see a great many apps, so it might just be stiff competition Apr 15 16:39:46 FreeTim: competition is good, Apr 15 16:39:57 brb need to cook my burger patty Apr 15 16:40:05 eliminating competition is better! Apr 15 16:40:13 FreeTim: lol Apr 15 16:40:21 thanks for your feedback - Apr 15 16:40:26 hungry now Apr 15 17:05:45 anyone ever been to brazil? Apr 15 17:06:33 wondering if the following are the right adapters: http://traveloasis.com/brazil-plug-adapters.html Apr 15 17:07:27 Yep, those look right. Apr 15 17:09:56 Never understood why every country had to come up with their own adapter plug. just have one for 120v, one for 240v. standardize it. done Apr 15 17:11:45 should all be standardized to be like Mac magnet plugs Apr 15 17:13:10 yeah Apr 15 17:13:12 thanks Apr 15 17:45:37 evening Apr 15 18:06:27 swisstomcat: mornin Apr 15 18:06:36 evening pandora :) Apr 15 18:06:49 hi Apr 15 18:07:06 are websockets supported by webos ? Apr 15 18:07:09 hi warpdesign Apr 15 18:07:13 apparently not yet Apr 15 18:07:44 ok, that's too bad Apr 15 18:08:11 is there a way to access sokets using mojo ? Apr 15 18:09:13 https://developer.palm.com/distribution/viewtopic.php?f=11&t=75&hilit=websockets Apr 15 18:09:31 you could probably do it with the PDK Apr 15 18:09:37 sure Apr 15 18:09:42 but I'd like to stick with JS Apr 15 18:11:17 some good ideas in that thread Apr 15 18:14:28 yes Apr 15 18:16:33 creating a new topic, since this one is locked Apr 15 18:16:54 hey hey.. Apr 15 18:17:15 swisstomcat: what is the path to save language view files?.. resources\...? Apr 15 18:17:25 hey noaXess Apr 15 18:17:34 resources\de\views Apr 15 18:17:58 resources\de\views\x\x-scene.html Apr 15 18:18:30 and then.. eg. help-scene.html.. a copy of app/views/help/help-scene.html with the language text. Apr 15 18:18:31 oka Apr 15 18:19:18 yes Apr 15 18:23:38 swisstomcat: got mail? Apr 15 18:23:58 oh, you've got mail Apr 15 18:24:07 yup Apr 15 18:26:16 i agree not to $Lify the faq Apr 15 18:27:22 do i need to pull out the $L strings again? Apr 15 18:27:52 hey noradtux Apr 15 18:27:58 great job with navit! Apr 15 18:29:08 no, the strings are all in strings.json in /de Apr 15 18:29:21 many are untranslated Apr 15 18:29:23 i don't see any untranslated ones? Apr 15 18:29:43 hmmmm.... Apr 15 18:30:02 the ones at the bottom? Apr 15 18:30:19 and a few sprinkled throughout? Apr 15 18:30:24 beta 3.11 Apr 15 18:31:40 no new ones at the botton, last one is "support" Apr 15 18:32:05 modified: Thu 15 Apr 2010 03:25:42 AM CEST Apr 15 18:38:23 boo =) ask.com removed its real time clock for world cities Apr 15 18:38:30 =( Apr 15 18:39:41 hey lonestar Apr 15 18:39:50 use whendle instead Apr 15 18:41:16 it was the coolest on ask.com now it's just search results Apr 15 18:41:28 his swisstomcat Apr 15 18:41:32 sorry hi Apr 15 18:42:54 wow whendle looks awesome Apr 15 18:43:00 gonna download it Apr 15 18:59:09 pie Apr 15 18:59:29 cheese Apr 15 18:59:35 cheese pie? Apr 15 18:59:39 yup Apr 15 18:59:41 grrrr Apr 15 18:59:51 hungry but no money for a few hours Apr 15 19:01:14 silly paycheck and its not being here for 3 hours Apr 15 19:02:24 swisstomcat: will have to resend later tonight. not sure what happened... Apr 15 19:02:31 nomojo sockets Apr 15 19:02:46 allright haeffb Apr 15 19:02:56 sockets? Apr 15 19:02:58 we dont need no stink'n sockets. Apr 15 19:03:04 websockets Apr 15 19:03:28 as long as the socket you want is on port 80. then good.. Apr 15 19:03:49 it's the Henry Ford of websockets Apr 15 19:04:28 heh Apr 15 19:21:10 what do you all recommend... on a tap of button, an image is saved where.... Apr 15 19:26:02 just want to save the image where a user can recall it later or transfer to computer via USB... Apr 15 19:28:29 to the same folders as photos snapped by the cam? maybe. What do y'all think Apr 15 19:30:35 yeah, i guess, anyone have any experience in saving images or what not to the "photos" folder? Apr 15 19:30:55 joshmarinacci: My personal thoughts on mobile OS vendors restricting programmers and users: http://tinyurl.com/yygsthj Apr 15 19:31:10 twtomcat @joshmarinacci webOS treats it's users like grown ups: they can install any paid apps where ever on earth they are .. oh wait Apr 15 19:36:50 interesting read swisstomcat: Apr 15 19:44:18 except the paid apps bit Apr 15 19:49:01 hey, leave my socks in peace Apr 15 19:49:21 socks? Apr 15 19:49:25 wtf? Apr 15 19:50:02 my nick means sockeater in german Apr 15 19:50:17 my old college dorm dryer Apr 15 19:50:20 bastard Apr 15 19:50:33 lol Apr 15 19:50:34 hehe Apr 15 19:50:55 LoneStar99: there should be a location on /media/internal that your app can write to, save pictures there and users can get to them in USB mode Apr 15 19:51:24 awww Apr 15 19:51:27 I'm good with the theory, but short on technical details Apr 15 19:51:36 down to the office as items to watch rightnow Apr 15 20:20:06 anyone can help me with an english text? Apr 15 20:20:41 (german text i'm translating to english .. just want to check if it sounds right) Apr 15 20:20:50 sure Apr 15 20:21:49 email? Apr 15 20:22:11 oh, that big? :D sugardave at gmail Apr 15 20:22:27 1 page Apr 15 20:22:37 k Apr 15 20:24:12 sent Apr 15 20:25:43 looks pretty good, save one thing, I'll send it back in a minute Apr 15 20:29:34 sent back Apr 15 20:29:49 thanks, i'm working on the next part Apr 15 20:29:59 np Apr 15 20:30:39 isn't that sentence a bit long? Apr 15 20:31:50 not any longer than you had....unless that ,While was supposed to be a . and new sentence :D Apr 15 20:32:55 oh, i had a comma .. it was supposed to be a . Apr 15 20:33:13 "Over 40 companies presented their open source products and related services during the two days of the trade show. Most open source projects during were well visited and the visitors showed great interest. " Apr 15 20:33:43 yeah, go with that one, but take out "during" in the second one Apr 15 20:33:57 Most open source projects were... Apr 15 20:34:17 ah, i see it Apr 15 20:40:16 hi,, I pass a string from one scene to another using popscene.. now how to use that string.. i mean how to access it? Apr 15 20:40:36 rohit2: in the underlying scene's activate method Apr 15 20:40:47 in the scenes initializer grab it just like any other variable... Apr 15 20:41:17 halfhalo_class: that would be for pushing Apr 15 20:41:33 popping is going to get you to an already initialized scene Apr 15 20:41:37 so it goes in activate instead Apr 15 20:41:46 oh reary... Apr 15 20:41:49 hmmm Apr 15 20:41:52 the activate function has got 'event' as the argument Apr 15 20:41:54 that's what I hear Apr 15 20:42:00 so how do i access the string? Apr 15 20:42:00 sugardave is a rare form today.. Apr 15 20:42:20 Is there some way to add my voice mail password so it's typed automatically, or link a different number to the voice mail button? Apr 15 20:42:23 rohit2: true, add an additional arg to the activate scene Apr 15 20:42:27 er method Apr 15 20:43:07 so: someAssistant.prototype.activate = function(event, myNewArg) {...} Apr 15 20:43:20 or will it be part of event.... Apr 15 20:43:21 hmmmm Apr 15 20:43:43 and how to call popscene then? Apr 15 20:43:53 it MIGHT be part of event, you can check by dumping its JSON to a div or log message Apr 15 20:44:01 Object.toJSON(event); Apr 15 20:44:22 popScene('the message'); Apr 15 20:44:40 you can only pass one parameter to popscene as i find out .. but it can be an object Apr 15 20:44:44 found Apr 15 20:44:50 that, too Apr 15 20:45:33 can i do like popScene(event,myarg)?? Apr 15 20:45:34 Bmyers_pre: shape of Mojo Poseur Apr 15 20:45:39 phew, my socks are save again Apr 15 20:45:52 rohit2: no, popScene will only take one argument Apr 15 20:46:02 but myarg can be an object Apr 15 20:46:29 event.myarg Apr 15 20:46:35 event.myarg2 Apr 15 20:46:36 ah, THERE Apr 15 20:46:38 event.myarg3 Apr 15 20:46:40 event.myarg4 Apr 15 20:46:40 's the answer Apr 15 20:46:47 okk Apr 15 20:46:49 i'm not done yet.. Apr 15 20:46:50 let me try Apr 15 20:46:52 event.myarg5 Apr 15 20:46:59 sugardave: can you say "the information fell on open ears"? Apr 15 20:47:25 the information fell on open ears Apr 15 20:47:33 Apr 15 20:47:37 lulz Apr 15 20:47:41 sounds a bit strange Apr 15 20:47:42 boom boom, CHA! Apr 15 20:47:48 what's a rimshot? Apr 15 20:48:05 yeah sugardave, thats means something else over in swiss landia Apr 15 20:48:10 german sayings are hard to translate Apr 15 20:48:22 or at least from my video collection of the 70's it does.. Apr 15 20:48:38 what would it be in english? Apr 15 20:48:47 yeah, that should be something like: "The information was eagerly assimilated by the assembled mass of Expo-goers" Apr 15 20:48:51 or something not as awesome Apr 15 20:48:53 hehe Apr 15 20:49:20 the information fell on deaf ears Apr 15 20:49:25 that'd work Apr 15 20:49:35 but not the same :) Apr 15 20:49:35 now can i pass this argument to my setup function somehow?? Apr 15 20:51:22 rohit2: but the scene has already been set up, yeah? Apr 15 20:53:37 rohit2: so, you can't really do that...you'd have to resort to that hackery of killing the scene and repushing it, passing your object (which in that case DOES go to the constructor) and then would be available in setup Apr 15 20:54:23 rohit2: so the question is, do you REALLY need access to the information in setup, or is activate sufficient? Apr 15 20:54:58 send the next and last part, sugardave Apr 15 20:55:02 sent Apr 15 20:55:05 k Apr 15 20:55:28 how can i kill the scene and repush sir Apr 15 20:55:29 you could use global variables, rohit Apr 15 20:55:39 please please tell me Apr 15 20:56:19 I'm more interested in why you need it in setup so bad :D ah, global variables is another option, yeah Apr 15 20:57:52 actually i'm porting a JS app onto pre,, developing the save feature for it.. my file is saved as a string.. i pass that string onto another scene to and make a entry into the database.. Apr 15 20:57:59 now there is a open button Apr 15 20:58:13 that also pushes a new scene --> open Apr 15 20:58:38 now open scene retrieves the desired string according to the file name Apr 15 20:59:16 now i want to pass that string back to my main scene and use it to load the file Apr 15 20:59:37 and the function for loading the file is in setup Apr 15 21:00:00 i hope you got me Apr 15 21:00:26 please tell me how should i go about it,, Apr 15 21:01:12 hold on, and I will read back...got another thing atm Apr 15 21:04:38 swisstomcat: sent back Apr 15 21:04:59 thanks, appreciated Apr 15 21:05:00 swisstomcat: new .ipk headed your way. Apr 15 21:05:09 cool Apr 15 21:05:14 my mailbox is overflowing :) Apr 15 21:05:35 rohit2: if you popScene(myVar); Apr 15 21:05:55 rohit2: easy answer...move the function for loading your file into the activate method Apr 15 21:05:59 and in your underlying scene, you have activate(event) {...} Apr 15 21:06:00 event will === myVar Apr 15 21:06:19 or call it from there based on some other var... if (NEEDTOLOAD) {call loading function} Apr 15 21:06:33 when activate is called following the popScene Apr 15 21:06:44 event will (generally) be null otherwise. Apr 15 21:07:16 i think it's webOS, sugardave .. but probably doesn't matter Apr 15 21:07:30 yeah, just checking Apr 15 21:07:32 thanks Apr 15 21:07:34 if i move my function to reload in activate method.. do i need to call the activate method from the setup function then?? Apr 15 21:07:56 no, activate is called by webOS after setup Apr 15 21:08:17 rohit2: no, because activate is going to get called when: you push the scene or when a scene becomes maximized because another scene was popped Apr 15 21:08:53 (or when the user minimizes then restores the card) Apr 15 21:09:56 hmm,, Apr 15 21:10:04 i'll try a few things and get Apr 15 21:10:05 back Apr 15 21:10:08 thank you sir Apr 15 21:10:16 rohit2: what do you mean by "and the function for loading the file is in setup" Apr 15 21:10:18 hang on one second, I'll get you a link Apr 15 21:11:12 the function definition which i'm using to reload the scene is in setup Apr 15 21:11:26 rohit2: https://developer.palm.com/index.php?option=com_content&view=article&id=1627&Itemid=43 Apr 15 21:11:33 application life cycle Apr 15 21:11:50 it shows when those setup/activate and cleanup/deactivate methods are called Apr 15 21:12:15 thanks Apr 15 21:12:19 this should help Apr 15 21:12:24 definitely :D Apr 15 21:16:30 if i pop my scene using popscene(arg1) Apr 15 21:16:58 then activate function shouldbe like activate(event,arg1){} Apr 15 21:17:01 ?? Apr 15 21:17:14 and i can access the value by event.arg1?? Apr 15 21:17:19 correct sir? Apr 15 21:17:32 looking better, haeffb Apr 15 21:19:18 rohit2: actualy, I think you DON'T need to do activate(event, arg1) as arg1 will be a property of event Apr 15 21:19:23 so you can just leave it along Apr 15 21:19:25 alone Apr 15 21:19:36 then activate function shouldbe like activate(event,arg1){} Apr 15 21:19:36 [02:46] ?? Apr 15 21:19:36 [02:47] and i can access the value by event.arg1?? Apr 15 21:19:36 [02:47] correct sir? Apr 15 21:19:45 sorry,, typo Apr 15 21:19:47 and you still get event.arg1 Apr 15 21:19:51 ok Apr 15 21:19:53 got it Apr 15 21:19:55 nope. Apr 15 21:19:59 event === arg1 Apr 15 21:20:04 OH Apr 15 21:20:33 popScene(arg1) Apr 15 21:20:36 activate(event) Apr 15 21:20:41 so there is no other event object coming from popScene, then Apr 15 21:20:45 NOPE Apr 15 21:20:47 that's THE argument Apr 15 21:20:50 YEP Apr 15 21:21:02 * sugardave hopes rohit2 sees this. Apr 15 21:21:05 and access the value directly as event?? Apr 15 21:21:09 yep Apr 15 21:21:14 okkk Apr 15 21:21:17 but you'll have to test (if event != null) or something. Apr 15 21:21:18 thnks again Apr 15 21:21:23 ok Apr 15 21:21:32 if (event) { ... } Apr 15 21:22:48 by the way, you can always change the var name being passed to activate if "event" makes things confusing... Apr 15 21:22:51 #webos - churning out the Mojo mavens Apr 15 21:23:05 and if i want to declare a global variable here.. how do i go about it?? simly this.str1 in constructor function or what?? Apr 15 21:23:08 activate(thisIsNotAnEvent) {...} Apr 15 21:23:08 HA Apr 15 21:23:38 or, you could popScene(event) Apr 15 21:23:39 :) Apr 15 21:23:55 and if i want to declare a global variable here.. how do i go about it?? simly this.str1 in constructor function or what?? Apr 15 21:23:57 rohit2: if you want a REAL global, put it in the app/stage controllers constructor Apr 15 21:24:01 rohit2: vars defined outside a function scope are global Apr 15 21:24:14 this.str1 is not a global. Apr 15 21:24:23 MyGlobalVars = {}; MyGlovalVars.thisOne = 'something'; Apr 15 21:24:33 it is a property of "this" which may likely be your sceneAssistant Apr 15 21:24:43 then MyGlobalVars object should be available in any of your code Apr 15 21:25:10 or "above Apr 15 21:25:13 dammit Apr 15 21:25:36 or "above" the app/stage controllers constructor as: var MyGlobalVars = {}; Apr 15 21:26:29 and, actually any var that is not defined with "var xxx = yyy;" or as properties of some specific object/method/function are global. Apr 15 21:27:18 xxx = yyy; makes xxx a global variable that can be accessed from anywhere at any point after it is defined. Apr 15 21:27:46 ok,, so can i just declare a global like xyz="" directly outside all setup and activate function?? Apr 15 21:27:48 but you shouldn't do that, as it can make code confusing and weird stuff happen that is difficult to debug. Apr 15 21:28:27 you can. but sugardave's suggestion is better, so that you can keep track of what you *intend* to be a global var Apr 15 21:28:42 a "best practice" so to speak. Apr 15 21:28:55 * sugardave kills haeffb where he stands. Apr 15 21:28:57 where is the app/stage controller constructor? Apr 15 21:29:13 * haeffb falls and stops responding. Apr 15 21:29:27 * halfhalo_class kicks haeffb while he's down Apr 15 21:29:35 function StageAssistant() { Apr 15 21:29:35 } Apr 15 21:29:40 rohit2: in either the App or Stage assistant .js Apr 15 21:29:48 that one, yeah Apr 15 21:29:50 that is the constructor function of StageAssistant Apr 15 21:30:01 ok.. i thought so,, Apr 15 21:30:02 that has no "prototype" on it Apr 15 21:30:06 before that line in stage-assistant.js, add sugardave's stuff. Apr 15 21:30:36 but, really, "even better practice" is to avoid globals when they're not absolutely necessary. Apr 15 21:30:44 yep yep Apr 15 21:30:50 * haeffb is still having a hard time implementing that "better practice" Apr 15 21:31:09 think locally, act globally Apr 15 21:31:12 wait Apr 15 21:31:16 * halfhalo_class is still of the opinion that better practice should die Apr 15 21:31:29 and i can call a function 'abc' from activate even if it's function definition is in setup function?? Apr 15 21:31:51 this.abc = function () {....}; Apr 15 21:32:06 abc becomes a property of "this" Apr 15 21:32:18 if you do that in setup(), "this" is your sceneAssistant Apr 15 21:32:38 so, elsewhere in your sceneAssistant you can call this.abc(); Apr 15 21:32:48 g'night everyone Apr 15 21:32:52 hey! I just learned something! Apr 15 21:32:55 night swisstomcat Apr 15 21:32:59 my day is complete Apr 15 21:33:01 night swisstomcat Apr 15 21:33:12 nighty nighty swisstomcat Apr 15 21:33:14 and thanks for the help Apr 15 21:33:17 but the function i want to use has a definition like .. function abc={..} Apr 15 21:33:17 yw Apr 15 21:33:45 oh, what do they call that....damn Apr 15 21:34:01 inline function? Apr 15 21:34:22 move it out of setup with something like MySceneAssistant.prototype.abc = function () {...} Apr 15 21:34:33 you should be able to re-write is as: this.abc = function() {...copy/paste...} Apr 15 21:34:36 then you can call it from setup or activate or any other method of your assistant Apr 15 21:35:46 and still call it as this.abc(); because the xxx.prototype.abc is adding abc as a method to your xxx object. Apr 15 21:36:28 sugardave closures? Apr 15 21:36:30 OR you can.... Apr 15 21:36:32 I got nothing Apr 15 21:36:54 no, I thought there was a special name for "named" functions Apr 15 21:36:56 heyyy Apr 15 21:36:59 thank you so much Apr 15 21:37:02 it's working Apr 15 21:37:02 :) Apr 15 21:37:03 Oh, by the way, I could be all wrong.... Apr 15 21:37:11 this.variable = function name(){...} Apr 15 21:37:16 i'll need to make a few more tests Apr 15 21:37:17 I'd have to read in a big book to find it Apr 15 21:37:22 but I'm not going to do that Apr 15 21:37:26 and u've saved my life Apr 15 21:37:59 * haeffb adds another chalk mark Apr 15 21:38:13 thats what, negative 3 haeffb? Apr 15 21:38:19 hahaha Apr 15 21:39:04 thank you :) Apr 15 21:39:08 it's working Apr 15 21:39:11 whopie Apr 15 21:39:12 :) Apr 15 21:39:18 sweet...if I'm lucky, I may get this molten piece of plastic known as "work laptop" replaced with a ThinkPad W500...those are pretty nice Apr 15 21:39:28 eww, not a new W501? Apr 15 21:39:47 no, of course not Apr 15 21:39:58 better than this T60p Apr 15 21:40:06 lol Apr 15 21:40:12 I heart T400 Apr 15 21:40:14 I could literally heat up my lunch on it Apr 15 21:41:05 lulz Apr 15 21:41:32 got an old T42 with a fan down. Apr 15 21:41:43 buy a fan or toss it on the scrap heap? Apr 15 21:41:58 target practice! Apr 15 21:42:07 I can fry the fan in a T60p with ONE application....VMware workstation Apr 15 21:42:10 instant death Apr 15 21:43:04 oh, the screen is dead, too. so it's really a mini-tower desktop. Apr 15 21:43:10 heh Apr 15 21:43:15 a mini-tower desktop w/ no fan. Apr 15 21:43:20 SHUTUP AND WORK YOU STUPID RAILS A{{ Apr 15 21:43:28 mythtv client Apr 15 21:43:40 couldn't handle hd methinks Apr 15 21:44:03 oh yeah, true Apr 15 21:44:12 I haven't set one up, just fantasize about it Apr 15 21:44:37 that reminds me, I have a date with my PS3 Apr 15 21:44:41 see y'all in a bit Apr 15 21:45:05 heheh Apr 15 21:45:22 * haeffb has a date with a John Deere L120. Apr 15 21:45:29 time to go mow Apr 15 21:45:59 * haeffb wonders which approach rohit took that is working... Apr 15 22:05:03 :) Apr 15 22:19:40 sugardave: you mentioned earlier "/media/internal" for saving images... would it be like saving anything in a linux/uinix folder or much more complicated? Apr 15 22:21:57 funny. my app is "ready to be review" and unreleased. it already on 2 pixi's and a pre that isnt mine.. Apr 15 22:22:08 i guess it's making the rounds at palm already Apr 15 22:22:14 wish the would release it.. Apr 15 22:22:40 Bmyers: yeah, making the rounds Apr 15 22:23:15 they cant all be "reviewers" Apr 15 22:23:43 lol Apr 15 22:26:22 Bmyers: i would think it is already it has already been released Apr 15 22:26:45 just looked, it isnt. the ONLY ppl who have it are palm Apr 15 22:26:48 what is the unique name? Apr 15 22:26:52 not even beta testers Apr 15 22:27:07 com.guyrules.mobile Apr 15 22:29:21 have my servers collect data from palm servers every 2 hours let me check my logs if your app has been picked up Apr 15 22:32:57 Bmyers: negative, perhaps in a few hours Apr 15 22:33:40 myapps page says its not publish. Apr 15 22:33:45 just submitted it today Apr 15 22:35:09 is it in the app catalog or web distro? Apr 15 22:35:18 app cat Apr 15 22:38:06 how many unique devices are using the app? Apr 15 22:38:26 3 last i checked, 2 pixis and a pre Apr 15 22:38:56 but its only been submitted for a few hours and doesnt say thats it is being reviewed Apr 15 22:45:45 Bmyers: that's easily just Adora's devices Apr 15 22:46:03 she has about 5 that she uses for testing Apr 15 22:46:57 do u know the nduid's? Apr 15 22:47:18 she's not a reviewer anyway Apr 15 22:49:05 * sugardave once had a webOS device "from the future" show up in the logs. Apr 15 22:49:25 really? was was the device name? Apr 15 22:49:42 it's on the old db, just nduid and timestamps Apr 15 22:49:49 it was probably a Pixi Apr 15 22:50:00 oh com' on man.. Apr 15 22:50:20 it was in December, and the last update time was something like April 4, 2010 Apr 15 22:51:32 i just submitted it today so I doubt someone is actually reviewing it. Apr 15 22:58:39 Bmyers: still no go on Done? Apr 15 22:58:49 bbiaf haeffb Apr 15 22:58:52 doh! I was || close Apr 15 22:58:58 :) Apr 15 22:59:01 sugardave: ever tried Done? Apr 15 23:18:58 Hi everyone! Does anyone know how to get color mini icons in banner notifications? Apr 15 23:21:09 add a color 32x32 icon Apr 15 23:21:34 miniicon ? Apr 15 23:22:20 Hmmm, Does it have to be 32x32 to get it to force color? I have a color 43x43 icon, but it automatically grayscales it Apr 15 23:52:43 catalystmedia: adobe imageready Apr 15 23:53:12 Is there a specific way to save it? Apr 15 23:54:32 email me your image to diego AT earthoid DOT com Apr 15 23:56:09 catalystmedia: I think you have to specify miniicon in appinfo.json Apr 15 23:57:03 either that, or it can't be done... :0 Apr 15 23:57:53 hey when do we get the flash pdk plugin? Apr 15 23:57:58 i almost forgot about that Apr 16 00:05:51 catalystmedia: depending on how much detail your icon has but 32x32 should look fine Apr 16 00:16:09 Sorry, someone called. I'm sending an email in a sec! :) Apr 16 00:16:25 catalystmedia: k Apr 16 00:17:32 haeffb: I can't figure it out myself, but I know facebook and Bad Kitty do it so it must be possible haha Apr 16 00:24:43 catalystmedia: sent Apr 16 00:26:16 LoneStar99: Thank you so much! I'm giving it a try now :) Apr 16 00:26:31 it has no tranparency sending the new image now Apr 16 00:27:21 sent use minicon3 Apr 16 00:30:29 Thanks LoneStar99 for some reason there is still no color, but it is transparent! :D Thanks for the help. Apr 16 00:31:24 catalystmedia: is this on the emulator? Apr 16 00:31:45 Oh yeah. I didn't try on the device. I'll try it right now! Apr 16 00:32:51 Same on the device as well :S Apr 16 00:51:20 Done! is now on PreCentral as an early beta... Apr 16 00:52:51 cool Apr 16 00:52:59 its working better now is it? Apr 16 00:53:29 dunno. We'll find out. Apr 16 00:53:40 want the latest version to test? Apr 16 00:53:50 yeah screw testing it.. takes up YOUR time Apr 16 00:53:54 let them do it Apr 16 00:54:14 submitted GR to app cat Apr 16 00:54:19 woohooo! Apr 16 00:54:30 see if i can hit 11k dl's by june Apr 16 00:54:58 freebie Apr 16 00:55:01 ? Apr 16 00:55:02 yes Apr 16 00:55:19 ad supported Apr 16 00:55:35 running 3 ad networks Apr 16 00:55:38 4 Apr 16 00:55:52 let me know how that works. Apr 16 00:56:08 i prolly got like $20 so far Apr 16 00:56:17 Myles at 540 DL's Apr 16 00:56:19 between all of them Apr 16 00:56:29 uniques? Apr 16 00:56:30 still picking up about 5+ per day. Apr 16 00:56:33 yep Apr 16 00:56:39 cool Apr 16 00:57:02 thinking about $3.23 for Done. Apr 16 00:57:22 Would like to get it Done enough this weekend to submit. Apr 16 00:57:31 probably a couple of weeks out, though. Apr 16 00:57:45 too expesive, change the name too.. Apr 16 00:58:06 Done! Apr 16 00:58:08 get'r'done Apr 16 00:58:19 Done! Apr 16 00:58:22 done what? Apr 16 00:58:35 done gone home. Apr 16 00:58:38 took my $3.23 Done! Apr 16 00:58:50 you think $3 is too much? Apr 16 00:58:58 $2.23? Apr 16 00:59:19 either that or sell it for 50k and hope for 1st prize Apr 16 00:59:46 chuqui says that won't work... :( Apr 16 01:00:03 party pooper Apr 16 01:00:48 Myles down to 200. T=$ at 198. Apr 16 01:00:53 Need an update to boost sales. Apr 16 01:00:58 i do Apr 16 01:01:05 swisstomcat working on translation... Apr 16 01:01:07 its next in line Apr 16 01:04:08 how about 1.99 for done? Apr 16 01:05:10 I hate .99 numbers Apr 16 01:05:19 1.98 Apr 16 01:05:27 2.23. Apr 16 01:05:38 you wouldn't spend another Quarter! Apr 16 01:05:41 ? Apr 16 01:05:48 1.43 Apr 16 01:06:03 in Hungarian dollars, maybe. Apr 16 01:06:11 just saying most apps are .99 or 1.99, thats the bell curve. Apr 16 01:06:17 2.86 Apr 16 01:06:40 $2.eleventy-three Apr 16 01:10:53 now i have to wait 2 days for Precentral to publish... Apr 16 01:11:30 palm beta. 2 hours Apr 16 01:11:38 pre central is too slow now Apr 16 01:14:54 * haeffb is disenchanted with Precentral Apr 16 01:15:14 * haeffb doesn't like how they always seem to find the negative angle for Palm Apr 16 01:16:07 meh Apr 16 01:17:01 As far as I'm concerned, all the major issues with webOS have been resolved [just about] Apr 16 01:17:13 theres a mic api? Apr 16 01:17:39 no... but prenosicator has a voice recorder he's about to release Apr 16 01:17:52 and i think that it could quite probably work as a call recorder as well Apr 16 01:18:06 as soon as i get a call recorder, i can finally switch to the pre as my one and only phone Apr 16 01:18:45 between that... UberKernel... Save/Restore... and the PreImage backup utility Apr 16 01:18:54 shit is finally gettin' right Apr 16 01:36:57 eating pizza rolls and having some busch lights Apr 16 01:37:16 that is the most disgusting thing i've heard today Apr 16 01:38:53 zsoc: it is quite good Apr 16 01:42:46 mmm.... beeeeeeerrrr Apr 16 01:42:53 beer's good with just about anything but sweets Apr 16 01:43:03 ... it's busch, that's not beer. Apr 16 01:44:16 hah Apr 16 01:44:23 yea, i'm highly considering brewing my own Apr 16 01:44:40 the good stuff is too expensive, and the cheap stuff is too watered down... Apr 16 02:12:31 * Tibfib is debating whether to make a gmail client Apr 16 02:24:10 * Tibfib is just going to wait for palm to do it. Apr 16 02:26:46 Tibfib: isn't there already one? Apr 16 02:27:23 sorry... a _decent_ gmail client Apr 16 02:27:31 oooohhhhhhh Apr 16 02:27:38 with label/archive capabilities Apr 16 02:28:23 here's the API I was going to use if anyone is interested: http://codeplusplus.blogspot.com/2007/07/mobile-gmail-api.html Apr 16 02:35:59 oh it's nice and threaded already ? Apr 16 02:36:05 you should definitely make one then Apr 16 02:36:13 i'd love a threaded gmail client Apr 16 02:36:33 i think i might make a twitter client, altho its been done so many times before.. i just dont like any of them that are out Apr 16 02:37:41 hmmm :/ Apr 16 02:38:01 dawm: I felt the same, then decided tweed was good enough for me Apr 16 02:38:13 yah i currently use tweed.. but i dislike it so Apr 16 02:40:14 dawm: build off spaz! Apr 16 02:40:49 what the hell Apr 16 02:41:01 115 downloads on March 30th Apr 16 02:41:46 but an average of 25 per day from 3/12 to now.. i wonder what the hell was going on that day that people dl'd so much Apr 16 02:48:03 Anybody from palm on here. Apr 16 02:48:21 I need to know if I can changed my app from paid to free Apr 16 02:52:12 pretty sure you can Apr 16 02:52:41 where.. Apr 16 02:52:56 I cant see it on the update page.. **** ENDING LOGGING AT Fri Apr 16 03:00:02 2010