00:57.58 | *** join/#harmattan beford (~beford@186.154.182.76) |
00:58.08 | *** join/#harmattan beford (~beford@unaffiliated/beford) |
01:22.16 | *** join/#harmattan elldekaa (~hyviquel@vpn2.enssat.univ-rennes1.fr) |
01:30.26 | *** join/#harmattan adlan (~adlan@115.85.128.54) |
01:31.37 | CreamyG31337 | http://unleashthephones.com/2012/04/26/indian-nokia-store-reduces-app-prices-to-a-fifth-of-the-original-price-across-the-store |
01:32.05 | CreamyG31337 | i think they're trying to piss off all the developers? |
01:33.25 | CreamyG31337 | can i change my phone to indian and buy everything in the store for $5 now? |
01:34.49 | CreamyG31337 | sorry, it would be like $20 |
01:42.44 | *** join/#harmattan elldekaa (~hyviquel@85-156-72-181.elisa-mobile.fi) |
01:47.50 | *** join/#harmattan psycho_oreos (~no@unaffiliated/tuxsavvy) |
02:09.44 | Sazpaimon_ | https://meego.gitorious.org/meegotouch/libmeegotouch/commits/master |
02:09.47 | Sazpaimon_ | RIP |
02:10.44 | rm_you| | err, in response to what CreamyG31337 said -- is that even like... legal? |
02:11.04 | rm_you| | i guess in the contract you sign when putting an app on the store, you say they can mess with the price YOU decided to charge for your app? >_> |
02:11.13 | rm_you| | can they just go change the price back? |
02:11.36 | *** join/#harmattan oberling_ (~oberling@brln-4db9f265.pool.mediaWays.net) |
02:23.29 | CreamyG31337 | it seems pretty shady |
02:23.57 | CreamyG31337 | imagine if you are an indian dev |
02:25.08 | itsnotabigtruck | hm |
02:25.12 | itsnotabigtruck | how do they determine which country you're in |
02:25.28 | CreamyG31337 | firmware i think, like the product code or whatever |
02:25.52 | itsnotabigtruck | i doubt that...not every country has a product code |
02:25.55 | CreamyG31337 | not sure on that, just a guess. but i tried proxies and stuff to buy the sims and changing my country and it wouldnt' let me |
02:26.03 | itsnotabigtruck | and most product codes have one of a few firmware images |
02:26.25 | CreamyG31337 | maybe if i made a new account via proxy it would work, not sure |
02:26.30 | CreamyG31337 | didn't try that |
02:26.31 | itsnotabigtruck | might be able to sign up for an indian ovi account and buy stuff with my no-foreign-transaction-fee credit card |
02:26.50 | CreamyG31337 | yeah because i'm not kidding, $20 will get you 1000 indian rupees |
02:26.58 | itsnotabigtruck | oh yeah, i bet they're doing it by IP |
02:27.31 | itsnotabigtruck | rm_you|: you don't get to set the price exactly, you pick a price tier |
02:27.45 | itsnotabigtruck | each tier can be drastically different prices in different countries |
02:27.59 | itsnotabigtruck | that said, it probably makes sense to lower the prices in low income areas |
02:28.21 | rm_you| | hrm |
02:28.29 | CreamyG31337 | the prices were already lowered quite a bit |
02:28.32 | itsnotabigtruck | Sazpaimon_: why do you say that? |
02:28.47 | CreamyG31337 | so like angry birds is 20 cents equivalent. is that a $1 app? |
02:29.02 | itsnotabigtruck | $3 iirc (maybe $2) |
02:30.40 | CreamyG31337 | yeah the $1 ones are 5 Rs or 10 cents USD |
02:31.33 | itsnotabigtruck | wow, heh |
02:31.37 | CreamyG31337 | and its trivial to get an indian proxy assuming there are some tor routers set up in india |
02:31.40 | itsnotabigtruck | is the indian rupee a fully convertible currency |
02:33.13 | itsnotabigtruck | because the currencies of a lot of developing countries aren't |
02:33.53 | itsnotabigtruck | looks like rupees are not fully convertible |
02:34.14 | itsnotabigtruck | that might mean it might not be possible to transact in rupees outside of india |
02:34.42 | CreamyG31337 | well i'm not sure how nokia handles payments, like if you need a credit card from that country or what. at the end of that article they complain you can't use debit cards, although operator billing might work |
02:37.26 | itsnotabigtruck | CreamyG31337: it says that credit cards work though |
02:37.41 | itsnotabigtruck | i guess debit cards in india aren't on the credit card networks |
02:37.44 | CreamyG31337 | yeah but they might want one from an indian bank |
02:38.05 | CreamyG31337 | would have to try it probably to find out |
02:38.31 | CreamyG31337 | and i'm not that interested because there is pretty much nothing in the ovi store i want |
02:39.52 | itsnotabigtruck | heh, yeah |
02:40.02 | itsnotabigtruck | also, in most cases paid apps are inferior, not superior |
02:40.04 | itsnotabigtruck | the exception is games |
02:40.24 | CreamyG31337 | yeah i bought a few of those already |
02:40.28 | itsnotabigtruck | but there also aren't many (high quality) games to buy |
02:41.38 | *** join/#harmattan Teo` (~quassel@quassel.jefferai.org) |
02:41.38 | *** join/#harmattan Teo` (~quassel@amarok/developer/teo) |
02:41.43 | *** join/#harmattan lfranchi (~quassel@amarok/developer/lfranchi) |
02:44.41 | *** join/#harmattan KRF (~krf@amarok/developer/krf) |
02:48.44 | *** join/#harmattan Teo` (~quassel@quassel.jefferai.org) |
02:48.44 | *** join/#harmattan Teo` (~quassel@amarok/developer/teo) |
02:55.57 | *** join/#harmattan lfranchi (~quassel@amarok/developer/lfranchi) |
02:57.15 | *** join/#harmattan AndrewX192 (~andrew@002369d5e799.click-network.com) |
02:57.16 | *** join/#harmattan AndrewX192 (~andrew@unaffiliated/andrewx192) |
03:00.35 | *** join/#harmattan Natunen (nalle@213-186-240-19.bb.dnainternet.fi) |
03:07.36 | *** join/#harmattan pinheiro (~pinheiro@bl15-1-155.dsl.telepac.pt) |
03:18.05 | *** join/#harmattan hardaker (~hardaker@mail.hardakers.net) |
03:26.55 | *** join/#harmattan GeorgeH (~George@c-69-141-105-145.hsd1.nj.comcast.net) |
03:43.14 | *** join/#harmattan ab[out] (~ab@pdpc/supporter/professional/ab) |
03:54.21 | *** join/#harmattan xarcass (~igorsazon@37.19.4.161) |
04:03.32 | *** join/#harmattan Adlan_ (~adlan@115.85.128.54) |
04:26.02 | *** join/#harmattan xarcass (~igorsazon@37.19.4.161) |
04:30.17 | *** join/#harmattan psycho_oreos (~no@unaffiliated/tuxsavvy) |
04:33.07 | *** join/#harmattan hardaker (~hardaker@mail.hardakers.net) |
04:34.18 | *** join/#harmattan xarcass (~igorsazon@37.19.4.161) |
05:05.47 | *** join/#harmattan pat00 (~communi@37-8-166-206.coucou-networks.fr) |
05:09.04 | *** join/#harmattan ajalkane (~ajalkane@ZYYYMKXXVI.gprs.sl-laajakaista.fi) |
05:09.09 | *** join/#harmattan risca (~risca@wnpgmb0903w-ds01-249-233.dynamic.mtsallstream.net) |
05:18.23 | *** join/#harmattan ajalkane (~ajalkane@ZYYYMKXXVI.gprs.sl-laajakaista.fi) |
05:24.08 | *** join/#harmattan ajalkane (~ajalkane@ZYYYMKXXVI.gprs.sl-laajakaista.fi) |
05:28.12 | *** join/#harmattan CreamyG31337 (~lance.col@d108-173-164-101.abhsia.telus.net) |
05:45.39 | *** join/#harmattan lamikr (lamikr@nat/nokia/x-wwlqwhswjyclnccx) |
05:49.26 | *** join/#harmattan jreznik (~jreznik@36.173.broadband6.iol.cz) |
05:55.16 | *** join/#harmattan Natunen (nalle@213-186-240-19.bb.dnainternet.fi) |
05:57.33 | *** join/#harmattan gabriel9 (~gabriel9@139-70-246-188-bl.cable.dyn.broadband.blic.net) |
06:01.39 | *** join/#harmattan tbf (~mathias@p57A9E8FB.dip.t-dialin.net) |
06:35.24 | Necrosporus | N9 asks for update |
06:35.47 | Necrosporus | I hope, update won't break possibility to install open-mode kernel, will it? |
06:43.21 | itsnotabigtruck | Necrosporus: what's the update |
06:47.13 | *** join/#harmattan mtd (~martin@chop.xades.com) |
06:49.06 | denism | Necrosporus: please more details? |
06:50.09 | denism | at least no any updates available for my PR1.2 001 |
06:51.09 | *** join/#harmattan hhartz (~hhartz@156.116.27.2) |
06:55.59 | *** join/#harmattan lamikr (lamikr@nat/nokia/x-pwtfvsccxckzdwlx) |
07:01.58 | *** join/#harmattan gabriel9|work (~quassel@92.241.143.37) |
07:02.24 | *** join/#harmattan harbaum (~quassel@2001:8d8:1fe:8:baac:6fff:fe2d:73a3) |
07:09.49 | *** join/#harmattan scoobertron (~tom@93.186.149.67) |
07:11.57 | Necrosporus | System update... 30.2012.07 |
07:12.30 | Enforcer | you are still on PR1.1? |
07:13.17 | *** join/#harmattan Necrosporus (~Necrospor@unaffiliated/necrosporus) |
07:27.15 | *** join/#harmattan tgalal (c0648207@gateway/web/freenode/ip.192.100.130.7) |
07:28.59 | *** join/#harmattan spenap (~simon@148.48.165.83.dynamic.mundo-r.com) |
07:41.48 | *** join/#harmattan Siva (sthiruna@nat/nokia/x-hsyisbifduaorisi) |
07:50.18 | *** join/#harmattan aquarius (~aquarius@cpc5-dudl10-2-0-cust29.wolv.cable.virginmedia.com) |
07:50.38 | *** join/#harmattan aquarius (~aquarius@cpc5-dudl10-2-0-cust29.wolv.cable.virginmedia.com) |
07:57.01 | *** join/#harmattan DocScrutinizer (~halley@openmoko/engineers/joerg) |
08:05.37 | *** join/#harmattan ajalkane (~ajalkane@212-226-67-183-nat.elisa-mobile.fi) |
08:10.29 | *** join/#harmattan miroslav (~miroslav@kde/mirko) |
08:21.13 | *** join/#harmattan arcean (~Arcean@aafq134.neoplus.adsl.tpnet.pl) |
08:29.04 | *** join/#harmattan mschlens (~mschlens@e180015220.adsl.alicedsl.de) |
08:42.17 | *** join/#harmattan gabriel9 (~quassel@92.241.143.37) |
08:43.47 | pa | getting ubuntu on vmware player :) |
08:57.54 | Khertan_Work | Morning ... |
08:58.11 | Khertan_Work | Someone have tryed mosh to connect from pc to n9/n950 ? |
08:58.23 | Khertan_Work | look like mosh isn't start on device after install |
08:58.25 | *** join/#harmattan mece (~mece@hibox-142.abo.fi) |
08:58.29 | Khertan_Work | oh to start it ? |
09:02.46 | *** join/#harmattan ZogG_laptop (~ZogG_lapt@bzq-79-176-193-143.red.bezeqint.net) |
09:03.50 | *** join/#harmattan aquarius (~aquarius@cpc5-dudl10-2-0-cust29.wolv.cable.virginmedia.com) |
09:05.55 | *** join/#harmattan elldekaa (~hyviquel@85-156-72-181.elisa-mobile.fi) |
09:23.41 | mankeli | Khertan_Work: it isn't even supposed to work like that |
09:23.53 | Khertan_Work | ah |
09:24.02 | mankeli | ssh connection is made first, which starts the mosh server on device |
09:24.03 | Khertan_Work | mankeli: so how it s supposed to work ? |
09:24.29 | Khertan_Work | ah ... so they should not claimed that it s a replacement for ssh :) |
09:25.11 | mankeli | well it's just that ssh already provides an authetication mechanism and a secure channel for key exchange |
09:25.12 | flux | perhaps that's their eventual goal. |
09:25.29 | Khertan_Work | anyway, didn't work here : |
09:25.30 | Khertan_Work | setlocale: No such file or directory Connection to 192.168.1.153 closed. /usr/bin/mosh: Did not find mosh server startup message. |
09:25.56 | flux | also it is nice approach in the sense that the administrator doesn't need to install mosh for it to work |
09:25.58 | petteri | Khertan_Work: you can add mosh server path when connectin with mosh user@n9 |
09:26.18 | flux | well, barring firewalls etc.. |
09:26.21 | petteri | you need to have sshd runnig for the initial auth |
09:26.46 | mankeli | sounds like that you don't have mosh server even installed on the phone |
09:27.15 | mankeli | oops, no. some setlocale problem |
09:27.16 | Khertan_Work | mankeli: it s ... it s installed in /usr/bin/mosh-server |
09:28.11 | flux | it maybe tries to use your local locale settings on the device and fails it doesn't work? |
09:28.16 | *** join/#harmattan aleksm (~aleksande@123.Red-88-1-78.dynamicIP.rima-tde.net) |
09:28.25 | flux | (the device probably has a small selection of locales available) |
09:30.12 | *** join/#harmattan bambee (~bambi@ks3096138.kimsufi.com) |
09:30.12 | *** join/#harmattan bambee (~bambi@ubuntu/member/bambee) |
09:30.28 | mankeli | yeah, it actually might be that your ssh client tries to call some setlocale program, when instead it should start the mosh server |
09:30.52 | flux | how would that happen? |
09:33.09 | mankeli | mosh startup mechanism works in a way that it uses ssh to connect to server, and it immediately runs the mosh-server, which in turn returns it's UDP port and key. mosh client will then get these from ssh |
09:34.10 | mankeli | but it seems that in here the ssh automatically tries to use setlocale, before starting mosh-server |
09:38.02 | Khertan_Work | strange as ssh is working |
09:38.32 | kimju | Khertan_Work, sounds like your rc-files for non-interactive sessions are printing something and the mosh get confused by that (it expects the mosh-server info message as first thing) |
09:39.27 | flux | maybe mosh should be more tolerant of such errors |
09:41.58 | kimju | maybe, but such prints may break other things done over ssh too. |
10:09.25 | *** join/#harmattan snowpong (~espen@156.116.27.2) |
10:13.53 | *** join/#harmattan rigo (~rigo@ANancy-551-1-66-230.w86-204.abo.wanadoo.fr) |
10:15.48 | *** join/#harmattan lardman (~lardman@138-38-179-9.docking.bath.ac.uk) |
10:15.48 | *** join/#harmattan lardman (~lardman@Maemo/community/contributor/lardman) |
10:28.04 | *** join/#harmattan elldekaa (~hyviquel@dyn-179-124.public.tut.fi) |
10:29.33 | *** join/#harmattan aleksander_m (~aleksande@123.Red-88-1-78.dynamicIP.rima-tde.net) |
10:34.27 | *** join/#harmattan elldekaa_ (~hyviquel@dyn-179-124.public.tut.fi) |
10:35.20 | *** join/#harmattan lizardo (lizardo@nat/indt/x-bhldqzaeomutbtzw) |
10:37.11 | scoobertron | Calendar question - Is it possible to set a custom reminder time for an event? So I have the choice of a reminder 1 or 2 hours before - could I set it to remind me 90mins before? I am not sure if I am missing an option. |
10:50.36 | *** join/#harmattan faenil (~faenil@131.114.170.120) |
11:11.35 | *** join/#harmattan jluisn (~quassel@187.115.172.24) |
11:11.55 | *** join/#harmattan scoobertron (~tom@93.186.149.67) |
11:18.29 | ajalkane | scoobertron: sure you can |
11:18.43 | ajalkane | Or maybe I misremember |
11:19.18 | ajalkane | Yeah I misremember. |
11:28.39 | Stecchino | Does anyone here have examples of using libsso-qt? |
11:29.10 | Stecchino | I'm specifically trying to use an oauth2 service. I'm not sure if I need to create an account-ui as well |
11:49.41 | *** join/#harmattan djszapi (~lpapp@kde/developer/lpapp) |
11:49.44 | djszapi | Siva: http://www.meetup.com/QtEverywhere/Helsinki-FI/577282/ |
11:53.30 | Siva | djszapi: I will be there if I am in town bro! |
12:01.17 | *** join/#harmattan aquarius (~aquarius@cpc5-dudl10-2-0-cust29.wolv.cable.virginmedia.com) |
12:02.14 | Elleo | aquarius: if your ubuntu one stuff in a public repo anywhere? I wouldn't mind having a hack around when I have some spare minutes |
12:02.19 | Elleo | s/if/is/ |
12:02.37 | aquarius | Elleo, as in my phonegap thingy? |
12:02.49 | Elleo | yeah |
12:03.19 | aquarius | Elleo, what I've been trying to do is get http://wiki.qt-project.org/PhoneGap_for_Qt_5 working *without* installing QtSDK from nokia.com but instead installing things from the Ubuntu repository |
12:03.30 | aquarius | if I can get any phonegap app to work, mine will work :) |
12:03.53 | Elleo | ah right, you've already got a working phonegap app then; cool |
12:04.21 | aquarius | (well, I actually do need to add one function to the C++ backend to save binary files, but that's relatively trivial) |
12:04.35 | Elleo | maybe I'll have a poke with the phonegap stuff then and see if I can get it working myself |
12:04.38 | *** part/#harmattan djszapi (~lpapp@kde/developer/lpapp) |
12:05.04 | Elleo | I tend to do all my harmattan dev inside scratchbox rather than using the QtSDK packages |
12:05.19 | aquarius | the problem is that all the documentation is all "install QtSDK from nokia.com" and I don't want to, because I already have QtCreator from Ubuntu (and I don't want two versions), and I really, really don't like installing third-party versions of critical system stuff like the Qt libraries :) |
12:05.40 | Elleo | yeah, understandable |
12:05.43 | aquarius | I'm more than happy to do it inside scratchbox if you fancy spending some time talking me through how to do it :) |
12:05.58 | Elleo | well I'll see if it's actually doable in scratchbox first :P |
12:06.01 | aquarius | :) |
12:06.22 | Elleo | there's some good documentation on harmattan-dev.nokia.com for setting up scratchbox though |
12:06.22 | aquarius | I'd like to be able to compile Phonegap for Qt on Ubuntu too so that I can release the same app in both places |
12:06.36 | Elleo | and getting it do X11 stuff nicely via Xephyr with it too |
12:06.36 | aquarius | (more importantly, I can test the app without having to fire up scratchbox and the n9 emulator!) |
12:06.44 | Elleo | although I seem to remember its a bit split up |
12:07.02 | aquarius | yeah, I set up that stuff -- I can run the n9 emu, and I can run my compiled app in the emu (via xephyr, etc)... but the app isn't being a harmattan app |
12:07.34 | aquarius | it seems to be a non-harmattan qt app; it appears in a chromeless window half over the home screen, rather than being a fullscreen app, if you see what I mean |
12:07.35 | Elleo | in what way do you mean it isn't being a harmattan app? It's using standard QT widgets? |
12:07.41 | Elleo | right, I get you |
12:07.47 | aquarius | and I know so little about this that I don't even know which questions to ask ;) |
12:08.01 | aquarius | there is a reason I want to build phonegap apps; I *understand* javascript :P |
12:08.15 | Elleo | not sure if just linking against meegotouch will magically fix some of that or not |
12:08.30 | aquarius | see previous point about not knowing anything. :P |
12:08.31 | Elleo | I've tended to do all my harmattan stuff in QML rather than using normal Qt widgets |
12:08.45 | Elleo | so I'll need to do a bit of exploring in that area too |
12:10.24 | Elleo | I'm assuming if you got it running in scratchbox that it will at least build against Qt4 then? |
12:10.36 | Elleo | or did you install Qt5 within scratchbox too? |
12:11.57 | Elleo | ah from glancing at their blog it looks like it should build with qt4 |
12:15.40 | *** join/#harmattan ieatlint_ (~ieatlint@tehinterweb.com) |
12:15.56 | aquarius | erm |
12:16.00 | aquarius | I think I usedqt4 |
12:16.04 | aquarius | but I am not sre :) |
12:16.05 | Elleo | aquarius: okay, I have phonegap installed and working; where can I grab your stuff from? |
12:16.23 | aquarius | hang on, let me see if I ever pushed the actual phonegap app |
12:16.28 | *** join/#harmattan jreznik_ (~jreznik@36.173.broadband6.iol.cz) |
12:16.38 | *** join/#harmattan DocScrutinizer (~halley@openmoko/engineers/joerg) |
12:16.43 | Elleo | with the example app I'm not encountering any old style qt widgets or anything, just a fullscreen webkit view with the phonegap stuff inside it |
12:16.53 | aquarius | ya, that's all mine is too :) |
12:16.53 | *** join/#harmattan acidjunk- (~acidjunki@ne18108.nerionics.de) |
12:16.59 | aquarius | it's not a hybrid |
12:17.01 | Elleo | although it sounds from their blog like they recently rewrote a bunch of stuff to use QML, so maybe they fixed things |
12:17.49 | aquarius | https://code.launchpad.net/~sil/+junk/u1files-html |
12:17.49 | Elleo | aquarius: http://mikeasoft.com/~mike/phonegap-demo.png <-- like this? |
12:18.09 | aquarius | ya, that. So that works, then |
12:18.12 | aquarius | asshole. ;-) |
12:18.16 | Elleo | heh |
12:18.18 | aquarius | it doesn't work for me :) |
12:18.22 | *** join/#harmattan tomma_ (~tomma@a91-153-219-149.elisa-laajakaista.fi) |
12:18.25 | Elleo | have you updated the code recently? |
12:18.32 | aquarius | which suggests that I am doing something dim and stupid :) |
12:19.07 | aquarius | I think I've poked bits of the code since it was last pushed, but probably nothing which will stop it showing up |
12:19.19 | aquarius | there might be tweaks to it which make it work better; I am not sure |
12:19.32 | *** join/#harmattan slingr- (santas@will.one.day.hack-the-pla.net) |
12:19.37 | aquarius | I sort of lost track between trying to compile the phonegap stuff in qt creator and installing scratchboxes and so on :) |
12:19.37 | Elleo | I mean the qt phonegap stuff |
12:19.45 | aquarius | ah, right. um |
12:19.46 | Elleo | it sounds like they switched to a QML view at the beginning of March |
12:20.00 | Elleo | so if your checkout was from before then that might be why things don't look so good for you |
12:20.26 | aquarius | March 8th, according to the timestamps on the checked out files |
12:20.38 | aquarius | I am more than happy to blow all this away and start again |
12:20.50 | aquarius | at least partially since I've forgotten how to do anything at all with it anyway :) |
12:20.54 | Elleo | well all I did was check out the code, build it and run it |
12:21.15 | Elleo | so I'd guess any differences are due to them fixing things in the intervening time |
12:21.25 | aquarius | ya, but you have all the scratchbox magic set up properly too, which I probably do not |
12:22.06 | aquarius | do you have a few mins now to talk me through "check out the code, build it, and run it" so I can try the same and see if I get the same results? |
12:22.35 | *** join/#harmattan wook- (~wolf@c-50-131-24-59.hsd1.ca.comcast.net) |
12:22.41 | Elleo | aquarius: sure |
12:22.45 | aquarius | k |
12:22.51 | aquarius | so...tell me what to do ;-) |
12:23.03 | Elleo | well, lets assume your scratchbox setup is okay |
12:23.10 | aquarius | k |
12:23.11 | pa | i was wondering: is there any dbus signal going around , when battery pct decreases or increases? |
12:23.13 | Elleo | and try a fresh build of a new version of cordova |
12:23.22 | Elleo | then if stuff still doesn't work we can try fiddling with scratchbox |
12:23.44 | Elleo | so first I did "git clone https://github.com/apache/incubator-cordova-qt.git" |
12:24.10 | Elleo | then in scratchbox (using an x86 target at the moment), I ran "qmake" from inside the incubator-cordova-qt directory |
12:24.16 | Elleo | followed by make and make install |
12:24.25 | Elleo | which puts cordova in /opt/cordova |
12:24.50 | aquarius | oh, hang on; you're checking this out into a folder that scratchbox can see? |
12:24.55 | Elleo | yeah |
12:25.01 | Elleo | sorry should have explained that |
12:25.18 | *** join/#harmattan etrunko (~etrunko@201.53.210.142) |
12:25.22 | Elleo | I have /scratchbox/users/mike/home/mike/scratchbox/ symlinked to /home/mike/scratchbox on the host |
12:25.31 | Elleo | so I can interact between the two easily |
12:25.41 | Elleo | (obviously replace mike with sil or similar) |
12:25.51 | aquarius | ok, how do I start scratchbox? |
12:26.01 | aquarius | (sorry for the remedial class you'r ehaving to give here :)) |
12:26.06 | Elleo | heh, no worries |
12:26.12 | Elleo | in a terminal just run "scratchbox" |
12:26.21 | Elleo | that'll stick you inside a scratchbox session |
12:26.22 | pa | yes, is there any tutorial, better than the nokia provided one? |
12:26.29 | Elleo | in a second terminal we need to setup Xephyr |
12:26.58 | Elleo | which you can do by running "Xephyr :2 -host-cursor -screen 854x480x16 -dpi 96 -ac +extension Composite &" |
12:27.28 | Elleo | or possibly "Xephyr :2 -host-cursor -screen 480x854x16 -dpi 96 -ac +extension Composite &" if you have things setup to work in a portrait view like me (by default I think its landscape, I seem to remember having to hack around a bit to get portrait stuff working) |
12:27.30 | aquarius | ok. in scratchbox, cd'ed into the checked out incubator-cordova-qt; qmake says "Project MESSAGE: Qt4 build \n Project MESSAGE: Harmattan build" and that's it |
12:27.56 | aquarius | ok, xephyr running |
12:28.18 | Elleo | aquarius: that's the expected output |
12:28.27 | aquarius | bah. make fails |
12:28.28 | Elleo | qmake just parses the .pro file and creates some Makefiles based on it |
12:28.36 | aquarius | main.cpp:36: fatal error: MDeclarativeCache: No such file or directory |
12:28.44 | Elleo | okay you're just missing some libraries |
12:29.01 | aquarius | this is going to mean installing a second copy of the whole world inside scratchbox, isn't it? :) |
12:29.04 | Elleo | libqt4-declarative-dev is probably what you're after there |
12:29.32 | Elleo | you should be able to just 'apt-get install libqt4-declarative-dev' directly within the scratchbox environment |
12:29.36 | aquarius | libqt4-declarative-dev is already the newest version. |
12:30.13 | Elleo | hmm |
12:30.32 | Elleo | ah, no it'll be a meegotouch lib |
12:31.08 | Elleo | libmeegotouch-dev might be all you need |
12:32.10 | aquarius | libmeegotouch-dev is already the newest version. |
12:32.41 | Elleo | if only scratchbox had apt-file :/ |
12:32.48 | aquarius | ya |
12:35.57 | aquarius | darn, "If you get an error about MDeclarativeCache unknow while compiling the qmlapplicationviewer : It seams that some builds depends are missing, add applauncherd-dev and pkg-config to build depends in the debian/control file. " |
12:36.13 | aquarius | but...have now installed both those (already had pkg-config) and it didn't help. darn. |
12:37.40 | Elleo | yeah I just found it in "applauncherd-dev_0.30.5+rq730927+0m6_all.deb" |
12:37.49 | Elleo | in my /var/apt/cache through a terrible brute force search |
12:38.03 | Elleo | not sure why it's not being found for you still then |
12:38.16 | Elleo | actually |
12:38.19 | Elleo | try rerunning qmake |
12:38.28 | Elleo | might be that because it wasn't there it didn't append it to the include list |
12:38.30 | aquarius | yeah, I just thought of that :) |
12:38.33 | aquarius | fixed! |
12:38.35 | aquarius | woot |
12:38.36 | Elleo | awesome |
12:38.55 | aquarius | so that's a cordova-qt bug, amirite? it's a build dependency. |
12:39.17 | aquarius | anyway, make, make install worked |
12:40.25 | Elleo | yeah, at least in as much as qmake should probably have reported that something was missing |
12:40.48 | aquarius | so now I can just run it? |
12:41.09 | aquarius | ah, no, I presumably need to run the rest of meego first ;) |
12:41.52 | Elleo | yeah, run "meego-sb-session start" in scratchbox |
12:42.00 | Elleo | that'll start up the graphical stuff in your xephyr session |
12:42.17 | Elleo | then you should have a Cordova icon on your launcher that you can use to start it |
12:42.40 | aquarius | omg I do! |
12:42.44 | aquarius | and it works! |
12:42.46 | aquarius | woo! |
12:42.54 | aquarius | ok that's four zillion times easier than using qt creator. |
12:43.04 | aquarius | big kiss for Mike, yes indeed |
12:43.12 | Elleo | great :) |
12:44.04 | aquarius | ok, now to try u1 app :) |
12:44.22 | Elleo | yeah, I haven't had much success with that yet |
12:44.22 | *** join/#harmattan FACEFOX (~facefox@pool-74-111-197-200.lsanca.fios.verizon.net) |
12:44.31 | Elleo | just comes up as a blank page for me at the moment |
12:44.33 | aquarius | biggest problem with xephyr is how to swipe an app away |
12:44.51 | Elleo | aquarius: it does work in xephyr, you just have to be really close to the edge of the window |
12:44.56 | aquarius | yeah, it's just fiddly |
12:45.29 | Elleo | cordova seems to be hardwired to load its index.html from /opt/cordova/www/ so I've stuck the u1 stuff in there when testing myself |
12:45.39 | aquarius | can I make the xephyr window be smaller? My screen isn't really tall enough |
12:45.56 | aquarius | or will that sod up meego 'cos it expects the screen to be the size of the one on the n9? |
12:46.26 | Elleo | err, my advice would be to give it a go and see what happens :P |
12:46.30 | aquarius | laughs |
12:46.36 | Elleo | you might get some of the launcher stuff cut off the bottom |
12:46.49 | Elleo | but I'd expect cordova stuff to get resized properly |
12:47.51 | *** join/#harmattan jreznik (~jreznik@36.173.broadband6.iol.cz) |
12:50.30 | aquarius | hm. Do I have to restart meego to make it pick up a new version of the www files or something? |
12:50.32 | aquarius | confused. |
12:50.58 | Elleo | aquarius: you shouldn't need to |
12:51.04 | Elleo | make sure you close the running version first though |
12:51.19 | Elleo | its set to single instance mode, so if its left running in the background it'll just bring that back to the top |
12:51.27 | aquarius | ah, dammit, swiping down from the top wasn't killing it. |
12:51.44 | Elleo | yeah, don't think that's enabled in the scratchbox version |
12:51.50 | Elleo | iirc that was introduced in PR1.2 |
12:52.06 | Elleo | or at least enabled by default then, might have been around a bit earlier |
12:52.14 | aquarius | ok, I have my app running, yay :) |
12:52.35 | aquarius | failing to sign in. Doesn't say why, which is likely my fault |
12:52.46 | aquarius | although no console, which doesn't help :) |
12:53.04 | Elleo | aquarius: to start stuff at the console just do "meego-run /opt/cordovaqt/bin/cordovaqt" |
12:53.29 | aquarius | ooh that *is* useful |
12:53.54 | aquarius | if it dumps the js console to the terminal, which I don't think it does, but that's not your fault :) |
12:54.09 | Elleo | aquarius: yeah, just trying to write a patch to do that now |
12:54.31 | Elleo | I ended up needing to do that for an app I tried writing to get the amazon cloud reader working (never managed it) |
12:54.38 | Elleo | so it shouldn't be hard to adapt |
12:54.50 | aquarius | hrm no web browser |
12:55.02 | aquarius | wanted to test whether this meego can see the internet |
12:55.19 | Elleo | you could try pinging something from the terminal |
12:55.23 | aquarius | on the other hand I dno't really want forty terabytes of webkit source, so I can see *why* there isn't one :) |
12:55.49 | Elleo | although I seem to remember having problems getting anything using SSL working with webviews in scratchbox |
12:56.11 | Elleo | so I might shift my stuff on to my n950 now and see how well stuff runs there |
12:56.14 | aquarius | ok, the scratchbox terminal can see the net (via w3m! no ping :)) |
12:56.20 | Elleo | ah good |
12:56.30 | aquarius | worried about your SSL issue, mind |
12:56.45 | *** join/#harmattan jreznik_ (~jreznik@36.173.broadband6.iol.cz) |
12:56.53 | aquarius | but hey ho. I can just add debugging alerts |
12:57.02 | *** join/#harmattan trx (~ns-team@212.200.198.90) |
12:57.07 | aquarius | do you get the front page with the login form pop up? |
12:57.14 | Elleo | nope, I just get a blank page |
12:57.17 | aquarius | k |
12:57.56 | aquarius | aah, yeah |
12:58.19 | aquarius | cordova-qt has all its js in separate files |
12:58.32 | aquarius | lws |
13:00.20 | aquarius | Elleo, http://ubuntuone.com/4lLvcfXyGQfJFqbgKxhpIV for the contents of the www directory |
13:00.30 | aquarius | I mean, it doesn't connect, yet, but you should at least get the login form :) |
13:00.54 | Elleo | ah, cool thanks |
13:04.27 | Elleo | aquarius: still doesn't work in my scratchbox, but runs on my n950 |
13:04.36 | Elleo | so there's probably something dodgy about my scratchbox setup in that regard |
13:05.07 | aquarius | doesn't work in the sense of "blank screen"? |
13:05.17 | Elleo | yeah |
13:05.19 | aquarius | cool |
13:05.38 | aquarius | when you say it works on your n950... does it actually *work*? as in, you enter your U1 details and it connects? :) |
13:05.45 | Elleo | haven't tried that yet |
13:06.38 | Elleo | it says signing in briefly, then takes me back to the login |
13:11.19 | aquarius | k |
13:11.24 | aquarius | that might mean it's failing |
13:11.28 | aquarius | or might mean something else :) |
13:11.42 | aquarius | here in scratchbox I'm getting the damned xhrs failing |
13:12.00 | aquarius | trying to remember whether I had to change something in cordova to make them work |
13:22.55 | *** join/#harmattan rm_work (~rm_you@2605:2700:0:3::4713:9326) |
13:23.04 | *** join/#harmattan rm_work (~rm_you@Maemo/community/cssu/rm-you) |
13:37.12 | *** join/#harmattan hardaker (~hardaker@mail.hardakers.net) |
13:38.09 | *** join/#harmattan shanttu (~shanttu@dsl-hkibrasgw3-ffdec300-4.dhcp.inet.fi) |
13:38.54 | *** join/#harmattan pinheiro (~pinheiro@bl15-1-155.dsl.telepac.pt) |
14:10.14 | itsnotabigtruck | portal 2 level editor set to be released on the 8th |
14:10.46 | itsnotabigtruck | it's a user-friendly alternative to hammer for building portal maps, plus probably some sort of interface to share/install such maps |
14:14.15 | *** join/#harmattan n9appscom (~n9appscom@85-23-13-196.bb.dnainternet.fi) |
14:16.17 | aquarius | do I have to do something special to make my QML-using app pay attention to envars when running in harmattan from scratchbox? I've exported QML_IMPORT_TRACE=1 but I'm not seeing any qml import traces (as per http://doc.qt.nokia.com/4.7-snapshot/qdeclarativedebugging.html) |
14:16.30 | aquarius | (when running the app with meego-run /path/to/app that is) |
14:16.42 | itsnotabigtruck | aquarius: cat meego-run and see what it does |
14:16.50 | itsnotabigtruck | it might be trying to reset the environment or something |
14:17.00 | itsnotabigtruck | (it's a script) |
14:17.07 | aquarius | it doesn't seem to; I tried that :) |
14:18.49 | aquarius | I even tried setting the envar *in* meego-run which still isn't doing it. |
14:18.56 | aquarius | maybe import tracing just isn't available in the qt I have |
14:20.41 | Elleo | aquarius: I can send you the output from my device if you like, it works there |
14:20.58 | aquarius | Elleo, it works on cordova apps? |
14:21.18 | *** join/#harmattan miroslav (~miroslav@kde/mirko) |
14:21.24 | Elleo | aquarius: yep |
14:21.27 | aquarius | I mean, I worked out which qml file was being included by introducing errors into all of them and seeing where it failed, but it's just weird that stuff like this doesn't work :) |
14:21.39 | aquarius | cannot, for the life of me, work out why XHRs inside a webview are failing :( |
14:23.44 | Elleo | aquarius: http://mikeasoft.com/~mike/import-trace.txt there's the import trace from on the device |
14:24.06 | Elleo | not sure it's going to tell you anything helpful though |
14:25.25 | itsnotabigtruck | if aegis-exec or invoker are being used, one of those might be the perp |
14:25.27 | itsnotabigtruck | bbiaf |
14:25.41 | aquarius | ahaha! some XHRs do work. So maybe this is teh alluded-to SSL problem. |
14:26.15 | aquarius | and indeed it is! https URLs fail to request. |
14:26.28 | Elleo | ah |
14:28.41 | aquarius | tra-la, http://www.qtcentre.org/threads/44629-Using-XMLHttpRequest-for-HTTPS-Post-to-server-with-SSL-certificate is exactly the problem I'm having. |
14:28.51 | aquarius | so, Elleo, you mentioned you'd already solved this? ;) |
14:29.17 | Elleo | well I did some stuff to ignore ssl errors |
14:29.29 | Elleo | but that involved subclassing QWebPage and setting it on the QWebView |
14:29.45 | Elleo | which might not be so easy when doing everything in QML |
14:30.01 | aquarius | ya |
14:30.03 | Elleo | I'm just poking around at that now |
14:30.07 | aquarius | I can't see how you do that in qml :( |
14:30.29 | Elleo | well in the worst case I can probably get hold of the webview object in C++ and set a new page there |
14:30.36 | Elleo | I'm just seeing if I can do it in a simpler way first |
14:30.44 | aquarius | http://www.developer.nokia.com/Community/Wiki/How_to_ignore_ssl_errors_to_get_https_website_work_on_QML_Webview |
14:31.23 | Elleo | yeah, that was pretty much my fallback solution of doing it in C++ |
14:31.27 | aquarius | i have to create my own overriding QNetworkAccessManager and tell QML to use it? really? |
14:31.34 | aquarius | am I being punished for something? |
14:31.38 | Elleo | you don't actually need to do that |
14:31.52 | Elleo | since the sslerrors thing is done as signal |
14:32.02 | Elleo | you can just get the existing network manager and connect to that signal |
14:32.14 | aquarius | my C++ is way, way too rubbish to do this |
14:32.25 | Elleo | I'll have a stab and get back to you |
14:32.27 | aquarius | really? |
14:32.29 | aquarius | wow! |
14:32.31 | aquarius | thanks! |
14:33.40 | aquarius | you can replicate the problem by just trying to load https://login.ubuntu.com/ in a qml webview |
14:33.59 | Elleo | okay |
14:36.42 | aquarius | (it comes up blank, presumably because it's actually failing) |
14:37.32 | Elleo | hmm, actually I think I'll have to do this the way they suggest of actually making a factory |
14:37.41 | Elleo | getting hold of the webview widget is pretty messy |
14:39.38 | aquarius | I assume that by the time the in-QML onLoadFailed handler fires, it's too late? |
14:40.31 | aquarius | yeah, looks like it |
14:40.40 | aquarius | not that you get passed the qnetworkmanager inside qml anyway |
14:47.50 | itsnotabigtruck | Elleo aquarius: don't ignore ssl errors! |
14:47.59 | *** join/#harmattan hardaker (~hardaker@mail.hardakers.net) |
14:48.11 | aquarius | itsnotabigtruck, for right now I want to ignore them to confirm that that's the problem |
14:48.13 | itsnotabigtruck | also i thought it handled the validation for you, mostly |
14:48.25 | aquarius | after that, I can try and work out what to do to actually *solve* it |
14:48.33 | itsnotabigtruck | and alright |
14:48.52 | itsnotabigtruck | just don't leave that in x_x far too many apps ignore certificate errors |
14:48.58 | itsnotabigtruck | which neutralizes the security of ssl |
14:49.03 | aquarius | agreed |
14:49.20 | itsnotabigtruck | even major ones like trillian the IM client |
14:49.30 | aquarius | however, it is incumbent on testing environments to not have spurious ssl errors by not including a bunch of certificates, which they do not do :) |
14:49.48 | aquarius | login.ubuntu.com has a perfectly legit cert, and I'm being denied access to it *anyway* by my meego scratchbox env. |
14:49.57 | aquarius | that's not SSL's fault. :) |
14:50.00 | itsnotabigtruck | oh |
14:50.03 | itsnotabigtruck | i just realized |
14:50.09 | itsnotabigtruck | i don't think the scratchbox setup ships with any trusted certs |
14:50.13 | aquarius | ta daah. |
14:50.18 | aquarius | that's the prob :) |
14:50.29 | itsnotabigtruck | tar up /etc/ssl/certs on your phone and xfer it over and that ought to solve the problem, i thin |
14:50.35 | aquarius | you reckon? |
14:50.47 | aquarius | not that I know how to get to folders on my phone |
14:50.53 | aquarius | but that's an interesting thing to try! |
14:52.44 | itsnotabigtruck | just SSH in, tar it, and SCP it into scratchbox |
14:53.58 | Elleo | itsnotabigtruck: awesome, that works |
14:54.15 | Elleo | aquarius: I'll upload my certs.tar.gz for you if you like |
14:54.29 | aquarius | am just copying the ones from Ubuntu for now :) |
14:54.50 | Elleo | ah okay |
14:55.22 | itsnotabigtruck | the phone copy solution is better since that way you have the *same* trusted certs |
14:57.04 | aquarius | itsnotabigtruck, agreed |
14:57.10 | Elleo | aquarius: right, that brings things in scratchbox to be in basically the same situation they are on my phone now |
14:57.12 | aquarius | and that's what I shall do :) |
14:57.21 | aquarius | but copying from ubuntu is quicker |
14:57.27 | aquarius | however... doesn't work :( |
14:57.39 | Elleo | aquarius: http://mikeasoft.com/~mike/certs.tar.gz |
14:57.45 | Elleo | those are straight from my phone |
14:58.06 | aquarius | tries that |
14:59.55 | aquarius | woo! |
15:00.02 | aquarius | that seems to work |
15:00.10 | aquarius | so, different certs, or different format, or something :) |
15:00.56 | aquarius | huge success! |
15:01.04 | aquarius | I can now see u1 files! |
15:01.05 | aquarius | woo! |
15:01.20 | aquarius | you can't *download* any without my cordova patch, which I shall need to reconstitute |
15:01.29 | aquarius | but nonetheless, yay-hey-hurray! |
15:02.38 | Elleo | nice |
15:02.38 | aquarius | no persistent localStorage, either, but I think I know how to fix that too |
15:02.53 | aquarius | so you have to sign in and get a new token every time |
15:02.59 | aquarius | but... these are all little problems |
15:03.08 | aquarius | Elleo, itsnotabigtruck, you're both superb |
15:03.24 | aquarius | now it's just grunt work to get everything working :) |
15:03.39 | aquarius | and then I come back here to whinily ask how I actually get the darn thing on the phone, but that's stage 2 ;) |
15:03.48 | Elleo | right, well I'll leave all the remaining hard stuff to you then since its stuff you already know ;) |
15:03.53 | aquarius | gris |
15:03.59 | aquarius | grins |
15:04.10 | Elleo | feel free to give me a poke when it comes time to get it packages up too, I'm happy to help with that side of things as well |
15:04.16 | Elleo | packaged* |
15:07.06 | aquarius | I shall do exactly that :) |
15:07.48 | Elleo | I did have a poke at getting the official daemon working when I first got my phone |
15:07.55 | Elleo | can't remember what problems I ran into though |
15:08.13 | Elleo | possible an insane amount of dependencies that also needed packaging that just made me give up in despair or something |
15:08.16 | Elleo | possibly* |
15:22.08 | aquarius | ya. Syncdaemon blithely assumes that it's running on something relatively close to an Ubuntu desktop. |
15:22.16 | aquarius | (well, it did then) |
15:22.46 | aquarius | an N9's considerably closer to an Ubuntu desktop than every other phone, but it's still not there |
15:23.23 | aquarius | Since then, syncdaemon has been refactored quite a bit (in order that we could bring U1 file sync to Windows and Mac), so it might be easier to bring up full-on sync-files U1 on harmattan now |
15:23.52 | aquarius | but I'm happy with the Android/iOS model of "browse the file list and manually select files to download" on my N9 :) |
15:23.54 | Elleo | ah right, maybe I'll have another poke at it some time then |
15:24.22 | Elleo | yeah, I'd quite like to have auto-syncing of stuff myself |
15:24.51 | Elleo | that way ubuntu one music downloads can get sent to it instantly and photos can get shoved in my ubuntu one folder on all my systems as they're taken |
15:25.46 | itsnotabigtruck | if you aren't already doing so it might be advisable to start from the debian/ubuntu packaging |
15:25.57 | Elleo | yeah that's what I was doing last time around |
15:26.31 | itsnotabigtruck | right, the dependencies...well, but you'd have the same dependencies whether or not you build through the package, or independently |
15:26.41 | itsnotabigtruck | but maybe many of those deps can be pared out |
15:26.48 | Elleo | I've probably still got random bits an pieces in my OBS |
15:27.02 | Elleo | I think I just got fed up of going through all of them one by one |
15:27.10 | Elleo | iirc it had a pretty large dependency tree at the time |
15:38.41 | *** join/#harmattan faenil (~faenil@wnet-tortora.isti.cnr.it) |
15:48.35 | *** join/#harmattan hardaker (~hardaker@mail.hardakers.net) |
15:53.10 | *** join/#harmattan scoobertron (~tom@93.186.149.67) |
16:08.55 | aquarius | crapsticks. |
16:09.06 | aquarius | the webview doesn't support modern enough stuff :( |
16:09.11 | aquarius | no uint8array |
16:09.17 | aquarius | which means you can't download binary files |
16:09.19 | aquarius | darn it. |
16:09.20 | Elleo | ah |
16:09.31 | Elleo | that's a shame |
16:09.36 | aquarius | yes. Yes it is. |
16:09.37 | aquarius | :( |
16:09.51 | aquarius | because I don't want to write something that just hands it off to Qt |
16:10.02 | itsnotabigtruck | why not? |
16:10.13 | aquarius | as then it's specifically an N9 app, not a phonegap app which I can also bring to other platforms |
16:10.14 | Elleo | would that be so bad? if it's implemented as a cortardo plugin it would be fairly transparent |
16:10.25 | itsnotabigtruck | (also this crap is why i hate web tech) |
16:10.42 | itsnotabigtruck | the web got popular despite the immensely crappy technologies powering it, not because of them |
16:11.06 | itsnotabigtruck | people have made really cool js-based web apps in spite of js being one of the worst languages ever conceived, next to php |
16:11.18 | aquarius | we shall have to agree to differ on that. |
16:11.21 | itsnotabigtruck | doesn't mean it's a good idea to spread web stuff where it isn't needed |
16:12.32 | aquarius | annoyed. Darn it. |
16:12.59 | *** join/#harmattan NIN101 (~NIN@p5DD2866D.dip0.t-ipconnect.de) |
16:13.16 | *** join/#harmattan FACEFOX (~facefox@pool-74-111-197-200.lsanca.fios.verizon.net) |
16:15.31 | aquarius | checks on actual N9 |
16:16.08 | aquarius | nope. No Uint8Array, so no binary download support from inside JS. |
16:16.10 | aquarius | pants. |
16:16.35 | aquarius | If I'm gonna lock it into N9 only, I might as well write it in qml. grr. |
16:16.42 | *** join/#harmattan NIN102 (~NIN@p5DD289E7.dip0.t-ipconnect.de) |
16:17.23 | itsnotabigtruck | i thought this was all about porting something that was already written |
16:17.43 | aquarius | itsnotabigtruck, it is already written... but the harmattan webview isn't new enough to support some of the JS it uses. |
16:17.45 | itsnotabigtruck | phonegap port + existing ubuntu1 phonegap thing = ubuntu1 on n9 |
16:17.56 | itsnotabigtruck | well, you just said "might as well write it in qml" |
16:18.13 | itsnotabigtruck | that implies starting over, which defeats the point |
16:18.41 | itsnotabigtruck | i mean, a native client would probably be far better anyway, the only reason to use phonegap is to save work |
16:18.45 | aquarius | itsnotabigtruck, that's the point; if I want U1 support on the N9, then I can't use the existingly-written app |
16:19.03 | Elleo | aquarius: you can use most of the existing app though |
16:19.19 | Elleo | just replacing whatever the current download handler is with a call to a cortardo plugin |
16:19.47 | aquarius | Elleo, yeah, I suppose... and have a "downloadURLToFilesystem(url, filepath)" method |
16:20.05 | itsnotabigtruck | that's probably better anyway, you could integrate with transfer ui |
16:20.15 | aquarius | that's just less fun to do, though. I do enough complex dependency-fiddling software engineering stuff in my day job. :) |
16:20.17 | itsnotabigtruck | like grob does |
16:20.29 | Elleo | heh |
16:20.31 | itsnotabigtruck | also while you're at it, you couldmake this integrate with accounts ui also |
16:21.11 | aquarius | itsnotabigtruck, ya. At that point it's a hard software engineering project which is only beneficial to meego users, so the cost-benefit analysis changes |
16:21.19 | itsnotabigtruck | ubuntu1 uses oauth so it's probably not that difficult |
16:21.27 | aquarius | specifically, I think to myself: do I want to work on this, or do I go down the pub? |
16:21.28 | itsnotabigtruck | and, umm, i thought you said this was an already written phonegap app |
16:21.30 | aquarius | and the pub wins ;-) |
16:21.49 | aquarius | it is already written -- well, most of it is, anyway |
16:21.51 | itsnotabigtruck | no matter what, all effort put into porting it to n9 benefits n9 users only...that's obvious |
16:22.07 | itsnotabigtruck | you keep claiming that modifying it to make it n9 compatible renders it incompatible with everything else |
16:22.10 | itsnotabigtruck | which makes no sense whatsoeevr |
16:22.38 | itsnotabigtruck | also, one of the big strengths of the N9 is the integration features like transfers, accounts, sharing, etc. |
16:22.48 | aquarius | agreed entirely. But "the effort put into porting it to n9" was really meant to be "compile phonegap for n9; drop existing phonegap files into www directory; make; <some packaging command>", done. :) |
16:22.48 | itsnotabigtruck | unfortunately all of those are also super badly documented |
16:22.52 | itsnotabigtruck | but apps are a lot nicer when they use them |
16:23.33 | aquarius | oh, I totally agree that the app would be excellent if it was properly integrated into the N9 |
16:24.18 | aquarius | but I don't have the spare time to do a huge amount of that work. My idea was that if I built this that someone else could bring U1 to, say, the Blackberry just by compiling Phonegap-for-Blackberry, if you see what I mean :) |
16:24.45 | itsnotabigtruck | also, making an oauth account plugin that targets exactly one provider is actually pretty easy |
16:25.10 | itsnotabigtruck | yeah, but we're not talking about (the decrepit platform that is) the blackberry :p |
16:25.16 | aquarius | laughs |
16:25.28 | aquarius | it's actually got the best browser on the market, believe it or not. |
16:25.34 | aquarius | rest of the platform is Quite Crap, mind :P |
16:25.36 | *** join/#harmattan FACEFOX (~facefox@pool-74-111-197-200.lsanca.fios.verizon.net) |
16:25.44 | itsnotabigtruck | i mean, this shouldn't be about porting x to as many platforms as possible, this should be about bringing an app you like to a cool phone |
16:26.16 | Anssi138 | playbook is quite fun, very responsive to use. |
16:26.34 | Anssi138 | for that hw ofc. |
16:26.38 | itsnotabigtruck | well, playbook's os is totally separate from the blackberry os |
16:26.44 | itsnotabigtruck | they're supposed to be unified soon |
16:26.46 | itsnotabigtruck | "soon" |
16:26.55 | itsnotabigtruck | it's taking way longer than it was supposed to |
16:27.25 | aquarius | yeah. I suppose the way to go at this stage is to just strip out all the complex download stuff (which requires supernaturally up-to-date webkit anyway) and just call a downloadUrlToFile(url, file) function which the backend is expected to provide :) |
16:27.53 | itsnotabigtruck | speaking of that, that's probably something to do in a harmattan cssu type thing |
16:28.00 | itsnotabigtruck | update webkit, along with the other system libs |
16:28.18 | aquarius | makes it harder to port other places, and less of a "hey, you want u1 for palmos? just take this and use phonegap!" but at least I'll get u1 for my own personal phone, which ain't nothin'. |
16:28.48 | itsnotabigtruck | can't you like ifdef it :p |
16:29.07 | itsnotabigtruck | this isn't about rendering it n9 only, this is about adding extra n9 sauce |
16:29.51 | aquarius | itsnotabigtruck, that's roughly what I plan to do, I think |
16:31.03 | itsnotabigtruck | hmm, you could run your javascript files through cpp |
16:31.06 | itsnotabigtruck | (c preprocessor) |
16:31.19 | aquarius | I could. |
16:31.31 | aquarius | edging perilously close to "this is hard" again, then, though ;) |
16:31.50 | aquarius | ah, I'm over the major hurdle now thanks to you guys anyway |
16:31.58 | aquarius | now's just a Small Matter Of Programming |
16:33.03 | aquarius | specifically, some JS fiddling and then working out how to do os.makedirs("~/u1/" + path); urllib.urlretrieve(url, "~/u1/" + path + "/" + filename) in C++ :) |
16:33.36 | Elleo | better make that ~/MyDocs/u1/ ;) |
16:33.52 | aquarius | really? ah, that's useful info :) |
16:34.28 | aquarius | makes handling whole-folder downloads a lot easier, mind; I just throw 20 URLs at the back end rather than one. ;) |
16:34.30 | Elleo | yeah, MyDocs is the big fat formatted partition |
16:34.44 | aquarius | and I can shut down the app without interrupting the downloads, too |
16:35.00 | Elleo | yeah |
16:35.40 | aquarius | stupid question: I'm aware it's possible to write N9 apps in Python... but does that need users to ssh into their phone and install Python themselves,e tc, etc? Or can I write a Python + QML app and put it in the store or AppsForMeego and have it just work? |
16:35.54 | Elleo | yeah, you can put it in the store |
16:36.04 | itsnotabigtruck | aquarius: just depend on python |
16:36.13 | itsnotabigtruck | however there's some other stupidities related to both ovi and afm that could be problematic |
16:36.20 | Elleo | well, python and python-pyside.* |
16:36.20 | itsnotabigtruck | best to focus on making a good app first |
16:36.27 | *** join/#harmattan FACEFOX (~facefox@pool-74-111-197-200.lsanca.fios.verizon.net) |
16:36.30 | bef0rd | yea, nokia store will ask and download the dependencies |
16:37.00 | Elleo | my statusnet client is python/pyside/qml (and a splash of C++) and is in apps for meego and the ovi store without issues |
16:37.07 | itsnotabigtruck | https://meego.gitorious.org/meego-sharing-framework/transfer-ui/trees/master/libtuiclient/TransferUI |
16:37.10 | itsnotabigtruck | check that out |
16:37.25 | itsnotabigtruck | but that won't do the download for you... |
16:37.37 | itsnotabigtruck | i wonder how grob implements that stuff |
16:38.54 | Elleo | aquarius: here's an example of a downloader using qt stuff: http://doc.qt.nokia.com/4.7-snapshot/network-download-main-cpp.html |
16:38.58 | itsnotabigtruck | as for downloads and uploads, http://qt-project.org/doc/qt-4.8/qnetworkaccessmanager.html |
16:39.18 | Elleo | aquarius: then you'd just needs a few hooks into transferui when certain signals are triggered to update it |
16:40.07 | mankeli | Elleo: there is atleast one python app in store which i know of. it's named "anglegraph" |
16:40.16 | itsnotabigtruck | http://harmattan-dev.nokia.com/docs/library/html/transfer-ui/main.html better docs |
16:40.49 | aquarius | oh, I still have to *do* the transfers myself? the TransferUI is just for showing progress? |
16:41.02 | Elleo | yeah |
16:41.07 | aquarius | I was hoping I could just say "here, meego, download this url to this filesystem location and update things yourself". |
16:41.20 | aquarius | so my if-the-app-quits-the-downloads-carry-on plan is hard again, then :) |
16:41.50 | aquarius | could shell out to wget. ;) |
16:41.54 | Elleo | heh |
16:41.59 | itsnotabigtruck | for accounts integration, http://harmattan-dev.nokia.com/docs/library/html/libsignon-qt/main.html this is the api you use to retrieve the oauth token |
16:42.17 | itsnotabigtruck | grob downloads seem to continue if one exits grob...not sure how it actually implements that |
16:42.25 | itsnotabigtruck | possibly simply by not actually exiting |
16:42.57 | aquarius | yeah, that's the sort of thing I don't want to do -- a bunch of hard work managing my app's lifecycle, etc |
16:43.19 | itsnotabigtruck | on one hand, shipping is better than perfect |
16:43.26 | aquarius | since I would like emails saying "omg you ate all my battery life canonical sux!!!" to not be a part of my regular daily breakfast :) |
16:43.27 | itsnotabigtruck | on the other, having all this integration stuff would be super cool |
16:44.00 | itsnotabigtruck | unfortunately there aren't very many examples of the integration stuff, because few people ever bother doing it |
16:44.10 | itsnotabigtruck | that's why i'd like to see some apps that have it |
16:44.43 | itsnotabigtruck | note that if you use signon oauth, i think that'll cause your app to depend on PR1.2 at a minimum |
16:45.51 | itsnotabigtruck | currently the ovi baseline is PR1.1 |
16:46.10 | *** join/#harmattan gabriel9 (~gabriel9@139-70-246-188-bl.cable.dyn.broadband.blic.net) |
16:47.09 | itsnotabigtruck | with signon oauth, signon takes care of all the oauth authentication stuff for you, so you just have to exract the token from signon and use it |
17:05.35 | *** join/#harmattan ZogG_laptop (~ZogG_lapt@bzq-79-176-193-143.red.bezeqint.net) |
17:10.10 | *** join/#harmattan lamikr (lamikr@nat/nokia/x-tdwrgsocchhrturf) |
17:13.50 | *** join/#harmattan elldekaa (~hyviquel@81-197-95-4.elisa-mobile.fi) |
17:14.59 | *** join/#harmattan elldekaa_ (~hyviquel@81-197-95-4.elisa-mobile.fi) |
17:25.17 | *** join/#harmattan pinheiro (~pinheiro@bl15-1-155.dsl.telepac.pt) |
17:33.29 | itsnotabigtruck | aquarius: ok, just had an idea on how to implement this |
17:33.49 | itsnotabigtruck | so you'd have a pure C++ binary that handles downloads and uploads using qt and transferui |
17:34.02 | itsnotabigtruck | you spawn that from your phonegap for those |
17:34.16 | itsnotabigtruck | then you also have a C++ plugin for handling signon identities |
17:34.30 | itsnotabigtruck | in order to get the oauth token |
17:34.51 | *** join/#harmattan ab (~ab@pdpc/supporter/professional/ab) |
17:35.06 | itsnotabigtruck | then for the account plugin, you might be able to get away with using XML files only |
17:35.38 | itsnotabigtruck | if ubuntu one's oauth login page allows specifying the username in the querystring, that'll make the oauth stuff a lot easier |
17:35.50 | itsnotabigtruck | (like twitter allows) |
17:36.20 | *** join/#harmattan risca (~risca@wnpgmb0903w-ds01-249-233.dynamic.mtsallstream.net) |
17:37.06 | itsnotabigtruck | also https://betalabs.nokia.com/apps/nokia-public-transport-for-nokia-n9 apparently this was just released |
17:39.15 | *** join/#harmattan gavinrharper (~gavin@dyn2-212-50-133-71.psoas.suomi.net) |
17:39.45 | gavinrharper | Hello! I am implementing an N9 application in the QtSDK Simulator but am having trouble identifying the best way to hide/restore the application |
17:48.48 | RST38h | How do I clear cookies in the web browser? |
17:49.36 | jonni | gavinrharper: dont know what is preferred way, personally I used x events in one of my ovi store application. |
17:50.45 | aquarius | itsnotabigtruck, currently experimenting with python |
17:51.12 | aquarius | although the simplest python app doesn't seem to actually load as a harmattan app; it appears as a black windows floating over the top of the home screen :( |
17:51.42 | aquarius | http://wiki.meego.com/Getting_started_with_Harmattan_Python seems to not be right, as far as running in scratchbox goes ;( |
17:52.39 | gavinrharper | jonni: Can you please elaborate? |
17:52.53 | gavinrharper | This is a proof of concept application so I'm hoping not to register with Nokia |
17:53.06 | *** join/#harmattan harbaum (~quassel@dslb-092-074-238-131.pools.arcor-ip.net) |
17:54.28 | jonni | gavinrharper: google "XIconifyWindow" |
17:55.08 | itsnotabigtruck | aquarius: how would python help with this though |
17:55.26 | aquarius | itsnotabigtruck, it wouldn't, necessarily; I'm just experimenting with python :) |
17:55.35 | gavinrharper | jonni: Thank you |
17:56.17 | itsnotabigtruck | ah ok :p |
17:56.30 | itsnotabigtruck | ^ lame |
17:57.06 | itsnotabigtruck | hate it when people only join up for exactly long enough to get a question answered |
18:07.42 | *** join/#harmattan jluisn (~quassel@187.115.172.24) |
18:09.07 | *** join/#harmattan jluisn (~quassel@187.115.172.24) |
18:15.49 | Elleo | aquarius: yeah, you probably want to look more in to using the qt-components with QML and python for a proper harmattan experience |
18:16.11 | Elleo | aquarius: this has a list of the various elements available to you http://harmattan-dev.nokia.com/docs/library/html/qt-components/qt-components-meego-componentlist.html |
18:16.34 | aquarius | Elleo, interesting -- I was looking at http://www.developer.nokia.com/Community/Blogs/blog/kate-alholas-forum-nokia-blog/2011/06/23/nokia-meego-1.2-harmattan-qt-quick-components |
18:16.36 | Elleo | with various examples interspersed, PageStacks are probably a good place to start |
18:16.52 | Elleo | ah yeah, that's a pretty good one too |
18:19.38 | Elleo | http://blog.mikeasoft.com/2012/04/27/seagull-strike/ <-- a new way to waste your time ;) |
18:20.49 | itsnotabigtruck | lol |
18:21.04 | *** join/#harmattan jluisn (~quassel@187.115.172.24) |
18:22.35 | *** join/#harmattan jluisn (~quassel@187.115.172.24) |
18:27.23 | *** join/#harmattan jluisn (~quassel@187.115.172.24) |
18:27.44 | *** join/#harmattan cityLights (~cityLight@bzq-82-81-5-52.red.bezeqint.net) |
18:32.42 | *** join/#harmattan ab (~ab@a88-115-216-155.elisa-laajakaista.fi) |
18:32.42 | *** join/#harmattan ab (~ab@pdpc/supporter/professional/ab) |
18:35.47 | *** join/#harmattan arcean_ (~Arcean@aacr44.neoplus.adsl.tpnet.pl) |
18:55.46 | *** join/#harmattan cityLights (~cityLight@ec2-50-19-166-90.compute-1.amazonaws.com) |
18:59.31 | *** join/#harmattan piggz (~piggz@host-92-18-188-143.as13285.net) |
19:00.27 | *** join/#harmattan faenil (~faenil@131.114.171.152) |
19:01.11 | faenil | hi people, how do you get double tap events on mobile with Qt? |
19:04.52 | *** join/#harmattan Sniper_swe (~communi@78-73-62-213-no187.tbcn.telia.com) |
19:12.54 | *** join/#harmattan arcean (~arcean@aacr44.neoplus.adsl.tpnet.pl) |
19:25.31 | jonni | faenil: if (const QGesture *g = event->gesture(Qt::DoubleTapGesture)) { |
19:25.57 | faenil | jonni, qml ? |
19:26.09 | *** join/#harmattan ab[out] (~ab@193-64-20-225-nat.elisa-mobile.fi) |
19:26.09 | *** join/#harmattan ab[out] (~ab@pdpc/supporter/professional/ab) |
19:29.54 | faenil | jonni, there seems to be no qml alternative to that |
19:30.39 | *** join/#harmattan elldekaa_ (~hyviquel@81-197-95-4.elisa-mobile.fi) |
19:30.55 | jonni | faenil: you need to listen for single taps and use timers to see if its near enough to be double |
19:31.35 | faenil | jonni, if only it worked |
19:32.04 | faenil | jonni, I'm doing that ...but it doesn't work, the deltaTime returned seems to be random |
19:32.12 | jonni | faenil: or just remembered, on qml there is onDoubleClick |
19:32.14 | faenil | probably due to Android-qt port or dunno what |
19:32.19 | faenil | jonni, that doesn't work |
19:32.24 | faenil | jonni, it's only fired at times |
19:32.40 | jonni | faenil: it does work, its used by grob for its doubleclick zoom |
19:33.10 | jonni | faenil: and its also use in qtwebrowser example in sdk. |
19:33.56 | faenil | jonni, it doesn't work on Qt for Android...it only gets the doubleClick if I doubleclick on the exact same spot |
19:34.03 | faenil | which you know it's not the case on tablet/phones |
19:34.19 | faenil | jonni, doubleclick is for mice, afaik |
19:34.20 | jonni | ah I tough that you were asking for harmattan |
19:35.01 | jonni | for android you most likely need to listen for raw events and make a plugin for that. |
19:36.57 | faenil | jonni, most likely, I hoped there was something made for double tap on QML |
19:37.00 | faenil | not doubleclick |
19:37.01 | faenil | ... |
19:37.11 | jonni | faenil: as deltatimes are more accurate in C++ side, you can use this multitouch qml raw plugin as base http://www.developer.nokia.com/Community/Blogs/blog/lauri-jaaskelas-forum-nokia-blog/2011/02/03/raw-multitouch-pointer-events-in-qml |
19:38.29 | jonni | well I dont have any android devices so havent been able to test qt on that one. I've only tested qt multitouch on windows7, meego netbook, harmattan and ubuntu. |
19:42.19 | faenil | yeah I read that article thanks ;) |
19:42.44 | *** join/#harmattan n9appscom (~n9appscom@85-23-13-196.bb.dnainternet.fi) |
19:43.46 | *** join/#harmattan scoobertron (~tom@93.186.149.67) |
19:54.56 | *** join/#harmattan ab[out] (~ab@a88-115-216-155.elisa-laajakaista.fi) |
19:54.56 | *** join/#harmattan ab[out] (~ab@pdpc/supporter/professional/ab) |
20:10.40 | *** join/#harmattan beford (~beford@unaffiliated/beford) |
20:31.26 | *** join/#harmattan ukhamitov (~ircchatte@h31-8-191-20.dyn.bashtel.ru) |
20:32.32 | *** join/#harmattan teleshoes (~teleshoes@pool-74-108-93-33.nycmny.fios.verizon.net) |
20:48.14 | *** join/#harmattan ajalkane (~ajalkane@a88-115-212-112.elisa-laajakaista.fi) |
20:57.10 | *** join/#harmattan Venemo (~chatzilla@fedora/Venemo) |
21:09.41 | *** join/#harmattan juergbi (~juerg@77-58-108-244.dclient.hispeed.ch) |
21:12.53 | *** join/#harmattan piggz (~piggz@host-92-18-188-143.as13285.net) |
21:29.32 | *** join/#harmattan FACEFOX (~facefox@pool-74-111-197-200.lsanca.fios.verizon.net) |
21:30.18 | *** join/#harmattan FACEFOX (~facefox@pool-74-111-197-200.lsanca.fios.verizon.net) |
21:34.06 | *** join/#harmattan FACEFOX (~facefox@pool-74-111-197-200.lsanca.fios.verizon.net) |
21:36.11 | Venemo | hi |
21:40.09 | itsnotabigtruck | hey Venemo |
21:40.35 | Venemo | hey |
21:40.36 | Venemo | what's up? |
21:41.16 | *** join/#harmattan FACEFOX (~facefox@pool-74-111-197-200.lsanca.fios.verizon.net) |
21:42.46 | *** join/#harmattan niqt (~quassel@host8-152-dynamic.251-95-r.retail.telecomitalia.it) |
21:47.15 | *** join/#harmattan Arie (~Arie@c-69-255-229-189.hsd1.md.comcast.net) |
22:09.41 | itsnotabigtruck | i've asked here before, but maybe people have some better ideas now |
22:09.46 | itsnotabigtruck | what is an awesome N9 case? |
22:10.07 | itsnotabigtruck | i'm getting rather sick of the in-box sleeve, it renders the N9 rather ugly, doesn't protect the camera, and collects dust |
22:10.17 | teleshoes | plus the top-left bit is so flimsy |
22:10.18 | itsnotabigtruck | it would be nice to have a sleeve or something |
22:10.29 | itsnotabigtruck | but i don't know what a) looks nice, b) fits the n9 well |
22:10.29 | teleshoes | i personally use a pouch |
22:10.40 | itsnotabigtruck | which one? |
22:10.58 | teleshoes | just a draw-string style bag |
22:11.30 | *** join/#harmattan e-yes (~e-yes@94.45.180.138) |
22:11.44 | teleshoes | prevents my keys from scratching the screen, and absorbs some shock if i drop it, nothing really useful |
22:12.22 | teleshoes | i dont think any sleeve will be non-ugly |
22:12.52 | itsnotabigtruck | i just realized i used the word sleeve twice with different meanings, lol |
22:12.58 | teleshoes | heh |
22:13.05 | itsnotabigtruck | yeah, i'm thinking like a pouch type of sleeve |
22:13.22 | itsnotabigtruck | i had a proporta thing for my E71 but i don't know if they make anything that both looks good and fits the n9 |
22:13.23 | teleshoes | theres a leather one that is purported to fit it nicely |
22:13.33 | itsnotabigtruck | the nokia one? supposedly it barely fits at all |
22:13.34 | teleshoes | i think its ugly, ugly, ugly |
22:13.37 | teleshoes | no, |
22:13.41 | itsnotabigtruck | that's the in-box case for the white n9 |
22:13.41 | teleshoes | an unofficial one |
22:13.42 | itsnotabigtruck | oh ok |
22:13.44 | itsnotabigtruck | which one? |
22:13.51 | teleshoes | lemme see if i can find it |
22:14.13 | ajalkane | The one that comes with white N9 fits like a glove |
22:14.26 | ajalkane | A tight glove, actually |
22:14.27 | teleshoes | ...like a glove fits oj simpson |
22:14.58 | ajalkane | You can't murder anyone wearing the white N9 pouch, mind you |
22:15.13 | teleshoes | mm |
22:15.14 | ajalkane | No wiggle room for holding hammer or strangling anyone |
22:15.25 | teleshoes | anyone know about this? |
22:15.26 | teleshoes | http://www.amazon.com/PDair-Leather-Case-Nokia-N9/dp/B0063Z9O5I/ref=pd_cp_e_2 |
22:15.34 | teleshoes | PDair Leather Case for Nokia N9 - Book Type |
22:16.18 | itsnotabigtruck | don't think the pdair cases are very good |
22:16.21 | teleshoes | i cant find the one im looking for; it looked real cow-hide-leather-ish |
22:16.43 | itsnotabigtruck | seems like most generic/generic-ish leather cases are to be avoided |
22:16.52 | itsnotabigtruck | in fact most leather cases altogether |
22:16.57 | teleshoes | yea, as a general rule |
22:16.57 | itsnotabigtruck | since it's usually going to be some cheapo stuff |
22:16.57 | Tronic | Why? |
22:17.04 | teleshoes | quality of material |
22:17.28 | Tronic | I suppose for the cheaper stuff. |
22:18.00 | Tronic | I suppose the biggest problem really is how they are sewed. |
22:18.26 | Tronic | You can see them already breaking in the stores. |
22:19.03 | Tronic | But e.g. Canon leather cases have been extremely durable, as well as most leather wallets that I've had. |
22:21.17 | itsnotabigtruck | Tronic: right, but you can get actual high quality leather wallets from actual high quality brands |
22:21.27 | itsnotabigtruck | that doesn't really exist with cell phone cases |
22:22.14 | itsnotabigtruck | closest thing is maybe those noreve cases and those aren't really actually high quality either |
22:22.24 | itsnotabigtruck | just expensive (for a cell phone case, anyway) |
22:35.02 | *** join/#harmattan bef0rd (~fernando@unaffiliated/beford) |
22:43.13 | *** join/#harmattan sniper_swe (~qicruser@78-73-62-213-no187.tbcn.telia.com) |
23:02.58 | *** join/#harmattan cityLights (~cityLight@bzq-82-81-5-52.red.bezeqint.net) |
23:28.35 | *** join/#harmattan jluisn (~quassel@187.114.211.93) |