**** BEGIN LOGGING AT Sat Aug 03 03:00:00 2013 Aug 03 03:00:06 is there any api for chromecast ? for android ? Aug 03 03:00:18 or is it just like a "share to" thing Aug 03 03:00:51 api. i dont like the api much either Aug 03 03:01:47 chromecast worth it ? Aug 03 03:01:55 as in usefull ? Aug 03 03:02:46 I take it that it's not streamed from device to dongle, it's a request relay type thing most of the time? or is it a full mirror ? Aug 03 03:03:03 there is not even a solid date for release here in the UK Aug 03 03:05:51 i have a google tv with a chromecast plugged into it. i've been trying to use the chromecast for netflix, as the google tv netflix app really sucks but the netflix chromecast mode has it's own problems. netflix seems to dismiss the on-going remote control notification by itself sometimes, so like i'll pause and then when ready to resume i have to reopen the netflix app and click back to "Currently streaming" and finally hit play Aug 03 03:07:15 but actually starting a new show is better with chromecast, as the android app is better than the google tv app and it's quicker to navigate a smart phone than a tv Aug 03 03:07:36 StringRay: chroemcast is pretty cool. worth it form the price. yes, most apps just send it a link to a videobeing hosted on the web Aug 03 03:07:45 than it grabs the video and plays on the tv Aug 03 03:14:12 well yeah, I like the idea of it if it were a mirror device that can actually stream screens Aug 03 03:14:24 but not so much as a relay thingy Aug 03 03:15:11 hi Aug 03 03:15:30 shmooz hi Aug 03 03:15:36 StingRay: im sure youve seen that it can mirror anything running desktop chrome Aug 03 03:16:26 yeah, but thats just chrome though right ? Aug 03 03:16:34 and just desktop chrome at that Aug 03 03:17:17 you can stream the entire screen, but yea. not mobile chrome :\ Aug 03 03:17:55 I just want a univeral (mirror screen) for android device Aug 03 03:18:15 miracast maybe? if you can find a device :P Aug 03 03:18:22 yeah lol Aug 03 03:18:32 announced and forgotten in record time Aug 03 03:18:54 android phones obviously have the power to encode their screen and send real time. it wont be too long until someone figures out how to do it to chromecast Aug 03 03:19:21 yeah, get on that an I may purchase your app Aug 03 03:19:29 or pirate it Aug 03 03:19:31 one or the other Aug 03 03:19:33 :) Aug 03 03:20:59 haha Aug 03 03:21:09 thats gonna take more time than i have Aug 03 03:21:16 im a full time student, but interning for the summer Aug 03 03:21:21 not much time for developement Aug 03 03:31:58 Stingray_: are they not selling in europe yet? Aug 03 03:32:06 no Aug 03 03:32:18 and over $99 to import Aug 03 03:32:45 also, if your not a monk, you pay the queen for the privilege too (tax) Aug 03 03:33:09 VAT and import maybe at 35% Aug 03 03:33:21 so really not worth it to import Aug 03 03:36:44 ouch Aug 03 03:36:46 obvious solution is to become a monk Aug 03 03:36:49 sorry to hear tat Aug 03 03:36:59 if i had an extra id send one :P but theyre in short supply as it is Aug 03 03:37:01 kevinb: I am Aug 03 03:37:23 ordained monk and everything Aug 03 03:37:29 check this http://www.ebay.co.uk/itm/Google-Chromecast-in-London-NOW-/141027868687?pt=UK_Sound_Vision_Internet_TV_Media_Streamers&hash=item20d5ea800f Aug 03 03:37:32 1 bid Aug 03 03:37:40 ebay is full of tards Aug 03 03:38:37 can get one on ebay for £75 in the uk Aug 03 03:38:43 so that is about $100 Aug 03 03:38:45 ish Aug 03 03:38:52 wow Aug 03 03:39:01 i bought 2 but no clue when they'll get here Aug 03 03:39:06 I need a US partner Aug 03 03:39:10 but 100 Aug 03 03:39:15 to import Aug 03 03:39:22 hidden in a big teddy bear Aug 03 03:39:28 :) Aug 03 03:39:50 StingRay_: i'll send you two for $200 Aug 03 03:40:26 hey ill go to bestbuy tomorrow and check if they have any Aug 03 03:40:34 pm me your email if you actually want me to get you one stingray Aug 03 03:40:54 wait; a chromecast ? Aug 03 03:41:00 i want one ! Aug 03 03:41:03 I'm not all that bothered atm, but thanks for offer Aug 03 03:41:11 StingRay_: two $150! Aug 03 03:41:19 mmm yes the chromecast Aug 03 03:42:20 the documentation for the ast api is so bad right now Aug 03 03:42:29 theres a lot of methods that arent on the site.. Aug 03 03:42:33 chromecast is going to be epic once plex is ported over Aug 03 03:42:44 ericab: itll be perfect Aug 03 03:42:50 and for projectors Aug 03 03:42:53 god, no more massive systems and wires Aug 03 03:43:04 ---^ Aug 03 03:43:15 it's not that kind of device though is it ? Aug 03 03:43:23 it works for that Aug 03 03:43:40 projector on the ceiling, plug in chromecast, project from chrome Aug 03 03:44:04 on a desktop though ? Aug 03 03:44:13 why dekstop ? Aug 03 03:44:17 there are better solutions that are wireless than that Aug 03 03:44:36 well I mean browser content period Aug 03 03:44:36 eh, i'll try it out Aug 03 03:45:15 apple tv is also pretty good Aug 03 03:45:47 I use a few ATOM/ION media boxes around the house Aug 03 03:45:47 i dont/wont buy apple products Aug 03 03:46:12 also have a modded re-housed macbook (white) that I use as an additional player Aug 03 03:46:27 i have one of those hooked up to the tv Aug 03 03:46:36 erm, atom/ion/whatever Aug 03 03:47:07 stingray, sounds like you have a sweet setup Aug 03 03:47:16 you should see my office Aug 03 03:47:34 StingRay_: okay, show it Aug 03 03:47:35 I have a few massive AV raid drives, a fair number of NAS thecus units Aug 03 03:47:51 basically any streaming device, needs to be quick enough to handle any HD content, many are not Aug 03 03:48:17 so you can just stream any movie, if it has …. lets say DTS audio Aug 03 03:48:24 that needs to be decoded Aug 03 03:48:36 you are pretty screwed on lesser devices Aug 03 03:48:47 * funkbox won't be impressed with office unless there's a mac pro involved Aug 03 03:48:51 i want to be you Aug 03 03:49:06 funkbox: I have a mac pro somewhere in here Aug 03 03:49:10 not used no more Aug 03 03:49:21 should have said trashcan mac pro Aug 03 03:49:23 I have some dell xeon workstations too Aug 03 03:49:47 why so much hardware ? Aug 03 03:49:53 but now my office is mainly dominated by a fair number of big IPS screens Aug 03 03:50:10 I normally have 4 x 24" hooked up Aug 03 03:50:16 atm just 3 though Aug 03 03:50:30 oh have a broadcast monitor too Aug 03 03:50:51 and a lcd tv on the go too when doing video/vfx work Aug 03 03:51:12 with all that going, my air con only just maintains a reasonable temp Aug 03 03:51:38 but not if it's a hot summer day, then I have to go minimalistic :) Aug 03 03:51:38 i use a 286 with a color 80x40 display. Aug 03 03:52:46 funkbox: and to answer your question, I'm an 3D / Vfx TD Aug 03 03:52:59 so we like lots of film/editing/art gear Aug 03 03:53:01 :) Aug 03 03:54:20 do you like fish sticks? Aug 03 03:55:19 i have 2 monitors on my desk Aug 03 03:55:21 am i cool yet Aug 03 03:55:35 not about being cool Aug 03 03:55:51 it's about being able to get a radiation tan Aug 03 03:55:58 im not quite there yet Aug 03 03:56:26 and immense neck exercise from turning your head across the monitors Aug 03 03:57:17 handy though, I have 2.2 screens of AS and whats left is dedicated to web/ref and irc Aug 03 03:57:24 so quite handy Aug 03 03:59:49 i need a third monitor... Aug 03 03:59:52 i did just get paid.. hmm Aug 03 04:00:41 do, the time you save is worth it Aug 03 04:02:39 where's your vlc, then? Aug 03 04:02:40 StingRay_ Aug 03 04:03:06 i got 30% of screen size to the right side of other stuff for tv series Aug 03 04:03:51 oh lol. I play that stuff on xbmc on my macbook pro, at the side Aug 03 04:04:02 ah Aug 03 04:04:03 watching it right now :) Aug 03 04:04:28 futurama Aug 03 04:04:33 no? Aug 03 04:04:49 no, needs to be throwaway when I'm coding Aug 03 04:05:00 cause I'm not very good, I can't get that distracted Aug 03 04:05:13 futurama is that Aug 03 04:05:15 so atm it's any old bollox, currently supernatural Aug 03 04:05:22 no I like futurama Aug 03 04:05:29 I would have to seriously watch it Aug 03 04:05:34 and get distracted Aug 03 04:05:50 I cant like it that much, or I get no work done Aug 03 04:06:08 limited brain power I think Aug 03 05:00:10 does anyone really use minSdkVersion less than 10 any more? Aug 03 06:03:00 Hey, is there a way to get notifed when a user changed the position of the cursor in EditText? From what I found on google I have to subclass EditText which seems like an overkill. so am I missing something? Aug 03 06:53:46 what distro other than ubuntu is relatively easy to get a build environment going on? Aug 03 06:54:39 you really shouldn't have a problem with any distro - the tools are pretty standalone Aug 03 06:55:24 true, lol Aug 03 06:55:52 my archlinux build was being a pain, im used to ubuntus cli tools, but i want something different :D Aug 03 06:58:35 xstefen have fun, install CoreOS and make docker container for your android dev ! Aug 03 06:59:21 ill look into that, thanks for the suggestion Aug 03 09:07:37 Am looking for a way to do indoor positioning. Am inclined towards using the camera to map movements. Assume gyroscope, accelerometer and USB OTG. Any thoughts? RSSI is not an option since I can't deploy APs. Aug 03 09:08:53 I hear these guys are the experts on indoor positioning http://www.indooratlas.com/ Aug 03 09:09:54 thanks clb. Aug 03 09:12:53 clb: magentic flux. hmm. Aug 03 09:13:23 I wonder if the sensors on most device could provide enough data. Aug 03 09:40:07 anyone know if the navigation draw and be fixed open on tablet layouts Aug 03 10:14:43 hi Aug 03 10:18:47 AOSP has release 4.3 input method source code Aug 03 10:18:58 i am not able to build and run the code Aug 03 10:19:06 please any help Aug 03 10:21:01 how long is the data from getIntent.getExtra(....) available? Until OnDestroy I hope... Aug 03 10:21:36 dsschnau, yes Aug 03 10:22:32 cool, thank you Aug 03 10:59:15 I am just learning android. I am opening up an activity. The backbutton will close it and reveal the parent activity. So there is somekind of Navigation Stack. Is there a way I can not have a navigation stack. For example. If I go 5 activities up a stack, but I want to have a STARTOVER button that goes to the very first Activity. How would I do that? Aug 03 11:09:29 Make the top activity singleTop and launch it with an intent where you set FLAG_ACTIVITY_CLEAR_TOP Aug 03 11:15:19 s/Make the top/Make the first/ Aug 03 11:39:44 hi to all, there is a possibility to launch a popup to seams normal activity? Aug 03 11:43:00 explain the situation, i have a fragment that start activity for result, and i need to intercept result in fragment. i can catch result in activity container and push in fragment, but i dont wont to pass for activity. i think to substitute activity launched to dialog Aug 03 11:43:11 but i need to seem like activity Aug 03 11:47:06 what you just wrote makes no sense Aug 03 12:15:38 hello Aug 03 12:15:43 i am new Aug 03 12:15:54 anyone here ? Aug 03 12:18:03 How does gitlab do the context dropdown in the action bar? Aug 03 12:19:04 nm Aug 03 12:21:41 why i need to pay 25 dollars for the registration ? Aug 03 12:22:38 To prevent spam Aug 03 12:22:45 eh, it's a business, they make money off of it Aug 03 12:23:42 You can say it's to prevent spam, hosting for your app files, giving it a platform that people use to market it on Aug 03 12:25:17 it's possible to make my own market ? Aug 03 12:29:09 cortexA9, yes Aug 03 12:29:23 amazon's app market is free but it has more stringent control Aug 03 12:29:59 mmm Aug 03 12:30:11 but google market Aug 03 12:30:18 is the best i think Aug 03 12:30:42 'best' is an opinion, you're the one complaining about paying $25 Aug 03 12:30:58 so what's best for you might not be the best for me, I'm just offering suggestions Aug 03 12:31:53 The best idea is to be on both Aug 03 12:32:07 lots of kindle fire's out there. Aug 03 12:32:25 android is the most used OS Aug 03 12:34:13 i have an idea for an app Aug 03 12:35:42 but i need some help Aug 03 12:37:07 ideas are cheap, actual implementations are difficult and sometimes expensive Aug 03 12:37:38 the idea is to make the web more social on android platform Aug 03 12:38:19 web, social, android. Good buzzword count :D Aug 03 12:38:21 wow I've never heard that before Aug 03 12:38:25 bravo, so brave Aug 03 12:38:43 :P Aug 03 12:38:48 How sir, are you going to achieve dynamic synergy to achieve a win-win situation out-of-box? Aug 03 12:38:49 but my idea is special Aug 03 12:39:21 special people have special ideas... Aug 03 12:39:47 i only need a dev Aug 03 12:40:05 :D Aug 03 12:40:14 i am not a dev Aug 03 12:41:03 http://developers.slashdot.org/story/10/12/06/0124241/i-just-need-a-programmer Aug 03 12:41:26 cortexA9: ergo - time to learn Aug 03 12:42:16 why learn if i have a good idea Aug 03 12:42:26 :P Aug 03 12:42:27 lol Aug 03 12:42:48 The "I have an idea, I just need a programmer, designer, marketer, project manager, QA tester and millions of people to buy it" concept is not a new one, it almost always leads to failure Aug 03 12:43:07 if you cannot implement any part of your idea, how useful is it really Aug 03 12:43:37 yes i know Aug 03 12:43:58 but idea is important too to start a project. Aug 03 12:44:15 Everyone has ideas Aug 03 12:44:21 if you don't have a good idea.. Aug 03 12:44:27 is a failure.. Aug 03 12:44:48 If you can't put it into practice, you don't even get to fail Aug 03 12:48:06 hi. question: is it possible to store a bouncycastle (or rather: spongycastle) key in the android keystore? Aug 03 12:48:24 cortexA9: ideas are worthless Aug 03 12:48:25 their key classes are not compatible with the java.security Key class, right? Aug 03 12:48:42 why use social networks in a browser.. Aug 03 12:48:57 i don't understand this Aug 03 12:49:03 cortexA9: still. An idea is *worthless*. It's execution that counts. Aug 03 12:49:14 And "I just need a programmer" is bad start Aug 03 12:50:09 hi Aug 03 12:50:31 i want to see how many people are in a webpage example on google.. Aug 03 12:50:41 with an app Aug 03 12:51:09 and interact Aug 03 12:51:32 cortexA9: social networks usually have apps Aug 03 12:51:42 http://en.wikipedia.org/wiki/Rockmelt Aug 03 12:51:50 Make sure to talk to their lawyers first Aug 03 12:52:01 lol Aug 03 12:52:06 it's not the same Aug 03 12:52:12 rockmelt use social networks. Aug 03 12:53:10 i mean without social networks Aug 03 12:54:36 what do you think about that ? Aug 03 12:55:00 bad idea ? Aug 03 12:55:53 cortexA9, we use social networks in a browser because every device/computer has a browser Aug 03 12:56:08 there's more than one non-browser based social network, they just aren't popular Aug 03 12:56:52 yes Aug 03 12:58:40 what about social discovery app Aug 03 12:58:55 cortexA9: ever heard of rockmelt? flock? Aug 03 12:59:05 yes heard Aug 03 12:59:30 cortexA9: if you really believe in the idea, pay someone to make it Aug 03 12:59:36 but i don't like how they make it Aug 03 12:59:57 if it's as good as you think, you should have no trouble making your money back Aug 03 13:01:11 a browser with social discovery Aug 03 13:01:22 :) Aug 03 13:01:39 not bad Aug 03 13:03:35 a browser with social discovery feature Aug 03 13:05:26 and a platform Aug 03 13:05:39 cortexA9, you forgot to say Web 3.0 Aug 03 13:05:44 and webscale Aug 03 13:05:58 for see what music people listen around you Aug 03 13:06:04 :) Aug 03 13:06:21 Oh like last.fm, pandora, grooveshark, spotify Aug 03 13:06:28 except without the millions in corporate backing Aug 03 13:06:36 you can see ? Aug 03 13:06:45 the title and something ? Aug 03 13:06:51 sounds like a great idea, I'll start on it immediately Aug 03 13:07:05 hehe Aug 03 13:07:13 great Aug 03 13:07:16 :) Aug 03 13:07:25 i am your first client :D Aug 03 13:08:08 lol Aug 03 13:08:20 who said anything about you? now that I have your idea I'm free to implement it and collect 100% of the profits Aug 03 13:08:34 ahah Aug 03 13:08:40 yeah Aug 03 13:08:51 come on Aug 03 13:08:52 :D Aug 03 13:09:11 too late, I just patented it ! Aug 03 13:09:28 lol Aug 03 13:10:10 social music discoverry Aug 03 13:10:12 social music discovery Aug 03 13:10:13 hehe Aug 03 13:12:49 How do I make a fragment that displays an indeterminate progress dialog while it is querying some web server and then displays the result? Aug 03 13:13:29 cortexA9: how bout a virtual movie theatre, so people won't feel lonely watching a movie and can make comments and popcorn noises and block your view with their heads Aug 03 13:13:53 lol Aug 03 13:14:44 marrrk: I think your question is a bit broad Aug 03 13:15:04 It probably is. Aug 03 13:15:22 marrrk: but I would in short, fragmentDialog, progressBar, + interface Aug 03 13:15:39 Not a dialog. Aug 03 13:16:02 this sits inside a view pager Aug 03 13:16:23 ah you asked for a dialog Aug 03 13:16:31 Yes Aug 03 13:16:36 well is that not just a progressBar ? Aug 03 13:16:39 I do not want that. Aug 03 13:16:46 what about an app of this channel Aug 03 13:16:47 I made a mistake. Aug 03 13:16:52 for stay in touch Aug 03 13:16:59 on android platform Aug 03 13:17:07 It probably is. But I want it to be hidden once the stuff is loaded. Aug 03 13:17:30 then hide it when the stuff is loaded ? Aug 03 13:17:32 enter automatically Aug 03 13:17:35 in this channel Aug 03 13:17:38 With .hide? Aug 03 13:17:55 someView.setVisability(View.GONE) Aug 03 13:18:02 but you can google this stuff in seconds Aug 03 13:18:04 without a client irc Aug 03 13:18:14 just enter automatically Aug 03 13:18:27 What I am mostly confused about is that every time the fragment is shown in the pager onCreateView seems to be called. Aug 03 13:18:29 on start Aug 03 13:18:50 marrrk: then you should maybe read more on viewPager and how it works Aug 03 13:18:54 This doesn't like my cached view and says "You must call removeView() on the child's parent first." when it crashes Aug 03 13:19:01 it destroys pages it does not need Aug 03 13:20:09 So when I update my view will that be shown if I just invalidate the container? Aug 03 13:20:27 It doesn't seem to be but I might be doing something wrong on a different level. Aug 03 13:20:46 marrrk: question is a bit odd, update what/how ? Aug 03 13:22:29 I will just test it a bit more and see if I can make sense of the behaviour or not. I feel like it is not deterministic. Aug 03 13:24:05 an app that see on a map where are in the world the people of #android-dev Aug 03 13:24:28 :P Aug 03 13:24:54 country.. Aug 03 13:24:56 and something Aug 03 13:25:41 yes! that's it! something! Aug 03 13:25:53 ? Aug 03 13:26:04 Okay. So I'm getting the data and it gets set to the text view. I do an invalidate on the LinearLayout containing it. Nothing. However, when I swipe left and right, I get the proper text. Aug 03 13:27:01 So I guess there's no way around caching the data outside of the Fragment (through on save instance state?), for as you said, StingRay_ , it can be destroyed at any time. Aug 03 13:28:03 or an evolved irc Aug 03 13:28:07 with videochat Aug 03 13:28:17 and voice Aug 03 13:28:23 for android Aug 03 13:29:15 how about an app when you take photos and it makes them square and funky, then posts them over the innertubes to your friends? Aug 03 13:29:40 you could call it instantphotogram Aug 03 13:29:47 ahah Aug 03 13:29:51 great :D Aug 03 13:30:50 we are better than zuckerberg here :D Aug 03 13:30:55 that's a billion dollar idea right there Aug 03 13:31:03 Doesn't sound like one. Aug 03 13:31:56 marrrk: so all you are doing is .setText() in a fragment that is in a viewPager ? Aug 03 13:32:03 and the text does not show ? Aug 03 13:32:08 It does show. Aug 03 13:32:16 But not when i do setText Aug 03 13:32:32 I think the view is just not being redrawn. Aug 03 13:32:43 setText will cause it to Aug 03 13:32:47 It shows sometimes when I swipe away and back. Aug 03 13:32:47 as in the textVuew Aug 03 13:32:51 I'm a fairly experienced polyglot and am thinking about picking up an android device to do dev on. I'm really really interested in doing a voice driven personal assistant type app. Does android text to speech let you have a 'session' where I can get first crack at inputs before the rest of the voice command api does its thing? Aug 03 13:32:51 textView* Aug 03 13:33:01 err not text to speech, voice recognition Aug 03 13:33:08 * robertj refills his coffee Aug 03 13:33:26 I will try again. I'm using a bit of a weird way to set the text. I will do setText now. Aug 03 13:33:56 robertj: check out speaktoid assistant, its probably the best one for android Aug 03 13:34:01 marrrk, what is the weird way u r doing? Aug 03 13:34:16 robertj: sure, you can use the recogniser yourself... but there are plenty of assistant apps, including Google Now which is built into Android Aug 03 13:34:53 SEjanthkar_: this: https://github.com/pocorall/scaloid/#less-painful-android-development-with-scala Aug 03 13:35:00 I'll give you the name of your app though, call it SideKick Aug 03 13:35:11 Sidekick is a good name for an assistant Aug 03 13:35:17 zuckerberg should do a global place on facebook Aug 03 13:35:47 robertj: How many languages do you speak? Aug 03 13:36:01 marrrk, I mean in terms of programming. In real life only 1 with any competancyu Aug 03 13:36:09 or google can do it too Aug 03 13:36:10 I knew it! Aug 03 13:36:17 and some would arge with that 1 Aug 03 13:36:37 on plus Aug 03 13:36:55 Leeds, the real focus of my product is on having live people take requests from you and do thing in a somewhat smart manner Aug 03 13:37:01 * monsti got stuck at HDCP Aug 03 13:37:10 wtf did they invent it??! Aug 03 13:37:22 Leeds, so at least in the beginning, I would anticipate most users will just call on speakerphone and leave it running for a bit a few times a day Aug 03 13:37:34 monsti: CP plain an simple Aug 03 13:37:46 a global walkie talkie works with internet :D Aug 03 13:37:49 monsti: what do you mean stuck with ? Aug 03 13:37:50 but i'd like to see if there was a way to get a kind of push-to-talk experience or background session experience going Aug 03 13:38:23 so obviously i could have an app that connected em up and then they blather and i cut coord at the end of it... Aug 03 13:38:26 robertj: so, chacha then Aug 03 13:39:01 Leeds, i guess sorta theoreticallly Aug 03 13:40:13 the ideal user interface goes 'hey blahalbalhbalbhalbah' and it goes to a front-line agent that determines if the rest of the bit is actually a request or just background noise in the room or idle chatter Aug 03 13:40:26 but obviously we have a less than ideal setup in real life Aug 03 13:41:22 I think the phrase you want is "okay google now" Aug 03 13:41:30 lol Aug 03 13:41:30 Leeds, yeah but even more pervasive than that Aug 03 13:41:39 robertj: you can make it wake on keyword to pay attention to the rest of what you are saying Aug 03 13:41:41 because I really want to be able to say, hey, keep notes on this meeting Aug 03 13:41:46 more pervasive than "always listening"? Aug 03 13:42:17 it's hard to make a chat room with voice feature ? Aug 03 13:42:24 where the user can choose their keyword for waking it up, like in your case 'HEY!' Aug 03 13:42:33 suppose you had a full time personal assistant Aug 03 13:42:33 and push to talk ? Aug 03 13:42:37 and you were a glass user Aug 03 13:42:47 StingRay_: I see the log cat message just before tv.setText(text) but it does not update the view. Aug 03 13:42:52 and their full time job was to make you look smart - you want them to listen in and push various kinds of content back Aug 03 13:42:56 like, all the time Aug 03 13:43:13 and at the same time, you want your battery to not die Aug 03 13:43:23 marrrk: pastebin your fragment code Aug 03 13:43:38 cause I cant imagine it not working without you doing something a bit crazy Aug 03 13:43:40 :) Aug 03 13:44:07 StingRay_, I think right now to do that we would need osmething like a rooted glass/motox and maybe not even then Aug 03 13:44:22 marrrk: you should also test that the widget is actually using the info, like set and get to make sure Aug 03 13:44:29 you would basically need to be able to do some kind of lower power mode that let you analyize a buffer for quiet-detection Aug 03 13:44:46 Using what info? Aug 03 13:45:29 marrrk, the mic would basically dump to a buffer and some kind of special purpose system would check it periodically to see if there was a change in background music that indiciates speech could be occurring Aug 03 13:45:31 info == text that you're setting Aug 03 13:45:48 oh sorry, that wasn't for me ;P Aug 03 13:46:10 it's not possible to make a new channel for spam the apps ? Aug 03 13:46:17 like #android-app Aug 03 13:46:21 or something.. Aug 03 13:46:34 ? Aug 03 13:46:42 cortexA9: you can probably talk about this stuff on #android Aug 03 13:46:53 oh ok Aug 03 13:47:33 but yeah, #android-app-dreamers would be a very popular channel ;) Aug 03 13:47:45 lol Aug 03 13:47:51 shmooz, so i guess the missing component there is the ability to keep listening for a minute or so after initialy activating the glass-like device and also the ability to choose a keyword that routed the voice and actual raw audio into a specific app pipe Aug 03 13:48:55 robertj: you can have a default keyword like 'ok google' , which the user can later replace with their own Aug 03 13:49:28 shmooz, but i'd have to be able to hijack all the voice input and then determine whether or not i wanted to handle it or whether or not to let it go down the line Aug 03 13:49:33 and i don't think that's gonna be kosher Aug 03 13:49:55 and a lot of the time i'm just going to be taking the audio and giving it to a human to say 'do we process this or hand it off' Aug 03 13:50:07 robertj: you would be constantly sampling at certain intervals I suppose Aug 03 13:50:48 shmooz, so i guess basically the workflow would be to start the app, run the app in the background but active for a minute then terminate the app Aug 03 13:50:58 or I'm not sure how it would actually be implemented, but if google has done it, you can too :) Aug 03 13:51:00 and then restart the app again next time you want to give input...kinda cumbersome but probably good enough Aug 03 13:51:06 shmooz, AFAIK google hasn't done it Aug 03 13:51:28 robertj: seriously, you know about the moto x, right? Aug 03 13:51:42 Leeds, I've heard about it, I don't know the details. AFAIK it lets you initiate the ok glass kinda thing Aug 03 13:52:07 it has a voice-handling co-pro, so it can sleep the main OS while waiting for the magic phrase Aug 03 13:52:07 Leeds please make a new channel for talkin about ideas suggestions Aug 03 13:52:28 cortexA9: all you do is /join #whatever Aug 03 13:52:32 and you create it Aug 03 13:52:43 this stuff is directly applicable to hardware that's coming out now and runs android... Aug 03 13:52:55 i mean an official channel Aug 03 13:52:56 :P Aug 03 13:53:10 it would be called #android-ideas maybe ? Aug 03 13:53:28 mmm Aug 03 13:53:29 Leeds, yes so the question is, without users rooting theri device, can we insert ourself right after the voice wakeup baiscally Aug 03 13:53:41 robertj: in that case, I think no Aug 03 13:53:43 and the answer is almost certainly no, and that's why it kinda isn't ideal Aug 03 13:54:34 but you can see why it could be nice to have another app inserted into the chain right there to say 'does this go to the normal voice command API or do I start streaming the raw audio stream to my assistant' Aug 03 13:55:03 point is that what you're talking about would be competing with the device and OS manufacturers' own services, which are integrated right down to the chip design level Aug 03 13:55:04 you could use it to do err...non-push push-to-talk Aug 03 13:55:15 Leeds, yeah :( Aug 03 13:55:34 I'm just gonna paste it. If it is too weird, you don't have to look at it. Aug 03 13:55:34 https://gist.github.com/i-am-the-slime/01bbf0128bd5a5508066 Aug 03 13:55:36 StingRay_: Does that seem understandable at all? Aug 03 13:56:06 I was disconnected it seems. Have I missed anything? Aug 03 13:56:47 Leeds, but if i'n my car and I say Crystal, can you get me some milk? I want the Star Trek badge experience, that's all I'm asking Aug 03 13:57:48 actually i think they had to press the badge each time they talked but anyway... Aug 03 13:58:10 If you want that, you are going to have to wear the suit. Aug 03 13:58:20 marrrk: that is odd :) but do you know that val text contains the correct value ? and that after line 68 tv.getText() <--- is it set ? Aug 03 13:58:23 so my thinking is ill start off with a SIP-based app folks can leave on speakerphone while they pretend they are in the future Aug 03 13:58:47 Hello Buddy Aug 03 13:58:53 Hmm I can try that but it shows up when Í swipe left ´then right. Aug 03 13:58:54 or rather does getText() return what you set Aug 03 13:58:59 and i'l do an accompanying web page where notes can be pushed to Aug 03 13:59:08 it's not possible to make a p2p voice chat on android Aug 03 13:59:10 decentralized Aug 03 13:59:15 ? Aug 03 13:59:26 tv.invalidate() ? Aug 03 13:59:30 cortexA9, well the agent can initiate a POTS call Aug 03 13:59:37 and if they both have the app it should be able to mediate that Aug 03 13:59:45 not sure why it would not be re-drawn though Aug 03 14:00:05 So no invalidate? Aug 03 14:00:10 logging the get text right now Aug 03 14:00:50 Are there any signs that MotoX always on is hardware-wise directly related to what is in glass? Aug 03 14:01:01 if so I may wager it is the first of many and buy one, if not i'll buy a 4S Aug 03 14:02:11 It's all weird Aug 03 14:02:17 I'm taking a 30 minute break. Aug 03 14:02:20 Thanks for now. Aug 03 14:15:10 I'm trying to use sqlite and do a join, but even though i'm aliasing the tables they dont get the prefix, any thoughts? Aug 03 14:18:37 Hello, what's the naming convention for content provider subtypes. I have a "Vehicles" table, Is "vnd.android.cursor.dir/vnd.projectname.vehicles" a good choice? Aug 03 14:39:00 Alright. Aug 03 14:39:20 hi, im looking for a developper that can write me a program that plays some audio.. anyone interested? Aug 03 14:39:43 Everybody is interested as long as you pay enough. Aug 03 14:39:56 anybody around here with rhino experience? Aug 03 14:40:15 how can i code an indexer in my Scriptable Object? Aug 03 14:40:39 i want a foo[i] in my js code Aug 03 14:40:55 i have a getItemAt(i) method Aug 03 14:40:57 zap0, -.- Aug 03 14:41:42 StingRay_: Here's the problem: android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. Aug 03 14:42:49 Weirdly enough sometimes it gets set. Aug 03 14:43:03 marrrk: then dont try and update it from anything other than the ui thread Aug 03 14:43:26 Well I need to do the network query on a different thread, right? Aug 03 14:43:40 yes Aug 03 14:44:12 Hmm. Aug 03 14:45:59 Let's try this: runOnUiThread(tv.setText(text)) Aug 03 14:47:10 That works :) Aug 03 14:47:43 I guess I should now proceed to add that indefinite progress bar. Aug 03 15:10:25 Hi Aug 03 15:11:45 After the Linux kernel, what is the first thing launched during the Android startup? Aug 03 15:11:47 What process? Aug 03 15:15:18 * monsti found the rhino indexer Aug 03 15:15:31 "inin"? Aug 03 15:15:34 i love ill documented source ) Aug 03 15:15:35 "init"? * Aug 03 15:18:10 guys Aug 03 15:18:16 gl Aug 03 15:18:31 flash_image boot boot.img works tight?? Aug 03 15:19:18 mithun46: wrong channel Aug 03 15:19:23 read topic Aug 03 15:19:28 k Aug 03 15:19:31 sorry Aug 03 15:22:05 are there any tools in android to ease display of metric vs. imperial units, especially in preference screens? Aug 03 15:22:44 * SpeedEvil drops a hogshead on Ge0rG. Aug 03 15:23:09 i'm developing an android app which shows up a google map when the app starts, but i'm having some issues with displaying the map Aug 03 15:23:17 dran: got an api key? Aug 03 15:23:22 yep Aug 03 15:23:57 i have an api key for the app Aug 03 15:24:31 Aug 03 15:24:59 dran: great! Aug 03 15:26:06 Ge0rG: Are you talking about region/language specific settings? Aug 03 15:26:23 Bleeptech: I'm talking about mph vs. km/h in the settings Aug 03 15:26:30 like, adding a speed limit to a speedometer app Aug 03 15:27:37 Ge0rG: Yeah, Like 'Region = US' display is in MPH.. 'Region = UK' display is KPH? Aug 03 15:27:59 Bleeptech: exactly Aug 03 15:28:13 I'd need something like res/values-imperial and res/values-metric ;) Aug 03 15:29:18 Ge0rG: I'm not sure, I'm still working on almost the same thing.. You want to put your data in /res/values/strings.xml. Aug 03 15:30:22 Bleeptech: sure, but I need different strings for mph and kmh, and I need different prefs screens for the different versions Aug 03 15:30:30 Bleeptech: and then I need to switch between them at runtime Aug 03 15:30:32 its a PITA Aug 03 15:37:32 GeOrG: i used the 'google-play-services_lib' as a library to my app. Aug 03 15:38:02 Ge0rG: I think conditional stuff was one of my reasons for not using the defualt prefs stuff Aug 03 15:38:04 dran: "some issues" is very unspecific Aug 03 15:38:17 StingRay_: so you reinvented the wheel? Aug 03 15:38:23 not at all Aug 03 15:38:40 I heavily modified it so it cant get punctured Aug 03 15:38:52 :) Aug 03 15:39:38 whow. Aug 03 15:39:55 no your correct actually, rather ditched the wheel and gave it tracks for some heavy all terrain work Aug 03 15:40:19 but already had a dynamic ui form thingy, so wasnt a massive hassle Aug 03 15:40:21 So I'm still getting this issue where my geofences don't get location updates unless another app is tracking location. Aug 03 15:40:44 Forkk: did you try and just register a standard listener ? Aug 03 15:40:51 yeah Aug 03 15:40:54 did it work ? Aug 03 15:40:57 and it doesn't get those either Aug 03 15:41:06 Or maybe it does... Aug 03 15:41:08 ok, so the problem is nothing to do with geofences Aug 03 15:41:13 android:minSdkVersion="8" Aug 03 15:41:14 android:targetSdkVersion="17", I tried to run the app on a Samsung I5500 Galaxy 5. Everything worked fine, but the app is not displaying Aug 03 15:41:15 hang on, I can't remember if I tested it Aug 03 15:41:15 it's to do with you Aug 03 15:41:19 :) Aug 03 15:41:20 it was really late at night Aug 03 15:42:05 lol "Everything worked fine, but the app is not displaying" thats like saying, it all good everything, except it dont work, at all Aug 03 15:42:19 GeOrG: android:minSdkVersion="8" android:targetSdkVersion="17", I tried to run the app on a Samsung I5500 Galaxy 5. Everything worked fine, but the app is not displaying. That's the issue i'm having Aug 03 15:42:26 Maybe he means compiling Aug 03 15:43:24 Yeah, StingRay_, I registered my geofence service as a location listener and it gets no location updates Aug 03 15:43:35 but the moment I open Maps, it works Aug 03 15:43:59 Forkk: no Aug 03 15:44:02 I mean http://developer.android.com/reference/android/location/LocationListener.html Aug 03 15:44:02 Forkk: yeah i mean compiling and all other stuff up to displaying the main activity Aug 03 15:44:21 have you registered A SIMPLE listener ? Aug 03 15:44:24 and got it to work ? Aug 03 15:44:37 if so then yes, you have some odd geofence prob Aug 03 15:44:51 StingRay_, I tried that before I was using geofences and it wasn't working Aug 03 15:44:58 ok Aug 03 15:44:58 but I was using proximity detectors Aug 03 15:45:04 so nothing to do with geofencing Aug 03 15:45:15 ALL to do with you simply registering it Aug 03 15:45:15 I'm not sure, I haven't tried it recently Aug 03 15:45:20 find out Aug 03 15:45:29 but it's a lot of code D: Aug 03 15:45:34 pointless adding specifics to a question that you dont know are correct Aug 03 15:45:45 anyone know a good way of creating a drop shadow other than using a 9-patch? Aug 03 15:46:01 alexfu: depends Aug 03 15:46:08 on the use/context Aug 03 15:46:19 drop shadow of a complex shape ? Aug 03 15:46:36 StringRay_: can you help me with my issue friend? Aug 03 15:46:52 drop shadow is gonna be on a rectangle with rounded corners Aug 03 15:46:55 dran: only if you find out what your issue is Aug 03 15:47:07 alexfu: variable corners ? Aug 03 15:47:20 as in radius etc Aug 03 15:47:50 StingRay_: corners will be fixed Aug 03 15:48:09 then 9-patch will be lightest/cheapest I would think Aug 03 15:48:26 you could create shapes and filter/blur etc Aug 03 15:48:32 but no point and heavy Aug 03 15:48:35 my issue is the google map isn't displaying on the Samsung I5500 Galaxy 5 , it only shows the plus and minus zoom controls in the map. I'm not getting any errors Aug 03 15:48:43 StingRay_: alright. thanks Aug 03 15:48:53 StringRay_:my issue is the google map isn't displaying on the Samsung I5500 Galaxy 5 , it only shows the plus and minus zoom controls in the map. I'm not getting any errors Aug 03 15:49:22 dran: so you dont know what your issue is then ? Aug 03 15:49:33 other than the result of the issue Aug 03 15:49:40 dran: surely if something is going wrong, it will print an error in the logs. it may not be an error but a warning instead Aug 03 15:51:01 StringRay_: i i did exactly as in this vedio, http://www.youtube.com/watch?v=wNlleczyPjs Aug 03 15:51:27 alexfu: i did exactly as in this vedio, http://www.youtube.com/watch?v=wNlleczyPjs Aug 03 15:51:37 dran stop repeating pls Aug 03 15:52:04 i'm sorry Aug 03 15:52:40 dran: honestly, i dont feel like watching that video. but if I were you, i would look through the Logcat more carefully and find a Google Maps API warning/error somewhere Aug 03 15:52:51 find out whats failing and come back, if you cant diagnose it, maybe you should try a different tutorial or learn a bit more about it Aug 03 15:53:18 k thanks friends Aug 03 16:04:46 I was about to ask when I just answered my own question, haha Aug 03 16:05:38 Maestro: See.. There are people on irc who know what you're trying to do.. LOL.. Aug 03 16:06:07 StingRay_, could the problem be that my geofence service stops running after it's registered the geofences? Aug 03 16:06:45 Maestro: what's your question ? Aug 03 16:07:06 Forkk: Unless you leave a service or background process running you will not get updates. Aug 03 16:07:27 I do have services running, but not my GeofenceService Aug 03 16:07:33 the app is open though Aug 03 16:07:48 The geofence service registers the geofences and stops Aug 03 16:08:40 I was about to ask if using shared preferences was a bad way to store some downloaded data, and it obviously is, since the updated data my app would download the next time is only partial Aug 03 16:09:28 Forkk: Yuo need to leave a locationlistener running somewhere if I understand the way it works properly. Aug 03 16:09:53 So how do I request that my service stay running even after everything is unbound Aug 03 16:11:04 actually, nevermind, it's not being unbound... wtf Aug 03 16:11:13 Forkk: Uhh.. Ask nicely? That's beyond my current level of understanding.. Aug 03 16:11:21 or at least it shouldn't be... Aug 03 16:13:16 hmm Aug 03 16:14:23 Ok, now it's only getting a single location update... Aug 03 16:14:28 and it doesn't stop running Aug 03 16:14:35 I put a log call in onDestroy Aug 03 16:14:54 but the services list command doesn't show it as running... Aug 03 16:21:15 StingRay_, yeah, still not getting updates from either the Google Play location services or the location manager. Aug 03 16:21:31 Well actually, I get one initial update and then it stops Aug 03 16:21:40 Forkk: i looked at the logcat and there weren't any warnings, but still i'm getting an empty map Aug 03 16:22:32 dran, what? Aug 03 16:23:59 Who's the moderator for the Android Developers Google group and why won't he let me post there? Aug 03 16:24:06 Forkk: well until you can register a basic location listener , no point adding anything geofence related Aug 03 16:24:15 so I would suspect it how your are doing it Aug 03 16:24:19 thats the problem Aug 03 16:24:33 I dont understand why when storing a float into a REAL field in sqlite it saves strange values like 264.640014648438 rather than 264.64 :/ Aug 03 16:24:39 hang on Aug 03 16:25:03 Forkk: as you told me, i looked at the log cat to see if there are any warnings or errors. But there weren't any. But when i run my app, i'm getting an empty map Aug 03 16:25:23 StingRay_, http://paste.ubuntu.com/5944348/ Aug 03 16:26:04 dran, did I say that? o_o Aug 03 16:26:17 I don't think I did... Aug 03 16:26:25 Bear10: you're seriously asking the float question? Aug 03 16:26:44 Leeds, yes because im unsure why it's storing that way, i understand the whole logic behind it Aug 03 16:26:53 do you know what a float is? Aug 03 16:27:02 If you understand how floating point numbers work, then you'd know why it stores it like that Aug 03 16:27:21 SimonVT, same happens with double though, i thought one or the other would fix it Aug 03 16:27:46 StingRay_, as far as I can tell, I'm following what the documentation says Aug 03 16:27:51 Double is also floating point.. Just more bits Aug 03 16:27:55 Forkk: i'm sorry, that wasn't you Aug 03 16:28:03 :P Aug 03 16:28:25 alexfu: as you told me, i looked at the log cat to see if there are any warnings or errors. But there weren't any. But when i run my app, i'm getting an empty map Aug 03 16:30:07 Forkk: not done any locations stuff, but your wanting an update every 1ms ? Aug 03 16:30:17 SimonVT, i see, so what would the solution be, doing a round and setting precision to 2? Aug 03 16:30:20 So, if I have a background with rounded corners (like cards ui), and i'm displaying an image on top, whats the method to "trim" off the corner overflow of the images so that images are also rounded. Aug 03 16:30:26 StingRay_, that's all just testing stuff Aug 03 16:31:02 well stop playing with silly numbers, and it do a simple location listener than you think is valid Aug 03 16:31:05 and try that Aug 03 16:31:14 I'm going to scale it down to use less battery later on Aug 03 16:31:18 Bear10: Convert it to a string with 2 decimals Aug 03 16:31:51 SimonVT, ok thanks :) Aug 03 16:31:59 And know that when you read it from the database and puts it in a float variable, it'll be 264.640014648438 again Aug 03 16:32:15 isn't SQLite typeless? as in everything gets stores as strings Aug 03 16:32:17 so handle it in the reading and writing Aug 03 16:32:45 StringRay_: Aug 03 16:32:47 I don't think you know how floating point numbers work Aug 03 16:33:25 has to do with the bits or something like that, i never really looked too much into it Aug 03 16:33:36 never really ran into this problem before Aug 03 16:33:54 it has to do with binary fractions Aug 03 16:34:30 aproximations Aug 03 16:34:50 just know how many digit of precision there are and round the value before using it Aug 03 16:34:51 Bear10: String result = String.format("%.02f", fnumber); Aug 03 16:35:00 thanks shmooz Aug 03 16:36:02 Forkk: are you developing an app based on google map? Aug 03 16:36:09 no Aug 03 16:36:20 but it uses geofences to trigger stuff Aug 03 16:36:36 Bear10: or rather "%.2f" Aug 03 16:37:31 Forkk: ok friend, have you done any apps which displays a google map Aug 03 16:37:41 nope Aug 03 16:38:09 StringRay_: have you? Aug 03 16:39:09 StingRay_: do you know how to display a google map on an android activity? Aug 03 16:42:47 Is there anyone who know how to display a google map in android app? Aug 03 16:45:49 dran: in the sdk there is an example Aug 03 16:47:55 StingRay_, yeah, test case doesn't work. http://paste.ubuntu.com/5944401/ Aug 03 16:48:00 monsti: i did exactly as in this vedio, http://www.youtube.com/watch?v=wNlleczyPjs Aug 03 16:49:08 It has the same problem as the GeofenceService Aug 03 16:58:02 Anyone? I've been working at this problem for a few days now... :/ Aug 03 17:11:57 Forkk: ok now test it in an activity Aug 03 17:12:03 rather than a service Aug 03 17:12:15 there woud be like, TODO 101's for me Aug 03 17:13:48 oh and how is the service started neways ? Aug 03 17:17:07 oh hang on Aug 03 17:17:10 Forkk: Aug 03 17:17:12 !!!!! Aug 03 17:17:19 What? Aug 03 17:17:25 Criteria ??? Aug 03 17:17:34 What about it? Aug 03 17:18:07 does it actually have any contents ? Aug 03 17:18:46 I just read what it is Aug 03 17:19:17 I take it if you haven't read, and it is blank, then no provider will be bonded Aug 03 17:19:24 where can i find device profiles for my android emulator? Aug 03 17:19:47 specificly i need to test a samsung galaxy S iii Aug 03 17:20:19 StingRay_, oooooooohhhhhhhhhhhhhhhhhhhhh Aug 03 17:20:56 SuperMandroid: That's not how it works.. The different device profiles basically just sets the resolution Aug 03 17:20:58 if thats it, you should actually be very ashamed Aug 03 17:21:04 It still emulates the same hardware Aug 03 17:22:47 oh i see... thanks :-( Aug 03 17:24:25 so here's my problem I get a npe at oncreateoptionsmenu for galaxy s iii. but i dont know why all others run fine. i read it has something to do with it not having hardware buttons. but the people on stackoverflow seem confused as well Aug 03 17:24:58 anyone have any insight Aug 03 17:26:38 StingRay_, so if I just call criteria.setAccuracy(Criteria.ACCURACY_FINE); will that be sufficient Aug 03 17:27:16 Forkk: read, dammit :) If i can read in a few mintues, without ever looking at location stuff, you can read the rest Aug 03 17:27:31 and should have read to start with Aug 03 17:27:39 I don't see that anywhere D: Aug 03 17:27:43 not copy paste then ask why it dont work :) Aug 03 17:27:56 I have like ten pages of documentation open Aug 03 17:27:57 read, learn, understand, implement, re-write Aug 03 17:29:47 "read","understand" != open documents Aug 03 17:29:49 ;) Aug 03 17:30:24 I did read it, I guess I skipped over the bit about contexts and assumed they had defaults Aug 03 17:30:42 then again, I still don't see where it says anything about this Aug 03 17:30:51 eh ? Aug 03 17:31:03 so you created an object and passed it in Aug 03 17:31:07 without knowing what it is Aug 03 17:31:11 or what it does ? Aug 03 17:31:17 see thats really bad practice Aug 03 17:31:36 http://developer.android.com/reference/android/location/Criteria.html Aug 03 17:31:49 takes a little to read it, but understanding that should be easy Aug 03 17:32:18 oh, it's in the docs for criteria? Aug 03 17:32:31 what ? Aug 03 17:32:35 I was looking at the requestLocationUpdates function Aug 03 17:32:51 you created a Criteria object ??? Aug 03 17:33:04 yes Aug 03 17:33:07 and used it Aug 03 17:33:12 yes Aug 03 17:33:19 as I did before Aug 03 17:33:22 and knew not what it was, or what it does ? Aug 03 17:33:42 I read the summary at the top of http://developer.android.com/reference/android/location/Criteria.html Aug 03 17:34:02 it says nothing about not working if you don't set anything Aug 03 17:34:11 erm Aug 03 17:34:21 then how would it know what to do ? Aug 03 17:34:27 so I assumed that if I didn't set any requirements on the criteria that it would just pick any available provider Aug 03 17:34:38 neways, may not be it Aug 03 17:34:39 which was evidently an incorrect assumption Aug 03 17:34:42 but if it is Aug 03 17:34:45 also, it's working now Aug 03 17:34:50 and the geofences are too Aug 03 17:34:53 yeah Aug 03 17:34:54 which makes no sense... Aug 03 17:35:05 makes perfect sense Aug 03 17:35:12 Well yeah I guess Aug 03 17:35:23 they work now because something's requesting updates for location Aug 03 17:35:32 no Aug 03 17:35:34 but I was requesting location updates before Aug 03 17:35:44 from the Google Play location service Aug 03 17:35:47 they work now cause it know the criteria to select a provider Aug 03 17:36:03 they work now cause I took 2 minutes to read the docs, cause you were asking so much Aug 03 17:36:03 Yes I know, but the geofences have nothing to do with that Aug 03 17:36:21 geofences have nothing to do with a location provider ? Aug 03 17:36:25 The google location services don't take criteria Aug 03 17:36:35 no, geofences are part of Google Play services Aug 03 17:36:36 StingRay_ oh, thats funny! i was reading about NSA Keystone program, and noticed under ~/Library/Launchagents/com.google.keystone.agent.plist Aug 03 17:36:38 not if you set the provider Aug 03 17:37:36 what provider Aug 03 17:37:51 again, google play services. Completely different system. Aug 03 17:38:02 Hang on, I have to go for a bit. Be right back. Aug 03 17:38:52 neways Forkk I dont mean to be condescending, or come across insulting, but you should know that, 1, you have been stuck for days, 2, you have been asking for hours, 3, someone who is not a native programmer spent 2 minutes looking at the docs Aug 03 17:39:02 that should ring alarm bells Aug 03 17:39:11 g00s: ? Aug 03 17:41:18 I dont have that, a google update service or something ? Aug 03 17:41:51 oh well maybe I dont have it as a lauch item Aug 03 17:44:24 can someone out of US test my game for me? Aug 03 17:45:23 Im implementing Amazon Ads, and it should show up only in the US. When outside US AdMob should show up Aug 03 17:45:23 market link ? and what device ? Aug 03 17:45:32 APK Aug 03 17:45:36 new version Im releasing Aug 03 17:45:47 beta link on play ? Aug 03 17:45:52 https://play.google.com/store/apps/details?id=co.rottz.realkakuro Aug 03 17:46:41 alright, I'm back Aug 03 17:46:46 ignore the 9 1* ratings, they're fake from the competition (7 of them were like 1h ago) Aug 03 17:47:32 StingRay_, yeah, don't worry about it. I just didn't really read through *all* the docs. I skimmed the description at the top and made assumptions :P Aug 03 17:50:56 I'm try to run an AndroidPlot example in my project, i've added the AndroidPlot .jar to the build path and to the /libs/ folder but eclipse is still giving me errors for undefined AndroidPlot types Aug 03 17:51:04 g00s, you were the one who told me to use geofences, could you maybe help? Google Play services aren't updating the geofences unless another application is requesting location updates using the built in LocationManager. Aug 03 17:51:35 i have the necessary import statements, anyone have suggestions on how to troubleshoot? Aug 03 17:51:37 Forkk i haven't used it myself; i've avoided the services so far since in need to test on the emu Aug 03 17:52:37 g00s, you can test them on an emulator Aug 03 17:59:34 if anyone *outside the US* can please help me test the new version of my game, heres the link for the APK: https://www.dropbox.com/s/7nihphbuga89yg8/realkakuro_v1_prod.apk Aug 03 17:59:44 the game is this: https://play.google.com/store/apps/details?id=co.rottz.realkakuro Aug 03 18:00:27 the new version should display Amazon ads for people inside US, and AdMob ads for people outside US. I can only test the inside US part. Aug 03 18:00:30 rottz: if you have a play beta setup I would Aug 03 18:00:40 I never tried it Aug 03 18:00:47 I have to setup a google group, right? Aug 03 18:00:52 no Aug 03 18:01:03 just add a beta apk to your current listing Aug 03 18:01:10 and create a g+ group Aug 03 18:01:17 add me, all done Aug 03 18:01:23 lemme try Aug 03 18:09:04 https://plus.google.com/u/0/communities/101279765527737501183 Aug 03 18:10:11 huh, thats odd, didnt ask me to "become a tester" Aug 03 18:10:30 first you have to join the community (link above), then: https://play.google.com/apps/testing/co.rottz.realkakuro Aug 03 18:10:40 or so it seems Aug 03 18:10:44 done and done Aug 03 18:10:55 and no "tester" Aug 03 18:10:58 that sux Aug 03 18:11:01 Good evening. Does anyone here have experience with renderscript, specifically changing a value in the script, invoking renderscript to update it, and then reading it back? It seems I can't read the value from the script, if it in fact ever even updates it Aug 03 18:11:23 I know enough to do rs.finish() to wait until the queued scripts have executed, but that's probably not sufficient Aug 03 18:11:27 it should pop up now on your phone to download, no? Aug 03 18:11:30 I have no idea Aug 03 18:11:37 also time delay measured is reasonable, so it probably runs something Aug 03 18:11:56 rottz: well, I join the group, then go to the link, normally it should say "become a tester?" Aug 03 18:12:01 and you say yes Aug 03 18:12:11 and then you are on the test group of that play entry Aug 03 18:12:17 or so I thought :) Aug 03 18:12:25 thats how it has worked in the past Aug 03 18:12:27 maybe it takes a while to setup Aug 03 18:12:29 for me Aug 03 18:16:15 okay, I think I see it now. There's absolutely no bidirectionality on the script reflection wrapper. So if I need the values constructed by RS, it's rsSendToClient time Aug 03 18:29:43 Hi to all, Could somone help me please with a android kernel question? Aug 03 18:30:04 What can cause my tab freeze, if i insmod a kernel modul? Aug 03 18:30:15 switchgott: this is app dev Aug 03 18:31:18 Oh sorry, where can i find kernel dev? Aug 03 18:31:33 dont know Aug 03 18:31:39 <|0xD34D|> switchgott: someone that can help may be in #android-root Aug 03 18:32:43 thanks Aug 03 18:32:45 bye Aug 03 18:37:34 I would have thought that kernel dev would be a big thing for android/linux and that it would have an official channel Aug 03 18:48:36 I just compiled the goldfish kernel and it's really weird that it only worked by using the gentoo builtin gcc. Aug 03 18:48:40 what makes a kernel-dev a kernel-dev? Aug 03 18:48:49 none of the ones fron the NDK or AOSP worked Aug 03 18:48:51 fixing shit is already enough? Aug 03 18:49:39 for kernel and platform developement, best look into modding channels and weather the idiocy Aug 03 18:59:36 rottz: you about ? Aug 03 18:59:58 that link in the group is the beta link that was in that seciond of dev console ? Aug 03 19:00:26 cause if it is, I think if you have a released app then, you can have no beta also ??!! :( Aug 03 19:27:49 does anyone know how to deal wit the servicemanager exited 4 times in 4 minutes? I get that when trying to boot android 4.3 Aug 03 19:36:30 Has any one here ever set up a maven repo for an android library project? Aug 03 19:38:46 marrrk, what kind of repo? Aug 03 19:39:20 Anything that can then later be referenced and used (even local). Aug 03 19:39:37 marrrk, the easiest way is to just install the lib into local repository with mvn install Aug 03 19:39:54 Okay so I do Aug 03 19:40:07 for company local deploy you can setup Nexus maven repo server or something like that Aug 03 19:40:10 I do mvm install and then what? Aug 03 19:40:16 I'm really the only person who is going to use it. Aug 03 19:40:25 marrrk, then you can use it as a dependency Aug 03 19:40:41 I need a maven or ivy repo, though. Aug 03 19:40:52 uh Aug 03 19:41:09 marrrk, I think you don't really get whan I'm saying Aug 03 19:41:13 you have a local maven repo already Aug 03 19:41:19 mvn install will install the artifact to it Aug 03 19:41:21 That's very possible. Aug 03 19:41:35 and then you can just add that as a dependency and maven will pull it from that local repo Aug 03 19:41:44 usually the repo is stored by default in your ~/.m2 dir Aug 03 19:41:46 Ah. How do I know where that is Aug 03 19:41:51 okay let me check that Aug 03 19:42:07 there is something! Aug 03 19:42:30 So what do I do mvn install "folder_with_project" ? Aug 03 19:42:39 marrrk, er no Aug 03 19:43:11 you just say "mvn install" in your library project dir Aug 03 19:43:13 no parameters Aug 03 19:43:21 even better Aug 03 19:43:21 then in the project whre you want to use that lib Aug 03 19:43:30 you add a entry in pom.xml Aug 03 19:43:37 and that's it Aug 03 19:44:24 Oh there needs to be a pom.xml Aug 03 19:44:31 t.t Aug 03 19:44:47 That's where it gets complicated. Okay, I'll get this. Aug 03 19:45:38 marrrk, er yes, if you want to use a maven library Aug 03 19:45:46 you need to build your project with maven as well right? :) Aug 03 19:47:17 I don't know! I don't build my stuff with maven. But I can reference maven projects alright. I just want to transform andengine to be in some maven repo that I can reference. Aug 03 19:50:44 I think I've spent 3 hours trying to coax renderscript to do something that looks even a little bit reasonable. I think the time may have come to admit that I'm just too stupid to work out how to use this technology. Aug 03 19:51:20 even the simplest rendering that just generates a 2d texture from putting x coordinate to r component and y coordinate to g component and leaving b = 0 produces garbage Aug 03 19:52:29 Think it's pretty much deprecated for graphics Aug 03 19:52:46 No. It's just a general DSP abstraction now. Aug 03 19:52:55 you can use it to render graphics if you like, you just do the projection and the rest of the crap yourself Aug 03 20:00:30 it's funnier when your phone has libOpenCL.so ^^; Aug 03 20:02:49 Hmm... I guess I should have been using premultiplied alphas Aug 03 20:02:53 that explains why the results were odd Aug 03 20:08:25 okay... finally, I think it did start working. Aug 03 20:14:30 hey alankila , haven't seen you in a looong time Aug 03 20:15:52 yeh Aug 03 20:16:29 marrrk you don't need a pom.xml; maven will create it for you if you use mvn:install Aug 03 20:16:46 you just have to specify the group id / artifact id Aug 03 20:16:46 I haven't been doing anything with android since beginning this year really Aug 03 20:16:48 got busy with work Aug 03 20:16:53 alankila :) Aug 03 20:18:30 g00s: how? Aug 03 20:18:52 marrrk http://maven.apache.org/plugins/maven-install-plugin/usage.html Aug 03 20:19:11 gradle does it too Aug 03 20:22:32 Does the group id have to actually match the package name of the project? Aug 03 20:22:51 no Aug 03 20:23:05 This is getting better by the minute. Aug 03 20:23:24 group would be like com:marrrk Aug 03 20:23:59 Still says, there is no pom Aug 03 20:24:32 Oh probably need DgeneratePom=true? Aug 03 20:24:46 nope Aug 03 20:26:45 Don't I need a jar when I use install:install-file? Aug 03 20:27:14 i think so Aug 03 20:27:59 Hi, I am not able to use support.v4's version of LoaderManager. My activity implements android.support.v4.app.LoaderManager.LoaderCallBacks Aug 03 20:28:32 Finally looks like I got it. Let's look at the directory Aug 03 20:28:41 but my getLoaderManager().initLoader(0, null, this) gives an error: The method initLoader(int, Bundle, LoaderManager.LoaderCallbacks) in the type LoaderManager is not applicable for the arguments (int, null, VehicleManagementActivity) Aug 03 20:29:32 I don't get that error if I use android.app.LoaderManager Aug 03 20:32:14 I'm just gonna try and export this as a jar, then. Aug 03 20:34:43 alankila was the time away from android therapeutic :P Aug 03 20:34:53 "getSupportLoaderManager" is undefined Aug 03 20:39:16 ah, need to use FragmentActivity Aug 03 20:41:38 what sort of data can I retrieve from android OS which I can use to locate the phone? ip? cell tower? gps coordinates? Aug 03 20:41:49 if I am building an app Aug 03 20:42:58 are there any kind of limitations if I use FragmentActivity instead of an Activity ? Aug 03 20:45:02 What's the proper way to create a "reusable widget/view or whatever" that I use in several activities/views of my application? Let's say I show images, with some text at the top, and some icons at the bottom... How would I create a "control" or something to define that thing, and rehuse it in several places? Aug 03 20:48:41 depends, you want a custom view or just a layout that you inflate ? Aug 03 20:53:21 alankila: "leaving b = 0" -> "garbage" sounds familiar. What's your platform? Aug 03 20:54:02 StingRay_: I want to reuse both the "layout" and the "java code" that goes with the "layout" Aug 03 20:54:05 g00s: not really. I'm kind of doing something stupid in android now just so that I'd have something enjoyable to do again Aug 03 20:54:19 StingRay_: BTW: What does inflate mean? Aug 03 20:57:11 sounds like you should go over the getting started guides Aug 03 20:57:27 and basic learning stuff on d.android.com Aug 03 20:57:53 but basically all your talking about gavilan2 is fragments and or layouts Aug 03 21:09:23 oes anyone have a last_kmsg from a booting android 4.3 device? Aug 03 21:17:00 hello guys Aug 03 21:27:04 what if I have not already the data when onNavigationItemSelected is invoked? should I change set a view with a progressbar or what? Aug 03 21:30:41 under: do whatever you want Aug 03 21:35:45 StingRay_: Thanks! Aug 03 21:36:33 StingRay_: BTW: Can I use several instances of the same fragment in an activity at the same time? Aug 03 21:40:55 have your read anythign about fragments ? Aug 03 21:40:58 I suggest you do Aug 03 21:41:00 it helps Aug 03 21:43:40 I just wanted to be sure if I'm looking for Fragments, or ViewGroups or what Aug 03 21:45:34 if you dont really know the difference you should perhaps start with the basics Aug 03 21:45:47 http://developer.android.com/training/index.html Aug 03 21:46:13 or you're just going to always be asking things that are in the docs Aug 03 21:47:37 I'm doing some bg processing in my activity and have a ListView that shows the progress. I 'update' the listView with adapter.notifyDataSetChanged(); However when I leave the activity and then come back, the bg processes are still running, but the list view isn't updated. This is presumably because it's a new object, not the previous one. How do I maintain my list view object between activity loads? Aug 03 21:50:49 could someone shed some light as to why it fails horribly to create a SimpleCursorAdapter with a from-array that's defined as a static string array in another class, but new'ing an array with the same content works? Aug 03 21:51:50 for reference, using the static string array creates an ArrayOutOfBoundsExceptions when trying to display the contents of the list that has the cursor bound to it Aug 03 21:53:28 pfn: regarding MiFare cards - ... they work. They simply work. What "not supporting devices" lack is convenience library (the MifareClassic class in SDK) Aug 03 21:54:35 Hmmwait... now only is there renderscript, there's some new thing called filterscript also Aug 03 21:54:49 dear god, would someone please design properly from day one Aug 03 21:55:52 O.o Aug 03 22:03:35 filterscript seems to be just like renderscript except it might be more likely to see actual gpu acceleration Aug 03 22:03:40 oh well, I'll see Aug 03 22:04:41 alankila: well, N4 got OpenCL :D Aug 03 22:05:07 um, no, it doesn't Aug 03 22:05:37 Mavrik: not in Android-exported API, but the lib is there Aug 03 22:06:06 after I finish making mine work with Mifare Classic tags, I might look into it Aug 03 22:06:21 the lib was stripped in 4.3 Aug 03 22:06:47 Mavrik: oh. I wonder if I reload it from Qualcomm driver package... :D Aug 03 22:07:01 :) Aug 03 22:07:19 * p_l is still on 4.2.2 because Mods Aug 03 22:07:21 kinda annoying though Aug 03 22:19:44 Hey, got a question I am building my first content providor and I am noticing in the docs that apps that attempt to use the providor have to request permission to access it, is there a way to build for instance a file providor that requires no permission to use? Aug 03 22:20:25 let me rephrase... "that requires no additional permissions from a 3rd party app to use" Aug 03 22:22:11 use case: launching a video in whatever player the user selects and deliver the video via my content providor Aug 03 22:23:31 from my understanding of the docs and I may have read them wrong, the intent that is being launched would have to have declared the read permission in its manifest to my providor? Aug 03 22:48:33 hello again, this crappy irc client crashes randomly Aug 03 22:51:24 under what are you using? Aug 03 22:51:31 my textual client crashes a lot too Aug 03 22:51:52 hexchat last release Aug 03 22:51:59 the textual dev says its apple's fault :| Aug 03 22:52:13 iwas going to try weechat on my desktop Aug 03 22:52:26 I'm running windows 8.1, maybe this is the reason Aug 03 22:54:53 now I'm using freenode webchat, hoping chrome doesnt crash Aug 03 22:57:16 hey guys Aug 03 22:57:23 how do i make scroll view not affected by touch Aug 03 22:57:34 and I can touch the layer below the scrollview Aug 03 22:58:24 meetoman: http://developer.android.com/reference/android/view/ViewParent.html#requestDisallowInterceptTouchEvent%28boolean%29 Aug 03 23:01:44 hey Napalm, that still doesn't allow me to touch stuff under Aug 03 23:02:17 I need to click the stuff that's in the parentview of scrollview, but not inside scrollview Aug 03 23:06:32 can I manually do it? Aug 03 23:09:12 mScrollWrapper.requestDisallowInterceptTouchEvent(true); Aug 03 23:09:15 i am still scrolling Aug 03 23:37:04 guys? Aug 03 23:37:08 anybody here? Aug 03 23:37:26 yes Aug 03 23:37:48 sure there are quite a few Aug 03 23:38:22 hi Aug 03 23:38:42 Hey, I have a listview and a scrollview, one on top of another, with scrollview on top of the stack Aug 03 23:38:59 most of the scrollview content is empty, so you can see the listview content on the bottom Aug 03 23:39:04 meetoman: thats not a good combo Aug 03 23:39:07 how would i sync the touch event? Aug 03 23:39:19 there are bigger problems than that Aug 03 23:39:32 you just shouldn't do it really Aug 03 23:39:38 well, is there any other way I can play a VideoView inside ListView? Aug 03 23:39:49 that's the challenge Aug 03 23:40:07 why have a scroll view ? Aug 03 23:40:12 no point ???? Aug 03 23:40:29 I can't load VideoView inside ListView for some reason Aug 03 23:40:38 well thats your problem Aug 03 23:40:44 dont attempt to fix it by creating lots more Aug 03 23:40:47 fix that one Aug 03 23:40:49 :) Aug 03 23:41:09 it just keep disappearing Aug 03 23:41:23 meetoman: you want to put your listview and videoview in a framelayout and have the videoview position itself at the postion of the child of the listview Aug 03 23:41:53 Napalm, there is another problem, when I scroll the listview, the videoview needs to go with it Aug 03 23:42:03 otherwise its just stupid Aug 03 23:42:06 meetoman: remember children of a listview are recycled which does not bode well for videoview's Aug 03 23:42:19 I know Aug 03 23:42:20 thats what i just said Aug 03 23:42:25 but it needs to scroll with the listview Aug 03 23:42:28 that's where I am stuck Aug 03 23:42:30 arg Aug 03 23:42:33 how is that a problem Aug 03 23:43:12 want some code..? Aug 03 23:43:17 yah Aug 03 23:43:25 do I overwrite the onscroll from ListView? Aug 03 23:43:55 hang on a sec Aug 03 23:44:06 thanks Napalm Aug 03 23:46:54 you mean setLeft, etc? Aug 03 23:47:06 i m just worried about onscorll Aug 03 23:52:00 meetoman: hang on Aug 03 23:52:07 p_l i thought touretsky updated this , but its just a different cover :| http://www.amazon.com/Common-LISP-Introduction-Symbolic-Computation/dp/0486498204 Aug 03 23:52:31 alright Aug 03 23:52:37 g00s: damn Aug 03 23:52:45 thanks Napalm Aug 03 23:52:53 hi g00s, long time no see Aug 03 23:52:59 hey meetoman Aug 03 23:54:20 stuck on a problem, Napalm is helping me out, it's been a while before I got stuck on a problem Aug 03 23:54:22 so much fun stuff on my plate to investigate Aug 03 23:54:39 i guess i should learn a little groovy, would like to learn mode clojure - and mundane stuff, like tmux Aug 03 23:55:01 meetoman you are in good hands :) Aug 03 23:55:10 watch out for that StingRay_ guy though :P Aug 03 23:55:24 lol Aug 03 23:55:39 dealing with video is such a pain heh Aug 03 23:55:48 oh man, on android too Aug 03 23:55:56 is there a streamlined AOSP development environment or IDE. just something better than jump from file to file in vi Aug 03 23:56:10 Applecrisp: are you serious:? Aug 03 23:56:11 android's nice is really CRUD app client for web service :) Aug 03 23:56:15 *niche Aug 03 23:56:19 with adds, of course Aug 03 23:56:38 Napalm yes Aug 03 23:56:54 Napalm android studio does not support AOSP Aug 03 23:58:29 Napalm please share if you know a process that I don't Aug 03 23:58:57 im not sure you what your getting at? what does it not support Aug 04 00:00:10 Napalm android studio is for app development. I was wondering what people use for rom development. Aug 04 00:00:20 meetoman: are you using a standard ListView? Aug 04 00:00:38 I use vi and it's slow and not very effective Aug 04 00:00:44 Applecrisp: better to ask in #android-root Aug 04 00:00:55 OK good idea thank you Aug 04 00:01:05 no, using pinterest type listview Aug 04 00:01:26 https://github.com/maurycyw/StaggeredGridView Aug 04 00:01:32 ok, gimme a moment, i will have to rework this Aug 04 00:01:51 thanks so much Aug 04 00:01:56 what is the best way to check when data is ready? I'm using AsyncTask but I have some issues Aug 04 00:02:26 meetoman: you will have to edit your ListView and have it implement an interface.. I will provide an example basic ListView Aug 04 00:03:20 sure Aug 04 00:04:40 under: check when data is ready ? would you not know ? Aug 04 00:04:51 since your fetching it ? Aug 04 00:09:23 StingRay_: I have a AsyncData that parse xml file ( called on Create) and set a arrylist in the FragmentActivity class. When onNavigationItemSelected is called (I've a dropdown menu), the arraylist is not already filled so I have an empty list. What I would like to do is something in onNavigationItemSelected that wait my ArrayList to set the ListFragment Aug 04 00:11:15 why not init the arraylist to empty and when ready add items as they load ? Aug 04 00:13:42 Hello, I need help debugging a SEGV_MAPERR segfault Aug 04 00:13:55 I "ported" SOIL onto GLES2 and this happens: Aug 04 00:13:59 http://pastie.org/8204091#16 Aug 04 00:14:04 man, still wondering how it would scroll lol Aug 04 00:14:12 uh, is github down ? Aug 04 00:14:13 this is the offending function: http://pastie.org/private/ykqxqvdsd22lxvnwtofsyq Aug 04 00:14:31 g00s: yes Aug 04 00:14:41 https://status.github.com Aug 04 00:14:42 fuckity fuck Aug 04 00:15:12 StingRay_: the arraylist initially is empty of course. android invokes immediately onNavigationItemSelected and the arraylist has not been already filled in Aug 04 00:16:08 no i mean dynamically populate it as and when it can IF it's open and IF data is comming in Aug 04 00:16:11 on every entry Aug 04 00:16:21 or just dont enable it till it's ready Aug 04 00:17:27 yes this is want i want to do Aug 04 00:17:36 oh Aug 04 00:17:41 so whats your question again ? Aug 04 00:17:45 :) Aug 04 00:19:13 the way to how do that becouse I dont have any idea Aug 04 00:20:26 Napalm, any luck? Aug 04 00:20:51 meetoman: hang on a sec, jesus Aug 04 00:20:54 under: you dont know how to disable a button ? Aug 04 00:21:26 sorry ;) Aug 04 00:21:26 StingRay_ did the beta thing work? Aug 04 00:21:45 rottz: no did you see my comment/query earlier ? Aug 04 00:21:53 yeah the first I think I did Aug 04 00:22:01 was that the link ? Aug 04 00:22:03 StingRay_: so you say to disable actionbar till my arraylist is filled? Aug 04 00:22:08 about not appearing a "become a tester" or something Aug 04 00:22:19 but I thought it could be temporary Aug 04 00:22:23 since I had just setup the thing Aug 04 00:22:25 under: rottz yes Aug 04 00:22:28 :) Aug 04 00:22:33 always wanted to do that Aug 04 00:22:53 wont be ugly ? Aug 04 00:23:21 under: this is a design choice really Aug 04 00:23:23 up to you Aug 04 00:23:25 github is so slow toda Aug 04 00:23:37 when you decide, look at how to do it and ask specific questions Aug 04 00:23:39 https://play.google.com/apps/testing/co.rottz.realkakuro Aug 04 00:23:49 yay Aug 04 00:23:51 it shows up "become a tester" to me Aug 04 00:23:52 I'm a tester Aug 04 00:23:57 \o/ Aug 04 00:24:04 that wasnt the link on the group Aug 04 00:24:19 no, the group is: Aug 04 00:24:21 ok now comes the interesting part Aug 04 00:24:23 https://plus.google.com/u/0/communities/101279765527737501183 Aug 04 00:24:43 oh no I mean https://play.google.com/apps/testing/co.rottz.realkakuro Aug 04 00:24:47 from the group Aug 04 00:25:01 it direct to play store listing, but now seems to be ok Aug 04 00:25:13 but now…how the fk, do I install the beta :) Aug 04 00:25:49 ok well going direct to play and asking me to download Aug 04 00:25:55 how do i tell if beta ? Aug 04 00:25:56 :) Aug 04 00:26:07 no idea Aug 04 00:26:19 never used this as a developer nor as a user Aug 04 00:26:22 StingRay_: thinking about that... The problem keeps: how can I check when my arraylist is not empty? Aug 04 00:26:27 gorgeus photo btw Aug 04 00:26:38 gorgeous* Aug 04 00:27:14 Hello, i have a little question. I have a listview on fragment withadapter in layout. I need go to last item focus. I try with setSelection but dont work for me Aug 04 00:27:48 under: size() ? Aug 04 00:28:13 rottz: well it's installed Aug 04 00:28:22 you have any difference in version num ? Aug 04 00:28:29 sure but I do have start some type of task right? I cannot start a new thread in main ui Aug 04 00:29:07 under: I'm sorry but I dont know what your going on about now Aug 04 00:29:15 task ? Aug 04 00:29:27 of the ui thread to do size() ? Aug 04 00:29:31 what ? Aug 04 00:29:40 rottz: 1.1.6 Aug 04 00:31:21 StingRay_: as I said, the arraylist is filled in AsynTask so in the main class ( FragmentActivity) I dont know when my arraylist is filled. can you follow me? Aug 04 00:31:29 jeez Aug 04 00:31:30 *AsyncTask Aug 04 00:31:54 under: when the asyc is done!!! Aug 04 00:32:05 do you know about Async ? Aug 04 00:32:26 sure but to check when is done I have to run a tread! Aug 04 00:32:38 well no Aug 04 00:32:46 onPostExectue() Aug 04 00:32:53 just read the docs and look at examples Aug 04 00:32:56 it's all there Aug 04 00:33:16 I'm talking about Activity not the AsyncTask Aug 04 00:33:25 I know how AsynTask works Aug 04 00:33:56 ok so i really dont know A . what your issue is, B . what your asking Aug 04 00:34:24 when it's done it runs onPost*() Aug 04 00:34:29 what else do you want ? Aug 04 00:35:18 rottz: this is the beta Aug 04 00:35:24 is possible? Aug 04 00:35:25 what do you want testing ? Aug 04 00:36:04 focus on listview Aug 04 00:36:27 roramirez: yes but wont do much Aug 04 00:36:31 I have a Activity that has an arrayList. I start a AsynTask that fills Activity's arraylist. how can I check, in the Activity class, if the arraylist has been filled? Aug 04 00:36:37 Is now clear? :) Aug 04 00:36:50 size() Aug 04 00:37:19 onPostExecute() of the async is run when it's complete Aug 04 00:37:27 I really dont understand what else you want ? Aug 04 00:37:42 unless you really dont get what how to use AsyncTask Aug 04 00:37:56 in which case you should read and look at examples Aug 04 00:38:12 that DO something in "onPostExecute()" <---- Aug 04 00:38:29 not sure how many ways I can phrase the same answer Aug 04 00:38:32 sorry Aug 04 00:38:55 onPostExecute() is a AsyncTask method. I need to know, _In the Activity_ when the data has been changed. Aug 04 00:39:12 under: omg! Aug 04 00:39:36 onPostExecute(){ helloMyCrapIsDone(); } Aug 04 00:39:47 thats a method IN THE ACTIVITY Aug 04 00:40:11 or in your case updateMenuItemsComplete() or some sh*t Aug 04 00:40:29 this is in the docs and should be in 90% of the examples you can find online Aug 04 00:41:21 I'm sorry but if you dont get this, you really need to look at some asyncTask stuff, and use of onPost*() etc Aug 04 00:41:45 anyone know how to prepare Android Studio for complete offline use? Aug 04 00:42:11 StingRay_: ok nice idea but I have to start a thread anyway Aug 04 00:42:25 it's not an idea Aug 04 00:42:33 I'm gonna be in a flight and i wanna do some coding but there will be no internet Aug 04 00:42:36 it's how it's used Aug 04 00:42:42 becouse I cant know when onPostExecute is invoked Aug 04 00:42:48 i just disconnected my computer and started AS, it can't even compile Aug 04 00:42:53 under: omg Aug 04 00:42:55 no no Aug 04 00:42:59 * StingRay_ gives up Aug 04 00:43:08 haha Aug 04 00:43:20 you can do that rocky Aug 04 00:43:31 under: this is it now Aug 04 00:43:33 ready Aug 04 00:43:45 this is the last attempt I will have to say the same thing Aug 04 00:43:52 I WILL not give up on you!! Aug 04 00:43:54 dammit! Aug 04 00:44:02 StingRay_: ok onPosteExecute invoke my Activity method Aug 04 00:44:02 perfect Aug 04 00:44:09 YES!! Aug 04 00:44:11 how can I know WHEN? Aug 04 00:44:14 omg yes Aug 04 00:44:23 cause it will do that when the async is complete Aug 04 00:44:30 and it will fire Aug 04 00:44:34 yes Aug 04 00:44:37 and you will setup the menu Aug 04 00:44:45 and all is well in the lans of Oz Aug 04 00:44:49 land* Aug 04 00:45:20 but he comes from the land down under Aug 04 00:45:42 where women **** blaa *** plunder ? Aug 04 00:45:50 fk, I now need to listen to that Aug 04 00:46:51 brb door Aug 04 00:46:53 . o O ( who can it be now? ) Aug 04 00:52:17 never mind, using a local gradle dist makes it work offline :) Aug 04 00:55:59 StingRay_: ok I figured out invoking a method onPostExecute that creates and sets the action bar. Thanks, I will send you a doctor :D Aug 04 00:56:12 :) Aug 04 01:11:08 gah Aug 04 01:11:14 twitter4j isn't working for me Aug 04 01:11:29 keeps giving me "No authentication challenges found" Aug 04 01:19:25 hello Aug 04 01:23:01 speakoftrees: Aug 04 01:23:04 hey Aug 04 01:25:06 meetoman: https://gist.github.com/slightfoot/6148668 that should do you Aug 04 01:25:15 Thanks sooo much!!!!! Aug 04 01:28:08 Ankhwatcher i kind of wondered about that, did twitter disallow any clients other than their own ? Aug 04 01:29:27 g00s: nah, it works okay with the test oauth credentials they gave me, but when I log in with a test account and try with some live credentials it just refuses my request. Aug 04 01:38:48 well this is curious Aug 04 01:39:22 when I try my twitter account it doesn't deliver a token and verifier Aug 04 01:41:08 arg, how do I undo the studio update? Aug 04 01:41:25 install from scratch? Aug 04 01:46:57 fuck twitter Aug 04 01:47:01 and twitter4j Aug 04 01:47:04 I'm going to bed Aug 04 01:59:58 hm, tmux looks complicated Aug 04 02:13:19 StingRay_ sorry forgot to check irc, did it work? you mentioned 1.1.6 right? 1.1.6 is the beta version Aug 04 02:13:29 yes, and yes i know Aug 04 02:13:44 ok :) didnt know if it was possible to tell Aug 04 02:13:57 which ad does it show during game (banner) Aug 04 02:13:58 ? Aug 04 02:14:02 * StingRay_ had the brains to compare version with play version Aug 04 02:14:03 google or amazon? Aug 04 02:14:08 LOL Aug 04 02:14:16 true Aug 04 02:14:33 well I just started it and get a full screen anoying add Aug 04 02:14:34 ad Aug 04 02:14:38 yeah Aug 04 02:14:42 1 new message ? Aug 04 02:14:45 really ? Aug 04 02:14:47 from who? Aug 04 02:15:01 the fullscreen ad is google, the banner one that might be amazon or google Aug 04 02:15:05 depending on where you are Aug 04 02:15:11 or just might not work, or crash Aug 04 02:15:14 or something Aug 04 02:15:14 1 new message in banner Aug 04 02:15:15 red Aug 04 02:15:22 google Aug 04 02:15:34 good, cool, thanks! Aug 04 02:15:37 you're not in US, right? Aug 04 02:15:53 UK Aug 04 02:16:00 you need to sort your gfx a bit though… if I may be so bold :) Aug 04 02:16:44 which gfx? Aug 04 02:17:03 clarity of font is a bit of a pain Aug 04 02:17:18 icons / pen pencil etc are a bit horridly scaled Aug 04 02:17:27 the refresh icon too Aug 04 02:17:45 you mean the quality of the images are too low? Aug 04 02:17:46 the popup (restart dialog) is very not in style with the game style Aug 04 02:17:51 yes Aug 04 02:18:20 I had really AND i mean really high hopes when i get the 1st splash photo Aug 04 02:18:31 cause that is a nice photo Aug 04 02:18:35 and HQ Aug 04 02:18:43 I might have used lower res versions, I gotta check, I was afraid of using high res images on Android Aug 04 02:18:54 because of the fragmentation, low mem devices, etc Aug 04 02:19:02 but I think I might have pushed it too low Aug 04 02:19:07 indeed Aug 04 02:19:10 iOS version has better gfx Aug 04 02:19:14 I mean, same gfx, better res Aug 04 02:19:28 i will have a look at that too then :) Aug 04 02:19:51 the font part I gotta check it, I think I received a review complaining about it Aug 04 02:20:00 but it was in french and the translation didnt make much sense Aug 04 02:20:36 the size, style and kerning of a font like that makes little sense to me at the variable sizes and densities Aug 04 02:20:43 just my op though Aug 04 02:21:24 I actually think the style of the board/bg and icons dont match too well either Aug 04 02:21:49 btw sorry for saying this, I'm kinda opinionated in most things design and graphics related Aug 04 02:22:46 what device do you have? Aug 04 02:23:11 lots Aug 04 02:23:22 tested on nex7 Aug 04 02:23:42 cause it was directly next to me :) Aug 04 02:23:44 and on Aug 04 02:23:55 lol np, I wont change anything radical on the design, unless the iOS version changes (developed by my friend), which is very unlikely Aug 04 02:24:11 but those minor adjustments are very welcome Aug 04 02:24:25 nex7 should load the HD version of the images Aug 04 02:24:37 lemme see if that is broken Aug 04 02:28:03 nope, should be working OK Aug 04 02:28:27 which font contrasts were you talking about? Aug 04 02:28:35 so I can check/change here Aug 04 02:32:41 I'm having issues with Android Studio properly exporting third-party JAR files to device for debug Aug 04 02:33:34 everything seems to be set up correctly, 0 errors or warnings, but logger is suggesting the JAR is missing on device Aug 04 02:35:47 how did you add this third party jar to your project? Aug 04 02:40:45 I added to the \libs folder Aug 04 02:41:27 then I went into Project Structure and added it under libraries Aug 04 02:41:57 rmz1995 make sure scope is runtime , not compile Aug 04 02:42:07 not sure where that is in AS Aug 04 02:42:13 lastly, added entries to dependences in build.gradle (e.g. compile files('libs/datachart.jar') ) Aug 04 02:42:33 rmz1995 I have never used AS, cant help much, in eclipse adding to the libs folder is enough Aug 04 02:42:36 g00s: how do I do that Aug 04 02:42:46 yeah, dunno :) Aug 04 02:42:50 dont use AS Aug 04 02:43:06 I've read in Eclipse this problem is common when the JAR is placed in lib instead of iibs Aug 04 02:43:22 Why aren't more people using Android Studio Aug 04 02:43:32 you are showing us why :) Aug 04 02:43:40 lol Aug 04 02:45:22 its still an early access preview Aug 04 02:45:30 probably ready to use by next i/o Aug 04 02:45:34 I Yeah, I realize that painfully now Aug 04 02:45:56 if you are patient and its a hobby project, whatever Aug 04 02:46:13 but if you have deadlines and have to get shit done, may as well use what really works Aug 04 02:46:45 Well having used Eclipse a little bit, then really building a product in Android Studio I will say I love the refactoring and auto-gen capablities. It's much nicer than Eclipse... Sadly it's not ready for professional use IMO Aug 04 02:47:28 Might have to try it out when it matures a little Aug 04 02:47:35 it's awesome Aug 04 02:47:59 If you've ever used a Jet Brains IDE, it's that caliber Aug 04 02:48:13 since it IS by Jet Brains Aug 04 02:48:43 Oh well, back to Eclipse. I'll have to rebuild the whole project structure Aug 04 02:49:04 rmz1995 maybe use plain intellij Aug 04 02:49:37 its still productive. don't need gradle and the new bells & whistles Aug 04 02:49:55 Thanks I might try that. Android Studio feels like IntelliJ just with the addition of the layout UI helpers Aug 04 02:50:37 yeah, I don't understand the benefits of gradle I guess Aug 04 02:50:57 just seems to add uneeded complexity, but you get it by default with AS projects Aug 04 02:51:48 Is there any way to receive the TIME_TICK broadcast by declaring it in the manifest? I need to ensure that whatever happens, this service is always running. After it's killed, I need it to restart, and I don't want to launch that application when it's installed Aug 04 02:52:14 are there any similar boradcasts that I can use to keep triggering my service? Aug 04 02:52:24 thanks guys Aug 04 02:53:24 or should I simply launch the application on start and create a notification for it, so that android doesn't kill my app in the background? Aug 04 02:53:31 Couldn't you register it as a background service and use START_STICKY so it is never killed? Aug 04 02:53:59 rmz1995 i'm a little skeptical of gradle myself, for a bunch of reasons. anyhow, i'm looking at it. but (a) groovy is falling in popularity, so i wasn't too inclined to learn it just for this (2) there are way too many ways of doing the same thing (3) there is a lot of magic going on, you have to know how it all works (4) i'm very skeptical of getting the IDEs to see gradle as THE model Aug 04 02:54:03 Yes, i think I'll have to go with that, background service + notification + sticky Aug 04 02:57:49 g00s: it works better than Maven, IMO Aug 04 02:58:12 one of the things that irks me , for example, is 4 ways to declare a task Aug 04 02:58:14 though I do have one pom.xml left because I didn't want to learn enough groovy to code in the missing bit Aug 04 02:58:39 p_l what do you think of groovy … would you use it for anything else ? Aug 04 02:58:43 g00s: Oh? There's actually only one, iirc, but it isn't obvious that all of them are the same Aug 04 02:58:45 it does have some metaprogramming Aug 04 02:58:46 g00s: nope Aug 04 02:59:19 I'd rather go with JRuby, Clojure, or ABCL Aug 04 02:59:40 yeah, i'm itching to do work with clojure Aug 04 02:59:47 btw, anyone here knows of good java library for operating on *bit* strings? Aug 04 02:59:56 I've got a bunch of crappy crypto to reimplement **** ENDING LOGGING AT Sun Aug 04 02:59:58 2013