**** BEGIN LOGGING AT Sun Feb 21 02:59:57 2010 Feb 21 03:30:39 another booth shot: http://twitpic.com/14gg41 Feb 21 03:43:04 NuttyBunny what version of chrome are you using Feb 21 03:43:08 can someone remind me how to get the sshd on the palm pre to listen for incoming connections on the cellular network? Feb 21 03:43:20 great booth shot rwhitby Feb 21 03:43:43 rboatright, I was using Chromium, not Chrome. Tried with Chrome and it does work correctly :D Feb 21 03:43:51 ahhh Feb 21 03:43:58 sorry, I missed that. Feb 21 03:44:07 Thanks anyway Feb 21 03:44:31 NuttyBunny post a note to that effect in the ares forum -- Mat will want to know Feb 21 03:46:39 Yeah, I did that already, and got that answer Feb 21 03:51:42 rboatright: 2:30 in http://www.ustream.tv/recorded/4874355 <- Pixi giveaway Feb 21 03:55:14 How's everyone? Feb 21 03:56:53 Roy-Pre101: We gave away a Pixi this morning at SCALE, and lots people visiting the booth. Feb 21 04:03:59 That's really cool rod Feb 21 04:04:19 rwhitby did tom get the flyers copied? Feb 21 04:04:51 rboatright: I believe so Feb 21 04:28:08 rwhitby: Very nice. Feb 21 04:31:55 Roy-Pre101: I understand at least one Palm guy stopped by the booth :-) Feb 21 05:09:37 Moin Feb 21 05:12:46 Any one know how to get a reference to the instance of a widget? Feb 21 05:13:47 I tried assigning the result of this.controller.setupWidget() to a variable but it doesn't seem to return the instance Feb 21 05:18:25 How about detecting going into card view? Feb 21 05:21:33 Mojo.Event.listen(document, Mojo.Event.stageDeactivate, this.pauseMusic.bind(this)); Feb 21 05:22:26 Detects app being deactivated. Feb 21 05:22:47 Thank :) Feb 21 05:23:10 Every time I've asked this before I've been told MyAssistant.prototype.deactivate Feb 21 05:53:02 Is it possible to get the context menu working in the webView widget? Feb 21 06:08:28 Any one know an easy way to detect if a device is a pixi vs a pre? Feb 21 06:12:49 scottb: I thought i remember seeing a mojo controller for getting screen resolution, trying to remember where i saw it exactly Feb 21 06:16:46 http://webos101.com/DeviceInfo Feb 21 06:18:47 Thanks again Roy Feb 21 07:13:38 so, I am having a problem getting a list widget to sort properly Feb 21 07:14:30 I have a multidimentional array that the list widget is getting it's data from, the problem is that the items that are visible on the screen without scrolling are sorted properly, so are the ones that you have to scroll to see... Feb 21 07:14:43 but they should be sorted as a whole unit, they are currently sorted seperately... Feb 21 07:15:13 is this a list selector? Feb 21 07:16:27 sorry, I am kinda new to MoJo (first app) what do you mean? Feb 21 07:20:45 is it like the following: http://www.weboshelp.net/webos-mojo-development-resources/ui-widget-list/43-webos-mojo-ui-widget-list/297-listselector Feb 21 07:21:27 no, not like that Feb 21 07:21:31 just a regular list Feb 21 07:21:39 like what is in the background in that pic Feb 21 07:22:21 well, not really like what is in the background Feb 21 07:22:23 oh, i only have experience with list selectors Feb 21 07:22:25 just a standard list though Feb 21 07:22:32 you know the app JsTop? Feb 21 07:22:38 it is the same kind of list as that app Feb 21 07:22:54 I am just trying to get the whole thing to be sorted alphabetically... Feb 21 07:22:58 nope is JsTop an app? Feb 21 07:23:02 instead of in two groups Feb 21 07:23:13 yeah, it is an app... I think it is homebrew only though... Feb 21 07:27:50 LoneStar99: would you know of a way in javascript to shorten a string to only the first word? Feb 21 07:28:40 crytk: like extracting the first word of text? Feb 21 07:31:18 what does the string look like? Feb 21 07:33:18 running, process 15984 Feb 21 07:35:29 cryptk: u only need "running" ? Feb 21 07:35:37 yes Feb 21 07:38:51 let me think... Feb 21 07:42:06 what type of app are u working on? Feb 21 07:42:33 it is an app to list runnign services on the phone Feb 21 07:42:42 oh ok Feb 21 07:44:21 let me check one app, i have Feb 21 07:44:25 ok Feb 21 07:48:39 it is easy with php using explode Feb 21 07:49:12 actually, I think I may have figured it out Feb 21 07:49:19 using the match() with a regex Feb 21 07:49:53 I can make a regex to match if it starts with running Feb 21 07:50:12 if it matches then I will just replace it's current contents with just the word running Feb 21 07:52:30 http://urloid.com/js1 Feb 21 07:52:56 the link above Feb 21 07:53:50 nice Feb 21 07:54:11 so in that example, the var brokenstring would be an array like in the php version? Feb 21 07:55:26 yeah it should, will try it myself Feb 21 07:56:32 I would then have to rip the comma off... Feb 21 07:56:45 but I should be able to do that easy with regex Feb 21 07:57:25 var rc = cd.replace(/,/g, "");//REMOVE COMMAS Feb 21 07:58:18 cool Feb 21 07:58:23 thx Feb 21 07:58:23 var cd = 'test, this, with commas,'; Feb 21 07:58:44 well, it would need a little modifying from that since it is in an array Feb 21 07:58:50 but I can handle that Feb 21 07:59:03 yeah Feb 21 07:59:55 thanks for the help man Feb 21 08:00:08 btw, I am in TX also Feb 21 08:00:18 guessing your in TX from the name Feb 21 08:05:35 my connection died Feb 21 08:05:58 ahh, I was just saying thanks, and that I am in TX also and tat I guessed you are in TX from your name Feb 21 08:10:14 oh, yeah Feb 21 08:10:18 u welcome Feb 21 08:11:11 tested the "longstring.split" code and works great Feb 21 08:18:54 cool, returns an array Feb 21 08:18:58 I am working on coding it in now Feb 21 08:19:09 I thought of an easier way than splitting it then removing the comma Feb 21 08:19:19 I am jsut going to split it at the comma in the first place Feb 21 08:22:36 var longstring = 'Most of the time Amrit is confused ? OK, not most of the time'; Feb 21 08:22:36 var brokenstring= longstring.split(' '); Feb 21 08:22:36 this.controller.get('btn_src').innerHTML = brokenstring[0]; Feb 21 08:23:17 if you do a " brokenstring[0];" you will get the first word without a comma Feb 21 08:24:48 yep Feb 21 08:24:53 that is pretty much what I did Feb 21 08:25:02 var docLength = event.jobs.length; Feb 21 08:25:07 for (var i = 0; i < docLength; i++) { Feb 21 08:25:14 var shortstatus=event.jobs[i].status.split(","); Feb 21 08:25:20 event.jobs[i].status = shortstatus[0] Feb 21 08:26:05 first time I borked it and did shortstatus[1] by accident and got everything after the comma, lol Feb 21 08:26:09 but that was an easy fix Feb 21 08:26:18 oh ok cook Feb 21 08:26:21 cool Feb 21 08:49:05 LoneStar99: just fyi....its pretty easy to get an oauth proxy running on google app engine. I have it working...just have to format the pages for pages. Its a little pain for the user because the browser gets launched and then they grant access to the app, but I feel better about it than sending pwd as plain-text :) Feb 21 08:49:22 pages for WebOS I mean Feb 21 08:49:39 google is nice enough to recognize the user-agent so the accounts login is mobile friendly Feb 21 08:50:19 only have to do auth once because the tokens don't expire unless the user revokes them Feb 21 08:51:52 jfelectron: great, plaintext passwords suck =) Feb 21 08:52:02 aweoms Feb 21 08:52:16 yeah....can't believe they even allow that...but I guess that has been the standard Feb 21 08:53:09 so your app almost ready? Feb 21 08:54:14 did not get to the suggestive stuff tonight, have all day tommorra Feb 21 08:55:43 now I just have to figure out why my list is not sorting properly... Feb 21 08:56:26 LoneStar99: getting there....all the main scenes are basically done. Need to adds help and prefs and get my connection watcher class working. The connection thing is difficult to debug on the emu Feb 21 08:57:12 need to figure out some sort of picture cacheing thing too Feb 21 08:57:39 jfelectron: have you ever heard of a problem with lists not sorting right? I am trying to sort it alphabetically... the items that are on screen when it loads are sorted right, then the ones that are off screen and need to be scrolled to are sorted right, but they are sorted separately Feb 21 08:57:50 same here, need to look into memcached for some images.... Feb 21 08:58:17 so i end up with the first 8 items being in alpha order, all the rest being in alpha order, when it should jsut be the whole list in slpha order Feb 21 08:58:23 some sort of serverside caching for images... Feb 21 08:59:03 LoneStar99: I think dataURIs might be good. Get the server to generate them and send them back as JSON and just store them in the app DB Feb 21 09:00:16 cryptk: you can define an onItemRendered callback for your list.....when new items render place them in the proper place in the alpha flow Feb 21 09:00:41 that was latin to me, lol... this is my first app Feb 21 09:00:52 is there a page somewhere that explain how to do that? Feb 21 09:01:03 cryptk: the list methods are really really badly documented Feb 21 09:01:27 are you using a FilterListe? Feb 21 09:01:49 or filtering on some command generated by a menu? Feb 21 09:02:27 it is just a list that is populated by the contents of an array Feb 21 09:02:40 but what initiates the filtering? Feb 21 09:02:43 http://developer.palm.com/index.php?option=com_content&view=article&id=1921&Itemid=298\ Feb 21 09:02:47 I run the array through a function to sort it, then I put it into the list widget Feb 21 09:03:05 and the length is larger than the render limit I assume? Feb 21 09:03:30 one way would be to just set that higher. If your items are small there won't be a performance issue Feb 21 09:04:44 I have tried increasing the lookahead and renderlimit Feb 21 09:04:55 It doesn't make sense though if you are filtering the entire list model beforehand why it wouldn't all be sorted Feb 21 09:04:58 I had to up them some because I had problems with list items disappearing during scrolling Feb 21 09:05:11 to test it I jsut set them both to 60... still not sorted right Feb 21 09:05:12 yep...that's a real pain Feb 21 09:06:09 to recap the flow you have an array containing your list items, you alpha sort them and then you setup the list with that sorted array as the model items? Feb 21 09:06:53 if you paste your code at www.pastie.org I might be able to help you out a bit more Feb 21 09:07:23 yeah, gimmie a sec and i will paste it up Feb 21 09:07:55 releasing a hybrid app tommorrow, search meets/ drawing... Feb 21 09:08:00 http://www.pastie.org/835192 Feb 21 09:08:32 my sorting function starts at line 209 Feb 21 09:09:03 LoneStar99: sounds neat....trying to envision what that means exactly :) Feb 21 09:09:13 LoneStar99: man you are an app machine Feb 21 09:12:11 well, they are all related some how in code, that is what makes it easier Feb 21 09:13:04 uplaoding the video to youtube now, taking awhile... Feb 21 09:14:27 cryptk: try modelChanged instead of noticeUpdated Feb 21 09:15:38 or combine the two commands (setLength + noticeUpdated) as setLengthAndInvalidate (check case) Feb 21 09:16:41 scratch that.. just do modelChanged Feb 21 09:16:58 that broke the list Feb 21 09:17:07 it sin't populated with the array anymore Feb 21 09:17:17 jsut has my item template in it Feb 21 09:17:24 how are you calling modelChanged? Feb 21 09:17:37 this.controller.get("UsMgr_list").mojo.modelChanged(0,event.jobs); Feb 21 09:17:51 this is my first app, so the more details the better Feb 21 09:17:52 no...that's not right Feb 21 09:17:56 hold on Feb 21 09:18:01 I am totalyl new to Mojo, and rusty on javascript Feb 21 09:18:11 yeah...understood Feb 21 09:19:41 do: this.listModel.items=event.jobs; this.controller.get("listID").mojo.modelChanged(this.listModel) Feb 21 09:20:01 just update the items property of the model that you defined previously when setting up the list Feb 21 09:20:09 so replace that whole line with what you just put? Feb 21 09:20:33 replace both the setLength and noticeUpdated lines with that Feb 21 09:21:53 nope, broken list, jsut the item template Feb 21 09:23:53 and got an error in the log Feb 21 09:23:55 error: Uncaught TypeError: Object # has no method 'modelChanged', app/assistants/UsMgr-assistant.js:257 Feb 21 09:24:04 uploading 2 utube has failed 3 times... dams shit wifi i got here Feb 21 09:24:34 oh sorry...its late Feb 21 09:24:37 did you want me to change listID to the name of my list? UsMgr_list? Feb 21 09:24:44 this.controller.modelChanged(this.listModel) Feb 21 09:24:49 or should I have left it as listID Feb 21 09:25:18 just do that line not this.controller.get("listID").mojo.modelChanged(this.listModel) Feb 21 09:25:49 I'm working on Python code at the same time and its late so brain friend :/ Feb 21 09:26:13 well, the list is back, but still sorted wrong Feb 21 09:26:34 the ones initially on the screen are sorted alphabetically, the ones off screen are sorted alphabetically, but they are not sorted as a whole Feb 21 09:27:14 something has to be wrong with your sorting function Feb 21 09:27:26 well, my sorting function is in that pastie Feb 21 09:27:40 line 215 - 242 Feb 21 09:28:23 and it is called on line 255 Feb 21 09:29:43 hrm... something has to be wrong with it because swapping the -1 and +1 should make the list sort the other way around... instead it doesn't change anything Feb 21 09:29:50 yes...looking at it now....but the logic is pretty dense Feb 21 09:31:37 for debugging I'd pull it out of the I'd get rid of the function literal and just explicitly loop over the items to sort Feb 21 09:43:54 yeah, nevermind, seems that there are some out fo place ones that I have to scroll to also... seems my sorting function doesn't work for some reason... Feb 21 09:44:38 well, te one to sort them by status works, hte others don'e Feb 21 09:44:40 don't Feb 21 09:45:01 anyone around? Feb 21 09:45:04 I was curious Feb 21 09:45:29 if I wanted to simulate a tabbed interface, would you all just take a radio element and have 4 diff scenes Feb 21 09:45:39 and simulate which radio slection was selected on load? Feb 21 09:48:45 hrm... seems like it is sorting, just selectively for some reason Feb 21 09:49:07 ron_frown: 4 divs, would do the job... Feb 21 09:51:46 ok Feb 21 09:52:04 kinda wrapping my head around purely html+js+css after doing iphone etc is a bit of a mind f Feb 21 09:52:12 should be easier tho =) Feb 21 09:52:13 ron_frown: why not just swap the content of a div dynamically? Feb 21 09:52:26 new to the mojo Feb 21 09:52:36 I'll def consider it Feb 21 09:52:39 one more question Feb 21 09:53:07 look into Mojo.view.render for dynamically generating content based on an HTML template a a model object Feb 21 09:53:08 I've noticed that a lot of the time my SceneAssistant or whever... the main one... wont redirect to the first scene Feb 21 09:53:17 it'll just load the one with the default text Feb 21 09:53:26 yeah, on tab, call tab1, grey out others, etc.... Feb 21 09:53:30 jfelectron: sounds good Feb 21 09:53:33 redirect? Feb 21 09:53:44 on launch or on swipe back? Feb 21 09:53:50 no Feb 21 09:53:52 one sec Feb 21 09:53:55 opening Feb 21 09:54:31 ron_frown: you need to pop the scene Feb 21 09:54:43 ok stage assistant Feb 21 09:55:09 I'd do var content=Mojo.view.render({object: mycontentObj,template: 'path/to/template'}); this.controller.update(this.controller.get('contentdiv'),content) Feb 21 09:55:37 I tell it to pushScene("buttons") Feb 21 09:55:41 buttons being the name of a scene Feb 21 09:55:42 setup all the widgets within all the various 4 contents ahead of time, this.controller.update parses the setup and instantiates them and then renders it Feb 21 09:55:53 ron_frown: probably an error Feb 21 09:56:00 it always just ends up on index.html... and in this same project I had it working prior Feb 21 09:56:10 I assume that is the case, but I see no obvious erorr Feb 21 09:56:14 have you looked at the logs? Feb 21 09:56:34 sometimes it will just be error: null which is SUPER informative Feb 21 09:56:44 I dont see any errors Feb 21 09:57:01 I've been mostly very happy with the sdk so far (no need for anything native) Feb 21 09:57:16 but the "app just stops working" is kinda aggrivating Feb 21 09:57:23 that't nice coming from an iphone dev Feb 21 09:57:32 haha Feb 21 09:57:40 well little errors kill all code :) Feb 21 09:57:41 the iphone sdk is objc and interfacebuilder Feb 21 09:57:48 oh I know Feb 21 09:57:51 crapola Feb 21 09:58:35 and you get to play the will be app be accepted or not game Feb 21 10:00:30 you can make the logs more verbose Feb 21 10:00:42 do you have a framework_config.json? Feb 21 10:01:54 I dont know Feb 21 10:02:01 I had to kill eclipse because it was crashing Feb 21 10:02:20 look in the top directory of the app project folder Feb 21 10:02:30 one thing I really wish is that palm would hav debuted webos on diff hardware Feb 21 10:02:34 the os is very promising Feb 21 10:02:39 the hardware not so much Feb 21 10:03:18 its not bad...screen should be larger and the construction quality could be better...but overall its pretty nice Feb 21 10:04:13 performance needs to be better Feb 21 10:04:24 and the keyboard is so bad it would have been just better to make them fullscreen touch only Feb 21 10:07:41 jfelectron: I figured it out Feb 21 10:08:21 cryptk: what was the problem? Feb 21 10:08:27 I put the return statement into each of the individual if's in my sorter function Feb 21 10:08:29 now it works Feb 21 10:08:39 ron_frown: I type fast on the keyboard....its personal thing Feb 21 10:09:42 well, now sorting by name works at least... Feb 21 10:09:56 but now sorting by status (which worked before) is broken Feb 21 10:10:23 I hate that..fix one thing break another or three :) Feb 21 10:11:03 yeah Feb 21 10:12:46 fixed that Feb 21 10:12:51 now my sorting works!!! Feb 21 10:12:53 YAY! Feb 21 10:13:18 now I jsut need to finish the functions to let you start and stop the services Feb 21 10:13:48 BTW, thsi app is a service manager, lets you see the status of, stop, start and restart the services running on the phone Feb 21 10:14:08 it is basically a GUI front end for the UpstartServiceManager written by the webos-internals guys Feb 21 10:16:38 now I jsut need to figure out how to have a drawer with some buttons to click slide out from under a list item when you click it... Feb 21 10:16:39 oh nice Feb 21 10:16:42 is that possible? Feb 21 10:16:56 yeah that's possible Feb 21 10:17:11 alright, video failed, again, gonna hit the straw, chat later! Feb 21 10:17:22 I basically need something that will give some informational text and have some things you can click on to tell it what you want it to do Feb 21 10:17:48 those "things" need to be context sensative, for example, don't show the button to start a service for a service that is already running Feb 21 10:18:03 later LoneStar99 , thanks for your help earlier Feb 21 10:18:21 jfelectron: what do you think would suit that need the best? Feb 21 10:19:10 personally I gave up on actual drawwers because their performance is crappy. I just have a div that I listen to taps on and then insert the 'drawer' content below it on tap Feb 21 10:19:27 so you basically make your own drawer Feb 21 10:19:43 with innerHTML=content and innerHTML="" yeah Feb 21 10:19:45 I may just make it a different scene... Feb 21 10:19:55 for 'open' and 'closed' Feb 21 10:20:04 since there will be a decent amount of info text Feb 21 10:20:23 well you could have a scroller inside the drawer...but that could be clunky Feb 21 10:20:29 yeah Feb 21 10:21:06 the drawer would end up being almost the size of the entire list, so a seperate scene would probably be best Feb 21 10:22:13 now if only I knew how to work git to push my changes to the repo... Feb 21 10:23:51 2 pres, 2 pcs. all of which give "error 22; invalid magic" when trying to install ANY ipkg. any ideas? Feb 21 12:03:40 why do alser poin Feb 21 12:03:43 -_- Feb 21 12:04:03 why do laser pointers and cats combine that good? Feb 21 13:20:39 wtf. what's up with the server Feb 21 13:20:57 or with my connection Feb 21 13:29:04 Hi folks - i'm just getting started with the Mojo api (developing an application in Ares, which seems to be rather nice!). I'm just having a little trouble finding out how I can actually do a POST request to a URL (interacting with a web service). Is there a way of doing this through Mojo? Am I even in the right place to ask for this kind of help? ;-) Feb 21 13:35:11 which possibilities do i have for x-mojo-tap-highlight? Feb 21 13:51:53 blongden: I'm not sure how anything is done in Ares, but yes, in mojo you have access to the prototype js library, which was Ajax.Request - http://www.prototypejs.org/api/ajax/request Feb 21 13:52:10 i can't get rid of this damn package manager service not running error. Feb 21 13:52:21 i've webdoctor'd and hard reset this phone probably 20 times. Feb 21 13:52:22 Ah, fab. Thanks kmudrick. Feb 21 13:52:24 blongden: you can specify post as your http method in the options (see the docs) Feb 21 14:52:04 hi Feb 21 16:11:00 Oi! Feb 21 16:11:21 Palm really needs to fix the app submission process Feb 21 16:20:36 hey guys. Feb 21 16:21:26 wondering if there is a shortcut way to have a list without a listTitle? Feb 21 16:22:21 i can remove the declaration from the listcontainer template, but i think it has to do with the image the builtin stylesheet is using. anyone have any shortcuts? Feb 21 16:23:16 Not sure. You might need to create a new image for it. Feb 21 16:30:29 blech Feb 21 16:30:40 i was hoping for a shortcut Feb 21 16:32:28 There may be one. I just don't know of any personally Feb 21 16:36:23 Broke 5k downloads :) Feb 21 17:19:58 hello everyone, Feb 21 17:20:21 is there a way to screen shot in the phone? Feb 21 17:20:40 yes Feb 21 17:20:51 orange + sym + p Feb 21 17:21:20 it'll take a picture and put it in a special screenshot folder in /media/internal (where you see stuff in USB mode) Feb 21 17:21:54 oh ok thank you! Feb 21 17:22:30 do I get a sort of notification, when it is made? Feb 21 17:23:20 when screen shot is made? Feb 21 17:32:29 no Feb 21 17:32:38 except for the whole screen lagging for a second :p Feb 21 17:32:43 ok thanks, got iit Feb 21 17:38:20 I just installed the Assassin's Creed demo on my fully updated Pre, and when I launch it I get "Too many cards" even without any cards open, any ideas? Feb 21 17:40:07 bobbob1016: have you tried restarting your Pre? Feb 21 17:40:41 maik, Doing so now, but I thought 1.3.5 was supposed to end "Too many cards" Feb 21 17:41:13 i don't know much about it, but it thought it just removed the hard number of apps running limit on the pixi Feb 21 17:42:13 I thought it enabled virtual ram, as in using the user accessible 7gig partition for ram, which meant no more card limit Feb 21 17:42:15 the too many cards can also come up when the device doesn't have enough memory to allocate for a given application. if it's been a long time since you've restarted your Pre that could very well free up enough memory for Assassin's Creed to run Feb 21 17:42:25 hmm...beats me :) Feb 21 17:44:16 Now when I press the icon I get nothing, just stays on the launcher Feb 21 17:47:01 hmm Feb 21 18:01:00 is there a way to programatically capture a screen shot on the device? Feb 21 18:05:03 LoneStar99: no Feb 21 18:05:26 rick gave me the service name to call, but it's not exposed in the SDK Feb 21 18:07:51 boo... Feb 21 18:10:23 that would be handy Feb 21 18:11:00 send your own orange - sym - p event through the command chain? Feb 21 18:12:28 Bmyers: was thinking the same... Feb 21 18:19:46 well let me know if that's possible Feb 21 18:21:59 is saints row 2 any good Feb 21 18:21:59 LoneStar99: try it!! Feb 21 18:22:14 cobalt027: you don't have to have a listTitle in your list Feb 21 18:22:20 wrong channel Feb 21 18:24:55 Bmyers: let me know if it works! Feb 21 18:26:14 Anyone managed to get Ares to successfully populate a List? Struggling... Feb 21 18:26:45 Oi Feb 21 18:28:20 Any one dealt with payment issues when submitting an app? Feb 21 18:28:49 I paid the 50 bucks at the end of the process but it shows incomplete and when I try to finish the process it tries to charge me again Feb 21 18:28:50 what kind of issues? Feb 21 18:29:07 I really don't fee like paying 100 bucks to submit a free app... Feb 21 18:29:24 And with palms amazing communication skills I know I would never get my 50 bucks back.... Feb 21 18:30:29 go open source and stop paying. Feb 21 18:30:44 Or not... Feb 21 18:31:55 scottb: email chuq, he seems to be quick about responding to submission problems when the cash is involved Feb 21 18:34:26 Already did. Feb 21 18:34:36 He's not very responsive to emails though... Feb 21 18:35:19 I've been having issues non stop since trying to develop for this unstable platform and the best I get is eh, we might try to fix that. Feb 21 18:36:21 Which is kinda shitty... I had ~500 sales of my day 1 on the catalog but palm only shows 98 of them in my report. Feb 21 18:37:05 They still owe me 50 bucks for a beta I posted and was charged for. Feb 21 18:38:32 Once I get this last app in the store I'm pretty much done with this platform. Palm needs to get its head screwed on strait. Feb 21 18:40:41 hey LoneStar99: works like a champ Feb 21 18:41:48 For a 9 billion dollar company one would think they could get a billing system right. Feb 21 18:45:24 Brmyers: can you pastebin it? Feb 21 18:46:53 LoneStar99: you first ;) Feb 21 18:48:13 just messing with u. i didnt try it Feb 21 18:49:34 but you think it is possible sending the commands via mojo events? Feb 21 18:51:49 i was think send the key sequence that trigger the snapshot yourself. Feb 21 18:52:22 but i cant even get it to work when i try to press the keys so... Feb 21 18:52:37 would be handy tho Feb 21 18:53:32 How do I download and display an image from a website in my app? Feb 21 18:53:44 Like in general, what type of function is it? Feb 21 18:53:45 yeah, i am looking into some ways to do it, will post something within the next days Feb 21 18:57:06 twbbas: like physically download to your device and then display, or simply use an "web site" image and display it on the device? Feb 21 18:57:55 Use the website preferably since that way would be faster Feb 21 19:03:38 heya Feb 21 19:05:46 twbbas: " var newImage = 'url(\'http://ddgw.s3.amazonaws.com/3d647dcb.png\')'; this.controller.get('your_div').style.backgroundImage = newImage;" Feb 21 19:06:02 hello swisstomcat Feb 21 19:07:18 hello lonestar Feb 21 19:18:32 haeffb: yt? i can leave out the list title, but the little grey bar remains, even tho its blank Feb 21 19:22:44 sup swisstomcat Feb 21 19:22:50 you dig the icons? Feb 21 19:22:54 hey codeslaw Feb 21 19:22:59 i got the icons, good work Feb 21 19:23:02 cool Feb 21 19:23:05 sorry it took so long Feb 21 19:23:11 no problem Feb 21 19:23:21 they will be in the next update Feb 21 19:23:38 cool Feb 21 19:24:26 Thanks LoneStar99 Feb 21 19:25:10 twbbas: did u get it working/ Feb 21 19:25:11 ? Feb 21 19:25:22 Not yet Feb 21 19:25:28 Just had to switch laundry Feb 21 19:26:14 codeslaw: here's a screenshot of a new app .. what do you think? http://www.inorbit.ch/snap01.jpg Feb 21 19:26:43 nice improvement Feb 21 19:26:51 swisstomcat: looks good to me! Feb 21 19:26:52 doesn't feel cluttered Feb 21 19:27:14 that's good Feb 21 19:27:19 ya i like it Feb 21 19:27:33 it's mostly css Feb 21 19:27:46 that's the way to be Feb 21 19:27:55 basically a website with a bit of mojo mixed in Feb 21 19:29:40 swisstomcat: http://www.gifandgif.eu/animated_gif/Several_Animals/#link Feb 21 19:31:02 sorry this one is better: http://www.gifandgif.eu/animated_gif/Several_Animals/Animated%20Gif%20Animals%20(10).GIF Feb 21 19:31:13 hehe Feb 21 19:31:47 got to love the old animated animal gifs! Feb 21 19:32:00 so 1990s! Feb 21 19:32:02 yeah Feb 21 19:32:26 old school is good :) Feb 21 19:32:36 so what is everyone working at? Feb 21 19:33:07 gallery for painting app Feb 21 19:33:18 to upload? Feb 21 19:33:37 upload and view everyones, from within the app Feb 21 19:33:43 good idea until they add saving the canvas Feb 21 19:33:58 indeed Feb 21 19:38:49 codeslaw: will be working on saving canvas stuff, will get back to you when i get something good Feb 21 19:39:01 word Feb 21 19:39:13 ok, time to go dig dirt Feb 21 19:39:22 chat later peeps Feb 21 19:39:25 cu Feb 21 19:39:25 seeya Feb 21 19:39:37 ;) Feb 21 20:05:38 hallo metaview Feb 21 20:06:13 hi swisstomcat Feb 21 20:09:27 hey there. i'm trying to find the js console in the SDK, to figure why a web app isn't executing (just a regular web page). does such a thing exist? Feb 21 20:11:21 dw: you can use palm-log on the command line Feb 21 20:11:31 palm-log Feb 21 20:11:55 hey all Feb 21 20:11:57 or you could ssh into your emulator and look at the messages Feb 21 20:12:00 hi tibfib Feb 21 20:12:11 hi swisstomcat Feb 21 20:12:40 so i got a question for people as webOS users Feb 21 20:13:30 go ahead Feb 21 20:13:51 would you be interested in a pre chat application? similar to BBM? Feb 21 20:14:06 to chat between two pre's? Feb 21 20:14:10 or more Feb 21 20:14:14 maybe a few Feb 21 20:14:21 but mostly between two peeps Feb 21 20:14:39 I'm glad enough with IM Feb 21 20:14:45 i remember an app that has ingame chat Feb 21 20:14:55 kesne's does Feb 21 20:14:59 yes Feb 21 20:15:05 but i'm talking full fledged chat... :) Feb 21 20:15:06 similar idea? Feb 21 20:15:11 in what context? Feb 21 20:15:55 well, sorta like the messaging app but a lot faster (I hope, haven't tested the system yet) Feb 21 20:15:59 anyone knowledge invbox? Feb 21 20:16:32 tibfib: somethink like ping (iphone sms like app)= Feb 21 20:16:35 ? Feb 21 20:16:42 Hmm let me check that one out Feb 21 20:16:58 yes Feb 21 20:17:25 Just like that Feb 21 20:17:33 that'd be cool Feb 21 20:17:43 Do you think people would use it? Feb 21 20:17:44 but it should be cross-systems Feb 21 20:17:53 Im ALL for cross systems Feb 21 20:18:02 i just don't really develop for other platforms Feb 21 20:18:08 I'd let someone do it... Feb 21 20:18:25 I might look into it for Android...but idk Feb 21 20:18:50 i don't know how popular ping is, but if you implement something compatible Feb 21 20:19:40 Id rather not have to deal with another company Feb 21 20:20:29 but that would be nice Feb 21 20:20:35 yeah Feb 21 20:21:08 Like i said, if someone wanted to develope it for another platform, i'd let/help them Feb 21 20:21:32 i know scottb is a cross platform dev Feb 21 20:21:48 it's most likely backend with a gui Feb 21 20:22:36 Yeah, it wouldn't be too difficult... I am storing the texts locally Feb 21 20:24:13 which would be the most difficult thing to do for other devs...so not tooo bad Feb 21 20:25:51 Alright, I'm going to start working and get a very basic version up and running, post it on the forums, and then see if people care. Feb 21 20:38:39 There's no reason why I couldn't do an Ajax.Request inside the setup method of an assistant, right? Feb 21 20:38:51 Got a peice of code here that's just not behaving. Feb 21 20:39:57 http://www.pastie.org/835788 if anyone cares to take a look :-P Feb 21 20:41:01 any reason why you do this that way? Feb 21 20:41:09 load model and the setupwidget? Feb 21 20:43:13 Hm, only because i've tried a whole load of things to try getting it to work. Pretty new to Mojo and the way things are laid out. Feb 21 20:43:43 anyone need 50dvd-r's and 50cdrs cheap? Feb 21 20:44:11 blongden: usually you setup the widget and load the data afterwards Feb 21 20:44:22 Ah :-) Feb 21 20:44:33 what errors do you get? Feb 21 20:45:08 Nothing. The only thing that's added to my List is 'test1' on line 18 Feb 21 20:45:23 It's definitely returning something from the Ajax Request, however. Feb 21 20:45:40 So I can't see what's not right there Feb 21 20:46:38 try to do it the other way around Feb 21 20:46:46 call modelchanged after you load the data Feb 21 20:47:13 yes, the model is changed after setup Feb 21 20:47:30 you need to tell it mojo Feb 21 20:47:58 blongden: imagine if the loading takes a long time or doesn't complete .. the user won't see what's happening because the widget isn't even setup yet Feb 21 20:48:27 swisstomcat: why not? Feb 21 20:48:29 Ok - and the syntax to call modelchanged on the widget? Feb 21 20:48:40 the Ajax is not blocking Feb 21 20:49:07 look in the api: scene-controller IIRC Feb 21 20:49:26 metaview: true .. that might be why it's not working at the moment Feb 21 20:49:43 because the loading doesn't complete before the widget is setup Feb 21 20:49:59 ok that makes some sense/ Feb 21 20:50:22 yes, the setup is done and later the model is changed during the ajax Feb 21 20:50:45 i guess that's why the usual way is to setup first and then load the data Feb 21 20:50:59 yes Feb 21 20:51:04 as it doesn't make a diff Feb 21 20:52:40 How could I replace the link in this with the variable "response?" var newImage = 'url(\'http://ddgw.s3.amazonaws.com/3d647dcb.png\')'; Feb 21 20:52:51 I tried doing url(\response) and it doesn't work Feb 21 20:53:20 what are you trying to do, twbbas? Feb 21 20:53:49 I want newimage to be based on a link stored in the variable "response" instead of based on that link Feb 21 20:53:52 url(varname) ? Feb 21 20:53:58 I've tried that Feb 21 20:54:12 wait, what's url? Feb 21 20:54:13 I think it has to do with the way it's arranged because it's 'url(stuff)' Feb 21 20:54:21 why url? Feb 21 20:54:27 Well here's the next line Feb 21 20:54:31 this.controller.get('your_div').style.backgroundImage = newImage; Feb 21 20:54:32 var newImage=response Feb 21 20:54:47 oh so I don't need url() then? Feb 21 20:54:59 you probably need url in the second line Feb 21 20:55:04 since it's a part of the style Feb 21 20:55:09 oh wait Feb 21 20:55:09 no, jusr make style.background = my_new_url Feb 21 20:55:25 or am I wrong? Feb 21 20:55:32 nar newImage='url('+response+')'; Feb 21 20:55:36 var Feb 21 20:55:53 you might also do 'url(' + my_var + ')' Feb 21 20:56:00 hm Feb 21 20:56:01 :) Feb 21 20:56:04 :) Feb 21 20:56:18 forgot the ; Feb 21 20:56:22 hehe Feb 21 20:56:31 works without :) Feb 21 20:56:35 lol Feb 21 20:56:47 thanks guys Feb 21 20:56:50 It works =) Feb 21 21:08:59 swisstomcat, MetaView - spot on. The Ajax request is not blocking. Loading the model and reporting it as changed worked perfectly. Thanks :-) Feb 21 21:14:08 cool Feb 21 21:15:36 MetaView: are you the author of Mapping Tool ? Feb 21 21:15:57 yes, he is Feb 21 21:16:21 MetaView: nice job. great app. Feb 21 21:40:25 Has alsa-lib been checked in, it's giving me problems when trying to build my development environment. Feb 21 21:40:51 (ie, it doesn't exist) Feb 21 21:41:10 So if I move it to nonworking, then libsnd fails, ad infinitum. Feb 21 21:41:44 i'd ask in #webos-internals Feb 21 21:49:54 Thanks Feb 21 21:50:33 I just wanted to know, is there a way to get the Browser Context Menu working in webView Widget? Is there a line of code i need to have entered into the scene? Feb 21 21:51:35 g'night all Feb 21 22:17:39 Ok, where is my pre emu coming up with an IP of 10.0.2.15? Feb 21 22:25:32 from the vm's networking stack Feb 21 22:26:22 But why not an IP from my local network DHCP server? Feb 21 22:26:34 I'm not understanding how it can connect to the net. Feb 21 22:27:00 It I make the adapter bridged, would it still work? Feb 21 22:27:39 <_lance_> Hopefully. Feb 21 22:28:17 I think I'm getting ahead of myself. Feb 21 22:28:36 I think I'd be best served by getting the development environment up and running. Feb 21 22:31:20 hi all! Feb 21 22:32:28 cobalt027: ping Feb 21 22:32:31 hi jenp Feb 21 22:32:50 hi haeffb! Feb 21 22:32:53 Ok, what's wrong with the sound stuff in the widk? Feb 21 22:33:23 Not like I'm even close to using any sound, but it's a definite problem when trying to create the development environment. Feb 21 22:35:09 so I'm trying to get the global list of contacts for the phone, but it doesn't seem like webos will let you do thi Feb 21 22:35:11 Feb 21 22:35:12 *this Feb 21 22:35:56 it seems like it lets you create your own local account for contacts and sandboxes you completely from anything else providing contacts Feb 21 22:36:14 and the synergy app aggregates them all together Feb 21 22:36:49 is this correct? Feb 21 22:38:10 * BoomerET blinks Feb 21 22:41:02 daym.. Feb 21 22:41:25 $1383 for 20" wheels and tires.. wonder if i can get a better deal than that Feb 21 22:42:24 Not sure who you're trying to impress, but whatever floats your boat I guess. Feb 21 22:42:47 I mean, I've spend insane amounts of money on stupid stuff just like anyone. Feb 21 22:43:17 oh ive got a money pit in the garage that ive driven once.. i rarely buy anything for my daily car, and i need new tires anyways, might as well get rims too Feb 21 22:44:13 Hehehe, I've never put much money into a vehicle, to me it's just a way to get back and forth to work. I never had a car in college, I always borrowed my roommates. Feb 21 22:44:32 and that was only 2-3 times in the 6 yrs I was in college. Feb 21 22:46:37 phish3: yes, this is correct. Feb 21 22:47:01 sigh Feb 21 22:52:27 haeffb: here Feb 21 22:57:56 quick question... I have a list that is populated by an array, I am making a function to handle the taps on list items... in that function how can I access the information about what list item was tapped? Feb 21 22:58:33 I am kinda rusty with JavaScript, so i am sure it is something stupid simple Feb 21 23:01:01 cryptk: i _think_ you have to bind the object for each tap. im very new to webos, but that sounds reasonable. Feb 21 23:01:09 have you looked at the list Feb 21 23:01:13 AIP doc? Feb 21 23:01:17 API* Feb 21 23:02:20 actually, I was asking because I couldn't find it, but I just did... Feb 21 23:09:56 Yippee, the make stage finished. Feb 21 23:12:08 Well ain't that just a fine kettle of fish. Feb 21 23:12:44 sb2 -M /srv/preware/cross-compile/staging/mapping-armv7 (tried it, says No target specified and none set as default, aborting)... Feb 21 23:14:17 Ok, got that one sorted out. Feb 21 23:17:36 cobalt027: do you have palm-header-spacer in your list scene's html? Feb 21 23:19:57 haeffb: i have
but that is the top most header Feb 21 23:20:16 i wanted to get rid of thje atcual list header in the small grey area on top of the list Feb 22 00:28:10 cobalt027: sorry, I go disconnected. Feb 22 00:29:02 you can definitely have a list with no title area. Look in your scene's html and see if you have a
with class='palm-header-spacer' Feb 22 00:37:37 hey, does the downloadmanager upload process actually work in the emulator? I get a completioncode of 6, but my files never upload? Feb 22 00:49:50 anyone? Feb 22 02:33:51 what causes too many card error even when nothing is open Feb 22 02:35:10 memory leaks Feb 22 02:36:57 do you think it can be fixed with an update Feb 22 02:38:03 it can probably be fixed with a reboot i'd guess? **** ENDING LOGGING AT Mon Feb 22 02:59:58 2010