*** bef0rd has quit IRC | 00:00 | |
*** lizardo has quit IRC | 00:03 | |
*** pat00 has quit IRC | 00:06 | |
*** cityLights has joined #harmattan | 00:10 | |
*** elldekaa has quit IRC | 00:12 | |
*** scoobertron has joined #harmattan | 00:14 | |
*** hardaker has quit IRC | 00:18 | |
*** hardaker has joined #harmattan | 00:19 | |
*** elldekaa has joined #harmattan | 00:26 | |
*** jluisn has quit IRC | 00:28 | |
*** niqt has joined #harmattan | 00:34 | |
*** pat00 has joined #harmattan | 00:34 | |
*** faenil has joined #harmattan | 00:40 | |
*** pat00 has quit IRC | 00:40 | |
*** trip0 has joined #harmattan | 00:50 | |
*** faenil has quit IRC | 00:58 | |
*** pat00 has joined #harmattan | 01:04 | |
*** rm_work has quit IRC | 01:10 | |
*** liar has quit IRC | 01:15 | |
*** pat00 has quit IRC | 01:22 | |
*** niqt has quit IRC | 01:30 | |
*** n9appscom has quit IRC | 01:30 | |
*** pat00 has joined #harmattan | 01:36 | |
*** pat00 has quit IRC | 01:41 | |
*** Natunen has quit IRC | 01:59 | |
*** Robot101 has joined #harmattan | 02:00 | |
Robot101 | is there a way to disable developer mode but leave the terminal installed? | 02:00 |
---|---|---|
*** Sniper_swe has joined #harmattan | 02:03 | |
Tronic | Robot101: http://forum.meego.com/showthread.php?t=4869 | 02:03 |
*** scoobertron has quit IRC | 02:08 | |
*** bef0rd has joined #harmattan | 02:27 | |
*** Sniper_swe has quit IRC | 02:37 | |
*** sahib_ is now known as sahibafk | 02:39 | |
*** ab[out] has joined #harmattan | 02:47 | |
*** ab has quit IRC | 02:47 | |
*** arcean has quit IRC | 02:51 | |
*** beford has joined #harmattan | 03:57 | |
*** beford has quit IRC | 03:58 | |
*** beford has joined #harmattan | 03:58 | |
*** aquarius has quit IRC | 04:05 | |
*** elldekaa has quit IRC | 04:20 | |
*** elldekaa has joined #harmattan | 04:22 | |
*** adlan has joined #harmattan | 04:30 | |
*** elldekaa has quit IRC | 04:30 | |
CreamyG31337 | http://unleashthephones.com/2012/04/26/indian-nokia-store-reduces-app-prices-to-a-fifth-of-the-original-price-across-the-store | 04:31 |
CreamyG31337 | i think they're trying to piss off all the developers? | 04:32 |
CreamyG31337 | can i change my phone to indian and buy everything in the store for $5 now? | 04:33 |
CreamyG31337 | sorry, it would be like $20 | 04:34 |
*** beford has quit IRC | 04:36 | |
*** spenap has quit IRC | 04:40 | |
*** elldekaa has joined #harmattan | 04:42 | |
*** psycho_oreos has joined #harmattan | 04:47 | |
*** lfranchi has quit IRC | 04:55 | |
*** Teo` has quit IRC | 04:55 | |
*** KRF has quit IRC | 04:55 | |
Sazpaimon_ | https://meego.gitorious.org/meegotouch/libmeegotouch/commits/master | 05:09 |
Sazpaimon_ | RIP | 05:09 |
rm_you| | err, in response to what CreamyG31337 said -- is that even like... legal? | 05:10 |
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? >_> | 05:11 |
rm_you| | can they just go change the price back? | 05:11 |
*** oberling_ has joined #harmattan | 05:11 | |
*** oberling has quit IRC | 05:14 | |
*** elldekaa has quit IRC | 05:20 | |
CreamyG31337 | it seems pretty shady | 05:23 |
CreamyG31337 | imagine if you are an indian dev | 05:23 |
itsnotabigtruck | hm | 05:25 |
itsnotabigtruck | how do they determine which country you're in | 05:25 |
CreamyG31337 | firmware i think, like the product code or whatever | 05:25 |
itsnotabigtruck | i doubt that...not every country has a product code | 05:25 |
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 | 05:25 |
itsnotabigtruck | and most product codes have one of a few firmware images | 05:26 |
CreamyG31337 | maybe if i made a new account via proxy it would work, not sure | 05:26 |
CreamyG31337 | didn't try that | 05:26 |
itsnotabigtruck | might be able to sign up for an indian ovi account and buy stuff with my no-foreign-transaction-fee credit card | 05:26 |
CreamyG31337 | yeah because i'm not kidding, $20 will get you 1000 indian rupees | 05:26 |
itsnotabigtruck | oh yeah, i bet they're doing it by IP | 05:26 |
itsnotabigtruck | rm_you|: you don't get to set the price exactly, you pick a price tier | 05:27 |
itsnotabigtruck | each tier can be drastically different prices in different countries | 05:27 |
itsnotabigtruck | that said, it probably makes sense to lower the prices in low income areas | 05:27 |
rm_you| | hrm | 05:28 |
CreamyG31337 | the prices were already lowered quite a bit | 05:28 |
itsnotabigtruck | Sazpaimon_: why do you say that? | 05:28 |
CreamyG31337 | so like angry birds is 20 cents equivalent. is that a $1 app? | 05:28 |
itsnotabigtruck | $3 iirc (maybe $2) | 05:29 |
CreamyG31337 | yeah the $1 ones are 5 Rs or 10 cents USD | 05:30 |
itsnotabigtruck | wow, heh | 05:31 |
CreamyG31337 | and its trivial to get an indian proxy assuming there are some tor routers set up in india | 05:31 |
itsnotabigtruck | is the indian rupee a fully convertible currency | 05:31 |
itsnotabigtruck | because the currencies of a lot of developing countries aren't | 05:33 |
itsnotabigtruck | looks like rupees are not fully convertible | 05:33 |
*** hardaker has quit IRC | 05:34 | |
itsnotabigtruck | that might mean it might not be possible to transact in rupees outside of india | 05:34 |
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 | 05:34 |
itsnotabigtruck | CreamyG31337: it says that credit cards work though | 05:37 |
itsnotabigtruck | i guess debit cards in india aren't on the credit card networks | 05:37 |
CreamyG31337 | yeah but they might want one from an indian bank | 05:37 |
CreamyG31337 | would have to try it probably to find out | 05:38 |
CreamyG31337 | and i'm not that interested because there is pretty much nothing in the ovi store i want | 05:38 |
itsnotabigtruck | heh, yeah | 05:39 |
itsnotabigtruck | also, in most cases paid apps are inferior, not superior | 05:40 |
itsnotabigtruck | the exception is games | 05:40 |
CreamyG31337 | yeah i bought a few of those already | 05:40 |
itsnotabigtruck | but there also aren't many (high quality) games to buy | 05:40 |
*** Teo` has joined #harmattan | 05:41 | |
*** Teo` has joined #harmattan | 05:41 | |
*** lfranchi has joined #harmattan | 05:41 | |
*** KRF has joined #harmattan | 05:44 | |
*** lfranchi has quit IRC | 05:46 | |
*** Teo` has quit IRC | 05:46 | |
*** Teo` has joined #harmattan | 05:48 | |
*** Teo` has joined #harmattan | 05:48 | |
*** lfranchi has joined #harmattan | 05:55 | |
*** AndrewX192 has quit IRC | 05:56 | |
*** AndrewX192 has joined #harmattan | 05:57 | |
*** AndrewX192 has quit IRC | 05:57 | |
*** AndrewX192 has joined #harmattan | 05:57 | |
*** Natunen has joined #harmattan | 06:00 | |
*** pinheiro has quit IRC | 06:07 | |
*** pinheiro has joined #harmattan | 06:07 | |
*** hardaker has joined #harmattan | 06:18 | |
*** lamikr has quit IRC | 06:22 | |
*** GeorgeH has joined #harmattan | 06:26 | |
*** hardaker has quit IRC | 06:36 | |
*** ajalkane has quit IRC | 06:40 | |
*** ab[out] has quit IRC | 06:42 | |
*** ab[out] has joined #harmattan | 06:43 | |
*** xarcass has joined #harmattan | 06:54 | |
*** adlan has quit IRC | 07:03 | |
*** Adlan_ has joined #harmattan | 07:03 | |
*** ab[out] is now known as ab | 07:04 | |
*** xarcass has quit IRC | 07:23 | |
*** xarcass has joined #harmattan | 07:26 | |
*** psycho_oreos has quit IRC | 07:26 | |
*** psycho_oreos has joined #harmattan | 07:30 | |
*** xarcass has quit IRC | 07:32 | |
*** hardaker has joined #harmattan | 07:33 | |
*** xarcass has joined #harmattan | 07:34 | |
*** ZogG_laptop has quit IRC | 07:38 | |
*** hardaker has quit IRC | 07:57 | |
*** pat00 has joined #harmattan | 08:05 | |
*** ajalkane has joined #harmattan | 08:09 | |
*** risca has joined #harmattan | 08:09 | |
*** pat00 has quit IRC | 08:12 | |
*** ajalkane has quit IRC | 08:12 | |
*** ajalkane has joined #harmattan | 08:18 | |
*** ajalkane has quit IRC | 08:22 | |
*** ajalkane has joined #harmattan | 08:24 | |
*** hhartz has quit IRC | 08:24 | |
*** CreamyG31337 has quit IRC | 08:27 | |
*** CreamyG31337 has joined #harmattan | 08:28 | |
*** lamikr has joined #harmattan | 08:45 | |
*** Natunen has quit IRC | 08:46 | |
*** jreznik has joined #harmattan | 08:49 | |
*** gabriel9 has quit IRC | 08:54 | |
*** Natunen has joined #harmattan | 08:55 | |
*** gabriel9 has joined #harmattan | 08:57 | |
*** tbf has joined #harmattan | 09:01 | |
*** risca has quit IRC | 09:03 | |
*** ajalkane has quit IRC | 09:11 | |
*** gabriel9 has quit IRC | 09:34 | |
Necrosporus | N9 asks for update | 09:35 |
Necrosporus | I hope, update won't break possibility to install open-mode kernel, will it? | 09:35 |
*** lamikr has quit IRC | 09:43 | |
itsnotabigtruck | Necrosporus: what's the update | 09:43 |
*** mtd has joined #harmattan | 09:47 | |
denism | Necrosporus: please more details? | 09:49 |
denism | at least no any updates available for my PR1.2 001 | 09:50 |
*** hhartz has joined #harmattan | 09:51 | |
*** lamikr has joined #harmattan | 09:55 | |
*** gabriel9|work has joined #harmattan | 10:01 | |
*** harbaum has joined #harmattan | 10:02 | |
*** scoobertron has joined #harmattan | 10:09 | |
Necrosporus | System update... 30.2012.07 | 10:11 |
*** Necrosporus has quit IRC | 10:12 | |
Enforcer | you are still on PR1.1? | 10:12 |
*** Necrosporus has joined #harmattan | 10:13 | |
*** tgalal has joined #harmattan | 10:27 | |
*** spenap has joined #harmattan | 10:28 | |
*** Siva has quit IRC | 10:29 | |
*** Siva has joined #harmattan | 10:41 | |
*** aquarius has joined #harmattan | 10:50 | |
*** aquarius has joined #harmattan | 10:50 | |
*** DocScrutinizer has quit IRC | 10:56 | |
*** DocScrutinizer has joined #harmattan | 10:57 | |
*** ajalkane has joined #harmattan | 11:05 | |
*** miroslav has joined #harmattan | 11:10 | |
*** arcean has joined #harmattan | 11:21 | |
*** mschlens has quit IRC | 11:27 | |
*** mschlens has joined #harmattan | 11:29 | |
*** gabriel9 has joined #harmattan | 11:42 | |
pa | getting ubuntu on vmware player :) | 11:43 |
*** gabriel9|work has quit IRC | 11:45 | |
Khertan_Work | Morning ... | 11:57 |
Khertan_Work | Someone have tryed mosh to connect from pc to n9/n950 ? | 11:58 |
Khertan_Work | look like mosh isn't start on device after install | 11:58 |
*** mece has joined #harmattan | 11:58 | |
Khertan_Work | oh to start it ? | 11:58 |
*** ZogG_laptop has joined #harmattan | 12:02 | |
*** aquarius has quit IRC | 12:02 | |
*** aquarius has joined #harmattan | 12:03 | |
*** elldekaa has joined #harmattan | 12:05 | |
mankeli | Khertan_Work: it isn't even supposed to work like that | 12:23 |
Khertan_Work | ah | 12:23 |
mankeli | ssh connection is made first, which starts the mosh server on device | 12:24 |
Khertan_Work | mankeli: so how it s supposed to work ? | 12:24 |
Khertan_Work | ah ... so they should not claimed that it s a replacement for ssh :) | 12:24 |
mankeli | well it's just that ssh already provides an authetication mechanism and a secure channel for key exchange | 12:25 |
flux | perhaps that's their eventual goal. | 12:25 |
Khertan_Work | anyway, didn't work here : | 12:25 |
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. | 12:25 |
flux | also it is nice approach in the sense that the administrator doesn't need to install mosh for it to work | 12:25 |
petteri | Khertan_Work: you can add mosh server path when connectin with mosh user@n9 | 12:25 |
flux | well, barring firewalls etc.. | 12:26 |
petteri | you need to have sshd runnig for the initial auth | 12:26 |
mankeli | sounds like that you don't have mosh server even installed on the phone | 12:26 |
mankeli | oops, no. some setlocale problem | 12:27 |
Khertan_Work | mankeli: it s ... it s installed in /usr/bin/mosh-server | 12:27 |
flux | it maybe tries to use your local locale settings on the device and fails it doesn't work? | 12:28 |
*** aleksm has joined #harmattan | 12:28 | |
flux | (the device probably has a small selection of locales available) | 12:28 |
*** bambee_ has quit IRC | 12:28 | |
*** bambee has joined #harmattan | 12:30 | |
*** bambee has joined #harmattan | 12:30 | |
mankeli | yeah, it actually might be that your ssh client tries to call some setlocale program, when instead it should start the mosh server | 12:30 |
flux | how would that happen? | 12:30 |
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 | 12:33 |
mankeli | but it seems that in here the ssh automatically tries to use setlocale, before starting mosh-server | 12:34 |
Khertan_Work | strange as ssh is working | 12:38 |
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) | 12:38 |
flux | maybe mosh should be more tolerant of such errors | 12:39 |
kimju | maybe, but such prints may break other things done over ssh too. | 12:41 |
*** elldekaa has quit IRC | 13:00 | |
*** snowpong has joined #harmattan | 13:09 | |
*** rigo has joined #harmattan | 13:13 | |
*** lardman has joined #harmattan | 13:15 | |
*** lardman has joined #harmattan | 13:15 | |
*** oberling_ is now known as oberling | 13:20 | |
*** miroslav has quit IRC | 13:20 | |
*** Adlan_ has quit IRC | 13:21 | |
*** aleksm has quit IRC | 13:27 | |
*** elldekaa has joined #harmattan | 13:28 | |
*** aleksander_m has joined #harmattan | 13:29 | |
*** elldekaa_ has joined #harmattan | 13:34 | |
*** lizardo has joined #harmattan | 13:35 | |
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. | 13:37 |
*** decibyte has quit IRC | 13:43 | |
*** faenil has joined #harmattan | 13:50 | |
*** jluisn has joined #harmattan | 14:11 | |
*** scoobertron has quit IRC | 14:11 | |
*** scoobertron has joined #harmattan | 14:11 | |
ajalkane | scoobertron: sure you can | 14:18 |
ajalkane | Or maybe I misremember | 14:18 |
ajalkane | Yeah I misremember. | 14:19 |
Stecchino | Does anyone here have examples of using libsso-qt? | 14:28 |
Stecchino | I'm specifically trying to use an oauth2 service. I'm not sure if I need to create an account-ui as well | 14:29 |
*** djszapi has joined #harmattan | 14:49 | |
djszapi | Siva: http://www.meetup.com/QtEverywhere/Helsinki-FI/577282/ | 14:49 |
*** ZogG_laptop has quit IRC | 14:52 | |
Siva | djszapi: I will be there if I am in town bro! | 14:53 |
*** aquarius has quit IRC | 15:00 | |
*** aquarius has joined #harmattan | 15:01 | |
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 | 15:02 |
Elleo | s/if/is/ | 15:02 |
infobot | Elleo meant: aquarius: is your ubuntu one stuff in a public repo anywhere? I wouldn't mind having a hack around when I have some spare minutes | 15:02 |
aquarius | Elleo, as in my phonegap thingy? | 15:02 |
Elleo | yeah | 15:02 |
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 | 15:03 |
aquarius | if I can get any phonegap app to work, mine will work :) | 15:03 |
Elleo | ah right, you've already got a working phonegap app then; cool | 15:03 |
aquarius | (well, I actually do need to add one function to the C++ backend to save binary files, but that's relatively trivial) | 15:04 |
Elleo | maybe I'll have a poke with the phonegap stuff then and see if I can get it working myself | 15:04 |
*** djszapi has left #harmattan | 15:04 | |
Elleo | I tend to do all my harmattan dev inside scratchbox rather than using the QtSDK packages | 15:05 |
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 :) | 15:05 |
Elleo | yeah, understandable | 15:05 |
aquarius | I'm more than happy to do it inside scratchbox if you fancy spending some time talking me through how to do it :) | 15:05 |
Elleo | well I'll see if it's actually doable in scratchbox first :P | 15:05 |
aquarius | :) | 15:06 |
Elleo | there's some good documentation on harmattan-dev.nokia.com for setting up scratchbox though | 15:06 |
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 | 15:06 |
Elleo | and getting it do X11 stuff nicely via Xephyr with it too | 15:06 |
aquarius | (more importantly, I can test the app without having to fire up scratchbox and the n9 emulator!) | 15:06 |
Elleo | although I seem to remember its a bit split up | 15:06 |
*** scoobertron has quit IRC | 15:06 | |
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 | 15:07 |
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 | 15:07 |
Elleo | in what way do you mean it isn't being a harmattan app? It's using standard QT widgets? | 15:07 |
Elleo | right, I get you | 15:07 |
aquarius | and I know so little about this that I don't even know which questions to ask ;) | 15:07 |
aquarius | there is a reason I want to build phonegap apps; I *understand* javascript :P | 15:08 |
Elleo | not sure if just linking against meegotouch will magically fix some of that or not | 15:08 |
aquarius | see previous point about not knowing anything. :P | 15:08 |
Elleo | I've tended to do all my harmattan stuff in QML rather than using normal Qt widgets | 15:08 |
Elleo | so I'll need to do a bit of exploring in that area too | 15:08 |
Elleo | I'm assuming if you got it running in scratchbox that it will at least build against Qt4 then? | 15:10 |
Elleo | or did you install Qt5 within scratchbox too? | 15:10 |
Elleo | ah from glancing at their blog it looks like it should build with qt4 | 15:11 |
*** ieatlint_ has joined #harmattan | 15:15 | |
aquarius | erm | 15:15 |
aquarius | I think I usedqt4 | 15:16 |
aquarius | but I am not sre :) | 15:16 |
Elleo | aquarius: okay, I have phonegap installed and working; where can I grab your stuff from? | 15:16 |
aquarius | hang on, let me see if I ever pushed the actual phonegap app | 15:16 |
*** jreznik_ has joined #harmattan | 15:16 | |
*** DocScrutinizer has quit IRC | 15:16 | |
*** DocScrutinizer has joined #harmattan | 15:16 | |
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 | 15:16 |
aquarius | ya, that's all mine is too :) | 15:16 |
*** acidjunk- has joined #harmattan | 15:16 | |
aquarius | it's not a hybrid | 15:16 |
Elleo | although it sounds from their blog like they recently rewrote a bunch of stuff to use QML, so maybe they fixed things | 15:17 |
aquarius | https://code.launchpad.net/~sil/+junk/u1files-html | 15:17 |
Elleo | aquarius: http://mikeasoft.com/~mike/phonegap-demo.png <-- like this? | 15:17 |
aquarius | ya, that. So that works, then | 15:18 |
aquarius | asshole. ;-) | 15:18 |
Elleo | heh | 15:18 |
aquarius | it doesn't work for me :) | 15:18 |
*** tomma_ has joined #harmattan | 15:18 | |
Elleo | have you updated the code recently? | 15:18 |
aquarius | which suggests that I am doing something dim and stupid :) | 15:18 |
aquarius | I think I've poked bits of the code since it was last pushed, but probably nothing which will stop it showing up | 15:19 |
aquarius | there might be tweaks to it which make it work better; I am not sure | 15:19 |
*** slingr- has joined #harmattan | 15:19 | |
aquarius | I sort of lost track between trying to compile the phonegap stuff in qt creator and installing scratchboxes and so on :) | 15:19 |
Elleo | I mean the qt phonegap stuff | 15:19 |
aquarius | ah, right. um | 15:19 |
Elleo | it sounds like they switched to a QML view at the beginning of March | 15:19 |
Elleo | so if your checkout was from before then that might be why things don't look so good for you | 15:20 |
aquarius | March 8th, according to the timestamps on the checked out files | 15:20 |
aquarius | I am more than happy to blow all this away and start again | 15:20 |
aquarius | at least partially since I've forgotten how to do anything at all with it anyway :) | 15:20 |
Elleo | well all I did was check out the code, build it and run it | 15:20 |
Elleo | so I'd guess any differences are due to them fixing things in the intervening time | 15:21 |
aquarius | ya, but you have all the scratchbox magic set up properly too, which I probably do not | 15:21 |
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? | 15:22 |
*** wook- has joined #harmattan | 15:22 | |
Elleo | aquarius: sure | 15:22 |
aquarius | k | 15:22 |
aquarius | so...tell me what to do ;-) | 15:22 |
Elleo | well, lets assume your scratchbox setup is okay | 15:23 |
aquarius | k | 15:23 |
pa | i was wondering: is there any dbus signal going around , when battery pct decreases or increases? | 15:23 |
Elleo | and try a fresh build of a new version of cordova | 15:23 |
Elleo | then if stuff still doesn't work we can try fiddling with scratchbox | 15:23 |
*** jreznik has quit IRC | 15:23 | |
*** khertan has quit IRC | 15:23 | |
*** tomma has quit IRC | 15:23 | |
*** slingr has quit IRC | 15:23 | |
*** acidjunkie has quit IRC | 15:23 | |
*** wook|off has quit IRC | 15:23 | |
*** ieatlint has quit IRC | 15:23 | |
Elleo | so first I did "git clone https://github.com/apache/incubator-cordova-qt.git" | 15:23 |
Elleo | then in scratchbox (using an x86 target at the moment), I ran "qmake" from inside the incubator-cordova-qt directory | 15:24 |
Elleo | followed by make and make install | 15:24 |
Elleo | which puts cordova in /opt/cordova | 15:24 |
*** ieatlint_ is now known as ieatlint | 15:24 | |
aquarius | oh, hang on; you're checking this out into a folder that scratchbox can see? | 15:24 |
Elleo | yeah | 15:24 |
Elleo | sorry should have explained that | 15:25 |
*** etrunko has joined #harmattan | 15:25 | |
Elleo | I have /scratchbox/users/mike/home/mike/scratchbox/ symlinked to /home/mike/scratchbox on the host | 15:25 |
Elleo | so I can interact between the two easily | 15:25 |
Elleo | (obviously replace mike with sil or similar) | 15:25 |
aquarius | ok, how do I start scratchbox? | 15:25 |
aquarius | (sorry for the remedial class you'r ehaving to give here :)) | 15:26 |
Elleo | heh, no worries | 15:26 |
Elleo | in a terminal just run "scratchbox" | 15:26 |
Elleo | that'll stick you inside a scratchbox session | 15:26 |
pa | yes, is there any tutorial, better than the nokia provided one? | 15:26 |
Elleo | in a second terminal we need to setup Xephyr | 15:26 |
Elleo | which you can do by running "Xephyr :2 -host-cursor -screen 854x480x16 -dpi 96 -ac +extension Composite &" | 15:26 |
*** FACEFOX has quit IRC | 15:27 | |
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) | 15:27 |
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 | 15:27 |
aquarius | ok, xephyr running | 15:27 |
Elleo | aquarius: that's the expected output | 15:28 |
aquarius | bah. make fails | 15:28 |
Elleo | qmake just parses the .pro file and creates some Makefiles based on it | 15:28 |
aquarius | main.cpp:36: fatal error: MDeclarativeCache: No such file or directory | 15:28 |
Elleo | okay you're just missing some libraries | 15:28 |
aquarius | this is going to mean installing a second copy of the whole world inside scratchbox, isn't it? :) | 15:29 |
*** xarcass has quit IRC | 15:29 | |
Elleo | libqt4-declarative-dev is probably what you're after there | 15:29 |
Elleo | you should be able to just 'apt-get install libqt4-declarative-dev' directly within the scratchbox environment | 15:29 |
aquarius | libqt4-declarative-dev is already the newest version. | 15:29 |
Elleo | hmm | 15:30 |
Elleo | ah, no it'll be a meegotouch lib | 15:30 |
Elleo | libmeegotouch-dev might be all you need | 15:31 |
aquarius | libmeegotouch-dev is already the newest version. | 15:32 |
Elleo | if only scratchbox had apt-file :/ | 15:32 |
aquarius | ya | 15:32 |
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. " | 15:35 |
aquarius | but...have now installed both those (already had pkg-config) and it didn't help. darn. | 15:36 |
Elleo | yeah I just found it in "applauncherd-dev_0.30.5+rq730927+0m6_all.deb" | 15:37 |
Elleo | in my /var/apt/cache through a terrible brute force search | 15:37 |
Elleo | not sure why it's not being found for you still then | 15:38 |
Elleo | actually | 15:38 |
Elleo | try rerunning qmake | 15:38 |
Elleo | might be that because it wasn't there it didn't append it to the include list | 15:38 |
aquarius | yeah, I just thought of that :) | 15:38 |
aquarius | fixed! | 15:38 |
aquarius | woot | 15:38 |
Elleo | awesome | 15:38 |
aquarius | so that's a cordova-qt bug, amirite? it's a build dependency. | 15:38 |
aquarius | anyway, make, make install worked | 15:39 |
Elleo | yeah, at least in as much as qmake should probably have reported that something was missing | 15:40 |
aquarius | so now I can just run it? | 15:40 |
aquarius | ah, no, I presumably need to run the rest of meego first ;) | 15:41 |
Elleo | yeah, run "meego-sb-session start" in scratchbox | 15:41 |
Elleo | that'll start up the graphical stuff in your xephyr session | 15:42 |
Elleo | then you should have a Cordova icon on your launcher that you can use to start it | 15:42 |
aquarius | omg I do! | 15:42 |
aquarius | and it works! | 15:42 |
aquarius | woo! | 15:42 |
aquarius | ok that's four zillion times easier than using qt creator. | 15:42 |
aquarius | big kiss for Mike, yes indeed | 15:43 |
Elleo | great :) | 15:43 |
aquarius | ok, now to try u1 app :) | 15:44 |
Elleo | yeah, I haven't had much success with that yet | 15:44 |
*** FACEFOX has joined #harmattan | 15:44 | |
Elleo | just comes up as a blank page for me at the moment | 15:44 |
aquarius | biggest problem with xephyr is how to swipe an app away | 15:44 |
Elleo | aquarius: it does work in xephyr, you just have to be really close to the edge of the window | 15:44 |
aquarius | yeah, it's just fiddly | 15:44 |
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 | 15:45 |
aquarius | can I make the xephyr window be smaller? My screen isn't really tall enough | 15:45 |
aquarius | or will that sod up meego 'cos it expects the screen to be the size of the one on the n9? | 15:45 |
Elleo | err, my advice would be to give it a go and see what happens :P | 15:46 |
* aquarius laughs | 15:46 | |
Elleo | you might get some of the launcher stuff cut off the bottom | 15:46 |
Elleo | but I'd expect cordova stuff to get resized properly | 15:46 |
*** jreznik_ has quit IRC | 15:47 | |
*** jreznik has joined #harmattan | 15:47 | |
aquarius | hm. Do I have to restart meego to make it pick up a new version of the www files or something? | 15:50 |
aquarius | confused. | 15:50 |
*** trx has quit IRC | 15:50 | |
Elleo | aquarius: you shouldn't need to | 15:50 |
Elleo | make sure you close the running version first though | 15:51 |
*** aleksander_m has quit IRC | 15:51 | |
Elleo | its set to single instance mode, so if its left running in the background it'll just bring that back to the top | 15:51 |
aquarius | ah, dammit, swiping down from the top wasn't killing it. | 15:51 |
Elleo | yeah, don't think that's enabled in the scratchbox version | 15:51 |
Elleo | iirc that was introduced in PR1.2 | 15:51 |
Elleo | or at least enabled by default then, might have been around a bit earlier | 15:52 |
aquarius | ok, I have my app running, yay :) | 15:52 |
aquarius | failing to sign in. Doesn't say why, which is likely my fault | 15:52 |
aquarius | although no console, which doesn't help :) | 15:52 |
Elleo | aquarius: to start stuff at the console just do "meego-run /opt/cordovaqt/bin/cordovaqt" | 15:53 |
aquarius | ooh that *is* useful | 15:53 |
*** tomma_ is now known as tomma | 15:53 | |
aquarius | if it dumps the js console to the terminal, which I don't think it does, but that's not your fault :) | 15:53 |
Elleo | aquarius: yeah, just trying to write a patch to do that now | 15:54 |
Elleo | I ended up needing to do that for an app I tried writing to get the amazon cloud reader working (never managed it) | 15:54 |
Elleo | so it shouldn't be hard to adapt | 15:54 |
aquarius | hrm no web browser | 15:54 |
*** mece has quit IRC | 15:54 | |
aquarius | wanted to test whether this meego can see the internet | 15:55 |
Elleo | you could try pinging something from the terminal | 15:55 |
aquarius | on the other hand I dno't really want forty terabytes of webkit source, so I can see *why* there isn't one :) | 15:55 |
Elleo | although I seem to remember having problems getting anything using SSL working with webviews in scratchbox | 15:55 |
Elleo | so I might shift my stuff on to my n950 now and see how well stuff runs there | 15:56 |
aquarius | ok, the scratchbox terminal can see the net (via w3m! no ping :)) | 15:56 |
Elleo | ah good | 15:56 |
aquarius | worried about your SSL issue, mind | 15:56 |
*** jreznik_ has joined #harmattan | 15:56 | |
aquarius | but hey ho. I can just add debugging alerts | 15:56 |
*** trx has joined #harmattan | 15:57 | |
aquarius | do you get the front page with the login form pop up? | 15:57 |
Elleo | nope, I just get a blank page | 15:57 |
aquarius | k | 15:57 |
*** jreznik has quit IRC | 15:57 | |
aquarius | aah, yeah | 15:57 |
aquarius | cordova-qt has all its js in separate files | 15:58 |
aquarius | lws | 15:58 |
aquarius | Elleo, http://ubuntuone.com/4lLvcfXyGQfJFqbgKxhpIV for the contents of the www directory | 16:00 |
aquarius | I mean, it doesn't connect, yet, but you should at least get the login form :) | 16:00 |
Elleo | ah, cool thanks | 16:00 |
Elleo | aquarius: still doesn't work in my scratchbox, but runs on my n950 | 16:04 |
Elleo | so there's probably something dodgy about my scratchbox setup in that regard | 16:04 |
aquarius | doesn't work in the sense of "blank screen"? | 16:05 |
Elleo | yeah | 16:05 |
aquarius | cool | 16:05 |
aquarius | when you say it works on your n950... does it actually *work*? as in, you enter your U1 details and it connects? :) | 16:05 |
Elleo | haven't tried that yet | 16:05 |
Elleo | it says signing in briefly, then takes me back to the login | 16:06 |
aquarius | k | 16:11 |
aquarius | that might mean it's failing | 16:11 |
aquarius | or might mean something else :) | 16:11 |
aquarius | here in scratchbox I'm getting the damned xhrs failing | 16:11 |
aquarius | trying to remember whether I had to change something in cordova to make them work | 16:12 |
*** harbaum has quit IRC | 16:14 | |
*** rm_work has joined #harmattan | 16:22 | |
*** rm_work has joined #harmattan | 16:23 | |
*** ajalkane has quit IRC | 16:25 | |
*** pinheiro has quit IRC | 16:33 | |
*** hardaker has joined #harmattan | 16:37 | |
*** shanttu has joined #harmattan | 16:38 | |
*** pinheiro has joined #harmattan | 16:38 | |
*** jreznik_ has quit IRC | 16:50 | |
*** rigo has quit IRC | 17:04 | |
*** hhartz has quit IRC | 17:07 | |
itsnotabigtruck | portal 2 level editor set to be released on the 8th | 17:10 |
itsnotabigtruck | it's a user-friendly alternative to hammer for building portal maps, plus probably some sort of interface to share/install such maps | 17:10 |
*** tgalal has quit IRC | 17:12 | |
*** n9appscom has joined #harmattan | 17:14 | |
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) | 17:16 |
aquarius | (when running the app with meego-run /path/to/app that is) | 17:16 |
itsnotabigtruck | aquarius: cat meego-run and see what it does | 17:16 |
itsnotabigtruck | it might be trying to reset the environment or something | 17:16 |
itsnotabigtruck | (it's a script) | 17:17 |
aquarius | it doesn't seem to; I tried that :) | 17:17 |
aquarius | I even tried setting the envar *in* meego-run which still isn't doing it. | 17:18 |
aquarius | maybe import tracing just isn't available in the qt I have | 17:18 |
Elleo | aquarius: I can send you the output from my device if you like, it works there | 17:20 |
aquarius | Elleo, it works on cordova apps? | 17:20 |
*** miroslav has joined #harmattan | 17:21 | |
Elleo | aquarius: yep | 17:21 |
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 :) | 17:21 |
aquarius | cannot, for the life of me, work out why XHRs inside a webview are failing :( | 17:21 |
Elleo | aquarius: http://mikeasoft.com/~mike/import-trace.txt there's the import trace from on the device | 17:23 |
Elleo | not sure it's going to tell you anything helpful though | 17:24 |
itsnotabigtruck | if aegis-exec or invoker are being used, one of those might be the perp | 17:25 |
itsnotabigtruck | bbiaf | 17:25 |
aquarius | ahaha! some XHRs do work. So maybe this is teh alluded-to SSL problem. | 17:25 |
aquarius | and indeed it is! https URLs fail to request. | 17:26 |
Elleo | ah | 17:26 |
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. | 17:28 |
aquarius | so, Elleo, you mentioned you'd already solved this? ;) | 17:28 |
Elleo | well I did some stuff to ignore ssl errors | 17:29 |
Elleo | but that involved subclassing QWebPage and setting it on the QWebView | 17:29 |
Elleo | which might not be so easy when doing everything in QML | 17:29 |
aquarius | ya | 17:30 |
Elleo | I'm just poking around at that now | 17:30 |
aquarius | I can't see how you do that in qml :( | 17:30 |
*** hardaker has quit IRC | 17:30 | |
Elleo | well in the worst case I can probably get hold of the webview object in C++ and set a new page there | 17:30 |
Elleo | I'm just seeing if I can do it in a simpler way first | 17:30 |
aquarius | http://www.developer.nokia.com/Community/Wiki/How_to_ignore_ssl_errors_to_get_https_website_work_on_QML_Webview | 17:30 |
Elleo | yeah, that was pretty much my fallback solution of doing it in C++ | 17:31 |
aquarius | i have to create my own overriding QNetworkAccessManager and tell QML to use it? really? | 17:31 |
aquarius | am I being punished for something? | 17:31 |
Elleo | you don't actually need to do that | 17:31 |
Elleo | since the sslerrors thing is done as signal | 17:31 |
Elleo | you can just get the existing network manager and connect to that signal | 17:32 |
aquarius | my C++ is way, way too rubbish to do this | 17:32 |
Elleo | I'll have a stab and get back to you | 17:32 |
aquarius | really? | 17:32 |
aquarius | wow! | 17:32 |
aquarius | thanks! | 17:32 |
aquarius | you can replicate the problem by just trying to load https://login.ubuntu.com/ in a qml webview | 17:33 |
Elleo | okay | 17:33 |
aquarius | (it comes up blank, presumably because it's actually failing) | 17:36 |
Elleo | hmm, actually I think I'll have to do this the way they suggest of actually making a factory | 17:37 |
Elleo | getting hold of the webview widget is pretty messy | 17:37 |
aquarius | I assume that by the time the in-QML onLoadFailed handler fires, it's too late? | 17:39 |
aquarius | yeah, looks like it | 17:40 |
aquarius | not that you get passed the qnetworkmanager inside qml anyway | 17:40 |
itsnotabigtruck | Elleo aquarius: don't ignore ssl errors! | 17:47 |
*** hardaker has joined #harmattan | 17:47 | |
aquarius | itsnotabigtruck, for right now I want to ignore them to confirm that that's the problem | 17:48 |
itsnotabigtruck | also i thought it handled the validation for you, mostly | 17:48 |
aquarius | after that, I can try and work out what to do to actually *solve* it | 17:48 |
itsnotabigtruck | and alright | 17:48 |
itsnotabigtruck | just don't leave that in x_x far too many apps ignore certificate errors | 17:48 |
itsnotabigtruck | which neutralizes the security of ssl | 17:48 |
aquarius | agreed | 17:49 |
itsnotabigtruck | even major ones like trillian the IM client | 17:49 |
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 :) | 17:49 |
aquarius | login.ubuntu.com has a perfectly legit cert, and I'm being denied access to it *anyway* by my meego scratchbox env. | 17:49 |
aquarius | that's not SSL's fault. :) | 17:49 |
itsnotabigtruck | oh | 17:50 |
itsnotabigtruck | i just realized | 17:50 |
itsnotabigtruck | i don't think the scratchbox setup ships with any trusted certs | 17:50 |
aquarius | ta daah. | 17:50 |
aquarius | that's the prob :) | 17:50 |
itsnotabigtruck | tar up /etc/ssl/certs on your phone and xfer it over and that ought to solve the problem, i thin | 17:50 |
aquarius | you reckon? | 17:50 |
aquarius | not that I know how to get to folders on my phone | 17:50 |
aquarius | but that's an interesting thing to try! | 17:50 |
itsnotabigtruck | just SSH in, tar it, and SCP it into scratchbox | 17:52 |
Elleo | itsnotabigtruck: awesome, that works | 17:53 |
Elleo | aquarius: I'll upload my certs.tar.gz for you if you like | 17:54 |
aquarius | am just copying the ones from Ubuntu for now :) | 17:54 |
Elleo | ah okay | 17:54 |
itsnotabigtruck | the phone copy solution is better since that way you have the *same* trusted certs | 17:55 |
*** hardaker has quit IRC | 17:56 | |
aquarius | itsnotabigtruck, agreed | 17:57 |
Elleo | aquarius: right, that brings things in scratchbox to be in basically the same situation they are on my phone now | 17:57 |
aquarius | and that's what I shall do :) | 17:57 |
aquarius | but copying from ubuntu is quicker | 17:57 |
aquarius | however... doesn't work :( | 17:57 |
Elleo | aquarius: http://mikeasoft.com/~mike/certs.tar.gz | 17:57 |
Elleo | those are straight from my phone | 17:57 |
* aquarius tries that | 17:58 | |
aquarius | woo! | 17:59 |
aquarius | that seems to work | 18:00 |
aquarius | so, different certs, or different format, or something :) | 18:00 |
aquarius | huge success! | 18:00 |
aquarius | I can now see u1 files! | 18:01 |
aquarius | woo! | 18:01 |
aquarius | you can't *download* any without my cordova patch, which I shall need to reconstitute | 18:01 |
aquarius | but nonetheless, yay-hey-hurray! | 18:01 |
Elleo | nice | 18:02 |
aquarius | no persistent localStorage, either, but I think I know how to fix that too | 18:02 |
aquarius | so you have to sign in and get a new token every time | 18:02 |
aquarius | but... these are all little problems | 18:02 |
aquarius | Elleo, itsnotabigtruck, you're both superb | 18:03 |
aquarius | now it's just grunt work to get everything working :) | 18:03 |
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 ;) | 18:03 |
Elleo | right, well I'll leave all the remaining hard stuff to you then since its stuff you already know ;) | 18:03 |
* aquarius gris | 18:03 | |
* aquarius grins | 18:03 | |
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 | 18:04 |
Elleo | packaged* | 18:04 |
aquarius | I shall do exactly that :) | 18:07 |
Elleo | I did have a poke at getting the official daemon working when I first got my phone | 18:07 |
Elleo | can't remember what problems I ran into though | 18:07 |
Elleo | possible an insane amount of dependencies that also needed packaging that just made me give up in despair or something | 18:08 |
Elleo | possibly* | 18:08 |
*** Khertan_Work has quit IRC | 18:09 | |
*** miroslav has quit IRC | 18:13 | |
aquarius | ya. Syncdaemon blithely assumes that it's running on something relatively close to an Ubuntu desktop. | 18:22 |
*** gabriel9 has quit IRC | 18:22 | |
aquarius | (well, it did then) | 18:22 |
*** acidjunk- is now known as acidjunkie | 18:22 | |
aquarius | an N9's considerably closer to an Ubuntu desktop than every other phone, but it's still not there | 18:22 |
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 | 18:23 |
aquarius | but I'm happy with the Android/iOS model of "browse the file list and manually select files to download" on my N9 :) | 18:23 |
Elleo | ah right, maybe I'll have another poke at it some time then | 18:23 |
Elleo | yeah, I'd quite like to have auto-syncing of stuff myself | 18:24 |
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 | 18:24 |
itsnotabigtruck | if you aren't already doing so it might be advisable to start from the debian/ubuntu packaging | 18:25 |
Elleo | yeah that's what I was doing last time around | 18:25 |
itsnotabigtruck | right, the dependencies...well, but you'd have the same dependencies whether or not you build through the package, or independently | 18:26 |
itsnotabigtruck | but maybe many of those deps can be pared out | 18:26 |
Elleo | I've probably still got random bits an pieces in my OBS | 18:26 |
Elleo | I think I just got fed up of going through all of them one by one | 18:27 |
Elleo | iirc it had a pretty large dependency tree at the time | 18:27 |
*** n9appscom has quit IRC | 18:28 | |
*** faenil has joined #harmattan | 18:38 | |
*** elldekaa has quit IRC | 18:40 | |
*** elldekaa_ has quit IRC | 18:40 | |
*** hardaker has joined #harmattan | 18:48 | |
*** scoobertron has joined #harmattan | 18:53 | |
*** pinheiro has quit IRC | 19:00 | |
*** FACEFOX has quit IRC | 19:08 | |
aquarius | crapsticks. | 19:08 |
aquarius | the webview doesn't support modern enough stuff :( | 19:09 |
aquarius | no uint8array | 19:09 |
aquarius | which means you can't download binary files | 19:09 |
aquarius | darn it. | 19:09 |
Elleo | ah | 19:09 |
Elleo | that's a shame | 19:09 |
aquarius | yes. Yes it is. | 19:09 |
aquarius | :( | 19:09 |
aquarius | because I don't want to write something that just hands it off to Qt | 19:09 |
itsnotabigtruck | why not? | 19:10 |
aquarius | as then it's specifically an N9 app, not a phonegap app which I can also bring to other platforms | 19:10 |
Elleo | would that be so bad? if it's implemented as a cortardo plugin it would be fairly transparent | 19:10 |
itsnotabigtruck | (also this crap is why i hate web tech) | 19:10 |
itsnotabigtruck | the web got popular despite the immensely crappy technologies powering it, not because of them | 19:10 |
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 | 19:11 |
aquarius | we shall have to agree to differ on that. | 19:11 |
itsnotabigtruck | doesn't mean it's a good idea to spread web stuff where it isn't needed | 19:11 |
aquarius | annoyed. Darn it. | 19:12 |
*** NIN101 has joined #harmattan | 19:12 | |
*** FACEFOX has joined #harmattan | 19:13 | |
* aquarius checks on actual N9 | 19:15 | |
aquarius | nope. No Uint8Array, so no binary download support from inside JS. | 19:16 |
aquarius | pants. | 19:16 |
aquarius | If I'm gonna lock it into N9 only, I might as well write it in qml. grr. | 19:16 |
*** NIN102 has joined #harmattan | 19:16 | |
itsnotabigtruck | i thought this was all about porting something that was already written | 19:17 |
aquarius | itsnotabigtruck, it is already written... but the harmattan webview isn't new enough to support some of the JS it uses. | 19:17 |
itsnotabigtruck | phonegap port + existing ubuntu1 phonegap thing = ubuntu1 on n9 | 19:17 |
itsnotabigtruck | well, you just said "might as well write it in qml" | 19:17 |
itsnotabigtruck | that implies starting over, which defeats the point | 19:18 |
itsnotabigtruck | i mean, a native client would probably be far better anyway, the only reason to use phonegap is to save work | 19:18 |
aquarius | itsnotabigtruck, that's the point; if I want U1 support on the N9, then I can't use the existingly-written app | 19:18 |
Elleo | aquarius: you can use most of the existing app though | 19:19 |
*** NIN101 has quit IRC | 19:19 | |
Elleo | just replacing whatever the current download handler is with a call to a cortardo plugin | 19:19 |
aquarius | Elleo, yeah, I suppose... and have a "downloadURLToFilesystem(url, filepath)" method | 19:19 |
itsnotabigtruck | that's probably better anyway, you could integrate with transfer ui | 19:20 |
aquarius | that's just less fun to do, though. I do enough complex dependency-fiddling software engineering stuff in my day job. :) | 19:20 |
itsnotabigtruck | like grob does | 19:20 |
Elleo | heh | 19:20 |
itsnotabigtruck | also while you're at it, you couldmake this integrate with accounts ui also | 19:20 |
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 | 19:21 |
itsnotabigtruck | ubuntu1 uses oauth so it's probably not that difficult | 19:21 |
aquarius | specifically, I think to myself: do I want to work on this, or do I go down the pub? | 19:21 |
itsnotabigtruck | and, umm, i thought you said this was an already written phonegap app | 19:21 |
aquarius | and the pub wins ;-) | 19:21 |
*** FACEFOX has quit IRC | 19:21 | |
aquarius | it is already written -- well, most of it is, anyway | 19:21 |
itsnotabigtruck | no matter what, all effort put into porting it to n9 benefits n9 users only...that's obvious | 19:21 |
itsnotabigtruck | you keep claiming that modifying it to make it n9 compatible renders it incompatible with everything else | 19:22 |
itsnotabigtruck | which makes no sense whatsoeevr | 19:22 |
itsnotabigtruck | also, one of the big strengths of the N9 is the integration features like transfers, accounts, sharing, etc. | 19:22 |
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. :) | 19:22 |
itsnotabigtruck | unfortunately all of those are also super badly documented | 19:22 |
itsnotabigtruck | but apps are a lot nicer when they use them | 19:22 |
aquarius | oh, I totally agree that the app would be excellent if it was properly integrated into the N9 | 19:23 |
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 :) | 19:24 |
itsnotabigtruck | also, making an oauth account plugin that targets exactly one provider is actually pretty easy | 19:24 |
itsnotabigtruck | yeah, but we're not talking about (the decrepit platform that is) the blackberry :p | 19:25 |
* aquarius laughs | 19:25 | |
aquarius | it's actually got the best browser on the market, believe it or not. | 19:25 |
aquarius | rest of the platform is Quite Crap, mind :P | 19:25 |
*** FACEFOX has joined #harmattan | 19:25 | |
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 | 19:25 |
Anssi138 | playbook is quite fun, very responsive to use. | 19:26 |
Anssi138 | for that hw ofc. | 19:26 |
itsnotabigtruck | well, playbook's os is totally separate from the blackberry os | 19:26 |
itsnotabigtruck | they're supposed to be unified soon | 19:26 |
itsnotabigtruck | "soon" | 19:26 |
itsnotabigtruck | it's taking way longer than it was supposed to | 19:26 |
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 :) | 19:27 |
itsnotabigtruck | speaking of that, that's probably something to do in a harmattan cssu type thing | 19:27 |
itsnotabigtruck | update webkit, along with the other system libs | 19:28 |
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'. | 19:28 |
itsnotabigtruck | can't you like ifdef it :p | 19:28 |
itsnotabigtruck | this isn't about rendering it n9 only, this is about adding extra n9 sauce | 19:29 |
aquarius | itsnotabigtruck, that's roughly what I plan to do, I think | 19:29 |
itsnotabigtruck | hmm, you could run your javascript files through cpp | 19:31 |
itsnotabigtruck | (c preprocessor) | 19:31 |
aquarius | I could. | 19:31 |
aquarius | edging perilously close to "this is hard" again, then, though ;) | 19:31 |
aquarius | ah, I'm over the major hurdle now thanks to you guys anyway | 19:31 |
aquarius | now's just a Small Matter Of Programming | 19:31 |
aquarius | specifically, some JS fiddling and then working out how to do os.makedirs("~/u1/" + path); urllib.urlretrieve(url, "~/u1/" + path + "/" + filename) in C++ :) | 19:33 |
Elleo | better make that ~/MyDocs/u1/ ;) | 19:33 |
aquarius | really? ah, that's useful info :) | 19:33 |
*** FACEFOX has quit IRC | 19:34 | |
aquarius | makes handling whole-folder downloads a lot easier, mind; I just throw 20 URLs at the back end rather than one. ;) | 19:34 |
Elleo | yeah, MyDocs is the big fat formatted partition | 19:34 |
aquarius | and I can shut down the app without interrupting the downloads, too | 19:34 |
Elleo | yeah | 19:35 |
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? | 19:35 |
Elleo | yeah, you can put it in the store | 19:35 |
itsnotabigtruck | aquarius: just depend on python | 19:36 |
itsnotabigtruck | however there's some other stupidities related to both ovi and afm that could be problematic | 19:36 |
Elleo | well, python and python-pyside.* | 19:36 |
itsnotabigtruck | best to focus on making a good app first | 19:36 |
*** FACEFOX has joined #harmattan | 19:36 | |
bef0rd | yea, nokia store will ask and download the dependencies | 19:36 |
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 | 19:37 |
itsnotabigtruck | https://meego.gitorious.org/meego-sharing-framework/transfer-ui/trees/master/libtuiclient/TransferUI | 19:37 |
itsnotabigtruck | check that out | 19:37 |
itsnotabigtruck | but that won't do the download for you... | 19:37 |
itsnotabigtruck | i wonder how grob implements that stuff | 19:37 |
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 | 19:38 |
itsnotabigtruck | as for downloads and uploads, http://qt-project.org/doc/qt-4.8/qnetworkaccessmanager.html | 19:38 |
Elleo | aquarius: then you'd just needs a few hooks into transferui when certain signals are triggered to update it | 19:39 |
mankeli | Elleo: there is atleast one python app in store which i know of. it's named "anglegraph" | 19:40 |
itsnotabigtruck | http://harmattan-dev.nokia.com/docs/library/html/transfer-ui/main.html better docs | 19:40 |
aquarius | oh, I still have to *do* the transfers myself? the TransferUI is just for showing progress? | 19:40 |
Elleo | yeah | 19:41 |
aquarius | I was hoping I could just say "here, meego, download this url to this filesystem location and update things yourself". | 19:41 |
aquarius | so my if-the-app-quits-the-downloads-carry-on plan is hard again, then :) | 19:41 |
aquarius | could shell out to wget. ;) | 19:41 |
Elleo | heh | 19:41 |
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 | 19:41 |
itsnotabigtruck | grob downloads seem to continue if one exits grob...not sure how it actually implements that | 19:42 |
itsnotabigtruck | possibly simply by not actually exiting | 19:42 |
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 | 19:42 |
itsnotabigtruck | on one hand, shipping is better than perfect | 19:43 |
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 :) | 19:43 |
itsnotabigtruck | on the other, having all this integration stuff would be super cool | 19:43 |
itsnotabigtruck | unfortunately there aren't very many examples of the integration stuff, because few people ever bother doing it | 19:43 |
itsnotabigtruck | that's why i'd like to see some apps that have it | 19:44 |
itsnotabigtruck | note that if you use signon oauth, i think that'll cause your app to depend on PR1.2 at a minimum | 19:44 |
itsnotabigtruck | currently the ovi baseline is PR1.1 | 19:45 |
*** gabriel9 has joined #harmattan | 19:46 | |
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 | 19:47 |
*** rm_work has quit IRC | 19:48 | |
*** lamikr has quit IRC | 19:49 | |
*** cityLights has quit IRC | 20:02 | |
*** ZogG_laptop has joined #harmattan | 20:05 | |
*** lamikr has joined #harmattan | 20:10 | |
*** elldekaa has joined #harmattan | 20:13 | |
*** elldekaa_ has joined #harmattan | 20:14 | |
*** elldekaa has quit IRC | 20:16 | |
*** pinheiro has joined #harmattan | 20:25 | |
*** ab has quit IRC | 20:28 | |
itsnotabigtruck | aquarius: ok, just had an idea on how to implement this | 20:33 |
itsnotabigtruck | so you'd have a pure C++ binary that handles downloads and uploads using qt and transferui | 20:33 |
itsnotabigtruck | you spawn that from your phonegap for those | 20:34 |
itsnotabigtruck | then you also have a C++ plugin for handling signon identities | 20:34 |
itsnotabigtruck | in order to get the oauth token | 20:34 |
*** ab has joined #harmattan | 20:34 | |
itsnotabigtruck | then for the account plugin, you might be able to get away with using XML files only | 20:35 |
itsnotabigtruck | if ubuntu one's oauth login page allows specifying the username in the querystring, that'll make the oauth stuff a lot easier | 20:35 |
itsnotabigtruck | (like twitter allows) | 20:35 |
*** risca has joined #harmattan | 20:36 | |
itsnotabigtruck | also https://betalabs.nokia.com/apps/nokia-public-transport-for-nokia-n9 apparently this was just released | 20:37 |
*** snowpong has quit IRC | 20:37 | |
*** gavinrharper has joined #harmattan | 20:39 | |
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 | 20:39 |
*** faenil has quit IRC | 20:48 | |
RST38h | How do I clear cookies in the web browser? | 20:48 |
jonni | gavinrharper: dont know what is preferred way, personally I used x events in one of my ovi store application. | 20:49 |
aquarius | itsnotabigtruck, currently experimenting with python | 20:50 |
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 :( | 20:51 |
aquarius | http://wiki.meego.com/Getting_started_with_Harmattan_Python seems to not be right, as far as running in scratchbox goes ;( | 20:51 |
gavinrharper | jonni: Can you please elaborate? | 20:52 |
gavinrharper | This is a proof of concept application so I'm hoping not to register with Nokia | 20:52 |
*** harbaum has joined #harmattan | 20:53 | |
jonni | gavinrharper: google "XIconifyWindow" | 20:54 |
itsnotabigtruck | aquarius: how would python help with this though | 20:55 |
aquarius | itsnotabigtruck, it wouldn't, necessarily; I'm just experimenting with python :) | 20:55 |
gavinrharper | jonni: Thank you | 20:55 |
itsnotabigtruck | ah ok :p | 20:56 |
*** gavinrharper has quit IRC | 20:56 | |
itsnotabigtruck | ^ lame | 20:56 |
itsnotabigtruck | hate it when people only join up for exactly long enough to get a question answered | 20:57 |
*** jluisn has quit IRC | 21:06 | |
*** jluisn has joined #harmattan | 21:07 | |
*** jluisn has quit IRC | 21:08 | |
*** jluisn has joined #harmattan | 21:09 | |
*** scoobertron has quit IRC | 21:12 | |
Elleo | aquarius: yeah, you probably want to look more in to using the qt-components with QML and python for a proper harmattan experience | 21:15 |
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 | 21:16 |
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 | 21:16 |
Elleo | with various examples interspersed, PageStacks are probably a good place to start | 21:16 |
Elleo | ah yeah, that's a pretty good one too | 21:16 |
*** jluisn has quit IRC | 21:17 | |
Elleo | http://blog.mikeasoft.com/2012/04/27/seagull-strike/ <-- a new way to waste your time ;) | 21:19 |
itsnotabigtruck | lol | 21:20 |
*** jluisn has joined #harmattan | 21:21 | |
*** jluisn has quit IRC | 21:21 | |
*** jluisn has joined #harmattan | 21:22 | |
*** jluisn has quit IRC | 21:23 | |
*** jluisn has joined #harmattan | 21:27 | |
*** cityLights has joined #harmattan | 21:27 | |
*** ab has quit IRC | 21:32 | |
*** ab has joined #harmattan | 21:32 | |
*** ab has joined #harmattan | 21:32 | |
*** arcean_ has joined #harmattan | 21:35 | |
*** arcean has quit IRC | 21:38 | |
*** cityLights has quit IRC | 21:42 | |
*** cityLights has joined #harmattan | 21:55 | |
*** elldekaa_ has quit IRC | 21:56 | |
*** piggz has joined #harmattan | 21:59 | |
*** faenil has joined #harmattan | 22:00 | |
faenil | hi people, how do you get double tap events on mobile with Qt? | 22:01 |
*** tbf has quit IRC | 22:03 | |
*** Sniper_swe has joined #harmattan | 22:04 | |
*** arcean_ has quit IRC | 22:08 | |
*** Sniper_swe has quit IRC | 22:11 | |
*** arcean has joined #harmattan | 22:12 | |
*** jluisn has quit IRC | 22:17 | |
jonni | faenil: if (const QGesture *g = event->gesture(Qt::DoubleTapGesture)) { | 22:25 |
faenil | jonni, qml ? | 22:25 |
*** ab has quit IRC | 22:26 | |
*** ab[out] has joined #harmattan | 22:26 | |
*** ab[out] has joined #harmattan | 22:26 | |
faenil | jonni, there seems to be no qml alternative to that | 22:29 |
*** elldekaa_ has joined #harmattan | 22:30 | |
jonni | faenil: you need to listen for single taps and use timers to see if its near enough to be double | 22:30 |
faenil | jonni, if only it worked | 22:31 |
faenil | jonni, I'm doing that ...but it doesn't work, the deltaTime returned seems to be random | 22:32 |
jonni | faenil: or just remembered, on qml there is onDoubleClick | 22:32 |
faenil | probably due to Android-qt port or dunno what | 22:32 |
faenil | jonni, that doesn't work | 22:32 |
faenil | jonni, it's only fired at times | 22:32 |
jonni | faenil: it does work, its used by grob for its doubleclick zoom | 22:32 |
jonni | faenil: and its also use in qtwebrowser example in sdk. | 22:33 |
faenil | jonni, it doesn't work on Qt for Android...it only gets the doubleClick if I doubleclick on the exact same spot | 22:33 |
faenil | which you know it's not the case on tablet/phones | 22:34 |
faenil | jonni, doubleclick is for mice, afaik | 22:34 |
jonni | ah I tough that you were asking for harmattan | 22:34 |
jonni | for android you most likely need to listen for raw events and make a plugin for that. | 22:35 |
faenil | jonni, most likely, I hoped there was something made for double tap on QML | 22:36 |
faenil | not doubleclick | 22:37 |
faenil | ... | 22:37 |
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 | 22:37 |
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. | 22:38 |
faenil | yeah I read that article thanks ;) | 22:42 |
*** n9appscom has joined #harmattan | 22:42 | |
*** scoobertron has joined #harmattan | 22:43 | |
*** ab[out] has quit IRC | 22:54 | |
*** ab[out] has joined #harmattan | 22:54 | |
*** harbaum has quit IRC | 23:00 | |
*** bef0rd is now known as [NULL]bef0rd | 23:04 | |
*** beford has joined #harmattan | 23:10 | |
*** ab[out] is now known as ab | 23:23 | |
*** ukhamitov has joined #harmattan | 23:31 | |
*** n9appscom has quit IRC | 23:31 | |
*** teleshoes has joined #harmattan | 23:32 | |
*** ukhamitov has quit IRC | 23:32 | |
*** ajalkane has joined #harmattan | 23:48 | |
*** Venemo has joined #harmattan | 23:57 | |
*** gabriel9 has quit IRC | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!