**** BEGIN LOGGING AT Mon Oct 03 02:59:58 2016 Oct 03 03:19:22 okay, different tack then Oct 03 03:19:34 in a webview, how can I absolutely force a page to reload with no cache/no cookies etc Oct 03 03:20:03 is it possible? i've tried all sorts of setAppCacheEnabled(false) / noCacheHeaders.put("Cache-Control", "no-cache"); / cookieManager.removeAllCookie(); stuff Oct 03 03:20:06 none of it works for me Oct 03 03:48:25 huh, pixel devices have Android 7.1 ... Oct 03 04:09:11 heya alex_PP Oct 03 04:09:21 morning Oct 03 04:11:58 alex_PP have you used MapFragment before ? Oct 03 04:12:08 yeah Oct 03 04:12:21 worked fine Oct 03 04:12:28 hm, so it inherits from platform Fragment, what do you do if you are using support fragment manager ? Oct 03 04:12:33 only problem was using it with ABS back in the day Oct 03 04:12:38 ah, yes Oct 03 04:12:40 that's the problem Oct 03 04:12:48 strange they've not sorted that Oct 03 04:13:11 https://www.youtube.com/watch?v=TbEtcpM0RGc Oct 03 04:13:15 ah, they have Oct 03 04:13:22 whoops Oct 03 04:13:23 https://developers.google.com/android/reference/com/google/android/gms/maps/SupportMapFragment Oct 03 04:15:03 alex_PP oh thanks Oct 03 04:15:15 ha, can't remember which fluke i have Oct 03 04:15:38 ha Oct 03 04:15:58 that's just a cheapy one for the Chinese market. Oct 03 04:16:16 but, looks like it wont blow my hand off like a $20 one Oct 03 04:16:38 got a Uni-T back in cambodia, which I use with extreme caution Oct 03 04:17:21 says Cat IV on the body, but it ain't got no input protection Oct 03 04:18:33 fluke 117 Oct 03 04:19:01 it was pretty cheap. i took it apart and it looked solid Oct 03 04:21:05 alex_PP do you foresee any problems using a MapView in a RecyclerView ? Oct 03 04:21:30 should be fine, I think Oct 03 04:21:36 haha Oct 03 04:21:58 oh, hm scrolling Oct 03 04:22:04 I'd look at the static maps API Oct 03 04:22:11 yeah Oct 03 04:22:29 just build images you can cache Oct 03 04:22:46 you're going to be messing about disabling about 90% of mapview's functionality Oct 03 04:26:14 alex_PP have you discovered any cool new libs lately ? Oct 03 04:26:29 nope Oct 03 04:26:42 i'm looking at this genius/groopie thing, looks OK Oct 03 04:26:51 had a play with sqlbrite, seems to work as expected Oct 03 04:26:52 for recyclerview Oct 03 04:27:05 nice Oct 03 04:27:05 genius/grooie? Oct 03 04:27:23 https://github.com/Genius/groupie Oct 03 04:28:34 i guess lisa wray works there now, left google Oct 03 04:28:39 or something Oct 03 04:29:41 alex_PP not sure if i should be excited or terrified for oct 4 Oct 03 04:30:29 that does look nice Oct 03 04:30:56 there was someone in here trying to expand a recycler view the other day Oct 03 04:40:11 I have a selector xml, and in it an Oct 03 04:40:20 If i do this: Oct 03 04:40:36 then the whole thing turns blue (the primary color). i just want the background to be blue Oct 03 04:40:40 how do i achieve that? Oct 03 04:50:04 lol "groupie is not tested (well)" well then Oct 03 04:58:13 if a color is defined in color.xml, how can I then use that in setCardBackgroundColor() ? Oct 03 04:58:16 (which takes an int) Oct 03 04:59:52 .getResources().getColor() is deprecated now Oct 03 05:00:52 ContextCompat Oct 03 05:01:12 It seems to be sort of a catchall for "Whoops. This function was actually useful" Oct 03 05:02:09 It basically amounts to ContextCompat.getCOlor(context, R.color.blahblah) Oct 03 05:02:44 where context is an activity? Oct 03 05:03:51 You DO have Facebook installed Oct 03 05:03:55 @!#$@# wrong channel Oct 03 05:03:56 no Oct 03 05:04:16 Yeah you could use getActivity() there as far as I know Oct 03 05:04:40 You need to pass it a context. Preferably a _relevant_ one if you'd like useable results Oct 03 05:04:48 Doesn't really matter how you get it Oct 03 05:13:54 thanks, that worked Dagmar Oct 03 05:14:15 one more thing, on a card view is it possible to "getCardBackgroundColor()" programatically? Oct 03 05:14:26 even though reflection or something Oct 03 05:18:31 githubius, setbackgroundcolor is just a shortcut for setbackground(new ColorDrawable(color)) Oct 03 05:19:06 so you can use getBackground(), instanceof ColorDrawable, getColor() Oct 03 05:19:24 but why? Oct 03 05:19:40 surely you knew the colour when you set it? Oct 03 05:20:12 when the item gets dragged a new cardview instance is created Oct 03 05:20:22 and i want to copy the background colour from the original to the copy Oct 03 05:20:54 just use draged.setBackground(original.getBackground()) Oct 03 05:21:28 not sure if you need to duplicate the drawable Oct 03 05:22:04 Can't see why it would be problematic if the drawable is just a solid color Oct 03 05:22:17 yeah, should be fine Oct 03 05:22:37 yeah that worked Oct 03 05:22:40 thank you Oct 03 05:45:23 gone quiet Oct 03 05:48:40 Hey guys and girls.. Oct 03 05:49:17 Sort of noob question.. I just installed android studios and opened up a sample project and it doesn't compile. Oct 03 05:49:58 I'm getting what looks like a gradle error. Oct 03 05:50:11 Error:Execution failed for task ':app:compileDebugAidl'. Oct 03 05:50:12 > java.lang.RuntimeException: org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/home/nomad/Android/Sdk/build-tools/22.0.1/aidl'' Oct 03 05:50:45 the answers on SO and google don't seem to work. Oct 03 05:52:16 Do you have build tools 22.0.1 installed? Oct 03 05:59:03 I should have them.. I ran the sdk tools and installed it Oct 03 05:59:13 It's got the tick beside it now. Oct 03 06:00:46 To be honest.. the switch to 22.0.1 was done after the install.. as per one of the suggestions on SO. Oct 03 06:05:38 Anyway, build from command line with --info or --stacktrace if it doesn't give you more info than that Oct 03 06:06:03 And there's no reason not to use the latest build tools Oct 03 06:10:37 cool.. How do you build from the command line? Oct 03 06:16:54 gradlew build Oct 03 06:38:16 Anyone familar with magic squares? Oct 03 06:38:38 Would a program that went through 24 possible permutations for the first row, then 6 more for the 2nd, and finally 2 more for the last 2, generate all of them? Oct 03 06:39:09 I count 288 possible magic squares using that logic. Oct 03 06:42:00 Also, this is limited to Sudoku-style ones. Oct 03 06:42:33 Those though have an additional restriction or two. Oct 03 06:42:42 (Which I'm ignoring - one problem at a time) Oct 03 06:48:52 Another reason to feel miserable: http://www.networkworld.com/article/3099092/mobile-wireless/the-cia-nsa-and-pokmon-go.html Oct 03 06:49:31 Dontcha know? Gotta catch every pixel. Oct 03 06:50:01 It's Trainer Information Awareness. Oct 03 06:50:09 * alphamule ducks before banned Oct 03 06:50:21 *horrible jokes* Oct 03 06:51:07 alphamule: the huge endorsement it got from the media made it plainly obvious to me, but I didn't know that people would talk about it Oct 03 06:51:25 Or that if they did, they'd be strawman paranoids. Oct 03 06:51:41 Alex Jonessing for a privacy Oct 03 06:52:08 alphamule: we got this bullshit news here in Romania about how a reporter in the US was caught playing Pokemon Go instead of doing his job in that "hi hi ha ha, so silly!" tone Oct 03 06:52:11 "What you are looking at right now" "Pokemon" Oct 03 06:52:19 "What you were looking at in the past" "More pokemon" Oct 03 06:52:42 HAHAHAHA Oct 03 06:52:51 alphamule: it was obviously an ad for the app X_X Oct 03 06:53:15 alphamule: but being publicized so openly by the US government makes me sad Oct 03 06:53:16 Being that 90% of the players turn off AR mode as a resource drain, the idea that they could reliably access the camera is almost laughable Oct 03 06:53:32 I thought it was that they found a way to record news while also hunting for pokemon spawns? Oct 03 06:53:32 Do both! Oct 03 06:53:51 Oh look, metaception: The pokemon are the news. Ugh, that first month... Oct 03 06:54:08 Dagmar: because the application is doing ONLY that Oct 03 06:54:51 AR takes a lot of CPU, but casually taking snapshots (of RAM but same issues) has been a radio firmware feature for years on just about anything out there. Oct 03 06:55:05 Yeah they don't need PG for that Oct 03 06:55:18 I bet you it takes very little to randomly collect photos. :P (aranoid) Oct 03 06:55:53 Google would love to have something like Street View but with all the tourist spots. Oct 03 06:56:08 Watch some place like a museum sue Google to remove all views. Oct 03 06:56:09 You think that "extremist" governments wanted to ban Pokemon Go because it was "immoral"? They didn't want such a cloaked-and-dagger, mass surveillence of their people Oct 03 06:56:32 alphamule: You didn't notice the mention of Ingress? Oct 03 06:56:37 Hmm, pull a play from India's book. Require API access, haha. Oct 03 06:56:48 I never played either. Oct 03 06:56:58 Telling their people "Pokemon Go is actually a surveillence tool" would create panic Oct 03 06:57:09 Tell them it's malware. Oct 03 06:57:12 Ingress players are where probably 99% of the "Pokestops" in Pokemon Go came from Oct 03 06:57:17 Or should I say, Mawlieware Oct 03 06:57:20 ;) Oct 03 06:57:35 What? Hardcore porn is ok, a game about Pokemons is deeply offensive? Oct 03 06:57:40 *but a game Oct 03 06:57:58 but is optional I guess but hehe yeah Oct 03 06:58:22 Need a game where your goal is to be the first to photograph a place where photography is illegal. Oct 03 06:58:33 Win BTC! Oct 03 06:58:40 alphamule: lol Oct 03 06:58:44 I'm not kidding Oct 03 06:59:04 Ingress players get kinda serious about "hard target" portals Oct 03 06:59:18 Get 500000000 bathroom photos... "Well hell, I guess we need to hire real moles and spies - damn it!" Oct 03 06:59:24 Dagmar: didn't you read the article? Oct 03 06:59:36 If there's a statue of buddha a five mile hike through alligator-ridden woods, some damn nerd has gone out and taken a picture of it and submitted it Oct 03 06:59:36 My Wifi keeps dropping packets Oct 03 06:59:42 I can't even read it :( Oct 03 06:59:51 Idiosyncratic: I read the article. It's cowardly FUD. Oct 03 06:59:59 Dagmar: FUD? Oct 03 07:00:03 Was it written by Microsoft? Oct 03 07:00:09 Dagmar: wtf, how can it be FUD? Oct 03 07:00:21 That's their trademark - Better be careful using it! Oct 03 07:00:25 Dude's trying to spin Alex Jones level nonsense without actually coming out and saying silly crap Oct 03 07:00:49 "Oooo! They're watching you while you fap. No wait, not really. BUt they COULd be!" Oct 03 07:00:56 No, because the actual reality is likely far worse than what we know, and nothing as bad as what they say. Oct 03 07:01:08 The NSA doesn't need POkemon Go to spy on you Oct 03 07:01:20 ...also the NSA has better programmers than Niantic Oct 03 07:01:30 Dagmar: then why the massive media endorsement? Oct 03 07:01:43 Irony, is it can be far worse in some way the conspiracy theory site runners never even thought of. Oct 03 07:01:44 1. A slow news week. Oct 03 07:01:49 Dagmar: 1. Bullshit Oct 03 07:01:51 "WE KNOW WHEN YOU TAKE A DUMP" Oct 03 07:01:58 2. CRAPTONS of people played Pokemon as a kid, and have been waiting anxiously for a "Real world" version Oct 03 07:02:03 From your microphone Oct 03 07:02:17 Dagmar: yeah no Oct 03 07:02:17 (Microsoft, Google, Apple) Oct 03 07:02:17 heh Oct 03 07:02:28 Unfortunately, yes, yes Oct 03 07:02:52 I got used to wandering around a local park seeing *maybe* 1-4 people playing Ingress a week Oct 03 07:02:59 You don't need to be a great programmer when the hardware itself is suspect, yet alone the OS. Oct 03 07:03:20 Yeah, the trademark tie-in was genious. Oct 03 07:03:21 The first weekend of PG, easily 200-250 people in that same park playing POkemon Go, nearly all of them having played at least one of the handheld games Oct 03 07:03:21 Dagmar: I bet even the Australian aborigenes living tens of kms from civilization heard of Pokemon Go Oct 03 07:03:39 Dagmar: well, they got data about herd mentality Oct 03 07:03:41 genius* Oct 03 07:03:59 Dagmar: more of it Oct 03 07:03:59 Meh, confirmation of really old theories. Oct 03 07:04:05 Like Nintendo didn't already have a very good idea what percentage of the US population has played a Pokemon title before Oct 03 07:04:18 It's a thing they used to practically force people to buy new DS units several times Oct 03 07:04:23 Dagmar: lots of manchildren in the US, easy to know Oct 03 07:04:30 Mario is probably at least as recognizable as Mickey Mouse? Oct 03 07:04:40 Ah yes... Clearly having played a video game as a child makes an adult into a manchild Oct 03 07:04:48 Dagmar: I collected Pokemon bullshit as a kid too X_X Oct 03 07:04:57 Note: Not all games are for kids. Oct 03 07:05:03 <-- Romanian Oct 03 07:05:28 And quite a bit of the censored games on Nintendo platforms were originally aimed at "15-25" crowd. Oct 03 07:05:35 Frankly I'm kind of surprised Sun/Moon won't require the _new_ 3DS XL Oct 03 07:05:40 *cough*Mortal Kombat*cough* Oct 03 07:05:55 Dagmar: you play this Pokemon bullshit? :P Oct 03 07:06:13 Dagmar: Because they're probably intending it to tie with an App Oct 03 07:06:22 Idiosyncratic: I play rather a lot of games. The more complex the better. I happen to like game theory and those types of problems. Oct 03 07:06:42 I give not one crap about storyline most of the time Oct 03 07:06:49 Dagmar: so mature :P Oct 03 07:07:11 ...but i'll certainly tear a mechanic apart to determine if the developers were actually coming up with something novel or just retreading old ideas Oct 03 07:07:15 Ideas are for stupid people while the truly wise only play skinner boxes! Oct 03 07:07:38 Sanity is a luxury. Oct 03 07:07:47 Better save up for it. Oct 03 07:08:14 * alphamule starts to play some Type O Negative song Oct 03 07:08:38 Spend enough time with Dwarf Fortress, and DNS, load-balancing, SSL... these things start looking easy Oct 03 07:08:52 Dagmar: Dwarf Fortress... Oct 03 07:09:03 Dagmar: are you autistic or something? :P Oct 03 07:09:10 Reading a bunch of raw tcpdump output? Easier than playing Dwarf Fortress without a sprite map Oct 03 07:10:42 Idiosyncratic: No, just barking mad Oct 03 07:10:51 Dagmar: you ought to play more serious games like the Max Payne series, Arcanum, Fallout and my personal favorite game of all time, KotOR2 Oct 03 07:11:01 Played all but the last one Oct 03 07:11:15 My steam inventory scrolls quite a bit Oct 03 07:11:54 Dagmar: the gameplay is incredibly boring and the game was released in an unfinished state, but if you like philosophy, it's a brilliant-ish game Oct 03 07:12:46 Dagmar: anyway, if PG is silly, then why did governments ban it? Oct 03 07:14:14 Dagmar: you think that you're smarter than secret service people in those governments? Oct 03 07:14:48 Idiosyncratic: PG? been offline for a bit Oct 03 07:15:02 alex_PP: Pokemon Go Oct 03 07:15:10 i see Oct 03 07:22:19 Has anyone found a practical way to compare the ratios of the frequencies from a FFT-like transform, to detect similar images, even if black and white? Oct 03 07:22:35 Seems that's one of the few practical ways. Oct 03 07:22:58 Like a histogram for rough shapes. Oct 03 07:23:12 Dagmar: lmao http://movieweb.com/pokemon-go-banned-pentagon-spy-threat/ Oct 03 07:23:21 Not sure if it's practical, as never tried to write a tool for this. :P Oct 03 07:23:27 hello! Oct 03 07:24:01 Didn't took long to backfire :D Oct 03 07:24:05 *take Oct 03 07:24:13 To be fair, most TCP dump information will turn out to be HTML. Oct 03 07:24:27 Or encrypted/compressed shit you can't read :P Oct 03 07:24:46 Understanding the actual packet flags though... ugh Oct 03 07:25:18 can anyone help me with this? http://stackoverflow.com/questions/39816318/how-to-long-press-and-select-an-item-from-popup-menu-without-lifting-the-finger Oct 03 07:25:40 http://www.hbmeyer.de/backtrack/mag4the.htm *yawn* Oct 03 07:26:55 anyone? :| Oct 03 07:28:07 Hmm, not sure why you'd even allow a cell phone in most places like that, yet alone loaded with video games. :) Oct 03 07:28:32 That GIF isn't loading... man, really need to get off this Wifi Oct 03 07:29:19 oh Oct 03 07:29:38 http://i.stack.imgur.com/nBldt.gif Oct 03 07:29:42 here's the direct link Oct 03 07:29:56 I was wondering if you got direct access to mouse up/down and touch events. Oct 03 07:30:14 Problem is not the link. At least not the URL. It's the link to the Internet. XD Oct 03 07:30:23 oh haha Oct 03 07:31:03 If you had access to the event triggers, you could create any UI rules you wanted. Oct 03 07:31:20 Not familar with Android enough to be sure though. I mostly just read to learn. :) Oct 03 07:31:21 I have direct access to the events and their listeners Oct 03 07:31:44 is this group kinda dead? :v Oct 03 07:31:51 I see no one esle talking here Oct 03 07:32:46 morning Oct 03 07:32:47 monday Oct 03 07:32:57 morning! Oct 03 07:33:01 its afternoon here though Oct 03 07:33:32 It's around midnight to 4AM in USA and since many in here are... Oct 03 07:35:20 not sleeping? XD Oct 03 07:35:56 alphamule: 03:35AM, to be exact. We know where you are. Oct 03 07:38:02 *horrible joke* Oct 03 07:38:18 :D Oct 03 07:38:37 Idiosyncratic: He's on Qwest, so obviously he's in the us Oct 03 07:39:01 loke: have this weechat script that gives me the location and time of users Oct 03 07:40:15 Apparently not enough. Oct 03 07:40:26 *tells the actual timezone* Oct 03 07:40:45 Powerman 5000 added to mental queue Oct 03 07:41:08 loke: Singapore, eh? You a local or are you on a business trip to exploit Asian people? :P Oct 03 07:41:28 * alphamule also checks network time Oct 03 07:41:43 It's 19 'til, here. Oct 03 07:41:52 Idiosyncratic: You tell me? Oct 03 07:42:05 loke: oh, think that I remember you. Oct 03 07:42:07 I see sazid knows all about the unreliable network pains :( Oct 03 07:42:14 ha :| Oct 03 07:42:20 I'm from bd Oct 03 07:42:27 crappy network connections all the time Oct 03 07:43:28 Idiosyncratic: Does your script work on my home connection too? Oct 03 07:43:40 or mine? Oct 03 07:43:51 alex_PP: Bhutan? :O Oct 03 07:43:56 yeah Oct 03 07:44:00 ha Oct 03 07:44:16 alex_PP: kinda rare to see one of you guys online :D Oct 03 07:44:36 alex_PP: are you actually Bhutanese? Oct 03 07:44:39 we guys? Oct 03 07:44:44 nope Oct 03 07:44:48 english Oct 03 07:44:53 http://movieweb.com/pokemon-go-oliver-stone-new-level-invasion/ LOL, so basically, if someone else harms their own anonyminity, it harms everyone else too. Yeah, I remember that debt-collector using Facebook to (illegally) call people's relatives and associates. I beg my relatives to not put my phone number and email on that damnable site. Also, freaking Linked-In with spamming built Oct 03 07:44:54 in as a feature (you have to give them your email password, last time I checked). Oct 03 07:44:57 Of course :P Oct 03 07:45:01 my wife's working for the ministry of education here Oct 03 07:45:37 alphamule, you don't need to Oct 03 07:45:38 alex_PP: How's the internet connectivity? Oct 03 07:45:42 it just uses that to import contacts Oct 03 07:45:47 It's rare here, but sometimes you get text spam. Oct 03 07:45:48 loke`: poor to terrible Oct 03 07:45:56 loads of text spam here Oct 03 07:45:59 Ah, so they no longer ask for it? Oct 03 07:46:03 mostly at the start of the school year Oct 03 07:46:14 alex_PP: No DSL mostly? Oct 03 07:46:18 they ask for it allllll the time Oct 03 07:46:22 On your phone with limited texts, that's annoying, hehe. Oct 03 07:46:48 get DSl, but the connection to india is under specced Oct 03 07:46:49 Not just to recieve, but to store. ;) Oct 03 07:46:52 alphamule: it's the genius of social networks Oct 03 07:46:59 alex_PP: There seems to be some amazing mountain biking in Bhutan though. I'd love to go there just for that. Oct 03 07:47:11 yeah, I just did Oct 03 07:47:13 Yeah, to make technocrats want to throw away their computers, haha. Oct 03 07:47:13 alphamule: Facebook probably knows who's cheating on who better than everyone else Oct 03 07:47:18 ahem, attempted, the tour of the dragon Oct 03 07:47:31 http://www.tourofthedragon.com/ Oct 03 07:47:33 What is the tour of the dragon? Oct 03 07:47:44 was the hardest thing I've ever done Oct 03 07:47:45 Ooooh Oct 03 07:47:58 Try climbing Pikes Peak... on bike. Oct 03 07:48:06 alex_PP: Wait, what? The Prince is a mountain biker? Oct 03 07:48:11 Or Evans. Oct 03 07:48:15 yeah Oct 03 07:48:16 Those sound "fun". Oct 03 07:48:18 and the previous king Oct 03 07:48:22 And he has a lot of beautiful wives. Lucky son of a bitch. Oct 03 07:48:29 Nice hobby :) Oct 03 07:48:54 A lot more healthy than some video game with cops wondering why you hang out with 12yo's. Oct 03 07:48:55 haha Oct 03 07:49:03 alphamule: lmao Oct 03 07:49:45 alex_PP: Woah... I want to go on that trail so much. Oct 03 07:50:06 it ain't a trail, that's the main highway across the country Oct 03 07:50:10 :/ Oct 03 07:50:13 "Wangchuck" lmao Oct 03 07:50:25 I was looking at photos from Northern Europe... Oct 03 07:50:39 Wasn't so sure it wasn't in the Rocky mountains. Oct 03 07:50:50 Even the rocks were the same color Oct 03 07:50:58 alex_PP: I built my new customer titanium hardtail bike purely for climbing. 5500 metres of climbing sounds like an amazing experience. Oct 03 07:51:26 yeah, we've got awesome hills Oct 03 07:51:28 "custom" Oct 03 07:51:38 haha Oct 03 07:51:48 I mainly ride road though, and there's not so much of that here Oct 03 07:52:13 but just leaving the house for an hour tooling around and you clock up 900m Oct 03 07:52:33 alex_PP: A lot of that road seems to be perfectly suited for a cyclocross bike though? Oct 03 07:52:43 no way Oct 03 07:52:49 Oh the previous king had 4 wives. Current one has only 1. Oct 03 07:52:57 my wrists were ruined for a week afterwards on a hard tail Oct 03 07:53:06 http://www.networkworld.com/article/3125488/security/creepy-clowns-cause-sheriff-to-consult-with-fbi-and-homeland-security.html#tk.revfun_poplr Am I the only one to be thinking they're "Not down with the clown" and don't "Have clown love", and OKAY, enough Juggalo/ICP jokes. Oct 03 07:53:20 road bike's ok for the roads that do exist Oct 03 07:53:37 and you need a mountain bike really for where there's not Oct 03 07:54:22 I'm cheap enough to use wide tires on a cheap bike, on public roads. Oct 03 07:55:01 alphamule: what the hell is with you Americans and hysteria? Oct 03 07:55:24 I miss riding. I haven't rode a bicycle in quite a while. Scooters just don't count. Oct 03 07:55:24 Humor? Oct 03 07:55:24 Darkness? Oct 03 07:55:44 right, got to go Oct 03 07:55:45 alphamule: MTB? Oct 03 07:55:45 Define: Cynical Oct 03 07:55:49 laters Oct 03 07:56:04 alphamule: dog-like Oct 03 07:56:15 Well not some $15K magnesium thing Oct 03 07:56:32 We're talking a bike you can get almost for free Oct 03 07:56:38 Common 10/24-speeds Oct 03 07:56:46 With some wide tires. Oct 03 07:56:48 Can't stand narrow tiers Oct 03 07:57:18 Inu? Oct 03 07:59:49 Mentioning hysteria, I prefer zombie scares to clown scares. Much better movies about zombie apocalypse, than killer clowns from space. Oct 03 08:00:37 Wtf, this wikitravel says that most Romanians go to church every Sunday and that you should do it too. If you'd actually understand the language, you'd realize that Sunday church is basically 90% old hags gossiping. Oct 03 08:02:34 since there are plenty of new guys here Oct 03 08:02:40 I'll try asking once more Oct 03 08:02:41 http://stackoverflow.com/questions/39816318/how-to-long-press-and-select-an-item-from-popup-menu-without-lifting-the-finger Oct 03 08:02:47 can anyone help me with this? Oct 03 08:04:38 Describe in steps, what your UI does. Imean, at low level. Oct 03 08:04:52 A flowchart of what each action does? Oct 03 08:05:05 That should help you figure out a strategy Oct 03 08:05:35 * Idiosyncratic goes back to work Oct 03 08:05:36 ok let me describe Oct 03 08:06:07 You're trying to change the state of something. Oct 03 08:06:07 Based on event triggers Oct 03 08:06:37 when you press and hold the menu in a toolbar/actionbar, you can select items by dragging your point of touch without lifting your finger Oct 03 08:07:05 you don't have to click two times to select an item from the menu Oct 03 08:07:30 Ah, you mean if you leave the finger there long enough, it automatically selects the item it hangs on? Oct 03 08:07:44 The GIF was confusing Oct 03 08:07:52 yeah I know Oct 03 08:08:00 its hard to show without a real device Oct 03 08:08:02 That requires a timer. Oct 03 08:08:25 nah, I'm well aware of long press events and such stuffs Oct 03 08:08:37 A timer that is reset every time you change objects. Oct 03 08:08:41 Ah OK Oct 03 08:08:47 well Oct 03 08:08:50 try opening chrome Oct 03 08:08:58 or any other app using a toolbar/actionbar menu Oct 03 08:09:09 OK Oct 03 08:09:19 press and hold the menu button and drag your finger accross the items and release Oct 03 08:09:43 That's the normal way, yes Oct 03 08:10:07 that's what I'm trying to acheive Oct 03 08:10:15 But when I leave the mouse pointed at a position, it does nothing until I release it. Oct 03 08:10:32 on my device it does though :| Oct 03 08:10:37 like in the gif Oct 03 08:10:45 Talking about on a PC. Sorry, I'll have to get my tablet out. :) Oct 03 08:10:58 sorry for all the trouble Oct 03 08:11:49 Seems my Android device doesn't do anything, either. :/ Oct 03 08:12:06 aah Oct 03 08:12:08 okay Oct 03 08:12:20 My mom's tablet PC (Windows based) might do it. Oct 03 08:12:55 It has context menus on long-presses Oct 03 08:13:09 In other words, it emulates a right-click. Oct 03 08:13:12 alphamule: how old are you? Oct 03 08:13:29 Old enough to remember the first Windows 3 rollouts Oct 03 08:13:36 :D Oct 03 08:13:36 around 20 haha Oct 03 08:13:43 And the black and white macs :P Oct 03 08:13:51 hi Oct 03 08:13:55 hi! Oct 03 08:14:30 a question Oct 03 08:14:37 go ahead Oct 03 08:14:40 if i have something like this --> mActivity.startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS)); Oct 03 08:14:42 Have you seen if maybe the device is using a right-click event? Oct 03 08:15:18 I'm trying to dig toolbars source code right now Oct 03 08:15:18 how can i close that activity programmatically Oct 03 08:15:31 * alphamule alt-tabs for someone to actually do Android developement discussions *cough*On topic*cough* Oct 03 08:15:36 you can't close an activity that is not part of your app Oct 03 08:15:55 hmm then here is my goal Oct 03 08:16:07 so i open something like that, wifi settings etc Oct 03 08:16:17 and i also create a "bubble" like facebook chatheads Oct 03 08:16:44 my goal is that if the user clicks on the bubble, go back to the previous fragment Oct 03 08:17:09 but i cant use the fragment stack cause of onsavedinstance() Oct 03 08:17:26 yes because once you launch the Settings activity Oct 03 08:17:29 its another app Oct 03 08:17:33 not your app Oct 03 08:17:44 how can i go back to my app? Oct 03 08:17:56 well, I think you can do something like this: Oct 03 08:18:17 First, create a broadcast receiver that receives events for turning on/off wifi Oct 03 08:18:39 when the wifi is switched on/off your broadcast receiver will be fired Oct 03 08:19:03 in the receiver, start your activity with an intent Oct 03 08:19:13 hope, that helps :) Oct 03 08:19:22 its a bit complicated Oct 03 08:19:39 because i have only one activity, and im changing fragments to show content Oct 03 08:19:44 yeah, but doing something like that with a chathead type thing will be more pain Oct 03 08:20:18 for a chathead, you need a background service, you need to layouts manually and all other stuffs Oct 03 08:20:38 i know, but its my task to achieve this :D Oct 03 08:20:44 it isnt a hobby project :D Oct 03 08:20:52 oh Oct 03 08:21:13 http://stackoverflow.com/questions/10733121/broadcastreceiver-when-wifi-or-3g-network-state-changed Oct 03 08:21:15 try this Oct 03 08:21:43 already have receivers like wifi, 3g, battery and so on Oct 03 08:21:54 i need to create a universal chathead Oct 03 08:22:06 there's a library Oct 03 08:22:08 tooleap Oct 03 08:22:18 check that out Oct 03 08:22:22 http://www.tooleap.com/ Oct 03 08:22:57 thanks :) Oct 03 08:23:04 you're welcome :) Oct 03 08:29:48 hello all :) Oct 03 08:29:55 is there anyone selling android traffic?) Oct 03 08:32:59 AL0R: off topic for this channel, try somewhere else Oct 03 08:33:19 sorry then. :) Oct 03 08:53:17 Is it wise to make separate threads that load stuff like AdMob and GoogleApi? Oct 03 08:53:41 apparently samsung's messed up MediaStyle too Oct 03 08:57:02 a lot of the googleapi calls are asyncs Idiosyncratic Oct 03 08:57:14 so subthreading them seems a bit too much Oct 03 08:57:22 raoul11: what about AdMob? Oct 03 08:58:15 no idea, i dont touch it, but pretty sure you shouldnt mess with the native flow of it Oct 03 08:58:31 you can test and see how it impacts performance Oct 03 08:58:36 raoul11: ok thanks Oct 03 09:02:29 ? Oct 03 09:04:26 hello?? Oct 03 09:06:12 ! Oct 03 09:06:18 hi Oct 03 09:06:20 sazid, Oct 03 09:06:23 wats up Oct 03 09:06:35 hi Oct 03 09:06:43 yes you said that Oct 03 09:07:07 haha Oct 03 09:07:22 where are you from guys? Oct 03 09:12:01 sazid: I'm Romanian. Most of us chatting are Europeans. Oct 03 09:12:15 ohh Oct 03 09:12:20 And the occasional American Oct 03 09:12:26 btw, I got the solution to my problem :) Oct 03 09:14:21 Starting to think that my delays are happening because my tablet's about to kick the bucket Oct 03 09:14:29 haha Oct 03 09:14:40 http://stackoverflow.com/questions/39816318/how-to-long-press-and-select-an-item-from-popup-menu-without-lifting-the-finger/39827942#39827942 Oct 03 09:14:45 OS reimage in 3...2...1... Oct 03 09:14:48 here's the answer, if that may help anyone Oct 03 09:14:58 Idiosyncratic: hi Oct 03 09:15:05 Melatonina: ola Oct 03 09:15:47 is that a romanian hi? :D Oct 03 09:15:59 sazid: Spanish :D Oct 03 09:16:12 sazid: we got bună/salut for that Oct 03 09:16:23 waah Oct 03 09:31:55 ? Oct 03 10:41:02 does anyone know how to solve this issue? https://sendvid.com/anlli7dw Oct 03 10:41:27 it's just a TextInputEditText inside a TextInputLayout Oct 03 11:02:31 It seems to me that the Google Play Service itself is to blame for the very slow connection Oct 03 11:03:00 I had a couple of Google-related services crash for me right after a startup for no reason Oct 03 11:30:55 should my items for a list be in layout or drawable? Oct 03 11:33:57 ? Oct 03 11:34:15 like how should i organize it Oct 03 11:47:57 how can i set an ip address of an interface programmatically? Oct 03 11:51:41 mistry: How do you mean? And is that an Android-dev question? :S Oct 03 11:54:45 TacticalJoke: i want to set ip address of an interface using android app. is it possible? Oct 03 12:05:16 can you set a recyclerview to horizontal in xml? Oct 03 12:06:53 mistry, nope Oct 03 12:08:13 thornekey, app:orientation="horizontal"? maybe, I've never actually tried it Oct 03 12:08:25 thornekey: the recyclerview does not know about its contents. you need to set the layoutmanager to horizontal Oct 03 12:08:28 but linearlayoutmanager code has properties.orientation = a.getInt(R.styleable.RecyclerView_android_orientation, VERTICAL); Oct 03 12:08:29 ohk i see. yeah ive just always done it when i set it up Oct 03 12:08:52 xorgate, you can set layoutmanager in xml :) Oct 03 12:09:04 yeah ive done it programatically before was just thinking maybe i could skip that by doing it with an orientation tag Oct 03 12:09:09 Zharf: ah never knew Oct 03 12:10:59 thornekey, I think it's android:orientation="horizontal", actually Oct 03 12:11:02 https://android.googlesource.com/platform/frameworks/support/+/refs/heads/master/v7/recyclerview/tests/res/layout/inflation_test.xml Oct 03 12:11:40 cheers Oct 03 12:30:47 hi Oct 03 12:31:05 Is this the right way of serialising a POJO array into an ArrayView? - http://www.vogella.com/tutorials/AndroidListView/article.html#androidlists_inputtype Oct 03 12:47:56 i only want the action bar on certain activities.. how do i make it not show up in preview for a specific activity xml file? Oct 03 13:19:33 is there some limit for field, like 64k method limit? Oct 03 13:19:59 most of dexcount methods graphs also mention fields count Oct 03 13:20:05 hey everyone Oct 03 13:20:14 * DelphiWorld have new year here... ;) Oct 03 13:25:02 DelphiWorld: new year? Oct 03 13:25:20 Melatonina: yes, new islamic calandar year Oct 03 13:26:06 DelphiWorld: have a nice new years then!!!! ! !! !!!! ! Oct 03 13:26:19 thx Melatonina Oct 03 13:29:24 Melatonina: i am doing a splash screen for my app, but i dont know the diferent screen size (ldpi, mdpi, hdpi etc; not montioned in the doc? Oct 03 13:30:25 DelphiWorld: https://github.com/phonegap/phonegap/wiki/App-Splash-Screen-Sizes Oct 03 13:30:54 gnyrfta: thx! Oct 03 13:30:57 ^ Oct 03 13:31:02 :P Oct 03 13:31:08 DelphiWorld: np : ) Oct 03 13:31:18 gnyrfta: new patch? Oct 03 13:31:20 ;) Oct 03 13:31:49 DelphiWorld: lol, yah : P Oct 03 13:31:56 gnyrfta: haha Oct 03 13:32:20 gnyrfta: hey... gonna ask you for something that's mostly inpocible to do! :P Oct 03 13:32:42 DelphiWorld: aha? Oct 03 13:32:59 gnyrfta: hahaha, see pm :) Oct 03 13:37:44 guys how should i provide both a portray and landscap images for the same device ? Oct 03 13:44:44 DelphiWorld: what do you mean? Oct 03 13:45:08 Melatonina: you can provide images size for both landscap & portrai oriantation, but i duno how Oct 03 13:45:23 DelphiWorld: there are resource qualifiers for that Oct 03 13:45:43 hold on...i found a replay in stackOverflow Oct 03 13:46:06 So what happened to android.permission.ACCESS_MOCK_LOCATION ? Oct 03 13:46:36 I know that it was a thing (can find it googling and have used it in the past), but can't seem to find it documented anywhere, and it doesn't seem to be a thing anymore Oct 03 13:46:45 DelphiWorld: port and land Oct 03 13:46:51 yes Oct 03 13:47:06 I'm adding an interstitial ad to my app, to be shown after splash, and have followed the official instructions closely, but no ad is showing after splash. Oct 03 13:47:16 Anyone have any ideas for common issues? Oct 03 13:47:56 gnyrfta: Check the error code Oct 03 13:48:02 gnyrfta: i had the same issue then relocated my interstitial to be shown after the main activity Oct 03 13:48:26 thanks peoples Oct 03 13:49:03 welcome:P Oct 03 13:49:26 thing is I'm not getting an error, it just never loads. Oct 03 13:50:32 gnyrfta: Not getting a call to https://developers.google.com/android/reference/com/google/android/gms/ads/AdListener.html#onAdFailedToLoad(int) ? Oct 03 13:51:11 It won't show a stacktrace or anything Oct 03 13:51:29 you have to explicitly implement that method to see it Oct 03 13:52:26 The most common error I see with it is the ERROR_CODE_NO_FILL https://developers.google.com/android/reference/com/google/android/gms/ads/doubleclick/PublisherAdRequest.html#ERROR_CODE_NO_FILL Oct 03 13:52:37 which means you don't have the right size configured on DFP Oct 03 13:53:05 thx yiati, I'll testrun and get back Oct 03 13:55:59 i did copy the existing layout to layout-land Oct 03 13:56:18 and generated apropriate image size, prefixed with land and modified it in the land layout Oct 03 14:40:20 can someone explain to me the answer to question 3 here: https://www.tutorialspoint.com/android/android_online_quiz.htm. Q3 is https://www.tutorialspoint.com/android/android_online_quiz.htm Oct 03 14:40:33 and the answer is onPostExeution() but i dont know why Oct 03 14:51:13 yiati: hi again : ) i did once get a call from onAdFailedToLoad, but not every time. The time I got it was "internal issues". I'm using testads - is it possible that you can run out of testAds? Oct 03 14:51:21 am i connected? Oct 03 14:58:48 gnyrfta: idk. Do you see anything like "W/Ads﹕ Not enough space to show ad. Needs 320x50 dp, but only has 304x436 dp"? Oct 03 14:59:26 and have the test device id added? Oct 03 15:03:23 hey all, I have an app that works on my phone when I run it in android studio, but when I build an APK and try to install it I get "Parse error" Oct 03 15:03:38 Any ideas what is going on ? Oct 03 15:06:48 what's the difference between com.google.gms:google-services com.google.android.gms:google-play-services ? Oct 03 15:11:50 hello Oct 03 15:14:16 yiati: i fixed my problem - searched for ads in logcat and found that the ad was in fact loading, but the splash screen was set for too short time. : ) thanks for the answers, now I've got a way to debug next time i run into something lika this. Oct 03 15:20:00 hi. can anyone plead explain me the differences between loader and syncadapter ? Oct 03 15:24:20 LucaS05: a loader is an helper class that manages the asynchronous download of some data. A syncadapter is an application component that synchronizes the data in your application with a server based on a scheduling or triggers. Oct 03 15:24:33 gnyrfta: sweet Oct 03 15:24:56 LucaS05: you can find example projects here https://developer.android.com/training/sync-adapters/creating-sync-adapter.html and https://developer.android.com/guide/components/loaders.html Oct 03 15:26:14 gdrc: First one is google-services for config file for firebase/etc, the second one is google-play-services for all that stuff Oct 03 15:26:16 Melatonina: so a SyncAdapter is useful in a situation where you need to repeatedly request data to a server Oct 03 15:26:50 yiati: where can I read more about the first? Oct 03 15:27:40 gdrc: https://developers.google.com/android/guides/google-services-plugin Oct 03 15:28:04 thank you very much Oct 03 15:28:52 LucaS05: it's supposed to be bi-directional Oct 03 15:29:02 yiati: yup, thanks. : D Oct 03 15:29:53 LucaS05: it's used to allow people to use an application while offline to take care for synchronization of the data between your application and the server Oct 03 15:30:50 LucaS05: https://software.intel.com/en-us/android/articles/handling-offline-capability-and-data-sync-in-an-android-app-part-2 Oct 03 15:31:07 Melatonina: thanks! Oct 03 15:32:44 Melatonina: so one have to use a loader when the communication is more one-directional Oct 03 15:34:18 LucaS05: when you have a one-time need to perform a download of some data you can use a Loader Oct 03 15:50:35 another question about intents. I start an activity that needs an intent to work, what if the intent's extra doesn't exist? do i need to throw an exception? Oct 03 15:56:18 Hey. Is there an easy way to link a library like OpenSSL, with a C library that is to be compiled with the NDK, to then be called from my Android app? I've struggled with this for a few days now. There seem to be more than two methods. One using Android.mk, and one using gradle Oct 03 15:58:44 LucaS05: I guess you can do as you wish. You can warn the user with a dialog or you can go for something more spectacular, throw an exception and make the application die. Oct 03 15:58:59 Melatonina: ok :D Oct 03 16:00:22 Google doesn't recommend dialogs anymore btw Oct 03 16:00:39 exceptions are only for developers Oct 03 16:00:42 not great ux, and users often don't care about errors in the app. Oct 03 16:00:53 exceptions and crashes should. never reach the user Oct 03 16:01:25 Always always do anything possible to handle error states without showing user anything. In worst case scenario show them a cute picture and say the simplest thing you can Oct 03 16:03:11 That way the users know to uninstall it right away Oct 03 16:07:18 LucaS05: if your application is expected to return a result, you can terminate the activity right away and return an error Oct 03 16:07:58 LucaS05: your activity Oct 03 16:20:10 Hello. Anyone ever tried launching an app and had to deal with the issues that comes after? Oct 03 16:20:31 you’re gonna need a little more context Oct 03 16:21:43 This is my app: https://play.google.com/store/apps/details?id=com.shubbak.app it is gonna be exclusive to my university students and it is almost finished. Oct 03 16:23:09 ok. and what are you wanting to ask? Oct 03 16:23:23 I don't want to be overwhelmed after I launch it Oct 03 16:23:47 overwhelmed how? Oct 03 16:24:01 I am not sure. Oct 03 16:24:26 What can go wrong? I think this is what I want to know. Oct 03 16:25:20 Rashad first step would be to put firebase crash reporter in there, so you can see those kinds of things ... Oct 03 16:25:36 crash reporter? Oct 03 16:25:43 It's a hybrid app, btw. Oct 03 16:25:48 oh lol nm Oct 03 16:25:57 when your app crashes, it will send reports to you with stack traces and stuff Oct 03 16:26:08 well, i'd worry about getting users first ;) Oct 03 16:26:15 I don't think this will help very much with a hybrid app. Oct 03 16:26:26 although I have no idea if it works with hybrid apps. you’d need to look with whatever solution you did for what they use for crash reporting Oct 03 16:26:48 s73v3r tomorrow is the big day ! Oct 03 16:27:09 i know. My jacket comes back from the tailor's Oct 03 16:27:27 Crashes will happen only when cordova fails, and I don't think I need to worry about that. However, I can trace bugs on the server when a client tries to do something "illegal" either intentionally or unintentionally. Oct 03 16:27:44 Rashad we don't really deal with cordova, try #cordova Oct 03 16:28:34 if you can trace bugs on the server, you might want to try some kind of automated reporting of stuff like that Oct 03 16:44:59 the pixel phones look like iphones Oct 03 16:48:55 morning all Oct 03 16:49:59 g00s: have they been unveiled? Oct 03 16:50:19 not officially, pictures leaked from dumb retailer Oct 03 16:50:34 In the query method of a content provider, i'm returning the cursor. My cursor must contain an object that comes from a call to a webserivce. How can i do that? Do i need to use the setExtras method? Oct 03 16:53:24 hithere Oct 03 16:53:52 I was trying to compile my project for API 24 -> https://developer.android.com/guide/platform/j8-jack.html#supported-features Oct 03 16:55:08 and jack has problem "Incompatible operand types Object and int" with this "if (mSelectedItems.get(j) == i) {" where "ArrayList mSelectedItems;" Oct 03 16:55:56 error appeared during compile Oct 03 16:56:01 try ArrayList instead, or the other way around in your condition Oct 03 16:57:00 Integer is an object and not a primitive class, but idk if they overloaded == and assuming they did not, the error makes sense Oct 03 16:57:17 Integer is an object class and not a primitive type* oops Oct 03 16:58:49 adq, hi it says that "Type argument cannot be of primitive type" on this "ArrayList mSelectedItems;" than I have to find that other way in condition Oct 03 16:59:47 adq, btw why is that it was not problem without Jack and now it is? Oct 03 17:00:09 no idea lol, jack is still not stable i guess Oct 03 17:00:15 bolovanos, you probably want Integer not int Oct 03 17:00:16 hey Oct 03 17:00:17 anyway you have to compare same type Oct 03 17:00:55 Make sure you clean and all that stuff.. But otherwise, it seems like a pretty dumb bug in jack Oct 03 17:01:12 can someone create me an code snipe how i can disable multiple buttons for an specific time with color changing ? Oct 03 17:01:18 adq, comparing same types sounds logically, but jack vs without jack :) Oct 03 17:01:45 SimonVT, hi already did clean - before asking - its like number one "solution" :) Oct 03 17:02:00 It crowd style Oct 03 17:02:14 did you try with an explicit cast or something like: (mSelectedItems.get(j).intValue() == i) ? Oct 03 17:03:04 dragorn, i need to iterate int - in for cycle and compare with array of Integers Oct 03 17:03:31 It happens when you do a command line build? It's not some intellij inspection? Oct 03 17:03:37 Lapotor, you would better show what you tried, nobody is going to code for you Oct 03 17:04:14 adq, it cannot resolve intvalue() Oct 03 17:04:38 uh oO Oct 03 17:04:42 SimonVT, right now it happens during build in IntelliJ Oct 03 17:04:43 https://developer.android.com/reference/java/lang/Integer.html#intValue() << V is uppercase Oct 03 17:05:20 adq, sry - of course it is V - I was rewriting it instead copy Oct 03 17:05:20 How can I use a Android.mk with Android Studio as a dependency? Oct 03 17:07:31 See if there are any open bugs for jack and generics, sounds like it's losing type Oct 03 17:07:54 SimonVT, adq - thank you guys will look at it Oct 03 17:08:14 Otherwise file it :) Oct 03 17:08:26 bolovanos thanks, i was going to device between jack or data binding, i guess i you helped me :) Oct 03 17:08:32 to decide Oct 03 17:09:05 adq yeah i know but i don't know how i should start i start program with android for 1 week Oct 03 17:10:06 g00s, someone had to be first to say - no, not this way :) Oct 03 17:10:19 hello all Oct 03 17:10:23 divide your problems in several little problems, how to disable multiple buttons (easy with .setEnable(boolean)), how to change color (if you want animation looks at animator), etc Oct 03 17:10:34 bolovanos reminds me of that demotivational poster Oct 03 17:10:44 I need help breaking down the code of a tabris.js application Oct 03 17:10:48 https://github.com/eclipsesource/tabris-js/blob/master/examples/bookstore/bookstore.js#L105 Oct 03 17:10:59 I need help understanding how they're calling new activities Oct 03 17:11:00 but if it has only been 1 week you started Lapotor, it's normal you have issue figuring out how, because .. 1 week dude Oct 03 17:11:16 adq yeah Oct 03 17:11:48 * capella-5x . o O ( demotivational? 😜) Oct 03 17:16:02 mikeymop: You probably wont have much luck finding help for cross platform frameworks here, try seeing if they have their own irc channel/forum/tag on stackoverflow Oct 03 17:16:23 SimonVT: i'll try #node.js again. Thank you Oct 03 17:17:41 I don't see activity switching in the .js / webview... looks like it just returns formatted web pages Oct 03 17:21:31 s73v3r last week you asked about design patterns, this came up in the past few days https://www.quora.com/What-are-the-most-important-design-patterns-that-software-engineers-should-know-to-work-at-Google-Amazon-and-Facebook Oct 03 17:21:39 i saw that Oct 03 17:23:40 How can I pass defines to CMake, called by gradle? Oct 03 17:24:05 I tried to add set() commands in the actual file, and although it works if I just test cmake on the file, gradle fails Oct 03 17:25:17 And did you read the error message on how it fails? Oct 03 17:25:33 g00s, but but, blogs tell me Fragments are bad! Oct 03 17:25:44 Mavrik: Yeah, it can't find openssl, but the variables I'm trying to set fix that. If I just run cmake on the CMakeLists.txt file, it finds it Oct 03 17:25:57 Well. Oct 03 17:26:08 Do you have OpenSSL compiled for all android architectures? :P Oct 03 17:26:59 No, but I disabled any other than armv7. Besides that's not the issue yet Oct 03 17:28:00 what lang was supposedly to replace java for android? dart? Oct 03 17:29:25 kotlin? Oct 03 17:29:31 lol Oct 03 17:29:36 adq and how can i do that after a specific time ? Oct 03 17:29:38 keyword supposedly Oct 03 17:29:43 Smilex, I don't understand :D Oct 03 17:29:49 You disabled everything but ARMv7 Oct 03 17:29:59 But you expect CMake to use your x86_64 desktop OS OpenSSL? Oct 03 17:30:55 Mavrik: No. I complied a armv7 OpenSSL Oct 03 17:31:05 I see. Oct 03 17:31:13 could be kotlin missingno Oct 03 17:31:40 https://developer.android.com/studio/projects/add-native-code.html Oct 03 17:31:47 Under "specify optional configurationsĆ Oct 03 17:35:17 adq and how can i do that after a specific time ? << try with a simple approach with handler Oct 03 17:35:35 ^ https://developer.android.com/reference/android/os/Handler.html Oct 03 17:35:40 and you will find many examples online Oct 03 17:38:51 wonder why there is no Android Dev Summit this year Oct 03 17:39:09 getting too late to announce anything Oct 03 17:40:27 maybe no need? this year’s IO was more android focused than the past couple years had been Oct 03 17:41:06 IO is a bitch to get into now-a-days Oct 03 17:41:25 yes, but the sessions are still online Oct 03 17:41:48 herriojr, is it? Oct 03 17:42:00 There's bunch of people that got ticket this year that didn't otherwise. Oct 03 17:42:14 its still a lottery right ? Oct 03 17:42:23 yeah Oct 03 17:42:24 unless you know somebody ;) Oct 03 17:42:35 and there are still more that want to go than there are spaces Oct 03 17:43:16 then again, maybe we'll find out why tomorrow Oct 03 17:43:32 g00s: yeah, knowing google managers is the easiest way to get in Oct 03 17:43:32 looking forward to andromeda dev summit ! Oct 03 17:44:14 last year they did it around thanksgiving, i think they kinda regretted that Oct 03 17:45:00 what was the issue g00s? Oct 03 17:45:03 Mavrik: yeah I did read that page Oct 03 17:45:25 adq people are busy that time of year Oct 03 17:45:25 i mean, i can udnerstand if you announce a product you plan to sell that you better announce and make it available before xmas than after foro bvious reason Oct 03 17:45:29 but for dev stuff??? Oct 03 17:45:43 aren't ppl busy all the year? :) Oct 03 17:45:56 yeah, but travel is even worse that time of year Oct 03 17:45:56 more busy :) Oct 03 17:46:14 although I’m guessing they expected mostly bay area people to be going Oct 03 17:46:18 still i don't get it, since there is not so many places Oct 03 17:46:28 and the demand is far greater than the offer Oct 03 17:46:54 anyway Oct 03 17:50:57 can I use UIAutomator to execute ui functions in another debuggable app? Oct 03 17:50:58 :p Oct 03 17:50:59 maybe because there are so many android conferences already ... droidcon , etc Oct 03 17:51:18 hey Afzal Oct 03 17:51:30 also interesting that droidcon nyc 2016 has a ticket for livestream :p Oct 03 17:51:32 hey g00s Oct 03 17:51:45 for what is, I'm assuming, a free twitch.tv stream? Oct 03 17:53:02 youtube Oct 03 17:56:15 i don’t believe the livestream is something publicly available Oct 03 17:56:24 also, you get the videos when they’re released Oct 03 18:05:05 I have a password Oct 03 18:05:33 kikikiki Oct 03 18:11:00 <_genuser_> hiyo nerds! Oct 03 18:16:39 <_genuser_> okhttp - client.newCall(request).enqueue(new callback(){ }), the onResponse never gets executed if I use response.body().string(); Oct 03 18:16:50 <_genuser_> but if I change it to response.body().bytes(); it worked just fine. Oct 03 18:16:57 <_genuser_> no exceptions, no force close. no errors. Oct 03 18:17:41 <_genuser_> pretends nothing happened. Oct 03 18:19:13 very weird _genuser_ Oct 03 18:19:28 because your response object is only available after onResponse is called, obviously Oct 03 18:20:23 <_genuser_> adq: and oddly sometimes it never logs the log.d statements in there. Oct 03 18:20:24 _genuser_, did you increase logging/debug verbosity? Oct 03 18:20:34 <_genuser_> and sometimes it does but omits certain lines. Oct 03 18:20:34 in your interceptor (if you use one): Oct 03 18:20:35 logging.setLevel(HttpLoggingInterceptor.Level.BODY); Oct 03 18:20:43 and few other things to add it ofc Oct 03 18:20:55 so you can see what is happening between your request and the response Oct 03 18:21:18 well, based on what you describe this is even more weird that "some of your logs" get lost Oct 03 18:22:02 <_genuser_> http://dpaste.com/12NXNG8 Oct 03 18:22:04 <_genuser_> adq: ^ Oct 03 18:22:14 hmm, aapt2 is not ready for production use? Oct 03 18:22:44 instant-run disabled? :D Oct 03 18:22:48 <_genuser_> adq: so you can see my code is logging "before", "string: -"+stream+"-" (this line gets completely lost), "after" Oct 03 18:23:00 <_genuser_> adq: instant-run disabled? is that asking me? Oct 03 18:23:01 yeah i can see it's totally abnormal lol Oct 03 18:23:09 yes i was asking you, disable it if enable Oct 03 18:23:14 because we never know, sadly Oct 03 18:23:21 <_genuser_> adq: ok, let me try it with that. Oct 03 18:23:27 without << Oct 03 18:24:06 in all case, you should use an interceptor + some debug level to log your request Oct 03 18:24:15 it's much more convinient than Log. inside the onResponse Oct 03 18:24:22 and even more if you have many different calls Oct 03 18:24:22 <_genuser_> adq: Enable Instant Run to hot swap code/resource changes on deploy (default enabled) is unchecked. Oct 03 18:24:25 <_genuser_> so it's already off. Oct 03 18:24:35 ok so it was not instant-run Oct 03 18:25:00 also idk why you are using a runnable inside your onresponse Oct 03 18:25:08 because iirc onresponse is running on the UI thread Oct 03 18:25:18 still, that does not explain your issue, just side advices from me Oct 03 18:25:33 <_genuser_> adq: 10-03 14:25:04.968 773-992/ D/MainActivity: before }- Oct 03 18:25:40 <_genuser_> so now it posts _something_. Oct 03 18:25:50 lol does your response contain \b :p Oct 03 18:25:51 <_genuser_> however the leading - is missing and the end one is there, and it's only posting just one char } Oct 03 18:26:02 <_genuser_> it shouldn't. it's a json text file. Oct 03 18:26:03 just in case, check raw logcat Oct 03 18:26:13 without using the one in AS, i already so some issues but not so often though Oct 03 18:26:25 like text mangling, or indenting weirdly some lines Oct 03 18:26:35 <_genuser_> err, where is raw logcat? Oct 03 18:26:40 adb logcat Oct 03 18:26:42 simply Oct 03 18:26:48 <_genuser_> oh off console. ok let me try it. Oct 03 18:26:51 not using any front-end to color it or anything Oct 03 18:27:26 <_genuser_> adq: ok, I see it on the raw logcat. Oct 03 18:27:30 ok Oct 03 18:27:37 <_genuser_> so I'll assume the data is all there just not Log.d'able. Oct 03 18:27:46 is it some weird binary data? Oct 03 18:27:50 <_genuser_> damnit, I spent so much time on it. Oct 03 18:27:53 or maybe just another bug in AS among billions Oct 03 18:27:54 <_genuser_> nope, it's completely text data. Oct 03 18:28:02 in doubt, always blame AS Oct 03 18:28:04 <_genuser_> json file. it's actually a list of flashcards. Oct 03 18:28:19 <_genuser_> json data with name/desc and array of items each containing flashcard data. Oct 03 18:28:36 i can feel you, because the only platform I have so many issues with dev tools blocking development even is.. a n d r o i d Oct 03 18:28:39 <_genuser_> unless some of the copy paste was NOT regular ascii text and something. Oct 03 18:29:40 still, no excuse Oct 03 18:29:47 this is not acceptable lol Oct 03 18:29:48 <_genuser_> oh, well, thanks for the quick help. Oct 03 18:29:50 np Oct 03 18:30:08 <_genuser_> saved me lots of hassle. I've probably been downloading the right data for the last two days just changing up logging statements for no reasons! Oct 03 18:30:28 * pfn never has issues with dev tools blocking development Oct 03 18:30:29 * pfn shrugs Oct 03 18:30:42 pfff Oct 03 18:30:48 <_genuser_> I have frequently had netflix block development.... Oct 03 18:31:01 luke cage blocked my sunday i admit Oct 03 18:31:12 At least you can copy+paste in Netflix Oct 03 18:31:27 <_genuser_> I heard about it on yahoo news. no idea what luke cage is all about. (except from news that it's a marvel universe hero based show). Oct 03 18:31:50 could barely stand jessica jones Oct 03 18:31:51 _genuser_: If you saw Jessica Jones you know who Luke Cage is Oct 03 18:31:55 I don't imagine luke cage to be much better Oct 03 18:32:06 i think the dark days of tooling were when gradle was pre-1.0 ... since most of us migrated our projectstructure over, pretty locked into it and AS so if it didn't work it was a mess. but after 1.0 things got better Oct 03 18:32:11 did not watch jessica, but luke cage was ok for me Oct 03 18:33:07 <_genuser_> Dagmar: so then you'll safely conclude I didn't see Jessica Jones either. Oct 03 18:33:08 g00s, lol Oct 03 18:33:23 I hear in AS 2.3 we'll get another _green_ view in the layout editor, but we'll lose the ability to type vowels Oct 03 18:33:29 :') Oct 03 18:33:37 <_genuser_> Dagmar: Arrow/Flash are the two shows I'm watching that are super hero based. Oct 03 18:33:55 <_genuser_> and arrow is kinda getting ruined. so is flash. by all the girl drama of girls crying and getting bitter. Oct 03 18:33:59 Dagmar, no vowel but we will ahve ligatures Oct 03 18:35:44 <_genuser_> so question, are jessica jones / luke cage pretty strong shows? Oct 03 18:35:46 adq: I'm still kind of baffled as to who thought this layout editor was ready to go Oct 03 18:35:47 <_genuser_> worth watching? Oct 03 18:35:59 _genuser_: They're "okay". Oct 03 18:36:31 Dagmar, i have no idea, i think it's only viable for very simple layout but everyone experienced enough quickly dive without any issue in the xml text anyway Oct 03 18:36:52 also, they should have fix the preview mode first, not even speaking of customview full of isineditmode Oct 03 18:37:01 but even their own components, too many issues Oct 03 18:37:01 constraint layout will be nice Oct 03 18:37:07 only reason to use the ui designer Oct 03 18:37:18 Yeah, well, I'm used to using the layout editor now, because formerly it was "acceptable" and replicated some of the actual UI quirks properly Oct 03 18:37:24 my main reason to use the ui editor is just to have a quick preview Oct 03 18:37:38 instant run = quick preview Oct 03 18:37:39 but i'm not necessarily representative of main use-cases Oct 03 18:37:42 Now it'll render the custom fonts on my button class, but sheesh... no copy paste and terrible handling of focus Oct 03 18:38:32 <_genuser_> Dagmar: so basically on slow weekend, worth watching, I suppose. Oct 03 18:38:33 i disagree pfn, maybe it was the goal Oct 03 18:38:40 I wind up deleting a view when I was just trying to zero out a value at least once a day. No longer being able to say "reset to default" also sucks Oct 03 18:39:04 but not fixing original preview + giving something unstable and leading to many bugs for just a preview on the device (which is not really instant compared to locally in the ide) Oct 03 18:39:09 no way this is a quick preview for me Oct 03 18:39:10 _genuser_: Yeah. They're not _bad_. The characters are reasonably likable people, etc Oct 03 18:39:14 it's half assed on both sides now Oct 03 18:39:57 Dagmar, happened to me too and did not find a lock or something to prevent that Oct 03 18:39:59 The decisions that go into which attributes of a view appear in the properties window is also pretty much barking mad now Oct 03 18:40:12 and of course, undo is sometimes broken on AS too....... . . . Oct 03 18:40:21 adq: 8/ Oct 03 18:40:28 lol Oct 03 18:40:43 <_genuser_> Dagmar: I think I was slightly turned off by Arrow/Flash where everyone cries (including male characters). It's as if showing good acting means you have to be able to cry. Oct 03 18:40:44 i was really angry 2 years ago, but now i'm laughing and that makes me sad Oct 03 18:40:46 Pardon me while I go spin up a git vm just to make sure i can roll stuff back Oct 03 18:40:46 feel the paradox Oct 03 18:41:11 _genuser_: It's a WB program. They're like the " Oct 03 18:41:16 <_genuser_> Dagmar: plus, not sure why instead of strong women characters, they add in "whiny baby" characters whose only purpose is to be the love interest and when they're not, they must create drama. Oct 03 18:41:18 "supermarket brand" of superheroes Oct 03 18:41:22 <_genuser_> haha Oct 03 18:41:32 <_genuser_> walmart of superhero shows. Oct 03 18:41:40 Legends of Tomorrow might as well been renamed "Second Stringers League" Oct 03 18:41:48 <_genuser_> oh? Oct 03 18:41:54 "my name is AS, and I am here to save your android development" Oct 03 18:42:04 It wasn't bad, but it was tewtelly supermarket brand. Oct 03 18:42:05 <_genuser_> I saw the agents of shield and show it might be nice. but it seems like it was too drama prone also. Oct 03 18:42:15 <_genuser_> adq: to save you "from" android development. Oct 03 18:42:17 Not a lot of emo nonsense in SHIELD Oct 03 18:42:20 mpm Oct 03 18:42:33 <_genuser_> Dagmar: ah, guess it was building up slowly. Oct 03 18:42:51 Dagmar, they also removed the refresh button Oct 03 18:42:52 <_genuser_> Dagmar: I saw a bit of it on Hulu, before hulu rebranded themsevles into, "pay 7 for less commercials, and pay more for no commercials). Oct 03 18:42:53 all the superhero movies look like video games Oct 03 18:43:02 adq: Yeah I noticed that one pretty quick Oct 03 18:43:03 now you have to dummy edit to save to refresh, or rotate the preview Oct 03 18:43:07 awesome Oct 03 18:43:08 everybody is bouncing off of stuff Oct 03 18:43:18 <_genuser_> g00s: bouncing is good. Oct 03 18:43:32 <_genuser_> g00s: you ever see spiderman in the movies, falls from the top of a building, and then just walks it off. Oct 03 18:43:36 and they don't detect modif inside an include layout Oct 03 18:43:44 adq: It makes my day when I edit something a layout depends on and AS doesn't notice the change Oct 03 18:43:48 <_genuser_> in real life if he didn't bounce, he'd just be splat on the sidewalk. Oct 03 18:44:13 <_genuser_> lol you guys. layout editor. Oct 03 18:44:22 <_genuser_> I'm still used from eclipse to make a change and then run it to see it on the device. Oct 03 18:44:37 Well... the comment about "saving you from development" is nail on the head stuff Oct 03 18:44:38 <_genuser_> kinda how I do my html also. notepad, change, alt-tab to browser, f5 Oct 03 18:44:42 _genuser_ yeah but that took 2 seconds :P Oct 03 18:44:44 The editor is easily twice as slow to work with now Oct 03 18:44:54 ugh, google needs to get their act together and sync their shit to central... gradle plugin still hasn't sync yet, and the external.intellij artifact hasn't been added to central yet Oct 03 18:45:00 <_genuser_> g00s: oh, it's not to save time. it's habit. Oct 03 18:45:17 <_genuser_> google shoudl have just written a new IDE> Oct 03 18:45:23 Just having copy+paste broken is evil. I don't even know why the hell copy is even a right-click menu option in the Component Tree window, since you can't actually _paste_ what you've selected anywhere Oct 03 18:45:29 <_genuser_> instead of baking intellij into a "this is a pretty cool thing" Oct 03 18:45:40 It didn't have these problems until the 2.1 update Oct 03 18:46:01 <_genuser_> just glad I added 8more Gigs of RAM. before that, couldn't really use AS much. Oct 03 18:46:06 We got a fancy blue "blueprint view" in exchange for what feels like something someone tried to rewrite from scratch and just didn't finish Oct 03 18:46:24 <_genuser_> so recyclerview. its says animations for add/delete are by default. Oct 03 18:46:27 <_genuser_> I don't see them. Oct 03 18:46:35 <_genuser_> I remove an item, and it's just like a listview. Oct 03 18:46:36 yes they are but you must not use notifydatasetchanged Oct 03 18:46:44 and iirc, you need stableid too Oct 03 18:46:49 (not sure on the last requirement) Oct 03 18:46:53 <_genuser_> adq: yep, adapter.list.remove(0); adapter.notifyDatasetChanged(); Oct 03 18:46:54 Before you could just mouseover things in the Properties window, and a popup explaining WTF it was would appear. *GONE* Oct 03 18:46:59 i just told you Oct 03 18:47:05 don't use notifyDatasetChanged(); Oct 03 18:47:16 you can notify the adapter if an item or a range of items has been inserted or removed Oct 03 18:47:18 <_genuser_> adq: oh, I thought you meant "you probably didn't use it" Oct 03 18:47:24 sorry if i was unclear Oct 03 18:47:43 <_genuser_> adq: so I jsut remove it and it will animate it? Oct 03 18:47:44 _genuser_, you can't notifyDataSetChanged, you need to notify ItemRemoved/Changed/Added Oct 03 18:47:44 <_genuser_> let me try it. Oct 03 18:47:50 no Oct 03 18:47:52 <_genuser_> pfn: ah. Oct 03 18:47:57 <_genuser_> let me try that one. Oct 03 18:47:58 what pfn said Oct 03 18:48:00 changed = everything changed, reset the bitch Oct 03 18:48:03 no animations Oct 03 18:48:15 rescrutinize all possible objects Oct 03 18:48:23 <_genuser_> pfn: I see. thanks for the explanation. Oct 03 18:49:14 <_genuser_> java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{10fc552 position=1 id=-1, oldPos=1, pLpos:-1 scrap [attachedScrap] Oct 03 18:49:18 * _genuser_ heads off to google. Oct 03 18:49:22 nick butcher's plaid app stopped working for me. all the data is stale - anyone notice that ? Oct 03 18:49:39 this is frustrating that not everything is on central... Oct 03 18:50:00 pfn maybe their deployment got borked and they don't even know it Oct 03 18:50:49 they keep updating the google repo w/o adding new versions, i'm guessing they are screwing up the pom files Oct 03 18:51:05 or something :) Oct 03 18:52:48 what's not on central? Oct 03 18:52:50 can't run my test cases without throwing jcenter into every single one of my tests :-/ Oct 03 18:53:24 oh Oct 03 18:53:37 yeah they need to change how they deal with this :/ Oct 03 18:53:48 why can't they run an artifcatory server like everyone else? Oct 03 18:53:57 huh, no Oct 03 18:54:20 <_genuser_> awesome! animations working. Oct 03 18:54:22 well, for the support libs would be nice, but then they'd require you to setup a login as part of accepting the license Oct 03 18:55:25 how about have the license be displayed through gradle/AS? Oct 03 18:55:55 and funny thing is, i bet 0% people here have read the license :D Oct 03 18:55:57 that doesn't solve the problem Oct 03 18:56:12 i guess that's more work though Oct 03 18:56:12 screw it, just include the license as part of the sdk download Oct 03 18:56:12 done Oct 03 18:56:17 I did at least once Oct 03 18:56:33 Afzal, it does get included as part of the SDK download when you actually download the repo :P Oct 03 18:56:36 <_genuser_> now to read files as json! Oct 03 18:56:43 nice _genuser_ Oct 03 18:57:04 <_genuser_> Afzal: heh, my least favorite bit. deserializing data. Oct 03 18:57:06 pfn lol right, I meant the license Oct 03 18:57:34 _genuser_, you have many ways, gson + Jsonreader is one of them Oct 03 18:57:43 _genuser_ yeah tell me about it. Just don't waste your time optimizing parsing long primitive arrays from json :P Oct 03 18:57:57 <_genuser_> adq: last time I used gson, it kinda left stuff to be desired. Oct 03 18:58:05 gson works fine Oct 03 18:58:10 not fast, but works Oct 03 18:58:10 for me it's ok, but i don't have specific requirements Oct 03 18:58:13 <_genuser_> Afzal: not expecting lots of data, so forget optimization! Oct 03 18:58:50 pfn you know what I mean. I'm sure there must be a way. It's more about why they decided not to do it Oct 03 18:58:59 it's called lawyers Oct 03 18:59:07 _genuser_ like what? Oct 03 18:59:07 isn't gson the most flexible library? Oct 03 18:59:27 good Oct 03 19:00:14 apparently jackson is the fastest. LoganSquare says it's the fastest but it's based on jackson so I'm not sure about their claims Oct 03 19:00:20 <_genuser_> Afzal: last time I used gson was maybe 2014. back then ti was sort of ok. You had to create EXACT specific object to deserialize it into. or check individual items if they existed. Oct 03 19:00:37 that's generally what you need to do with json anyway Oct 03 19:00:52 if it's another layer on top of jackson, how can it be faster Oct 03 19:00:52 right? Oct 03 19:00:53 <_genuser_> Afzal: nothing wrong with it. I just hate deserializing data. so I wish there was an even cleaner way Oct 03 19:01:00 uh, that is the clean way Oct 03 19:01:07 otherwise you deserialized into untyped garbage Oct 03 19:01:10 I've been looking at what other libraries do to 1) maintain package organization while 2) making sure not to expose any internal public APIs (so that you can change them whenever you want without breaking users) Oct 03 19:01:15 <_genuser_> pfn: heh, I said EVEN cleaner. Oct 03 19:01:20 there is no cleaner way Oct 03 19:01:38 I've been looking at what okhttp does, and it has an internal package at the root with all the internal stuff Oct 03 19:01:43 unless you use something like wadl to generate your models Oct 03 19:01:47 <_genuser_> pfn: you're more forgiving then. Oct 03 19:01:55 has nothing to do with forgiving Oct 03 19:02:14 _genuser_ usually I don't like to waste a lot of time trying to decide a library every time. Gson works, it's quite simple to integrate. Go for it. Oct 03 19:02:17 <_genuser_> pfn: forgiving of the errors situation to code for them. (not forgivign of devs) just wanted to clarify. Oct 03 19:02:24 it's perhaps the most flexible one there is Oct 03 19:02:25 But there are some classes in there such as https://github.com/square/okhttp/blob/master/okhttp/src/main/java/okhttp3/internal/io/FileSystem.java that are public which seems like it would be breaking if changed (but it is in the internal package, and would hopefully be modifiable without making an api breaking change) Oct 03 19:02:46 <_genuser_> Afzal: probably better approach then. I'll just pull it in and get it done. Oct 03 19:03:26 moshi is quite restrictive, it was designed to be. LoganSquare is sort of weird. Jackson can get complicated when it comes to custom types Oct 03 19:03:39 and by complicated, I mean lots of manual conversion Oct 03 19:05:07 would it be fair enough for me to make an internal package (and not worry too much about visibility) and just feel free to change the api in there without considering it a major version breaking change Oct 03 19:07:06 for me, they simply lack of specs and vision, because they're not able to set in stone many methods for a decade or more Oct 03 19:07:21 when you look at how many class/methods got altered, deprecated, removed, etc Oct 03 19:07:35 (the public ones i meant) Oct 03 19:08:25 part of my build process is a fairly elaborate external script which compiles/links c++ code. is there a way to tell Android Studio not to skip this step. (for more rapid code -> debug time) Oct 03 19:08:27 if you just look openssl specs from RSA, how they kept prototypes across time Oct 03 19:08:35 er to skip this step, i mean Oct 03 19:08:42 of course, it's not the same scale, but still, they got specs which are enforcing the code Oct 03 19:09:11 yiati, as long as it's not public api, it doesn't matter Oct 03 19:09:20 "internal" packages are usually never considered public api Oct 03 19:10:34 yeah, guess I'm just wondering if it's considered okay for that to be implied rather that explicitly enforced through class visibility for internal package classes Oct 03 19:10:42 s/that/than/ Oct 03 19:12:02 it's always been ok Oct 03 19:12:06 Static helper classes, interfaces, and non-abstract class instance would have to be public for the root package classes to be able to use them, so I guess it would have to be implied for any sort of organization to be ok Oct 03 19:12:39 I just have a ton of classes in the root package right now with the proper visibility, and it's kind of becoming difficult to visualize it all Oct 03 19:12:47 Hmm okay I'll think about it :P Oct 03 19:12:50 thanks pfn Oct 03 19:32:49 SimonVT, adq g00s - maybe it is Lint problem :/. Befer it (incomparable types err) appeared I have updated AS from 2.1.3. to 2.2.0 (before running my project - AS said that my project must be updated for new version of AS), than I have set jack. Oct 03 19:33:19 no clue, iirc you said you had issue at runtime Oct 03 19:33:36 yes - give me a sec... Oct 03 19:34:00 on test project - with jack set the same way as in working project - I have set same constellation to replicate that error Oct 03 19:34:18 but it normally compiled Oct 03 19:34:46 therefore I have changed gradle to its original prejack version Oct 03 19:35:23 but the error is still there (clear runs without error) while making project... Oct 03 19:38:43 simple answer: don't use jack Oct 03 19:39:19 ^ Oct 03 19:39:36 there are no advantages to adopting jack at the moment, only disadvantages Oct 03 19:40:20 only advantage, possibly, is if you want to use the android 7.0+ java8 features (default methods, etc) Oct 03 19:40:52 you can still get default methods with retrolambda, and it is about as fast as jack Oct 03 19:41:45 just tested it, but question is how to get out of this mess Oct 03 19:41:55 can't believe its almost been 2 years since google announced jack ... Oct 03 19:42:03 2 years in dec Oct 03 19:42:10 jack was a mistake Oct 03 19:42:30 but apparently, someone can sell the idea of it to management still Oct 03 19:42:58 they may have wanted to insulate themselves from oracle Oct 03 19:43:02 somehow. dunno Oct 03 19:44:26 haha Oct 03 19:44:43 man, can I run a manual uiautomator thingy :/ Oct 03 19:44:56 like an on-demand uiautomator that is not an android app Oct 03 19:45:03 sorry that's not an android test app Oct 03 19:46:29 btw - I was doing that test because I want to know whether my app is capable of running on API 24... Oct 03 19:48:40 You don't need jack to run or compile with api24 Oct 03 19:51:10 I did not know that - how? Probably AS told me that I must do that... Oct 03 19:51:53 btw - I have unpacked project before changes to project structure and compile with jack (somehow I have created backup few sec before...) and ... same error Oct 03 19:52:27 maybe it can be linked to other updates to tools, gradle ... I have made also :/ Oct 03 19:53:20 Anyone have a suggestion for finishing an Action Mode outside of the Fragment that initiated it in a FragmentPagerAdapter? Oct 03 19:59:57 cool https://github.com/gokcehan/lf Oct 03 20:02:59 you only need jack if you want to use android-n java8 exclusive features Oct 03 20:05:22 Just change compileSdkVersion to 24 Oct 03 20:05:32 Same as always Oct 03 20:05:39 man, holy shit has att's dns been broken today, it wasn't resolving anything served by akamai for the last couple hours... Oct 03 20:05:54 pfn, ok - will search for how, it confused me few months ago with that notice Oct 03 20:05:57 still not resolving it... Oct 03 20:05:59 SimonVT, ok thank you Oct 03 20:06:12 pfn, ok Oct 03 20:06:18 http://pastebin.com/MSACgzsT Oct 03 20:06:19 seriously... Oct 03 20:06:37 btw - what can be causing that on compile time autoboxing is not being taken in account? Oct 03 20:07:02 pfn lose Verizon, problem solved ! Oct 03 20:07:11 att is not verizon Oct 03 20:07:23 oh lol read that too gast Oct 03 20:07:28 typed that too fast :) Oct 03 20:07:34 because this "if (mSelectedItems.get(j) == (Integer) i) {" is ok for gradle :/ Oct 03 20:07:49 http://pastebin.com/kpmkmBxV Oct 03 20:07:50 man, that's bad Oct 03 20:07:56 does their setup require using their DNS? why not opendns, google's DNS, or even PIA's DNS would probably work Oct 03 20:08:03 does not resolve here with your dns serv, pfn Oct 03 20:08:07 nslookup akamai.bintray.com 8.8.8.8 < does resolve Oct 03 20:08:12 of course Oct 03 20:08:19 but then you lose edge-distribution Oct 03 20:08:25 kind of the point of akamai dns Oct 03 20:08:35 and one of the failings of using something like 8.8.8.8 Oct 03 20:08:54 and that's why I said att is borked... Oct 03 20:09:02 see, now this kinda shit blocks development for me :P Oct 03 20:09:26 * pfn looks for somewhere to submit att tickets Oct 03 20:14:59 tbh do you need edge distribution right this moment? Oct 03 20:18:29 of course not, but forcing me to change my dns server for a transient issue is unacceptabler Oct 03 20:18:57 and it changes nothing about my initial statement: att dns is fucked up Oct 03 20:20:11 I was just refuting the part where you said you were blocked Oct 03 20:20:11 : Oct 03 20:20:13 :p Oct 03 20:21:15 fine Oct 03 20:21:26 point you Oct 03 20:24:42 can I have a launcher icon for androidTest ? Oct 03 20:25:01 to launch the test? probably not Oct 03 20:25:14 for an activity within the test apk? probably yes Oct 03 20:26:14 can that activity in the test apk do things with instrumentation? Oct 03 20:26:15 o.O Oct 03 20:28:00 maybe it is SDK tools 25.2.2 https://developer.android.com/studio/releases/sdk-tools.html#notes Oct 03 20:28:11 that's for pfn btw Oct 03 20:28:24 * pfn shrugs Oct 03 20:28:30 :( Oct 03 20:28:47 my guess is no Oct 03 20:29:13 instrumentation is outside the app generally :( Oct 03 20:29:20 so you're probably right Oct 03 20:37:34 time to become a su developer Oct 03 20:37:47 Didn't think that would happen Oct 03 20:44:34 hmm, gradle plugin 2.2 doesn't ignore .files anymore when packaging? (results in duplicate file exception now) Oct 03 20:46:39 Hi guys. Is there a way to alter BottomSheetBehavior so it moves underlying layout up so the sheet itself doesn't override the background? Oct 03 20:59:04 <_genuser_> so jsonreader stuff is still part of gson, correct? Oct 03 20:59:48 If ALLOW_MOCK_LOCATION is deprecated, what should be done instead? Oct 03 21:01:00 <_genuser_> don't mock it. Oct 03 21:04:48 _genuser_: FusedLocationProviderApi provides helper methods to test with mock location https://developers.google.com/android/reference/com/google/android/gms/location/FusedLocationProviderApi.html#setMockMode(com.google.android.gms.common.api.GoogleApiClient, boolean) Oct 03 21:05:18 _genuser_: Mocking is necessary to be able to test moving around different parts of the world Oct 03 21:06:36 pfn will use su to call the android test from the app. Lol. such a beautiful convoluted mess when you go completely against how the system works Oct 03 21:07:40 pretty much Oct 03 21:08:22 <_genuser_> yiati: sorry, I was just trolling. I was going to add that mocking might hurt it's feeling. I probably shouldn't have added any input there, Oct 03 21:08:55 _genuser_: Ah, lol sarcasm is difficult in text form Oct 03 21:09:06 I guess that's what /s is for Oct 03 21:09:56 hey all, got a question about troubleshooting fast charging on an elephone p9000 using a custom kernel, is that sorta thing here or #android-root ? Oct 03 21:10:15 robotarmy: root Oct 03 21:10:35 cool, thanks! Oct 03 21:10:46 i mean, it is in the welcome message Oct 03 21:11:12 <_genuser_> yiati: :) doing some boring json parsing and thought I'd take a break by joking a little here. Oct 03 21:11:56 that's why I asked, thanks s73v3r Oct 03 21:12:20 you asked about the thing that the welcome message answered? Oct 03 21:13:21 <_genuser_> s73v3r: don't be too harsh! Oct 03 21:13:43 <_genuser_> next thing youi know, you'll get angry that people ask to ask. Oct 03 21:13:47 <_genuser_> instead of just asking. Oct 03 21:15:19 _genuser_: being harsh to people that come here instead of #android-root is one of the best things of this channel. Don't spoil this pleasure to s73v3r Oct 03 21:15:59 it just shows a lack of respect to not even read the welcome message, which answered their exact questino Oct 03 21:20:21 do apps decompile easily? Oct 03 21:22:28 Yes Oct 03 21:22:33 <_genuser_> well a good trolling towards people who come in asking completely innocent questions is always enjoyable. Oct 03 21:22:50 <_genuser_> it's always fun to watch an irc virgin come in and start with teh pleasantries... Oct 03 21:23:42 a) I've used irc for years, b) I'm working with populations affected by domestic violence and want to reverse engineer the spying apps their abusive and violent partners use to track their movement and prevent them from getting help Oct 03 21:23:56 my cmd gradle says "java.lang.UnsupportedClassVersionError: com/android/build/gradle/AppPlugin : Unsupported major.minor version 52.0" Oct 03 21:24:10 I have found only this http://stackoverflow.com/questions/35937875/unsupported-major-minor-version-52-0-when-rendering-in-android-studio Oct 03 21:24:26 hey all, I have a url that I connect to via HttpURLConnection which responds with a cookie (How do I store that cookie?) Oct 03 21:24:28 but that is related to AS build Oct 03 21:25:10 NonSecwitter: _genuser_ comments weren't about you Oct 03 21:25:18 oh Oct 03 21:25:39 <_genuser_> correct, I wasn't talking about you. Oct 03 21:25:44 my bad Oct 03 21:25:49 <_genuser_> melatonina thanks for catching that. :) Oct 03 21:25:49 Crash1hd: http://stackoverflow.com/questions/16150089/how-to-handle-cookies-in-httpurlconnection-using-cookiemanager Oct 03 21:26:01 Affian, thanks :) Oct 03 21:26:08 well... now you know my project :D Oct 03 21:26:27 those kinds of apps are either going to be written by the lowest outsourced bidder, or people who take that kind of syping seriously Oct 03 21:26:29 NonSecwitter: https://javadeobfuscator.com/ Oct 03 21:26:47 so they’re either going to be really shitty and so easy to break, or pretty damn hard Oct 03 21:26:54 so I can grab the app package and de-obfuscate? Oct 03 21:27:30 <_genuser_> my personal take on that is (maybe uninformed) that the hardest part in helping abuse victims is changing their mentality to remove fear of the abuser. and once you're able to do that, it gets easier to help. Oct 03 21:27:47 Very true, but the agency I'm working with has counselors for that Oct 03 21:28:02 NonSecwitter: You can get the apk, extract it (it's just a zip) and then decompile the dex files Oct 03 21:28:04 I'm working on an SMS system for their 24 hour hotline, but I'm trying to figure out a way to detect spying apps Oct 03 21:28:53 you can also look at the installed packages, but I’d imagine any halfway decent spy app is doing something to hide itself in that list Oct 03 21:29:27 that's my suspicion Oct 03 21:29:38 there's got to be some way of detecting it, I would think Oct 03 21:29:58 <_genuser_> Affian: but you can't get apks from other installed apps, no? Oct 03 21:30:01 i meant that it’s not going to come out and say com.spypackage.spying Oct 03 21:30:21 <_genuser_> s73v3r: true that. probably a registry of known spying apps exists. Oct 03 21:30:22 your best bet may be to just buy a bunch of them, and see what they list as Oct 03 21:30:36 <_genuser_> ^ or create one! Oct 03 21:30:47 _genuser_: If you know the package name, you can find the apk on the device and pull it using ADB Oct 03 21:31:02 <_genuser_> Affian: you don't need root? Oct 03 21:31:13 <_genuser_> or are you assuming root? Oct 03 21:31:22 s73v3r: actually .sp is a valid domain Oct 03 21:31:36 sp.spypackage.spying Oct 03 21:31:39 _genuser_: Don't need root if you are using ADB to pull it Oct 03 21:32:33 `sp.y.ing` would be a cool domain to have Oct 03 21:32:39 lol Oct 03 21:32:42 Affian, thank you thank you thank you works perfect Oct 03 21:32:54 Sorry, I was wrong. .sp is not in use Oct 03 21:33:00 alright. this gives me an idea of direction Oct 03 21:33:09 Melatonina: You could always go with spy.ninja Oct 03 21:33:22 or secret.ninja Oct 03 21:33:23 and this direction, you probably wouldn’t need to decompile anyway Oct 03 21:34:00 I suppose it's a huge task, but I would think uncovering the mechanisms would allow for detection of packages I hadn't tested yet Oct 03 21:34:22 I don't know much about android, tbh... Oct 03 21:34:33 does every background process show up in apps in settings? Oct 03 21:34:51 <_genuser_> Affian: so I can pull installed apks from my device from other vendors like instagram if I can guess the path? Oct 03 21:34:54 <_genuser_> Affian: didn't know that. Oct 03 21:35:58 _genuser_, probably, i'm guessing that's how apps like ES explorer makes backups of apps Oct 03 21:36:47 _genuser_: http://codetheory.in/get-application-apk-file-from-android-device-to-your-computer/ Oct 03 21:37:55 nice find Oct 03 21:44:14 <_genuser_> idoko: interesting. thanks. Oct 03 21:44:18 <_genuser_> Affian: thanks, let me check it out. Oct 03 21:45:03 <_genuser_> I wonder if you can also uninstall packages using this. Oct 03 21:45:27 <_genuser_> meaning crap your vendor typically locks on the phone. like VerizonWireless with the NFL games, etc. etc. and the tons of samsung bloatware. Oct 03 21:45:52 those packages aren’t going to be where apps typically are Oct 03 21:46:03 i think they’re in /system Oct 03 21:46:21 With this method it doesn't matter because the pm path command will tell you where it is Oct 03 21:46:29 s73v3r, yeah...you'll need root for that Oct 03 21:46:41 if you can remove them or not is a different issue Oct 03 21:47:14 <_genuser_> well I tried adb shell pm uninstall com.samsung.knox.rcp.components Oct 03 21:47:27 <_genuser_> and it error'd out. Failure [DELETE_FAILED_INTERNAL_ERROR] Oct 03 21:48:47 <_genuser_> ah, the adb shell pm path finds the app to be installed in /system and then that's a read-only filesystem. Oct 03 21:48:57 <_genuser_> damn linux with ti's file permissions. Oct 03 21:49:40 <_genuser_> only if the kernel auto install a new user as "administrator" and nobody ever cared and everybody ws running as administrator (like on windows). Oct 03 21:49:41 thanks for the help, I'll probably be by in a few weeks with more questions Oct 03 21:49:43 o/ Oct 03 21:49:50 <_genuser_> o7 Oct 03 21:50:05 NonSecwitter: welcome and bye! Oct 03 21:53:13 of <- would this be the "Italian salute" then? http://tinyurl.com/italian-salute Oct 03 21:54:06 <_genuser_> I got used to the o7 from eveonline. Oct 03 21:54:35 <_genuser_> lol @ italian salute Oct 03 22:02:48 I'm building a library at api 24 and using the v24 support libs as a dependency. When you import my lib into an app building at level 23, the transitive dependency on the support lib causes it to be bumped to v24 in the app Oct 03 22:03:13 Affian, then your users are forced to be api 24 Oct 03 22:03:23 and this causes thing to break. In my case the GCM lib crashes silently when trying to get a token Oct 03 22:03:38 no it wouldn't... Oct 03 22:03:47 gcm doesn't care about v23 or v24 Oct 03 22:04:05 it does when the api level is mismatched with the support lib version Oct 03 22:04:27 prove it Oct 03 22:04:39 play-services is independent of support libs Oct 03 22:05:11 not to mention, you can't use compileSdkVersion 23 with support 24 Oct 03 22:05:15 you get compile errors anyway Oct 03 22:06:35 http://pastebin.com/31Umd023 Oct 03 22:07:06 still wouldn't matter Oct 03 22:07:44 think about it logically, if what you're saying is true, then play-services 9.4.0 *cannot* be used with support 24.x Oct 03 22:07:51 and that's definitely not the case Oct 03 22:08:09 I'm saying it cannot be used with support 24 if you're building the app at level 23 Oct 03 22:08:28 you can't use compileSdkVersion 23 and support 24.x, you get a compile error anyway Oct 03 22:08:29 even though the app itself is declaring v23 support libs Oct 03 22:08:39 <_genuser_> heh, my app only does app wide fcm broadcasts. Oct 03 22:08:40 so this isn't a problem Oct 03 22:08:43 <_genuser_> not down to user level. Oct 03 22:11:29 Trying to get you an example Oct 03 22:16:23 Hey all, quick question Oct 03 22:17:12 I made a custom preference that allowed a user to either get their current location from the GPS, or allow them to manually input the location Oct 03 22:17:18 code here: http://pastebin.com/zcjBefHc Oct 03 22:17:32 It's an extension of the EditTextPreference class Oct 03 22:18:18 What's the best way to share an example project? Oct 03 22:18:46 My problem: When I edit the text in the emulator and click 'ok', it doesn't trigger the onSharedPreferencesChanged() I have implemented in my MainActivity Oct 03 22:19:51 How do I make it so that editing the text in any capacity triggers the onSharedPreferencesChangd() ? Oct 03 22:20:50 pfn: https://drive.google.com/file/d/0B2lK7_aO50boQnpwS0NtR2JNRWc/view?usp=sharing Oct 03 22:21:00 i'm trying to send a new int variable (page) to my async task class with every new call to execute the async task Oct 03 22:21:01 I'm not going to download and run your project Oct 03 22:21:10 don't need to run it Oct 03 22:21:25 you cal clearly see that hte app is building at levle 23 with a v24 support lib Oct 03 22:21:32 so? Oct 03 22:21:40 if you require 24 in your lib, it is required by the app Oct 03 22:21:41 period Oct 03 22:21:59 if that is unacceptable to you, then do not require 24 Oct 03 22:24:22 otherwise, how do you expect the app to call into your library if you require 24 and the app only has 23 Oct 03 22:26:06 <_genuser_> amorbix: set a text changed listener? Oct 03 22:26:43 I only require 24 because AS enforces it if I build at 24. Even though the code is backwards compatible Oct 03 22:27:34 to can tell gradle to force the dependency down to 23 and it works Oct 03 22:27:45 <_genuser_> are you saying minsdk is 23 and compiledwith is 24? Oct 03 22:27:57 _genuser_, that's what I was thinking, but where? Oct 03 22:28:03 minsdk is 14, compiled with 24 Oct 03 22:28:05 (where in the code)? Oct 03 22:28:30 <_genuser_> amorbix: http://stackoverflow.com/questions/20824634/android-on-text-change-listener Oct 03 22:29:35 <_genuser_> amorbix: shows before, after, and on changed events. you can react as you wish. Oct 03 22:31:03 amorbix, Thanks, this looks helpful Oct 03 22:31:13 _genuser_, Thanks, my b :P Oct 03 22:31:58 <_genuser_> my b? ... boss? buddy? Oct 03 22:32:05 <_genuser_> ..... bae? Oct 03 22:32:07 <_genuser_> lol Oct 03 22:32:09 lol Oct 03 22:34:00 Affian, then do not compile at 24 Oct 03 22:34:09 i'm trying to send a new int variable (page) to my async task class with every new call to execute the async task, how do i track the current page and increment when needed? Oct 03 22:36:05 pfn then I can't support level 24 features Oct 03 22:36:37 if you do that, you require your user to compile at 24 Oct 03 22:37:04 end of story Oct 03 22:38:23 Why? I can wrap features in if level code blocks and the lib is already compiled into an aar. Oct 03 22:39:33 I can import the lib into a level 23 app and force the support dependency to v23 and it runs perfectly Oct 03 22:48:31 <_genuser_> recyclerview - you have to implement an onclick for each view separately, eh? Oct 03 22:51:07 Affian why do you have support libs as a dependency Oct 03 22:51:59 missingno: Because I explicitly use support lib classes in the libarary Oct 03 22:52:41 and I don't want to rely on a transitive dependency through the gcm lib for the classes I need Oct 03 22:54:04 <_genuser_> haven't you moved to fcm yet? Oct 03 22:54:17 <_genuser_> I see they're trying to convince devs to move to fcm and drop gcm already. Oct 03 22:54:24 _genuser_: I really want to Oct 03 22:54:43 <_genuser_> Affian: since I was just starting out now on {f,g}cm, I just went with fcm Oct 03 22:55:29 Yeah, when FCM came out I tested out migrating to it and it was fine, but management won't let me yet because it changes the lib setup Oct 03 22:57:00 gcm 9.4.0 works with Firebase though Oct 03 23:05:33 <_genuser_> I'm building a simple chat app with fcm behind it. Oct 03 23:05:48 <_genuser_> so far, I have fcm token stuff handled. and I can broadcast app wide messge. Oct 03 23:06:06 <_genuser_> but then I got sidetracked with creating a user mgmt system, uploading user profile images. Oct 03 23:06:29 <_genuser_> and then I got sidetracked with creating a profile image cropper lib. which could be easily re-used. Oct 03 23:06:44 <_genuser_> and I got sidetracked yet again, submitting it to jcenter and wrestling with it for days. Oct 03 23:06:50 <_genuser_> the main project is on hold now. Oct 03 23:06:50 <_genuser_> lol Oct 03 23:06:53 Couldn't find one someone else already made? Oct 03 23:07:47 <_genuser_> I found a few after I had done quite a bit of work. Oct 03 23:08:05 <_genuser_> and then it was a) one of the other ones was too big and had too many features. b) mine is specific to this whole thing. Oct 03 23:08:21 <_genuser_> lastly, having a github that's active and has code that can be used by others might be helpful in interviewing for android jobs. Oct 03 23:19:02 I want to write a support-lib chat-app thing, but can't really be bothered Oct 03 23:19:12 so you get in-app support Oct 03 23:19:39 I also want to write something to automate playing ffbe Oct 03 23:19:56 new apis in v24 accessibilityservice are pretty hot Oct 03 23:26:59 <_genuser_> pfn: what kinda chat app are you thinking? Oct 03 23:27:17 I mean support-lib as in customer support Oct 03 23:27:39 <_genuser_> a customer support chat app? Oct 03 23:27:44 e.g. something gumi implemented for their brave frontier and ff:be games has been something I've wanted to do for a while Oct 03 23:28:14 <_genuser_> my knowledge of games stops at simcity, age of empires, need for speed (old one). Oct 03 23:28:20 <_genuser_> also solitaire, minsweeper. Oct 03 23:28:31 minsweeper Oct 03 23:28:48 <_genuser_> orbyt_: you play too? Oct 03 23:28:56 Yes I love minsweeper Oct 03 23:31:35 <_genuser_> orbyt_: I'm an expert in finding a mind half way thru. Oct 03 23:31:39 <_genuser_> *mine Oct 03 23:31:56 <_genuser_> each game it carefully crafted to take up at least 5-10 minutes. and then boom. Oct 03 23:48:44 pfn somebody posted one of those on /r/androiddev this or last week .. Oct 03 23:49:12 <_genuser_> Could not find recyclerview-v7.jar (com.android.support:recyclerview-v7:24.0.0). Oct 03 23:49:16 <_genuser_> after days of working just fine. Oct 03 23:49:39 man, akamai is still broken for att, this is so garbage... Oct 03 23:51:06 * pfn finally registers for the tdi buyback Oct 03 23:51:10 _genuser_ anyhow, why using 24.0.0 Oct 03 23:51:57 <_genuser_> g00s: pfft, I added a fullscreen activity from file new and it auto changed my build.gradle. Oct 03 23:52:15 <_genuser_> g00s: I just checked my prev version in the repo and it's v7:24.0.+ Oct 03 23:53:00 using + versions ftw Oct 03 23:53:34 _genuser_: I reported this issue many months ago Oct 03 23:53:56 using the wizard messes up the build.gradle file for whatever reason Oct 03 23:54:01 <_genuser_> altho, auto update can break stuff too with .+ Oct 03 23:54:19 Hello, I'm developing an app that needs Images and json objects, I've build a customized Cursor Adapter, however I don't know how to make the proces of downloading images, I'm using volley for the messages, and I want to download to disk the images, what is a good approach for this? Oct 03 23:54:23 <_genuser_> orbyt_: yeah, I just needed to see how to make my existing one fullscreen. I figured I'll just add one and copy the style. Oct 03 23:55:40 <_genuser_> heck, I'll forgive google for adding the paperclip (clippie) to AS. as long as it can just remember the size of the left side treeview. Oct 03 23:55:50 <_genuser_> I keep resizing it smaller to I can see more of my screen. Oct 03 23:55:58 volley can handle images Oct 03 23:56:12 just Picasso it Oct 03 23:56:25 <_genuser_> and google thinks that that is completely irrelevant. each new project, goes back to the huge width on the treeview. Oct 03 23:56:35 this is interesting https://www.reddit.com/r/androiddev/comments/55pytz/the_underground_industry_to_manipulate_play_store/ Oct 03 23:56:39 <_genuser_> picasso ++ Oct 03 23:56:59 <_genuser_> g00s: underground? Oct 03 23:57:43 <_genuser_> g00s: ooh interesting. so you pay someone to nuke an app instead of promoting it. Oct 03 23:59:02 <_genuser_> err jake wharton looks so much more friendly in the video https://realm.io/news/360andev-jake-wharton-java-hidden-costs-android/?utm_source=reddit.com&utm_medium=cpc&utm_campaign=java-hidden-costs Oct 03 23:59:18 <_genuser_> not that his irc personal isn't helpful. just that I didn't imagine him to be so ... jolly. Oct 04 00:22:42 wonder if i should get popcorn for tomorrow Oct 04 00:23:09 do it from scratch Oct 04 00:25:11 whats tommorrow? Oct 04 00:25:34 s73v3r if i had a note 7 i'd pop it ... Oct 04 00:25:46 dip it in oil, put it in the pan Oct 04 00:25:56 air popper might work on that sucker too Oct 04 00:26:16 Is there a good app to get a daily sales from Google Play? I have been using appmonger for a long time and love it but it just stopped working. Oct 04 00:26:17 orbyt_ some huge announcement, we have no idea what though Oct 04 00:26:31 For android? Oct 04 00:26:31 surf2b1 google has an official app .... Oct 04 00:26:47 orbyt_ probably Oct 04 00:26:56 directly or indirectly Oct 04 00:26:57 g00s, last I checked it didn't show revenue after 30% cut Oct 04 00:27:05 oh, hm Oct 04 00:27:12 g00s: the pixel thing? Oct 04 00:27:25 i would consider pixel to be a small fry thing Oct 04 00:27:34 i'm hoping it will be about Andromeda Oct 04 00:28:08 im assuming its gonna be streamed right Oct 04 00:30:07 hiro L said tomorrow would be a very significant date Oct 04 00:30:26 so i'm assuming much more than a nexus / pixel, even though they may talk about that too Oct 04 00:33:37 <_genuser_> so andromeda is like another linux kernel with new flavor of candy on top? Oct 04 00:34:30 so no one uses a third-party tool/app/site to analyze daily revenue trends? Oct 04 00:34:44 <_genuser_> rev trends of your app? Oct 04 00:34:49 yeah Oct 04 00:35:04 <_genuser_> sorry, I only have free app in store. and no active dev on it. Oct 04 00:47:59 surf2b1: Im fairly positive fabric has *something* like that Oct 04 00:48:16 ffs how do you do italisezed text Oct 04 00:48:37 italicize* Oct 04 00:51:18 orbyt_, no it doesn't. Thanks though Oct 04 00:53:26 <_genuser_> orbyt_: ?? Oct 04 00:53:50 <_genuser_> android:textStyle="italic" ? Oct 04 00:54:18 surf2b1: It has analytics for growth including monetizatoin Oct 04 00:54:37 _genuser_: No not in Android, in my irc Oct 04 00:54:51 <_genuser_> heh, I was thinking can't be what he's asking. Oct 04 00:55:02 <_genuser_> I just do _something_ in irssi Oct 04 00:55:16 <_genuser_> and it will underline. and even that's asking too much of a text based irc client, heh. Oct 04 00:55:18 orbyt_, I use Fabric's Answers for analytics. Oct 04 00:55:44 Maybe I'll start using App Annie. Oct 04 00:56:00 I'm referring to something like this: http://rectangularsoftware.com/appmonger/ Oct 04 01:55:37 hi Oct 04 01:55:55 *sometimes* if i rotate to landscape orientation i see the margins are a little wide Oct 04 01:56:03 doesn't happen all the time though... what is the best way to debug this? Oct 04 01:56:20 is there some way in debug mode i can draw margin lines? Oct 04 01:58:42 Settings>Developer Options>Show layout bounds Oct 04 01:58:49 on the device? Oct 04 01:58:54 yeah Oct 04 01:59:34 okay, yeah that does prove the margin is too wide Oct 04 01:59:44 is there some way in xml or java to FORCE a margin to be no more than Oct 04 01:59:49 [some figure] Oct 04 02:00:40 noob question.. I have a tab bar that's being populated through a json call to get the data.. initially, this works, but after a couple hours, if i bring the app back to the foreground, the tab bar won't draw.. did some reading and I thought if I called onRestoreInstanceState, it would trigger when the app is brought back to foreground, I could make my json call again, and be good to go.. but it's not happening. What's the proper way to handle this? Oct 04 02:37:44 Hi! If I need to contact Google regarding a ToS question for an app, is there a good place/way to do that? Oct 04 02:40:25 hedonic: It han be tricky. If it's a strictly legal thing, you can try their legal contact address. Most companies tend to be very fast at replying there. Oct 04 02:42:07 loke: Ah, alright. To be more specific, their ToS says that 'you cannot access Google Play outside of the UI without proper permission'. I suppose that falls under their legal terms; and if not, hopefully it'll be enough of a lead to get to the right people. Oct 04 02:42:09 Thanks! Oct 04 02:42:30 hedonic: I'd probably try this one: https://services.google.com/fb/forms/permissionsbranden/ Oct 04 02:43:00 ok, i can consistently replicate the problem now Oct 04 02:43:06 it happens if i open the app in landscape Oct 04 02:43:19 given this info, how can i debug it and find out what is causing it? Oct 04 02:43:23 hedonic: That said, I think that statement is pretty clear. Exactly what is it you want to do? Oct 04 02:45:19 loke: An app idea I'm exploring regards risk assessment of Android applications comparing their permissions to intended use. It's still just being designed, and hasn't gone through a full feasibility check, but I know this will cause major design issues if we can't get that kind of permission to access outside of the Play Store. Oct 04 02:46:20 hedonic: Interesting. You'd definitely need to start at google legal, and the page I found seems to be the only one. Oct 04 02:46:27 I'd try there first. Oct 04 02:46:37 what the... what the hell is this? Oct 04 02:46:45 loke.. you fucking troll! suck dick and choke on the cum! Oct 04 02:46:56 Sure thing, thanks for the lead! I ended up in a loop of searching through links after links. Oct 04 02:47:37 you twat.. what the fuck are you doing here hedonic? go to hell, bitch-cunt Oct 04 02:47:42 hedonic: Some companies makes it very hard to find contact information, in particular Google. But, they always have some way of contacting legal. Probably for... umm... legal reasons. Oct 04 02:47:45 get the fuck out of my channel Oct 04 02:47:47 all of you. Oct 04 02:50:53 ir7466: What problem is that? Oct 04 02:53:22 ir7466: Post code Oct 04 02:57:13 hi Oct 04 02:57:15 How do I build my own casting symbol table? - I've tried HashMap but I can't `getKey()(findViewById(getValue()))`, casting doesn't seem to work that way. Oct 04 02:59:14 kroot or other admin, someone is needing you **** ENDING LOGGING AT Tue Oct 04 02:59:58 2016