[00:00] Akiva-Thinkpad, Channel ubuntu-rtm not found on server, Channel rtm not found on server [00:00] ahoneybun, is there a release to manufacturer channel? [00:01] Akiva-Thinkpad, https://system-image.ubuntu.com/ubuntu-touch/ [00:02] is this an irc channel [00:02] * Akiva-Thinkpad is super tired, about to go to bed [00:02] mmmm go [00:07] ahoneybun, gonna head to bed [00:08] night all [00:12] * ahoneybun is tired of the icons on ubuntu touch flicking everytime he scrolls [00:17] +1 [00:30] * ahoneybun thinks he understand anchors now! [00:36] I got my textfield to not be inside my button! [00:37] thanks balloons [00:46] popey, thx! [00:52] can you link a textfield to a button so that a listitem will show what you typed in the textfield? === salem_ is now known as _salem [01:42] how do you link a toolbarbutton to something? [02:07] is there a limit to the buttons you can have? [02:12] I have one button on one row and another button on the other row but if I add a 2nd button to either row it gets rid of the single button [02:21] anyone? [02:34] http://imgur.com/OcGg3iv [02:52] * ahoneybun has a button and a textfield and is looking good lol [03:37] can you make it then when you click a button that the text in the textfield will be put into a listitem? [04:21] Hi all! [04:22] Someone can help me enable R/W system? touch cant create writable_image in userdata [04:22] Im use rtm version === IbrahimA|znc is now known as IbrahimA === IbrahimA is now known as IbrahimA|znc === IbrahimA|znc is now known as IbrahimA === IbrahimA is now known as IbrahimA|znc [09:34] What package have I to install to have Ubuntu.Contacts? [10:32] hi [14:19] I'm trying to make a database of the states mhall119 === frecel_ is now known as frecel [14:36] * ahoneybun really dislikes timezones === AceLan_ is now known as AceLan [17:49] I need to make a List scollable [18:07] ping [18:13] pong? [18:33] ahayzen, hey! [18:33] ahoneybun, o/ [18:33] I think I'm almost done with my app [18:34] yey [18:34] ahoneybun, what type of list are you trying to make scrollable? [18:35] a list of states [18:35] ahoneybun, what objects are they? [18:35] I'm going to post a screenshot give me a min [18:35] um [18:35] ahoneybun, like a ListView normally is scrollable IIRC...but otherwise just put a Flickable {} around it? [18:36] um I did not use ListView [18:36] I was trying! [18:36] but they are all ListItem.Standard [18:36] ahoneybun, yeah depends what you are trying to do i suppose ;) [18:37] well it is a list of 31 states so I need to scoll lol [18:37] hah yeah [18:37] ahayzen, http://imgur.com/a/ep1Is [18:38] ahoneybun, ah i see [18:38] ahoneybun, have you tried to put that in a ListView? it looks like it would work [18:38] I'm trying to find the docs about listview [18:39] I'm still learning here but I have gotten so far in just 1 1/2 days! [18:39] ahoneybun, https://developer.ubuntu.com/api/qml/sdk-14.10/QtQuick.ListView/ [18:39] http://developer.ubuntu.com/api/qml/sdk-14.10/QtQuick.ListView/ [18:39] lol [18:39] I tried that but it said something about model not found ro something [18:39] from that example [18:40] ContactModel is not a type [18:40] that is the error with that example [18:41] ahoneybun, your doing well :) ... so you want a ListModel with ListElements with each of the texts... then in the ListView reference that model and then set the delegate to ListItem.Standard with the text set to the model text [18:41] ahoneybun, yeah ContactModel {} won't exist ... you see the bit above with ListModel {} ? [18:41] * ahoneybun if more of the visual person [18:41] ahoneybun, put an id in that eg ListModel { id: myModel } [18:42] ahoneybun, then from the view.. ListView { model: myModel } [18:42] ahoneybun, in their example they had that ListModel in a file called ContactModel.qml thats why it worked...but you can put it all together for now to keep it simple [18:42] that worked! [18:43] :) [18:43] yay [18:43] now to right all 31 states by hand! [18:43] again! [18:43] heh thats where u really want it reading from a db/json list of something [18:45] yea that would be nice [18:45] I was looking at mhall119's loco team app [18:45] thats where I got the tab thing to work :) [18:46] ah cool :) [18:47] ahoneybun, you will probably want to eventually split each page into separate QML files otherwise u'll have one massive main.qml :) [18:47] but I might need help with that as well [18:47] yea that is how mhall119 did it as well [18:49] how do I make QML files, like [18:50] ahoneybun, you have the sidebar hidden in qtc...do Window->Show sidebar [18:51] ahoneybun, then on your project right click -> Add new.. then from the dialogue select Qt->Qml file (qt quick 2) [18:51] ahayzen, would I make something like this http://bazaar.launchpad.net/~mhall119/loco-team-portal/ubuntu-app/view/head:/models/FilterableJsonModel.qml? [18:51] ahoneybun, give it a name of something.qml [18:52] on my project? [18:52] ahoneybun, you could do depends how complex a really really simple thing which just pushes a list into a model could look like this http://pastebin.ubuntu.com/8442305/ [18:53] * ahoneybun does not have anything to right click [18:53] just a main.qml file [18:53] ahoneybun, ah [18:53] ahoneybun, how did you create the project? [18:53] * ahoneybun makes new project with same code [18:54] ahoneybun, yeah make a new project using one of the Ubuntu templates... probably "App with Tabbed UI" [18:54] opps [18:56] ahayzen, this is what my screen looks like http://imgur.com/awruITD [18:57] brb [18:57] back [18:57] ahoneybun, where it says "Open documents" you probably want to change to "Projects" ...in the sidebar at the top [18:57] that did it [19:00] on my main.qml I have to import the new qml file right? [19:00] import legal.qml [19:01] ahayzen, on my main.qml I have to import the new qml file right? [19:01] ahoneybun, if it is in the same folder you should just be able to do legal {} ... note normally i/we name files with upper case so Legal.qml... so then you do Legal {} [19:02] ahoneybun, if it is a different folder then you do import "myfolder" and then u can use any of the qml files in that folder [19:02] where would I put "legal {}" [19:02] oh!! [19:02] ahoneybun, what are you putting in legal.qml ? the Page { ... stuff.... } ? [19:02] model: legal {} [19:03] that may work :) [19:03] what states have legal same sex and which do not [19:03] Hi everybody out there! [19:03] so two models [19:03] hey Troy ! [19:03] ahoneybun, what i would do is have each page in a separate file... so like NotLegalPage {} or something [19:03] I am hosting a Linux User Group in Ventura County CA [19:04] ahoneybun, then in the Tab { page: NotLegalPage{} } [19:04] oh I was thinking about doing that as well ahayzen [19:04] Was wondereing if anybody nearby would like to come? [19:04] Troy, sweet [19:04] I'm in Fl so I can't [19:05] ahoneybun, are you looking at the coreapps as well for reference? [19:05] ahayzen, I was looking at the notes one when I was making a note app before [19:05] but not currently [19:06] ahoneybun, alot of them have the code structured quite nicely or have solved alot of problems so if u have a component similar to one of them remember u can check through their code here https://launchpad.net/ubuntu-phone-coreapps [19:06] Hello Everybody ou there! [19:06] yea thanks ahayzen [19:07] I am hosting a Linux User Group in Camarillo CA, and am trying to get more people to come. [19:07] Might anybody know a way of advertising it? [19:08] Troy, have you tried the relevant US loco team irc channel? https://wiki.ubuntu.com/IRC/ChannelList [19:09] no. [19:09] Troy, i assume Camarillo CA is California? so you probably want #ubuntu-us-ca [19:10] OK. [19:10] I'm trying to meet at the Camarillo Library. [19:10] Troy, or the general US one #ubuntu-us [19:10] I am still 13 years old so I am not that good. [19:11] thank a ton. [19:13] Troy, also try the ubuntu-us-ca mailing list [19:13] Ok [19:13] thats how I heard about FossetCon! [19:13] well for Fl anyway [19:13] FossetCon? [19:13] open source software con [19:13] Oh. [19:13] fossetcon.org [19:14] ok. [19:14] It seems like ubunut-us-ca is empty [19:14] I am new to IRC [19:16] Troy, it is the weekend ;)...and note you had a typo "ubunut" instead of "ubuntu" [19:17] oh woops... [19:17] I keep doing that by mistake [19:17] ahayzen, Expected type name on both lines with model: legal {} [19:17] and I tried model: legal.qml {} [19:18] ahoneybun, can you pastebin your main.qml and your legal.qml ? [19:19] ahoneybun, http://pastebin.ubuntu.com/ [19:19] oh [19:19] I think I forgot to put a id [19:20] nope [19:20] that did not fix it [19:20] ahayzen, http://pastebin.ubuntu.com/8442464/ [19:21] ahoneybun, i just tried it ...it has to be upper case so change legal.qml to Legal.qml and legal {} to Legal {} [19:21] ahoneybun, oh and ur Legal.qml.... [19:21] Also I forgot to mention, I am starting my own OS....www.kanagawa-os-project.weebly.com.... [19:22] ahoneybun, if u really want to put only the model in another file then all u need in ur Legal.qml is this http://pastebin.ubuntu.com/8442469/ [19:22] ahoneybun, not the MainView and Page again etc [19:23] I think I got it wait a min [19:23] :) [19:29] Type Legal unavailable [19:29] and I'm getting a syntex error [19:29] hah oh god [19:30] ahoneybun, so you renamed the legal.qml -> Legal.qml ? [19:30] yea [19:30] ahoneybun, ok sounds like that actual Legal.qml has a syntax error in it [19:30] ahoneybun, should be red in the editor [19:31] fixed [19:31] :) [19:32] ok it ran but it is showing nothing in the legal and nonlegal tabs [19:32] hmm [19:32] ahoneybun, mind reposting them on pastebin again? [19:33] sure [19:33] ahayzen, http://pastebin.ubuntu.com/8442576/ [19:35] ahoneybun, ok your NotLegal page the Listview is outside of the Page {} ? [19:36] I copied what you put in that pastiebin ahayzen [19:36] ahoneybun, also if you want the ListView to fill the page you can do anchors { fill: parent } instead of width/height [19:36] that is from the example still... [19:37] ahoneybun, and you may want to do model.state instead of text: state as state is used internally [19:39] * ahoneybun gets errors when doing that [19:39] oh [19:39] on the legal.qml and notlegal.qml you mean? [19:40] no..in the main.qml ... ahoneybun hang on let me do a little mini app [19:41] ahoneybun, http://pastebin.ubuntu.com/8442627/ [19:42] that worked! [19:43] now to center the text! [19:44] something is wrong with the Notlegal one though [19:44] the text from that is going into the top [19:44] ahoneybun, the ListView {} is not inside the Page { } [19:44] neither have that [19:45] oh [19:45] ahoneybun, to centre the text you may need to put a Label in the listitem [19:46] ahoneybun, eg http://pastebin.ubuntu.com/8442649/ .. but have a play about [19:48] listview you mean? [19:50] I made a label, I put that without a Label and still nothign [19:52] ahoneybun, ^^ was an example delegate [19:54] guess I can't center then [19:55] ahoneybun, ^^ works for me :) [19:55] ? [19:55] ahoneybun, the full main.qml http://pastebin.ubuntu.com/8442699/ [19:56] Cannot assign to non-existent property "delegate" [19:57] heh sounds like the delegate is not inside a ListView? [19:57] oh [19:59] I copied you and still get the same error [19:59] got it [20:00] was not inside the ListView [20:00] yey [20:05] yay more problems [20:05] ahayzen, http://imgur.com/i1AYme1 [20:05] heh [20:06] ahoneybun, i've seen that before [20:06] I tried vericalAlignment as well [20:07] ahoneybun, have you put anchors { fill: parent } in the ListView instead of setting width, height ? [20:07] yes [20:08] hmmm ahoneybun mind posting ur main again just so i can catch up with wht u've done [20:09] ahayzen, one second adding states to the notlegal one [20:09] cool [20:14] ahayzen, http://pastebin.ubuntu.com/8442785/ [20:15] I tried adding Row { [20:16] ahoneybun, ok for both tabs u have the ListView {} still outside the Page { } ... so lines 67->84 need to go before 66 [20:16] ahoneybun, and then the same for the other page... so 100->117 before 98 [20:16] * ahoneybun 's mind explodes [20:17] ahoneybun, ahah [20:17] can't I just move the } that closes the Page up down [20:17] ? [20:18] so that the ListView is inside of the Page? [20:18] ahoneybun, yeah but basically the ListView needs be inside the Page { } [20:18] qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and actions. [20:19] ahoneybun, heh if u look at lines 31->33 in the pastebin u have a random page? [20:20] that was so the title would be Same Sex Marriage when you started the app [20:20] ahoneybun, you may also want to sort out you indentations... if you press Ctrl+A and then press Ctrl+I it will autoformat the code for you [20:21] ahoneybun, ok that should be on the page in line 38? [20:21] ahoneybun, oh no that is ur "about" page :P [20:22] fixed [20:22] ahoneybun, IIRC it just starts on whatever the first tab is... so you should be able to put that page into its own tab [20:23] * ahoneybun hungs ahayzen just for the ctrl a and ctrl i thing! [20:23] hugs [20:23] :) [20:23] opps lol [20:24] ahayzen, http://imgur.com/zJl3HN6 !!!! [20:24] ahoneybun, yey \o/ now ur gonna ask for vertical alignment? lol [20:24] idk [20:24] * ahayzen wonders if there is actually a standard component to centre the text [20:25] you think it is ready to upload to the store? [20:26] I just need to make a icon which is not hard [20:26] ahoneybun, have you managed to build a click package? [20:26] ahoneybun, and do you have a device to test on? [20:26] ahayzen, not for this one [20:26] ahayzen, yea my Nexus 4 with Ubuntu [20:26] :) [20:27] never could get install to device to work though [20:27] ahoneybun, u'll need to build a click to upload? ... go to "publish" on the sidebar is the option "create and validate click package" available ? [20:28] ahoneybun, and does your nexus 4 have developer mode enabled? [20:28] yep [20:28] yep [20:28] well [20:28] ok click and build that click [20:28] as u'll need that anyway [20:28] I just use click build . in the command line [20:29] hah [20:29] oh no errors [20:29] from click build . [20:29] ahoneybun, are you able to validate that resultant .click? [20:29] i could not make a .click [20:29] ahoneybun, "validate existing click package" ... oh what happened? [20:30] wait [20:30] too many things! lol [20:30] says it build [20:30] http://pastebin.ubuntu.com/8442879/ [20:30] but did not pass the check [20:31] eewww hmm do you have an apparmor policy? [20:31] ahoneybun, heh i get the same when doing $ click build . [20:32] and yeah it fails review [20:32] * ahoneybun runs update && upgrade [20:32] ahoneybun, ok so probably best to try and build via qtc... so do you have any kits setup? [20:32] yea [20:33] ubuntusdk for amd64 [20:33] and something called Desktop [20:33] hmm even when trying that mine still fails :/ [20:34] i haven't used qmlprojects in a while [20:34] * ahayzen hugs click-buddy [20:35] looks like it seems my phone [20:36] ahoneybun, i mean the resulting .click looks ok so maybe just the review tools are broken [20:36] * ahoneybun sees the update for bash [20:36] ahoneybun, are you able to install it on device? [20:36] ahayzen, I can't click the button [20:37] ahoneybun, do you have shell access to ur device? eg adb and phablet-shell? [20:37] sould [20:37] should [20:37] yep [20:37] adb shell works [20:37] ahoneybun, ok so if you adb push the click into /tmp... eg ... adb push my.click /tmp/my.click [20:38] ahayzen, how the heck === AceLan_ is now known as AceLan [20:39] ahoneybun, cd to the dir where your click you made is [20:39] how??? [20:39] I used adb shell [20:39] now I'm in my phoen [20:39] I cant see the click package from therer [20:39] ahoneybun, no on the pc [20:40] well it cant see the phoen [20:40] ahoneybun, but u just adb shell? ... so if u open a normal terminal you would be able to adb push? [20:40] dont think so [20:40] hmm [20:41] I can use adb push [20:41] but I can say where to send it [20:41] like /tmp will not work [20:41] * ahoneybun head is hurting [20:41] yeah so ... $ adb push inputonpc.click /tmp/outputondevice.click [20:41] ahoneybun, ah maybe ur device is read-only? [20:42] yep [20:42] no one would explain how to make it r/w mode [20:42] arg ahoneybun really you want to do it via qtcreator [20:42] well I can't [20:42] can't click the button [20:43] if other people with more knowledge were around i'm sure they would know .... have you tried selecting that "UbuntuSdk for armhf" as the kit to use? [20:43] ahayzen, http://imgur.com/fVgnxF3 [20:43] I dont have that kit made [20:43] ahoneybun, ok so where u see that desktop/monitor looking thing... change it from "desktop" to another kit....ah [20:43] never really understand how to make a kit [20:44] u'll probably need that [20:44] the first one the sdk made for me but I never really got what I was doing lol [20:45] Hi [20:45] i haven't really figured them out totally yet either as i just use click-buddy lol [20:45] vitimiti, o/ [20:45] lol [20:45] hey vitimiti [20:46] Hi, ahoneybun and ahoneybun [20:46] lol [20:46] hah === tgm4883_ is now known as tgm4883 [20:47] ahoneybun, you may be better off asking in the week when people are about to help you setup your kits and get pushing to device working [20:47] darn [20:47] ahoneybun, nik90 may have a bit more knowledge if he is around ;) [20:47] yea [20:47] How can I copy an error on the SDK with the Ubuntu.Components? It says it should be 'Name major.minor' and it is highlighted as an error, though it's properly written and works, but it gives more exact data I don't know how to copy. It shows it on mouse over [20:48] thanks a lot!!! ahayzen [20:48] ahoneybun, no problem [20:50] damn kits [20:50] brb [20:53] hey [20:54] I have a question, I'm working on an app and I want to test it on my ubuntu phone (nexus4) it is connected to my laptop but I can't seem to run my app on my phone [20:55] ow wait, never mind, it was the usb cable :) [21:04] how can I install the device developer tools on my phone ? [21:04] when I try to do that with the switch in the device tab it asks are you root and throws some errors [21:05] or is that not needed ? [21:19] back === IbrahimA|znc is now known as IbrahimA [21:49] nik90, ping [21:49] ahayzen, bump [21:50] Akiva-Thinkpad, o/ [21:50] ahoneybun, \o [21:50] ahoneybun, whats new? [21:51] Akiva-Thinkpad, thanks to ahayzen I almost have my first "real" app ready [21:52] ahoneybun, oh really!? [21:52] do tell [21:52] do people doing html5 apps generally use jquery or what? [21:52] what is it? [21:52] Akiva-Thinkpad, qml [21:52] IbrahimA, ask justcarakas [21:52] he does all his apps in html5 [21:52] it list what states have same sex marriage and which do not [21:52] ah ok [21:53] trying to figure out if there are best practices in place and whatnot [21:53] ahoneybun, yo [21:53] feels like things are in the early stages right now so maybe not [21:53] Akiva-Thinkpad, right now I am getting this http://imgur.com/fVgnxF3 [21:54] ahoneybun, can't say I'm expert in that; sorry [21:54] Akiva-Thinkpad, thanks anyway though [21:54] Akiva-Thinkpad, http://imgur.com/A1moVye [21:55] ahoneybun, interestingly when i tried that on the default "Simple UI" template it failed as well so maybe an issue with the tools themselves...i assume ur on trusty as well? [21:55] ahayzen, I'm installing a new click build target for armrf [21:55] \o/ [21:55] ahayzen, no I'm on utopic [21:56] ahoneybun, ah urs should be better than mine then :P [21:56] anyone here do html5 apps? is there a way to restart the running application if i launch it with ubuntu-html5-app-launcher ? [21:56] I still have yet to push out my own app... huh, the documentation is tough :) [21:57] ahayzen, I've been running utopic for about a week I think, since I got my N4 I think [21:57] Akiva-Thinkpad, what do you think of my app? [21:57] ahoneybun, yey i should make the jump soon i suppose...then i would actually be able to test/use the music-app on the desktop while developing lol [21:57] ahayzen, you work on the music app? [21:57] ahoneybun, yup :) [21:58] ahayzen, I got problem with the ui design, but thank you for making one at all :) lol [21:58] *problems [21:58] ahoneybun, there are new designs on their way :) and they look awesome ;) [21:58] ahayzen, sweet [21:58] :) [21:58] I know I could make a music app lol [21:58] *not [21:58] hah [21:59] its still a long way off where we want it to be ... but we're getting there [22:00] ahayzen, I have buttons now! [22:00] for the publish tabl [22:00] \o/ ahoneybun click them! [22:00] yay errors still! [22:01] yey :/ [22:01] ahoneybun, did it actually push to device though? [22:01] did not try that [22:01] i tried to build it [22:02] ah well at least u have a .click now? [22:03] I did before [22:03] I just had to do it in the commandline [22:03] hah yeah [22:03] also I fixed one erro [22:03] r [22:03] it was on my end [22:03] but I think the rest are not from me [22:04] those are from the packages that the devs are uploading [22:04] I don;t think it is from my 1 ppa [22:04] from libreoffice [22:05] ahoneybun, yeah i think it is something in the review tools themselves [22:06] yea it talks about /usr/bin/click-review [22:09] * ahoneybun made a icon for his app [22:26] ahoneybun, sorry was caught in the middle of playing the piano [22:26] Akiva-Thinkpad, np [22:28] * ahoneybun is stuck on "Installing updates - In progress" [23:07] for html5 apps is there a special storage api or should we use stuff like localstorage? [23:26] IbrahimA: I don't know, sorry. [23:26] IbrahimA: localstorage [23:42] there should be a twitter scope [23:58] daker: thanks!