**** BEGIN LOGGING AT Sun Jan 10 02:59:56 2010 Jan 10 03:00:08 reality9110: would depend on whether it were completely de novo or if you just need to wrap some existing libraries Jan 10 03:00:24 jfelectron: as far as I can see, PDK is binary plugins and services, using npapi and lunaservice Jan 10 03:00:34 Well, there are existing libraries for all of that. Jan 10 03:00:49 (based on looking at NFS and X-Plane Jan 10 03:01:05 reality9110: yeah, so you'd just need someone to wrap it with the PDK Jan 10 03:02:36 reality9110: is there any of those ad networks that you would recommend to try first? Jan 10 03:03:30 rwhitby: yeah, I'm curious about the rendering...they mention mixing GPU rendering with the web rendering in a single scene Jan 10 03:04:27 I imagine it will allow for registration of custom services that can be queried like the Palm ones Jan 10 03:04:30 yep, using an npapi plugin, just like Terminal does Jan 10 03:04:30 jfelectron: any news on colorpicker? Jan 10 03:04:46 jfelectron: yep, just like webos-internals C services today Jan 10 03:05:07 jfelectron: http://bit.ly/webos-internals-pdk Jan 10 03:05:27 haeffb: when I used the old code, the picker was completely stable so for now I've ditched the class Jan 10 03:05:59 interesting Jan 10 03:06:02 haeffb: what I have now is that I pass the sceneAssistant object to doMyLoad and cache it in the global var that, not ideal...but that's what I have for the moment Jan 10 03:06:24 so I attache the listeners with that.controller.document Jan 10 03:07:06 dunno...it seems the DOM listeners are better than the Mojo abstracted ones are at least for the colorpicker Jan 10 03:07:31 hmmm. so long as it works... Jan 10 03:07:51 whitby: oh cool, thanks Jan 10 03:08:24 haeffb: the thing still concerns me though because its riddled with closures Jan 10 03:08:33 the original code Jan 10 03:11:03 so, anybody with a few minutes want to help me with an Ajax login to a 3rd-party site? not sure what I'm doing wrong: http://webos.pastebin.com/d1601a96d Jan 10 03:16:02 heh Jan 10 03:16:09 you used the inputbox id not its name Jan 10 03:16:22 the name is ctl00$ctl00$ctl00$MainContent$MainContent$MainContent$LoginForm$emailAddress Jan 10 03:16:32 thats what would get sent not the element id Jan 10 03:17:22 I think it is the same? name and id....let me check Jan 10 03:17:26 its not Jan 10 03:17:55 ph Jan 10 03:17:57 oh Jan 10 03:18:00 so use the name, not id Jan 10 03:18:03 okay will try Jan 10 03:18:04 yeah Jan 10 03:18:15 youd only use the id if you wanted to do something in js to the element Jan 10 03:18:23 the element name is what gets sent via post Jan 10 03:18:26 name=value Jan 10 03:19:35 okay, makes sense....but still doesn't work :D Jan 10 03:20:07 heh Jan 10 03:20:41 lemme restart firefox and see whats getting sent and how Jan 10 03:21:15 and tell me how you did that Jan 10 03:21:24 because that's what I've been trying to do all day Jan 10 03:21:31 firebug, wireshark Jan 10 03:21:34 I suck Jan 10 03:21:35 i just installed Live Headers Jan 10 03:21:41 lets me see the header activity Jan 10 03:22:01 sounds good Jan 10 03:23:22 speaking of headers....is there a way to retrieve HTTP Only headers in an AJAX.Request?? Jan 10 03:23:54 sugar you also need Jan 10 03:24:01 not for XSS stuff...just need to get the cookies for good purposes I swear! Jan 10 03:24:06 mvc.postaction=LoginAccount Jan 10 03:24:35 mvc.postaction=LoginAccount&__EVENTTARGET=&__EVENTARGUMENT=&ctl00%24ctl00%24ctl00%24MainContent%24MainContent%24MainContent%24LoginForm%24emailAddress=test%40aol.com&ctl00%24ctl00%24ctl00%24MainContent%24MainContent%24MainContent%24LoginForm%24password=test&submit=Log+In Jan 10 03:24:42 thats everything getting sent via post Jan 10 03:24:49 email was test@aol.com password was test Jan 10 03:25:17 mvc.postaction is some weird hidden input they have.. Jan 10 03:25:22 dawm__: yeah, I just saw that Jan 10 03:25:28 thanks for the live headers tip Jan 10 03:25:31 that's awesome Jan 10 03:25:43 yeah it helps when youre not entirely sure whats going on Jan 10 03:25:49 cause its what the browser sends to the server Jan 10 03:26:05 so, then I would need to set my postBody to match that, more than likely Jan 10 03:26:09 i thought firebug had that feature but i couldnt find it Jan 10 03:26:12 yeah Jan 10 03:26:22 great, will try it out after I refill my drink Jan 10 03:26:37 another nice tool is the useragent one, lets you switch your user agent to say.. the iphone so sites spit out different content Jan 10 03:27:49 http://chrispederick.com/work/user-agent-switcher/ Jan 10 03:28:08 but im off to bed, lemme know if you get it working, i always enjoy knowing i helped someone Jan 10 03:28:21 Hey all! Jan 10 03:28:38 hey kesne, and good night im off to bed Jan 10 03:28:58 Hah Jan 10 03:29:10 You know the SDK has multitouch now? Jan 10 03:29:42 dawm__: will do, thanks Jan 10 03:29:44 kesne: PDK has 5 mice Jan 10 03:30:11 rwhitby: are you in the beta program? Jan 10 03:30:27 kesne: http://bit.ly/webos-internals-pdk Jan 10 03:30:47 haeffb: old docs still there http://developer.palm.com/palm-sdk/jsdoc/symbols/Mojo.Widget.html Jan 10 03:31:38 And I knew it had multitouch, but I'm just saying that the current SDK (aka the lame one) Has it Jan 10 03:32:15 dawm__: perfect, that did it...now to see if those hidden fields change Jan 10 03:32:54 * sugardave sugardave feels dumb as he tries to figure out how multi-touch will work in the SDK. Jan 10 03:33:07 * sugardave feels even dumber for typing his name in an emote. Jan 10 03:38:10 Mojo.Format.runTextIndexer ....damn I had written a function to do this myself and THEN I discovered this method Jan 10 03:43:05 hey sugardave Jan 10 03:44:55 what's up? Jan 10 03:45:39 OK this is either very funny or something is wrong: the TextIndexer activates http://www.nytimes.com but not http://www.cnn.com Jan 10 03:46:36 just saying hey. u red that multitouch stuff? Jan 10 03:46:48 a ^ Jan 10 03:48:57 Bmyers_: haven't read up on it yet, but kesne told me there's stuff in mojo matters Jan 10 03:49:16 I haven't even looked at mojo matters yet...I still have the old style matters Jan 10 03:49:35 i guess they might be totally different things Jan 10 03:49:36 sugardave: mostly run mojomatters in emu so i may not have noticed. Jan 10 03:49:47 oh, new mojomatters? Jan 10 03:49:53 in 1.3.5? Jan 10 03:49:57 I think so Jan 10 03:50:02 oh... Jan 10 03:50:09 still. i run em in emu. Jan 10 03:50:18 * haeffb still hasn't installed 1.3.5 Jan 10 03:50:20 doesnt matter how many fingers i put on there Jan 10 03:50:35 heh Jan 10 03:50:45 haeffb: i think the rush is over. it's safe now.. Jan 10 03:51:11 meh. maybe tomorrow Jan 10 03:51:14 haeffb: you're being left behind Jan 10 03:51:35 I'm still sorry I upgraded from Win 3.0. Jan 10 03:51:48 yeah, the eagles called haeffb: they needs the 80's back.. Jan 10 03:52:07 haeffb: I would agree with you if you said WFW 3.11 Jan 10 03:52:16 well, OS/2 was good Jan 10 03:52:23 bunch of old farts.. Jan 10 03:52:27 rexx Jan 10 03:52:29 Amiga was the only real OS Jan 10 03:52:43 TI 99/4A Jan 10 03:53:04 running BASIC programs off a cassette tape Jan 10 03:53:06 i still got my sx64 Jan 10 03:53:21 i had a vic-20 then a c-128 Jan 10 03:53:32 shit was alot simpler when I didn't have to .bind(crap) Jan 10 03:53:37 haha Jan 10 03:53:39 no doubt Jan 10 03:53:52 "we just had GOTO and we LIKED IT" Jan 10 03:53:53 load "$",8 Jan 10 03:53:57 somebody should write a profane js interpreter Jan 10 03:53:58 or wtf it was Jan 10 03:54:02 screw.this Jan 10 03:54:16 old farts... Jan 10 03:54:45 question! Jan 10 03:55:07 working out details on the reminder alarms on entering ending mileage. How's this scenario: Jan 10 03:55:50 * FoxFireX snerks at an error that popped up while making a test Ares app. Jan 10 03:55:52 if you leave the entry scene w/o entering ending mileage (ie propertyChange event on the textfield never fires) the alarm is set. Jan 10 03:55:54 haeffb: Oh..btw turns out toggling CSS display property on a DIV is way faster than inserting new content with innerHTML Jan 10 03:56:02 "Error: Error: Caught exception in List widget 'view1-main-list2-list' setup(): Error: require Failed: Failed to find scroller for element, although one might wonder why it is a requirement." Jan 10 03:56:26 haeffb: running innerHTML over all my 'drawers' was sluggish, but swapping display: none with display: block is fast Jan 10 03:56:36 cool. Jan 10 03:57:00 but only if this is a new entry. Jan 10 03:57:09 does that make sense? Jan 10 03:57:14 seems reasonable Jan 10 03:57:24 don't want alarms firing willy nilly Jan 10 03:57:39 make sure u clear it if the do enter a mileage Jan 10 03:57:45 or should I include a checkbox Jan 10 03:58:08 clutter ? Jan 10 03:58:11 that is checked in the above scenario but not checked otherwise. but the user can check it. Jan 10 03:58:13 yeah. Jan 10 03:58:31 preference ? Jan 10 03:58:50 "ask me" or "always" Jan 10 03:59:00 there will be a pref. but don't want alarms to fire if I just go in and look at or edit existing entries. Jan 10 03:59:29 sugardave: did you install agenda? Jan 10 03:59:36 do you set a global if you have an open entry? Jan 10 03:59:51 haeffb: I did, but honestly have not messed with it yet Jan 10 04:00:29 I think I'd almost have to add a db field Jan 10 04:00:54 I literally spent all day trying to figure out something that took 2 minutes once I learned about the live headers ff extension Jan 10 04:01:29 dunno what I'm gonna do yet. still thinking stage. Jan 10 04:01:57 sugardave: I had a similar experience a few weeks ago when I was trying to sort out digest authentication and cookie passing Jan 10 04:02:16 frustrating, but a laugh later Jan 10 04:02:26 db field for? Jan 10 04:03:12 sugardave: still can't figure out how to pry HTTP headers from the dark hand on the AJAX.Request, if its even possible...damn web security Jan 10 04:03:17 whether that entry needs a reminder or not. Jan 10 04:03:20 I dunno. Jan 10 04:03:32 perhaps a cookie. Jan 10 04:03:52 for dashboards waiting around for a bunch of sql data u dont need sux.. Jan 10 04:04:14 right now I've got a list selector with 5min, 10 30 1hr 5hr. Jan 10 04:04:16 jfelectron: see, I think I don't have a good grasp on the standard terminology....wth is differnt between 'http headers' and 'response/request headers'? Jan 10 04:04:21 maybe just add a "none" option Jan 10 04:04:50 sugardave: well to prevent cross site scripting (XSS) there are headers that are passed but the browser doesn't expose to client side script Jan 10 04:04:52 sugardave, 1 u send 1 get receive Jan 10 04:05:16 okay, so http headers are essentially 'client' headers? Jan 10 04:05:29 sugardave: things like authentication cookies are increasingly being moved to so called HTTP only headers, which aren't exposed to client side scripting Jan 10 04:05:43 i see... Jan 10 04:06:12 listen to him. he's got a patent .. Jan 10 04:06:22 me, too! Jan 10 04:06:23 sugardave: prob is when using AJAX.Request, I have no idea what happens to them Jan 10 04:06:58 jfelectron: yeah, there's no method for getting those Jan 10 04:07:00 Bmyers_: email Jan 10 04:07:17 take a look and let me know what you think would work. Jan 10 04:07:22 sugardave: yeah that's what I concluded an found another way Jan 10 04:07:32 oh, and it should fire the alarm no matter what right now. Jan 10 04:07:33 well, 3rd party web site, but not guaranteed Jan 10 04:08:00 jfelectron: I know there were some I was getting with the navigator object, I think Jan 10 04:08:20 but those were like browser settings/identity stuff Jan 10 04:08:32 k Jan 10 04:08:40 hmm....I should look into that Jan 10 04:15:44 haeffb: so u do both right now? Jan 10 04:17:13 right now I was just testing alarms Jan 10 04:17:32 sugardave: Are you using Smaato? Jan 10 04:17:58 you can select the time until the reminder fires, but it will fire after any deactivate() of the entry scene. Jan 10 04:18:46 so I'm trying to decide the logic behind when it should be set and when not. Jan 10 04:19:45 reality9110: no, but it wouldn't matter who I was using at this point...not getting very much traffic Jan 10 04:20:02 ah Jan 10 04:20:20 I've got a call from them on Tuesday about getting a CPM deal Jan 10 04:20:23 are you still using them? Jan 10 04:20:26 cool Jan 10 04:20:30 aheffb: just alarms? Jan 10 04:20:33 4th in line right now Jan 10 04:21:02 They irritate the heck out of me, but whatever. Money is money Jan 10 04:21:02 alarm that launches a dashboard Jan 10 04:21:12 got it Jan 10 04:21:20 eventually, tap on dashboard will take you to that event. Jan 10 04:21:22 "if they pay, they stay" Jan 10 04:21:36 but now it just launches app Jan 10 04:22:31 I had an amusing phone call from Bill over at RT the other day. Calls me up from CES. Said, "Did you know that there's a Playboy ad running on a religious station?" Jan 10 04:22:42 just took a tour of automilez. looks pretty slick. Jan 10 04:22:47 reality9110: hahaha, oh man Jan 10 04:23:19 interesting to know how many clicks those generated :D Jan 10 04:23:44 I said, "And?" He said, "Is there something we can do about that?" I said, "Uhh...you do realize they're paying for that ad to be there, right? It's CPM. We're making money every time that ad shows up. And besides, religious people have needs as well." Jan 10 04:24:19 damn straight Jan 10 04:24:58 yup. works.. Jan 10 04:29:05 is there a way to temporarily disable the scene scroller? Jan 10 04:29:30 I don't think temporarily Jan 10 04:29:35 Just before a push Jan 10 04:29:45 jfelectron: interesting question....swapScene with the current scene and the scroller disabled? Jan 10 04:29:57 I want to put some content on top of a scrim and not have dragging in the modal content to not cause scrolling Jan 10 04:30:05 sugardave: interesting idea Jan 10 04:30:35 not have dragging-----> cause scrolling Jan 10 04:31:25 I wonder what would happen if I wrapped the modal content in its own scroller Jan 10 04:31:35 jfelectron: That's what I do Jan 10 04:31:55 reality9110: interesting, I'll try that...thanks Jan 10 04:32:03 disable scene scroll, and then use a scroller for the rest of the crap Jan 10 04:32:51 That's how the header on RadioTime stays up there at the top of the page and doesn't get scrolled off when scrolling the list. Jan 10 04:34:07 that much makes sense...here I'm putting content above the underlying scene, but I think if I wrap that z-indexed content in its scroller it won't propagate the drag to the scroller below Jan 10 04:34:51 It shouldn't. Jan 10 04:35:09 I'll see shortly Jan 10 04:35:51 Is the bottom scroller the scene scroller or just a scroller? Jan 10 04:36:00 Because you'll need to disable the scene scroller for it to work that way Jan 10 04:37:57 well currently its the scene scroller, but I can install one for the underlying list, thats no prob Jan 10 04:38:08 You'll have to. Jan 10 04:39:05 If not, on the actual device (not in the emulator), you'll be able to hold down the z-indexed content and move it. Jan 10 04:39:26 Sometimes works on the emulator as well, but mainly an issue on the device. Jan 10 04:43:23 so the dialogs prevent scrolling by catching the event and executing event.stop() Jan 10 04:47:32 shebang! That works Jan 10 04:48:10 listen on containing scrim div for dragStart and in the handler do event.stop()---->no scrolling Jan 10 04:50:35 Making things to complex Jan 10 04:53:13 too, as well... Jan 10 04:53:57 event.stop and event.preventDefault are increasingly becoming my friends....sometimes you want to decide what do with the event and have the framework ignore it Jan 10 04:54:17 if its something 'unusual' Jan 10 05:01:21 Can anyone tell me what this process is doing? Jan 10 05:01:22 root 1167 1 0 1238 1736 0 23:40 ? 00:00:00 /usr/bin/mobilehotspotd Jan 10 05:21:25 klownicle: what do you mean? Jan 10 05:21:56 it looks like its a daemon for the new Verizon mobilehotspt...probably some type of bridge between the WAN interface and the WIFI radio Jan 10 05:22:40 or rather the WAN interface and USB, because its tethering via a laptop I think Jan 10 05:22:41 Just pokin around in my pre and saw that. Jan 10 05:23:00 its strange that's it running in the Sprint builds considering we aren't getting that Jan 10 05:23:02 And i knew of the annoucment of the Verizon Mobile Hotspot APplication for the pre. Jan 10 05:23:36 I can't see whats gonna stop someone from porting the app to sprint network. Jan 10 05:24:09 my thoughts exactly...someone just needs to figure out the userspace hooks Jan 10 05:24:25 Jan 25th gonna be a good day for tethering heh. Jan 10 05:24:51 is that V day? Jan 10 05:24:55 Yeah Jan 10 05:25:18 They haven't released info about costs yet, but doesn't really matter to me, Sprints plan's kick anyone. Jan 10 05:25:32 Sprint didn't lie when they said verizon wasn't getting the pre lol. Jan 10 05:25:37 There getting the PRE PLUS heh Jan 10 05:25:41 :-/ Jan 10 05:26:08 bastards....I'm hoping Palm gives the early adopters some sugar come June Jan 10 05:26:22 You mean pre 2? Jan 10 05:26:28 yeah Jan 10 05:26:35 I honestly think its too soon for a pre 2. Jan 10 05:27:04 one year too soon? 1.5..2? Jan 10 05:27:08 I don't see palm pushing out a completely new phone revision (not a minor change like palm pre plus). Jan 10 05:27:27 But you never know. Jan 10 05:27:49 I'm thinking Pre 2 will be a snapdragon based device Jan 10 05:27:50 Everything pre 2 is all phantom. Jan 10 05:27:55 yeah Jan 10 05:28:03 Its all palm wetdreams. Jan 10 05:28:04 I'm not holding my breath Jan 10 05:28:44 The pre plus is a nice addition, its unfortunate its exclusive. But im content with my reg pre, as long as they don't drop the pre like they do the pixi with updates. Jan 10 05:29:15 If they start using the pre plus as the head model and give pre and pixi users extended wait time for features I won't be happy. Jan 10 05:29:24 hi all! Jan 10 05:29:32 * Klownicle waves Jan 10 05:30:41 pixi is substantially different hardware and it behooves them to have clear product demarcation Jan 10 05:31:17 what up jenp Jan 10 05:31:33 hey haeffb! Jan 10 05:31:42 not much you? Jan 10 05:32:04 MileZ Jan 10 05:32:20 smiles...still sticking with that name huh? Jan 10 05:32:53 gonna call it Manualmilez Jan 10 05:33:01 seriously? Jan 10 05:33:03 since automilez uses GPS Jan 10 05:33:25 crap, just rebooted Pre trying to install from eclipse Jan 10 05:33:56 hello all! Jan 10 05:34:05 then when I add GPS I'll call it manualmilezPro Jan 10 05:34:07 hey LoneStar99! Jan 10 05:34:35 haeffb_asleep i like that Jan 10 05:34:44 haeffb: but why change it at all... i think you should keep Milez Jan 10 05:35:19 hey JenP, how's the ssh access going? Jan 10 05:35:34 hey rwhitby! awesome.... Jan 10 05:35:48 LoneStar99: yeah, I don't know what I will do yet. Jan 10 05:35:51 LOL actually i was just trying to install preware on my emu so i can start your help file Jan 10 05:35:59 haven't responded to the nastygram Jan 10 05:36:08 er. somewhatpolitegram Jan 10 05:36:19 JenP: the preware-bootstrap script should work on the emu too Jan 10 05:36:21 what is the other name automilez? Jan 10 05:36:31 cool! Jan 10 05:36:44 yes. I took their tour earlier - looks pretty slick Jan 10 05:37:14 JenP: of course it won't be able to hand off to the app catalog app on the emu Jan 10 05:37:36 lol that's ok i can get my main screen shots off emu and form starter template Jan 10 05:37:39 it's all GPS logging. press start, add a category/rate, purpose & notes, press end when you arrive Jan 10 05:37:46 automilez: has only been up since april of 2009 Jan 10 05:37:57 do you own the milez.com domain? Jan 10 05:37:59 then they send your data to a web service Jan 10 05:38:05 nah. Jan 10 05:38:13 haeffb_asleep i need your help with the reminder function later if your up... Jan 10 05:38:18 only domain I have is haeffb.com Jan 10 05:38:33 probably not 4 long, JenP Jan 10 05:38:59 but, what you got? Jan 10 05:39:00 no worries Jan 10 05:40:03 haeffb_sleep: u are a realtor? Jan 10 05:40:12 my wife is. Jan 10 05:40:18 works for a realty company Jan 10 05:40:31 it's a test setup for their new site Jan 10 05:40:31 oh ok Jan 10 05:41:32 nice site, to the point Jan 10 05:41:45 alright i'll let you sleep Jan 10 05:41:48 GN Jan 10 05:43:25 g'nite! Jan 10 05:44:09 anyone know if I can get a prepaid plan for the pre at sprint? Jan 10 05:44:35 anybody wanna buy a home in Macon? http://www.haeffb.com/ Jan 10 05:45:06 that needs some cleanup work. haven't looked at it in 6 months. Jan 10 05:46:10 Bmyers_: still around? Jan 10 05:46:22 rwhitby..can i rework the preware layout too? Jan 10 05:46:37 i thought u were sleeping? Jan 10 05:46:48 hi Bmyers_! Jan 10 05:46:57 hi JenP! Jan 10 05:47:00 got one eye open yet. Jan 10 05:47:09 whats up? Jan 10 05:47:35 when my app first loads, I setupWidget on the main list, with no data. Then I'm loading from the DB. Then modelChanged on the list. Jan 10 05:48:05 but the dividerFunction is not called. or not working...? Jan 10 05:48:34 modelchanged matches the setup widget? Jan 10 05:49:26 ah. it's loading the list from DB & calling modelchanged BEFORE it loads categories from DB. async issue. Thanks for the help! Jan 10 05:49:49 gotta call modelchange in the success handler Jan 10 05:50:05 gotta call it again in success handler of the cats load Jan 10 05:50:28 shouldnt need to do it twice tho.. Jan 10 05:50:29 or move all the db loads to the stageAssist. Jan 10 05:50:32 or something. Jan 10 05:50:59 or do a synchronizer on the onSuccess of all three DB loads, then call modelChanged. Jan 10 05:51:32 or punt all this stuff and go back to building roads Jan 10 05:53:50 or set three boolean values and call a function to change model from the end of all three loads (if a&&b&&c) modelChanged. Jan 10 05:56:18 rwhitby: if I use a pre with another "carrier" other than sprint, will I still be able to upgrade the OS on the phone? Jan 10 05:56:59 ok, night all Jan 10 05:57:26 LoneStar99: if you have signed into a palm profile, yes Jan 10 05:59:16 rwhitby: ok thanks Jan 10 06:00:14 LoneStar99: note you can't be logged into the same profile on two phones Jan 10 06:04:24 g'nite all Jan 10 06:06:08 rwhitby: more than likely a pre-owned mobile will have it's profile deleted, but using wwebos-internal meta doctor: i should be able to change carrier is that correct? Jan 10 06:06:38 no, meta-doctor does not do carrier change. it skips activation Jan 10 06:09:24 obsticles needed to overcome 1.) skip activation (meta doctor) 2.) changing carrier (unknown solution)... Jan 10 06:21:23 LoneStar99: why do you need a carrier on a dev device? Jan 10 06:24:45 rwhitby: cuss my current phone kinda sucks Jan 10 06:25:19 LoneStar99: oh, then just activate the phone with that carrier then - why do you want to bypass activation? Jan 10 06:25:55 rwhitby: i can activate the device with any carrier? Jan 10 06:26:53 http://uoid.me/mobile1 Jan 10 06:28:54 LoneStar99: ok, you have me confused now. initially I thought you said you wanted a second device, just for development. that I can help you with. now I think you're saying you want to activate a phone on a carrier that currently does not carry the Pre. that I cannot help you with. Jan 10 06:31:57 rwhitby: i am just brainstorming, the pre will be for development, just like to ask questions, so i know my options... Jan 10 06:33:30 in the future I would like to work on some voice stuff, but if the user does not have wifi, I need to be able to test the dev device on a standard mobile signal Jan 10 06:41:45 hello Jan 10 06:58:39 hey everyone Jan 10 06:59:49 * pandora-- is still in vegas for ces Jan 10 06:59:51 la la la la la Jan 10 07:00:08 waiten for that special invitation that says palm pre 2 on it? Jan 10 07:01:39 arent the list formatters suppose to receive two variables? Jan 10 07:01:43 well, i did get to see the Palm Pre Plus Jan 10 07:01:48 and the Verizon Pre's Jan 10 07:01:49 the property and the model object? Jan 10 07:03:57 because the only thing that is being passed to mine it the property.. Jan 10 07:04:17 and her http://developer.palm.com/index.php?option=com_content&view=article&id=1742&Itemid=44 it says I am supposed to get both.. Jan 10 07:05:42 pandora--: Don't you know: What happens in Vegas, stays in Vegas. Jan 10 07:06:13 anybody? Jan 10 07:06:19 i made $4 on slot machines Jan 10 07:06:22 i'm going home a winner Jan 10 07:06:24 w00t. Jan 10 07:06:29 pandora--: heh. Jan 10 07:06:34 jeez Jan 10 07:06:38 i suck at vegas Jan 10 07:06:39 pandora--: Check out http://pre101.com/blog/2010/01/09/palm-at-ces-2010-3d-video-pre-and-pixi-plus-and-more/ That sound about right? Jan 10 07:06:46 i spent friday night in my hotel room coding Jan 10 07:06:56 and... here i am again! hahhaa Jan 10 07:06:59 pandora--: The only way to win is not to play. Jan 10 07:07:04 yup! Jan 10 07:07:24 Although splitting aces at the blackjack table is good. Jan 10 07:07:40 i really dont know how to play cards Jan 10 07:07:58 i really dont know how to play cards so i put $10 in a machine and called it a night Jan 10 07:10:09 If anyone wants to retweet my post, well... I wouldn't object. Jan 10 07:17:23 anyone ever use Mojo.View.convertToNode? Jan 10 07:19:11 jfelectron: ever used Mojo.View.convertToNode? Jan 10 07:20:28 sugardave: funny you mention...I was looking at that today...not entirely sure what's its purpose is. Usually I do document.creatElement('div')...dump my HTML into the innerHTML of that and then use DOM methods on it do manipulate it as 'nodes' Jan 10 07:21:02 well, I tried that, but this page is throwing errors in the log about 'unable to load local resource' Jan 10 07:21:14 so, am trying to get around that and looking to see what's available Jan 10 07:21:30 it's supposed to take an html string and turn it into dom nodes Jan 10 07:21:34 you Jan 10 07:21:36 you Jan 10 07:21:42 you're using a webview? Jan 10 07:21:49 but I'm confused about the 'targetDocument' parameter Jan 10 07:22:02 no, just a scene div Jan 10 07:22:09 oh Jan 10 07:22:15 right Jan 10 07:22:19 local resource? Jan 10 07:22:32 are you injecting the HTML into the innerHTML of the div? Jan 10 07:22:35 yeah, it's trying to load file:///some/verisign.gif Jan 10 07:22:42 ahhh Jan 10 07:22:51 one too many / there Jan 10 07:22:52 jfelectron: that works, but I can't access the elements I want Jan 10 07:23:03 typed not copied Jan 10 07:23:18 anytime I try to do a dom thing to responseText I fail with that local resource error Jan 10 07:23:40 even after updating my div's innerHTML (which works) Jan 10 07:23:50 really? Huh...that's the backbone of much of my app Jan 10 07:24:06 does responseText have body tags? Jan 10 07:24:09 Not allowed to load local resource: file:///img/icons/verisign.gif Jan 10 07:24:21 probably, it's a whole page Jan 10 07:24:44 I guess I could strip out everything I don't want with regex...ugly Jan 10 07:25:14 I was thinking just use a regex to scrape everything inside the body tags Jan 10 07:25:28 mostly now I'm just interested in one table Jan 10 07:25:36 but there are going to be other things I want to grab Jan 10 07:25:51 would be nice to DOM-ify it Jan 10 07:25:56 Its still interesting though because I inject an entire page into a tempdiv Jan 10 07:26:01 let me dig up the code Jan 10 07:26:21 that would be great....it may just be how this page is made...lots of yahoo js stuff in there Jan 10 07:26:41 var newdiv=document.createElement('div') Jan 10 07:26:41 newdiv.innerHTML=response.responseText; Jan 10 07:26:42 comments=newdiv.getElementsByClassName('talk-comment'); Jan 10 07:26:57 I assume that's like what you've tried? Jan 10 07:27:06 if I try that, the last line is what gives me that local resource error Jan 10 07:28:21 sugardave: maybe its a tag soup, so the parser or whatever is 'walking' the DOM freaks out because it can't figure out what the hierarchy is Jan 10 07:28:58 arent the list formatters suppose to receive two variables? Jan 10 07:29:07 jfelectron: yeah, I'm going to see if I can come up with some regexp to get rid of the cripts and whatnot Jan 10 07:29:09 the property and the model object? Jan 10 07:29:21 surgardave: prototype has a method to strip scripts Jan 10 07:29:31 oh? Jan 10 07:29:33 nifty Jan 10 07:30:10 yup: http://www.prototypejs.org/api/string/stripScripts Jan 10 07:30:34 yeah, cool....thanks Jan 10 07:31:12 have you tried replacing that problematic image resource and see if that gets you over the hump? Jan 10 07:31:23 I don't understand why it would be trying to load the images Jan 10 07:31:57 I mean obviously there are resources referenced within that that you don't have localy...but why does it care? Jan 10 07:32:13 should just be a DOM tree Jan 10 07:32:32 yeah, I have no clue Jan 10 07:32:50 edektor: you mean Mojo.View.Render o something else? Jan 10 07:32:53 I think I should strip everything but first and see what happens Jan 10 07:34:38 but is that resource within those tags? Jan 10 07:34:41 jfelectron: heh, I was wrong...the error throws even when I use innerHTML, though it does display, maybe I was too hasty Jan 10 07:35:17 well its not surprising it doesn't display...that path doesn't exist locally Jan 10 07:35:31 I mean that it tries to display and then errors Jan 10 07:35:49 jfelectron: yeah, I mean the page...I thought my code was dying at the error, but it isn't....so that just may be a "don't worry about it" thing Jan 10 07:36:02 ahh ok Jan 10 07:39:35 hot damn, it works Jan 10 07:40:04 niiiiice Jan 10 07:42:27 some DOM juicyness I recently discovered is that with prototype a form element becomes an encapsulated Ajax.Request. Its literally like three line of code to pull the
from the DOM, add the inputs and submit it Jan 10 07:43:07 wish I'd asked about that this morning :D Jan 10 07:43:12 you don't even have to worry about whether its a get or a post, it reads it from the form! Jan 10 07:43:26 nice, what method? Jan 10 07:44:13 I spent all this time trying to build the request manually before I discovered it: http://www.prototypejs.org/api/form Jan 10 07:44:25 they've extend the form element Jan 10 07:45:24 so....you still need the page contents a la responseText, but then use this Form object? Jan 10 07:45:31 it's late, I'm easily confused Jan 10 07:45:54 yeah...you pluck the
element from the page and then all the methods are there automagically Jan 10 07:46:22 cool Jan 10 07:46:36 I'll have to remember that one Jan 10 07:47:05 but now it's bedtime, thanks for your help Jan 10 07:47:07 its really useful when you have to programmatically interact with websites that don't have nice APIs exposed Jan 10 07:47:19 no problem Jan 10 07:56:11 ooh, spammer got onto webos101.com. Reverting it. Jan 10 08:01:58 If I hadn't been checking recent changes I wouldn't even have noticed it for a while. Jan 10 08:10:50 Did they add a widget? Jan 10 08:10:53 :) Jan 10 12:17:43 wtf Jan 10 12:17:50 i'm getting this com.mycompany.ashwallet Uncaught SyntaxError: Unexpected identifier, file:///var/usr/palm/applications/com.mycompany.ashwallet/app/assistants/newUser-assistant.js:15 Jan 10 12:17:50 com.mycompany.ashwallet Warning: The scene assistant 'NewUserAssistant' is not defined. Did you remember to include it in index.html? Jan 10 12:18:31 when i try to load the newUser scene Jan 10 12:20:47 and if i try to load it directly, there's a white screen, gonna check syntax but it worked before? Jan 10 12:21:32 wow nm i'm an idiot, forgot a comma when i added a function Jan 10 12:21:36 * g073nks hides Jan 10 12:49:12 morning Jan 10 12:55:10 * g073nks ponders if anyone is working on an IRC app for webos Jan 10 12:59:45 isn't there one already? Jan 10 13:05:08 not in catalog Jan 10 13:09:17 hi, is there a way to preserve profile links when using exchange? creating these links takes quite a long time and it wouldn't be nice if they are lost after the next update Jan 10 13:28:25 question about the app menu Jan 10 13:28:53 i have Mojo.Menu.prefsItem in my MenuModel, but it shows up grey in the actual menu ... anyone know why? Jan 10 13:30:18 hi! how can I remove a marker? I can't remove it dragging out, or push orange button & click Jan 10 13:33:19 a marker? Jan 10 13:33:37 beginnerPre, are you talking about in ares? Jan 10 13:34:50 beginnerPre: no, I'm talking about webos explorer Jan 10 14:09:49 g073nks: there is wIRC in preware Jan 10 14:10:11 swisstomcat: what else is in your menu model Jan 10 14:10:22 hey Jan 10 14:10:25 i figured it out Jan 10 14:10:45 you don't need a menuModel or setupWidget if you only have the default entries in the app menu Jan 10 14:15:40 great. Jan 10 14:15:46 will be back Jan 10 14:19:12 haeffb_gon4coffe, i'm looking for it XD also gotta figure out how to install homebrew (avoided it so far) Jan 10 14:23:05 there's a lot of good stuff available on homebrew Jan 10 14:23:10 recommended! Jan 10 14:33:17 i just leary when you have to go into dev mode for something Jan 10 14:33:22 shouldn't need to :/ Jan 10 14:33:55 just for installing preware Jan 10 14:34:02 after that you can turn dev-mode off Jan 10 14:34:28 i know Jan 10 14:34:53 how do you uninstall stuff when you install in dev mode? Jan 10 14:35:11 uninstall preware or other stuff? Jan 10 14:35:24 anything you installin dev mode? Jan 10 14:36:36 to uninstall the service that comes with preware, you'd have to switch on dev-mode again Jan 10 14:36:40 but only at that time Jan 10 14:38:33 to uninstall the other stuff you install with preware, you won't have to Jan 10 14:39:31 ok Jan 10 14:39:47 so i can just go through normal way to uninstall most homebrew stuff Jan 10 14:40:14 but services i'd have to go into devmode and uninstall Jan 10 14:42:02 feeling better, haeffb? :) Jan 10 14:42:12 yeppers Jan 10 14:42:43 have to run to town to get coffee. it's a weekend morning ritual. Jan 10 14:42:58 lol haeffb_gotcoffee Jan 10 14:43:08 wouldn't it be easier to have a coffee machine at home? Jan 10 14:43:11 i need my coke in the am (cola) Jan 10 14:43:31 although it would not be the same ritual Jan 10 14:44:34 any SQLite experts around? does db.transaction return the id of an inserted record? Jan 10 14:45:15 yes it does haeffb Jan 10 14:45:45 .insertID i think or .insertId Jan 10 14:45:49 if i want to create an icon for a command menu .. are there any design limitations? Jan 10 14:45:55 one of those.. Jan 10 14:46:04 did anyone make their own icon? Jan 10 14:46:27 swiss: they are small.. Jan 10 14:46:32 yeah Jan 10 14:46:34 32x32 Jan 10 14:46:43 i attempted to make a home icon Jan 10 14:46:55 doesn't look too bad Jan 10 14:47:01 now onto a GPS-Icon Jan 10 14:47:10 results.insertId it is Jan 10 14:47:10 i just wonder what other's experiences are Jan 10 14:47:48 swisstomcat: did you make both unpressed and pressed images? Jan 10 14:48:36 crap. asynchronicity bites me again. Jan 10 14:49:59 there's no way I can use the inserted ID in my deactivate() function. Jan 10 14:50:10 no? Jan 10 14:50:25 because it comes in the onSuccess handler Jan 10 14:50:35 which is async Jan 10 14:50:55 so, I have to move all the database stuff out of deactivate? Jan 10 14:51:15 i wouldnt think so.. Jan 10 14:51:57 I could just create an onSuccess handler and set the reminders in there, but I'm not guaranteed that the app won't close before it's done. Jan 10 14:54:38 what do you do with these sql id's and the timers? Jan 10 14:54:49 haeffb: not really Jan 10 14:55:10 the same images for now Jan 10 14:55:18 my plan was to pass the id to the alarm, so when you tap the dashboard, it will load the list, then push entryscene with that event. Jan 10 14:55:49 what are you trying to do? Jan 10 14:56:10 swisstomcat: email? Jan 10 14:56:29 it's easier to show than to explain. Jan 10 14:56:30 how does the dashboard know what alarms r what? cookie? Jan 10 14:56:41 that's why I want to pass the id Jan 10 14:56:53 mleut@yahoo.com Jan 10 14:57:06 by deactivate, i assume you r u exiting milez, just putting it to the side? Jan 10 14:57:17 not exiting. Jan 10 14:57:26 the dashboard will pass the id back to the main stage, which will then know to launch entry scene Jan 10 14:58:24 where does the dashboard get the id? Jan 10 14:58:51 deactivate() in entry scene Jan 10 14:59:11 when I set the alarm, I pass a dashInfo object, which can contain the id. Jan 10 15:00:00 var dashInfo = {title: "Milez Alert!", message: "Enter ending mileage!", count: 1}; Jan 10 15:00:19 lmao Jan 10 15:00:19 add id: xxx to that and I'm golden Jan 10 15:00:31 i decide to add a homebrew app and Jan 10 15:00:33 The installers have been removed until they can be updated to work with webOS 1.3.5 Jan 10 15:00:46 which installers? Jan 10 15:00:55 no they haven't Jan 10 15:01:05 get.preware.org Jan 10 15:01:15 that's never up to date Jan 10 15:01:22 lol ok Jan 10 15:01:34 the site is never up to date. preware is almost always up to date Jan 10 15:01:51 go to precentral and find webosQuickInstall. Jan 10 15:01:58 last time i installed preware it was with webosquickinstall Jan 10 15:02:07 enable dev mode Jan 10 15:02:14 use WOSQI to install preware. Jan 10 15:02:26 haeffb: you'll need to set the alarm in success handler then. try it.. see it if works. Jan 10 15:02:28 but you also need webosdoctor Jan 10 15:02:51 oh, yeah, gotta have the doctor for novacom drivers Jan 10 15:04:29 http://www.webos-internals.org/wiki/Application:Preware Jan 10 15:04:49 Bmyers_: it will work. Almost ALL of the time. Jan 10 15:05:17 what condition makes it not work? Jan 10 15:05:26 The only time it wouldn't is if the user hit back to go to the main and then closed the app before the database write/set reminder completes Jan 10 15:06:18 but most users probably don't have the reflexes to beat the onSuccess handler... :) Jan 10 15:06:53 I mean, we are talking about 500MHz, right? Jan 10 15:18:20 hi Jan 10 15:19:19 im swisstomcat on the notebook Jan 10 15:23:09 wow. If your onSuccess function bombs, the db transaction doesn't happen. Jan 10 15:23:52 haeffb: i got your email .. what shall i look at? Jan 10 15:24:09 just showing you what the app is doing. Jan 10 15:24:30 in the data entry scene's deactivate, I save the new/updated data to the DB Jan 10 15:24:59 then, if the remdinder checkbox is checked, I set an alarm to popup a dashboard Jan 10 15:25:19 I want the dashboard tap to take you back to the entry scene for the trip event that launched the alarm. Jan 10 15:25:35 let me try Jan 10 15:25:38 so I have to pass the id of the DB record to the dashboard and back. Jan 10 15:26:00 so I have to get the id of the INSERTED record, which is in the onSuccess handler of the db.transaction Jan 10 15:28:40 im waiting on the reminder Jan 10 15:29:10 hope you didn't choose 5 hours. Jan 10 15:29:12 whats your solution now to save the record-id? Jan 10 15:29:35 righ now, it just relaunches the app to the main list, not to the data entry scene Jan 10 15:31:17 some kind of global data model is needed i would say Jan 10 15:31:34 or save the id in the list itself Jan 10 15:32:07 what's involved on putting apps on the app catalog Jan 10 15:32:40 g073nks: have your registered as a developer already? Jan 10 15:32:44 I pass an object to the dashboard, and can pass the id. Which will then pass the id back to the main stage, which will then launch the entry scene and all is well. Jan 10 15:33:20 But, I'm thinking that I may need to rethink my data entry/database logic. Jan 10 15:34:19 And move the db INSERT to setup(), and then do an UPDATE whenever any field is changed. Rather than waiting until deactivate() to update the DB Jan 10 15:34:22 um, i've registered on alot of palm sites lately Jan 10 15:34:25 not if the current solution works :) Jan 10 15:34:26 but i'm not sure pretomcat Jan 10 15:34:34 good point. Jan 10 15:35:20 haeffb: i remember from one book that he took out the database stuff into database-access functions Jan 10 15:35:25 general ones Jan 10 15:35:37 pretomcat, developer.palm.com correct? Jan 10 15:35:42 yeah Jan 10 15:35:58 yes, I would have done something like that if I had known anything about SQLite when starting this project. Jan 10 15:36:00 developer registration has changed since the CES announcment Jan 10 15:36:22 haeffb: thats what you call learning by doing .. i do the same Jan 10 15:36:25 but now I have this frankenMonster to deal with Jan 10 15:36:45 the only way to learn: jump in with both feet. Jan 10 15:36:50 yup Jan 10 15:37:10 if i compare my code to others its also not very pretty or eleganzt Jan 10 15:37:21 but it works Jan 10 15:37:48 g073nks: if you login there, you should see your status Jan 10 15:38:03 pretomcat, i logged in, status? Jan 10 15:38:15 hold on Jan 10 15:38:34 hey are there problems with web distribution right now? Jan 10 15:38:52 pretomcat, membership type? Jan 10 15:38:54 g073nks: my account Jan 10 15:39:07 Membership Type: Developer Member Jan 10 15:39:19 you can also be only community member Jan 10 15:39:20 lol i'm community member Jan 10 15:39:25 there you go Jan 10 15:39:30 hallo metaview Jan 10 15:39:30 I am just blown away by the fact than an error in onSuccess causes the DB transaction to fail. Jan 10 15:39:34 so i can't develope? Jan 10 15:39:39 less the e Jan 10 15:39:52 you have to prove it :) Jan 10 15:39:52 shouldn't the transaction already be done when onSuccess is called? Jan 10 15:40:27 ok, it says it's waiving anual fee, i probably should wait till i'm closer to completion to wave anual fee? Jan 10 15:40:30 g073nks: what part of Missouri? Jan 10 15:40:37 what is a transaction in terms of sqlite? Jan 10 15:40:41 haeffb, i live in Fort Leonard wood Jan 10 15:41:01 hi Jan 10 15:41:06 g073nks: waiving the annual fee won't last forever. At some point, they will start charging. Jan 10 15:41:10 g073nks: i would signup now without a fee Jan 10 15:41:50 next year i'll have to pay 99? it says opensource is free anytime, does that mean ALL apps have to be opensource? Jan 10 15:41:54 after you're a developer, you can upload apps Jan 10 15:42:16 g073nks: i've got two accounts, one for open source and one normal Jan 10 15:42:21 g073nks: you may be able to be two different developers. One with opensource and one without Jan 10 15:42:37 * haeffb is going to let pretomcat answer all the questions from now on... Jan 10 15:42:46 i'm lol Jan 10 15:42:47 heh Jan 10 15:43:10 i'll sign up for the non opensource now and the other one later then XD Jan 10 15:43:17 haeffb: is a sqllite transaction like a transaction in the rest of the sql-world? Jan 10 15:43:27 i actually like opensource, but some i'd like to keep my own Jan 10 15:43:36 I have no idea what the rest of sql-world is like. Jan 10 15:43:48 technically, you own even the opensource stuff Jan 10 15:44:30 you just say "it's free for you to use" Jan 10 15:44:41 free as in freedom, not beer Jan 10 15:44:59 haeefb: Jan 10 15:45:20 haeffb: in the sql-world, a transaction is a bunch of sql-commands .. i one fails, the transaction fails and the data is restored to the point before the transaction Jan 10 15:45:20 i know you own opensource Jan 10 15:45:22 haeffb: do does one get to the deactivate screen? backgesture? Jan 10 15:45:46 but some of the encrypting things i'd like to keep my own XD Jan 10 15:45:54 hidden that is Jan 10 15:46:12 security by obscurity? Jan 10 15:46:12 deactivate() in the entry scene? is called when the scene is being popped. so, yes, back gesture Jan 10 15:46:28 or actually, even if you close the app from the entry scene. Jan 10 15:46:50 although that would be the time when the DB call will likely fail because the app is closed before onSuccess. Jan 10 15:47:47 catch the backgesture and do your sql then programmically close? Jan 10 15:48:17 lol i don't have a tax id number Jan 10 15:48:18 XD Jan 10 15:48:39 SSN Jan 10 15:48:42 g073: use your SSN Jan 10 15:48:56 * haeffb will let darkspur answer all the questions from now on. Jan 10 15:48:56 oops Jan 10 15:49:05 :) Jan 10 15:49:08 i just closed it XD i'll do it again in a min Jan 10 15:49:15 got kids fighting behind me Jan 10 15:49:51 SSN, well need to apply for one tomorrow Jan 10 15:50:17 i dont have a taxid number either, so i put in "N/A" Jan 10 15:50:18 Bmyers_: that would work, too. But from a design perspective, I think doing the DB updates incrementally would be best. You save ANY data changes that way, no matter when/how/if the scene is closed. Jan 10 15:50:46 i've seen palm recommend that for everything input item. Jan 10 15:50:52 right Jan 10 15:50:59 PITA, but.. Jan 10 15:51:17 and I thought, man that seems like a lotta work. I'll just throw it all into deactivate(); Jan 10 15:51:27 sup Bmyers_ Jan 10 15:51:45 hey mobgod , hows it going? Jan 10 15:51:46 turns out ol' Dad did know what the hell he was talking about when I was a teenager, too. Jan 10 15:51:57 not bad just hanging Jan 10 15:52:05 bbiab going to eat breakfast Jan 10 15:52:43 i submitted an app to precentral, but it did not go through moderator review yet Jan 10 15:53:00 it usually doesnt take that long Jan 10 15:53:20 haeffb: make a generic sql insert that accepts the col to update and what to update it with. Jan 10 15:53:40 create the record and get the ID right when u open the input screen Jan 10 15:53:46 yep. Jan 10 15:53:51 that's what I SHOULD have done. Jan 10 15:53:57 delete the record based on criteria if you dont need the record Jan 10 15:54:18 it's easy to let the user delete the record later. Jan 10 15:54:29 whichever u want.. Jan 10 15:54:35 get the book "practical webos projects" .. it has a database abstraction example Jan 10 15:54:55 pretomcat: good idea. I need to use my amazon gift certificate anyhow. Jan 10 15:56:04 its a good book with several projects in it Jan 10 15:56:50 now I have to rewrite my appAssistant.handleLaunch Jan 10 15:56:50 is there a way to contact palm about the dev center brokenness that does *not* involve posting to the forums? Jan 10 15:57:10 pdn@palm.com? Jan 10 15:57:10 pdn@palm.com might work Jan 10 15:57:15 heh :) Jan 10 15:57:22 dang it. I said I wasn't going to do that anymore. Jan 10 15:57:37 thanks Jan 10 15:58:29 I haven't got a amazon gift cert yet Jan 10 15:58:48 darkspur email Chuq Von Rospach Jan 10 15:58:57 was it supposed to be send out to all beta devs or only US-ones? Jan 10 15:59:22 a gift cert to all devs? Jan 10 15:59:29 you had to have had an app in the app cat prior to a specific cutoff date Jan 10 15:59:45 and if you didn't get it, there aren't any more. Jan 10 15:59:49 oh well Jan 10 16:00:02 i have not submitted my app yet Jan 10 16:00:02 I think they did somehting on the close order of 250. Jan 10 16:01:20 Rick_work: I though I had, when was this date? Jan 10 16:02:18 MetaView I have no idea. But they went out untraceable US postal service mail. You might politely email your minder at palm and ask him or her if there was a reason you weren't included in the amazon gift cert program. Jan 10 16:02:35 why the hell is the foursquare app 9 megs? Jan 10 16:02:47 Rick_work: ok, thx Jan 10 16:03:14 if I want to pass a param from appController to an active scene? Jan 10 16:03:25 stageController.activate()? Jan 10 16:03:57 haeffb -- the stage is active? Jan 10 16:04:01 this is going to get complicated Jan 10 16:04:05 it might be. Jan 10 16:04:15 i passed mine in the constructor Jan 10 16:04:32 doesnt work the same if the scene is active Jan 10 16:04:33 I'm working to get a dashboard tap to launch the data entry scene in MileZ with the correct record. Jan 10 16:04:53 but, I'm now realizing that the app could be open to, for example, prefs or help or.... Jan 10 16:05:16 so, I'd have to check to see what is activeScene Jan 10 16:05:30 or maybe they're entering another record. Jan 10 16:05:50 but the data entry scene would not be active, would it? Jan 10 16:05:57 could be Jan 10 16:06:04 who knows what users will do Jan 10 16:06:06 how would that work? Jan 10 16:06:20 save the current and open another one? Jan 10 16:06:32 right. it's a complicating factor Jan 10 16:06:41 what should the app do in that case? Jan 10 16:06:58 maybe the idea of opening to the reminder record isn't a good one. Jan 10 16:07:20 whats the idea of the reminder? Jan 10 16:07:25 haeffb why not use a global object to pass parameters around. Jan 10 16:07:57 there could be more than one reminder active...? Jan 10 16:07:59 When I do multi-scene apps I always in the app controller create a global or utils object and then use properties of that. So Jan 10 16:07:59 yeah, i use a global object too for some stuff (viewstate, cookie data) Jan 10 16:08:08 utils.passtostage1 = xxxxx Jan 10 16:08:40 each reminder would belong to a different entry record Jan 10 16:08:50 multiple active reminders is complicating it even more Jan 10 16:08:56 yep. Jan 10 16:09:08 so whats the idea of the reminder? Jan 10 16:09:22 remind you to go back and enter ending mileage Jan 10 16:10:09 can haz textfield on a dashboard? Jan 10 16:10:18 i was just asking myself that too Jan 10 16:10:47 1.4 seems to have more stuff available as seen in the video uploader Jan 10 16:10:50 haeffb yes you can haz Jan 10 16:11:18 this will be much betterer with GPS. Jan 10 16:11:55 "you've stopped moving. Do you want to end trip now?" Jan 10 16:12:25 mileage recording by gps tracking? Jan 10 16:12:32 obviously. Jan 10 16:12:43 poor battery Jan 10 16:12:52 You're in a vehicle. plug it ing. Jan 10 16:12:55 in. Jan 10 16:13:03 true Jan 10 16:13:41 another idea: a different scene just for entering the end mileage Jan 10 16:13:59 * haeffb wonders if there's a google maps api to get distance from start and endpoints. Jan 10 16:14:25 that could work. Jan 10 16:14:37 or a multi-stage app with new cards for each trip. Jan 10 16:14:56 yeah Jan 10 16:15:21 But now I'm thinking I should stop development on this version, and start up a new GPS-enabled one. Jan 10 16:15:45 Just leave it as is, with the dashboard re-launching the app to whatever scene is handy. Jan 10 16:17:35 Rick_work: ping Jan 10 16:18:57 gps support is one thing i have to add to my app too Jan 10 16:19:18 pong Jan 10 16:19:31 Rick_work: just wondering if you have time to go over any other thoughts you had on app design/coding of Milez Jan 10 16:20:03 ok pretomcat or haeffb , with the developer program, i read somewhere you get 70% of price you sell app for is that true? Jan 10 16:20:13 that is true Jan 10 16:20:34 so normally it's $99 + 30% Jan 10 16:20:52 haeffb I really don't have any thoughts or ideas that would effect what you're doing. It's pretty tight and it appears to work fine. Jan 10 16:21:16 it's not coded the way i would, but then, that may well be a good thing. Jan 10 16:21:52 g073nks: correct Jan 10 16:21:57 ok, good enuf. thanks. Jan 10 16:22:22 g073nks: Plus $50/app Jan 10 16:22:31 if its in the app catalog Jan 10 16:23:00 not sure about the web catalog tho Jan 10 16:23:29 Rick_work: I will be going back to get rid of looping through arrays to get index stuff. Thanks for that info. Jan 10 16:25:52 Hello. I have a question. How can I generate a .csv file with my Pre's GPS, which I will be able to use with luna://com.palm.pmradiosimulator/autodrive? On http://developer.palm.com/index.php?option=com_content&view=article&id=1662&Itemid=21 it says it is possible, but I have no idea how. Jan 10 16:26:36 Stanley: my neither Jan 10 16:26:49 ".csv database file that can be generated in real-time—by using your Palm device, for example" Jan 10 16:28:03 exactly. Jan 10 16:28:20 but you need values from the single satilites, it's not possible on a Pre with the given API Jan 10 16:28:32 http://developer.palm.com/index.php?option=com_content&view=article&id=1673&Itemid=20#GPS-GPSCSVRouteFile Jan 10 16:29:20 use another device that outputs those values Jan 10 16:29:35 So this website isn't correct? Jan 10 16:29:53 I don't have any other device. Jan 10 16:30:00 no, isn't correct regarding to use the Pre Jan 10 16:30:21 What a pitty. Jan 10 16:30:51 Thanks anyway. Jan 10 16:31:12 don't you like the car drive in sunvalley? Jan 10 16:31:22 sunnyval or how ever it is called Jan 10 16:31:42 first it's a small walk to the car then it starts :) Jan 10 16:31:43 I like it, but I need a specific kind of route. Jan 10 16:44:00 haeffb, so i'd have to sell $212 in apps (first app) to break even X( Jan 10 16:45:34 sounds about right Jan 10 16:45:39 not counting your time. Jan 10 16:48:10 my time isn't as important, but that's a bit of money to do for my little developments Jan 10 16:48:34 is there a wget for pre yet? Jan 10 16:51:31 g073nks: what's your target price? Jan 10 16:51:51 was planning on $5 Jan 10 16:52:54 anyone know if the 1.4 update will add gpu support to the OS making it faster? or is that not possible Jan 10 16:52:58 it's a Wallet program similar to spb wallet Jan 10 16:53:25 Deihmos: need for speed is already GPU accelerated Jan 10 16:53:29 was gonna release a light version which had adds and limited functionality, and a standard for arround 5 Jan 10 16:53:39 so 1.3.5.1 already has GPU support Jan 10 16:53:43 Deihmos: Probably not very likely. What would you accelerate, exactly? Jan 10 16:54:27 probably transitions Jan 10 16:55:01 that could be accelerated Jan 10 16:55:05 i know need for speed is but i was referring to the OS itself. like the munus and what not. They can sometimes be laggy Jan 10 16:55:13 I want to put my begin/end miles textfields along with begin/end date time on one row in a palm-group. Is a table the way to go with that? Jan 10 16:55:26 i used a table Jan 10 16:55:38 but you could probably use css too Jan 10 16:55:50 I'm trying a table, but seem to be losing the textfield formatting Jan 10 16:55:59 oh, you mean to Luna .. Jan 10 16:57:54 yes Jan 10 16:58:14 Tables for layout? That's so 1990's. Jan 10 16:58:18 :) Jan 10 16:58:32 * haeffb is oldschool Jan 10 16:59:01 so, I need to override the textfield css? Jan 10 16:59:06 to set a width? Jan 10 17:00:44 here's what I want to convert: http://www.pastie.org/772568 Jan 10 17:01:17 I want the first two rows to be on one row. Jan 10 17:01:29 and the second two rows to be on another row. Jan 10 17:01:41 but I am CSS'ly challenged! Jan 10 17:25:29 hey all Jan 10 17:27:11 howdy Jan 10 17:28:08 what is everyone up 2 Jan 10 17:30:01 trying to figure out how to get a textfield to co-exist in a single palm-group/palm-list row with other stuff. Jan 10 17:30:17 er, gracefully co-exist. Jan 10 17:30:25 ohhh gotcha Jan 10 17:30:33 I can mash 'em all together but it looks horrid at the moment. Jan 10 17:30:34 where my flash at Jan 10 17:30:43 haeffb: css is your friend Jan 10 17:31:19 at the moment, css is my nemesis. Jan 10 17:33:54 haeffb: what about hiding textfields until needed? Jan 10 17:36:41 haeffb, can u lay it out in ares and copy to local? Jan 10 17:39:20 haeffb: ^^ Jan 10 17:39:52 aren't the css and html all jumbled together into some layout file in ares? Jan 10 17:40:12 i need to go ahead and increase my css knowledge anyway. Jan 10 17:42:25 had good css book, my ex threw away.... Jan 10 17:42:57 should have threw away the ex and saved the book.. Jan 10 17:43:39 unix shell books, freebsd, css, and nameless others in the trash Jan 10 17:44:45 =( Jan 10 18:10:30 what is the ball button used for in the pre device? Jan 10 18:13:51 Restart Required, You are no longer signed in to your Palm Profile on this phone. You need to restart your phone. Jan 10 18:14:11 do we know why this keeps happening? twice in 1 day now. Jan 10 18:35:19 hm, when searching exchange contacts: sometimes searches the last name works, sometimes it does not and it finds nothing. any hints? Jan 10 18:43:01 heya Jan 10 18:49:10 ah, I found the error. the contacts that I can't find by last name have a space after the last name, don't know why. removing that it works again Jan 10 19:01:19 hello swisstomcat Jan 10 19:01:29 hey lonestar Jan 10 19:09:43 swisstomcat: how is everything in switzerland? Jan 10 19:11:22 cold and snowy Jan 10 19:11:32 a good reason to stay home and code Jan 10 19:11:48 hola alex Jan 10 19:11:57 hi swisstomcat Jan 10 19:12:57 I'm starting to develop in Ares, I did the flickr search sample, but it's only a copy&paste program... where can I start reading or making good samples? Jan 10 19:13:25 lol, cool got cold in here like: 0 or -2 Jan 10 19:14:59 alex: there are a few books Jan 10 19:15:09 alex: do you have a program idea already? Jan 10 19:15:36 developer.palm.com is a good place for reference Jan 10 19:16:16 swisstomcat: I've develop with another languages, and I know some javascript but never with Mojo... I don't like a reference, is it any place to see samples or tutorials? Jan 10 19:16:39 alex: in the SDK Jan 10 19:16:50 great samples, that is how i got started Jan 10 19:16:57 http://webos101.com/Main_Page Jan 10 19:17:09 webos101 is a good place Jan 10 19:17:16 alex: i have a book with 5 or six sample programs Jan 10 19:17:23 hanks swisstomcat & LoneStar99 :) Jan 10 19:17:42 swisstomcat: is a CC book that can be send? Jan 10 19:17:48 no Jan 10 19:17:58 http://www.apress.com/book/view/1430226749 Jan 10 19:18:05 recommended Jan 10 19:18:12 ok, thanks! Jan 10 19:20:51 that was a quick visit Jan 10 19:28:00 swisstomcat: what do you think about augmented reallity in webos... could it be possible? could we develop some app with this technology? Jan 10 19:28:25 with the new PDK, yes Jan 10 19:28:48 that should be possible Jan 10 19:28:53 <_lance_> i've seen some flash AR that used the webcam feature Jan 10 19:29:02 with C/c++ devs¿ Jan 10 19:29:10 yes Jan 10 19:29:50 before there was no way to do a viewfinder for the videorecorder Jan 10 19:30:01 with 1.4 there is a video recorder app Jan 10 19:30:13 alex___: do you need a web service sample? Jan 10 19:30:53 LoneStar99: I need some simple program to start.. so if you can, yes :) Jan 10 19:31:10 I asked this question yesterday but never got a price. How much do you think it would cost to build a PDK plugin that is capable of pulling down audio stream (mp3, aac, aac+) metadata Jan 10 19:31:31 why would you need a PDK plugin for that? Jan 10 19:31:54 swisstomcat: How else would you do it? Jan 10 19:32:05 Most certainly can't do it through javascript Jan 10 19:32:19 a service Jan 10 19:32:29 i would guess Jan 10 19:32:35 http://www.webos101.com/Accessing_Web_Services Jan 10 19:32:57 swisstomcat: Go on... Jan 10 19:33:28 like the package install service that preware uses for example Jan 10 19:33:34 that one is in java imho Jan 10 19:33:44 swisstomcat: Are we allowed to add services? Jan 10 19:34:05 the irc client uses a service too Jan 10 19:34:17 probably not in an "official" app Jan 10 19:34:19 Yes, but those are both homebrew. I'm talking about for the app catalog. Jan 10 19:34:48 arg....wtf won't this scrim go away? Jan 10 19:35:10 swisstomcat: Therefore, PDK would be the way to go Jan 10 19:35:30 alex___: wrote the example at http://www.webos101.com/Accessing_Web_Services, so if you have any questions Jan 10 19:35:58 otherwise an extension of the sdk would be a possibility Jan 10 19:36:25 It should have been there to begin with, but so far it's not Jan 10 19:37:04 i agree Jan 10 19:38:06 http://blog.nihilogic.dk/2008/08/reading-id3-tags-with-javascript.html Jan 10 19:38:17 It's not an id3 tag. Jan 10 19:38:28 And it's not local Jan 10 19:38:28 oh, what is it? Jan 10 19:38:38 it's remote? Jan 10 19:38:45 It's metadata inserted into an audio stream Jan 10 19:38:50 then a server side solution might work Jan 10 19:38:52 oh Jan 10 19:39:16 how does that work? Jan 10 19:39:22 i only know id3 tags Jan 10 19:39:25 We were using server side for the first version of the app but it was killing the servers. Jan 10 19:40:00 Is there any way an app written with nothing but the Mojo SDK can modify a file outside of /media/internal? Jan 10 19:40:16 i thought so Jan 10 19:40:24 riskable: only in the app's sandbox dirs Jan 10 19:40:25 databases and images? Jan 10 19:40:40 Basically, metadata is inserted into the stream every x bytes. The header contains the x. After x bytes, there's bytes that give the artist and title and other metadata. Jan 10 19:41:00 I want to write an app that moves a file to a specific location in /tmp or downloads a file to a specific location in /tmp *OR* (hehe) just modifies a file in /tmp with a single line Jan 10 19:41:27 riskable: don't think so...haven't tried though Jan 10 19:41:30 oreality9110: oh, in that case the subsystem that handles streaming would need to do the parsing Jan 10 19:41:49 sugardave: Well, I know I can write a service to do what I need but then it won't be accepted in the app catalog Jan 10 19:41:56 yep Jan 10 19:42:04 swisstomcat: Not really because we could just make a call to it every 30 seconds. Jan 10 19:42:16 Is there *any* possible way to get an app into the app catalog that modifies a file in /tmp? Jan 10 19:42:40 isn't gstreamer involved? Jan 10 19:42:40 riskable: not currently Jan 10 19:42:47 riskable: /tmp may be a sandboxed dir, but I doubt it...until the PDK comes out, I'm guessing you're screwed Jan 10 19:43:06 sugardave: Yeah, I guess I'll have to wait Jan 10 19:43:17 swisstomcat: Yes. But we don't have access to gstpad Jan 10 19:43:48 i don't see how the PDK would help Jan 10 19:44:03 unless you implement your own streaming Jan 10 19:44:05 what do you need in /tmp ? Jan 10 19:44:07 Well, if you can execute a binary--period--then that opens the floodgates Jan 10 19:44:36 I need access to /tmp/pmnetconfig/dnsmasq.palm.conf (which is normally a 0 byte file) Jan 10 19:45:00 swisstomcat: Create a plugin using existing libraries that opens an additional stream connection for a few seconds, grabs the metadata, and then closes. Jan 10 19:45:09 that isn't exposed at the javascript level ? Jan 10 19:45:22 bpadalino: Not that I know of Jan 10 19:45:34 I don't believe you can modify any network settings via the SDK Jan 10 19:45:34 reality9110: that would be way over my head ... did you ask in #webos-internals? Jan 10 19:45:52 swisstomcat: Not yet Jan 10 19:46:13 ask the people that played around with their PDK Jan 10 19:46:18 Can't do it without the PDK to begin with Jan 10 19:46:19 for doom and quake and the like Jan 10 19:46:34 http://www.webos-internals.org/wiki/WebOS_Internals_PDK Jan 10 19:47:19 It's above my head as well which is why I was going to outsource it Jan 10 19:47:25 For reference, I already wrote a java service that makes the necessary modification to the file I need (just to make sure it worked) Jan 10 19:48:43 riskable: i would ask in #webos-internals too ... ask for the people who play around with java services Jan 10 19:48:47 However, if I need to go the PDK route I can just make binary or even a simple shell script that makes the change (which amounts to a single "echo" line) Jan 10 19:49:00 alright, laters Jan 10 19:50:05 need to go eat a burger! Jan 10 19:50:12 adios amigos Jan 10 19:50:46 adios Jan 10 19:53:34 Howdy Jan 10 19:55:12 heya Jan 10 19:57:15 reality9110: i think you have to ask again, no one saw your request Jan 10 19:58:23 Yeah Jan 10 19:58:29 Taking care of some other things first... Jan 10 19:58:54 any idea why i can't disable a command-menu item? Jan 10 19:59:26 Splice remove it Jan 10 19:59:34 hmm? Jan 10 20:00:03 Use splice to remove it from the list of items Jan 10 20:00:10 i tried Jan 10 20:00:11 this.commandMenuModel.items[0].disabled = true; Jan 10 20:00:11 this.controller.modelChanged(this.commandMenuModel, this); Jan 10 20:00:14 doesn't work Jan 10 20:00:24 i just want to disable it Jan 10 20:00:29 in certain cases Jan 10 20:00:51 Yeah, it doesn't seem to work to disable it. You literally have to remove them from the list of items Jan 10 20:01:25 really Jan 10 20:01:38 Yeah Jan 10 20:01:53 in the log, i see "cannot set property 'disabled' of undefined Jan 10 20:02:02 I guess unshift would work Jan 10 20:03:25 this.commandModel.items[0].items.unshift({ label: $L("Playing"), command: "cmd-ToPlayer" }); This is what I use to add an item. Do the opposite to remove it. Jan 10 20:05:15 i rather have it disabled .. that way people can see that it's available but disabled Jan 10 20:07:23 hi Jan 10 20:07:36 am i the only one having problems with the developer program registration? Jan 10 20:07:46 what's the problem? Jan 10 20:08:54 i tried it yesterday and again today, but all i get when hitting submit is an error from the framework in use: http://skitch.com/skddc/nq4g8/developerprogramregistration Jan 10 20:11:50 reality9110: disabling works now Jan 10 20:12:20 reality9110: did you have several command-menu entries in one item? Jan 10 20:13:17 Yeah, grouped Jan 10 20:13:30 that was my problem Jan 10 20:13:40 i had to do: this.commandMenuModel.items[0].items[0].disabled = true; Jan 10 20:14:16 make yourself some constants and save braincells later on Jan 10 20:14:42 ThisMenu = 0 ; thatMenu=1 Jan 10 20:14:58 good idea Jan 10 20:15:49 then u have this.commandMenuModel.items[ThatMenu].items[0].disabled = true; Jan 10 20:18:26 are the precentral people on vacation? Jan 10 20:18:43 i submitted a homebrew app yesterday for review ... nothing yet Jan 10 20:19:38 They're probably at CES Jan 10 20:22:28 that could be Jan 10 20:25:03 Why is it that its really easy to get the cursor position/selection but very hard to restore/set it? Ahhhhh... Jan 10 20:25:57 its embarrassing for Moz and Webkit that IE is ahead in the contenteditable game Jan 10 20:38:16 hi all Jan 10 20:38:43 hi Jan 10 20:42:34 hi swisstomcat Jan 10 20:54:41 I hope Palm will allow to copy support infos from one language to the others once Jan 10 20:54:56 when filling their submission form, I mean Jan 10 21:04:10 is there a $50 submission fee if you want the program in the app catalog even if the application is free? Jan 10 21:04:37 Epix no you just list it as free Jan 10 21:05:02 Jen, are you sure Jan 10 21:05:13 i think i read somewhere the $50 is just a review fee Jan 10 21:05:14 pretty sure...let me double check Jan 10 21:05:23 if you want them to review it, its $50 Jan 10 21:05:40 and to get in the catalog you need to be reviewed Jan 10 21:05:48 unless its opensource and free Jan 10 21:06:13 ah yeah opensource Jan 10 21:06:25 okay thanks Jan 10 21:17:54 Anybody know how to open the app catalog and search for a specific program programmatically? Jan 10 21:27:53 reality9110: pull down the RSS feed and search it Jan 10 21:28:43 http://developer.palm.com/index.php?option=com_content&view=article&id=1844&Itemid=24 Jan 10 21:29:51 reality9110: talk to prototypic when around.....they've rolled some sweet web services around the catalog, that might be useful for you Jan 10 21:31:47 jfelectron: I'm just talking about an item in a list that links to the app catalog and searches for a particular item. Not a webservice. Jan 10 21:32:08 Just in case Palm decides to change the app catalog locations of a program Jan 10 21:32:27 reality9110: http://bit.ly/palm-catalog-feed Jan 10 21:32:50 the redirect URL is simply based on the appId Jan 10 21:33:07 rality9110: but want do you want to do? launch it, display it in the catalog? Jan 10 21:33:24 rwhitby: hah....you shortened my url above Jan 10 21:34:09 We have the auto updater in our app. It opens up the App Catalog. But I'm afraid to put in a hardcoded URL to the app in case the app catalog changes or the urls change. Jan 10 21:34:35 I was just wondering if there was a parameter for findapp to search the app when opening the app. Jan 10 21:34:52 http://developer.palm.com/appredirect/?packageid=com.palm.myapp Jan 10 21:35:06 It doesn't matter what the actual link is Jan 10 21:35:08 Yes, I understand that... Jan 10 21:35:18 But, what if appredirect changes. Jan 10 21:36:00 mmm....well given that people are incorporating it like crazy into their apps and services...seem likely that it will be frozen Jan 10 21:36:09 I hope Jan 10 21:36:11 little chance of that happening, cause it would invalidate all links out in the wild Jan 10 21:36:18 yes Jan 10 21:36:28 there is no reason to change the interface url Jan 10 21:36:39 It's Palm... Jan 10 21:37:46 that would be shooting themselves in the foot...hey guys here's this great open feed...or no sorry we killed it and moved it somewhere else..good luck! Jan 10 21:39:05 chuq and lemketron would never stop hearing about it :) Jan 10 21:39:34 Well, as far as I'm concerned, they shot themselves in the foot with gstreamer in 1.3.5 and 1.3.5.1 Jan 10 21:40:25 And let's not forget about the App Catalog problems with 1.3.5 as well. The entire can't download thing Jan 10 21:41:03 eh? What happened with gstreamer? Jan 10 21:42:44 jfelectron: they broke aac+ Jan 10 21:42:47 Severely Jan 10 21:43:06 Alvin and the Chipmunks Jan 10 21:44:03 mmm...that's not good Jan 10 21:45:03 google doesn't seem to know about it... Jan 10 21:46:06 OK...one forum report Jan 10 21:47:55 hi Jan 10 21:48:06 so, there's no proxy support for wifi on the pre? Jan 10 21:49:29 heyy Jan 10 21:50:04 psi_: not that I know of...it kills me because I can't access literature off-campus with my Pre (I'm a grad student) Jan 10 21:51:00 well, i can't even access the internet because of some silly proxy in my appartment Jan 10 21:51:39 psi_: you want to test something for me with proxy Jan 10 21:51:48 if it works ill make a homebrew app for proxy Jan 10 21:53:00 or maybe not Jan 10 21:53:12 depends. tell me more about it Jan 10 21:54:22 psi_: do u have ssh access to your phone Jan 10 21:54:23 ?: Jan 10 21:54:57 nope Jan 10 21:55:21 ehhhh gosh Jan 10 21:55:32 do u have wqi Jan 10 21:55:37 webos quick install Jan 10 21:55:46 ? Jan 10 21:55:57 i have preware running on it Jan 10 21:56:10 ehhh u wont be able to do it via preware Jan 10 21:56:12 u need wqi Jan 10 21:56:51 ugh Jan 10 21:57:44 ehhhh its up to you if u want the internet to work or not Jan 10 21:57:45 lol Jan 10 21:59:08 how's it gonna work? do i have to set up the proxy each time i connect to the wifi net? Jan 10 21:59:37 or is it some kind of patch for the usual wifi network settings? Jan 10 22:00:23 well see if u help me test it out if it works the way i think i will create an app where u can turn it on and off Jan 10 22:08:59 so....Mojo.Controller.appController.closeAllStages(); is basically what you want to use to exit your app? Jan 10 22:09:53 closeAllStages, as long you open stage with callback.. check the docs to be sure.. Jan 10 22:10:14 ah...what if I didn't do callbacks...how do you just close the app? Jan 10 22:10:23 hammer Jan 10 22:11:56 windows.close works too Jan 10 22:12:37 i am having a lot of problems with databases my question is i finally think i got it working the problem is after creating a database and table I call a insert function then a query function. My problem is putting my results in a varable and updatig a div to show this data Jan 10 22:12:47 hers is my query function Jan 10 22:12:52 Bmyers_: yeah, just did that and it works fine Jan 10 22:12:54 http://webos.pastebin.com/m226a320a Jan 10 22:13:07 palm worm says you r clean? Jan 10 22:13:20 Bmyers_: I don't know...not worried about that part yet :D Jan 10 22:13:57 emu and device seem to act differently with palm worm. make sure u test the device before you start digging. Jan 10 22:14:06 if I put the result into a varable declared in the top of the scene and then update the div from another button i have no problem but how do i do this from the query function Jan 10 22:15:21 rjtaylor: try this: http://webos.pastebin.com/d5b78f459 Jan 10 22:15:46 in the example datatest should be my_num2 Jan 10 22:16:11 yeah, just saw that Jan 10 22:16:31 try it with those binds and see if you get it Jan 10 22:16:43 sugar is the only change the added the two bind(this)); Jan 10 22:16:49 i added 3 Jan 10 22:16:51 actually Jan 10 22:16:56 and if so can you explain why thanks Jan 10 22:17:09 one for the transaction that may be not necessary, still working on understanding that Jan 10 22:17:21 sure, you have to bind that anon function to the right scope Jan 10 22:17:29 or else it won't know what 'this' is Jan 10 22:17:37 or it will have the wrong 'this' Jan 10 22:17:39 is more accurate Jan 10 22:18:54 tried it no luck Jan 10 22:19:17 try taking that last .bind(this) off the overall transaction Jan 10 22:20:04 ok Jan 10 22:20:41 if that still won't work, not sure what's going on....you could try to replace this.controller.get with Mojo.Controller.appController.getActiveStageController().activeScene().get Jan 10 22:20:54 the last bind should be }).bind(this); ? Jan 10 22:21:18 Bmyers_: oh yeah Jan 10 22:21:24 I think so.... Jan 10 22:22:03 actually, no Jan 10 22:22:10 not according to the wiki page Jan 10 22:22:14 ah Jan 10 22:22:24 not working Jan 10 22:22:45 rjtaylor: lame...looks like the final bind I told you to remove should actually be there :D Jan 10 22:22:57 but, still not sure why it's not working for you Jan 10 22:23:20 i will try this part Jan 10 22:23:22 Mojo.Controller.appController.getActiveStageController().activeScene().get Jan 10 22:24:24 nope Jan 10 22:24:32 bummer :( Jan 10 22:24:39 i know Jan 10 22:24:58 Hours.db.transaction((function (transaction) { Jan 10 22:24:58 transaction.executeSql(mytext, [], this.dbSuccessHandler.bind(this), this.errorHandler.bind(this)); Jan 10 22:24:58 }).bind(this)); Jan 10 22:27:49 Bmyers in that example do i put my code in another function called this.dbSuccessHandler Jan 10 22:27:59 yes Jan 10 22:28:10 ok thanks i will try Jan 10 22:28:29 Assistant.prototype.dbSuccessHandler = function (transaction, results) { Jan 10 22:28:43 thanks Jan 10 22:29:01 put you scene assistant in there of course Jan 10 22:29:51 yeah i got that part :) Jan 10 22:34:01 I may have done it wrong but still no luck i did not add the error part yet Jan 10 22:35:06 nope but I will repost the new code one sec Jan 10 22:36:08 http://webos.pastebin.com/m3efb703f Jan 10 22:38:58 Bmyers or Sugardave any ideas Jan 10 22:39:03 or anyone else Jan 10 22:45:14 i guess no one is here or has any deas Jan 10 22:47:35 did anyone notice the hardware test has a record and playback feature? Jan 10 22:53:33 atlanta: the HW is capable of recording audio, no problem Jan 10 22:53:56 MetaView: i know that but how did they do it in the mojo app Jan 10 22:54:18 there is an audio service I guess ,undocumented Jan 10 22:54:53 does anyone here understand databases Jan 10 23:00:23 I do, but I go to bed now Jan 10 23:01:22 ok Mata good night Jan 10 23:01:24 @rjtaylor: just ask a question. Jan 10 23:01:32 cool crostest has a record function Jan 10 23:01:43 i did Jan 10 23:02:41 but any way i have a function that creats a db and table then calls a function to insert data then calls a function to get or query the database Jan 10 23:02:49 the prob is Jan 10 23:03:49 i can not put that info into a varable and then update a div with it I however can press a different button and have it update the div Jan 10 23:05:25 http://webos.pastebin.com/m7cbdd350 Jan 10 23:11:29 where is crostest Jan 10 23:11:42 crotest Jan 10 23:11:56 on your webOS device Jan 10 23:12:11 it's a service, and a hidden app Jan 10 23:13:07 oh Jan 10 23:13:33 is there a patch to get it and what does it do Jan 10 23:26:32 does anyone have any recommendations for the better ad networks to use or ones to stay away from? Jan 10 23:41:00 hi all Jan 10 23:43:35 Epix: what program? Jan 10 23:46:10 reality9110: I'm trying to decide which ad network to use in my program, but I don't know much about it and what to look for when deciding which one to use Jan 10 23:50:03 Epix: And I'm asking you what your program is Jan 10 23:52:25 reality9110: Oh sorry. My first one is just a restaurant tip calculator. Jan 10 23:52:51 reality9110: I think my next one is going to be a puzzle game. Jan 10 23:53:08 Sell the tip calculator. Ads aren't going to do you any good. Jan 10 23:53:43 what sort of program are ads good for? Jan 10 23:53:58 High face time apps Jan 10 23:54:40 Got the game, you could do either a banner ad or a text ad. I'd probably do a text ad seeing as the banner ads could get distracting. Jan 10 23:55:18 What's your location? Jan 10 23:55:31 Canada Jan 10 23:55:41 Distributing in which App Catalogs? Jan 10 23:56:16 any one here up on database Jan 10 23:56:23 I was thinking of doing free with ads so I could release it more locations Jan 10 23:57:04 Since selling is currently only in the US Jan 10 23:57:06 Well, it depends on which catalogs you're going to distribute in as to what ad networks you're going to use... Jan 10 23:57:14 arent list formatters suppose to receive to variables? Jan 10 23:57:21 the property and the model item? Jan 10 23:57:24 I would say mainly Canada and US Jan 10 23:57:42 For instance, if you distribute in the UK or Germany, some US ad networks aren't going to cover it. Jan 10 23:58:39 Ok. So for the puzzle game, I'd go with text ads from Quattro and Admob. Jan 10 23:58:53 For the tip thing, sell it. Jan 10 23:59:32 okay thanks. Jan 10 23:59:52 Is one of those better than than the other or about the same? Jan 11 00:02:02 Quattro will give you higher fill rates, Admob tends to give higher CPCs Jan 11 00:03:27 okay. Something to think about. Thanks for your help. Jan 11 00:03:40 reality9110 Doc, any decisions about what to do about canada? Jan 11 00:04:07 Rick_work: Invade...but don't tell Epix. He's from there. Jan 11 00:04:21 ahhh good plan. Jan 11 00:04:38 I've got Palm working on it Jan 11 00:04:40 haha Jan 11 00:04:49 reality9110 THAT is excellent. Jan 11 00:05:44 should hear back from them this week on it Jan 11 00:06:22 should that fail, I have a thought. Jan 11 00:06:33 I can't believe that one guy on Precentral who was like, "Remove the ad" Jan 11 00:07:07 What's the plan? Jan 11 00:08:09 Epix: is your tip calculator better than the other 50 already in the app catalog ? Jan 11 00:08:34 rwhitby: It goes to 11. Jan 11 00:09:06 awesome, I'll pay for that. Jan 11 00:10:18 In the calendar how do I say I have an event Monday Wed and Friday, trying to type a schedule into the thing and can't figure out how. Jan 11 00:11:24 * rwhitby wonders why people write apps that are already written, instead of writing a good global meeting time calculator app that knows about different daylight savings periods in the world, and understands 0:15 timezones and GMT+13:45 Jan 11 00:12:04 becasue that would be actual work rwhitby Jan 11 00:12:12 rwhitby: It's better than the ones I looked at, thought I didn't look at that many. I just chose that as my first one because I wanted something easy to start with. Jan 11 00:12:25 plus, american's don't CARE what time it is in other parts of the world. Jan 11 00:12:36 This calendar app kind of sucks. Jan 11 00:12:59 We care about europe... but else where yea meh Jan 11 00:13:17 (australia for all purposes is part of europe lets say) Jan 11 00:13:40 except that they can't read clocks and are upside down. Jan 11 00:14:06 Who in their right mind thought of a half-hour timezone? Oh yeah, australians. :-) Jan 11 00:15:38 I just use the exchange server Jan 11 00:15:49 Seems to take care of that Jan 11 00:16:27 So the calendar app really can't have a single event by days, this seems like a huge flaw. Jan 11 00:18:33 Templarian: heh - apart from those things called seasons and daylight savings time ... Jan 11 00:20:37 hopefully they upgrade this app in 1.4 also Jan 11 00:22:45 Is it possible to get the character by character selection in the emulator? All I can seem to get is the 'smart' block selection (i.e. the selection eats up the entire word)... Jan 11 00:23:05 using Shift for selection if that matters Jan 11 00:27:01 anybody with experience with the Selection or Range objects? Jan 11 00:35:01 Also the calender is a little buggy it just freaked out on my a second ago. Jan 11 01:01:02 hrm Jan 11 01:01:18 an interesting webos version popped up in my app logs.. version: Albacore Jan 11 01:10:02 where's a good place to read about placing widgets on a page? I want to define a dynamic scene that is built from json ;) Jan 11 01:11:23 For dynamic widgets I do :Mojo.view.render---> this.controller.setupWidget---> this.controller.update Jan 11 01:11:49 I generally have placeholder divs in the scene HTML Jan 11 01:19:35 thanks that;s a good start Jan 11 01:48:27 dawm__! Jan 11 01:53:31 what's a good spot for io info? Jan 11 01:55:37 does anyone know what the rss feeds are for the appcatalog? Jan 11 01:55:54 this page says there are 3 but there is a mistake Jan 11 01:56:00 http://developer.palm.com/index.php?option=com_content&view=article&id=1844 Jan 11 01:56:24 it list the same url for both the app catalog and the web distribution Jan 11 01:57:04 Guest67903: ? Notice the D W B Jan 11 01:57:18 yeah Jan 11 01:57:19 isaw that Jan 11 01:57:48 webosshool-just: are you the webosschool dude? Jan 11 01:58:09 one of them Jan 11 01:58:26 hows it going tonight? Jan 11 01:58:26 Ok... i see the mistake. I was fixing the url for the web distribution url with a lower case w Jan 11 01:58:39 good like the site! Jan 11 01:58:45 if any from palm is here ...that page has an error Jan 11 01:59:17 thanks! Guest67903: where abouts is the error? Jan 11 01:59:30 I gotcha! Jan 11 01:59:32 the 2nd feed link is wrong... Jan 11 01:59:38 is says All applications available only through web distribution: http://developer.palm.com/rss/D/appcatalog.rss.xml Jan 11 01:59:46 yup it should be W instead of D... good catch Jan 11 01:59:49 but shoudl be All applications available only through web distribution: http://developer.palm.com/rss/W/appcatalog.rss.xml Jan 11 01:59:59 thanks... Jan 11 02:12:43 hi all Jan 11 02:14:48 Hey Jen Jan 11 02:15:06 hiya Jan 11 02:16:10 Man, I hate the new fee Jan 11 02:17:08 you can do the web thing...and preware can showcase you Jan 11 02:18:20 Meh, not high enough audience Jan 11 02:18:25 I mean, I'm paying the fees Jan 11 02:18:29 I just don't like it Jan 11 02:18:41 smiles... Jan 11 02:18:46 kesne: I thought you had a sweet deal ? Jan 11 02:19:02 rwhitby: on some apps, I do Jan 11 02:19:10 rwhitby: on Planet Eaters, not so much Jan 11 02:26:11 kesne: what is the new fee? Jan 11 02:35:54 prototypic: $50 per app Jan 11 02:36:30 kense: how do you have to pay? CC? Jan 11 02:37:04 paypal Jan 11 02:38:11 ok 50$ is not bad Jan 11 02:44:10 prototypic: When you have plans for lots of apps, it is Jan 11 02:44:22 It also is when you have annoying parents that want to keep your money :/ Jan 11 02:45:05 <_lance_> do you have to pay the fee again if you get rejected, fix something, then post a new build? Jan 11 02:46:14 kense: if it makes you feel better spent $200 bucks on a pre which will only be used for development, and paper weight Jan 11 02:47:29 _lance_: i think it is a one time fee per app Jan 11 02:47:37 LoneStar99: Yeah, I feel for you, and it's kesne, not kense :P Jan 11 02:47:41 Second time :P Jan 11 02:48:43 yeah, was just gonna say 2nd time Jan 11 02:49:13 It's all good Jan 11 02:49:18 There Jan 11 02:50:30 at least we are not under commie control, and slave driven to make apps Jan 11 02:55:33 jfelectron: are you around? Jan 11 02:57:53 <_lance_> cool Jan 11 02:58:55 LoneStar99: yo **** ENDING LOGGING AT Mon Jan 11 02:59:57 2010