**** BEGIN LOGGING AT Tue Dec 01 02:59:58 2009 Dec 01 03:13:33 ugh Dec 01 03:16:06 CTLAdvance-work: what? Dec 01 03:17:12 im sick :/ Dec 01 03:18:22 That SUCKS Dec 01 03:18:25 I hate being sick Dec 01 03:21:48 CTLAdvance-work: :( Dec 01 03:23:41 Anybody here use the Accelerometer (specifically the 'shake' events) in their app(s)? Dec 01 03:26:42 wow that was a great nap.. now time for bed :( Dec 01 03:27:01 kesne, can you get your lawyer off my back already? Dec 01 03:33:07 Yeah nothing tylenol and jack wont fix, let alone a hand full of antihistamines Dec 01 03:34:35 dawm whats his lawyer on your back for? Dec 01 03:34:45 did you steal his gf? Dec 01 03:34:53 he doesnt want her anyways Dec 01 03:35:00 shes a b**** Dec 01 03:35:02 he wants a refund Dec 01 03:35:07 mmmm. makers mark Dec 01 03:35:18 zsoc: Hey you, back to work on the service. Dec 01 03:35:27 dawm - so a lawyer isnt going to do anything, apps are as is Dec 01 03:35:28 Roy-Pre101: it works, didn't you update? Dec 01 03:35:35 nope. Dec 01 03:35:36 Roy-Pre101: the file plays and everything :P Dec 01 03:35:51 of course. Dec 01 03:35:51 Roy-Pre101: right now i'm working on getting audio frames not to die after 90-120 seconds. I'm real close Dec 01 03:36:02 dawm kick him in the balls he will stop eventually ;0 Dec 01 03:36:12 hmm... Dec 01 03:36:22 Roy-Pre101: you got the syntax wrong tho, for future reference to launch you need "file:///" Dec 01 03:36:24 Somehow I ran down the battery. I wonder if it had anything to do with the video stuff. Dec 01 03:36:28 Roy-Pre101: not sure why the three /'s Dec 01 03:36:41 Roy-Pre101: the audio encoder accesses the DSP, that probably doesn't help Dec 01 03:36:41 Last one for root. You're not passing that? :) Dec 01 03:37:12 Roy-Pre101: i hardcoded it for the moment. considering it only grabs newest out of that folder anyway. I _could_ pass it, but what's the point? Dec 01 03:37:14 hi all! Dec 01 03:37:22 hi Dec 01 03:37:42 I suspected you might be leaving out the / but I left it as-was. Dec 01 03:37:55 Roy-Pre101: apparently in Java, if you have a file/path/file.extension as a 'File' object and you use the getName() method, it grabs just the file.extension as a String, it's actually quite nifty Dec 01 03:38:08 Roy-Pre101: oh, well next time warn me if you know i'm an idiot before hand :P Dec 01 03:38:36 lol Dec 01 03:44:15 Anyone here have use EAS with the Pre? Dec 01 03:48:14 so, does anyone know of a way to load a locally stored xml file? all the examples i've found are for pulling one off another a remote site, and they don't seem to work right Dec 01 03:52:40 Guest54773: i had found an article how to do what you want with a local json file Dec 01 03:52:45 let me look for it Dec 01 03:56:42 Guest1233: Just use file:// + Mojo.appPath + with the ajax request Dec 01 03:57:00 xmlQuestions: That was for you Dec 01 03:57:18 reality9110: Did you see the job posting for streaming music player on the webOSdev forum? Dec 01 03:57:21 hmm, let me try that Dec 01 03:57:58 Someone should update webos101.com with some more ajax samples including a local one Dec 01 04:01:50 i got some post requests i could add ;o Dec 01 04:02:02 ugh i cant believe my pre is broke tho Dec 01 04:02:02 ;[ Dec 01 04:02:04 suxxxxxxxxxxxxxx Dec 01 04:02:53 i must be doing something wrong. the ajaxrequest doesn't return success _or_ failure >.< Dec 01 04:02:56 droO: What happened? Dec 01 04:03:03 pastebin Dec 01 04:03:06 http://pastebin.com/d4a08c93c Dec 01 04:03:10 i closed it Dec 01 04:03:15 and screen spidered out & shut off Dec 01 04:03:22 touchscreen = completely broken Dec 01 04:03:25 and randomly clicks places Dec 01 04:03:26 freaky. Dec 01 04:03:40 oh wait, it might just not have access to my logMessage... brb Dec 01 04:03:43 they're warranty'n it tho cuz cracks started at button Dec 01 04:03:47 (sprint) Dec 01 04:06:04 xmlQuestions: You're making the common mistake of not binding those functions. Dec 01 04:06:54 yeah, i messed with it a bit and i think it's working. it now returns _Both_ success and fail, but i think i've had that before and just worked around it :P Dec 01 04:09:48 xmlQuestions: That's not normal. PAstebin what you did. ;P Dec 01 04:10:25 currently just this: http://pastebin.com/d5b4cdfb1 Dec 01 04:10:31 Also, I believe you want evalJSON: false, not evalJSON: 'false' -- since 'false' is truthy. Dec 01 04:10:56 That isn't right. Dec 01 04:11:10 You need to use the anonymous functions or it calls them right away. Dec 01 04:11:18 ah Dec 01 04:11:43 http://pastebin.com/d292ab410 Dec 01 04:11:57 Try that version instead. Dec 01 04:12:07 I think I wrote an article on webos101.com on binding variables. Dec 01 04:12:12 functions Dec 01 04:12:24 http://webos101.com/Bind Dec 01 04:12:45 hmm, I keep meaning to revise that since I wrote it very late at night. :P Dec 01 04:14:19 hmm, doesn't seem to hit either result Dec 01 04:15:14 Put everything in a try/catch block to be sure there's not some error elsewhere. Dec 01 04:16:26 Has anyone run into the problem after they upgrade their Pre to WebOS 1.3.1, sending mail via SMTP fails with "Error sending", but the mail actually did send. Thus your phone tries again, and again, and again until you manually delete it from your Outbox. Dec 01 04:16:31 Pretty frightening. Dec 01 04:16:39 Searching Google finds many complaints like this. Dec 01 04:18:46 ok, so the problem was that the "file://" was uneccessary Dec 01 04:18:54 Mojo.appPath has that already Dec 01 04:18:58 so it wasn't pulling the file Dec 01 04:19:05 Hmm... Dec 01 04:19:15 kept trying file://file:// Dec 01 04:19:33 Odd... I didn't think Mojo.appPath put that on there. Dec 01 04:19:42 There was a bug in at least 1.2.1 where evalJSON would happen even if you said evalJSON:false because the application/header was x-application-json Dec 01 04:20:52 yeah, i just dumped Mojo.appPath + this.plistFile to a div and it came out correct Dec 01 04:28:03 warren: i've sort of had that problem, my send email does make it to my outbox, but doesn't actually execute sending it Dec 01 04:28:40 in my case it does actually send, but the phone thinks it didn't Dec 01 04:30:09 http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/ Dec 01 04:30:15 the workaround isn't working for me though Dec 01 04:33:45 xmlQuestions: Can you document Mojo.appPath on webos101.com? :) Dec 01 04:34:53 Rick_work: You around? Dec 01 04:34:57 sure :) and thanks for the help Dec 01 04:35:13 Welcome! Dec 01 04:35:49 Roy-Pre101: have not forgotten to add some samples to webos101, will do it this week Dec 01 04:35:57 LoneStar34: Great, thank you. Dec 01 04:36:39 actually, that page is describing a different problem Dec 01 04:36:56 might be able to get to short one today Dec 01 04:38:32 Hmm, the whole stackexchange/stackoverflow thing would have been nice, too. Dec 01 04:41:16 Roy-Pre101: you want me to add a copy to clipboard snipplet? Dec 01 04:41:35 Please! If there's not one already. Dec 01 04:41:41 I don't think there is. Dec 01 04:47:32 dawm: you here? Dec 01 04:48:23 Roy-Pre101: back Dec 01 04:52:26 Arg Dec 01 04:52:33 Where id dawm when you need him Dec 01 04:53:40 sigh, webos 1.3.1 is unusable for e-mail =( Dec 01 04:53:46 I tried deleting the accounts and adding again Dec 01 04:53:55 and now it is giving weirder error messages during sending Dec 01 04:54:00 kesne: You need him? Dec 01 04:54:11 Just want to say hello to him Dec 01 04:54:17 warren: It was working ffine on older ones? Dec 01 04:54:18 We have this joke going around Dec 01 04:54:19 It isn't even attempting to connect to my SMTP server (I can watch my logs), and it says "Cannot find account." Dec 01 04:54:26 Roy-Pre101: yes Dec 01 04:54:28 Roy-Pre101: 1.2.1 was fine Dec 01 04:54:32 I have a lawyer going after him. Dec 01 04:55:16 warren: I haven't done a lot of e-mail with 1.3.1 since they -finally- fixed the manual setting Dec 01 04:55:27 But I do know they changed the way pop worked, which isn't your problem at all. Dec 01 04:55:59 Roy-Pre101: have you seen the new JsTop tool in Preware? Dec 01 04:56:14 javascript resource monitor Dec 01 04:56:21 rwhitby: Negative, captain. Dec 01 04:56:33 azakus just released it through webos-internals feed Dec 01 04:56:38 It sounds like some sort of javascript resource montior. Dec 01 04:56:43 *monitor. Dec 01 04:58:42 Roy-Pre101: that's what it is Dec 01 04:59:10 Amazing! Dec 01 04:59:39 Roy-Pre101: yes, I use IMAP Dec 01 04:59:54 I'm both happy and angry about my Pre. Dec 01 05:00:00 with Android at least stuff works Dec 01 05:00:11 I'm on the 5th Pre, failed 4 times due to hardware defects Dec 01 05:00:44 warren: Ouch. maybe you should buy lottery tickets instead. Dec 01 05:01:08 Then the Palm Profile thing lost random contacts during this last restore Dec 01 05:01:16 and 1.3.1 broke outgoing SMTP Dec 01 05:02:42 Hang in there, Warren. Keep the faith! Dec 01 05:02:46 :D Dec 01 05:02:50 Roy-Pre101: added a copy to clipboard snipplet, will write a passing textfield value to clipboard later this week Dec 01 05:03:15 I wonder why the outgoing smtp broke... Dec 01 05:03:40 Roy-Pre101: http://www.webos-internals.org/wiki/Application:JsTop Dec 01 05:03:58 warren: what ISP is your email on? Dec 01 05:04:13 both gmail and my own server Dec 01 05:04:28 my own server is IMAP SSL port 993 and SMTP SSL on 465 or 587 Dec 01 05:04:33 have you checked that the gmail smtp server is set to gmail's VERY WEIRD port number? Dec 01 05:04:43 it isn't a weird port number Dec 01 05:04:49 it isn't? Dec 01 05:04:50 465 or 587 are standard ports Dec 01 05:05:15 this was working just fine with 1.2.1 Dec 01 05:05:34 http://wtogami.livejournal.com/32188.html well, I had to do this to make it work with my own SMTP SSL server Dec 01 05:07:44 weird.... I need to delete the account, add the account back, then REBOOT, then SMTP begins working again Dec 01 05:07:57 without the REBOOT it pops up weird error messages without connecting to the SMTP server Dec 01 05:09:20 part of me wants to blog about my horrible experiences with this phone Dec 01 05:09:32 OTOH I really want Palm to succeed and I don't want to scare more people away from this phone. Dec 01 05:09:59 warren: I know what you mean Dec 01 05:12:34 the lost contacts thing really bothers me Dec 01 05:13:14 I was able to recover from every other problem Dec 01 05:15:58 Lost contacts really suck. I'm definitely getting missing sync soon. Dec 01 05:16:06 I'm not so big on the cloud. Dec 01 05:17:29 missing sync when you restore from palm profile? Dec 01 05:17:39 if i mess with the settings right, I can literally watch the battery % count down Dec 01 05:17:48 i hope everything is still there when i get my new pre Dec 01 05:17:48 ;[ Dec 01 05:20:12 warren: No, The Missing Sync from mark/space. Dec 01 05:20:21 www.markspace.com I think Dec 01 05:20:47 droO: it should be there _IF_ your new pre is running the same OS version as your old pre. Dec 01 05:20:48 I use Linux Dec 01 05:21:34 If you had updated to 131, DO NOT put in your palm profile login if the phone is running 121 when you get it. Lie, make up a new account, and doctor it and THEN use your name Dec 01 05:21:39 otherwise, you WILL lose stuff Dec 01 05:21:41 warren: You're screwed. :D there are some backup options coming. Dec 01 05:22:17 oh, /var/luna/data/dbdata/PalmDatabase.db3 is only a sqlite file Dec 01 05:22:32 True. Dec 01 05:22:52 find all the db3's on the phone, copy them -- done Dec 01 05:22:54 rick_home: oh, that is very likely what happened to my contacts =( Dec 01 05:23:03 I was doing an rsync backup before... But I think unless you do a full restore you can get the phone all messed up. Dec 01 05:23:24 again, palm changes the STRUCTURE of the db3's between versions of the OS. Dec 01 05:23:35 So, DO NOT RESTORE a db3 if your os version changed. Dec 01 05:23:51 which is why we need real backup software Dec 01 05:25:14 palm fail =( Dec 01 05:25:19 this is so frustrating Dec 01 05:25:24 I permanently lost people and I don't know who Dec 01 05:25:50 rick_home: I bet that's the cause of my weird e-mail app problems too Dec 01 05:25:58 .db3 files in the wrong format Dec 01 05:26:58 warren do you still have the backup db3? Dec 01 05:27:05 install sqlite on to your desktop Dec 01 05:27:11 open the existing db3 on the phone Dec 01 05:27:17 open the one from your backup Dec 01 05:27:24 I don't have the original .db3 Dec 01 05:27:28 I had the phone replaced Dec 01 05:27:32 compare them, and any "missing" people you can copy over Dec 01 05:27:38 I was running 1.3.1 then phone died Dec 01 05:27:41 got replacement with 1.2.1 Dec 01 05:27:46 YOU OVERWROTE YOUR BACKUP!!?!?! Dec 01 05:27:46 you know the rest Dec 01 05:28:01 I thought you said you had a local backup of the db3 Dec 01 05:28:04 no Dec 01 05:28:07 oh Dec 01 05:28:08 oooops Dec 01 05:28:10 I didn't know about the .db3 files back then Dec 01 05:28:29 oh Dec 01 05:32:29 I guess I should have known better than to trust the cloud =( Dec 01 05:32:50 rick_home: if I backup the raw .db3 files now, if I restore later I can overwrite the .db3 files and it'll just work? Dec 01 05:33:28 as long as the os version hasn't changed them, yes Dec 01 05:34:20 Cool, a dev on the developer.palm.com forums just got a phonegap app running on the pre. Dec 01 05:34:24 That's interesting Dec 01 05:34:33 http://developer.palm.com/distribution/viewtopic.php?f=11&t=3511 Dec 01 05:36:20 what is phonegap? Dec 01 05:36:51 It's the space between your ear and the phone, of course. Dec 01 05:37:43 http://www.phonegap.com/ Dec 01 05:37:57 it's basically webOS for the Iphone Dec 01 05:38:10 * rick_home off to bed Dec 01 05:38:12 night all Dec 01 05:38:14 Ahhh. Dec 01 05:38:15 Yes Dec 01 05:40:21 Ah, twitter client was closed, no wonder I got so much done. Dec 01 06:17:32 anyone here? i have a quick question about the palm-header Dec 01 06:17:59 yetdog__: Lay it on us Dec 01 06:18:01 ive seen icons in the header along with the title...but palm's style docs don't seem to show how to include it Dec 01 06:18:50 like here https://developer.palm.com/index.php?option=com_content&view=article&id=1718 Dec 01 06:18:54 they show the icon in the header Dec 01 06:19:35 or is it as easy as in the header code? Dec 01 06:27:09 seems like a stupid question :/ Dec 01 06:27:15 sorry, I spaced out Dec 01 06:27:46 does an app have the bulky palm-header? Dec 01 06:27:53 Add a div, float it left with the img Dec 01 06:29:26 inside the header div? Dec 01 06:29:51 or inside the wrapper, probably Dec 01 06:30:08 I haven't done it myself but try the most likely place. :) Dec 01 06:30:36 thanks dude! :) Dec 01 06:36:56 yetdog__! Dec 01 06:37:05 hey there kesne! Dec 01 06:37:11 isnt it past your bedtime? ;) Dec 01 06:37:13 how goes it? Dec 01 06:37:15 Not really Dec 01 06:37:19 Working on some school stuff Dec 01 06:37:26 not bad man, just killing time at a hotel in cali. here for dumb training Dec 01 06:37:48 In what field? Dec 01 06:38:30 its for symantec netbackup Dec 01 06:38:31 bah Dec 01 06:40:43 oh jo Dec 01 06:40:45 *joy Dec 01 06:41:35 haha yeah something like that Dec 01 06:43:28 have you ever played Perfect Bounce? Dec 01 06:47:58 i havent actually Dec 01 06:48:35 yetdog__: Wouldn't think people'd need dumb training. Seems most people do it fine without much help. Dec 01 06:48:53 hahaha im already a certified expert ;) Dec 01 06:49:06 Did you get it working? Dec 01 06:49:52 oh - havent tried yet, but your approach makes sense Dec 01 06:49:58 im embarassingly behind the times in HTML :( Dec 01 06:50:04 divs are still something ive had to use kicking and screaming Dec 01 06:50:50 Roy-Pre101: would you mind helping me restructure my loop? Dec 01 06:51:05 at this hour? Hell yes I mind. :P Dec 01 06:51:12 tomorrow, probably won't mind. Dec 01 06:52:00 Going to sleep now, anyhow. Dec 01 06:53:48 Got sucked in to watchin the (recorded) live feed of the guy who does The Dreamland Chronicles doing his photoshopping of his comic. Dec 01 06:57:27 Roy-Pre101: of course not now Dec 01 06:57:30 I meant in general Dec 01 06:57:35 Hell, I would mind now Dec 01 07:14:26 i think i might submit my app to homebrew in the meantime :) Dec 01 08:18:08 ElVox: To continue the yesterdays talk: Yes I am using Ajax Requests! Dec 01 08:22:59 any news about the app store in europe? Dec 01 08:23:29 like when will paid apps be available... when will the problematic with the missing apps be fixed and so on Dec 01 08:31:53 joekinley: they should first actually get the thing available everywhere in europe I think :P Dec 01 08:32:37 yeah that would be best Dec 01 08:32:43 and then paid apps Dec 01 08:32:45 then the whole thing Dec 01 08:32:49 then the app limit issue Dec 01 08:32:53 so much to do Dec 01 09:57:53 ok, so i've included a js file in sources.json. how do I access the methods in the js file from, say, the scene/stage assistants? Dec 01 10:12:31 hello folks Dec 01 12:23:59 anybody here? Dec 01 12:26:38 ok, so i've included a js file in sources.json. how do I access the methods in the js file from, say, the scene/stage assistants? Dec 01 12:31:10 no clue. I am only used to working within a few scenes themselves Dec 01 12:31:48 do you need it as an include, or something like that? Or can you just build it into a scene controller? Dec 01 12:32:21 its a 3rd part library, so i'd be better of including Dec 01 12:34:51 right. I don't know how to include the js file as a library. Hopefully someone else here can answer. As the workaround, I wonder if you just tacked it on the end of a scene controller, if the functions would then work Dec 01 12:36:14 i know how to include Dec 01 12:36:49 sournces.json, just add {"source" "app\/lib\/libname.js"} Dec 01 12:39:00 the webOS book says it can be done - "you might put common JavaScript libraries under a javascripts or library directory" Dec 01 12:39:38 FreeTim3: yes. but how do I go about using it? like i have some methods defined in the lib, can I directly call 'em? Dec 01 12:40:45 I'd try it - it makes sense that it should work as long as sources.json knows where to find them. Dec 01 12:50:21 FreeTim3: nope..just calling the function didn't work Dec 01 12:53:15 how do you know it didnt? Dec 01 12:53:44 bmyers: i made it return and value and pushed to an item on the scene Dec 01 12:53:51 *an valye Dec 01 12:53:56 aargh **an value Dec 01 12:55:15 is the file in your json scources? Dec 01 12:55:17 even this.functionName didn't work Dec 01 12:56:36 look at the log... go to console using putty and use command - log com.yourappdomain Dec 01 12:57:33 FreeTim3: ok but what i do i connect to in putty? Dec 01 12:57:37 like on mine I use putty to the emulator and command: log com.freetim.hiker and then in the emulator I run my app... this lets me watch the log real time Dec 01 12:57:46 there is putty page on wiki /putty Dec 01 12:58:04 oh sorry wrong channel, i'll send you the link Dec 01 12:58:50 http://www.webos-internals.org/wiki/Putty Dec 01 13:00:08 make sure the included js files are at the beginning of the sources.json file before anything else Dec 01 13:02:39 bmyers: good thought. but no go Dec 01 13:03:12 post your sources.json to pastebin, we'll start there.. Dec 01 13:06:24 http://pastebin.com/d682c598 my sources.json Dec 01 13:08:32 try adding a javascript dir to the app directory Dec 01 13:08:45 and reference it there like: Dec 01 13:08:54 {"source": "app/javascripts/lorem.js"}, Dec 01 13:09:37 you created a lib dir outside of the app dir, it may not like that. Dec 01 13:09:57 what is the issue Dec 01 13:09:58 ? Dec 01 13:10:09 go back to sleep atlanta... Dec 01 13:10:23 no never Dec 01 13:10:24 lol Dec 01 13:10:26 im at work Dec 01 13:10:27 atlanta: i included a .js file and not able to call functions in it Dec 01 13:10:32 hows it going atlanta Dec 01 13:10:39 bmyers: good u Dec 01 13:10:48 he cant ref his js method in an include Dec 01 13:11:11 have u used inspector and got an error? Dec 01 13:11:12 lvshankar: Dec 01 13:11:14 bmyers: i think i tried that before and then tried this way..let me check again Dec 01 13:11:29 inspector doesn't work for me Dec 01 13:11:36 this way works for me.. it very common to do it this way.. Dec 01 13:11:50 tail -f /var/log/messages in putty Dec 01 13:12:00 did u see the pastebin atlanta? Dec 01 13:13:07 ok, about putty...i don't have the device..am using emulator... Dec 01 13:13:11 does that change anything? Dec 01 13:13:27 no... see the putty page... there is a section for the emulator on there with port, etc Dec 01 13:13:55 don't make me paste the wiki link twice... go and look at it :) Dec 01 13:14:59 FreeTim3: yes got it :) Dec 01 13:16:20 atlanta: This is what I use. The awk cuts down the huge lines. The grep at the end gets rid of single-tap log lines which aren't useful to me. log com.freetim | awk '{ for (nLoop = 9;nLoop <= NF-1;nLoop++) printf("%s ", $nLoop);print ""; }' | grep -v mojo-single-tap Dec 01 13:16:43 ok the log says the function am trying to call is not defined Dec 01 13:16:48 the tail feature is built into the 'log' command on the front Dec 01 13:18:18 atlanta: doing good today. except for a cold.. it's freezing up here!! Dec 01 13:19:08 awww nice FreeTim3 thank you sir Dec 01 13:19:14 lvshankar: the port is 5522 Dec 01 13:19:18 localhost:5522 Dec 01 13:19:23 atlanta: yep..in that Dec 01 13:19:39 lvshankar: move your js files to a javascript dir in the app directory Dec 01 13:19:46 and include them like this: Dec 01 13:19:50 {"source": "app/javascripts/lorem.js"}, Dec 01 13:19:54 bmyers: was just about to tell you that..didn't work Dec 01 13:20:01 yea its not that Dec 01 13:20:02 before the other entries in sources.json Dec 01 13:20:06 most likely its something in the coding Dec 01 13:20:11 does the escaping of / affect something? Dec 01 13:20:25 reference the method without a this. Dec 01 13:20:29 it'll work Dec 01 13:22:25 bmyers: nope Dec 01 13:22:54 u get a log error? Dec 01 13:23:42 lets see your new sources.json on pastebin Dec 01 13:26:07 its nothing in sources bmyers long as you have the correct path it will work Dec 01 13:26:16 the coding is where the tricky part comes in Dec 01 13:26:24 i'm not sure that he (she) does.. Dec 01 13:26:27 ok guys i got it Dec 01 13:26:45 there was a bad syntax in one function in my included js Dec 01 13:26:48 my bad :( Dec 01 13:26:53 bmyers: its a he :D Dec 01 13:27:11 he... Dec 01 13:27:16 he fixed it... Dec 01 13:27:56 lmfaoo Dec 01 13:28:36 i figured it was that Dec 01 13:28:54 atlanta: thanks there.. Dec 01 13:29:37 no probleml Dec 01 13:33:04 and it works even if the lib directory is a sibling to app Dec 01 13:33:23 yup yup Dec 01 13:33:30 good. i was just going with what i knew worked for me.. Dec 01 13:34:18 cool Dec 01 14:42:08 anyway of getting sound in the emulator? Dec 01 15:05:15 anyone know if the emulator can produce sound? Dec 01 15:11:49 negative Dec 01 15:11:56 someone has been doing research on it though Dec 01 15:12:04 i believe they did find out a little on how to do it Dec 01 15:12:06 check the wiki Dec 01 15:12:13 but officially no Dec 01 15:15:01 atlanta: thanks, whats the wiki url? Dec 01 15:16:07 http://www.webos-internals.org/ Dec 01 15:16:17 oh ok Dec 01 15:16:20 thanls Dec 01 15:16:22 ks Dec 01 15:25:35 moderators, should we add that to channel topic? It's really for the 'other' channel though Dec 01 15:28:52 not a moderator but i think it should be like a for advanced user captio Dec 01 15:29:03 ive answered that same question a few times Dec 01 15:29:25 how often are the conversations logged at logs.nslu2-linux.org? Dec 01 15:30:46 forever Dec 01 15:30:46 i think Dec 01 15:30:47 lol Dec 01 15:31:04 maybe a month Dec 01 15:31:06 not too sure Dec 01 15:35:25 atlanta: no i mean i just had a few words with you from work..am home now, but can't find that in the logs.. Dec 01 15:36:56 is there a way to globally disable STE-Autocap, or at least per application? Dec 01 15:48:25 How much space needs to be free on /var to install an app? I'm using less than half and it's erroring out installing a package that would be 1.5M installed. Dec 01 16:01:41 xalbo: where are you installing from app store Dec 01 16:01:42 ? Dec 01 16:03:31 From palm-install on a command line (locally built .ipk file from a homebrew app I wrote myself, which installed fine a few days ago, damnit.) Dec 01 16:04:50 wierd Dec 01 16:04:55 you have the newest sdk right Dec 01 16:06:36 Yes. Dec 01 16:08:17 oooook, now it worked, from the command line; a minute ago it didn't, from eclipse, but it had previously (intermittently) worked from eclipse Dec 01 16:10:06 i dont like eclipse personally Dec 01 16:10:13 have u check out templarian solution Dec 01 16:10:17 for komodo edit Dec 01 16:10:18 i love it Dec 01 16:11:23 I do need to try that. I don't really like eclipse that much myself; I feel like there's a really great IDE hiding somewhere in there, but I can't figure out how it thinks, so I'm always working at cross purposes to it. Dec 01 16:16:48 xalbo, nothing hiding in komodo. Very very traditional exposed interface Dec 01 16:18:25 Ok, consider me finally talked into it (moved from the pile of things to try sometime to the pile of things to try right now) Dec 01 16:20:00 you got the links? Dec 01 16:23:22 I'm working from http://www.webos-internals.org/wiki/Komodo Dec 01 16:23:32 Is there a better link? Dec 01 16:57:03 atlanta, Rick_work: thanks, I'm already happier in komodo. Dec 01 16:57:11 :- Dec 01 16:57:13 :-) Dec 01 16:57:14 i knew it Dec 01 16:59:23 On a completely different topic, is there a way to do a regexp search of a database? Dec 01 17:04:17 The mojo.Depot uses objects, so could you pull all the db objects into a quick array, use Object.toString and then search that? Dec 01 17:08:02 FreeTim3: yes u should be able to Dec 01 17:08:04 brb lunch time Dec 01 17:12:25 atlanta :) I was answering to xalbo Dec 01 17:14:18 ahem. new stuff for devs in the early access program. check the forum. Dec 01 17:14:21 That would work, but I doubt it's any better than what I have (load all 150000 objects from a json file, grep that) Dec 01 17:14:46 I was hoping to save some memory and time by using a database for its intended purpose. Dec 01 17:21:32 To save memory you could load just a few objects at a time and grep. Pull the next objects, and grep. Loop until you run out of beer. I don't think you can ask the Mojo.depot to search itself internally some how, at least from what I read in the book there isn't anything like that. Dec 01 17:25:36 Yeah, it looked like I'd need to go past Depot and all the way to the database at the backend. But there still doesn't seem to be a regexp search. Maybe I can translate into a strictly more accepting LIKE clause, and then do the real regexp on whatever that returns. Dec 01 17:35:02 sqlite3 supports LIKE and REGEX Dec 01 17:35:17 http://www.sqlite.org/lang_expr.html Dec 01 17:36:21 The REGEXP operator is a special syntax for the regexp() user function. No regexp() user function is defined by default and so use of the REGEXP operator will normally result in an error message. If a user-defined function named "regexp" is added at run-time, that function will be called in order to implement the REGEXP operator. Dec 01 17:37:16 So REGEXP would be grammatical, but sounds unlikely to work (unless the magic has been done; I guess the only way to find out is to try it) Dec 01 17:37:51 i guess. i dont use it myself. just saw it in the docs.. Dec 01 17:38:04 even like supports some simple replacements right? Dec 01 17:41:59 LIKE supports a few wildcards, not powerful enough for me, but I might be able to build a LIKE expression that at least vastly reduces what I need to run the full regexp on. Dec 01 17:43:12 i have faith in your abilities.. you can DO IT!!! :) Dec 01 17:46:21 ohhh Dec 01 17:46:22 lol Dec 01 17:54:23 is chuq still here? Dec 01 17:54:47 or is he away from irc Dec 01 17:55:33 sort of here... Dec 01 17:55:35 what's up? Dec 01 17:56:16 pingd Dec 01 18:54:37 Whats everyone using for irc on windows Dec 01 18:55:49 xchat2 Dec 01 18:56:25 you can also use irssi Dec 01 19:00:15 thx Dec 01 19:08:19 Pidgin... that way I can have my ICQ, my AIM, XMPP corporate all in the same client with my IRC... www.pidgin.im Dec 01 19:09:36 idk, i never liked pidgin for IRC. great for aim and stuff, though Dec 01 19:11:23 well it works fine... I don't use it beyond the basics... there are lots of plugins Dec 01 19:15:31 hi, can anyone help me with an webos issue? Dec 01 19:16:30 we can try Dec 01 19:22:44 :) thanks. I have to port an application form Iphone and one of the features has an embedded google maps view, but I can't figure out how to implement it in webos Dec 01 19:23:39 I don't want to use the google maps application, I want it to be a part of my scene. If i try to use google maps api as a normal browser I don't get click events on the marker Dec 01 19:23:53 does anyone has a solution for this? Dec 01 19:24:40 miezu: open up the google maps app and take a look? Dec 01 19:24:56 I dont know if there is an easy embedded map view yet. However you could look at the google map code and make one. Dec 01 19:25:00 or ucould use a webview? Dec 01 19:25:41 http://developer.palm.com/index.php?option=com_content&view=article&id=1602 Dec 01 19:25:41 I tried using an webview but I still don't get any click events. Where can I find the google maps app code? Dec 01 19:27:50 it is on the emulator. winscp. Dec 01 19:29:01 /usr/palm/applications/ Dec 01 19:29:21 com.palm.app.maps Dec 01 19:29:23 I think. Dec 01 19:29:49 I'll have a look. thanks Dec 01 19:34:51 ok, I found it, but I'm using mac and novaterm can I get those files out using novaterm? Dec 01 19:35:29 Yes. Dec 01 19:36:09 Copy the folder to /media/internal and the tell the phone to go into enternal drive mode, and you will see it on the drive Dec 01 19:36:34 (USB Drive) Dec 01 19:40:18 "and the tell the phone to go into enternal drive mode" how can I do this? sorry for all these questions Dec 01 19:42:06 n.p. Dec 01 19:42:35 if you have your phone plugged into the usb cable, it should give you options. Dec 01 19:42:43 click on "USB Drive" Dec 01 19:43:07 However, if you are just using the emulator, you may be out of luck Dec 01 19:44:37 the usb drive button is disabled. I'm just using the emulator. I'll try to find another way to get that folder. Thanks a lot Dec 01 19:45:08 you can scp into the emulator. localhost:5522 Dec 01 19:45:21 scp/ssh Dec 01 19:45:26 or sftp Dec 01 19:45:44 you can probably install an SSH or ftp service on the emulator and get it that way,. Dec 01 19:46:28 cant you copy over novaterm as well? Dec 01 19:46:49 Not that I know of... But I haven't messed with it a ton. Dec 01 19:47:32 there is probably a way Dec 01 19:48:08 miezu, check out http://www.webos-internals.org/wiki/Main_Page or ask the question in #webos-internals Dec 01 19:48:36 what is the best way to tell if the device is a pre or a pixie? Dec 01 19:48:40 ok, 10x Dec 01 19:49:09 if (Mojo.Environment.DeviceInfo.touchableRows == 7) { Dec 01 19:49:13 pixi Dec 01 19:49:15 else Dec 01 19:49:16 pre Dec 01 19:49:30 lyht: pretty sure you can copy over novaterm. no clue how to do it though Dec 01 19:49:42 lyht: sweet thanks! Dec 01 19:49:43 gkatsev, you are probably right. :) Dec 01 19:49:54 lol Dec 01 19:50:58 lyht: Use === not == Dec 01 19:51:07 It's good to get into the habit. Dec 01 19:51:25 yeah. in js replace all == with === Dec 01 19:54:05 Roy I understand the concept, but I tend to only use it when needed. It really only comes into play when looking at true/false, empty strings, zeros, etc, right? if touchableRows was "" or "seven" it would not == 7. But if it was "7" it would == 7, which I want in this case anyway. Dec 01 19:54:32 where as "7" === 7 would come back false, right? Dec 01 19:54:45 yes Dec 01 19:54:48 that's correct. If you're aware of the issue then no problem. Dec 01 19:54:56 Many people are not aware. Dec 01 19:55:14 And touchableRows is going to be a number in any case, yes? Dec 01 19:55:29 right, but ALWAYS use 3 = to test against 0 or undefined or NaN or anything else that's "falsy" Dec 01 19:55:31 I dont know... no guarentee with Mojo. Dec 01 19:55:58 rick_home, right, unless you want to test against all of them at once. Dec 01 19:56:50 so should you use 3 ='s when testing for true or false always? Dec 01 19:56:51 if (!var) is the same as if (var == false) and if (var == undefined) and if (var == "") right? Dec 01 19:57:37 use === when you only want to evaluate for true if it EXACTLY equals Dec 01 19:58:03 if you only want if (var === false) but not if (var === 0) Dec 01 19:58:09 or (var === "") Dec 01 19:58:14 which is almost always the case when comtairing against undefined. Dec 01 19:58:16 or 0 Dec 01 19:58:20 true. Dec 01 19:58:27 since there is a rather huge difference between undefined and 0 Dec 01 19:58:50 so for all practical purposes, always use === when comparing against 0 Dec 01 19:59:04 Rick_work, agree. especially 0... Dec 01 20:06:42 Is there a way to switch the palm profile on ones device? Dec 01 20:07:11 re-run the first-use app? Dec 01 20:07:50 you mean the second use app? :D Dec 01 20:43:31 for a list that you can edit do you just use a textfield in the itemcontainer? Dec 01 20:43:36 for an editable list Dec 01 20:47:08 got.. use INPUT tag in of DIV in the itemtemplate.. Dec 01 20:47:21 look for listChange event... Dec 01 20:52:35 What does the "indicated new content, but not active" warning mean? It comes up when I load my application Dec 01 20:54:15 dont know. Does it in mine also. Dec 01 21:35:15 Adora :D Dec 01 21:35:35 AtomicPlayboy: ohi! Dec 01 21:35:50 Has anybody seen Chuq today? Dec 01 21:36:09 sure Dec 01 21:36:12 he's right over there Dec 01 21:36:13 * Adora points Dec 01 21:36:53 What are the stipulations, if any, for joining the Ares test project? Dec 01 21:36:59 Just an email? Dec 01 21:40:09 at one point I heard that priority was going for folks with apps already in the catalog, but that may no longer be true Dec 01 21:40:28 chuq's forum post on ares doesn't say that, just the early sdk access one Dec 01 21:41:20 In a handleCommand method in one of my scene assistants, I call event.stopPropagation() for a Mojo.Event.back swipe so the current scene won't be popped off. But instead, the entire app is "minimized" (and the current scene stays on). Why would this happen Dec 01 21:41:56 Okay, so in other words I shouldn't hold my breath. Dec 01 21:42:17 I have not yet submitted an application anywhere. Dec 01 21:43:01 AtomicPlayboy: I'd still email pdn@palm.com just in case Dec 01 21:43:26 I did already, was just wondering if there were any other prerequisites or requirements. Dec 01 21:52:34 kesne, you're lawyer cannot write an email Dec 01 21:52:51 just for that, im keeping the underscore Dec 01 21:53:13 dawm his lawyer probably is just him sending you harassing emails Dec 01 21:53:54 No respecting lawyer would go after a developer when there is clearly no refund policy Dec 01 21:54:03 there was no purchase Dec 01 21:54:20 now his lawyer appears to be extort me for my own app Dec 01 21:54:34 which app is that? Dec 01 21:54:49 darn no infobot in this room Dec 01 21:54:54 swap&drop Dec 01 21:55:05 aka prejeweled Dec 01 21:55:17 paste bin his emails :) Dec 01 21:56:32 http://pastebin.com/m7790c18c Dec 01 22:01:47 Where are they from? They dont seem to have english as a first language. Dec 01 22:02:20 why would u even think kesne has a lawyer Dec 01 22:02:42 i know people 5x older than him that dont have lawyers Dec 01 22:04:51 Kesne gets high on meh to much... I think he isnt sure what is up Dec 01 22:05:22 that doesn't even sound like its from a lawyer Dec 01 22:06:12 spending all his checkers pro loot on drugs? Dec 01 22:07:38 Yes he is a big meth user from what I understand Dec 01 22:08:00 dawm_, So I dont get it. What does he want? Does he have a similar app, and claming that you are infringing on intellectual property rights? Dec 01 22:08:05 What's he claiming? Dec 01 22:08:06 He is actually developing his apps in a treatment facility in oregon some where, he had to leave his family and his gf in the east coast Dec 01 22:08:16 That's...awesome. Dec 01 22:08:26 i think hes trying to sell me back my app or he's gonna claim it Dec 01 22:08:41 the email was hard to understand Dec 01 22:09:07 everyone spam fakelawyer@keenstudios.net Dec 01 22:09:12 :) Dec 01 22:09:34 er sorry, laywer@keen-studios.net Dec 01 22:09:41 er lawyer@keen-studios.net Dec 01 22:10:10 claim it how? Say that he developed it first? When you had it released to precentral, and submitted to palm? What would he be claiming as proof... Dec 01 22:10:39 its just kesne playing around :P Dec 01 22:11:08 Jordan Gensler? Dec 01 22:12:36 hey look its a Dremel Dec 01 22:12:52 More importantly, it's a chuqui. Dec 01 22:13:08 nah Dec 01 22:13:09 hey! Dec 01 22:13:15 he's a no body Dec 01 22:13:18 it is Dec 01 22:13:22 Well, okay. Dec 01 22:13:30 He is a nobody, but he's a somewhat important nobody. Dec 01 22:13:32 Somewhat. Dec 01 22:13:48 * ElVox is totally unimportant nobody Dec 01 22:13:56 can he lift a yugo with one hand? i think not. Dec 01 22:14:00 chuqui: i notice your name, and the email you just sent me heh Dec 01 22:14:34 chuqui, I seem to have lost one of my apps in the portal. switcharoodemo is just gone... even though it still shows in the app catalog. I sent an email to Gloria yesterday, but no response as of yet. Dec 01 22:14:35 there exists somewhere a yugo with one hand? wow! Dec 01 22:14:51 ElVox: That's what I was wondering. Dec 01 22:15:03 About the one-handed Yugo I mean. Dec 01 22:15:14 she's around, but I know she's been running around a bit. probably hasn't had a chance to respond. When I see her, I'll ping her. Dec 01 22:15:29 thanks. Dec 01 22:15:37 Don't ping her too hard, that might hurt. Dec 01 22:17:33 ever spend a week writing a library only to discover some open source project that did it a month earlier? Dec 01 22:18:12 what did you write? Dec 01 22:19:46 sweet Dec 01 22:19:51 just paid my $5 Dec 01 22:20:24 i am about 80% with an r-tree library in pure javascript...non-recursive, fast, flexible...can do a bounding window search on ~20k objects in less than 20ms average Dec 01 22:20:53 i wonder now.. do i have to submit thru the portal now that i have a developer account? or do i wait for my handler to get back to me Dec 01 22:32:21 dawm: submit it, and let your handler know you have submitted it Dec 01 22:42:47 yes. if you have access to the portal, use it... Dec 01 22:45:32 nuff said :P Dec 01 22:49:00 ugh.. perfect time for my lcd panel to go goofy.. while in photoshop tweaking a logo Dec 01 23:14:48 Is there a way to switch the palm profile on ones device? Dec 01 23:22:19 question Dec 01 23:22:39 if i update my replacement phone to 1.3.1 Dec 01 23:22:45 then full erase Dec 01 23:22:50 and sign back in with my profile Dec 01 23:22:57 do i get my contacts back? Dec 01 23:25:07 yes Dec 01 23:25:11 in theory Dec 01 23:25:37 Palm Backup has been iffy lately, I'd convert to Google contacts to ensure proper saving. Dec 01 23:25:48 yeah im going to do that if this works Dec 01 23:25:52 this is already my 4th phone Dec 01 23:26:17 i have so many numbers though its really frustrating Dec 01 23:26:30 how many facebook groups do i have to create to regain my numbers... Dec 01 23:45:20 yeah definately didn't work Dec 01 23:45:25 ughhhh Dec 01 23:46:27 oh Dec 01 23:46:29 it did work Dec 01 23:46:33 just needed another minute Dec 01 23:46:34 sweet Dec 01 23:53:12 Is loading a site with a browser mostly network, cpu, or disk intensive? What about for each subsystem of a browser: rendering, layout, formatting, DOM, marshalling, CSS parsing, HTML parsing, javascript compilation/interpretation Dec 01 23:54:35 i don't think it can be generalized quite that much - but i'll say that network and cpu are probably above disk when it comes to loading Dec 01 23:59:55 cpu primarily, of course that would chanhe based on the type of conten I'd wager Dec 02 00:00:16 change* Dec 02 00:00:45 is there a way to search contacts with the api? Dec 02 00:13:33 Wow Dec 02 00:13:40 There was a freaking party here Dec 02 00:13:42 and I missed it Dec 02 00:14:11 true dat. walked out on the party, and no chex-mix for you. Dec 02 00:15:28 ARg Dec 02 00:15:34 where is dawm when you need him Dec 02 00:15:42 working on my logo Dec 02 00:15:47 its dated and needs tweaking Dec 02 00:15:52 HA! Dec 02 00:15:58 I love this fake lawyer stuff Dec 02 00:16:07 Let me write another poorly phrased email Dec 02 00:16:13 lol Dec 02 00:16:33 pretty hard to make a logo for words that make no sense together Dec 02 00:16:49 what words? Dec 02 00:16:55 biocandy Dec 02 00:17:20 Hehe Dec 02 00:18:02 and i lost all my fonts .. frustrating to say the least Dec 02 00:18:59 Check your email ;) Dec 02 00:20:43 kesne always misses the party Dec 02 00:20:52 I AM the party Dec 02 00:20:57 Meth anyone? Dec 02 00:22:49 Also: I'm really not a meth user Dec 02 00:23:02 more of a meh user Dec 02 00:23:40 lol Dec 02 00:24:06 meh == meth Dec 02 00:24:09 get used to it Dec 02 00:24:16 that's the lingo in this channel Dec 02 00:24:18 but meh !== meth Dec 02 00:24:24 so there. Dec 02 00:24:29 in this channel it does Dec 02 00:24:49 if (channel == #webos){ meh = meth; } Dec 02 00:25:11 nice Dec 02 00:29:24 Meth is bad Dec 02 00:29:47 the only reason that rumor got started was because one time my friends got on one of my kesne accounts and said I did Dec 02 00:35:33 kesne: you might want to lock your screen in future to keep the professional image of keen studios intact ... Dec 02 00:38:00 kesne: too late Dec 02 00:38:09 Hello Dec 02 00:38:48 rwhitby: I know, I do now, it's been quite annoying. Dec 02 00:39:08 It's always either "I'm on meth" or "I'm quitting pre" Dec 02 00:39:39 10:50 kesne: I AM the party Dec 02 00:39:42 10:50 kesne: Meth anyone? Dec 02 00:39:55 seems your propagating the problem ... Dec 02 00:40:39 if meh == meth, then... http://twitter.com/alexanderhunter/status/6243814244 Dec 02 00:40:45 that's probably bad, isn't it? Dec 02 00:41:08 (that's palm's pr manager) Dec 02 00:42:01 ugh you are all meh addicts Dec 02 00:42:47 you all argue even like meh addicts Dec 02 00:43:04 where is infobot when it is needed :( Dec 02 00:45:47 infobot is great Dec 02 00:46:20 indeed it is Dec 02 00:46:20 rwhitby: It isnt really a problem. I dobt anyone here think's I'm actually on meth. The only issue is the impact on Keen Studios Dec 02 00:46:31 And we are a serious company, so, that is a real issue. Dec 02 00:46:52 can you help me find someone to buy meth from Dec 02 00:46:54 Meth shouldnt effect the image on the company, who are any of you to judge who is tweaking Dec 02 00:47:03 So long as the software is up to snuff Dec 02 00:47:31 Yik were working on an app called "Meh Spot" Dec 02 00:47:38 Agree Dec 02 00:47:56 CTLAdvance-work: we're, not were Dec 02 00:48:05 what does the app do Dec 02 00:48:17 It don't exist Dec 02 00:48:18 Prices, local spots, links to google maps etc Dec 02 00:48:28 hahaaaa Dec 02 00:48:30 Or does it kesne? Dec 02 00:48:36 Yik: the app wouldnt even make it into homebrew Dec 02 00:48:59 can you make an app to locate meth dealers? Dec 02 00:49:00 CTLAdvance-work: can we move this into #webos-offtherecord ? Dec 02 00:49:17 Yik: #webos-offtherecord Dec 02 00:50:09 sure Dec 02 01:09:33 Queued for Review... shwing! Dec 02 01:11:03 Yik: check out Trapster Dec 02 01:11:10 Can anyone who uses EAS on the Pre test something for me? Dec 02 01:11:14 I MIGHT have a bug... Dec 02 01:22:28 sweeet Dec 02 01:25:35 dBsooner, what? Dec 02 01:27:08 Sargun: When I add a contact.. It will add a space before the number Dec 02 01:27:25 so create a new contact.. with a 10 digit number "9185551212" Dec 02 01:27:41 then go to Outlook and check that contact it will be listed as " (918) 555-1212" Dec 02 01:27:45 a space before the ( Dec 02 01:29:35 back Dec 02 01:29:40 i had to change to ubuntu Dec 02 01:29:45 i was using my dad's computer Dec 02 01:29:47 BTW Dec 02 01:29:57 i just got a dump of a live pre filesystem Dec 02 01:30:37 wait... Dec 02 01:30:45 not quite a complete one Dec 02 01:30:48 0.o Dec 02 01:34:19 lucky devs with ares :) Dec 02 01:36:11 welp app submitted, blog changed, logo sorta finished.. time to play some 1vs100 Dec 02 01:37:15 wow this is cool Dec 02 01:37:16 http://www.youtube.com/watch?v=gzRS0LlyZKU Dec 02 01:37:25 altho for the iphone. interesting controls Dec 02 01:46:04 ewwwwww Dec 02 01:46:06 iphone Dec 02 01:46:13 hey Dec 02 01:46:18 we got DOOM! Dec 02 01:46:31 DOOM PWNZ LOLZ !!!!111!!!!one!!!11 Dec 02 01:48:02 hahaha Dec 02 01:48:20 hey i have a quick question about the mojo-scroll-fade Dec 02 01:48:29 anyone available to listen for a minute? :) Dec 02 01:48:59 shoot Dec 02 01:49:37 ok so i have this at the bottom of my scene, right before the Dec 02 01:49:38
Dec 02 01:49:44 so thats the last div listed Dec 02 01:49:48 i have the png and all that Dec 02 01:50:10 but, when i load the app in the emulator (havent tried device yet), the scroll fade only shows up once i click/drag the list Dec 02 01:50:35 as in, when it first loads up, i can see the content running off the bottom of the screen, but the div , or the div image, isnt loading until i try to scroll Dec 02 01:50:55 now, the content div that contains the stuff running off the screen is populated via an ajax call, FYI, not sure if that matters Dec 02 01:51:43 do you set scroll height after complete the ajax call? Dec 02 01:55:44 this is the scene scroller or one you setup? Dec 02 01:59:52 hmmm no, i didnt set that Dec 02 02:00:02 this is on the one main scene i have for my app Dec 02 02:00:16 where do i set the scroll height? Dec 02 02:03:48 no scroller, either. its just content in a div in a scene that runs longer than the screen height Dec 02 02:04:00 so when i click to scroll is when the div fader shows up, but not before i click Dec 02 02:05:56 u load the ajax in the activate or somewhere else? Dec 02 02:06:03 lemme check :) Dec 02 02:06:37 in the function/scene setup i load the ajax Dec 02 02:06:43 and then set the div.innerHTML to the value i want Dec 02 02:07:22 after you load up the div, try this Dec 02 02:07:25 var scroller = this.controller.getSceneScroller(); var pageHeight = scroller.mojo.scrollerSize().height; Dec 02 02:07:49 then log pageHeight Dec 02 02:07:57 see what that value is. Dec 02 02:08:31 i'm guess, that it sets the scroller stuff based on the inital size before you load up the div Dec 02 02:08:37 hey Dec 02 02:08:44 has anyone got 3D on the pre? Dec 02 02:08:55 once u start scrolling it figures out that its large than it was Dec 02 02:08:59 or does it STILL not have it? Dec 02 02:09:04 yes im guess that's exacrly what it is Dec 02 02:09:14 initial screen size is the empty div Dec 02 02:09:54 or you could just try a scollTo 0,0 after you load up the div Dec 02 02:10:21 the above code with get you a ref to the scroller at least Dec 02 02:10:32 what object do i set the scrollto on? (sorry im kind of green at mojo) Dec 02 02:10:33 pageHeight might tell u something. Dec 02 02:10:44 var scroller = this.controller.getSceneScroller(); Dec 02 02:11:19 easier way to do it Dec 02 02:11:30 oh sure, now he pipes up.. Dec 02 02:11:56 If your scroller takes up the size of the screen - the offset from the top Dec 02 02:12:26 One sec...komodo crashed Dec 02 02:13:27 var scrollerHt = this.controller.window.innerHeight Dec 02 02:15:02 hmm checking into it Dec 02 02:15:21 does anyone go to upenn by chance? Dec 02 02:15:55 SetlistAssistant.prototype.checkSuccess = function(transport){ Dec 02 02:15:55 var mainDiv = this.controller.get("main"); Dec 02 02:15:55 mainDiv.innerHTML = transport.responseText; Dec 02 02:15:56 var scrollerHt = this.controller.window.innerHeight; Dec 02 02:15:56 }; Dec 02 02:15:58 didnt seem to work... Dec 02 02:16:13 yetdog! Dec 02 02:16:23 yetdog: What are you trying to do? Dec 02 02:16:41 hey kesne! Dec 02 02:16:50 yetdog: Because that's to get the scroller height...then, you need to actually set the height... Dec 02 02:17:02 Or rather, gets the window size. Dec 02 02:17:02 reality: i have a simple scene witha div that's populated with content from an ajax call Dec 02 02:17:17 hello? Dec 02 02:17:23 that call grabs enough stuff where it runs off the screen. however my scroller fade doesnt show up UNTIL i click to scroll Dec 02 02:17:25 does the pre have Open GL yet? Dec 02 02:17:36 log - unfortuntaely no GPU drivers yet L( Dec 02 02:17:36 :( Dec 02 02:17:53 reality: where would i set the height? Dec 02 02:18:09 WTF?! Dec 02 02:18:17 You want the fade to show up before you scroll? Dec 02 02:18:23 palm really has to get their heads outta their asses Dec 02 02:18:36 GL is waaaaay overdue Dec 02 02:18:42 yes reality, because the content is already running off the screen Dec 02 02:18:49 but my fade div doesnt show up Dec 02 02:18:52 until i click/touch Dec 02 02:19:03 yetdog: set a nullitems template Dec 02 02:20:17 :-/ hrmm..struggling here Dec 02 02:20:21 not sure what you mean Dec 02 02:20:45 For your list, you can setup a nullitems list template. Dec 02 02:20:58 I'm not exactly sure what you mean by "running off the screen" though Dec 02 02:21:02 not a list...just a div Dec 02 02:21:07 ill show you :) Dec 02 02:21:53 he just have some huge text div.. Dec 02 02:22:00 takes up more than the screen size Dec 02 02:22:01 i wonder... Dec 02 02:22:14 what if someone creates a driver for the pre? Dec 02 02:22:47 ok see this Dec 02 02:22:49 http://imgur.com/XuhNb.png Dec 02 02:23:04 Yeah Dec 02 02:23:06 notice how there is no fade at the bottom Dec 02 02:23:19 but once i click my mouse in order to scroll, boom, fade pops up Dec 02 02:23:46 so you guys are definitely right - makes sense that the scroller doesnt realize that the div is that large Dec 02 02:24:04 but i just dont know how to tell it how large once the div loads Dec 02 02:24:32 What's the height of the scroller in your css? Dec 02 02:25:56 try doing a revealtop after you load up the div Dec 02 02:26:01 just to give it a jiggle Dec 02 02:26:19 with the above scroller reference Dec 02 02:27:50 var scroller = this.controller.getSceneScroller(); Dec 02 02:28:04 scroller.revealTop; Dec 02 02:28:05 ? Dec 02 02:28:25 i think so.. try that.. Dec 02 02:28:59 it may need an arg tho.. Dec 02 02:29:05 dang, nothing different Dec 02 02:29:07 checking Dec 02 02:29:21 it wants an object for an arg Dec 02 02:29:38 the div? Dec 02 02:29:39 var scrollerHt = this.controller.window.innerHeight; $('scroller').setStyle({height: scrollerHt + 'px'}); Dec 02 02:30:14 $('scroller').setStyle({height: scrollerHt + 'px'}); <-- will that work out of the box? or do i need to change ('scroller') Dec 02 02:30:27 Change scroller obviously Dec 02 02:30:49 Is roy-pre101 in da hause? Dec 02 02:30:56 to the name of the div w/ the content? Dec 02 02:31:10 lol havent used the $('x') convention yet Dec 02 02:31:26 prototype is your friend... Dec 02 02:31:31 Comes in handy Dec 02 02:31:47 You need to change that to the name of your scroller Dec 02 02:31:53 but wait, theres more $$('x') Dec 02 02:31:55 yeah, im looking to buy the oreilly cook Dec 02 02:31:57 div id of your scroller Dec 02 02:31:57 haha Dec 02 02:32:09 oh the div for the fader? Dec 02 02:32:16
Dec 02 02:32:17 ? Dec 02 02:32:31 wait a second here... Dec 02 02:32:38 div of something at the top of the scene Dec 02 02:32:40 Are you using a command menu? Dec 02 02:32:55 nope, nothign that elaborate yet Dec 02 02:33:14 Are you using an actual scroller? Dec 02 02:33:26 i dont believe so...that might be why im confused at the use of the term Dec 02 02:33:27 :) Dec 02 02:33:33 scene scroller in think.. Dec 02 02:33:55 x-mojo-element="Scroller" Dec 02 02:34:09 oh shit yeah im looking it up on dev.palm right now Dec 02 02:34:23 This would explain a lot... Dec 02 02:34:24 and hence, setting the height it it Dec 02 02:34:31 yessssss ok now i see :) Dec 02 02:34:50 And actually giving a place for the x-mojo-scroll-fade to sit Dec 02 02:35:02 Do I need to mess w/ the listeners for the scroller? Dec 02 02:35:08 or just work w/ the div Dec 02 02:35:18 If you want to do automatic screen resizing, then yes Dec 02 02:35:26 easy though Dec 02 02:35:57 yeah...hmmm im gonna look into this..thanks for pointing me in the right direction fellas Dec 02 02:38:09 yw, happy reading.. Dec 02 02:38:22 bmyers: answer pm Dec 02 02:38:29 check out the prototype website too. it really helps out.. Dec 02 02:40:00 whats that site bmeyers? Dec 02 02:40:40 http://www.prototypejs.org/ Dec 02 02:41:13 thanks again! :) Dec 02 02:42:32 FYI Dec 02 02:42:33 /get the scroller for your scene Dec 02 02:42:33 var scroller = this.controller.getSceneScroller(); Dec 02 02:42:33 //call the widget method for scrolling to the top Dec 02 02:42:33 scroller.mojo.revealTop(0); Dec 02 02:42:39 worked :) Dec 02 02:43:14 didnt even have to apply a scroller element to any div Dec 02 02:43:18 thats about what i figured... Dec 02 02:43:34 good deal.. you're on your way to the next problem.. Dec 02 02:45:36 hahaha speaking specifically or in general? :) Dec 02 02:46:43 well, you're done working on the last one right? Dec 02 02:49:36 yep :) lol Dec 02 02:50:05 hi, anyone have experience with really weird Webview issues Dec 02 02:51:05 or rather a better question, any Palm engineers online? Dec 02 02:53:30 LiquidReality: you'd be surprised the amount of support possible from non-palm engineers :) Dec 02 02:54:15 any help would be very helpful Dec 02 02:54:52 LiquidReality: well I can't help you unless your question is about internals. But I can give you advice, you're more likely to get an answer if your question describes the problem, rather than just the subject Dec 02 02:56:13 ok - so here's my issue: I have an app with two scenes, each contains a webview that automatically loads an external URL - the first scene will always load (even when I swap which scene loads first) but the second will not ever begin the load process Dec 02 02:56:21 i have my eternal fingers crossed for gpu enabled access on the pre/pixi. the launcher is so delayed with scrolling when you use it side by side w/ the iphone :( Dec 02 02:57:09 the funny thing is, it works fine in the emulator, but not on the device... unless, and this kills me, the pre-installed web browser is open as a card in the BG Dec 02 02:57:14 any thoughts? Dec 02 02:59:11 are those async calls? webview? **** ENDING LOGGING AT Wed Dec 02 02:59:57 2009