**** BEGIN LOGGING AT Fri Jan 08 02:59:57 2010 Jan 08 03:08:24 gotta scoot... later all. Jan 08 03:10:05 got quiet in here after todays excitement.. Jan 08 03:10:16 sshhhh.... Jan 08 03:10:18 we all rolled over after the big excitement was done Jan 08 03:10:25 and just wanted a sandwich before we fell asleep Jan 08 03:12:55 you get aby of the new releases haeffe? Jan 08 03:13:03 aby / any Jan 08 03:17:03 nope Jan 08 03:17:03 Bmyers: torn between NFS and asphalt Jan 08 03:18:03 jfelectron: just get 'em both Jan 08 03:19:31 haeffb: niiiice Jan 08 03:19:56 heading home.....later Jan 08 03:52:44 Hey all Jan 08 03:54:45 hello Jan 08 04:00:01 I love and hate palm Jan 08 04:01:24 why is that? Jan 08 04:08:23 In an application, what would be the easiest way to fetch data from a website? Jan 08 04:15:28 thezboe: Ajax Jan 08 04:18:10 thezboe: http://www.webos101.com/Accessing_Web_Services Jan 08 04:28:46 Hi, does anyone know how to sent the length of a button? Jan 08 04:29:30 thezboe: check out rssbus.com Jan 08 04:29:52 if you have an iis server that tool is amazing for hooking webservices Jan 08 04:43:14 anyone know an alternative to "event.target.id" Jan 08 04:43:46 what sort of alternative? Jan 08 04:44:43 haeffb: when a div is clicked I need to know the div ID Jan 08 04:45:07 but it's not event.target.id? Jan 08 04:45:29 it is not working on my application... Jan 08 04:45:49 in your event handler, Mojo.Log.logProperties(event, 'event'); Jan 08 04:45:55 You might try dumping event with something like Mojo.log("EVENT: %j", event) to see what it is Jan 08 04:45:58 heh Jan 08 04:46:16 Mojo.Log.logProperties(event.target, 'target'); Jan 08 04:46:26 have tried logging, and debugging and nothing shows up Jan 08 04:46:29 yeah, or that Jan 08 04:46:40 pastebin? Jan 08 04:47:30 lmorchard: any idea why adding a handleLaunch in AppAssistant would fry my app menu? Jan 08 04:48:02 Hmm, not sure off the top of my head, unless maybe there's an error somewhere in there Jan 08 04:48:26 http://pastebin.com/m777fa0a3 Jan 08 04:49:12 there's an error in your 3.Mojo.Event.listen(this.controller.document), Mojo.Event.tap,this.imageSwap.bind(this)); Jan 08 04:49:18 line 3: has been fixed, other than that it does not work Jan 08 04:50:27 on the ces they said something about a site you can see the applications Jan 08 04:50:33 anyone know the websit e Jan 08 04:51:21 http://www.projectappetite.com/ ? Jan 08 04:52:17 Don't suppose the problem is the variable name "event"? I know in other web environments, it's sometimes reserved, so I tend to use "evt" instead. No idea if that's an issue at all in webOS though. Jan 08 04:52:18 weird web site name Jan 08 04:52:33 http://www.precentral.net/app-gallery Jan 08 04:53:01 FoxFireX: no, event is used all over webOS Jan 08 04:53:10 Worth a shot. Jan 08 04:53:43 LoneStar99: you're loggin event.target.id in bgAssistant.imageSwap? Jan 08 04:53:54 or event.target? Jan 08 04:54:28 haeffb: loggin? Jan 08 04:54:39 logging? Jan 08 04:54:50 with this money palm plans to giveaway I can bet there will be tons of great applicaiton Jan 08 04:54:59 loggin - redneck for logging Jan 08 04:55:25 my guess is the guy that made the facebook app for the iphone might jump on board Jan 08 04:55:38 or maybe the money is pocket chage for him Jan 08 04:55:43 is is my assistant file: http://pastebin.com/d6473db26 Jan 08 04:56:56 photo dialer got 150,000 donloads damn Jan 08 04:57:56 are you getting the "<<<< Tap Handler Called!!!>>>>" Jan 08 04:58:08 haeffb: nope Jan 08 04:58:16 no errors show up Jan 08 04:58:30 rasstar: Downloads total or downloads + updates? Jan 08 04:59:34 do you have framework_config.json? Jan 08 04:59:47 yeah it is set to true Jan 08 05:00:06 what is logLevel: in framework_config.json? Jan 08 05:00:27 { Jan 08 05:00:27 "debuggingEnabled": true Jan 08 05:00:27 } Jan 08 05:00:30 that is all Jan 08 05:00:49 add a , after true and then a new line with Jan 08 05:01:00 logLevel: 20 Jan 08 05:01:15 "logLevel": 20 Jan 08 05:01:36 i am not sure but it is one of the top grossing applications Jan 08 05:01:50 that will allow you to see Mojo.Log.info's in your logs Jan 08 05:02:29 how do I access logs? Jan 08 05:02:48 rasstar: Top grossing "paid" applications Jan 08 05:02:50 palm-log -f ? Jan 08 05:03:11 here is more info on loggin: http://developer.palm.com/index.php?option=com_content&view=article&id=1864&Itemid=238 Jan 08 05:03:14 logging Jan 08 05:03:19 k Jan 08 05:03:35 palm-log -f -d tcp com.yourdomain.yourapp Jan 08 05:03:52 -f means "follow" - i.e. keep showing what's in the logs Jan 08 05:04:08 -d tcp means use the emu (versus -d usb which means the device) Jan 08 05:04:51 LoneStar99: did you give up on football? Jan 08 05:07:09 here is info on palm-log: http://developer.palm.com/index.php?option=com_content&view=article&id=1805&Itemid=19 Jan 08 05:07:20 gotta get some zzzz's Jan 08 05:07:33 yeah: since before half-time, wanted to go drinking, but oh well Jan 08 05:07:39 ok thanks Jan 08 05:07:42 kates Jan 08 05:07:44 lates Jan 08 05:07:58 too bad for kate Jan 08 05:08:17 lol Jan 08 05:08:58 Rick_work: any idea why my app menu would stop working after adding handleLaunch in appAssist? Jan 08 05:09:14 nope. Jan 08 05:09:24 darn. me either. Jan 08 05:09:59 Hi guys, I have a list instantiated in my scene assistant and it's listening for taps. How would I retrieve the data from the model in the function that gets called when an item is tapped? Jan 08 05:12:05 asch: perhaps something like this.myModel.items[event.index] Jan 08 05:14:00 friendly url for app distribution http://foursquare.preshop.us Jan 08 05:14:32 the foursquare app was terrible .. they included the source for ALL of their previous iterations .. ipk's everywhere Jan 08 05:14:35 ridiculous packaging Jan 08 05:16:05 hi all! Jan 08 05:19:03 er... http://foursquare.foursquare.preshop.us Jan 08 05:29:39 what was the url to the app catalog open source thing? Jan 08 05:30:55 http://projectappetite.com/ Jan 08 05:31:31 thanks Jan 08 05:32:06 that's not the raw rss Jan 08 05:32:11 that was at palm somewhere Jan 08 05:32:36 yeah i am not sure Jan 08 05:33:03 hey all Jan 08 05:34:59 one question, i want to erase my pre to factory defaults, wipe it clean, but i heard that the 1.3.5 webos doctor isn't removing quite well all the files and it leaves some patches and media stuff Jan 08 05:35:21 what steps do you recommend to format it? Jan 08 05:35:36 there is i believe under device info Jan 08 05:35:41 a way to reset your pre Jan 08 05:35:42 and wipe it Jan 08 05:37:08 yes the full reset, does that clean you of installed patches also? Jan 08 05:37:35 i bet if you did a full reset + doctor, you would get it back to factory Jan 08 05:37:42 Great, now this.controller.get('result').update('test'); won't work! And I know the function is being called since I tested it by calling errorDialog Jan 08 05:38:33 bpadalino, ok thanks, i think i'll do both Jan 08 05:40:16 ohh, does using the reset option under the ##786# menu is the same as the full reset_ Jan 08 05:41:15 Now it works, I added .bind(this) to the function name in the listener. But the errorDialog worked without it. :\ Jan 08 05:43:52 Anyway, whoever helped me with trying to get the data from my list items, it's not working. :( Any suggestions? Jan 08 05:46:43 Ah ha! Got it to work. Thanks guys. Jan 08 05:47:19 can anyone help me with a problem I have been having with the app catalog? Jan 08 05:47:26 specificalyl getting an app to install Jan 08 05:48:00 I have tried to install m:vampire multiple times, app catalog still says installing although I have gotten the "installed" notification Jan 08 05:48:19 and the icon for it in launcher still has the progress circle on it (which is full) Jan 08 05:53:48 Can anyone point me to info on how Palm is giving access to the App Catalog data? Jan 08 05:55:35 they just started an XML feed, is that what you are looking for? Jan 08 05:56:08 I'm not sure -- where's the details on that? Jan 08 05:58:41 Is that what PreCentral's app catalog info is drawing from? Jan 08 05:59:24 lemme find the info on it Jan 08 05:59:44 Ah, found a page at http://developer.palm.com/index.php?option=com_content&view=article&id=1844 Jan 08 05:59:47 http://developer.palm.com/index.php?option=com_content&view=article&id=1844 Jan 08 05:59:51 beat me to it Jan 08 06:01:50 So, no searching the catalog db directly. Which is reasonable. Jan 08 06:02:18 hang on... actually I think you can now... or will be able to soon... Jan 08 06:03:07 nvm... that is the one on precentrals site Jan 08 06:03:08 but that is being populated from palms xml feed AFAIK Jan 08 06:03:49 Palm has http://projectappetite.com/ which allows searching, but uses the feed. Jan 08 06:04:40 they dump the entire contents into one rss feed which you can search Jan 08 06:05:01 I just made a twitter account to tweet the new apps as they are released Jan 08 06:06:12 DougReeder and the source is up in gitosis (or was it gitorious) Jan 08 06:06:26 prototypic palm already does that Jan 08 06:06:33 they have 2 feeds, one is the main feed, updated once a day, has all apps Jan 08 06:06:39 well mine is special. Jan 08 06:06:49 a second "update feed", updates every 30 minutes, only has apps from the last 48 hours Jan 08 06:06:55 viewed on pre it links to the app, on the pc it links to the pre send to phone page Jan 08 06:07:33 prototypic cool Jan 08 06:07:40 Using an RSS feed is clever -- it allows them to 'publish' the app catalog in a low cost way. Jan 08 06:08:32 anyone know the browser agend of the pre/pixi? Jan 08 06:08:33 so, here's the question, should we do an appetite.com version of preware? Jan 08 06:09:32 and here's the other question, should we include the palm feed as a feed in preware (the free apps at least) Jan 08 06:09:42 The browser agent is listed somewhere (dont ask me) on the developer site. Maybe in the page on writing web sites for webOS. Jan 08 06:10:14 LoneStar99: ping Jan 08 06:10:47 its ok I can get it with an alert Jan 08 06:12:20 here it is: http://developer.palm.com/index.php?option=com_content&view=article&id=1574 Jan 08 06:12:25 browser agent that is Jan 08 06:13:04 looks like a hacken-agent :/ Jan 08 06:14:01 here Jan 08 06:14:27 any breakthrough? Jan 08 06:14:51 just fyi...pretty sure the color picker is leaking memory...seems unstable with extended us Jan 08 06:15:09 I'm about to pull out the profiler to track it down Jan 08 06:15:27 ok, it seems to be working fine on my side... Jan 08 06:15:57 on a device? Jan 08 06:16:11 oh - sorry on the demulator Jan 08 06:16:11 emu no prob...only on device have I seen problems Jan 08 06:16:15 emulaot Jan 08 06:16:21 ok Jan 08 06:16:39 what does it do? just runs sluggish? Jan 08 06:17:25 if you go crazy and move around a lot in the sat field and move the slider up and down a lot eventually it becomes really sluggish and will stop responding randomly Jan 08 06:17:27 is there another why of doing what "event.target.id" does? Jan 08 06:17:47 I don't know what that doesn't work...I have the EXACT same thing in one of my apps Jan 08 06:17:53 Speaking of profiling, WORM shows number of DOM nodes and service requests, but are there any tools for finding which functions my app is spending the most time in? Jan 08 06:18:33 DougReader: yes, that's what I was referring to. There is Mojo.Timing Jan 08 06:19:04 The Timing class provides various methods that allow you to get timing info Jan 08 06:19:37 anyone have their phone handy? Jan 08 06:19:55 DougReader: unfortunately not a good JS profiler like Chrome and Safari have though Jan 08 06:20:06 prototypic: yep Jan 08 06:20:12 I am on a local network and cant test everything the way I want, I need you to go to a url in your phone browser and the same one in your pc browser Jan 08 06:20:21 just to test if you get different behavior Jan 08 06:20:36 Ok, what's the URL Jan 08 06:20:57 jfelectron: did some tests can not get "event.target.id" to pass anything, it is just blank Jan 08 06:21:29 http://prototypic.browsermarks.preshop.us Jan 08 06:21:53 pc should bring up the palm site to push to your phone, pre should link right to the app Jan 08 06:21:55 [nods] Jan 08 06:22:43 prototypic: I can confirm you have a launch Jan 08 06:23:01 what I cant test is the pc Jan 08 06:23:18 redirects to palm site Jan 08 06:23:19 since my wildcard dns I can't get to work thru my hosts file Jan 08 06:23:22 perfect Jan 08 06:23:36 figured I'd make a pretty url instead of this thing Jan 08 06:23:37 http://developer.palm.com/webChannel/index.php?packageid=com.foursquare.foursquare Jan 08 06:23:57 LoneStar99: how about other things like event.target.className? Jan 08 06:24:25 if you log event.target....does it indicate its an [Object HTML Element] or something like that Jan 08 06:24:47 btw that link will work with any app, yourcompany.appname.preshop.us Jan 08 06:25:15 ok enough shameless plugs Jan 08 06:25:21 gnight folks. happy dev Jan 08 06:25:29 oh cool, thanks Jan 08 06:26:05 have "debuggingEnabled": true, Jan 08 06:26:06 "logLevel": 20 Jan 08 06:26:16 and still do not see jack Jan 08 06:26:28 I'm sure I can puzzle out the Mojo.Timing API docs eventually, but is there an intro anywhere? Jan 08 06:27:03 DougReader: I haven't see one unfortunately....guessing most devs apart from prof houses aren't using it Jan 08 06:27:10 I think logLevel needs to be 99 to see timing info. Jan 08 06:27:53 DougReader: separate issue.....we're trying to sort out some odd tap handling Jan 08 06:28:46 LoneStart99: Are you seeing the tap event in your logs and does it indicate a target or is it undefined? Jan 08 06:29:12 LoneStar99: your elements definitely have unique IDs right? Jan 08 06:30:03 i will change the name brb Jan 08 06:30:48 they have to be unique, b.c they work doing it the hardcoded way Jan 08 06:30:57 good point Jan 08 06:31:30 One way I've run into trouble is having the same IDs in different scenes that have both been pushed -- i.e. IDs need to be unique within the stack of scenes currently pushed. Jan 08 06:31:40 You should see something like: 'mojo-tap' targeting element 'DIV#send-button' and details {down:[object Object], count:1, up:[object MouseEvent]} Jan 08 06:32:00 DougReader: yes, because they are oddly enough all loaded in the DOM Jan 08 06:32:15 jfelectron: why do you think I do not see any of that? Jan 08 06:32:29 try setting your log level to 99 Jan 08 06:32:43 i am using cmd prompt... Jan 08 06:32:47 and do you have "logEvents":true Jan 08 06:32:48 is that right? Jan 08 06:33:18 you should see it returned by palm-log Jan 08 06:33:52 "logEvents":true, in framework_config.json Jan 08 06:34:14 Ok, I'm going to eat dinner and such....catch you tomorrow I guess Jan 08 06:34:51 If you can use the debugger break inside your event handler and query the hell out the event.target to figure out what's going on Jan 08 06:34:57 jfelectronL u in the US? Jan 08 06:35:00 Yew Jan 08 06:35:06 Yes....eating late Jan 08 06:35:10 West coast Jan 08 06:35:14 oh yeah it is is only 10.35 in calu Jan 08 06:35:16 cali Jan 08 06:35:22 yup Jan 08 06:35:25 cool Jan 08 06:35:35 later, good luck! Jan 08 06:35:41 thanks, Jan 08 06:41:52 Okay, I'm off to bed. Thanks, all! Jan 08 06:56:58 heyyy Jan 08 06:57:16 can't sleep decided to see what te gang was doin Jan 08 06:57:40 not a whole lot. Jan 08 06:59:18 need for speed is nice I must say Jan 08 07:00:10 it looks pretty good Jan 08 07:00:20 I haven't tried it though Jan 08 07:01:03 i just made a twitter account that lists new apps as they come out using my smart url service to open the app directly on the phone Jan 08 07:01:04 http://twitter.com/webosappcatalog Jan 08 07:03:26 cool Jan 08 07:03:49 pretty lame, but I like simple projects i can knock out in an hour or so Jan 08 07:04:29 I feel u Jan 08 07:04:41 I'm trying to think of my next webos app Jan 08 07:06:40 iv got plenty of ideas, and serverside apis hooked, just dont have time to do the mojo part Jan 08 07:06:43 want to team up? Jan 08 07:06:53 lol I need a partner bad Jan 08 07:07:26 prototypic: have you worked out how to get the palm app catalog app to install a homebrew link? Jan 08 07:08:42 nope, I know nothing about internals yet. I havn't even ssh'd to the device yet to see what things look like. Jan 08 07:09:29 prototypic: http://install.preware.org, then install OpenSSH SFTP Server, then put your authorized_keys file in /home/root/.ssh/ Jan 08 07:09:59 prototypic: we can talk about it 2mro Jan 08 07:10:19 sounds good? Jan 08 07:10:37 hehe sure Jan 08 07:10:51 rwhitby: thanks that will help. Jan 08 07:11:26 actually wait, I did this on my old phone, just didnt know about authorized_keys file in /home/root/.ssh/ Jan 08 07:11:50 prototypic: we've moved from manual script to everything in Preware now Jan 08 07:11:57 no passwords, ssh keys only Jan 08 07:12:02 log in as root Jan 08 07:13:13 slick Jan 08 07:13:58 ttyl night night Jan 08 07:15:31 yawn, I'm out as well. rwhitby: ill let you know if I can hook the app catalog Jan 08 07:15:49 prototypic: good night Jan 08 07:21:40 night Jan 08 07:51:51 could someone help me with wIRC? I'm getting error -1 when trying to connect to any server Jan 08 08:10:55 I'm trying to find an edit button for my commandMenu, but neither edit-profile or edit-contact work. Is there an edit button I can use? Jan 08 08:38:11 whats the url for the palm app catalog Jan 08 10:27:03 im from india ,I tried registering for palm developer program. In the form Us tax information and us tax payer id is being required as mandatory information, which is not applicable to me. Jan 08 10:27:20 is there any restrictions ? Jan 08 10:43:06 avinash: I put "Not Required" in that field Jan 08 10:44:03 is paypal account required ? im rediraected to payal if i enter some data in tax screen Jan 08 12:15:29 goodmormning Jan 08 12:31:44 morning Jan 08 12:47:34 yawn Jan 08 12:58:29 prototypic: good morning Jan 08 14:14:07 hello world Jan 08 14:14:27 hi haeffe Jan 08 14:15:01 hows the world of Ajax? Jan 08 14:15:15 super clean... Jan 08 14:15:21 but a little abrasive.. Jan 08 14:16:13 awesum Jan 08 14:16:38 put that one on the back burner to finish up real world work... Jan 08 14:16:42 and hows your little jason? Jan 08 14:16:56 a brat as always.. Jan 08 14:16:57 bummer.real world sucks Jan 08 14:17:34 i look forward to finishing up the ajax project tho Jan 08 14:17:34 no wait. really? Jason? Jan 08 14:18:41 u download the PDK yet? Jan 08 14:19:01 nope Jan 08 14:19:18 i'm not gonna relearn C Jan 08 14:19:25 just messing with ya. not available yet.. Jan 08 14:19:29 u forgot C? Jan 08 14:20:13 pointers to pointers and all that crap Jan 08 14:20:32 c++? Jan 08 14:20:34 <_lance_> i'm going to experiment with compiling python w/ sdl to C++ and Jan 08 14:21:01 <_lance_> 'cause i avoid c if at all possible.. Jan 08 14:21:09 _lance_ check out the webos-internals kit too Jan 08 14:22:17 I might still have a K&R C book laying around somewhere Jan 08 14:22:59 never did get into C++ - that came out a bit too late for me Jan 08 14:23:22 pointers more frustrating than JS/Webos world of async? Jan 08 14:23:23 <_lance_> oh the cross compiler? yeah, i gave it a glance. i couldn't work out how much documentation was out there about using any phone features. Jan 08 14:23:51 <_lance_> like the camer for example, since porting a barcode scanner using the camera would be cool Jan 08 14:24:22 why is barcode scanning so important to ppl? you work in a grocery store or something? Jan 08 14:24:42 <_lance_> i just like to pricematch things while walking around a retail store Jan 08 14:24:52 google search brought this up Jan 08 14:24:52 http://ebooksdb.com/category/c_c/ Jan 08 14:24:59 Bmyers_, you never see barcode battler? Jan 08 14:25:10 no? Jan 08 14:25:14 <_lance_> Bmyers_: I was also working on a phone client for goodguide.com last semester Jan 08 14:26:17 my old treo could do BC scan, i am surprised the pre cannot Jan 08 14:26:34 <_lance_> kinda hard to implement a barcode recognizer in javascript Jan 08 14:26:45 ship it off to a server that can Jan 08 14:26:58 _lance_: negative Jan 08 14:27:04 cloud based computing man.. Jan 08 14:27:08 <_lance_> 500mb data plan Jan 08 14:27:11 the hard part would be getting the right focus on the barcode Jan 08 14:27:29 <_lance_> though.. i guess a 3mp image isn't that big Jan 08 14:27:52 have u ever tried putting the camera to a barcode Jan 08 14:28:01 u can hardly make out what it is Jan 08 14:28:02 <_lance_> the pre camera? no. iphone camera, yes. Jan 08 14:28:02 cant you do some canvas wizardry for barcode? Jan 08 14:28:07 pre camera Jan 08 14:28:16 treo camera could tho? Jan 08 14:28:25 <_lance_> not yet. just got the pre camera 16 hours ago.. and spent the last 8 hours sleeping. Jan 08 14:28:27 there was a better camera in the treo was there? Jan 08 14:28:29 <_lance_> s/pre camera/pre/ Jan 08 14:28:39 not sure would be nice if the pre camera had a macro focus Jan 08 14:29:17 u can use it as a flashlight tho is thats any consolation. Jan 08 14:29:29 lol Jan 08 14:30:22 come on lance. the -internal guys had DOOM running 8 hours after SDL was released.. Jan 08 14:30:42 u'r just slacking off up there in T.O. Jan 08 14:30:59 :) Jan 08 14:32:25 lol Jan 08 14:33:06 anyone remember the palm VII ? Jan 08 14:33:22 <_lance_> haha.. i was playing with the mojo sdk. Jan 08 14:33:35 <_lance_> and yes, i still have a palm vii sitting on my self, bought it for.. $7. Jan 08 14:33:48 <_lance_> in the palm vii days i was using a nokia 3360 as a tdma modem Jan 08 14:33:55 u could write web apps for it Jan 08 14:34:11 and then there was the native app devel for palm pilot Jan 08 14:34:19 and web apps died.. Jan 08 14:34:29 <_lance_> I don't expect mojo apps to die Jan 08 14:34:45 because? Jan 08 14:35:37 atlanta: getting my notebook up to snuff. upgrading to 8.04 now. 9 next Jan 08 14:36:23 cool cool Jan 08 14:36:44 <_lance_> Bmyers_: some things aren't worth writing in C Jan 08 14:36:54 i gotta recompile the cross-compile tool Jan 08 14:37:06 scratchbox? Jan 08 14:37:09 yea Jan 08 14:37:27 * atlanta is currently reading a c++ ebook Jan 08 14:37:41 <_lance_> and you can run elaborate js on the pre quite well from what i can see Jan 08 14:38:20 cant write a stink'n file.. Jan 08 14:38:39 what u meea Jan 08 14:38:41 mean Jan 08 14:38:56 <_lance_> yeah, that does suck, and looks like security issues will be a problem for writing a RSS parser. Jan 08 14:38:56 u can dl one. cant create one.. Jan 08 14:39:41 <_lance_> Oh, hell, gotta run to class Jan 08 14:39:42 <_lance_> bbl Jan 08 14:39:43 _lance_: negative Jan 08 14:39:53 rss parser works pretty well Jan 08 14:41:24 lance: see u later when you have no class.. Jan 08 14:41:59 <_lance_> atlanta: hm. you're right again, going back to the MF article that gave me the notion about security issues, it was solved by switching which frame he did the parsing in. Jan 08 14:42:49 * _lance_ afks now for real Jan 08 14:46:52 preware is still flaky for me.. anyone else having preware weirdness? Jan 08 14:49:25 it cant update previously installed patches. Jan 08 14:49:26 * haeffb_pre has too many cards. rebooting pre Jan 08 14:49:46 this is a nice ebook Jan 08 14:49:52 Bmyers_: what kind Jan 08 14:49:52 ? Jan 08 14:50:01 do u get a hunk erro Jan 08 14:50:03 error Jan 08 14:50:04 ? Jan 08 14:50:10 spin mode Jan 08 14:50:17 oh Jan 08 14:50:24 then never had that problem Jan 08 14:50:36 never stops spinning while updating a patch Jan 08 14:51:12 reinstall the package man and preware Jan 08 14:51:43 yeah i updated those with mvapp. Jan 08 14:51:52 guess removal and reinstall is worth a shot Jan 08 14:53:34 btw anyone with twitter follow me! Jan 08 14:53:35 http://twitter.com/webosappcatalog Jan 08 14:53:45 app caatalog releases Jan 08 15:04:26 welcome back kotter Jan 08 15:05:24 thanks prototypic Jan 08 15:07:40 welcome, thanks for followin Jan 08 15:27:33 g'day everyone Jan 08 15:28:12 /w 19 Jan 08 15:31:32 anyone notice repeating Outlook calendar from last year are not alerting? Jan 08 15:38:01 so i just got the phone will shutdown soon notice with 76% left Jan 08 15:38:01 lol Jan 08 15:38:02 wierd Jan 08 15:44:06 atlanta: battery instalation reinstall needed perhaps? Jan 08 15:45:14 Hello, I thought I wrote down a URL that, on a device, downloads the app, but on a desktop computer, shows the app in Appetite -- but I didn't. Does anyone know the URL? Jan 08 15:49:33 yes Jan 08 15:50:04 DougReeder: http://companyname.appname.preshop.us Jan 08 15:50:23 for instance, http://prototypic.browsermarks.preshop.us Jan 08 15:50:24 Ah, thank you! Jan 08 15:50:36 and I have a feed of all apps wrapped in that url if you want it Jan 08 15:50:48 http://prototypic.net/pre/feed.rsb Jan 08 15:51:09 I hope xmarks comes to webos Jan 08 15:51:16 xmarks? Jan 08 15:56:09 http://www.xmarks.com/ Jan 08 15:56:22 bookmark syncing Jan 08 15:59:03 ill add it to browsermarks this week Jan 08 15:59:08 no i wont they dont have an api Jan 08 15:59:13 lame, so 1999 Jan 08 16:01:48 hi Jan 08 16:02:17 orientationevent is broke in 1.3.5 ? Jan 08 16:08:49 another question (are you still sleeping?) How do create a new thread in the dev forum? Jan 08 16:09:22 there is no button to create a new thread... Jan 08 16:10:56 MetaView: it's there, but tis hard to see... white on Gray Jan 08 16:13:13 around where? Jan 08 16:13:33 right, thx a bunch Jan 08 16:13:41 it's light gray over light gray Jan 08 16:14:12 just when I move the pointer over it, I can see, there is something... who is to blame for this? How, stupid... Jan 08 16:17:14 freaking, I have to watch my monitor from below to see the buttons... Jan 08 16:18:16 I Heart 3D games Jan 08 16:18:58 prototypic: That's a bummer on the lacking API. I'm just a users and it works nice for having the same bookmarks on different machines and places Jan 08 16:21:23 yea, that's why I use delicious. Jan 08 16:21:41 I plan on supporting chrome bookmark synch, firefox bookmark synch too Jan 08 16:21:48 and maybe stumbleupon Jan 08 16:22:08 anyone know of a good company you can hire to make art for webos games? Jan 08 16:22:14 stumble would be sweet Jan 08 16:23:03 YellowIcon does beautiful icons, but they don't handle CSS and HTML. Jan 08 16:23:38 ... and their grasp of English is not quite as good as their perfect grammar might make it seem. Jan 08 16:23:50 DougReeder: talk to JenP Jan 08 16:24:33 SugarDave, I should talk to JenP in regard to which conversational thread? Jan 08 16:25:10 i dunno i have an idea for a few different games but i'm horrible with art Jan 08 16:27:16 sugardave: any real reaon why a project does not show up like a mojo mobile project in eclipse? Jan 08 16:28:04 DougReeder: game graphics, sorry Jan 08 16:28:14 LoneStar99: unknown, never used eclipse Jan 08 16:28:37 =( Jan 08 16:31:15 * sugardave hopes for PDK early access. Jan 08 16:31:22 I hired YellowIcon to create the icons for my application, and I am pleased with their work. However, they are unable to work with HTML and CSS, so there are aspects of graphical design they can't help you with. Jan 08 16:31:52 DougReeder: it's not JenP per se, but her boyfriend, I believe, who is the "graphics guy" for some of the devs here Jan 08 16:32:28 [nods] Jan 08 16:32:45 sugardave: do one need to apply for it? Jan 08 16:33:01 MetaView: yeah, there's an email link somewhere....let me see if I can find it Jan 08 16:33:18 Full Video Of Palm's CES 2010 Presentation Up Now http://bit.ly/5buPVU Jan 08 16:33:20 would be gret, thx Jan 08 16:33:23 +a Jan 08 16:33:24 hello guys Jan 08 16:34:36 MetaView: http://developer.palm.com/index.php?option=com_content&view=article&id=1850&Itemid=20 Jan 08 16:34:45 at the bottom of that page is an email and instructions Jan 08 16:35:32 thx Jan 08 16:35:35 np Jan 08 16:36:03 ooops, forgot to use bit.ly again :P Jan 08 16:36:40 sugardave, they should make a url clipboard catcher that will auto shorten urls over xxx length Jan 08 16:36:57 I made a catcher like that once for spotify links Jan 08 16:37:35 Do we have anything good to backup contacts Jan 08 16:39:18 doubtful there will be anything official, iir alm only gives you programatic access to one contact at a time, one that the user must select Jan 08 16:39:39 the palm backup options might handle contacts tho, I assume it would Jan 08 16:39:52 prototypic: I think I just need to do something fancy with a toolbar or something Jan 08 16:39:54 I'm just lazy Jan 08 16:40:44 Contacts are backed up in the Palm Profile. Jan 08 16:41:07 sugardave: thx, applied Jan 08 16:42:13 MetaView: cool, good luck Jan 08 16:42:51 thx, will see Jan 08 16:42:52 Anybody know if the Pre Plus will drop with Video and Flash support? Jan 08 16:43:02 at least I'm much more familiar with C than with JS Jan 08 16:43:30 IRRC Video and Flash are coming in "February", while the Pluses will be available "Jan 30". Jan 08 16:43:50 well i mean an app, didnt webos internals make a backup app Jan 08 16:44:47 dumps the data into a zip file Jan 08 16:44:49 MetaView: it's going to be completely new territory for me...that's why I want it now....going to take me a while to get my mind around new things Jan 08 16:45:17 that's what webOs was for me... all the JS,CSS stuff Jan 08 16:45:34 me, too :D I'm dangerous now....know enough to get in real trouble Jan 08 16:45:45 :) Jan 08 16:45:54 Since the OS calls are asychronous, you can't even use _flowcharts_ you used in other handheld apps. Jan 08 16:46:37 BTW, if you haven't read _JavaScript: The Good Parts_, start with that. Invaluable in learning what to use and _not_ use in JavaScript. Jan 08 16:47:20 DougReeder: oh yes, excellent book Jan 08 16:47:20 Oh menno - I break my head why the ad isn't shown, but I was changing the english html and forgot about the german one Jan 08 16:47:26 helped me a lot Jan 08 16:47:34 argh, reading... Jan 08 16:47:40 :) Jan 08 16:48:02 MetaView: it's a really small book Jan 08 16:48:05 and great Jan 08 16:49:04 [grins]Anyone going to set a Pre Plus next to an Apple II+ ? Jan 08 16:49:42 so im looking to add a dashboard to my app. from what i gather i have to create a new stage? or a new scene? Jan 08 16:50:20 yetdog: not sure, haeffb_pre and Bmeyers know all about dashboards Jan 08 16:50:42 I think you need to make a "multi-stage" app (even if you just have one so you can use the app controller Jan 08 16:50:49 again, I have no idea what I'm talking about Jan 08 16:51:03 haha thanks sugardave, but i do thikn you're right Jan 08 16:51:06 multi-stage, and all Jan 08 16:51:16 multistage Jan 08 16:51:20 haeffb_pre: tell yetdog how to do dashboards Jan 08 16:51:23 haeffb_asleep says it all :) Jan 08 16:51:25 yes: add an app assistant Jan 08 16:51:34 set nowindow to true Jan 08 16:51:51 the app assistant needs to be the first file in sources.js Jan 08 16:51:52 json Jan 08 16:52:06 the dashboard assistant, you mean? Jan 08 16:52:13 just did it to support relaunch with arguments Jan 08 16:52:34 no the dashboard comes later, first create a multistage app with an app assitant Jan 08 16:52:38 leaving to take Mom to the airport....bbiaw Jan 08 16:52:40 this will be a nice way to get me started - i only have a 1-scene app that im gonna add this to Jan 08 16:52:54 do you have the webos book? Jan 08 16:52:57 damn how i wish i had my book with my today lol Jan 08 16:53:01 it was quite a good help Jan 08 16:53:02 i have the apress one, just not with me :( Jan 08 16:55:54 MetaView: would it be something like this? Jan 08 16:55:54 http://pastie.org/771687 Jan 08 16:57:53 no Jan 08 16:58:06 doh. :) Jan 08 16:58:46 moment Jan 08 17:00:11 http://webos.pastebin.com/d7dd8a7a8 Jan 08 17:01:12 thanks MetaView...gonna take a bit of time to read about it i think :) Jan 08 17:01:23 just to get my head around it after doing a single stage/multi scene app Jan 08 17:02:30 this app-assistant only calls one stage, but you would add another stage Jan 08 17:02:47 for the dashboard you will need to handle tap and then launch your app in the handler Jan 08 17:03:58 at least it's what they do in the book :) Jan 08 17:06:04 thanks for your help MetaView :) Jan 08 17:10:12 yetdog_: you're welcome, hope it helps Jan 08 17:23:16 MetaView: why would i want to do nowindow: true, if my app has a window? Jan 08 17:34:14 morning chuqui Jan 08 17:34:23 nowindow:true means the AppAssistant will create all stages -- the framework will not create one for you. Jan 08 17:35:02 Bmyers_ - are you there? :) Jan 08 17:35:03 morning Jan 08 17:35:21 thanks DougReeder - got the app assitant "working" as in, launching my app normally instead of using the stage-assistant Jan 08 17:35:33 just need to figure out how i should create the dashboard Jan 08 17:39:10 could be the appcatalog always gorgets my translations? Jan 08 17:40:33 chuq: how is the CES? Are you there? Jan 08 17:41:30 * MetaView added AdMob to its game - wouldn't mind to monitarize some of the 35k downloads... Jan 08 17:42:11 and fixes the orientation bug Jan 08 17:42:38 btw, http://www.projectappetite.com/ is really cool Jan 08 17:45:15 so, i am attempting to convert my app from paid to free... i dont' seem to be able to do it via the web interface Jan 08 17:45:37 anyone ever attempted? Jan 08 17:45:38 hcatlin: that's what your handler is for Jan 08 17:45:44 haha, alright, i'll call him Jan 08 17:46:16 hcatlin: couldn't you just makea free version, called light Jan 08 17:46:17 MetaView: indeed it is Jan 08 17:46:22 i wonder if new devs get a handler? Jan 08 17:46:38 my handler is cool Jan 08 17:46:39 :-) Jan 08 17:46:42 Judi is mine, I won't share her :D Jan 08 17:46:44 jonathan is mine Jan 08 17:46:52 MetaView: same here lol judy Jan 08 17:46:57 judy is great Jan 08 17:48:20 haha judy is mine as well Jan 08 17:48:42 ok, we could make a Judy Fan-club :) Jan 08 17:50:30 What is Top-Grossing? Jan 08 17:51:38 most $ Jan 08 17:52:13 that projectappetite is flawed tho, it shows the wrong version number for my app, it shows the first version not the current Jan 08 17:52:13 ok Jan 08 17:52:18 yetdog: ? Jan 08 17:52:25 dawm__: its just your app not the site Jan 08 17:52:26 heheheh Jan 08 17:52:32 and MetaView lets do it Jan 08 17:52:33 lol Jan 08 17:52:38 lol Jan 08 17:57:36 hi guys Jan 08 17:57:58 if you have mojo questions to ask of palm engineer, ask me now, and I'll try to get them in. Leaving for meeting in 5 minuts. Jan 08 17:58:34 don't be silly, I dont want to spend 20 minutes listening to "I can neither confirm or deny." Jan 08 18:01:27 im curious about the release cycle for ares Jan 08 18:01:32 when can we expect an update Jan 08 18:02:20 soon and frequently Jan 08 18:02:23 Rick_work: when will man land on mars? Jan 08 18:02:25 already know that one Jan 08 18:02:33 Rick_work: orientation event is broekn in 1.3.5 Jan 08 18:02:35 Lonestar99 before 3000 ad Jan 08 18:02:41 ok thanks Jan 08 18:03:02 Metaview that's not a question -- details, and have you posted a bug on the bugs area at developer.palm.com Jan 08 18:03:05 LoneStar99: 2020 I thought Jan 08 18:03:11 Rick_work: the forum site is unusable, the buttons are too hard to find Jan 08 18:03:39 Rick_work: nope, only in the forum, the event.orientation member has the wrong values Jan 08 18:03:55 when will there be a Voice API? Jan 08 18:03:56 * MetaView has no questions, only complains Jan 08 18:04:07 When will be a sound API Jan 08 18:04:12 MetaView Details? Jan 08 18:04:19 global mute/unmute, volume Jan 08 18:04:23 MetaView no palm persson will answer when. Jan 08 18:05:03 details: up is documented as 2 but with 1.3.5 I get 3 Jan 08 18:05:22 form questions in such a way as to illicit a yes or no: can we expect within this quarter to have xxx feature Jan 08 18:05:26 Means you want How-To questions? Jan 08 18:05:51 Can we expect serial BT support from Mojo? Jan 08 18:06:16 Can we expect file support from Mojo? Jan 08 18:06:27 Can we expect raw socket support from Mojo? Jan 08 18:06:39 add "soon" to all questions Jan 08 18:06:41 meta bt WHAAT? Jan 08 18:06:44 file no Jan 08 18:06:45 answer: download the pdk Jan 08 18:06:47 socket yes Jan 08 18:06:56 when "IKNCOD" Jan 08 18:07:03 Voice API anytime soon? Jan 08 18:07:05 ooops ICNCOD Jan 08 18:07:15 BT : Bluetooth Jan 08 18:07:26 LoneStar99 good question and I'll try to get a facial expression Jan 08 18:07:33 Meta SERIAL BT ?????? HUH? Jan 08 18:08:09 yes, serial transport over bluetooth, also known as VfComm Jan 08 18:08:20 example? Jan 08 18:08:37 talking to a GPS mouse works over serial BT Jan 08 18:08:58 raw BT is needed for stuff like HID support Jan 08 18:09:04 BT mouse, BT keyboard Jan 08 18:09:22 AHHHH Jan 08 18:09:23 or even the other way around: your Pre as touchpad on a desktop Jan 08 18:09:26 now I know what you mean Jan 08 18:09:28 ok Jan 08 18:09:31 ok thx :) Jan 08 18:09:34 I'll ask. but expect ICNCOD Jan 08 18:09:41 no problem Jan 08 18:09:44 MOJO QUESTIONS? Jan 08 18:09:51 file support: no is a pity, btw Jan 08 18:09:55 ok, dinner time Jan 08 18:11:57 MetaView: i have your app assistant code all set up, but now my "main" scene isnt running a function that it should automatically Jan 08 18:12:31 Bmyers_ sorry man, mirc window wasnt scrolled Jan 08 18:12:35 you still there? Jan 08 18:15:19 Rick_work: BT hardware access through Mojo Jan 08 18:15:35 how do we do proximity check with another device Jan 08 18:15:37 ? Jan 08 18:15:50 or "discover" that another webOS device is nearby? Jan 08 18:16:15 * sugardave is probably too late. Jan 08 18:16:40 any other dashboard experts here? Jan 08 18:18:32 yetdog: yes, sugardave Jan 08 18:18:53 he's a dashboard brainiac.. Jan 08 18:18:57 pffft Jan 08 18:19:01 :) Jan 08 18:19:18 ok well lemme give you a quick background on my app Jan 08 18:20:04 one-scene app (well, 2 if you count the help scene) that runs an ajax call initially, and then again every 60 seconds, displaying a banner alert if the query results are different than the last time, with the banner alert displaying the different (ie, new content) Jan 08 18:20:32 so pretty simple and straightforward app Jan 08 18:20:48 but what i want, is to create a dashboard that queues up these alerts in the case that a user doesn't see them right away Jan 08 18:20:58 so they can page through each alert Jan 08 18:21:28 im used some example code from MetaView, and have an app-assistant that loads the main scene and i thought it would act normally, but now my ajax updater function isnt running Jan 08 18:21:47 so im trying to shoehorn my current app into a multi stage structure for a dashboard Jan 08 18:21:53 thats it, in a fairly large nutshell Jan 08 18:22:41 do u use $() anywhere? those are not likely to work after going multistage Jan 08 18:23:16 indeed i do :) Jan 08 18:23:22 yetdog: can you paste the code for your Ajax updater function? Jan 08 18:23:26 yetdog: just use different "divs" at differernt time periods Jan 08 18:23:38 yeah, cant do that in multistage app.. Jan 08 18:23:43 have them stack one above the other Jan 08 18:24:06 LoneStar99: well im not really concerned w/ creating the dashboard scenes at the moment, just kind of getting the structure set up to have them, y aknow? Jan 08 18:24:09 then pastebin your ajax stuff. you might have to refer to things a little differently Jan 08 18:24:15 sure thing Bmyers_ Jan 08 18:24:27 sugardave would be happy to review them. Jan 08 18:24:35 :) Jan 08 18:24:35 hehe Jan 08 18:24:47 I can REALLY break it, too Jan 08 18:25:03 http://webos.pastebin.com/m209ed479 Jan 08 18:25:05 thanks guys :) Jan 08 18:25:05 if you're interested in some hands-on learning to troubleshoot Mojo ;) Jan 08 18:25:10 yes, he is an equal opportunity coder.. Jan 08 18:25:29 yetdog:
10:05 - Dell Buys Gateway
10.03 - Gateway Being Acquired
Jan 08 18:25:41 bzzzt: my mind shuts down when I see 'Class.create' Jan 08 18:25:43 sorry, bro Jan 08 18:26:02 class.create is not that bad sugardave Jan 08 18:26:07 evil Jan 08 18:26:09 that's what I hear Jan 08 18:26:11 fits right in with your extended widgets Jan 08 18:26:21 totally different :P Jan 08 18:27:20 yetdog: you are going to need to change all the $() stuff to the long way Jan 08 18:27:38 which is no biggie. what structure is the "long way"? hehe Jan 08 18:27:53 but also - i check network activity on my emulator, but its not executing :( Jan 08 18:28:01 so the function isnt running Jan 08 18:28:15 in testing im having it run every 5 secs Jan 08 18:28:19 but not running Jan 08 18:28:48 well, this.controller.get('id');, but that only works if this is correct Jan 08 18:29:12 i broke the code back down to its "original" form - ie, without the app-assitant Jan 08 18:29:24 something like Mojo.Controller.appController.getActiveStageController().activeScene().get('id'); should work anywhere Jan 08 18:29:27 and it functions well. when i put in the app-assistant and edit sources.json, it breaks Jan 08 18:30:03 so, I only see one $() reference anyway....and is main a variable there? You don't have the quotes around it if it's an id... Jan 08 18:30:12 line 8 Jan 08 18:30:25 yeah, main is the container Jan 08 18:30:39 perhaps the function is failing because of that Jan 08 18:30:40 ? Jan 08 18:31:08 it is possible, I guess...but not if it's working in your single stage mode Jan 08 18:31:35 its working in single stage Jan 08 18:31:40 still broken even after changing the reference Jan 08 18:31:42 to the super long way :) Jan 08 18:31:55 weird...so main is a variable name for 'main' scene or what? Jan 08 18:32:04 er div Jan 08 18:32:14 div id=main Jan 08 18:32:26 yeah, then line 8 should be $('main'); Jan 08 18:32:34 or the long way in your app asst version Jan 08 18:32:52 right, and it is Jan 08 18:32:57 now? Jan 08 18:32:59 (long way now that i have the app asst) Jan 08 18:33:08 ooh wait Jan 08 18:33:11 you put the quotes in> Jan 08 18:33:11 im getting an error on that long way Jan 08 18:33:12 ? Jan 08 18:33:14 Mojo.Controller.appController.getActiveStageController().activeScene().get('main Jan 08 18:33:22 Error: Cannot call method 'get' of undefined Jan 08 18:33:32 ah....no scene controller Jan 08 18:33:41 hmmm Jan 08 18:34:04 you've gone beyond my realm of knowledge Jan 08 18:34:07 :( Jan 08 18:34:20 hehe trust me, im way beyond MY realm, too :) Jan 08 18:34:44 oh, so where are you calling/creating this Ajax update....in the app assistant? Jan 08 18:34:50 or in a scene assistant? Jan 08 18:35:11 in the scene asst Jan 08 18:35:35 basically all i did to "app-assist-ify" my app Jan 08 18:35:41 really....that's strange, you should have an activeScene() object then Jan 08 18:35:41 was add the app assist to the top of sources.json Jan 08 18:35:50 and add the app-assistant.js file Jan 08 18:35:52 and the code in there Jan 08 18:35:58 which i will now pastie Jan 08 18:36:20 An error occurred during provisioning. Jan 08 18:36:20 Cannot connect to keystore. Jan 08 18:36:20 JKS Jan 08 18:36:33 jerks! Jan 08 18:36:35 installing palm sdk on ubuntu ^^^ Jan 08 18:36:42 http://pastie.org/771817 Jan 08 18:37:42 (that app-assistant code is from MetaView Jan 08 18:37:58 yetdog: so is that stageController var set correctly when you're in the scene? Jan 08 18:38:40 perhaps not - i dont do anything w/ it in the "setlist" (main) scene Jan 08 18:38:42 oh oh oh Jan 08 18:38:59 I seem to remember something doc had to do to one of my long examples and use the stage proxy instead Jan 08 18:39:01 this.controller.get doesnt work? Jan 08 18:39:06 havent tried..will now Jan 08 18:39:22 whats the problem Jan 08 18:39:25 im hungry Jan 08 18:39:35 Error: Cannot call method 'get' of undefined Jan 08 18:39:37 sugardave moms a lightweight.. thats the problem Jan 08 18:39:47 oh shit Jan 08 18:39:58 she need to turn that to false and become a card shit Jan 08 18:39:59 :) Jan 08 18:40:09 :-) Jan 08 18:40:39 i cant get at my code from where i am now... Jan 08 18:40:55 yetdog: whats ur problem Jan 08 18:41:19 yetdog: looking at getStageProxy...looks like it's not really applicable here Jan 08 18:41:31 afternoon all Jan 08 18:41:34 its not. Jan 08 18:41:35 atlanta ill copy/paste for ya Jan 08 18:41:37 anyone realize that these games perform better than some of the regular apps Jan 08 18:41:38 thats for something else Jan 08 18:41:49 renegaid: THEY USE ACCELRATION Jan 08 18:41:49 lol Jan 08 18:41:51 atlanta: ok well lemme give you a quick background on my app Jan 08 18:41:52 one-scene app (well, 2 if you count the help scene) that runs an ajax call initially, and then again every 60 seconds, displaying a banner alert if the query results are different than the last time, with the banner alert displaying the different (ie, new content) Jan 08 18:41:52 so pretty simple and straightforward app Jan 08 18:41:52 but what i want, is to create a dashboard that queues up these alerts in the case that a user doesn't see them right away Jan 08 18:41:53 so they can page through each alert Jan 08 18:41:53 yetdog: can you log the properties of stageController in your scene? Jan 08 18:42:02 it even performs better than the os itself Jan 08 18:42:05 sure Jan 08 18:42:09 this.stageController? Jan 08 18:42:12 or just stageController Jan 08 18:42:12 no Jan 08 18:42:15 just stageController Jan 08 18:42:34 yetdog: dashboard not working Jan 08 18:42:45 renegaid: ACCELERATION Jan 08 18:42:53 he went multistage and broke his app Jan 08 18:43:00 well atlanta - i wanna know how to structure it to create a dashboard. firs ttime doing multi-stage app Jan 08 18:43:10 hold on palm has a nice little thingy Jan 08 18:43:13 why isn't the dash using acceleration then. wirc is delaying the responses Jan 08 18:43:16 stageController not defined Jan 08 18:43:32 what line is that? Jan 08 18:43:37 yetdog: bummer...I thought it might be since it's getting set in the handleLaunch of the app asst Jan 08 18:43:43 yetdog: http://developer.palm.com/index.php?option=com_content&view=article&id=1794&Itemid=20#TheBasicsStages-CreatingAStage Jan 08 18:43:45 andd Jan 08 18:43:53 in my activate scene, just did a mojo log of stageController Jan 08 18:43:54 would make sense for the dash to have acceleration so it can be smooth Jan 08 18:44:06 ah atlanta! i did not see that Jan 08 18:44:10 thank you much :) Jan 08 18:44:13 yetdog: scroll down to dashboard panels Jan 08 18:44:15 http://developer.palm.com/index.php?option=com_content&view=article&id=1632&Itemid=20 Jan 08 18:44:27 yetdog: okay, now do the log on Mojo.Controller.appController.getActiveStageController() Jan 08 18:44:28 thats got the syntax for what to use instead of $() Jan 08 18:44:28 and change the multi stage app to a dashboard panel Jan 08 18:44:45 .get('blah') Jan 08 18:45:31 damn im a pretty helpful guy wont u guys agree Jan 08 18:45:31 ? Jan 08 18:45:37 ok sugardave stageproperties is an object now Jan 08 18:45:45 i love to help people Jan 08 18:45:51 how do i get it to spit its contents in the log? Jan 08 18:45:57 hey atlanta. see above Jan 08 18:46:12 JKS error installing sdk on ubu Jan 08 18:46:22 ok looking Jan 08 18:46:28 so Mojo.Controller.appController.getActiveStageController() returned an object? Jan 08 18:46:32 yetdog: ^^^^ Jan 08 18:46:51 Bmyers_: when i get home Jan 08 18:46:56 ill try to install it on my ubuntu Jan 08 18:46:59 and try to reproduce Jan 08 18:47:17 yes sugardave Jan 08 18:47:25 Info: STAGE PROPERTIES:[object Object] Jan 08 18:47:28 trying to reproduce is sometimes more fun than producing.. Jan 08 18:47:49 alright, I have my own special function for printing out objects...but there's an easier way... Bmyers_ what is the %j syntax for logging? Jan 08 18:47:59 thats it Jan 08 18:48:17 I see the pre plus is getting double the ram. 512mb Jan 08 18:48:36 Bmyers_: I need an actual example Jan 08 18:48:57 my stuff goes like this: debugObject(object); Jan 08 18:49:14 just put %j in the quotes and then , and the object Jan 08 18:49:22 ah Jan 08 18:49:35 Mojo.Log.info('My thing has %j', object); Jan 08 18:49:39 yetdog: ^^^^ Jan 08 18:49:40 bingo Jan 08 18:50:14 ahhh Jan 08 18:50:38 yetdog: I'm looking for activeStage() as a method in that objectr Jan 08 18:50:51 er, activeScene() Jan 08 18:50:53 pardon me Jan 08 18:51:01 ha Jan 08 18:51:10 Error: Error: Maximum call stack size exceeded Jan 08 18:51:15 hehe Jan 08 18:51:17 too big.. Jan 08 18:51:18 it's a large object Jan 08 18:51:25 thats this, by the way: Jan 08 18:51:25 hang on, I'll paste my debugObject function Jan 08 18:51:28 should be in there somewhere Jan 08 18:51:29 Mojo.Log.info("STAGE PROPERTIES: %j", Mojo.Controller.appController.getActiveStageController()); Jan 08 18:52:30 http://webos.pastebin.com/d4b23213c Jan 08 18:52:39 two functions, debugString and debugObject Jan 08 18:53:03 shnazzy Jan 08 18:53:16 should be able to give it a large object, but long strings in there might get truncated due to Mojo.Log limitations Jan 08 18:53:29 r we doing the for the right .get syntax? Jan 08 18:53:35 yes Jan 08 18:53:58 nice code - it spit it out Jan 08 18:54:03 which one are you looking for again? Jan 08 18:54:33 looking for activeScene as a function Jan 08 18:55:37 this? Jan 08 18:55:38 INFO: OBJECT ITERATION: considerForNotification : function (params){ var scene=this.activeScene(); if(scene&&scene.assistant&&scene.assistant.considerForNotification){ params=scene.assistant.considerForNotification(params); } return params; } Jan 08 18:55:47 nope Jan 08 18:55:58 found it Jan 08 18:56:03 it would be OBJECT ITERATION: activeScene : function blah blah blah Jan 08 18:56:09 INFO: OBJECT ITERATION: activeScene : function (){ var curScene=this.topScene(); if(curScene&&curScene.isActive()){ return curScene; } } Jan 08 18:56:18 word Jan 08 18:56:25 that's odd that it returned undefined Jan 08 18:56:28 earlier Jan 08 18:56:34 well lets see Jan 08 18:56:36 so this should be correct, dammit: Jan 08 18:56:54 Mojo.Controller.appController.getActiveStageController().activeScene().get(blah); Jan 08 18:57:30 quotes or no quotes Jan 08 18:57:42 quotes if it's a div id Jan 08 18:57:49 no quotes if you have a var set with the id string Jan 08 18:57:49 doesnt matter, get() is what its puking on Jan 08 18:58:06 *boggle* Jan 08 18:59:15 alright lets say i dont even care about that. comment it out. my network stuff should still run, right? Jan 08 18:59:19 if i have it checking every 5 seconds Jan 08 18:59:48 that seems reasonable Jan 08 19:00:04 yeah, now its failing on my help menu Jan 08 19:00:07 same issue im sure Jan 08 19:00:16 so these errors are stopping my function Jan 08 19:00:22 so we're on the right track Jan 08 19:00:48 fyi this is my help menu call Jan 08 19:00:48 this.controller.setupWidget(Mojo.Menu.appMenu, newsMenuAttr, newsMenuModel); Jan 08 19:01:38 and since all that stuff is in my original stage assistant Jan 08 19:01:44 im sure i have to reference it differently Jan 08 19:02:35 yetdog: yeah, I'm completely at a loss as to why .get() isn't showing up....try to debugObject(Mojo.Controller.appController.getActiveStageController().activeScene()); and see what's there? Jan 08 19:03:03 yeah. welp. i just comment out my help menu and still not doing the network activity every 5 seconds (test interval) :( Jan 08 19:03:05 ok lets see that Jan 08 19:03:51 there should be get, setupWidget, a whole slew of other shit Jan 08 19:03:55 ok , what would we be looking for in there Jan 08 19:04:00 k one sec Jan 08 19:04:55 INFO: OBJECT ITERATION: get : function (elementId){ var e=elementId; if(Object.isString(elementId)){ e=this.window.document.getElementById(elementId); } return e; } Jan 08 19:04:56 i'm just using this.controller.get() Jan 08 19:05:04 yetdog: wtf?! Jan 08 19:05:09 why would it say undefined? Jan 08 19:05:14 ha indeed Jan 08 19:05:16 maybe the app assistant isnt doing something right Jan 08 19:05:24 Bmyers_ ill bet youre right Jan 08 19:05:31 its very similar to palms example if not identical Jan 08 19:05:36 dude, I have no clue now Jan 08 19:05:41 obviosuly get exists Jan 08 19:05:52 as does the activeScene, and all before it Jan 08 19:05:54 http://webos.pastebin.com/m1bcb383c Jan 08 19:05:59 hi Adora Jan 08 19:06:16 hey adora! welcome! Jan 08 19:07:08 why commented out section yetdog? Jan 08 19:07:34 it was breaking on launchParams Jan 08 19:07:42 nvr mind. different example.. Jan 08 19:07:56 FYI sugardave Jan 08 19:08:26 this.container = Mojo.Controller.appController.getActiveStageController().activeScene().get('main'); Jan 08 19:08:26 Mojo.Log.info(this.container); Jan 08 19:08:38 if i do that in my activate(), it logs Jan 08 19:08:38 Info: [object HTMLDivElement] Jan 08 19:08:42 yep Jan 08 19:08:46 so that is correct Jan 08 19:08:48 so its not working INSIDE my ajaxresponder function Jan 08 19:08:54 gotcha Jan 08 19:08:56 (which is at the top of my code, if it even matters) Jan 08 19:09:44 explain to me what $super does Jan 08 19:09:48 .... Jan 08 19:10:02 are you extending Ajax.Base to make your own custom update checker? Jan 08 19:10:05 is that what this is? Jan 08 19:10:05 found that code online months ago when looking for a way to automate ajax calls Jan 08 19:10:09 and yes Jan 08 19:10:11 ah..... Jan 08 19:10:11 thats what its doing Jan 08 19:10:23 worked perfectly before i tried the multistage stuff Jan 08 19:12:26 yetdog: when using an app assistant, Mojo... doesn't work anymotre Jan 08 19:12:37 you need to access it using this.controller. Jan 08 19:13:06 hmmm Jan 08 19:14:12 this.controller.appController.getActiveStageController().activeScene().get('main') Jan 08 19:14:13 ? Jan 08 19:14:16 fails for me.. Jan 08 19:14:52 MetaView: really? I think it's working in Bmyers_ apps Jan 08 19:15:08 mojo.controller works in my activate function Jan 08 19:15:16 just not in my ajaxresponder one Jan 08 19:16:37 mmm coleslaw Jan 08 19:16:47 indeed Jan 08 19:17:13 possibly dumb question but, i can't seem to find the "Create Post" link on the forums Jan 08 19:17:22 codeslaw: 99% can't Jan 08 19:17:34 it's the wrong color and too small, I think Jan 08 19:17:51 codeslaw your not the only one Jan 08 19:18:11 iv never looked, but I'v seen at least 5 complaints today about that specific issue Jan 08 19:18:12 you just have to hover around the top near the 'new topic' text (which is also hard to find) until you see your pointer change Jan 08 19:18:15 it's lame Jan 08 19:18:15 yet. all my stuff is this.controller.get("myid"); Jan 08 19:18:16 haha, right when you said that, i highlighted all the text on the page and found it Jan 08 19:18:26 white text on a gray background, very nice Jan 08 19:19:13 they should have just made an app for the forum so all us webOS users could use that :P Jan 08 19:19:27 indeed Jan 08 19:19:38 are there any devs with us today? Jan 08 19:19:45 no devs here Jan 08 19:19:53 * sugardave looks around suspiciously. Jan 08 19:20:11 :o Jan 08 19:20:20 codeslaw: just kidding :P Jan 08 19:20:24 lots of devs in here Jan 08 19:20:36 word Jan 08 19:21:20 ughhhhh Jan 08 19:21:31 i wanted to get a feel for how you guys are planning for sdk updates, in light of all the new PDK stuff coming out Jan 08 19:21:44 yetdog: man, I wish I could tell you but I don't do my "classes" with Class.create Jan 08 19:21:56 codeslaw: oh....we're not Palm devs Jan 08 19:22:03 it sok sugardave you guys have been very helpful Jan 08 19:22:03 ooops :D Jan 08 19:22:13 oh haha ya Jan 08 19:22:20 app devs sure, i'm one of those Jan 08 19:22:29 hehe Jan 08 19:23:08 well have you heard anything? like, what we can expect in 1.4? Jan 08 19:23:19 i am dying for file IO Jan 08 19:23:42 codeslaw: nope, mum's the word I'm afraid Jan 08 19:24:02 Yes. They are adding a dish washer, and an automatic lawn mower. And wheels, you'll be able to use your Pre like an RC car Jan 08 19:24:05 and, fixing mousedown, mousemove events to be instantaneous, without the drag delay Jan 08 19:24:08 sugardave: is this a common log entry? Jan 08 19:24:09 Warning: indicated new content, but not active Jan 08 19:24:17 yes Jan 08 19:24:24 I get that ALL the time Jan 08 19:24:25 every app Jan 08 19:24:31 ok i thought so Jan 08 19:25:09 yetdog, find another example of app assistant handlelaunch Jan 08 19:25:34 doesnt look right.. Jan 08 19:25:40 got the book? Jan 08 19:26:11 i'm just hoping the framework doesn't get neglected in light of the binary sdk Jan 08 19:26:30 i have the book @ home (apress), not the oreilly one Jan 08 19:26:36 how about the example on palms site? use that? Jan 08 19:27:00 got the url? Jan 08 19:27:16 http://developer.palm.com/index.php?option=com_content&view=article&id=1794&Itemid=20#TheBasicsStages-CreatingAStage Jan 08 19:27:54 my autoajax function still not executing :( Jan 08 19:28:18 yetdog: what about a simpler updater example? Jan 08 19:28:31 attack the problem from a different direction Jan 08 19:28:40 and maybe enlightenment will come Jan 08 19:28:47 thats the only one i found... Jan 08 19:29:39 it seems more of my lack of knowledge on multistage apps Jan 08 19:29:44 obviously something w/ that is breaking it Jan 08 19:30:36 maybe ill create an multistage app from scratch and try plugging my stuff in Jan 08 19:30:36 your still just trying to launch your main scene tho right, not the dashboard? Jan 08 19:30:39 right Jan 08 19:30:44 doing nothing w/ my dashboard yet Jan 08 19:30:54 in that palm example Jan 08 19:31:01 just changing this Jan 08 19:31:02 stageController.pushScene("main"); Jan 08 19:31:03 to this Jan 08 19:31:07 stageController.pushScene("setlist"); Jan 08 19:31:17 (setlist is my main [only] scene_ Jan 08 19:32:46 is there a way to have a scene stand still, when the user is using scrolling with finger? Jan 08 19:32:51 yetdog: I may be being dense here...why not just use Prototype's Ajax.PeriodicalUpdater function unchanged? Jan 08 19:33:04 and control it via stop/start methods on whatever interval you want? Jan 08 19:33:34 (I also know that's not technically fixing the issue....just curious) Jan 08 19:33:49 sugar, i was unaware there was one.. Jan 08 19:33:53 :/ Jan 08 19:34:09 http://www.prototypejs.org/api/ajax/periodicalUpdater Jan 08 19:35:17 hmmm thanks Jan 08 19:35:34 np Jan 08 19:36:38 periodical updater is nice. just requires a window. Jan 08 19:37:41 LoneStar99: yeah, just disable the sceneScroller Jan 08 19:38:39 dont have my code in front of me. sorry yetdog... trying to get some mojo for my ubuntu.. Jan 08 19:38:55 sugardave: youve gotta be kidding me Jan 08 19:39:01 what Jan 08 19:39:02 ? Jan 08 19:39:03 network is working with that Jan 08 19:39:09 basic Jan 08 19:39:12 nice Jan 08 19:39:18 var update = new Ajax.PeriodicalUpdater('main', "http://www.antsmarching.org/tour/cron/api/readcurrentshow2.php", { Jan 08 19:39:18 method: 'get', frequency: 3, decay: 1 Jan 08 19:39:18 }); Jan 08 19:39:26 IMMM BACKKK' Jan 08 19:39:38 except i want my decay stuff to be custom Jan 08 19:39:46 actually nm Jan 08 19:39:50 well, you might have to do a little hackery for that Jan 08 19:39:56 not much, though Jan 08 19:39:56 yeah, actually i think its ok Jan 08 19:40:07 atlanta: u get the sdk installed? Jan 08 19:40:14 not home yet Jan 08 19:40:16 3:30 Jan 08 19:40:18 ill be off Jan 08 19:40:23 o Jan 08 19:40:25 yetdog: still no go Jan 08 19:40:25 ? Jan 08 19:40:43 problem is sugardave, in my ajax success function for the custom one, thats where i handle banner notifications Jan 08 19:40:44 I think he just got it working to push his scene Jan 08 19:40:52 yetdog: no problem Jan 08 19:41:04 there's another ajax thing for doing shit with every request yo umake Jan 08 19:41:09 just make an onSuccess right? Jan 08 19:41:17 that might work to Jan 08 19:41:18 too Jan 08 19:41:43 yes, onSuccess should work Jan 08 19:42:52 i find onSucces spotty Jan 08 19:43:04 i need to find the callback when shit times out Jan 08 19:43:46 good, onSuccess working Jan 08 19:43:58 atlanta: did u try OnShitFailed ? Jan 08 19:44:06 :) Jan 08 19:44:19 or r u just doing OnShitLoad ? Jan 08 19:44:23 atlanta: that's when you have to use the Ajax.Responders object, I think Jan 08 19:44:34 sugardave: thatssss what it was Jan 08 19:44:39 thanks for reminding me Jan 08 19:44:41 Bmyers_: lmfao Jan 08 19:44:41 np Jan 08 19:44:44 onshitload only Jan 08 19:45:00 LOL Jan 08 19:45:02 sorry, had to do it.. Jan 08 19:45:03 because even though getfuckingrequest times out onshitfails never get called Jan 08 19:45:20 but sugardave reminded me about the damn responders Jan 08 19:45:24 those sound like commands in the OS for the Palm Poop! Jan 08 19:45:35 he is good Jan 08 19:45:43 <- lucky Jan 08 19:46:01 better to be lucky than good some days.. Jan 08 19:46:08 indeed Jan 08 19:46:55 my 4yr old think I'm nutz laughing at my computer this much Jan 08 19:47:23 and i'm not the one in the pink tu tu Jan 08 19:47:26 (this time) Jan 08 19:48:18 hehe Jan 08 19:48:53 sweet, now onto how to create a dashboard :) Jan 08 19:48:54 fun! Jan 08 19:49:27 Bmyers_: lmfao Jan 08 19:49:35 yetdog: more like pain Jan 08 19:49:40 yetdog: gonna need your launchPArams working.. Jan 08 19:49:59 Bmyers_ no launch params in palm's example tho? Jan 08 19:50:05 yetdog: yea it is Jan 08 19:50:08 bad example Jan 08 19:50:22 let me find it Jan 08 19:51:03 sugardave: does every scene sceneScroller enabled by default? Jan 08 19:51:22 LS99 yes Jan 08 19:51:27 yetdog http://developer.palm.com/index.php?option=com_content&view=article&id=1598&Itemid=20 Jan 08 19:51:47 I would like a floating "Reload" button in the bottom corner of my scene, but I'm having trouble finding the right widget. Is this part of a builtin, or do I need to bring my own images? Jan 08 19:51:48 LoneStar99: you have to pass the disablescroller in the pushing of the scene Jan 08 19:52:08 ambackstrom: theres a refresh button for the command menui Jan 08 19:52:32 ambackstrom : find command menu Jan 08 19:52:47 label: $L('Reload'), icon: 'refresh', command: 'refresh' Jan 08 19:52:53 atlanta: i have my dashboard popping up on app startup :) Jan 08 19:52:56 thats the model for the item in the command menu Jan 08 19:53:00 not that i want it to do that lol Jan 08 19:53:02 :-) Jan 08 19:53:03 ah, great, thanks guys Jan 08 19:53:05 u r on a roll today atlanta Jan 08 19:53:05 but its a start lol Jan 08 19:53:14 Bmyers_: why thank you Jan 08 19:53:16 atlanta: where can I find doc for it? Jan 08 19:53:17 i used palm's example Jan 08 19:53:24 article 1632 Jan 08 19:53:36 yetdog: linky Jan 08 19:53:40 LoneStar99: one sec Jan 08 19:53:42 LoneStar99: search for disableSceneScroller at palm dev Jan 08 19:53:44 ok thanks Jan 08 19:54:40 http://developer.palm.com/index.php?option=com_content&view=article&id=1632&Itemid=20 Jan 08 19:54:44 under "dashboard panels" Jan 08 19:55:26 yetdog: u added that to your app assistant Jan 08 19:55:26 ? Jan 08 19:55:27 yetdog: http://webos.pastebin.com/d28f3a8c0 Jan 08 19:55:34 hey guys, if i select "paste" on an app's menu, how do i get the pasted data? (im not pasting into a text field or anything like that) Jan 08 19:55:52 atlanta, no, my ajax function Jan 08 19:55:58 IF there is a new song, pop up the panel Jan 08 19:56:01 oh ok Jan 08 19:56:04 cool Jan 08 19:56:05 ElVox: You might intercept the command and get the clipboard data. Jan 08 19:56:06 so i put it in place of my banner pop Jan 08 19:56:14 that exact code worked Jan 08 19:56:23 cool cool Jan 08 19:56:26 has anyone run into a problem with deleting rows from a list. In my delete event handler, I remove the row from the model and then call this.controller.modelChanged, but if i delete anything other than the last row, two rows get deleted. Jan 08 19:56:33 ah Bmyers_... Jan 08 19:56:50 Bmyers_: save that link Jan 08 19:56:55 will be asking for it later Jan 08 19:57:15 Epix: how r u changing the list? Jan 08 19:57:25 LoneStar99: make it an object and add ,disableSceneScroller: true Jan 08 19:57:43 LoneStar99: so {name:"scenename", disableSceneScroller: true} Jan 08 19:57:57 Bmyers_ the first thing, the main/dash stage variables Jan 08 19:58:04 if "setlist" is my scene, and "stage" is my stage Jan 08 19:58:11 Bmyers: this.listModel.items.splice(event.index,1) Jan 08 19:58:14 do i put stage or setlist for mainstagename Jan 08 19:58:27 pre101 that is kind of what I am asking, does the event object have clipboard data attached during a "palm-paste-cmd" or is there some Mojo api way of getting the clipboard data that i can't seem to find :D Jan 08 19:58:52 atlanta: you just read my mind, was just gonna ask that Jan 08 19:59:06 yea i do that with swapscene Jan 08 19:59:11 havent tested it on pushscene Jan 08 19:59:18 u might not need the object not sure Jan 08 19:59:21 play aroudn with it Jan 08 19:59:41 I think you need the object Jan 08 19:59:42 yetdog: "stage" Jan 08 19:59:58 * atlanta is reading minds now sweet :-) Jan 08 20:00:02 yes. :) thanks Jan 08 20:00:20 is prototype included in webos? http://www.prototypejs.org/ Jan 08 20:00:25 Bmyers: then I update some labels in my listModel and go this.controller.modelChanged(this.listModel) Jan 08 20:00:26 Tibfib: yea Jan 08 20:00:30 Tibfib: for now Jan 08 20:00:31 just got added in 1.3.5 Jan 08 20:00:33 lmfao Jan 08 20:00:39 sweet Jan 08 20:00:40 thanks Jan 08 20:00:51 Bmyers_ whats Hours.? Jan 08 20:00:57 Tibfib: not guaranteed to remain, but always include-able Jan 08 20:00:59 yetdog: his class Jan 08 20:01:06 my namespace.. its just a var Jan 08 20:01:09 sugardave: they gonna get rid of it Jan 08 20:01:10 ? Jan 08 20:01:17 no idea :D Jan 08 20:01:25 just read that again in the API example page Jan 08 20:01:26 oh just being a smart ass like me Jan 08 20:01:27 :-) Jan 08 20:01:34 so just get rid of the hours.? Jan 08 20:01:34 oh ok Jan 08 20:01:38 atlanta: this is how I am pushing my scene: "this.controller.stageController.pushScene('bg');" Jan 08 20:01:39 Palm actually states it on the page somewhere Jan 08 20:01:47 sugardave: oho k Jan 08 20:01:54 LoneStar99: yea do this Jan 08 20:02:19 this.controller.stageController.pushScene({name:"bg", disableSceneScroller: true}); Jan 08 20:08:00 jesus this is brutal Jan 08 20:08:04 or maybe im jut dump Jan 08 20:08:05 dumb* Jan 08 20:08:07 yep, thats it Jan 08 20:08:31 yetdog: what Jan 08 20:08:32 ? Jan 08 20:08:34 ta da! Jan 08 20:08:35 yetdog: get it? Jan 08 20:08:40 nope haha Jan 08 20:08:45 haeffe Jan 08 20:08:45 Bmyers_ using your code Jan 08 20:08:49 * haeffb reappears from nowhere! Jan 08 20:08:50 trying to crowbar my setup into it Jan 08 20:09:02 now yelling @ my about my stage-assistant Jan 08 20:09:08 the hours. thing is just a var .use your own simple var Jan 08 20:09:10 which was my original asst. for my setlist (main) scene Jan 08 20:09:17 yeah i broke that stuff down Jan 08 20:09:22 yelling about a diff file now Jan 08 20:09:25 remove that. Jan 08 20:09:31 reallly... Jan 08 20:09:37 i passed that in cause i wanted a stage ass Jan 08 20:09:38 but thats my other stage, isnt it? Jan 08 20:10:06 your old stage assistant passed in 1st scene Jan 08 20:10:06 AH HA! Jan 08 20:10:10 now u do it in app ass Jan 08 20:10:14 whoa just found the prototype thing: http://developer.palm.com/index.php?option=com_content&view=article&id=1637&Itemid=71 in the Note section Jan 08 20:10:27 atlanta: it works, but breaks some other code... Jan 08 20:10:33 just found out that if I forget to put noWindow: true when adding a handleLaunch, my app menu breaks. Jan 08 20:10:34 thanks Jan 08 20:10:39 i see Bmyers_ Jan 08 20:10:40 but what about this: Jan 08 20:10:41 var MainStageName = "stage"; Jan 08 20:10:41 var DashStageName = "dashstage"; Jan 08 20:10:50 great. Jan 08 20:10:53 youre telling me to remove "stage-assistant.js"? Jan 08 20:10:58 or just the push Jan 08 20:11:02 first one is to check if your app is running at all Jan 08 20:11:03 in stage Jan 08 20:11:22 where the hell is haeffb? Jan 08 20:11:23 the push in stage-assistant.js does nothing. Jan 08 20:11:28 ah ok Jan 08 20:11:31 assistantName: "StageAssistant" Jan 08 20:11:32 i removed the push statement Jan 08 20:11:45 haeffeb it can if u want it to Jan 08 20:11:57 so now its "working" - still creating the dashboard on startup, which i realy dont want it to, but that'll be fixed Jan 08 20:12:24 launch params Jan 08 20:12:30 if no params, normal launch Jan 08 20:12:44 if params, check for action: something Jan 08 20:13:20 if something = dash load dashboard Jan 08 20:13:34 if someting = log, spit out log and exit Jan 08 20:13:40 thats what mine does Jan 08 20:13:48 also "normal" launch Jan 08 20:14:09 i use normal launch to relaunch from dashboard to main app Jan 08 20:14:23 yetdog: glad you're working all this out, I'm just getting ready to add a dashboard to my app. Jan 08 20:14:24 getting there :) Jan 08 20:14:35 yeah, Bmyers_, atlanta and sugardave have been rockstars today Jan 08 20:14:40 well, they often are anyway Jan 08 20:14:48 Bmyers_: it can if you tell it to use a stageAssist. Jan 08 20:14:57 Otherwise, nothing...? Jan 08 20:15:22 assistantName: is a stage argument u can use Jan 08 20:15:25 dont have to tho Jan 08 20:15:49 so, if no argument, it doesn't even use stageAssistant? Jan 08 20:15:56 nope.. Jan 08 20:16:05 you can clear it out.. Jan 08 20:16:09 gotta go Jan 08 20:16:10 peace Jan 08 20:16:11 bwahahaha: http://www.youtube.com/watch?v=0bUxi_Eo6fU&feature=player_embedded Jan 08 20:16:19 qiuck q on this line: Jan 08 20:16:20 dashboardStage.delegateToSceneAssistant("updateDashboard", message, count); Jan 08 20:16:27 sugardave: are you the one who plays RockBand? Jan 08 20:16:37 "updateDashboard" - assuming that should be the name of my dashboard stage? Jan 08 20:16:40 "dashstage"? Jan 08 20:17:02 no, thats a method in dashboard-assistant.js Jan 08 20:17:24 wow. Jan 08 20:17:26 I wanted to reach out to you and see if we could talk about the MileZ name. I am CEO of a company called Automilez, and we do mileage logging among other things. I really don't want to create any issue, but I did want to let you know that we have trademarked the name and similar derivatives. Jan 08 20:17:26 ooh Jan 08 20:17:33 haeffb: yeah, had RB2 for about 10 days now Jan 08 20:17:35 fun game Jan 08 20:17:43 i saw that it's coming to Pre Jan 08 20:18:02 I saw that...not sure how well it will play...I like the guitar and drum kit Jan 08 20:18:08 Guess I have to change Z to S Jan 08 20:18:24 either that or license it with them Jan 08 20:18:34 Or tell them to go jump in a lake. Jan 08 20:18:34 for a palm pre app, if they are interested.. Jan 08 20:18:39 that too Jan 08 20:18:50 wait for the S&D from the lawyers Jan 08 20:18:56 C&D Jan 08 20:19:06 duh Jan 08 20:19:12 :) Jan 08 20:19:22 iv hd lots of good response from api publishers who have offered free access to paid api's in exchange for a branded spot on any apps using the apis Jan 08 20:19:31 I bet they are fishing for a licensing deal Jan 08 20:19:31 "similar derivatives" sounds like a bluff to me Jan 08 20:19:37 Or you could rename it 'This doesn't suck like automilez' Jan 08 20:19:40 proto: send some my way... i'm interested. Jan 08 20:19:49 he'd come right out and say 'MileZ is trademarked by us.' Jan 08 20:19:49 +1 Pro101 Jan 08 20:20:17 iphone app: http://www.automilez.com/ Jan 08 20:20:43 atlanta: added it to webOS101 snipplets Jan 08 20:21:10 he left. added what? Jan 08 20:21:16 LoneStar99: Thanks! Jan 08 20:21:19 Get it now for free! Jan 08 20:21:19 Learn more Jan 08 20:21:19 automilez for Windows Mobile, BlackBerry, and Palm coming soon Jan 08 20:21:30 haeffb: do they really have the trademark? Jan 08 20:21:35 I dunno. Jan 08 20:21:40 On automilez(tm) Jan 08 20:21:41 Bmyers_ updateDashboard is in my STAGE or my SCENE? Jan 08 20:21:53 so, dashstage-assistant or dashboard-assistant? Jan 08 20:22:25 haeffb: http://tess2.uspto.gov/bin/showfield?f=doc&state=4009:8v1i0d.2.1 Jan 08 20:22:28 they do Jan 08 20:22:28 updateDashboard is a METHOD in my dashboard assistant Jan 08 20:22:49 right Jan 08 20:22:52 thats what i thought Jan 08 20:23:09 milez != automilez ? Jan 08 20:23:39 tell them to call the complaint department 1800eastshitanddie Jan 08 20:23:47 haeffb: I think you are fine, b/c they own the trademark for "automilez" not "milez" Jan 08 20:24:33 it is like "Microsoft" suing for a software company that makes software called "soft" Jan 08 20:25:32 haeffb: trademark MileZ and beat them to the punch Jan 08 20:25:38 how do I do that? Jan 08 20:25:49 ask Google :D Jan 08 20:25:56 yeah, it can be pending, and they would be screwed Jan 08 20:25:56 I've no clue Jan 08 20:26:08 no idea how much, etc. Jan 08 20:26:12 Bmyers_ hows this look for my updateDashboard func? Jan 08 20:26:25 http://webos.pastebin.com/m4dc843d5 Jan 08 20:26:59 LoneStar99: depends on what the judge things a reasonable person would find confusing Jan 08 20:27:10 thinKs Jan 08 20:27:48 yetdog: sending m and c from appassistant you mean? Jan 08 20:28:12 looks ok.. does it run? Jan 08 20:28:15 haeffb: http://www.uspto.gov/teas/eTEASpageA.htm Jan 08 20:28:19 If you make an internet or search company called goggle for instance, it may not be what google's trademark covers Jan 08 20:28:20 in my setlist-assistant Jan 08 20:28:24 where it checks for updated info Jan 08 20:28:25 if(dashboardStage) { Jan 08 20:28:25 dashboardStage.delegateToSceneAssistant("updateDashboard", message, count); Jan 08 20:28:25 } Jan 08 20:28:37 but if someone could think they're the same thing, you could lose it Jan 08 20:29:32 yetdog: should be ok, try it.. Jan 08 20:29:52 iphone automilez and pre Milez (he's published already) Jan 08 20:30:07 yeah, dashboard shows up black Jan 08 20:30:16 :) my html/css probably wrong Jan 08 20:30:24 gonna log those values, see if they passed right Jan 08 20:30:30 destinal: http://en.wikipedia.org/wiki/Microsoft_vs._MikeRoweSoft Jan 08 20:30:41 LoneStar99: Its working Jan 08 20:30:47 There were a number of problems Jan 08 20:31:30 LoneStar99: principally....I didn't realize you had an IMG inside the b divs...the touch target is the IMG Jan 08 20:31:30 you guys want to see something interesting? Jan 08 20:31:44 Bmyers_ woah its not even calling updateDashboard. weird Jan 08 20:31:48 http://pastebin.ca/1743149 <-- this is what I write all day Jan 08 20:32:14 I think I'll just change it to "Mylez" Jan 08 20:32:15 i have updateDashboard in my dashboard-assistant, which is the JS that pairs with my dashboard-view.html Jan 08 20:32:30 prototypic: good lord....can't you template that shite? Jan 08 20:32:47 jfelectron: what do you mean? Jan 08 20:33:13 prototypic: I mean do you write all the tags by hand? Jan 08 20:33:20 jfelectron: should I make the images backgrounds? Jan 08 20:33:42 LoneStar99: that's one option....I just shifted the ids to the IMGs Jan 08 20:33:46 r u launch with params yetdog ? Jan 08 20:33:49 Bmyers_ should anything be in my dashstage? Jan 08 20:33:52 jfelectron: yes, but this is an exception, most scripts I write are ~10 lines. Jan 08 20:34:02 this one is just extremely powerful Jan 08 20:34:06 hmmm - ? about params Jan 08 20:34:32 how do i do that? :/ Jan 08 20:34:32 haeffb: http://en.wikipedia.org/wiki/Microsoft_vs._MikeRoweSoft Jan 08 20:34:35 prototypic: ahhh..interesting..what is that... XLST? Jan 08 20:35:05 LoneStar99: I'll zip it up and send it to you Jan 08 20:35:12 ok thanks Jan 08 20:35:20 not sure how to start it up w/ a param Jan 08 20:35:35 yetdog palm-launch --help Jan 08 20:35:48 or /? Jan 08 20:35:50 jfelectron: it's a server side scripting language called rssbus Jan 08 20:35:55 dunno what platform u r on Jan 08 20:36:00 windows / eclipse Jan 08 20:36:12 prototypic: mmm...learn something new everyday :) Jan 08 20:36:15 dos window Jan 08 20:36:17 we handle many many api's allowing for things like this: http://pastebin.ca/1743152 Jan 08 20:36:22 palm/sdk/bin dir Jan 08 20:36:23 right Jan 08 20:36:36 that little script allows you to bring gmail into any webapp in ~5 lines of code Jan 08 20:36:44 ah so call it w/ dash? Jan 08 20:37:16 and the output is rss by default, but add ?@json or ?@xml, or ?@soap and you have different return Jan 08 20:37:54 palm-launch -p "{action: dash} Jan 08 20:38:08 if u r using my app launch example Jan 08 20:38:31 palm-launch -p "{action: dash}" com.myapp.name Jan 08 20:38:43 how funny is it when Chrome crashes with gMail or fails to find google.com? Jan 08 20:38:56 this is Mac beta in all fairness Jan 08 20:39:08 * Bmyers_ stepping out.. brb Jan 08 20:39:37 ah Bmyers_ Jan 08 20:39:41 we might be misunderstanding each other Jan 08 20:39:44 prototypic: damn that sound powerful Jan 08 20:39:49 i only want the dashboard up if the app is open... Jan 08 20:39:54 and if it gets a new bit of data on the ajax request Jan 08 20:40:18 jfelectron: it's very powerful. my secret weapon when doing webOS stuff Jan 08 20:40:40 give me an api and I can have it wrapped and giving you json within 2 hours Jan 08 20:40:55 did a basecamp wrap this morning Jan 08 20:41:32 $325 filing fee for trademark application. non-refundable. Jan 08 20:41:47 haeffb: that's pretty good Jan 08 20:41:51 not bad Jan 08 20:41:51 better than a lawyer Jan 08 20:41:57 haeffb: ouch...guess I won't be doing that Jan 08 20:42:07 for something that I make $0 on? Jan 08 20:42:09 until I make mad scrilla :) Jan 08 20:42:25 haeffb: is that for a design and wording? Jan 08 20:42:43 LoneStar99: any mark presumably...image, slogan...etc Jan 08 20:42:50 haeffb: how long have you been using Milez for? Jan 08 20:42:50 Only one mark is permissible per application, although a mark may consist of several elements that are joined to form a composite whole (e.g., words plus a design). Jan 08 20:43:20 LoneStar99: did you receive? Jan 08 20:43:26 jfelectron: i got my trademark cancelled, b/c I did not send in some use letter Jan 08 20:43:47 Published at PreCentral on 12/20/2009 Jan 08 20:43:51 LoneStar99: I'll plead ignorance on this....use letter? Jan 08 20:43:53 So, since last year. Jan 08 20:44:35 LoneStar99: btw...no memory leak in colorpicker...not sure why on device it seems unstable after awhile...could have been my phone Jan 08 20:44:46 jfelectron: I experienced that as well. Jan 08 20:44:55 haeffb: did you notice strange behavior if you go 'crazy' with the color picker? Jan 08 20:45:26 it became harder and harder to "grab" the slider and drag it to where I wanted. Jan 08 20:45:29 jfelectron: great, got the new code, will mess with it... Jan 08 20:45:42 haeffb: yeah...really wierd Jan 08 20:46:09 jfelectron: you have to send the USPTO a letter every 5-6 years stating the trademark is still in use, I for to send it Jan 08 20:46:13 gonna appeal Jan 08 20:46:23 How about "Mileage logger that is NOT Automilez" Jan 08 20:46:33 Kinda long, but catchy. Jan 08 20:46:45 haeffb: should see if that happens with the original...might be because I didn't intialize all the properties of the class, so its copying the object a bunch of times, which eventaully invokes GC Jan 08 20:47:30 "ManualMilez" Jan 08 20:47:33 haeffb: if you have been using Milez before AutoMilez filed the trademark, you are 100% safe Jan 08 20:47:51 since I'm not using the GPS. Jan 08 20:48:10 tty guys later Jan 08 20:51:12 i have an issue w/ my dashboard creation code Jan 08 20:51:14 based off palm's example Jan 08 20:51:17 anyone care to take a look? Jan 08 20:51:21 sure Jan 08 20:51:25 is there a way to manually invoke a container objects ontap event when an object inside that container is tapped? Jan 08 20:51:30 haeffb is the dashboard man Jan 08 20:51:37 take it away, haeffb Jan 08 20:52:14 haeffb Jan 08 20:52:14 http://webos.pastebin.com/mbc414e9 Jan 08 20:52:23 confused about lines Jan 08 20:52:32 6 and 17 Jan 08 20:52:49 dashstage is currently my stage-controller for my dashboard scene Jan 08 20:53:07 i have my updateDashboard function in my dashboard scene Jan 08 20:53:21 but that code outputs FAILED dashboardStage Jan 08 20:53:33 so this: var dashboardStage = appController.getStageProxy("dashstage"); isnt getting that properly Jan 08 20:55:20 that function that i pasted, by the way, was in another scene, my only scene prior to adding the dashboard, that gets called if theres a different in my AJAX data, hence alerting the user w/ a dashboard (used to be banner) Jan 08 20:55:49 not sure why they're using getStageProxy there. Jan 08 20:56:22 yeah thats based right off palm's site Jan 08 20:57:15 try getStageController instead? Jan 08 20:57:52 wait, no it's OK Jan 08 20:58:54 not sure why it isnt successfully getting it though Jan 08 20:59:16 on your first app launch? Jan 08 20:59:52 It shouldn't have a dashboard stage yet. Jan 08 20:59:54 well that function doesnt get called until it makes an ajax call that differs from the previous result Jan 08 21:00:08 should i have a dashstage-assistant.js file? Jan 08 21:00:25 so you do have a dashboard stage at that point? Jan 08 21:00:31 no, i wouldnt have one Jan 08 21:00:34 no, don't think you need one. Jan 08 21:00:46 haeffb: did you say u tested the color picker on a device? Jan 08 21:00:46 well, then its working properly. Jan 08 21:00:53 LoneStar99: yes Jan 08 21:01:04 not getting data in my updateDashboard function, tho Jan 08 21:01:07 and it was flacky? Jan 08 21:01:16 yetdog: it's just looking to see if you already HAVE a dashboard stage Jan 08 21:01:30 ah Jan 08 21:01:38 haeffb: is it stable enough to be submitted in an app? Jan 08 21:01:44 ok so i guess im unclear how to initially create the dashboard js/html Jan 08 21:01:47 and if you DO, it calls updateDashboard in your sceneAssistant Jan 08 21:01:50 so its put on screen proper Jan 08 21:02:11 that is lines 11-xx Jan 08 21:02:47 so in my dashboard-view.html, what div name to use? Jan 08 21:03:02 you need a stagedashboard-assistant.js Jan 08 21:03:27 because that's what you're telling the dashboard stage to use in line 17 Jan 08 21:03:47 dashstage-assistant.js, right? Jan 08 21:04:24 appController.createStageWithCallback({name: "dashstage", lightweight: true, assistant: "StageDashboardAssistant"}, Jan 08 21:04:29 that line confuses the hell out of me lol Jan 08 21:04:33 name: assistant: Jan 08 21:04:39 no idea what to call the actual stage file Jan 08 21:04:55 http://developer.palm.com/index.php?option=com_content&view=article&id=1873&Itemid=244#.createStageWithCallback Jan 08 21:05:46 man, their docs need some formatting. Jan 08 21:05:46 did you find that guys trademark? Jan 08 21:05:49 http://tess2.uspto.gov/bin/showfield?f=doc&state=4005:9tg0ll.2.1 Jan 08 21:05:51 ah, pushDashboard Jan 08 21:06:02 oops I'm behind Jan 08 21:06:07 we are off that topic now? Jan 08 21:06:23 Yeah, I'm going to rename my app "Naked Girls" Jan 08 21:06:33 Free Beer Jan 08 21:06:45 omg freebeer is a great name Jan 08 21:06:46 even better. "Free Beer and Naked Girls" Jan 08 21:06:55 Free Beer and Naked Chicks! Jan 08 21:07:08 i think I'm going to do a magic trick app and call it free beer Jan 08 21:07:12 sorry, yetdog. distracted by new subject Jan 08 21:07:19 :) Jan 08 21:07:30 Free Beer Naked Chicks Fast Cars Jan 08 21:07:39 does that line make sense yet? Jan 08 21:07:50 yeah, so i have to create a dashstage-assistant.js flie Jan 08 21:07:52 file Jan 08 21:07:58 and in it, create a function called pushDashboard Jan 08 21:08:03 if you need one. Jan 08 21:08:14 no, pushDashboard is defined just above in line... Jan 08 21:08:16 prototypic: my residuals on the order of 10% are greatly appreciated ;) Jan 08 21:08:26 14-16 Jan 08 21:08:27 but im lost on how that data gets pushed to HTML Jan 08 21:08:52 or just do it in the 'dashboard' scene main function? Jan 08 21:09:29 you need a function in the dashboard scene called "updateDashboard" Jan 08 21:09:43 based on line 9 Jan 08 21:10:25 right, but that only gets called if the dash board is already created, right? which it isnt the first time tho Jan 08 21:10:35 lines 17-18 create a new stage, called dashstage Jan 08 21:10:39 so should i just create it on initial app startup? Jan 08 21:10:42 no. Jan 08 21:11:23 lines 14-16 defined the scene that will be created in the dashstage stage Jan 08 21:11:32 the scene is called "dashboard" Jan 08 21:11:51 right Jan 08 21:12:02 i have dashboard-assistant.js already Jan 08 21:12:05 WITH updateDashboard in it Jan 08 21:12:33 pushDashboard is a callback function for the createStageWithCallback, so when the stage is created, it calls pushDashboard Jan 08 21:12:38 which creates the scene Jan 08 21:12:40 assistantName: Jan 08 21:12:59 so, maybe in your dashboard-assistant.js, you need to run updateDashboard in setup? Jan 08 21:13:38 you probably don't need the stageAssistant for the dashboard stage. Although Bmyers_ can probably guide you better than I. Jan 08 21:13:40 all update dashboard does in dashboard-assistant is set the HTML in the scene to the passed variables Jan 08 21:13:50 haeffb: did your device have problems with the color picker? Jan 08 21:13:58 yes, after using it for a bit. Jan 08 21:14:56 * Bmyers_ busy on the phone. bbiaf Jan 08 21:15:25 LoneStar99: I think the slider paradigm is hard to use on a device. Needs to just be a tap. Jan 08 21:15:41 haeffb: the right slider? Jan 08 21:16:00 right Jan 08 21:16:54 ok haeffb, its working Jan 08 21:17:02 yeah! Jan 08 21:17:04 just, the FIRST time the dash pops up, the info doesnt pass correctly Jan 08 21:17:11 but if the ajax updates AGAIn, it does Jan 08 21:17:27 well then it's ALMOST working...! Jan 08 21:17:37 lol yes :) Jan 08 21:17:43 and from how i read it Jan 08 21:17:49 its not pushing it the FIRST time Jan 08 21:17:52 becaues of that if/else Jan 08 21:18:03 it is pushing it. Jan 08 21:18:04 so it doesnt call updateDashboard if the else fires Jan 08 21:18:10 you're just not running updateDashboard Jan 08 21:18:12 updateDashboard isnt getting called Jan 08 21:18:13 right Jan 08 21:18:19 do it in setup/ Jan 08 21:18:20 you'll need to call at at the end of setup(); Jan 08 21:18:24 right! Jan 08 21:18:37 u got it working? Jan 08 21:18:42 with what params? :) Jan 08 21:18:58 they are being passed to the assistant Jan 08 21:19:02 ah yes Jan 08 21:19:46 is aboutToActivate() called every time? or only on first setup of scene? Jan 08 21:20:23 ? Jan 08 21:20:30 how do i reference the function? Jan 08 21:20:37 this.updateDashboard(m, c)? Jan 08 21:20:41 o wait Jan 08 21:20:49 var request = new updateDashboard Jan 08 21:20:49 right? Jan 08 21:21:12 I would have gone with the first one. Jan 08 21:21:32 yeah, Error: updateDashboard is not defined Jan 08 21:23:31 bingo, haeffb Jan 08 21:23:31 :) Jan 08 21:23:38 now just need to know how to format the stage! :) Jan 08 21:24:03 thank you !:) Jan 08 21:24:42 welcome. Jan 08 21:26:23 now I gotta go do the same thing... Jan 08 21:27:11 cool. i guess u r up a running yetdog? Jan 08 21:28:33 Bmyers_: so I want to handle an alarm by pushing a dashboard stage, right? so just switch params & if dash, do the createstagewithcallback stuff Jan 08 21:29:06 does that dash stage hang around after the user dismisses it? Jan 08 21:29:21 gotta close old stage Jan 08 21:29:38 Bmyers_ i believe so. still have to create the look i want Jan 08 21:29:59 and i doubt this setup handles multiple alerts, like, walking through the alerts with arrows Jan 08 21:30:13 which is what ideally i would do but just the latest would be fine to Jan 08 21:30:43 not close my main scene stage. Jan 08 21:30:47 what old stage? Jan 08 21:32:04 anyone have any sample dashboard html/css code? ;) Jan 08 21:33:01 haeffb: dashboard stage.. Jan 08 21:33:14 i have to close it manually? Jan 08 21:34:31 i think you do haeffb Jan 08 21:35:02 yetdog: give me a few minutes, I'll copy some stuff from the book... Jan 08 21:36:30 no worries haeffb, ive got the apress one at home Jan 08 21:36:46 only functional thing left i think is having it so if i tap on the expanded dashboard, have it bring my app back to focus Jan 08 21:37:05 hrm, i dont need my call home function anymore since they've given us app stats.. Jan 08 21:37:18 dawm__ unless you want to verify. Jan 08 21:37:38 yetdog: I'm adding a dashboard to my app, so have to do it anyhow. I'll pastebin when I'm done. Jan 08 21:37:44 i didnt have it in the first version so im still missing alot of data Jan 08 21:37:50 haeffb :) Jan 08 21:38:35 i find it funny in the ces presentation they keep saying pre when they mean pre/pixi Jan 08 21:40:49 oh oops Jan 08 21:40:58 i forgot to update my payment info for the app catalog Jan 08 21:41:03 but i bought NFS Jan 08 21:41:23 so i got NFS free? Jan 08 21:41:47 yetdog: http://webos.pastebin.com/d69e2ae4e Jan 08 21:42:20 odd Jan 08 21:42:33 i did pay for it, but i got an email reciept saying the transaction failed Jan 08 21:43:01 thanks Bmyers_: ah, so i need to do a list? Jan 08 21:44:00 dang you Bmyers_: 5 minutes ago you'd have saved me 5 mins of typing. Jan 08 21:45:10 hahaha Jan 08 21:45:41 CHUQUI Ping Jan 08 21:45:43 well, at least this way I'm clear on what's in there. Jan 08 21:45:58 ping Jan 08 21:46:08 haeffb/bmeyers - do i need to create a list with my data being referened by #}var}? Jan 08 21:46:14 Good afternoon Sir! Jan 08 21:46:32 good afternoon! Jan 08 21:47:20 that gets passed to Mojo.View.render Jan 08 21:47:27 it's not in a list. Jan 08 21:47:28 something new to learn...! Jan 08 21:48:05 hy chuqui. Got a lot of complaints about forum "new topic" and "reply" being hard to find? Jan 08 21:48:29 what, you don't like WHITE ON WHITE as a design style? Jan 08 21:48:40 (it's going to be fixed) Jan 08 21:48:55 var renderedInfo = Mojo.View.render({object: info, template: 'dashboard/dashboard-scene'}); Jan 08 21:48:58 haeffb ^ Jan 08 21:49:03 hi all! Jan 08 21:49:12 sugardave, and everyone else my blogs back online. Feel free to link again. Also hello JenP Jan 08 21:49:23 hi templarian Jan 08 21:49:25 chuqui: I just thought you were trying to cut down on the forum clutter. Jan 08 21:49:32 make it a bit harder to post. Jan 08 21:49:39 jenp Jan 08 21:49:51 yetdog: right. Jan 08 21:49:58 guess whos bnack Jan 08 21:50:20 atlanta: no idea who's bnack. Jan 08 21:50:32 sounds eastern european, though. Jan 08 21:50:34 back Jan 08 21:50:34 be Jan 08 21:50:44 grrr palm removed ad-hoc Jan 08 21:51:24 darn tasty toons was rejected Jan 08 21:51:40 haeffb: what innerHTML element do i set it to, though? Jan 08 21:51:53 wait where is the reply button on the forums? :/ Jan 08 21:52:21 you need a dashboard-scene.html Jan 08 21:52:25 Templarian: awesome Jan 08 21:52:38 i have one :) Jan 08 21:52:46 with one line something like:
Jan 08 21:52:48 OOOH Jan 08 21:52:52 and use that div Jan 08 21:52:56 i had the TEMPLATE already Jan 08 21:52:57 dohhhh Jan 08 21:53:02 right. Jan 08 21:53:14 all kinda crazy tricks to this dashboard stuff Jan 08 21:53:43 no kidding Jan 08 21:53:46 dylanmei: they're there. you just have to hunt a little bit. Helps if you have great visual acuity. Jan 08 21:54:00 dylanmei: they're white on very light gray. Jan 08 21:54:19 JenP: mature content? Jan 08 21:54:19 I just had a great idea! Jan 08 21:54:26 AH wow, I saw the GO button but not that. Thanks! Jan 08 21:54:34 A Pre 101 app for the App Catalog Jan 08 21:54:45 whoops Jan 08 21:54:46 Error: HIERARCHY_REQUEST_ERR: DOM Exception 3 Jan 08 21:54:46 haeffb idk haven't recieved any explanations...will they send one? Jan 08 21:55:00 I assume so, I've never had a rejection. Jan 08 21:55:27 they will send reasons, Jen Jan 08 21:55:57 cool yetdog, thanks Jan 08 21:56:17 haeffb weird error Jan 08 21:56:22 never seen that before Jan 08 21:56:23 JenP: I had a nastygram today from a company that makes "Automilez" for the iphone. They don't like my app being named "MileZ" Jan 08 21:56:28 yetdog: me either. Jan 08 21:56:42 seriously haeffb? Jan 08 21:56:47 even though my app CLEARLY has a big Z and theirs has a little z Jan 08 21:56:48 tell them to bit you Jan 08 21:56:51 bite Jan 08 21:57:08 ill pastie Jan 08 21:57:22 yetdog: but I haven't gotten to the point of actually running this stuff yet. Jan 08 21:58:27 haeffb http://webos.pastebin.com/m1e7d3792 Jan 08 21:58:28 ah Jan 08 21:58:40 wwell it seems something is borked w/ my HTML stuff Jan 08 22:00:13 you're not getting the dashboard to popup at all now? Jan 08 22:00:33 yup rejected for extremely sexual in nature Jan 08 22:00:52 i got it haeffb Jan 08 22:01:02 infoElement.update(infoElement); Jan 08 22:01:03 should be infoElement.update(renderedInfo); Jan 08 22:01:17 good catch Jan 08 22:01:43 if you register as an open source developer does palm prevent you from submiting closed source? Jan 08 22:01:54 JenP: can you still self-certify...? Jan 08 22:01:58 and go that route? Jan 08 22:02:11 haeffb yeah they want two images removed and nipples covered Jan 08 22:02:26 prudes Jan 08 22:02:31 they don't like the ones where it shows the girls rear ends Jan 08 22:02:43 no butts, young lady! Jan 08 22:02:49 lol Jan 08 22:02:58 * haeffb thinks JenP doesn't have a male handler at Palm. Jan 08 22:03:40 dylanmei: I think you can register twice if you provide diff email, etc. Jan 08 22:03:40 haeffb nope gloria Jan 08 22:03:45 but rejected by lisa Jan 08 22:04:10 thanks haeffb. i've gone and done open source we'll see what happens :) Jan 08 22:09:31 hi Jenp Jan 08 22:09:42 hey Bmyers_! Jan 08 22:10:16 damn palm-dashboard-icon isnt letting me override. or not working right Jan 08 22:10:19 your app was too hot to handle huh? Jan 08 22:10:35 o wait Jan 08 22:10:49 bmyers yup...no T&A Jan 08 22:11:54 bummer. Jan 08 22:12:14 meh...Josh is working them over now Jan 08 22:12:21 but my favorite won't be in there Jan 08 22:12:32 at least it can Jan 08 22:12:55 be resubmitted Jan 08 22:13:15 you told them is wasnt u in the pix right? Jan 08 22:13:19 or is it? Jan 08 22:13:29 * Bmyers_ pokes haeffb Jan 08 22:13:31 hahaha... Jan 08 22:14:27 anyone else going big red to pickup the pre plus? Jan 08 22:15:38 haeffb you havent played around w/ getting an icon to sit in the lefthand container on the dashboard html yet hgave you? Jan 08 22:16:00 not yet Jan 08 22:16:27 ah ok :) Jan 08 22:16:35 still typing Jan 08 22:17:39 running now. Jan 08 22:17:59 argh. Jan 08 22:18:08 didn't tell it what to display in the dashboard. Jan 08 22:18:55 awesome, i got it working. only thing left is the ol' "click the dashboard to reactivate the app window" Jan 08 22:20:44 so who's fart app is going to win 100k? Jan 08 22:22:01 yetdog, just a sec: Jan 08 22:22:39 no sweat haeffb, i know i have to listen for a tap but since its not a widget i dont know how to listen fo rit Jan 08 22:23:06 this.switchHandler = this.launchMain.bindAsEventListener(this); Jan 08 22:23:06 this.controller.listen("dashalarminfo", Mojo.Event.tap, this.switchHandler); Jan 08 22:23:16 ahhhhh Jan 08 22:23:19 lightbulb :) Jan 08 22:23:25 you can listen on any div, not just a widget. Jan 08 22:23:53 and launchMain is just a serviceRequest to open your app. Jan 08 22:24:02 and this.controller.window.close(); Jan 08 22:25:04 cash money :) Jan 08 22:25:24 well...in about 5 mins, my app should pop up an alarm... Jan 08 22:25:34 hey guys is it possible to set the multi-line header as fixed and then have the content scroll under it? Jan 08 22:25:34 (theme from Jeopardy) Jan 08 22:27:18 haeffb, while you're waiting :) Jan 08 22:27:28 this.controller.serviceRequest('palm://com.palm.applicationManager', { Jan 08 22:27:28 method:'open', Jan 08 22:27:28 parameters: { Jan 08 22:27:28 target: "palm://com.antsmarchingorg.dmblivesetlist"} Jan 08 22:27:28 }); Jan 08 22:27:31 doesnt seem to work Jan 08 22:27:36 it *does* close the dashboard tho Jan 08 22:28:26 id: "com.antsmarching..." Jan 08 22:28:39 name of app? Jan 08 22:28:41 no good? Jan 08 22:28:44 or id Jan 08 22:28:45 ah Jan 08 22:28:55 use id: instead of target: Jan 08 22:29:19 haeffb any ideas? Jan 08 22:29:21 hmm no[pe Jan 08 22:29:34 JenP: I haven't used a multi-line header. Jan 08 22:29:41 kk Jan 08 22:29:45 what is it? Jan 08 22:30:10 can you lock the main scroller and include your own in a view? Jan 08 22:30:14 id: "palm://com.antsmarchingorg.dmblivesetlist"} Jan 08 22:30:25 multiline header allows for a title and a subtitle Jan 08 22:30:31 get rid of palm:// Jan 08 22:30:49 JenP: are you using header-spacer? Jan 08 22:31:00 BINGO Jan 08 22:31:08 no should i? Jan 08 22:31:10 haeffb has established himself firmly as, the man. Jan 08 22:31:27 yetdog: I just copy/paste Jan 08 22:31:33 way to go haeffb: u da man Jan 08 22:31:37 and sometimes type Jan 08 22:32:08 * haeffb needs to go comment out a bunch of Mojo.Log's so I can see what's going on... Jan 08 22:32:31 hi guys! this might be a stupid question, but during registration to dev account "Company" is a required field. Does that mean that you actually have to be employed by a company to do dev work and publish? How to do personal open source dev work? Jan 08 22:32:42 haeffb: r u putty'd into the emu? Jan 08 22:32:43 no you can use your name Jan 08 22:33:03 ah I see... Thanks! Jan 08 22:33:13 use your social as the tax id Jan 08 22:33:21 Bmyers_: no. I'm using palm-log Jan 08 22:33:26 nm Jan 08 22:33:30 you also need to hook up to paypal regardless if you chose open source Jan 08 22:35:07 thanks again Jan 08 22:35:48 cheers onagy Jan 08 22:37:28 onagy: you can also apply for single-proprietor tax-id online and get it instantly Jan 08 22:38:08 how is that better? Jan 08 22:38:20 <- genuinely interested Jan 08 22:38:39 jfelectron: i am in UK, I'll see in a minute what it asks for Jan 08 22:39:04 does this look ok to play the alert sound? Jan 08 22:39:05 Mojo.Controller.getAppController().playSoundNotification({ Jan 08 22:39:05 soundClass: "alerts" Jan 08 22:39:05 }); Jan 08 22:40:20 doesnt seem to be working Jan 08 22:43:58 Bmyers_ have you heard anything on your app? Jan 08 22:44:18 haeffb - know how to get a simple sound notification to play? playSoundNotification seems to be not working Jan 08 22:45:12 yetdog: haven't tried it. but that would be good to know. Jan 08 22:45:25 http://developer.palm.com/index.php?option=com_content&view=article&id=1873&Itemid=244#.playSoundNotification Jan 08 22:45:27 seemes simple enough Jan 08 22:45:37 Jenp: not yet... still being reviewed.. Jan 08 22:45:40 i was doing it before with the banner, as it includes the option to play a sound, and it was working Jan 08 22:45:50 template load failed. Jan 08 22:46:17 but I've got a banner or something... Jan 08 22:46:51 let me get this working, then I'll look at adding sound Jan 08 22:47:53 haeffb: you should have an example around of playing alert sound i think.. Jan 08 22:49:03 oi, palms feeds are wrong, they should allow pagination. Jan 08 22:49:39 appController.playSoundNotification({soundClass: "alerts"}); Jan 08 22:49:42 should work Jan 08 22:49:54 woohoo! Jan 08 22:49:56 !seen Jan 08 22:50:06 but it doesnt :( Jan 08 22:50:07 lol Jan 08 22:50:23 when you're typing in from the book, and you change one name....you've got to change it everywhere it's used. Jan 08 22:50:44 So, you're playing sound in the updateDashboard? Jan 08 22:51:15 tried it in a couple places Jan 08 22:51:27 that line i pasted was from within my ajax onsuccess function Jan 08 22:51:35 but i also tried it in updateDashboard Jan 08 22:51:37 appController is defined? Jan 08 22:51:40 is appController defined? Jan 08 22:51:48 u owe me a beer Jan 08 22:51:54 yes Jan 08 22:52:04 directly above it Jan 08 22:52:04 var appController = Mojo.Controller.getAppController(); Jan 08 22:52:33 I never have understood when you can/can't use Mojo.Controller.xxx Jan 08 22:52:51 what about this.controller.getAppController(); Jan 08 22:53:44 Mojo.Controller.getAppController().playSoundNotification("alerts", ""); Jan 08 22:54:14 Mojo.Controller.getAppController().playSoundNotification("vibrate", "",300); Jan 08 22:54:35 hmm Jan 08 22:55:21 does sound work in emu? Jan 08 22:55:26 no Jan 08 22:55:39 vibrate does tho :) Jan 08 22:55:59 hmmm Jan 08 22:56:05 vibrate does? Jan 08 22:56:07 lol Jan 08 22:56:11 how can you tell? does it shake? LOL Jan 08 22:56:17 or are you f'ing with me Jan 08 22:56:22 because its been a LONG Day..... Jan 08 22:56:24 yes... Jan 08 22:56:33 just mess'n with ya Jan 08 22:56:51 that worked Jan 08 22:57:07 gonna use a custom sound eventually. cool :) Jan 08 22:57:34 so, does or doesn't in emu? Jan 08 22:57:41 does not.. Jan 08 22:58:40 now eclipse doens't want to install to device. Jan 08 22:58:55 try pretty please? Jan 08 22:59:54 haeffb whats it yelling about? Jan 08 22:59:58 cant overwrite your ipk? Jan 08 23:00:10 o i hate that one... Jan 08 23:00:14 it does that to me sometimes if i accidentally hammer the run button :( Jan 08 23:00:35 and windows is such a piece of poo resource-handling-wise it happens too often Jan 08 23:00:38 application not found Jan 08 23:00:58 hmmm Jan 08 23:01:14 close out of eclipse, delete app ipk in your temp folder, open it back up/ Jan 08 23:01:15 palm-install Jan 08 23:01:56 I decided I didn't really need to hear the sound and went back to emu Jan 08 23:01:56 i wish request for reject worked faster, last request didnt even go thru, they still added it heh Jan 08 23:02:12 now im waiting on metadata update before i can even submit my newest version as an update Jan 08 23:02:45 sound works in the emu Jan 08 23:02:53 1.3.5 emu? Jan 08 23:02:56 it just has to be enabled Jan 08 23:02:57 yeah Jan 08 23:02:59 ive got sound Jan 08 23:03:00 * haeffb now has dashboard alarms to remind you to set ending mileage. Cool. Jan 08 23:03:09 how to do, dawm__? Jan 08 23:03:13 ^^ Jan 08 23:03:16 http://pre101.com/blog/2009/10/31/enabling-sounds-in-the-webos-emulator/ Jan 08 23:03:21 vibrate in emu also? Jan 08 23:03:25 lol no Jan 08 23:03:35 but you can rotate now Jan 08 23:03:35 i tried that and got nothing.. Jan 08 23:03:42 yeah i saw that.. Jan 08 23:03:42 Bmyers_, did you restart afterwards? Jan 08 23:03:45 thanks again gang for everything Jan 08 23:03:49 *high fives all around Jan 08 23:03:52 i mout of here Jan 08 23:04:00 later yetdog Jan 08 23:04:01 infact 1.3.5 has the correct system sounds Jan 08 23:04:01 l8r dog.. Jan 08 23:04:14 1.3.1 had sounds but they all werent the same as on the device Jan 08 23:04:25 emu 1.3.5 has the exact sounds as the device Jan 08 23:04:48 i just readded tapping support to swap&drop since some people complained about the switch to drag Jan 08 23:04:53 its now configurable which to use Jan 08 23:05:01 dawm_ pretty sure i did. Jan 08 23:05:09 dawm__: never take away. always add Jan 08 23:05:11 turn the volume up on the emu too Jan 08 23:05:22 haeffb, it was just commented out :P Jan 08 23:05:35 volume on the emu? Jan 08 23:05:38 yeah Jan 08 23:05:44 o linger ringer wise? Jan 08 23:05:48 ringer... Jan 08 23:05:51 yeah Jan 08 23:05:55 system volume Jan 08 23:06:02 turn that up, as the emu is kinda quiet Jan 08 23:06:05 o... maybe that was it Jan 08 23:06:10 you may have to turn up your speakers too Jan 08 23:06:18 i am not on that now. what was my xp box Jan 08 23:06:23 i am on ubu now Jan 08 23:06:31 trying to get the palm SDK installed Jan 08 23:06:42 u use ubuntu or whatever? Jan 08 23:06:48 once you get it installed/working just copy & paste the stuff from pre101 and reboot the emu Jan 08 23:07:01 i use win7/hackintosh Jan 08 23:07:10 i wanted to do hackingtosh Jan 08 23:07:10 i dont use my ubuntu laptop much unless i travel Jan 08 23:07:24 Was someone looking for me? Jan 08 23:07:34 whats current on that? i should give that a whack again.. Jan 08 23:07:35 heh no Jan 08 23:07:42 current? Jan 08 23:07:51 ive got a dell mini9 running 10.6.2 Jan 08 23:08:00 what distro? Jan 08 23:08:16 straight retail disc Jan 08 23:08:20 w/ a usb loader Jan 08 23:08:24 netbookinstaller Jan 08 23:08:39 * haeffb now waiting for 5 mins Jan 08 23:08:49 http://osx.mechdrew.com/guides/ Jan 08 23:08:53 netbook guides Jan 08 23:09:01 Bmyers_: I don't get an error in emu for the playSound. So taht's good. Jan 08 23:09:03 haeffb: if u just want to check the sounds, launch the app with params Jan 08 23:09:18 haeffb, it doesnt give an error in 1.3.5 emu anymore Jan 08 23:09:21 Oh, I did. Now checking the alarm Jan 08 23:09:25 sounds enabled or not Jan 08 23:09:39 Just saying my f'n call is good. Jan 08 23:10:41 dawm i tried a few hackintosh distros. almost kinda of worked. got tired of f'n w/ it Jan 08 23:10:59 u do iphone apps on there? Jan 08 23:16:14 no i dont do iphone Jan 08 23:16:21 does anybody know how to get the yahoo chat stuff going so that it signs in properly ? Jan 08 23:16:37 my mini9 works flawlessly, theres no special distro just a helper/loader for it Jan 08 23:16:41 main and calendar stuff works but the chat stuff is broken it seems Jan 08 23:17:19 if i had the external disc drive, i could put in a retail osx disc and a boot off a thumbdrive w/ the loader and install as normal Jan 08 23:19:36 i am too old for a mini9.. Jan 08 23:28:30 anyone from webos school handy? Jan 08 23:31:24 hello to all Jan 08 23:31:49 morning chuqui, how's the day after going? Jan 08 23:32:26 hey! Jan 08 23:32:31 I'm ready for the weekend, you? Jan 08 23:33:40 chuqui, rwhitby: Greetings. Jan 08 23:33:53 Time to take the little one ice skating, I think. Jan 08 23:34:01 i think it is already the weekend for Rod.. Jan 08 23:34:01 hey -- happy "we survived CES" day Jan 08 23:34:06 chuqui: I've got plans for the weekend - app catalog into Preware Jan 08 23:34:20 Bmyers_: yep, sat morning here Jan 08 23:34:46 hey cool. so you could do app cat on the emu? Jan 08 23:34:55 chuqui: I'm watching the video now. I didn't see any coverage of the dev event, tho. Jan 08 23:35:08 If you all have a moment, I'm wondering if there is a way to take and ahref command and make it link to something internal inside of a program. Say rather than use something like ahref="http://blah.com" instead do something like ahref="myappassistant.myfunciton();" Jan 08 23:35:09 Do you know of any video of that or of any reports from it? Jan 08 23:35:22 Bmyers_: you can list the apps, you still need palm's client to install from palm feeds Jan 08 23:35:22 rod, sounds cool. Jan 08 23:35:35 I've been spending the day working on some perl to automate @palmnewapps -- finally Jan 08 23:35:50 rob, very cool about the app catalog in preware. Jan 08 23:35:59 got most of it running. need to test how best to deal with storing data so I can tell what's updated... Jan 08 23:36:02 chuqui: I'm going to ask dieter to make precentral serve the same xml format that you guys have defined Jan 08 23:36:26 and we'll do the same for the other preware.org feeds Jan 08 23:36:34 does anybody know how to get yahoo chat going ? it seems to be buggy Jan 08 23:36:34 that'd be cool Jan 08 23:37:08 chuqui: it's all about open standards and interoperability. once you've got that, everything else just falls in place. Jan 08 23:37:09 Bmyers_: and the palm client wont install in the emu even if it is in there. I know cause I have tried. I messed with it to get it installed in the emu, but the server wont give it any apps. :( Jan 08 23:38:24 frankos72: You can probably have a link that goes to "#", and put a listener on it, and have the listenr call your function Jan 08 23:38:49 like Click here Jan 08 23:38:53 yeah. yay open standards! Jan 08 23:38:59 and then put a listener on "clicky" Jan 08 23:41:21 does anyone know if there's a way to keep a beta app from appearing on the beta apps feed? not all betas are public betas. Jan 08 23:41:48 lyht: Thanks I'll try that. You mean just a standard listener like: this.controller.listen('clicky',Mojo.event.tap,this.myclickytappedfunction); Jan 08 23:42:17 incidentist: Good point. I wonder if anyone considered that. Jan 08 23:42:41 incidentist: So.... You guys been playing with the PDK? Jan 08 23:42:45 frankos72: yup. I think that should work Jan 08 23:42:47 :) Jan 08 23:43:01 not yet, but we're hoping to! Jan 08 23:43:20 incidentist: Put me on the beta list for your next app. :) Jan 08 23:43:30 Pre101: done Jan 08 23:44:13 chuqui: Haha, the Palm YouTube profile says you guys are in Afganistan. Jan 08 23:44:18 Afghanistan. Jan 08 23:44:30 we're actually trying to use the beta feature to diagnose weird problems some users are having. hence the desire to not have it show up in a public feed. Jan 08 23:45:23 Makes sense. Jan 08 23:47:05 yeah, I've reported that to the team that owns it. Jan 08 23:48:29 chuqui: Any news on when we'll be getting metrics for app downloads? Jan 08 23:48:54 With the new install mechanism, it'd be nice to know if people downloaded from app catalog or from a web link. And the referrer, if available, for the web link. Jan 08 23:48:59 supposed to be part of the update this week. I haven't had time to go check. Jan 08 23:49:39 pre101: email me that. I'll file an enhancement request. those are useful to have Jan 08 23:49:59 chuqui: thanks! Jan 08 23:50:36 e-mail't. Jan 08 23:51:04 chuqui: how many apps are afflicted? and how are they coming on the bug? that is causing user to not be able to download certain apps… I have been getting tons of emails for Magic Fortune Ball... Jan 08 23:51:43 * ElVox hates the clipboard system in webOS... Jan 08 23:51:59 Bmyers_: still can't get app to install to device. either thru eclipse or palm-install Jan 08 23:52:13 ive gotten a few emails about people not being able to download swap&drop as well, best i could do was instruct them to update their device and reboot but still no luck Jan 08 23:52:14 * ElVox wonders when AIR is coming to webOS so we don't have to slum around using Mojo. Jan 08 23:52:16 roy -- got it. thanks Jan 08 23:52:35 nate: since we updated yesterday? Jan 08 23:52:46 * haeffb following dawm__'s advice and rebooting Jan 08 23:52:55 its been since the 1.3.5 update Jan 08 23:53:30 haeffb: try palm install so u can see the error Jan 08 23:53:36 no one has been able to download my app - Magic Fortune Ball, supposedly there are several apps with the problem Jan 08 23:53:46 not just some, no one Jan 08 23:53:58 didn't give an error Jan 08 23:54:17 get an email in to your account manager, cc me. If you already emailed them, do it again Jan 08 23:54:21 and they are supposed to be working on it... Jan 08 23:54:21 dev mode still on? Jan 08 23:54:30 lol, I've sent a bunch of emails Jan 08 23:54:36 with not much response Jan 08 23:54:57 send another, cc me, and I'll go have one of my infamous hissy fits. Jan 08 23:55:04 how many developers does each "account manager" have to handle? Jan 08 23:55:33 depends on the account manager. some are part time and do other things as well. Jan 08 23:55:34 its hard to tell if my account manager is super busy or just ignoring me... Jan 08 23:55:58 they're not just ignoring you.. Jan 08 23:56:07 should be. I'll try another app. Jan 08 23:56:20 they ignore me too.. :) Jan 08 23:56:58 yep, just that app. Jan 08 23:57:33 hehe Jan 08 23:57:38 this is odd Jan 08 23:57:57 goto projectappitie.com, uncheck palm app catalog and then pick top grossing Jan 08 23:58:08 i wonder if those 2 are isntallable :P Jan 08 23:58:25 com.palm.webos.util.AppManagerUtil$AppManagerException: application com.tigers.app.milez not found Jan 08 23:58:35 from eclipse Jan 08 23:58:44 palm-install gives no error Jan 08 23:59:42 lyht: well, it calls the listner function as soon as the scene opens and then doesn't do anything when you click on the text inside the . So I tried using just and that doesn't work either. Same result as with the href="#" in there. Got any other ideas? Jan 09 00:01:01 use the thing in your appinfoid Jan 09 00:01:58 chuqui: I like your hissy fits. One time we had a problem with our app stuck in the approval process for like a month. I wrote you and cc my handler and it was fixed in like 2 days.!!! GO HISSY FIT! Jan 09 00:02:44 going to add that to my resume: "can hold breath and turn blue until you do what I tell you" Jan 09 00:02:51 LOL Jan 09 00:02:51 what's the thing in my appinfoid? Jan 09 00:06:24 ok resubmitted app...butts and nips removed Jan 09 00:06:41 JenP: boo! Jan 09 00:06:55 not my doing...talk to palm Jan 09 00:06:55 don't cave to the man! Jan 09 00:07:02 LOL Jan 09 00:08:42 Bmyers_: reinstalled from Preware and was then able to install from eclipse Jan 09 00:08:44 weird. Jan 09 00:08:53 sounds work Jan 09 00:11:16 frankos72: I think the event is the problem. But I am not sure what event to use. Perhaps mousedown, or mouseup... Jan 09 00:11:45 for whoever was talking about orientation not working in the emulator, if you're on 1.3.5 then just make sure you're in an app that doesn't lock the mode to portrait. Try the browser if it it doesn't work in your app. Just don't try rotating your monitor. Jan 09 00:13:04 lyht: yeah, I tried putting in just a random name for the object in the listener "noclicky" and it still fires when it starts up. So, I've tried using a div and it still does it. Now I think Ihave something else wrong cause I've listened or a tap on a div before..... Jan 09 00:14:12 lemketron-away: not working for me Jan 09 00:14:25 it's just F6, F7, F8, F9, right? Jan 09 00:14:28 But it seems like this might be a futile path anyway, as the number of items I need to link are not set but rather dynamic depending on the text being displayed. There may be 10 or there maybe a couple hundred. Not only is that not consistant, that would be a heck of a lot of listeners. Jan 09 00:15:06 frankos72: listen on a parent div, then select based on id or something? Jan 09 00:15:24 basicaly I need a paragraph of text to function like a list with each sentance being a seprate list item. Jan 09 00:16:29 how are you storing each sentence? Jan 09 00:16:34 Yeah, in our current version, there is a listener on a parent div. I don't know how it could return the id of the actual child div that is tapped. Jan 09 00:16:47 it's just one big html file. Jan 09 00:17:03 r u creating div's for each sentence then? Jan 09 00:17:04 every sentance has it's on div tag right now and there is a parent div too. Jan 09 00:17:08 yes. Jan 09 00:17:16 all with unique ids Jan 09 00:17:20 event.originalEvent.target.id Jan 09 00:17:33 see if that gives the child div Jan 09 00:17:44 brb Jan 09 00:17:54 I've used it in a list before, but not just a bunch of divs. Jan 09 00:19:01 can you run palm-worm with device? Running palm-worm -d usb com... I get 'cannot connect to usb' Jan 09 00:19:52 fyi, I wasn't binding the previous attemts hence the reason they were just fireing off and then not responding later... still a moot point though. Jan 09 00:20:05 have any devs here had success with ads in their apps? Jan 09 00:20:38 haeffb: its not a list eh? so just event.target.id Jan 09 00:20:52 originalEvent only for listTap Jan 09 00:20:56 and would be willing to share a small amount of data, like how many users it takes to say generate $1.00 of ad revenue? Jan 09 00:21:36 natenbr9: an avagadro's number of them.... ;) Jan 09 00:21:48 lol Jan 09 00:22:08 sorry...have no idea Jan 09 00:22:43 reality1910 or whatever knows ads Jan 09 00:22:45 I am very curious how many users its takes to get $1 of revenue Jan 09 00:23:10 fronkos72: You can also try just binding a listener to this.controller.document and then using event.target.id to sort out how to respond Jan 09 00:23:16 of course it depends on how much the user uses your app... Jan 09 00:23:44 i have a var that could be 5, 10, 60, 300, etc. mins. What's the easiest way to get it into 00:00:00 format? Jan 09 00:23:53 haeffb: looks like they're not here, I'll have to try them later Jan 09 00:23:58 I wonder does it number of cache ad displays if the person isn't online? Jan 09 00:24:40 I don't think they display if the person is offline Jan 09 00:24:48 doesn't load the ad(s) Jan 09 00:24:51 ahhh...OK Jan 09 00:25:02 haeffb: you'll have to do the math.. Jan 09 00:25:04 its a js call Jan 09 00:25:22 setTime() / getTime() Jan 09 00:25:27 no Jan 09 00:25:36 just / 60 % stuff Jan 09 00:26:00 haeffb: you want the relative time passed in H:M:S format? Jan 09 00:26:07 yes Jan 09 00:26:14 for an Alarm call Jan 09 00:26:21 hh:mm:ss Jan 09 00:26:47 from minutes.. Jan 09 00:27:17 how annoying is that 1.3.5.1 update, you don't get anything and have to remove patches and themes... Jan 09 00:27:28 super annoying is the answer Jan 09 00:27:39 you are correct Jan 09 00:27:47 keep clicking later..but the reaper will come for me eventually :/ Jan 09 00:28:21 I just did it now, so that it didn't just do it with my theme and patches on there... Jan 09 00:28:46 having a hard time navigating the new dev site, finding stuff was easier the old way Jan 09 00:29:09 haeffb: yeah...why is the link to the API that little hard to find one? Jan 09 00:29:44 I'll bookmark it eventually..but I am notoriously lazy when it comes to such things Jan 09 00:31:58 used to be available on every page. now I've got to hunt. Jan 09 00:32:05 all these sqlite callbacks seem pretty awkward, using them for the first time Jan 09 00:32:12 and chuq is gone for the weekend... Jan 09 00:32:31 they are awkward using for the first time. It's not just you. Jan 09 00:32:55 i have to create so many functions to accomplish my chain of tasks Jan 09 00:32:56 why not record the time your timer starts...you can construct hh:mm::ss with getHours(), getMinutes, getSeconds() and then just subtract from similar for current time to get diff Jan 09 00:34:27 or just use unix time....do you need to display hh:mm:ss to user? Jan 09 00:35:02 no, I need hh:mm:ss to set an alarm hh:mm:ss from now. Jan 09 00:37:12 if MyMins < 60 then divide by 60 to get hours Jan 09 00:37:19 lyht & haeffb: Between the two of you, that did it! it was the event.target.id that got me the div id of the actual child div that was tapped. This was even though I'm listening for a parent div. I can't shout THANK YOU loud enough. Jan 09 00:37:43 yeah, yeah, Bmyers_. that's the hard way. Jan 09 00:37:55 but it looks like that's where I'm headed. Jan 09 00:38:30 i thought jf had a cool way.. but i didnt see it Jan 09 00:39:09 its not like YOU have to do the match. the program will... Jan 09 00:39:15 math.. Jan 09 00:39:18 and now I need to go home. Thanks again! Jan 09 00:39:28 I think jf does have an easier way. Instead of "in" I"ll use "at" Jan 09 00:39:39 just add #mins to now Jan 09 00:40:54 or hours*60*60*1000 Jan 09 00:41:02 not finished..premature Jan 09 00:41:33 curTime+hours*60*60*1000+minutes*60*1000+seconds*1000 Jan 09 00:42:10 alarm in 2 hrs, 57 minutes, and 30 seconds or something Jan 09 00:42:17 var d = new Date(); Jan 09 00:42:17 var mins = d.getMinutes(); Jan 09 00:42:17 d.setMinutes(this.miles.reminderTime+mins); Jan 09 00:42:51 grrr.that's not work Jan 09 00:43:12 setMinutes (x) x can't be greater than 59 Jan 09 00:43:17 () Jan 09 00:43:25 (x) Jan 09 00:43:37 weird little dancy girl Jan 09 00:43:40 do conversion to milliseconds and add to getTime() Jan 09 00:43:50 setMinutes ( x ) Jan 09 00:43:54 right. Jan 09 00:43:57 http://www.whatwg.org/specs/web-apps/current-work/#sql seems to have gone off the map, does anybody have an updated list for the offical html5 database docs? Jan 09 00:44:30 d.setTime(this.miles.reminderTime*60*1000); Jan 09 00:45:13 jfelectron: turned the iamges to backgrounds and it worked! Jan 09 00:45:40 I mean: d.setTime(d.getTime() + this.miles.reminderTime*60*1000); Jan 09 00:46:01 LoneStar99: nice....the logs are you're friend...from them I could see that the target was the IMG...simple from there Jan 09 00:46:23 perfect Jan 09 00:47:08 ambackstrom: this is amusing....http://www.w3.org/TR/2009/WD-webdatabase-20091222/ Jan 09 00:47:19 jfelectron: I could not see anything from my logs... Jan 09 00:47:41 LoneStar99: you didn't see events? Jan 09 00:47:49 using palm-log? Jan 09 00:47:56 jfelectton: will be back later, gonna watch a movie, no events - none... Jan 09 00:48:03 huh...strange Jan 09 00:48:07 maybe i am doing it wrong Jan 09 00:48:20 palm-log -f right? Jan 09 00:48:28 what's the -f flag? Jan 09 00:48:49 not sure... Jan 09 00:49:01 I just do palm-log com.... or palm-log -d tcp if I have my phone hooked up at the same time Jan 09 00:49:29 doesn't have a man page....grrr Jan 09 00:50:12 -f is for continuous output...stands for 'follow' : http://developer.palm.com/index.php?option=com_content&view=article&id=1805 Jan 09 00:50:16 oh to continuelously log - while you tinjer Jan 09 00:50:18 tinker Jan 09 00:50:42 guess so...wish I had known that before! Jan 09 00:51:03 I have literally run palm-log like 10^6 times..... Jan 09 00:52:20 ok brb - in an hour so Jan 09 00:52:52 haeffb: can't figure out why cpicker is unstable on device....tried to use palm-worm with device but it wouldnt connect Jan 09 00:54:05 wow. I'd hate palm-log by now if I didn't know -f Jan 09 00:54:28 stupidly....I never read the page Jan 09 00:54:56 I just made a script....install, run, log....like Dion made Jan 09 00:54:56 palm-worm -d usb com.xxx? Jan 09 00:55:09 says 'can't connect to usb' Jan 09 00:55:58 yep, me too. just thought I'd try. Jan 09 00:56:10 but, it doesn't show anything in emu? Jan 09 00:56:32 the behavior doesn't happen and mem usage looks stable Jan 09 00:56:55 I've been thinking the slider paradigm doesn't really work on the device anyhow. Would rather just have a tap on the HSV area Jan 09 00:57:49 Make HSV a little larger Jan 09 00:57:59 you get a larger space with both SV and H though Jan 09 00:58:20 which is the color bar? Jan 09 00:58:26 That's hue Jan 09 00:58:34 Ok, make hue bigger Jan 09 00:58:40 staturation and vibrance are the square Jan 09 00:58:50 or turn it sideways across the top of SV Jan 09 00:58:58 thought about that Jan 09 00:59:06 then both are 300px or so Jan 09 00:59:11 that will require change the functions Jan 09 00:59:38 just make it bigger on the side? Jan 09 01:00:10 shouldn't it really be 256 px anyway? Jan 09 01:00:25 or does hue go from 0-255? Jan 09 01:00:47 its not mapped 1:1 there are only 165 divs Jan 09 01:01:33 hue is 0:360 Jan 09 01:01:53 S and V are 0:100 Jan 09 01:03:24 looking at top while its running....not even a 'blip' in CPU or memory usage...wierd Jan 09 01:03:32 I think it'd be better w/o the slider Jan 09 01:04:16 but then you have to limit the color space.... Jan 09 01:04:41 the slider is usable unless you go crazy and it bonks Jan 09 01:04:55 yeah, the more you slide, the bonker it gets Jan 09 01:05:55 I haven't really been inside the code to see what it's doing. No idea why that happens. Jan 09 01:06:23 holy mother of god...on the device its crazy process intensive Jan 09 01:06:36 processor intensive Jan 09 01:07:52 not using--->10%, using >70% Jan 09 01:09:33 I don't understand why it doesn't recover though...its like the process gets corrupted Jan 09 01:11:29 how do you turn on 'log everything' on the device? it seems to ignore the config_framework setting Jan 09 01:12:32 you cant Jan 09 01:13:25 they may change that later, but for now you would have to use error Jan 09 01:13:40 Mojo.Log.info = Mojo.Log.error ? Jan 09 01:13:51 ahhh....but I want to see all the framework events...not my own log events Jan 09 01:14:07 yup... no option. Jan 09 01:14:59 we have this thing that behaves totally fine in emu, but with extended 'crazy' usage on device it becomes unresponsive and never recovers....using top processor usage shoots way up, but it should recover when you stop using it Jan 09 01:15:14 memory is stable Jan 09 01:15:44 crappy Jan 09 01:16:36 wish I could see the process of individual applications....but there is just the LunaSysMgr Jan 09 01:17:26 yah... i wish for a little stronger tools also Jan 09 01:17:39 I would of course kill for a real JS profiler Jan 09 01:17:47 not this WORM toy Jan 09 01:17:50 no doubt Jan 09 01:18:13 they could roll it into inspector Jan 09 01:37:19 natenrb9/jfelectron - who said you needed to remove anything before applying 1.3.5.1? When it first appeared the other night, several of us flashed it without removing anything and talked about it here while we were doing it. Jan 09 01:37:59 lemketron: 1.3.5.1 is small patch I assume, so probably safe not to roll back patches Jan 09 01:38:39 I'll take the plunge now.... Jan 09 01:38:51 lemketron-away: my rotation in emu is not worky Jan 09 01:38:53 haeffb: yes, F6-F9. But it won't change anything in an app that hasn't called setWindowOrientation Jan 09 01:39:09 works fine in 1.3.5 in the browser Jan 09 01:39:14 if not, something is borked in your install Jan 09 01:39:19 this.controller.setWindowOrientation("free"); Jan 09 01:39:23 rotation works like butter here Jan 09 01:39:33 works on device, not in emu Jan 09 01:39:57 grep PRODUCT /etc/palm-build-info Jan 09 01:40:03 what does that return? Jan 09 01:40:14 I'm having an issue where when I update a list it goes blank until I start scrolling. Any ideas on why that would happen? Jan 09 01:40:15 and grep BUILDNUMBER too Jan 09 01:40:26 (cat file and paste those two results) Jan 09 01:40:29 on vista Jan 09 01:40:34 in emulator Jan 09 01:40:40 not host Jan 09 01:40:55 ok, what does the emulator title bar say? Jan 09 01:41:12 "Palm SDK _________________" Jan 09 01:41:19 doh. 1.3.1 Jan 09 01:41:22 :-) Jan 09 01:41:27 perhaps I never installed 1.3.5... Jan 09 01:41:29 :) Jan 09 01:41:34 I did DL it, though! Jan 09 01:41:35 should say 1.3.5.368 Jan 09 01:41:45 you can get it now from http://developer.palm.com Jan 09 01:42:04 catatlyst: do you have lazy loading? Jan 09 01:42:05 (phew, another potential bug dodged) ;-) Jan 09 01:42:40 it's a laptop, so I'll just turn the whole thing sideways. Easier than upgrading the SDK Jan 09 01:42:58 I have the prob with list updates where the spinner completely freezes for 2-3 sec while noticeUpdatedItems() is churning Jan 09 01:44:12 lemketron: tell chuq that the new dev site is hard to find stuff. The old layout had a nice menu down the left that made it easy to get to API, etc. Jan 09 01:44:36 and tell him we all said that lemketron is doing a great job. Jan 09 01:45:56 jfelectron: I believe so. I do not have itemsCallback. I just call modelChanged. Jan 09 01:46:46 haeffb: +1...little developer library link is buried within a sea of how to's Jan 09 01:47:18 catalyst: do you need to re-render the entire list? Jan 09 01:47:28 catlyst: or are you just adding new content? Jan 09 01:48:12 i want to populate a FilterList from sqlite. i need to do two queries: one to count the total matches (for .setLength) and one to SELECT ... LIMIT ... OFFSET to get the correct range of matches Jan 09 01:48:14 jfelectron: I'm actually just adding new content. Jan 09 01:48:43 Is there any solution more elegant than nesting one query inside the success callback of another? Jan 09 01:48:46 catalyst: no need to re-render the entire list with modelChange then...do noticeAddedItems(offset, newItems) Jan 09 01:49:31 jfelectron: Alright, I'll try that :) Thanks Jan 09 01:49:41 newItems would be an array I assume? Jan 09 01:50:02 catalyst: yes....its an array of item models Jan 09 01:50:18 also add it to your listModel.items Jan 09 01:50:33 noticeAdded just renders....doesn't add it to the list model Jan 09 01:51:44 jfelectron: Good to know! Thank you so much. Jan 09 01:52:13 no prob....the docs on the list methods leave much to be desired Jan 09 01:52:53 look into the hasNoWidgets attribute if your list doesn't have widgets inside the items Jan 09 01:53:02 it improves rendering time Jan 09 01:53:04 That seemed to work beautifully. Thank you! Jan 09 01:53:24 I've added that and fixedHeight as well. Still kinda slow. It's a pretty big list :S Jan 09 01:53:42 *fixedHeightItems Jan 09 01:53:56 haeff: heh, thanks. will pass it along. :-) Jan 09 01:55:02 jfelectron: Well that was my last bug for the day, thanks for the help! Jan 09 01:55:11 See ya later everyone Jan 09 01:55:15 thinking about changing my app name to "autoMyles" Jan 09 01:55:16 jfelectron: we hear you regarding a better inspector, etc. Jan 09 01:55:53 lemketron: cool, I have confidence in your guys! We wait patiently :) Jan 09 01:56:18 since the Automilez people don't like MileZ Jan 09 01:56:27 We try not to keep you waiting... nine OTA updates since June, and almost as many SDK drops. Jan 09 02:00:26 lemketron: wasn't meant to be criticism....compared to other shall not be mentioned platforms, you guys are doing fantastic! Excellent communication with and support of dev community. Jan 09 02:01:34 That's our goal, though when we first said it I think everyone said "yeah, right..." I think you've heard it from pretty much everyone and more importantly, you've SEEN it. Jan 09 02:01:46 haeffb: MyMiles, MilesPRO PRO>Auto :) Jan 09 02:02:36 lemketron seen it, and praised the hell out of you for it. Jan 09 02:02:40 f it. I'll just call mine automilez pro. Jan 09 02:02:53 start an LLC and let them sue the heck out of it. Jan 09 02:02:54 I spent half the day today talking with journalists trying to get that story out, and Jan 09 02:03:17 explaining how Palm will prevail because their teaming with their dev's and not being adversarial. Jan 09 02:04:19 Cool, thanks for your help in setting the record straight. :-) Jan 09 02:04:41 Is it true what I read the other day about Sprint and the new server thing? Jan 09 02:04:58 lemketron it is Jan 09 02:05:09 that's so awesome. Jan 09 02:05:12 lemketron see pm Jan 09 02:05:12 new server? Jan 09 02:12:13 the poor gasping webos-internals server is crumpling under the load of all the cool new stuff Palm keeps putting out. Jan 09 02:12:48 ahhh....and Sprint helped y'all out? Jan 09 02:12:56 Rick_work: FYI I have found that if you add handleLaunch and don't set noWindow: true, your app menu stops working. Or mine did. Jan 09 02:12:58 money not yet in bank. Jan 09 02:13:15 goood to know haeffb Jan 09 02:13:27 doccument it in webos101 wiki pretty please. Jan 09 02:15:10 haeffb: handleLaunch kinda only makes sense for multistage apps for that makes some sort of sense Jan 09 02:15:46 yeah. Just forgot to change appinfo.json, and couldn't figure out why my app menu stopped. Jan 09 02:21:15 wow, with regard to sqlite resultset.rows.length: "Fetching the length might be expensive, and authors are thus encouraged to avoid using it (or enumerating over the object, which implicitly uses it) where possible." Jan 09 02:21:42 alternatives would be appreciated ;P Jan 09 02:23:53 heh good question, when working with a record set you need to know total records Jan 09 02:23:57 weird Jan 09 02:24:36 well you can make a suery to grab the total if it's like any other sql Jan 09 02:24:41 *query Jan 09 02:25:04 yeah i've now added a COUNT(*) to my SELECTed columns Jan 09 02:25:46 gotcha they are correct to discourage from steping through a huge json list to get a count Jan 09 02:35:00 hey atlanta.. Jan 09 02:35:39 Bmyers_: wsup my man Jan 09 02:35:44 just woke up Jan 09 02:35:56 too funny. Jan 09 02:36:09 was dumb tired Jan 09 02:36:12 worked over time Jan 09 02:36:18 i'm still fighting ubuntu and eclipse Jan 09 02:38:30 u got it to work Jan 09 02:38:30 ? Jan 09 02:38:36 komodo FTW Jan 09 02:40:21 cant even get emulator to work Jan 09 02:40:37 Bmyers_: Windows...it was made for a reason... Jan 09 02:41:26 reality9110: oh nuh-uh.....don't play that game :) Jan 09 02:41:36 All day long. Jan 09 02:42:31 reality9110: someone was saying you have had some success with mobile ads on apps? Jan 09 02:42:53 reality9110: lmfao Jan 09 02:43:02 what was that erro r Jan 09 02:43:02 ? Jan 09 02:43:05 natenrb9: Somebody might be correct... Jan 09 02:43:31 just curious how many downloads round about does it take to make $1? Jan 09 02:43:44 how many users Jan 09 02:44:10 or what's the pay rate per minute of 'face' time? Jan 09 02:44:13 natenrb9: It's not about users...it's about how long the app stays open, how many clicks, how many views Jan 09 02:44:27 per view or per clckthroug? Jan 09 02:44:30 right, I realize there are tons of variables Jan 09 02:44:40 but round about Jan 09 02:45:10 * atlanta just compiled his own DOOM game Jan 09 02:45:23 Ok...let me ask first, what type of app? Jan 09 02:45:24 reality9110: does the ad SDK provide analytics? Jan 09 02:45:32 any metrics you could give me would be helpful Jan 09 02:45:55 I have a few Jan 09 02:46:03 jfelectron: Some do, some don't. There's only one real SDK available for the Pre and that's admob Jan 09 02:46:12 natenrb9: List them Jan 09 02:46:19 lets say my Magic Fortune Ball app Jan 09 02:46:23 reality9110: AdMob eh? Jan 09 02:46:23 its in the catalog Jan 09 02:46:50 Magic Fortune Ball sounds like limited face time.... Jan 09 02:46:55 natenrb9: Ok. So short usage app. Maybe 1-2 uses per week, probably. Jan 09 02:46:57 admob does Jan 09 02:47:01 how many impressions to get a click usually, how about tha? Jan 09 02:47:20 havent looked at that Jan 09 02:47:28 natenrb9: For something like that with limited targetting capability, probably around a 0.05% CTR Jan 09 02:47:42 cool Jan 09 02:47:59 how many apps do you have running with ads? Jan 09 02:48:00 So, take that at $0.05 a click and do some math Jan 09 02:48:04 2 Jan 09 02:48:12 you use admob? Jan 09 02:48:31 On one, only admob. On the other, admob is the fourth strinig Jan 09 02:48:33 string Jan 09 02:48:44 who else do you use? Jan 09 02:48:50 adquattro? Jan 09 02:49:13 Quattro Wireless, Smaato, JumpTap, Adfonic (for European users), and Admob. Jan 09 02:49:56 And InMobi will be added to the rotation if India or China get the Pre or Pixi Jan 09 02:50:47 who is your preferred? Jan 09 02:51:06 Right now, Quattro. Two weeks from now, JumpTap Jan 09 02:51:46 lol Jan 09 02:51:48 natenrb9: I'll tell you one thing, the apps I'm dealing with aren't just your standard everyday apps. Jan 09 02:52:04 more steady use? Jan 09 02:52:12 They aren't little widget types of apps so there's a lot of dealing involved. Jan 09 02:52:22 a lot of dealing? Jan 09 02:52:28 Yes, with the ad companies. Jan 09 02:52:37 oh, gotcha Jan 09 02:52:47 so higher cpc? Jan 09 02:52:58 No. We get CPM advertising. Jan 09 02:53:03 nice Jan 09 02:53:23 And yes, it is higher CPC as well. Jan 09 02:53:31 Upwards of $0.25 CPC Jan 09 02:54:54 And we have quite a lot of users, so that always helps **** ENDING LOGGING AT Sat Jan 09 02:59:57 2010