**** BEGIN LOGGING AT Wed Dec 31 02:59:58 2014 Dec 31 03:11:51 anything interesting happen today in android land ? Dec 31 03:12:46 cool the xperia z3 has the same bendy feature as the iphone 6, get ready for the lawsuits :) Dec 31 03:13:11 g00s: we discovered the "restart logcat connection" button in android studio. I forget if you were around for that. Dec 31 03:13:25 yeah that works maybe 50% time Dec 31 03:13:41 like everything else related to adb :) Dec 31 03:14:23 hmm http://phandroid.com/2014/12/30/alcatel-palm-android-smartphone/ Dec 31 03:16:03 like everything else IDE-related to adb, yeah. I never seem to have problems with the CLI version :\ Dec 31 03:16:40 Napalm cool if there was an "Android Internals" book like http://shop.oreilly.com/product/9781593275815.do Dec 31 03:17:02 g00s: is that a request? Dec 31 03:17:17 yeah sure if you can fulfill it :D Dec 31 03:17:54 windows had a great internals book that was written by the guy who did those power tools Dec 31 03:18:14 g00s: oh, also OMG GIFS: https://github.com/wasabeef/awesome-android-ui and https://github.com/lightSky/MaterialDesignCenter Dec 31 03:18:49 groxx are you working on that ? Dec 31 03:19:05 holy crap that page took too much memory Dec 31 03:19:10 g00s: nope, just interesting :) Dec 31 03:19:17 g00s: yeah, it's a ram-bomb Dec 31 03:20:01 interesting, a book on "Interaction Flow Modeling Language" Dec 31 03:20:03 I will have to check out the gif image view though - I'm inches away from building my own for my side project, with off-thread rendering + more efficient decoding than the only gif project I've seen so far. Dec 31 03:20:28 but I haven't checked for new gif projects in a few months, there might be something new. Dec 31 03:20:36 Hey guys. Check out my app. I just laughed it last night. https://play.google.com/store/apps/details?id=com.lodenrogue.quicklock Dec 31 03:20:45 Launched* Dec 31 03:21:02 g00s: yes, you mean mark russinovich Dec 31 03:21:06 and sysinternals Dec 31 03:21:46 that page killed my browser Dec 31 03:21:56 groxx: ^ Dec 31 03:22:29 haha Dec 31 03:23:06 I <3 having 16gb of ram. FF can eat up 3gb in each instance and I don't even notice. I never close tabs. Dec 31 03:23:18 i have 32gb Dec 31 03:23:23 doesnt mean it cant crash the browser Dec 31 03:23:36 true Dec 31 04:00:32 i have an application that launches a video player from my app, but when i return and try to play the video again, it doesn't launch the app but uses the native webview...how can i fix this? Dec 31 04:27:49 oops http://chicago.suntimes.com/business/7/71/247701/building-collapse-reported-morton-salt-north-side Dec 31 04:28:10 MarvelDigital: some other app isn't launching your app the second time? I'm struggling a bit to understand the problem :/ Dec 31 04:37:24 groxx, i have an app that uses a webview to display my website. The website contains links to videos which will launch a separate video player. The first time the link is clicked the video player is called. however, exiting the video and clicking it again, the player does not launch but instead plays inside the webview, via html5 player. Dec 31 04:38:40 i'm thinking about getting the moto G2 8G ... how much of the 8G is available though? worried future updates might be to big Dec 31 04:39:11 MarvelDigital: interesting. unfortunately I'm not sure what to do there :/ worst-case you can probably intercept the URL loading and call the external player yourself. Dec 31 04:40:20 g00s: personally I think 8gb is a bit tight. and I think you're left with 6+? Dec 31 04:40:39 groxx yeah ... Dec 31 04:41:13 g00s: a big part of the tightness is probably because I take and view a lot of photos in the gallery app. it has a thumbnail cache that it never cleans up, it can easily grow to gigabytes. Dec 31 04:42:14 16 seems more than enough for me though. or 8 with an SD card. Dec 31 04:42:45 i'll only use it for development Dec 31 04:42:47 far too few apps use getExternalCacheDir(), but some do. Dec 31 04:44:05 ah. 8 is probably fine for that. I've never filled more than ~3 in the ones at work. Dec 31 04:46:16 if nokia would make an android nexus my head would explode Dec 31 04:47:22 my low end nokia is very solid, very impressed with them Dec 31 04:50:53 nexus 3310? Dec 31 04:57:25 google should hire some more technical writers or something. i keep finding stuff in the docs which are out of date. like they say use startLeScan but thats deprecated Dec 31 04:58:19 and still stuff about holo, split action bars, lol Dec 31 05:00:38 so i'm going to file a bug, "hire technical writers" Dec 31 05:19:40 Are using fragments like Dec 31 05:21:07 g00s: file a bug, and attach a resume? ;) Dec 31 05:21:37 JesusFreke i wonder if anyone has ever done that before haha Dec 31 05:23:01 g00s: also, feel free to submit doc patches :) Dec 31 05:23:10 it's all there in AOSP Dec 31 05:24:01 JesusFreke the docs need more than patches Dec 31 05:24:12 I need to make my game as addictive as crack. Dec 31 05:24:22 Because right now it's as addictive as eating dirt. Dec 31 05:24:36 Agamemnus: you could always bundle an... attachment. Dec 31 05:24:45 physical attachment Dec 31 05:25:16 Out of 600 users who are not myself, only 75 played the game within a 3 day timespan. Dec 31 05:25:34 That is based on 1 month of data. Dec 31 05:25:49 31 played in a range of 7 days Dec 31 05:26:15 130 played in a range of 1 day Dec 31 05:26:35 JesusFreke were you guys talking about bicycle theft the other day? there was a good article on it Dec 31 05:26:45 g00s: I was in on the conversation, yeah Dec 31 05:26:56 i guess most bikes get chopped up Dec 31 05:26:58 I really need to make this game more addictive Dec 31 05:27:22 I have a few ideas. Dec 31 05:27:32 Agamemnus maybe its time for another game :( jigsaw puzzles ... um Dec 31 05:27:47 Idea 1: write "a new jigsaw every week!" Dec 31 05:27:50 or day Dec 31 05:27:53 lie about it Dec 31 05:28:12 Idea 2: multiplayer jigsaw Dec 31 05:28:22 Idea 3: jigsaw mixed with scrabble Dec 31 05:28:25 kittens. Dec 31 05:28:30 Idea 4 , do something totally different https://news.ycombinator.com/item?id=8815917 Dec 31 05:28:49 Agamemnus: how about a video jigsaw? Dec 31 05:28:58 I have no idea if that would even be possible. but that would be awesome :) Dec 31 05:29:11 There are some video jigsaws already Dec 31 05:29:25 i played a game like this g00s Dec 31 05:29:48 i can make a video jigsaw Dec 31 05:29:51 to draw people in Dec 31 05:29:54 heh. I remember playing a game like that a long time ago Dec 31 05:30:05 my concern is the bandwidth Dec 31 05:30:18 It will be crushing Dec 31 05:30:31 maybe i can use some free google thing Dec 31 05:30:41 or i mean i can include it in the game. Dec 31 05:30:49 but then it will be way, way over 50 mb Dec 31 05:31:02 there's also obb's Dec 31 05:31:12 yeah Dec 31 05:31:14 well Dec 31 05:31:17 I am using obbs Dec 31 05:31:56 I still want to see a game like hammerfight, for android Dec 31 05:31:57 But if it's over 70mb, or 50mb on a bad day, users get a message "this program is big. download over wifi?" .. that scares away users Dec 31 05:32:05 that game had the most awesome combat mechanic even Dec 31 05:32:06 ever* Dec 31 05:32:08 but maybe i don't need these users Dec 31 05:32:11 !g hammerfight Dec 31 05:32:14 damn Dec 31 05:32:15 no bot Dec 31 05:32:24 see /topic ;) Dec 31 05:32:53 basically, 2d physics based combat Dec 31 05:33:06 where you can swing around swords and maces and stuff Dec 31 05:33:09 weird Dec 31 05:33:11 i see Dec 31 05:33:18 It's a blast to play Dec 31 05:33:30 you really get that feeling of the momentum of the weapon Dec 31 05:33:36 and the satisfying *thud* as it hits Dec 31 05:33:48 e.g. https://www.youtube.com/watch?v=Me7GZcfH8cs Dec 31 05:34:49 hmmm, the name Agamemnus sounds very sketchy Dec 31 05:34:49 i see Dec 31 05:34:58 so does the name "shmooz" Dec 31 05:35:04 As I said already I believe Dec 31 05:39:34 what is sketchy about Agamemnus Dec 31 05:39:58 JesusFreke: that game is annoying cause it has the same applause clip after every bang Dec 31 05:41:10 shmooz: well, that's just in the arena Dec 31 05:41:48 anyone try out android-studio 1.0 here? Dec 31 05:41:49 wait, are you talking about my game? Dec 31 05:42:02 It has the same applause clip after every win of 3 medals :d Dec 31 05:42:24 JesusFreke are you using AS? i'm thinking about filing a bug but want to verify something Dec 31 05:42:47 g00s: IDEA, not AS Dec 31 05:42:56 gah Dec 31 05:43:19 writing an IDEA plugin atm, actually :) Dec 31 05:43:25 it's amusing debugging the plugin Dec 31 05:43:29 JesusFreke cool, what is it ? Dec 31 05:43:46 it's a smali plugin :) Dec 31 05:43:46 smali / backsmali related ? Dec 31 05:43:49 ah :) Dec 31 05:44:04 it starts up another instance of the IDE.. and then I debug an android app from the 2nd instance Dec 31 05:44:23 2 levels of debugging! Must go deeper :D Dec 31 05:44:51 JesusFreke did you see this? http://jimulabs.com/2014/12/sneak-peek-hot-swapping-java-code-mirror-sandbox/ Dec 31 05:44:54 pretty cool Dec 31 05:45:32 huh Dec 31 05:45:37 I wonder how they're going about that Dec 31 05:45:46 What to put in toolbar? Dec 31 05:45:53 tools. Dec 31 05:45:56 * JesusFreke ducks Dec 31 05:46:03 hehe good one :) Dec 31 05:47:19 lasserix_ do you have a doubt ? Dec 31 05:49:26 is there a library for doing arbitrary swipe animations? Dec 31 05:52:31 What kinds of footers are there for a listview or is alright to leave the end floating? Dec 31 05:56:41 JesusFreke how the heck http://digg.com/video/why-bikers-should-watch-out-for-roadside-debris Dec 31 05:57:05 wow Dec 31 05:57:28 ran over something ... couldn't see Dec 31 06:16:12 Shouldn't I receive an email or something when an user makes an in-app purchase? Dec 31 06:16:28 i want to send form data from app to xampp running on my latop Dec 31 06:16:33 *laptop Dec 31 06:17:03 so how can i implement it Dec 31 06:17:08 ?? Dec 31 06:26:13 is it possible to create lockscreen widget or some kind of overlay on the lockscreen in lollipop ? Dec 31 06:27:10 i want to send form data from app to xampp running on my laptop Dec 31 06:27:33 how can i implement it Dec 31 06:28:31 well, you implement an interface on the server, and you call it from your app Dec 31 06:29:07 very vague question leads to very vague answer Dec 31 06:29:14 actually my server side has python script Dec 31 06:29:53 i'm using xampp as a intermediate Dec 31 06:30:26 to store data then access the data using the python script Dec 31 06:31:05 is there any other alternatives Dec 31 06:31:20 again, too vague Dec 31 06:31:57 The alternative can be calculated as the square of any two nouns Dec 31 06:32:18 are u speaking english Dec 31 06:32:38 I AM English. Dec 31 06:32:46 Sussex reprezent Dec 31 06:32:56 bloody southerners Dec 31 06:33:00 i doubt it Dec 31 06:33:01 :P Dec 31 06:33:09 lol yeah ok so I am Australian Dec 31 06:33:22 bloody southern-hemispherers Dec 31 06:33:28 lol Dec 31 06:34:13 Leeds what other information i have to tell you about the situation in hand Dec 31 06:34:22 just to be clear to anyone who might care to try to get any information out of sherlock_regus... "xampp" isn't actually a thing - it's just a packaging of apache/mysql/perl/php Dec 31 06:34:29 so that i can get a not so 'vague answer' Dec 31 06:34:46 I always thought xampp was a sex move Dec 31 06:35:05 i know that Dec 31 06:35:14 I thought it was maybe related to xmpp, but no Dec 31 06:35:26 oh you mean xbmc? Dec 31 06:35:31 oh you mean xml? Dec 31 06:35:39 oh, you mean xenophobia? Dec 31 06:35:57 i think i'm in the wrong channel Dec 31 06:36:02 :P Dec 31 06:36:11 I think you're asking the wrong question Dec 31 06:36:33 okay let me put it in another way Dec 31 06:36:49 the genuine answer is "you build an interface on your server which is HTTP-addressable, and you make that HTTP call from your app" Dec 31 06:37:04 beyond that depends on your data, your setup, your platform, etc. Dec 31 06:37:20 All I know is Dec 31 06:37:25 I just made the best lasagna ive ever eaten Dec 31 06:37:30 End of facts. Dec 31 06:37:49 MJCD _/\_ Dec 31 06:37:50 I am eating a banana Dec 31 06:38:08 i think someone is eating my head Dec 31 06:38:10 is that a metaphor for sex Dec 31 06:38:18 is that a metaphor for sex Dec 31 06:38:27 and i strongly doubt its you Dec 31 06:38:29 how does it feel to be upside down ? Dec 31 06:38:43 shmooz, I feel dizzy :(( Dec 31 06:38:48 But I dont know why Dec 31 06:38:56 Maybe I should move to the equator Dec 31 06:39:16 we are going down under in Feb - with a stop on the equator on the way Dec 31 06:45:37 * g00s hands Leeds a vegemite sandwich Dec 31 06:45:49 cool :D Aus is awesome :) Dec 31 06:45:58 I imagine you're going to the east coast? Dec 31 06:46:05 yeah Dec 31 06:46:46 Sydney and Surfers Paradise Dec 31 06:47:09 Melbourne is better Dec 31 06:47:15 10/10 would recommend to friends Dec 31 06:47:17 nah Dec 31 06:47:29 Sydney is good if you like bridges and lebanese Dec 31 06:47:42 Which both are fairly good Dec 31 06:47:44 But still Dec 31 06:49:08 also, if you like cheap flights and staying with family Dec 31 06:49:15 or rather, if *I* do Dec 31 06:49:35 You can fly from sydney to melb for about $50-60 Dec 31 06:49:36 :D Dec 31 06:50:18 not that usefully when you're already flying to Gold Coast Dec 31 06:52:07 go to Sydney for some falafels and tahbouli Dec 31 06:52:12 ^ Dec 31 06:52:20 I don't even know what falafel is made of Dec 31 06:52:23 but fuck that shit Dec 31 06:52:37 chicpeas Dec 31 06:52:54 and garlic Dec 31 06:53:04 i want to create an app which sends form data to python interface Dec 31 06:53:13 ha Dec 31 06:53:14 so where should i start from Dec 31 06:53:18 twisted Dec 31 06:53:20 jokes apart Dec 31 06:53:27 sherlock_regus, why don't you just make a webpage Dec 31 06:55:43 ?? Dec 31 06:55:56 becoz i want an application Dec 31 06:56:06 and the python script is an ai Dec 31 06:56:33 I get my falafel from a local lebanese place - don't need to fly thousands of miles for that! Dec 31 06:57:45 sherlock_regus: possibly you want retrofit? Dec 31 06:58:43 retrofit? Dec 31 06:58:49 whats that?? Dec 31 06:59:01 a thing that you could bing for Dec 31 06:59:07 since you obviously can't use google, for some reason Dec 31 06:59:20 oh snap, i'm using that Dec 31 06:59:28 does anyone know what you can add to the lock screen in lollipop ? widgets can;t be if I understnd correctly Dec 31 06:59:29 and bing has beautifult pictures every day Dec 31 06:59:39 devslash: notifications Dec 31 06:59:42 devslash: notifications Dec 31 06:59:52 JakeWharton: you're using bing? Dec 31 07:00:01 thats all ? Dec 31 07:00:12 damn. then my app idea wont work Dec 31 07:00:13 no i'm using that bing thing as a snarky reply to people in the future Dec 31 07:00:26 oh, I've been using it for ages :) Dec 31 07:00:33 what I wanted to do is replace the default lock screen background and the clock with my own activity Dec 31 07:01:09 devslash: I think it was a combination of lack of use, lack of vendor support, lack of developer support... and wanting to focus more on rich notifications Dec 31 07:01:12 which is a different kind of clock. obviously, id need to be able to interact with the lock pattern,pincode,swipe Dec 31 07:01:22 ok\ Dec 31 07:01:27 thanks Dec 31 07:02:08 Please help... Dec 31 07:02:19 help is on the way Dec 31 07:02:26 i was unable to add dependencies after svn checkout Dec 31 07:02:48 hackable next time, yell "medic!" Dec 31 07:03:15 smile.. Alright! Dec 31 07:03:27 I'm using retrofit Dec 31 07:03:47 that will get jake's attention Dec 31 07:03:57 i've added the library and the gson, now i want to add okhttp Dec 31 07:04:07 Hey guys. Im trying to use R.layout.row but it says it doesnt exist. Dec 31 07:04:39 Says "fail to find file" Dec 31 07:04:57 compile 'com.squareup.okhttp:okhttp:2.1.0' Dec 31 07:05:11 use 2.2.0, fresh off the presses as of an hour or two ago! Dec 31 07:07:13 okay, i think the problem is not the library.. i think its my AS Dec 31 07:07:27 Error:Failed to find: com.squareup.okhttp:okhttp:2.2.0 Dec 31 07:07:28 Open File
Open in Project Structure dialog Dec 31 07:11:39 phew, a week free of heavy metal :) Dec 31 07:12:35 g00s: I didn't know guantanamo detainees got vacations Dec 31 07:13:36 yeah that skinny puppy was getting old Dec 31 07:14:04 skinny puppy is punk Dec 31 07:14:28 shmooz i don't think you got my allusion 'heavy metal' :) Dec 31 07:15:19 if you are confused, don't worry Dec 31 07:20:13 Whats the application lifecycle of a service based app? Dec 31 07:22:45 lasserix_ wut? are you pranking us ? :) you know that :| Dec 31 07:23:41 just wondering the best way to "recreate" the viewhierarchy for a keyboard of a input method service? Dec 31 07:30:47 TaskStackBuilder.from says `from` is deprecated. What methond I should use to append my task into existing one? Dec 31 07:49:02 has anyone used kiip? Dec 31 07:59:59 hello Dec 31 08:00:22 my fellow android bluetooth developper :) any advice as to gracefully monitoring a Bluetooth connection state ? Dec 31 08:00:32 on some device it tends not to detect whenever a connection close Dec 31 08:00:37 (socket does not close) Dec 31 08:00:58 Marlinski rfcomm or ble? Dec 31 08:01:02 rfcomm Dec 31 08:01:13 are you blocked on the socket read ? Dec 31 08:01:43 yes, it is reading so it is blocking unless receiving something or IOException Dec 31 08:02:01 then all you can do is set up a broadcastreceiver Dec 31 08:02:02 thing is, on some device if the user moves away or brutally kill bluetooth, IOException is not thrown Dec 31 08:02:17 listen for acl_disconnect event Dec 31 08:02:26 yeah, and android sucks at bluetooth Dec 31 08:02:33 good luck :) Dec 31 08:02:34 confirm :) Dec 31 08:02:42 thank you, I am going to check that Dec 31 08:03:25 http://www.kiip.me/ ? Dec 31 08:03:59 Yes. Dec 31 08:04:00 That. Dec 31 08:04:21 I am using the web integration, but that ad doesn't show up except in testing mode. Dec 31 08:04:28 It has me really bummed out. Dec 31 08:04:45 http://docs.kiip.me/en/sdk/web.html Dec 31 08:14:21 Hey guys, I am using https://github.com/jdamcd/android-crop library to crop the image user selects from the app and save it in another directory Dec 31 08:14:52 I am able to crop and get the image but I would also like to save the cropped image with a lesser size Dec 31 08:15:14 eg if the image is of 4 MB, I would like to reduce the size to 400-500 KB Dec 31 08:15:29 Tried new Crop(path).output(croppedPath).asSquare().withMaxSize(20,20).start(activity); Dec 31 08:15:46 But the cropped image size is not reduced Dec 31 08:15:52 anything I am doing wrong? Dec 31 08:16:25 leo3: you will need to compress your bitmap Dec 31 08:16:49 compress before saving? Dec 31 08:17:13 Bitmap.createScaledBitmap Dec 31 08:17:14 but saving is handled by library itself :( Dec 31 08:17:49 g00s: that's great ! Dec 31 08:17:56 leo3: so what? the library will give you cropped file and after that you can resize it Dec 31 08:18:03 Marlinski ;) Dec 31 08:18:13 g00s: I was afraid I had to keep state and timeout, but the ACL_DISCONNECTED trick is perfect :) Dec 31 08:19:16 Agamemnus: you are in #android-dev, what is your question is? Dec 31 08:19:32 i just wanted to know if anyone used kiip Dec 31 08:19:45 cause it isn't working for me Dec 31 08:20:28 are you using android sdk? Dec 31 08:20:50 i started that but then i saw that it was obsolete Dec 31 08:20:56 so i tried the web version Dec 31 08:20:58 @kamol Ah got it :) Thanks Dec 31 08:21:00 will try Dec 31 08:21:13 obsolete for cordova, at least Dec 31 08:21:20 their plugin for cordova. Dec 31 08:21:48 Agamemnus: cordova… but how about native android sdk? Dec 31 08:22:06 not yet Dec 31 08:22:10 have you? Dec 31 08:23:30 Agamemnus: nope, I didn’t Dec 31 08:23:36 i thought the web implementation would be simplest but it doesn't work. I emailed them about it Dec 31 08:23:40 I am only getting test ads Dec 31 08:23:48 might try the android sdk later Dec 31 08:24:31 I just saw the cordova plugin was really outdated.. and that is basically the android sdk with some extra things Dec 31 08:24:48 and then I saw the web stuff, got excited, and let down again Dec 31 08:26:32 :) Dec 31 08:26:56 a long train of abuses and usurpations Dec 31 08:26:56 that will be a reocurring pattern Agamemnus ; cordova = dissapointment ;) Dec 31 08:27:10 the web stuff is not cordova Dec 31 08:27:32 and a lot of the cordova stuff I make myself from the android api Dec 31 08:27:40 but it just doesn't work or it's half-baked Dec 31 08:27:45 ...not MY stuff.... their stuff Dec 31 08:28:03 I mean, ad networks and such. Dec 31 08:28:38 Agamemnus based on what you said above, you don't have the users or engagement to consider ads Dec 31 08:28:51 With TaskStackBuilder I am buidling stack of my activity. However, how can I add my task to existing one? Dec 31 08:28:54 ads work great when you have tons of users Dec 31 08:29:33 it is enough to test Dec 31 08:29:48 but when they don't actually serve ads Dec 31 08:29:56 it is hard to tell if it works Dec 31 08:30:38 the kiip ads are coupon things placed at weak emotional points Dec 31 08:30:59 lol what is a weak emotional point Dec 31 08:31:02 It sounds like a great idea Dec 31 08:31:07 it's when you're not thinking Dec 31 08:31:15 like when you won a puzzle Dec 31 08:31:31 and your brain is full of endorphins Dec 31 08:32:40 I read a lot of games are set like that. Dec 31 08:32:58 for in app purchases at least Dec 31 08:33:14 oh gawd, would you start and finish a sentence in one line? enter isn't punctuation Dec 31 08:33:31 I suspect you're overthinking... Dec 31 08:33:39 Agamemnus i can see running, chocolate, sex = endorphincs, not winning a puzzle Dec 31 08:33:50 I see Dec 31 08:34:29 http://www.kiip.me/static/images/home/stories/reward-fitness.jpg Dec 31 08:34:43 g00s, you've obviously never won a puzzle the way i have Dec 31 08:35:06 i win puzzles so hard Dec 31 08:35:08 my only concern is the email field. Dec 31 08:35:30 users might not know their emails. Dec 31 08:37:00 Maybe I should set my content setting to High Maturity. Dec 31 08:37:01 ask them for their social securty numbers then Dec 31 08:37:21 I suspect I am getting a lot of toddlers playing my game and then discarding it. Dec 31 08:37:24 cool, porn puzzles Dec 31 08:37:44 Can't do it on Google Play. There have been many requests for it, but I can't Dec 31 08:38:17 I need to set up Google Analytics properly. I tried it before but it didn't seem to work. Need to find age. Dec 31 08:38:32 Somehow. Dec 31 08:38:51 just ask the user for their birthdate. no-one ever lies on those Dec 31 08:39:41 There should be some surreptitious way of finding a user's age without asking for it. Dec 31 08:40:24 well, if you make a puzzle of justin beiber, you can be pretty sure your user is approximately a 13-year old girl Dec 31 08:40:33 haha Dec 31 08:41:15 I really don't understand why users quit at the level selection screen Dec 31 08:42:10 6 users quit out of 34 registered today Dec 31 08:42:22 I'm running blind. Dec 31 08:42:51 too much effort/didn't do what they thought Dec 31 08:43:12 But the game description has images of jigsaw pieces. Dec 31 08:43:16 someone knocked on the door... their boss called them... Dec 31 08:43:24 battery warning came up... Dec 31 08:43:26 And the only effort is to press an image Dec 31 08:43:33 but it's consistent Dec 31 08:43:54 Ok, I know.... I am going to remove the grey screens. Dec 31 08:44:03 One user didn't understand why the images were grey. Dec 31 08:44:20 (this is from a PEEK user test. The user was 34 years old) Dec 31 08:44:37 but then again his tablet ran like Dec 31 08:44:55 a constipated bear. Dec 31 08:46:00 there's no bears in this country -- do constipated bears run fast? Dec 31 08:46:09 very slow Dec 31 08:46:32 talking about slow running cute animals https://www.youtube.com/watch?v=fPMwOPwurKU Dec 31 08:47:10 i think you need to reanalyse your definition of cute, g00s Dec 31 08:47:26 he's got rhino shorts on Dec 31 08:47:44 bankai_: drop bears? Dec 31 08:47:52 oh yeah forgot about them Dec 31 08:48:00 do they get constipated? Dec 31 08:48:28 if it eays too many people probably Dec 31 08:48:34 *eats Dec 31 08:48:49 depends what they drop on Dec 31 08:49:36 i'm getting one of those Dec 31 08:50:46 "NVIDIA Corporate Network Breached" d'oh ! Dec 31 08:56:20 If they say this was north korea again then I have a theory about what's going on. Dec 31 08:58:03 Agamemnus: for what it's worth, I'd focus far more on total numbers if I were you Dec 31 08:59:28 I'm trying to build a chat application that is based on WebSockets, the application is working with no problems and the messages are received and sent. The problem comes when the app enters the onPause state, I dont receive any messages as the connection is closed. I'm searching for a solution for that problem, I'm thinking of a polling solution in a separate service, but I'm not sure if it is a good solution. So I came here to seek advice. Any ot Dec 31 08:59:30 her ideas or is the polling is the best solution ? Dec 31 09:00:48 R4md4c put all the networking in a service Dec 31 09:00:55 hi, I'm currently developing an app which is in a usable state and I use it daily, but I want to keep developing it and it will be in an unusable state for a while, I only have a single phone and the emulator won't work because it captures audio. I tried changing the name of my app, but Android Studio Dec 31 09:01:01 replaced the old app Dec 31 09:01:02 how can I have a "release" version of the app and a devel version runing both in the handset without having to create a separate project? Dec 31 09:01:19 g00s: But what if the OS closes the service ? Dec 31 09:01:22 any ideas? Dec 31 09:02:03 R4md4c read up on services Dec 31 09:02:03 g00s: To regain memory Dec 31 09:10:13 i believe that the qustion can be reduced to how can you configure an android studio project to install a second instance of the program instaed of replacing the existing one. the name is not enough, what is? Dec 31 09:11:00 Leeds: what do you mean? Dec 31 09:11:28 Most of my users are coming from paid advertisements. Dec 31 09:11:47 I am also seeing that as I improve my game, I get less ad money per user. Dec 31 09:11:59 ._. Dec 31 09:12:50 maybe I should rename the java package name? Dec 31 09:12:53 you don't want to get a constipated bear angry Dec 31 09:12:55 how do you guys do it? Dec 31 09:15:14 Yes Dec 31 09:15:24 change the package name Dec 31 09:15:29 should be enough Dec 31 09:26:20 Is Google going to make a material design compat theme for older devices? Dec 31 09:27:14 yango: are you using version control? Dec 31 09:27:20 seems like all you need Dec 31 09:28:11 keep the stable version of your app on the master branch, then create another branch for your new features Dec 31 09:29:23 i wanna send email from service (without user prompt) Dec 31 09:29:40 the only solution i found so far is android javamail from 2009 which doesnt work Dec 31 09:33:29 RustyShackleford: I do, but the problem is that I need to run both in parallel Dec 31 09:44:25 yango: i still think branches are the solution here Dec 31 09:44:44 unless you need to have both apps installed at the same time. that could be a problem i guess Dec 31 11:07:01 * ReGiStRaS pray for victims of QZ8501 )': Dec 31 11:45:57 hi Dec 31 11:46:21 hello Dec 31 11:47:27 if I am trying to allocate a large amount of data in my app is it a good idea to handle the OutOfMemoryError Dec 31 11:47:40 and have a plan B Dec 31 12:08:24 ChrisUK, what do you think? :P Dec 31 12:08:45 yes I do Dec 31 12:08:52 but I am not sure how well it will work Dec 31 12:09:06 It will work as well as you program it to work :3 Dec 31 12:09:25 well my strategy is pretty simple Dec 31 12:09:48 1) try to allocate the bitmap 2) catch the exception and half the resolution as a plan B Dec 31 12:09:53 does that sound reasonable? Dec 31 12:10:02 using bitmaps sounds unreasonable Dec 31 12:10:03 :3 Dec 31 12:10:35 ok Dec 31 12:11:11 using ones big enough to run out of memory sounds even moreso Dec 31 12:11:13 :P Dec 31 12:18:51 Hi everyone!! Dec 31 12:19:53 Can anyone point me to some cool ui animation tutorials? I find the official docs too obscure.,. Dec 31 12:51:53 how can I preserve the order of some elements after notifyDataSetChanged has been called? Dec 31 12:52:20 say I have an arraylist of objects that I show in a list, in one case I give the adapter the arraylist sorted already in a certain order, from my querying the db for those objects Dec 31 12:52:55 notifydatasetchanged pulls them back as they were in the "default" way, as in, not how I gave it the objects the last time I had loaded the adapter Dec 31 12:56:36 yep definitely a valid question Dec 31 13:38:54 I know this is totally off-topic, but the new programming language Nim looks so nice: http://nim-lang.org/ Dec 31 13:39:16 You can even turn off the GC at whim. Dec 31 13:51:00 TacticalJoke: I remain unimpressed Dec 31 13:54:16 what's exactly NDK_MODULE_PATH? Dec 31 13:55:04 i wanna build my package it's cocos2d-x proj. i'm on eclipse, i wanna do it the best simplest way.. not using cygwin at least. i'm on windows. Dec 31 14:04:08 notifyDataSetChanged ought to trigger a call to the adapter's constructor Dec 31 14:04:27 call Google Dec 31 14:11:41 Hello o/ Dec 31 14:12:30 I have a problem with an activity Dec 31 14:12:35 Here is the code: http://pastebin.com/Vbvnyw6H Dec 31 14:12:49 My problem is that the OnResume method is never called Dec 31 14:16:03 Did you remove the Override annotation because it told you there was no method called OnResume? Dec 31 14:16:31 Method names are case sensitive Dec 31 14:18:03 haha, still not telling him that it should be lower case 'o' Dec 31 14:18:43 :s Dec 31 14:19:25 SimonVT, Oh, right (X.X) Dec 31 14:19:26 My bad Dec 31 14:19:37 I didn't notice my error Dec 31 14:20:29 That's why there's an Override annotation, so you're immediately notified when you make a mistake Dec 31 14:21:28 SimonVT, Thanks, it works now :p Dec 31 14:22:27 SimonVT, Actually, Android Studio displayed "Method does not override its superclass" Dec 31 14:22:42 So I thought that didn't need @Override Dec 31 14:22:50 But well, I misunderstood :p Dec 31 14:22:59 why dont you go "cmd + N" > Override methods Dec 31 14:23:00 next time Dec 31 14:23:23 you can generate setters and getters over there too Dec 31 14:26:25 Why would notifyDataSetChanged call the adapter's constructor? That doesn't make sense. Dec 31 14:27:58 It's instantiating a new adapter? Dec 31 14:28:08 I think you're the one not making sense Dec 31 14:28:18 SimonVT: I was responding to Odaym. Dec 31 14:28:31 notifyDataSetChanged ought to trigger a call to the adapter's constructor Dec 31 14:29:10 Yeah, that doesn't make much sense Dec 31 14:48:30 why? I'll tell you why Dec 31 14:49:28 notifyDataSetChanged doesn't trigger a reload in the views of the listview if you dont repopulate the arraylist that you fed to the adapter when you started Dec 31 14:49:41 started as in when you set it on the listview Dec 31 14:50:20 I change object at i = 4 let's say, make one of it's properties be different than what it was and then call notifyDataSetChanged, nothing will happen Dec 31 14:50:33 you have to say myArray = getArrayObjectsAgain, then call it Dec 31 14:51:12 If you change an item in your list, calling notifyDataSetChanged will reflect that Dec 31 14:51:36 deleting an item works Dec 31 14:51:51 but doing objects.get(i).setThisProperty(some_other_value) doesnt change anything Dec 31 14:51:58 you have to go back and then back in Dec 31 14:52:11 unless you load the data again into the arraylist Dec 31 14:52:16 Yes it does Dec 31 14:52:16 from db Dec 31 14:52:19 mind you Dec 31 14:52:21 from db Dec 31 14:52:37 Well, you're wrong Dec 31 14:52:52 how? the last stuff the arraylist has was the last time you fetched from db Dec 31 14:53:02 Changing a property on an item in the list backing the adapter will be reflected Dec 31 14:53:46 yea yea Dec 31 14:53:48 this is all wrong Dec 31 14:53:49 sorry Dec 31 14:54:15 it's what Im doing that's not applicable to the change being triggered (i.e. changing in the dataset) Dec 31 14:54:43 as I only change in the DB and expect magically to have the items reloaded into the arraylist when the notify is due Dec 31 14:55:33 Odaym: In my app, I'm mutating the list all the time and then calling notifyDataSetChanged. For example, if a user taps a comment, it collapses/expands. I say something like "list.get(position).toggleCollapsed(); notifyDataSetChanged();". Dec 31 14:55:46 yes, but not in DB Dec 31 14:56:00 if you rely on the data to be exactly as it is in the db, you change DB first, naturally, right? Dec 31 14:56:16 then say "now load that stuff into my arraylist, that's my new stuff" Dec 31 14:56:21 and THEN notifyDataSetChanged Dec 31 14:57:59 Odaym: I don't know your app, but I think in many cases it'd make more sense to mutate the list (in memory) first and *then* worry about persisting that state to disk. Though this might not apply in your case (you'd have to give more info). Dec 31 14:58:02 Once the data is loaded into your Cursor, or whatever you have, changes to the database doesn't magically appear, no Dec 31 14:58:19 yep, stupid to think so even Dec 31 14:58:33 but the question is now obvious Dec 31 14:58:36 Okay, I've never done stuff with Cursors before. Dec 31 14:58:58 what are the use cases where you DON'T want the stuff that changes/happens in the list to be unsaved in the database? Dec 31 14:59:35 you work with the data that is in your variable, change it and do things and whatever, then exit, nothing is saved and you're back to the way you loaded the data in the first place, changes not reflected anywhere Dec 31 15:01:01 It depends on the app, I guess. If the app's design is such that nothing is written to disk until the user manually chooses to save, saving would be entirely separate from all of this. Dec 31 15:01:30 no one leaves the saving up to the user anymore Dec 31 15:01:43 it's granted that everything you do is permanent Dec 31 15:02:38 see these little things make the difference Dec 31 15:03:15 previous apps I've worked on I used to do a broadcast receiver to let the parent activity know that something has changed, so it would reload the data back into the arraylist and SETADAPTER ON THE LIST AGAIN! Dec 31 15:03:37 imagine the insanity, just because didnt take time to think of it Dec 31 15:04:11 That's why thinking is so important. :D Dec 31 15:26:59 hello guys :) Dec 31 15:27:05 anyone alive? Dec 31 15:29:39 hello thar! Dec 31 15:31:31 good evening Dec 31 15:31:36 how may we aid you Dec 31 15:33:51 Evening? Dec 31 15:33:55 lol Dec 31 15:34:14 Ashiren: good evening Dec 31 15:34:27 Ashiren: i'm in trouble with roboguice lib Dec 31 15:34:28 yo guys Dec 31 15:34:38 please may someone help me compile & package a project? Dec 31 15:34:46 wondering how many guys around here are using this Dec 31 15:35:05 DelphiWorld: you're not using Android Studio? Dec 31 15:35:26 abara: no dude, this is a old project i requested from a company they used ADT Dec 31 15:36:14 oh Dec 31 15:36:25 abara: and my text to speech work crazyly with any java app Dec 31 15:36:43 DelphiWorld: afaik eclipse + adt have a very simple way to export as APK your project Dec 31 15:36:55 abara: android studio what gui they use? swt? Dec 31 15:37:15 DelphiWorld: Cant confirm, but i assume its SWT Dec 31 15:37:36 DelphiWorld: it's just a ripoff IntelliJ IDE Dec 31 15:37:40 abara: but migration easy? Dec 31 15:37:55 abara: i hope not fucking swing! Dec 31 15:38:07 or spring or whatever is called Dec 31 15:38:13 DelphiWorld: ashiduahsiduhasiudhas Dec 31 15:38:20 when you go from one activity to another, and then the user uses the android back button to go back, are any events fired on the initial activity? Dec 31 15:38:33 abara: ??? Dec 31 15:38:40 DelphiWorld: on Android Studio theare using Gradle (Groovy based builder) Dec 31 15:38:57 DelphiWorld: can't say something about import from eclipse. Dec 31 15:39:38 DelphiWorld: but if you wanna just generate an APK with ADT there is a menu command for it Dec 31 15:39:38 ... Dec 31 15:39:59 abara: if any issue i will Buzz you ;) Dec 31 15:40:35 DelphiWorld: Ok, but i'm not a real expert on java/android. actually im python developer '-' Dec 31 15:40:56 DelphiWorld: i will openup my eclipse and checkout the option to export Dec 31 15:47:27 skrite: I'd expect onStart, onRestart, and onResume to fire for the first Activity in that case. Dec 31 15:47:39 Check out . Dec 31 15:48:00 abara: :) Dec 31 15:48:08 TacticalJoke: Thanks! Dec 31 15:50:11 People around the world are getting ready to new years... And i'm just sitting here, using IRC with 3G shit connection waitting to load some 345kb porn pic of a random hot blonde female Dec 31 15:52:04 abara: what about me as a blind person seating in front of my pc and shitting with my project? ;( Dec 31 15:52:30 DelphiWorld: that too Dec 31 15:52:34 DelphiWorld: ahsiudhaisudh Dec 31 15:52:50 abara: i dont understand your last lin Dec 31 15:52:53 DelphiWorld: and seriously, whats the deal with the nickname? Dec 31 15:53:10 abara: i was a delphi dev Dec 31 15:53:17 DelphiWorld: ahsiudhiaush -> (laugh) Dec 31 15:53:32 I have an app on Google Play but its not allowed to be downloaded on an "ASUS Memo Pad 7 ME170CX" for some reason... here is a screenshot of all the "memo Pad 7" that I see on Google Play and none match this device's name - http://i.imgur.com/SBQAc3c.png... any ideas? Dec 31 15:53:33 DelphiWorld: how old are you? .-. Dec 31 15:53:40 abara: 28 Dec 31 15:54:07 joshdholtz: whats is processor on Asus Memo? ARM or Intel? Dec 31 15:54:21 DelphiWorld: wow, kinda young for delphi Dec 31 15:54:27 abara: :P Dec 31 15:54:31 1.2 GHz Intel Atom Dec 31 15:54:32 DelphiWorld: they paid you really well hum? Dec 31 15:54:55 joshdholtz: afaik you need to generate a specific version of APK for Intel CPUs Dec 31 15:54:56 abara: nop... i dont work as a dev, i was working as a telecom tech Dec 31 15:55:03 yyaaaayyy Dec 31 15:55:12 joshdholtz: not 100% sure about it Dec 31 15:55:23 DelphiWorld: oh Dec 31 15:55:33 abara: i do VoIp and R & S Dec 31 15:55:40 DelphiWorld: i will need a 30min to download the ADT here man Dec 31 15:55:51 DelphiWorld: R and S? Dec 31 15:56:03 abara: dude, i downlozaded it for 2 ours! Dec 31 15:56:27 DelphiWorld: wow, are you using 3G conn two? hahahaha Dec 31 15:56:53 thanks for the help abara! i will give that a shot Dec 31 15:56:54 abara: ADSL... slooooooooooooow, now i'm on 4G but limited to 512kbit/s Dec 31 15:57:13 joshdholtz: ok man, hope this is the answer! :) Dec 31 15:57:19 i hope so too Dec 31 15:57:33 Is there a way to create application without activity, but with launcher? I need to launch shell script simply by tapping on launcher icon. Dec 31 15:57:55 DelphiWorld: lucky you, my cable conn got down today! @_@ i'm surviving on my shit 3G of 5kbps Dec 31 15:58:06 abara: :) Dec 31 15:58:38 olologin: i think i wanna an start activity but not load any layout. Dec 31 15:59:19 olologin: i can build a widget to do that, or simple not inflating any layout, afaik Dec 31 15:59:22 abara: Is it possible? I mean it will work on almost any android version? Dec 31 15:59:38 *will it Dec 31 15:59:56 olologin: try remove the default lines on the CreateView method and see what happens Dec 31 16:01:50 Are you folks doing anything fun for NYE? Dec 31 16:03:45 TacticalJoke: working hard to make roboguice help me on the project Dec 31 16:03:50 TacticalJoke: and you? Dec 31 16:04:09 I have my family coming to my place. Dec 31 16:04:22 Currently trying to five-year-old-proof my home. Dec 31 16:05:22 TacticalJoke: hahahahahaha Dec 31 16:05:31 TacticalJoke: good luck man xD Dec 31 16:06:56 272 is the number of the day. Dec 31 16:09:25 I have a BaseExpandableListAdapter but I'm finding that getChildView() is being called many times, and often with the SAME convertView Dec 31 16:10:16 so it's calling groupPosition=0, childPosition=0, someconvertView and then with groupPosition=0, childPosition=1 but with the same convert view Dec 31 16:10:44 the end result looks fine, but it's messing everything up for me Dec 31 16:14:22 * DelphiWorld click btnClickMe Dec 31 16:14:33 A random person dies Dec 31 16:15:22 * TheNumb clicks btnClickMe Dec 31 16:15:33 A random person dies Dec 31 16:15:37 * TheNumb clicks btnClickMe Dec 31 16:15:43 A random person dies Dec 31 16:15:46 meh Dec 31 16:17:39 * DelphiWorld triple click btnClickMe in adition of TheNumb clicks Dec 31 16:19:31 btnClickMe: https://www.youtube.com/watch?v=LJQ-LZYAMBQ Dec 31 16:20:50 Random people die all the time. Hard to establish a correlation here. :) Dec 31 16:21:38 public void InfiniteMoney(){ if(1==1) {button.click(); InfiniteMoney();} Dec 31 16:22:40 add a } at the end if that Dec 31 16:22:57 There's a better one of those button videos Dec 31 16:23:06 can anybody give me a hint or link on how to make an APK for x86? Dec 31 16:23:24 um what do you use thats x6? Dec 31 16:23:24 my googling skills are at an all time low today Dec 31 16:23:27 x86 Dec 31 16:23:42 Clearer code would be this: public void recurseUntilStackOverflow() { recurseUntilStackOverflow(); } Dec 31 16:23:45 i got a client that has a customer that has a device that runs an Intel Atom Dec 31 16:23:56 and Google Play won't let him download the app that is on Google Play right now Dec 31 16:24:04 cause its not built for x86 Dec 31 16:24:14 at least i believe that is what the issue is Dec 31 16:24:26 I guess the test could look like this: try { recurseUntilStackOverflow(); failBecauseExceptionWasNotThrown(StackOverflowException.class); } catch (StackOverflowException e) { // expected } Dec 31 16:24:37 this isn't what i planned on working on today so i just wanna get this fixed :) Dec 31 16:24:42 Ah this one: https://www.youtube.com/watch?v=WBNOXYlYswA Dec 31 16:25:18 Oops, it's "StackOverflowError" in Java. Dec 31 16:26:15 Hey, Radther. Any fun plans tonight? :) Dec 31 16:35:25 which TLS implementation does Android use in the background when you use the normal javax.net.ssl APIs? is it OpenSSL? Dec 31 16:35:42 they probably didn't write their own implementation of TLS, right? Dec 31 16:48:55 TheJH, builtin stuff uses OpenSSL, javax.net.ssl is BouncyCastle since 4.x or so Dec 31 16:49:13 Mavrik: thanks, interesting Dec 31 16:49:33 TheJH, but note that OEMs can fuck with that at will :) Dec 31 17:04:50 yes, stack overflow is an error condition, not an exception Dec 31 17:15:32 DelphiWorld: http://stackoverflow.com/questions/4600891/how-to-build-an-apk-file-in-eclipse Dec 31 17:15:53 DelphiWorld: Are you an ex-Borland-fan? Dec 31 17:16:08 TacticalJoke: omg, borland Dec 31 17:16:23 I was a huge Delphi fan. Dec 31 17:16:39 TacticalJoke: man... Borland, CodeWarrior Dec 31 17:16:41 C++ Builder was also a million times nicer than VC++ 6 with MFC or whatever horrible framework. Dec 31 17:17:34 I never used CodeWarrior. Dec 31 17:18:58 TacticalJoke: me too, but it was mentionated on the schildt'c C book Dec 31 17:19:10 I read read Schildt's C/C++ book. lol Dec 31 17:19:35 Everyone hated that author. They even invented a term relating to pretending to know what you're talking about: bullschildt. Dec 31 17:20:01 TacticalJoke: hahaahahaha, omg i really liked the C book Dec 31 17:20:13 TacticalJoke: it's simple and consistent Dec 31 17:20:19 Yeah, I didn't mind the book much. Dec 31 17:20:30 Mine was the C book with a second book (about C++) added onto the end. Dec 31 17:20:59 "delphi programmers' convention got cancelled. one programmer got sick, and the other one doesnt want to be alone" Dec 31 17:23:05 Delphi was the poster child of the "you can have a far superior product and yet the world will still use C++/PHP/whatever" thing. Dec 31 17:23:57 delphi ands its.. IDE?.. was my first GUI language Dec 31 17:24:47 so much memories Dec 31 17:25:36 TacticalJoke: i never programmed on delphi .-. Dec 31 17:26:08 TacticalJoke: i started with some silly codes on C and the i got into college. There i learned Java :'/ Dec 31 17:26:44 I think my first RAD environment was VB 4/3. Dec 31 17:26:59 Does Android Studio or Eclipse qualify as a RAD? Hmm. Dec 31 17:27:04 I think that term isn't even used anymore. Dec 31 17:27:27 RAD? Dec 31 17:27:39 http://en.wikipedia.org/wiki/Rapid_application_development Dec 31 17:27:52 wasnt there borland thing for android? Dec 31 17:27:56 the rad Dec 31 17:28:16 yeah, i think this term is not used anymore Dec 31 17:28:29 Apparently you can use Delphi to create Android apps. I wonder how many people actually do that. Dec 31 17:28:36 IDE absorved the objective of this acronism Dec 31 17:28:45 A lot of the Delphi people were stuck. They just couldn't move onto something else. Dec 31 17:28:48 TacticalJoke: whaaaaat? Dec 31 17:29:05 When .NET started getting big, the adaptable programmers jumped ship. But a few Delphi die-hards just couldn't leave. Dec 31 17:29:36 TacticalJoke: are you serious about delphi and android? Dec 31 17:29:38 Yeah. Dec 31 17:29:42 http://www.embarcadero.co.uk/products/delphi/android-app-development Dec 31 17:29:51 Delphi XE7, apparently. Dec 31 17:30:00 Who would even want to? It's insane. Dec 31 17:30:21 hahahahaha, so we can have an effort in running delphi on smart devices but not python? Dec 31 17:30:25 dude... Dec 31 17:30:43 I bet 100% of those people are the Delphi die-hards I just mentioned. Dec 31 17:30:54 ahhaahahaha yeah Dec 31 17:31:12 but you know what? anything that not run java is just a better thing Dec 31 17:31:23 You think? I don't mind Java, personally. Dec 31 17:31:28 i really hate the performance of eclipse and intellij Dec 31 17:31:38 Yeah, same here. Dec 31 17:32:03 i like to programming on Vim os Sublime. But the verbose on java is to high Dec 31 17:32:05 Yeah, I'd happily use an IDE *not* running on the JVM. Dec 31 17:32:22 This is why I'm holding out hope for MS making something decent for Android development. Dec 31 17:32:25 Hye everyone Dec 31 17:32:27 Well, one of the reasons. Dec 31 17:32:28 so its impossible to make android being simple to a point to be able programming without an IDE Dec 31 17:32:28 Hey. Dec 31 17:32:49 abara: On my laptop, Android Studio is abysmally slow. Dec 31 17:32:49 tricknology: hello Dec 31 17:32:52 what a face lift Dec 31 17:32:55 Eclipse isn't great, but at least it's usable. Dec 31 17:33:13 TacticalJoke: and it's still have a "powersave" mode Dec 31 17:33:16 amazing when you use the correct tool for the job! Dec 31 17:33:31 TacticalJoke: ahsidhaiush an IDE with powersave mode? bad bad joke Dec 31 17:33:31 I'm going to take this code and paste it on my fucking bedroom wall Dec 31 17:33:35 hueuehuehue Dec 31 17:33:55 say we number the sides of a device 1,2,3,4. Is there any way to tell 1 from 3 and 2 from 4 with regard to screen orientation.. without using a sensor (some devices don’t have sensors) Dec 31 17:33:56 Yeah, it's a bit weird. Dec 31 17:34:23 I should probably try Power Save mode. I'm guessing that'll reduce the crazy lag. Dec 31 17:34:40 I haven't tried Android Studio in about two months, though. No doubt I'll be trying it again soon. Dec 31 17:35:06 problem is that I try to lock the screen orientation to whatever orientation it was in when the activity started. but if am holding it upside down in landscape then it will flip 180… :( Dec 31 17:35:12 bbiab Dec 31 17:35:23 TacticalJoke: the powersave mode basically turnoff the code inspection Dec 31 17:36:50 I switched from IntentService+EventBus to RxJava+Retrolambda. This is the result: https://gist.github.com/anonymous/eba3823db1e63b9b9025 Dec 31 17:38:18 tricknology: whats the problem? Dec 31 17:39:52 Napalm: I am trying to lock the orientation of the screen to whatever it was when the activity is created. But if the device is in landscape and upside down (home button on top) then when it enters the activity it will flip the orientation 180 degress (aligninn as if the home button were on the bottom) Dec 31 17:40:03 tricknology: i'm not sure but as far as i remember android cant do that Dec 31 17:40:14 tricknology: not if you tell it not too Dec 31 17:40:54 if (resources.getConfiguration().orientation == landscape) set landscape else set portrait Dec 31 17:41:18 Do i need Surface.Roration? Dec 31 17:41:19 Rotation Dec 31 17:41:29 and reverse_portrait? Dec 31 17:41:45 err reverse_landscape Dec 31 17:41:47 tricknology: dude, explain again what you want. i didnt get it yet Dec 31 17:41:55 tricknology: :/ Dec 31 17:42:11 you’re holding your tablet upside down in landscape right>? Dec 31 17:42:51 you go to a new activity and then all of a sudden the orientation flips 180 degrees causing you to have to flip the tablet 180 degrees to view the content.. now you’re like wtf m8 Dec 31 17:43:12 tricknology: ok Dec 31 17:43:26 Hi everybody Dec 31 17:43:33 hi Dec 31 17:43:54 tricknology: maybe, just maybe, you forgot to configure the behaviour of your view. you can do that on xml files or manifest Dec 31 17:43:55 I jsut want to lock the screen in whatever orientation it was in Dec 31 17:44:10 I dont want it to be just portrait or just landscape Dec 31 17:44:10 tricknology: i think this is it Dec 31 17:44:29 * tricknology anxiously awaits Dec 31 17:44:42 so do that? Dec 31 17:44:53 wathek: hello Dec 31 17:45:03 request orientation clearly has a flag to enable that Dec 31 17:45:10 why is it so hard to read apidocs for some people? Dec 31 17:45:23 pfn: because this API is a mess Dec 31 17:45:28 but it isn't Dec 31 17:45:39 pfn: google write less than 50 Dec 31 17:45:44 pfn Dec 31 17:45:47 50% of what this api can do Dec 31 17:45:48 you write less than 1 Dec 31 17:46:04 i do getResources().getConfiguration().orientation Dec 31 17:46:35 why Dec 31 17:46:47 OHHHHH he got you there Dec 31 17:46:48 I'm having a problem to extract the exif data from jpeg picture here's my code : http://pastebin.com/nYxG0ZDq I'm calling the function like this ExifInterface exif = new ExifInterface(picturePath); ShowExif(exif); but it always return null for the data meanwhile in the android gallery it shows me the exif data Dec 31 17:46:50 I figured that would get me the current orientation Dec 31 17:46:53 yep yep Dec 31 17:46:59 you saying I should use getRequestedOrientation()? Dec 31 17:47:01 tricknology: dude, this behaviour you want is configured by default. just post your manifest and .xml layout that doesnt turn landscape. Dec 31 17:47:43 he doesn't want to lock it in a predefined orientation Dec 31 17:47:49 eh? it does turn landscape Dec 31 17:47:53 he wants to lock it in whatever orientation it was previously Dec 31 17:47:59 onCreate Dec 31 17:48:03 so I dont think the manifest will have anything to do with this Dec 31 17:48:03 if there's a getRequestedOrientation Dec 31 17:48:08 what does setRequestedOrientation do... Dec 31 17:48:16 yea, has to be only in code Dec 31 17:48:19 it sets the orientation Dec 31 17:48:25 and what flags are available for it Dec 31 17:48:26 but there is also reverse_landscape Dec 31 17:48:36 well there are also a million other methods.. Dec 31 17:48:54 setOrientation(getOrientation()) Dec 31 17:49:18 that would be the most beautiful simple soultion Dec 31 17:49:31 AHA! YOU WISH! Dec 31 17:49:32 haha Dec 31 17:49:37 maybe it can be done, try that.. Dec 31 17:49:42 haha I might as well Dec 31 17:49:49 might as well? you should've already! Dec 31 17:49:54 the methods are there Dec 31 17:50:29 pfn the problem is that I’m doing this: http://pastebin.com/H4HhAgaP Dec 31 17:50:33 sorry for potato formatting Dec 31 17:50:52 i didnt account for reverse Dec 31 17:50:54 wtf would you do that Dec 31 17:51:05 because I have never dealt with orientation before Dec 31 17:51:10 if there's a set there's a get! Dec 31 17:51:22 derp Dec 31 17:51:23 WHAT FLAGS ARE AVAILABLE FOR SETREQUESTEDORIENTATION Dec 31 17:51:25 tricknology: back, sorry, what you trying to do? Dec 31 17:51:35 nvm we got it figured out Dec 31 17:51:49 setRequestedOrientation(nosensor) done Dec 31 17:51:50 ... Dec 31 17:52:16 http://developer.android.com/reference/android/app/Activity.html#setRequestedOrientation(int) Dec 31 17:52:19 :/ ? Dec 31 17:52:19 tricknology: did you ever tested you app without this orientation codes? Dec 31 17:52:29 yeah, previously it was locked Dec 31 17:52:35 I didn’t write it Dec 31 17:53:06 2nd version doesnt care because there are different styles Dec 31 17:53:07 tricknology: it's really weird. android would do what you want natively Dec 31 17:53:25 I dont want it to change though Dec 31 17:53:39 it does soem voodoo things to the peripherals that are baked into onCreate Dec 31 17:54:31 pfn I don’t see flags there :/ Dec 31 17:54:44 you clearly are bad at reading Dec 31 17:54:59 see Parameters section, man Dec 31 17:55:00 An orientation constant as used in ActivityInfo.screenOrientation. Dec 31 17:55:00 of the method Dec 31 17:55:05 http://developer.android.com/reference/android/content/pm/ActivityInfo.html#screenOrientation Dec 31 17:55:20 From the screenOrientation attribute, one Dec 31 17:55:23 tricknology: after you open the second activity (which raises on inverse orientation of the device) if you move you device (to portrait and then to landscape) the activity get on landscape? Dec 31 17:55:28 http://developer.android.com/reference/android/R.attr.html#screenOrientation Dec 31 17:55:40 Must be one of the following constant values. Dec 31 17:55:51 tricknology: you ondt what to use (getResources().getConfiguration().orientation == Configuration. ORIENTATION_LANDSCAPE) instead use http://developer.android.com/reference/android/view/Display.html#getRotation%28%29 Dec 31 17:56:03 *dont Dec 31 17:56:18 ondt Dec 31 17:56:35 I wont Dec 31 17:56:45 getWindowManager().getDefaultDisplay() Dec 31 17:56:46 .getRotation(); Dec 31 17:56:50 I clearly am bad at reading through the docs Dec 31 17:56:51 oopsy, but yea Dec 31 17:57:05 SCREEN_ORIENTATION_NOSENSOR Dec 31 17:57:06 tricknology: this happens on other apps? Dec 31 17:57:16 heh jsut this one thanksfully Dec 31 17:57:29 that's what I said Dec 31 17:57:31 both points Dec 31 17:57:35 tricknology: will that work? Dec 31 17:57:50 Napalm, it works, I use nosensor to lock orientation to whatever it launched at Dec 31 17:57:52 in otherwords disabling orientation only whilst resumed? Dec 31 17:58:19 of course, phones will behave differently from tablets Dec 31 17:58:26 since everything launches in portrait initially on phones Dec 31 17:58:28 or something like that Dec 31 17:58:37 there's SCREEN_ORIENTATION_LOCKED Dec 31 17:59:09 locked == reverse_portrait? Dec 31 17:59:22 eeh Dec 31 17:59:26 nvm.. misread Dec 31 17:59:47 locked would be more intuitive Dec 31 18:00:24 but requires api 18 Dec 31 18:00:38 TacticalJoke: !!! Dec 31 18:00:41 indeed, nosensor for <18, locked for 18+ Dec 31 18:00:45 wel I’m going with nosensor.. thanks everyone Dec 31 18:00:57 heh will nosensor work on 21? Dec 31 18:01:03 yes Dec 31 18:01:06 but it's really not hard Dec 31 18:01:07 phew Dec 31 18:01:20 * Napalm rolls eyes Dec 31 18:01:23 Build.VERSION.SDK_INT >= 18 ? LOCKED : NOSENSOR Dec 31 18:01:27 Napalm: HAI Dec 31 18:01:45 just one more operation to add to the pile Dec 31 18:01:51 x ln x Dec 31 18:02:14 tricknology: you're using java. you, Sir, dont control your pile Dec 31 18:02:34 i mother java, pile controls you Dec 31 18:02:49 tricknology: something like that Dec 31 18:04:02 i might be shooting myself in the foot here, but i asume nosensor works in xml? Dec 31 18:04:29 android:screenOrientation=“nosensor” Dec 31 18:06:40 tricknology: yeah. you can Dec 31 18:06:46 it would be nice if we could add captions to screenshots on Play Dec 31 18:06:52 tricknology: put on your manifest Dec 31 18:06:58 <(WoW!) Dec 31 18:07:11 g00s: why? Dec 31 18:07:21 abara because Dec 31 18:07:54 maybe you want to explain it a little more ? Dec 31 18:08:17 I could see it getting cluttered Dec 31 18:08:34 then don't put a caption :| Dec 31 18:09:12 g00s: i see. yeah it can be more pratical then use photoshop Dec 31 18:10:15 thepoosh did you guys write your own video codec ? Dec 31 18:16:07 g00s: yep Dec 31 18:16:15 staying late today Dec 31 18:16:20 fucking new years deadline Dec 31 18:16:23 thepoosh: nice work Dec 31 18:16:29 Napalm: ? Dec 31 18:16:39 thepoosh: whats the project? Dec 31 18:16:48 complete redesign of the app Dec 31 18:16:50 thepoosh: with the video codec Dec 31 18:17:01 oh, it wasn't me :P Dec 31 18:17:05 thepoosh so is the new version different than what is on Play now ? Dec 31 18:17:14 the guys who did it are geniuses Dec 31 18:17:32 g00s: material design, tabbed layout, FAB, animations, new history Dec 31 18:17:35 does anyone have any good articles on pros/cons of accountmanager vs managing credentials on your own? someone told me that it's slow and there are security implications (MITM attacks, etc) Dec 31 18:17:36 some more features Dec 31 18:18:12 complement retracted Dec 31 18:18:13 lol Dec 31 18:18:17 :D Dec 31 18:18:23 thepoosh i dont understand, there is a usable version in Play. why have som arbitrary deadline that has people rushing and fucking things up possibly Dec 31 18:18:37 no no Dec 31 18:18:46 it will still stay in qa for a week or 2 Dec 31 18:18:46 g00s: whats the app? .-. Dec 31 18:18:51 abara: glide Dec 31 18:19:14 thepoosh should stay in qa until its baked, people are unforgiving with bugs :) Dec 31 18:19:24 week, 2 whatever Dec 31 18:19:32 yeah sure Dec 31 18:19:36 you're correct Dec 31 18:19:53 but the master plan is for everyone to bust their asses to get it ready in 2 weeks Dec 31 18:20:05 busting asses is never sustainable Dec 31 18:20:12 yes Dec 31 18:20:13 but good luck ! Dec 31 18:20:13 and it always fails in some way Dec 31 18:20:17 that's why it's bound Dec 31 18:20:38 then you guys will take a more sustainable pace and your ceo will call you sloutches Dec 31 18:20:57 yep Dec 31 18:21:22 our investors were unhappy with our results of the past quarter, so the big wigs freaked out Dec 31 18:21:32 fuck investors Dec 31 18:21:33 ergo - deadline Dec 31 18:21:39 agreed Dec 31 18:21:43 they need to be kicked in the nuts too Dec 31 18:21:47 once in a while Dec 31 18:21:55 they are the exit strategy Dec 31 18:22:05 so we cannot make them unhappy Dec 31 18:22:06 yet Dec 31 18:22:18 thepoosh how many startups does your ceo have under his belt / Dec 31 18:22:29 this is the first Dec 31 18:23:56 thepoosh you guys need a business model, not an exit strategy Dec 31 18:24:15 we have Dec 31 18:24:29 but still, getting bought is a good way to implement our model Dec 31 18:24:48 well, an exit strategy implies a business model Dec 31 18:25:06 ain't it fun when stretch goals become the expected norm :P Dec 31 18:25:20 it's not the norm Dec 31 18:25:30 and all the devs were pissed out of their mind Dec 31 18:25:36 so this cannot be sustainable Dec 31 18:27:48 what exit strategy man, I believe that the correct way of believing in this is to not even think of the exit strategy Dec 31 18:31:39 how long have you been a company? Dec 31 18:31:50 since august 2012 Dec 31 18:32:03 we are shifting from having an exit strategy to becoming a major communications player Dec 31 18:32:31 oh wow Dec 31 18:32:35 long time Dec 31 18:33:16 I believe that the exit strategy is self-explanatory, the word exit specifically Dec 31 18:34:28 A question re: developing for multiple platform versions. Should I always be using the latest, non-deprecated APIs in my app at the cost of introducing lots of conditional statements for the Android build on which my app is running? Are all sufficiently complicated Android apps packed full of such checks? Dec 31 18:34:28 thepoosh gotta run, happy new years ! Dec 31 18:34:33 I dont have my own startup but I'm a part of one. If I did have my own company and I'm working on something that I believe will have a big impact on some market somewhere, I wouldn't really look towards the exit strategy but towards that point where I leave that impact, the point where I fulfil what I went into this *thing* to begin with Dec 31 18:34:56 ejcweb: no Dec 31 18:35:09 deprecated doesn't mean non-functioning Dec 31 18:35:27 no one expects you to call setBackgroundDrawable on API 15 and setBackground on API 16+, that's stupid Dec 31 18:36:00 ejcweb but sometimes, google just takes an api that is totally broken and instead of fixing it, just adds another one. like BLE startLeScan, and its replacement Dec 31 18:36:27 maybe they say, this is the broken one, that is the working one, and this will reduce confusion O.o Dec 31 18:36:55 I just get worried sometimes when my code consists almost entirely of methods with strikethroughs denoting deprecation! Dec 31 18:37:13 * capella is self-deprecating Dec 31 18:37:27 but still functional :) Dec 31 18:37:56 umm..you sort of have a little line there capella Dec 31 18:37:57 ejcweb: You can disable that. (I disabled it recently because I'm still using an ActionBar spinner. Though I'll move to Toolbar soon.) Dec 31 18:38:07 just under your shirt...it's actually going through your body I think Dec 31 18:38:17 you might wanna get that looked at Dec 31 18:38:31 Odaym: that is exactly why we're shifting Dec 31 18:38:41 right on BRO Dec 31 18:38:56 we always believed we are doing something unique but now we see that people like and use it Dec 31 18:38:59 you must have an iterator of the vision, over there at your company Dec 31 18:39:02 so we're going for it! Dec 31 18:39:08 \o/ Dec 31 18:39:08 yep Dec 31 18:39:13 some GUY that will scream about the cause, everytime someone messes it up Dec 31 18:39:16 we declared a mission statement Dec 31 18:39:22 and a vision statement Dec 31 18:39:32 the founders are very proud of it Dec 31 18:39:35 make sure you have an agile manifesto too XD Dec 31 18:39:38 you should read How Google Works Dec 31 18:39:39 As an example, the new Camera2 API on Lollipop. If anyone wants to use this, but have their app work on pre-L devices, it involves a load of code duplication. But I suppose that is expected? Right now I'm just sticking with the now deprecated API. Dec 31 18:39:43 you will get inspired Dec 31 18:39:59 Im sure you already are, but the book is great Dec 31 18:40:11 yep Dec 31 18:40:19 our founder is connected there somehow Dec 31 18:40:22 i have seen that. google seems like the biggest a/b test in the world Dec 31 18:40:28 was invited to zeitgeist Dec 31 18:40:35 lets take a few strategies to accomplish the same thing, see which sticks Dec 31 18:40:39 (android, chrome, etc) Dec 31 18:40:42 yeah Dec 31 18:40:47 they're big enough to do it Dec 31 18:40:55 until adwords they couldn't do that Dec 31 18:41:08 there was a post on HN not long ago, yesterday I think Dec 31 18:41:14 about how open offices are a terrible aidea Dec 31 18:41:41 or more precisely "Google got it wrong, open offices are a terrible idea" Dec 31 18:41:42 we don't have an open office thank the lord Dec 31 18:41:54 there was an idea to do that when we moved to the new place Dec 31 18:42:01 you cannot possibly apply what Google does to what everybody does Dec 31 18:42:01 every one yelled Dec 31 18:42:09 eventually we won! Dec 31 18:42:22 closed spaces with glass walls Dec 31 18:42:25 close enough Dec 31 18:42:26 they make these offices because they insist on putting people together in a whole hubbub mess to get something out of it Dec 31 18:42:30 open offices are great when you work with adults Dec 31 18:42:36 nope Dec 31 18:42:37 http://arstechnica.com/business/2014/10/googles-product-strategy-make-two-of-everything/ Dec 31 18:42:40 they're never good Dec 31 18:42:43 k Dec 31 18:42:46 its something they explained in the book Dec 31 18:43:02 even in their interview survey, they ask you if you enjoy being between a crowd Dec 31 18:43:20 it forces a different behavior out of you Dec 31 18:43:42 open offices are never good++ Dec 31 18:43:44 you have to wait and listen before you can speak, cause you cannot possibly start shouting, plus you will be more quiet if you have nothing significant to say Dec 31 18:43:59 it's really interesting, I would do it in a heart beat Dec 31 18:44:31 Odaym: that's what meeting rooms and common areas are for Dec 31 18:44:45 Spolsky talks about the opposite of this, about offices that have closed doors for programmers Dec 31 18:45:08 he wouldn't ever do it any other way too, it's part of that jeff attwood programmer's manifesto thing, with Aeron chairs :P Dec 31 18:47:13 JakeWharton: As an specific example, if I want to use a RippleDrawable in my app (using the xml element), the only way to do so if to use a conditional check for Android version? Dec 31 18:47:34 use drawable-v21 for that Dec 31 18:49:05 JakeWharton: Aha, I had forgotten about that option. Thanks. Dec 31 19:15:15 any help with the exif data please ? Dec 31 19:15:51 Everythings so fucking red Dec 31 19:16:09 it wasnt methanol was it Dec 31 19:16:42 So I finally imported my project from Eclipse into Android Studio. Now, my map fragments are just displaying blank maps. Any ideas? Dec 31 19:18:00 qkzoo1978: Sounds like you're bound to get lost then Dec 31 19:18:53 haha yeah.. Dec 31 19:21:14 I'm not seeing any problems in logcat, so not sure why it isn't working in AS but is in Eclipse. Dec 31 19:25:27 g00s what are you using for #78377? Dec 31 19:34:38 the last All About Android show of 2014 - http://twit.tv/show/all-about-android/194 Dec 31 19:38:47 shmooz: what is that show? Dec 31 19:38:51 is it a tech show? Dec 31 19:39:22 thepoosh: yes, it's not a developer show, but it's still fun to watch Dec 31 19:39:29 LOLLL Dec 31 19:39:35 ofcourse it's fun to watch Dec 31 19:39:54 there doesn't seem to be ongoing developer based android podcasts Dec 31 19:40:14 I found a few here and there but they didn't keep making them Dec 31 19:44:04 What is the best way to pass data between these two fragments? Fragment A is replaced by Fragment B (ft.replace). Fragment A contains a list of subforms, and when you fill out a subform (fragment B), that data should go back to fragment A. Dec 31 19:44:35 Right now, from within fragment B, I'm calling getFragmentManager.findFragmentByTag, casting to a (FragmentA) and calling a method in Fragment A Dec 31 19:44:43 but I feel like that is probably the worst way to do it Dec 31 19:44:50 Guys is everything in the R. class turned into an int? Dec 31 19:44:58 hasn’t it always? Dec 31 19:45:03 Cause if I have an id of R.id.this Dec 31 19:45:08 Why is that concidered an int? Dec 31 19:45:15 Okay, so my map project (in AS) displays map just fine when I sign the apk and push it to device. however, if I'm debugging and just send the app to the device (with default debug key) it displays blank map. Any ideas how to get the map to display while debugging? Dec 31 19:45:17 that’s just how the system handles it Dec 31 19:45:31 tricknolgy are you taliking to me? Dec 31 19:45:33 qkzoo1978: didn't you have to link your Maps API key to your keystore or something? Dec 31 19:45:45 drose379: it's a system memory address i believe, so they're ints Dec 31 19:45:46 Android goes through everything and allocates those ints for you drose379, yes Dec 31 19:45:56 happens when you clean and build Dec 31 19:45:58 I don't remember, I just imported this project into AS from Eclipse. Not real comfortable with AS yet. Dec 31 19:46:00 Ok, so all ids and drawables are ints Dec 31 19:46:08 you don’t ever declare them there yourself Dec 31 19:46:11 anything that you access through the R class\ Dec 31 19:46:13 no Dec 31 19:46:15 well no. theyre drawables, but referenced by int Dec 31 19:46:20 anyone have any suggestions on my fragments sending the data to each other? Dec 31 19:46:47 so R.drawable.hey is concidered an int Dec 31 19:46:53 yes Dec 31 19:47:11 archuinard, whats the problem? Dec 31 19:47:20 so when a method is asking for (int resource) its asking for something from R. Dec 31 19:47:28 yes Dec 31 19:47:31 R = resource Dec 31 19:47:42 ah, ok. Thank you guys Dec 31 19:47:47 how would you guys have an adapter read items from a List in reverse order? Dec 31 19:48:06 get the length and for loop Dec 31 19:48:13 err size() whichever Dec 31 19:48:21 that's what I thought Dec 31 19:48:28 I just wondered if there was a different way Dec 31 19:48:33 for ( i = size; i >= 0; i—) Dec 31 19:48:46 not sure if there is a baked in method Dec 31 19:48:53 should I just reverse the list before setting the adapter? Dec 31 19:48:55 there might be a reverse list command but it might be more costly Dec 31 19:48:57 drinfernoo: why wouldn't you reverse the order of the arrays or arraylists that you feed the adapter ? Dec 31 19:49:11 ^it’s an idea Dec 31 19:49:17 is your adapter custom? Dec 31 19:49:34 My fear with having Fragment B call findFragmentByTag is that isn't it possible fragment A gets recycled? Dec 31 19:49:35 yeah Dec 31 19:49:51 so override setAdapter, and have it flip the array? Dec 31 19:50:13 I'm pretty using the backstack a replaced fragment may come back or it may have been recycled and it gets recreated completely? Dec 31 19:50:17 pretty sure* Dec 31 19:50:18 whichever you think is least costly Dec 31 19:50:24 up to you Dec 31 19:50:29 costly depends on the size of the lsit Dec 31 19:50:42 makes sense Dec 31 19:50:46 if its a few hundred i wouldnt bother Dec 31 19:50:55 tens of thousands and you might have some delay Dec 31 19:51:02 k Dec 31 19:51:29 (in the case of reversing a list) Dec 31 19:51:54 Collections.reverse(mArrayList); Dec 31 19:53:50 dope Dec 31 19:54:01 I didn't even think about a static Dec 31 19:54:08 * tricknology cringes Dec 31 19:54:22 be careful about concurrency Dec 31 19:54:32 drinfernoo: wait Dec 31 19:55:01 http://java67.blogspot.com/2012/11/what-is-static-class-variable-method.html Dec 31 19:55:12 drinfernoo: why not just change your getItem method in your adapter to: return mItems.get(mItems.size() - position); Dec 31 19:55:20 http://docs.oracle.com/javase/tutorial/essential/concurrency/ Dec 31 19:55:28 drinfernoo: actually return mItems.get(mItems.size() - position - 1); Dec 31 19:55:46 ^ good solution with very little overhead Dec 31 19:56:06 that simply means when the view asks for position 0 it gets the last one, and for the last one it would get zero.. and everthing in between Dec 31 19:56:08 that was my first thought Dec 31 19:56:16 I'll do that Dec 31 19:56:22 drinfernoo: are you using ListView? Dec 31 19:56:46 anyone from India? Dec 31 19:56:47 https://www.techdirt.com/articles/20141231/02075529554/indian-government-orders-32-web-sites-blocked-including-github-archiveorg-pastebin-dailymotion-vimeo.shtml Dec 31 19:57:41 TacticalJoke, I know you use eclipse.. Any way to get the classes (when you double click in the package explorer) to go to a certain window? Mine is opening them up in the space where LogCat goes.. and it’s annoying Dec 31 19:57:55 whaaaat? that sucks Dec 31 19:57:56 drinfernoo: you might want to look at this http://developer.android.com/reference/android/widget/AbsListView.html#attr_android:transcriptMode Dec 31 19:57:58 why github? Dec 31 19:58:28 oh.. ISIS Dec 31 19:58:34 lulz Dec 31 19:59:16 Yah I heard that re: github in the mozilla channels ... thought "that's strange" Dec 31 19:59:49 Maybe they got ahold of my TIFF Tag editor/parser/inserter and are sending terroristic messages in images? Dec 31 20:00:00 (which they do) Dec 31 20:00:02 Napalm, it is a ListView, but im adding entries in a different fragment, and want the most recent to be on top Dec 31 20:00:16 get size()-position-1 should work Dec 31 20:04:14 tricknology: but bitbucket is still there Dec 31 20:05:54 I want to animate some views in after the layout is inflated but I'm finding myself having to add a start delay on the animations in order to see them. is there a better way to compose "intro" animations? Dec 31 20:07:28 currently i'm uing viewtreeobserver and attaching a global layout listener. i guess drawlistener might be better? Dec 31 20:09:40 drawlistener is always better Dec 31 20:11:03 tricknology: for your eclipse problem, you gotta click one of those layout changing icons that look like tiny rectangles, I have to guess to remember it everytime Dec 31 20:11:32 lol there are lots of tiny rectangles :P Dec 31 20:14:15 if I double click a source file in the list on the right it opens it in the correct place for me Dec 31 20:14:24 I mean on the left Dec 31 20:14:48 the file gets opened above the logcat Dec 31 20:15:37 but my mouse slipped and moved stuff around once and my source tabs were all gone, so I kept playing with those maximize restore buttons till it came back Dec 31 20:19:00 Does anyone have a recommendation for a framework to rapid-prototype an MVP? Dec 31 20:19:21 hmm thanks shmooz Dec 31 20:25:58 Q: what if oyu use boolean.parseBoolean(“”)? Dec 31 20:26:12 Boolean.parseBoolean(“) Dec 31 20:27:33 oh.. you get false Dec 31 20:29:47 so i have a string in my strings.xml that i utilize tags to underline certain portions. I then made these portions as clickable spans in my mainactivity, which then start a new DetailsActivity. When I create the intent for DetailsActivity I want to pass an extra that gives the DetailsActivity an ID or something that will denote which "detail" belongs to which underlined portion. Dec 31 20:29:56 I have multiple underlines per single string Dec 31 20:30:00 in one textview Dec 31 20:30:15 you you use a tag? Dec 31 20:30:17 can you* Dec 31 20:30:22 i am Dec 31 20:30:24 ooh Dec 31 20:30:25 using the tag Dec 31 20:30:28 you want to know which underline Dec 31 20:30:37 no i mean like tags on your views Dec 31 20:30:45 there are multiple 's per string Dec 31 20:30:55 yeah, and you said one textview. nvm Dec 31 20:31:08 this is a sample string Dec 31 20:31:26 That’s a rough one. I’m not sure Dec 31 20:31:26 so 'is' and 'string' would have different details Dec 31 20:31:39 Hardest would be to make different text views for each portion of the word Dec 31 20:31:44 i know Dec 31 20:31:47 and string them together Dec 31 20:31:51 yeah :/ Dec 31 20:32:01 but right now I have it all html formatted... looks nice Dec 31 20:32:46 use spannablestring Dec 31 20:32:53 you can get span start and end Dec 31 20:33:02 thus your selected portion Dec 31 20:33:11 http://stackoverflow.com/questions/10019001/how-do-you-underline-a-text-in-android-xml Dec 31 20:33:19 could be hard if you have multiple spans... Dec 31 20:34:24 yeah, my only option seems to be doing a string compare in the new activity Dec 31 20:36:03 str = intent.getStringExtra(); if(str.equals(is)) { //show is details} etc Dec 31 20:36:24 thats nasty Dec 31 20:37:24 without knowing how you build those strings in the first place I’m kinda lost Dec 31 20:40:58 <# it when my syntax highlighting just fails Dec 31 20:41:01 white text everywhere Dec 31 20:41:04 Does anyone know of a method of rapid prototyping other than Cordova? Dec 31 20:41:36 PhoneGap Dec 31 20:41:45 http://www.tricedesigns.com/presentations/rapid%20prototyping%20with%20phonegap.pdf Dec 31 20:42:41 Anyone know what happened to Hanson? MMBop was so good Dec 31 20:42:46 symptom: you can pass a Spanned text in an intent with TextUtils.writeToParcel and then use TextUtils.CHAR_SEQUENCE_CREATOR to get it back Dec 31 20:43:05 Hey, I have a relative layout. It has an imageview on the left (a profile photo), and a couple of text views to the right of it. I wanted to add padding to it, and move the text over to the right in the process, but this just makes the image smaller Dec 31 20:43:27 is there a way to add padding but not make the image smaller? Dec 31 20:43:31 http://ollien.com/screenshots/UiI7E.png Dec 31 20:43:39 This is a screenshot of the layout that exists as is Dec 31 20:44:13 Thanks, tricknology. I think PhoneGap actually uses Cordova. Is Cordova the only option? Dec 31 20:44:23 ollien: add a android:layout_marginLeft="8dp" to your text Dec 31 20:44:24 eee I don’t know Dec 31 20:44:34 Napalm: that would do it, thanks Dec 31 20:44:35 I’m native only Dec 31 20:44:47 ollien: if you are trying to make the image move away from the edge add margi Dec 31 20:44:53 margin* Dec 31 20:45:01 Radther: Trying to make the text move away from the image Dec 31 20:45:06 check this out? Dec 31 20:45:06 https://proto.io/ Dec 31 20:45:15 or google “Rapid mobile prototyping" Dec 31 20:45:19 ollien: Margin will do that as well. Dec 31 20:45:30 https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=rapid+mobile+prototyping&spell=1 Dec 31 20:45:43 Radther: that did it! thanks! Dec 31 20:45:59 as to you Napalm Dec 31 20:48:55 napalm I was just going to pass it as an extra Dec 31 20:49:00 a stringextra Dec 31 20:49:22 although.... I suppose I could generate a hash or key based on the string, then only pass that ID Dec 31 20:49:24 hummm Dec 31 20:49:36 symptom: string != spannable.. if you have already added your span's they will be lost when converting to a string Dec 31 20:54:01 Thanks, tricknology. I'll take a look. Dec 31 21:00:52 Another thing. I'm converting my drawables to round drawables, and doing so using this method: https://gist.github.com/ollien/e2cff6d47b8c18b8ef4e However, they come out really choppy, as showin in this screenshot. http://i.imgur.com/O3oCIJ3.png Is there a way to fix this? Dec 31 21:01:09 it's most noticable in the first and last profile photos there Dec 31 21:02:33 set bounds mayne Dec 31 21:03:25 tricknology: in what class? Dec 31 21:03:26 http://stackoverflow.com/questions/5855194/android-custom-drawable-bounds Dec 31 21:03:56 I'll give that a crack, thanks Dec 31 21:04:17 you can use canvas.drawcircle then get those bounds Dec 31 21:10:14 Hey guys, how is everyone doing?! Dec 31 21:11:12 Radther: Not bad, you? Dec 31 21:11:23 I'm doing alright Dec 31 21:11:24 hey all I'm having a very odd problem and I feel like I'm not looking in the right spot? or the tool is betraying me? Basically, no matter what I change the buildToolsVersion in my gradle-wrapper.properties to when the gradle sync happens it always fails, and looks like its not even paying attention the right stuff? http://imgur.com/J26ip70 Dec 31 21:11:49 Not bad at all. just waiting for this day to end and filling it with enough work to make it go by quickly Dec 31 21:12:12 jobelenus: Have you tried making sure you have 19.1 installed? Dec 31 21:12:18 dumb question I know, but worth a check Dec 31 21:13:04 I would like to store an array within received JSON as a String instead of an actual array. Does anyone have any ideas on how to do this? Dec 31 21:13:20 ollien: yes, i have 19 and 19.1 installed Dec 31 21:13:56 gman23: JsonArray.toString()? Dec 31 21:14:01 For example: I'd like to store in the String: "[{...All That JSON....}]" Dec 31 21:14:11 jobelenus: can I see your build.gradle? Dec 31 21:14:25 and 21.1.2, 21, 24.0.2 are installed as well and 21.1.2 is what the buildToolsVersion is set to... which is why i dont even know why its looking for 19.0.0 Dec 31 21:14:26 sure Dec 31 21:14:30 Ah, yeah, okay so I am deserializing it using Gson, ollien Dec 31 21:14:38 gman23: Ah, haven't used gson, sorry Dec 31 21:14:38 gman23.. with JSON lol Dec 31 21:14:45 what? Dec 31 21:14:56 ollien: http://pastebin.com/PqGw47Gz Dec 31 21:15:05 JSON is simply a way to organize orbjects and arrays using strings Dec 31 21:15:28 I know what JSON is. I want to store this JSON array within a JSON object as just a String Dec 31 21:15:29 jobelenus: that's strange... Dec 31 21:15:35 ollien: thats what i keep thinking Dec 31 21:15:49 ollien: ive hit "invalidate cache/restart" several times Dec 31 21:15:59 add the JSONArray to the JSONObject Dec 31 21:16:04 jobelenus: I'm no grandle expert, but I'm guessing Dec 31 21:16:08 using gradlew build on the command line gives me the same error Dec 31 21:16:20 *gradle Dec 31 21:16:26 wait, which build.gradle is that? Dec 31 21:16:35 ? Dec 31 21:16:39 the only build.gradle i have? Dec 31 21:16:44 gmay23 the type will disappear pretty much after you put it in the JSONObject Dec 31 21:16:45 hm Dec 31 21:16:45 jobelenus: Try going Tools>Android>Sync Project with Gradle Files. Dec 31 21:16:48 for me I have two build.gradles Dec 31 21:16:57 Radther: yes, that is where i am seeing this error Dec 31 21:17:00 http://ollien.com/screenshots/aZM67.png Dec 31 21:17:13 Yeah there should be two gradle files. Dec 31 21:17:20 array: “[{Some,array,here}]” Dec 31 21:17:34 tricknology: I am receiving JSON. I am deserializing it into a class using Gson. However, I am wondering if instead of having to have a List data member in this class I can just store it as a String Dec 31 21:17:44 hrmm.. you see the first screen shot.. contains the left-side navigator Dec 31 21:17:56 http://imgur.com/J26ip70 Dec 31 21:18:07 after that build.gradle there is a build.xml Dec 31 21:18:11 gman23: How do you want to want the string to look? Dec 31 21:18:23 jobelenus: what directory is that build.gradle in? Dec 31 21:18:23 (im in android studio, 1.0.10 Dec 31 21:18:28 1.0.1 Dec 31 21:18:31 Because there's two build.gradles Dec 31 21:18:32 and where is your list/array comign from in the first place? is it already text/ Dec 31 21:18:38 one for the app, one for the project Dec 31 21:18:56 tricknology: It's coming from the JSON. Dec 31 21:18:57 Radther: As if it literally just ripped out the JSON string. tricknology: Yes, it's already text. Dec 31 21:19:10 ok.. how do i generate these then? how do i associate one with the app and one for the project? (this is a cordova created project... but since this is a gradle project, i figured i'd come here first) Dec 31 21:19:20 I want from the [ to the ] Dec 31 21:19:20 jobelenus: no idea Dec 31 21:19:27 wait jobelenus you're on a mac I assume? Dec 31 21:19:32 yes Dec 31 21:19:37 press command-; Dec 31 21:19:44 in the sidebar, go to modules-app Dec 31 21:19:44 waht is GSON doing to it now? is teh array already in the JSON object? Dec 31 21:19:49 or you are adding to it.. Dec 31 21:19:49 what's the build tools version there Dec 31 21:20:08 http://ollien.com/screenshots/LmtVa.png Dec 31 21:20:09 i mean.. you could serialize and deserialize it Dec 31 21:20:11 this is what's in my project Dec 31 21:20:14 The array is in the string of text I am receiving. Dec 31 21:20:16 it ir is serializable Dec 31 21:20:22 from JSON? Dec 31 21:20:31 It is literally a String. Dec 31 21:20:43 Do you want to serialize the string INTO a json object? Dec 31 21:20:46 “one,two,three,four”? Dec 31 21:20:47 21.1.2 like the gradle file (when i change it in this dialog box, the file i shared changes) Dec 31 21:21:01 ok, wanted to make sure that's in sync Dec 31 21:21:04 yep Dec 31 21:21:05 “one”,”two”,”three”,”forur"? Dec 31 21:21:41 jobelenus: no idea what to tell you Dec 31 21:21:46 The string is already serialized. I am trying to deserialize it, but instead of grabbing the array as an array, I just want to keep it as a String Dec 31 21:21:48 I'm by no means a gradle guy Dec 31 21:21:52 yea.. kinda how i feel :/ Dec 31 21:22:05 GsonHelper.getGson().fromJson(object, type); Dec 31 21:22:08 Oh, wait Dec 31 21:22:14 just keep it as a string bro Dec 31 21:22:14 The object is a JsonElement Dec 31 21:22:21 if its JSON it’s already a string Dec 31 21:22:26 Jsonarray.toString() Dec 31 21:22:27 Radther: does what i said make sense? Dec 31 21:22:35 if you can get the JSONArray you already have a string Dec 31 21:23:03 then you can make a String member of your custom class created by GSON Dec 31 21:23:21 I would jsut write a parser though Dec 31 21:24:20 I don't think a parser would be the way to go. Gson is doing everything exactly how I want, but I just want it to see the SerializedName for the array and be like "Oh, he wants to store it as a String. Okay." Dec 31 21:24:29 jobelenus: Try this. http://stackoverflow.com/a/24097194 Dec 31 21:24:29 but it doesn't work that way, apparently. Dec 31 21:24:32 THen override that Dec 31 21:24:47 either override it or write your own Dec 31 21:24:55 your case must be very special for it not to be already included Dec 31 21:25:15 or even make another method that extracts your string as your want it and inserts it where you want it Dec 31 21:25:24 righ tafter creating the object using GSON.. done Dec 31 21:25:27 Radther: yes, i have done that... the build tools version is set to 21.1.2 -- gradle sync is yelling about "19.0.0 is too old" Dec 31 21:25:44 Ok, give me a moment. Dec 31 21:25:52 wait... Dec 31 21:26:04 that is a different dialog box that it opened up before Dec 31 21:26:46 ok that was 19.0 Dec 31 21:26:51 made to 21.1.2 Dec 31 21:27:09 now getting "Gradle version 1.10 is required, current version is 2.2.1" Dec 31 21:27:40 why is it telling me to go backwards Dec 31 21:27:54 alright, thanks tricknology Dec 31 21:28:10 customClass.setStringValue(json.getJSONArray(“array”)) Dec 31 21:28:12 done Dec 31 21:28:19 oh Dec 31 21:28:29 customClass.setStringValue(json.getJSONArray(“array”).toString()) Dec 31 21:28:36 remove the [] if you want Dec 31 21:28:37 jobelenus: Have a look at this. http://stackoverflow.com/a/24832874 Dec 31 21:28:47 I think I might instead register a Type Adapter Dec 31 21:28:54 make a new JsonDeserializer Dec 31 21:29:15 up to you mate Dec 31 21:29:22 take the path of least resistance and less future headache Dec 31 21:29:24 If it's a List, then just return the String Dec 31 21:29:30 yeah, this one seems super simple Dec 31 21:29:53 you chose override? Dec 31 21:30:22 Okay, so there's GsonBuilder and you can add JsonDeserializers to it Dec 31 21:30:31 w00t Dec 31 21:30:42 which looks like it just tells gson how to deserialize a certain type Dec 31 21:30:52 or what to do when it comes across a specified type Dec 31 21:30:59 so I'll have it return the string Dec 31 21:31:50 nice, I hate gson a little less now :p Dec 31 21:32:00 gson has been great Dec 31 21:32:08 super convenient Dec 31 21:32:17 I jsut went straight to creating a parser Dec 31 21:32:24 but I was still learning and needed the practice Dec 31 21:32:41 well i am still learning new things even to this day Dec 31 21:32:45 nosensor.. lol Dec 31 21:32:45 Yeah, I don't want to reinvent that wheel. Dec 31 21:32:56 which btw, pfn, does not work as expected.. Dec 31 21:33:13 pfn? Dec 31 21:33:23 another user Dec 31 21:33:26 oh ok Dec 31 21:33:27 in here somewhere, maybe Dec 31 21:35:41 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_NOSENSOR); Dec 31 21:35:50 Radther: grr.. it seems to have to gone backwards? getting "19.0.0" problem again Dec 31 21:35:54 if the screen is reverse oriented it will flip 180 Dec 31 21:36:02 to regular orientation Dec 31 21:37:01 jobelenus: That's a bit strange... Dec 31 21:37:28 right, even in "Open Module Settings" its not 19.0 Dec 31 21:39:19 ok.. getting this now: A problem occurred evaluating root project 'android'. Dec 31 21:39:20 > Could not create plugin of type 'AppPlugin'. (line 3 of build.gradle) Dec 31 21:39:28 which looks like: `apply plugin: 'android'` Dec 31 21:39:32 but isnt that deprecated now? Dec 31 21:39:41 shouldn't it be com.android.application? Dec 31 21:40:51 an way to just turn off the orientation sensor? Screen_Orientation_nosensor will always rorate it so that the home button is on the bottom Dec 31 21:41:13 some people like to use tablets upside down so they dont accidentally hit the home, back, or menu buttons Dec 31 21:41:18 jobelenus: Change it back to com.android.application and see if the problem goes away Dec 31 21:45:57 ok awesome... Dec 31 21:46:56 if you get the orientation of a screen.. and it’s in SCREEN_ORIENTATION_REVERSE_LANDSCAPE.. getResources.().getConfiguration().orientation returns SCREEN_ORIENTATION_LANDSCAPE Dec 31 21:49:37 furthermore.. getRequestedOrientation() returns -1 Dec 31 21:55:29 and so this is the solution… :| Dec 31 21:55:30 http://www.captechconsulting.com/blog/eric-miles/programmatically-locking-android-screen-orientation Dec 31 21:55:34 uuuugly Dec 31 21:56:07 That does seem like a bit of a pain. Dec 31 21:56:23 fot my ctrl+c/ctrl+v hand it’s not Dec 31 21:56:49 yea.. im still getting "Could not create plugin of type 'AppPlugin'." and all the links im seeing are "make sure your versions are compatible", but i've got 2.2.1 of gradle in android studio 1.0.1, and the gradle plugin of 1.0.0 Dec 31 21:57:50 this answer with 13 upvotes froze my UI.. http://stackoverflow.com/questions/6410237/how-to-lock-screen-orientation-when-displaying-reverse-landscape-in-android Dec 31 21:57:59 its still frozen and I am trying to load a new APK Dec 31 22:00:23 Display.getSize(size) not working.? Dec 31 22:01:20 must use display.getHeight() Dec 31 22:01:23 and width Dec 31 22:08:04 Can I set specific indices in a textview to be a link? Dec 31 22:08:17 or at least set off an intent on click? That would probably be better Dec 31 22:11:49 This is what I came up with: http://stackoverflow.com/a/27726760/804894 Dec 31 22:11:52 WRT orientation Dec 31 22:12:13 check spannable text Dec 31 22:12:39 or this: http://stackoverflow.com/questions/7570239/android-linkify-text-spannable-text-in-single-text-view-as-like-twitter-twee Dec 31 22:12:58 ollien ^ Dec 31 22:13:33 tricknology: taking a look. thanks Dec 31 22:13:43 np, hope it works for you Dec 31 22:14:44 tricknology: not sure this is fully what I want, but I'll play with it Dec 31 22:15:03 spannable text will help with indices Dec 31 22:15:45 tricknology: I already hav the indices Dec 31 22:15:47 *have Dec 31 22:15:49 I just need to use them Dec 31 22:16:04 oh I see Dec 31 22:16:06 hrm Dec 31 22:16:35 lunchtime Dec 31 22:17:55 how would I send an object to SharedPreferences? Dec 31 22:18:13 can you put a whole object? Dec 31 22:19:10 yea probably with putParcelable Dec 31 22:19:21 your class needs to implement parcelable though Dec 31 22:20:12 Odaym: there isn't putParcelable in SharedPrefrences Dec 31 22:20:18 http://developer.android.com/reference/android/content/SharedPreferences.Editor.html Dec 31 22:20:25 is there put with parcelable as a param? :P Dec 31 22:20:34 doesn't look like it no Dec 31 22:20:42 good Dec 31 22:20:53 sorry for bad info, but yea makes sense that it wouldn't exist Dec 31 22:20:59 who would want to do that Dec 31 22:21:10 Odaym: I dunno, it could be good to save things like bitmaps as a cache Dec 31 22:21:19 nah there are other ways Dec 31 22:21:34 there is, but it's just one possible way to do it Dec 31 22:21:49 see when it comes to images, I don't use my brain Dec 31 22:21:53 I use Picasso Dec 31 22:21:55 haha Dec 31 22:22:05 caching, all of that stuff, never even heard of it Dec 31 22:22:14 which is probably bad, but whatever Dec 31 22:23:51 you can use Gson to do that by the way Dec 31 22:24:10 good idea, http://stackoverflow.com/a/15588512/764897 Dec 31 22:25:42 anyone familiar with the lollipop camera API? If i need a responsive camera that can easily switch between front/back without lag, is it worth targeting the feature for 5.0+? Dec 31 22:26:36 anybody familiar with developing chromecast apps? Dec 31 22:26:47 I'm not sure how to get started Dec 31 22:27:21 do I want to use the CastCompanionLibrary? Dec 31 22:30:48 clear Dec 31 22:31:00 ohh sorry Dec 31 22:31:10 cmd + L Dec 31 22:31:11 :P Dec 31 22:33:57 hi all, how is an AdapterView linked to a widget such as GridView? Dec 31 22:34:08 base class Dec 31 22:34:17 sorry? Dec 31 22:35:12 java has inheritance, AdapterView is a subclass of GridView Dec 31 22:35:12 er, parent class Dec 31 22:35:12 JacobTabak http://developer.android.com/reference/android/widget/AdapterView.html Dec 31 22:35:13 correct Dec 31 22:35:13 it's an 'indirect subclass' - guess i don't quite understand what that implies Dec 31 22:35:24 look here http://cl.ly/image/2F0L2i083F2M Dec 31 22:35:35 if you have Busy Coder's Guide to Android v6.3, i'm on page 269 Dec 31 22:35:40 i certainly don't lol Dec 31 22:35:49 haha. it's awesome Dec 31 22:35:53 bass class Dec 31 22:36:09 bass class Dec 31 22:36:14 all about that class Dec 31 22:36:20 no multiple inheritance. Dec 31 22:37:01 hmm, i don't yet entirely understand that inheritance diagram. gotta study it for a sec. Dec 31 22:37:06 been so long since i've programmed ;.; Dec 31 22:38:24 ah-ha, i think i see, JacobTabak Dec 31 22:38:30 thanks! Dec 31 22:41:36 * YJLTG slaps pifon around a bit with a large trout Dec 31 22:42:02 hety Dec 31 22:45:17 >large trout Dec 31 22:45:24 * Darklust has mIRC ptsd Dec 31 22:48:23 mIRC? Dec 31 22:48:25 lol Dec 31 22:48:30 still exists? Dec 31 22:49:09 back Dec 31 22:49:19 Odaym u still here? Dec 31 22:49:49 yea Dec 31 22:50:10 hey, I’m having a hell of a time locking my orientation, I was wondering if you could help? Dec 31 22:50:33 sure Dec 31 22:51:24 So the objective is to lock the screen orientation to whichever of the 4 possible orientations that is has on its first onCreate() Dec 31 22:51:35 err in an Activity Dec 31 22:51:46 yea Dec 31 22:52:01 sounds simple enough but I am having a hell of a time with it. Dec 31 22:52:27 particularly with this case: Dec 31 22:52:29 I see it as placing setOrientation(getOrientation()) inside onCreate Dec 31 22:52:40 i’ll get to that one Dec 31 22:53:19 the user enters the activity in reverse_landscape. I want it to stay reversel_landscape. calling getOrientation() only returns landscape Dec 31 22:53:28 so, it will flip 180 with that command Dec 31 22:53:45 so that bottom is align with the home button.. Dec 31 22:54:11 so maybe you need a more fine grained getOrientation() Dec 31 22:54:40 tried this: http://www.captechconsulting.com/blog/eric-miles/programmatically-locking-android-screen-orientation Dec 31 22:55:19 it does nothing really Dec 31 22:56:14 and this? http://stackoverflow.com/questions/8388846/how-to-detect-exact-orientation-of-device-in-froyo Dec 31 22:56:43 I have not seen that.. Dec 31 22:58:55 Odaym.. oh damn. That first link I sent works.. It’s just that.. I wasn’t doing anythign with lock Dec 31 22:58:58 * tricknology facepalms Dec 31 22:59:19 thanks :) Dec 31 22:59:41 oh just getting lock and not applying it to a set? Dec 31 22:59:49 :( yes Dec 31 22:59:59 meh Dec 31 23:00:00 happens Dec 31 23:00:12 copy-paste-itis Dec 31 23:00:30 it should've been called copypasteoverflow Dec 31 23:02:11 I think that the best way to write listview implementation is to have the adapter in the same class as the activity that's hosting it Dec 31 23:05:13 man, at this rate, it's going to take years to figure out what the correct way of doing everything is Dec 31 23:09:45 lol Dec 31 23:09:54 we should compile a book from the chat logs Dec 31 23:10:05 or from a book ;) Dec 31 23:11:15 we've definitely learned that compiling tons of data down to small manageable chunks is where the real money is Dec 31 23:11:31 that's what should happen, and I'm working on it! YEA! Dec 31 23:11:40 hey all. I’m having an issue where my published app says it’s available for 0 devices. Play support said the following: “your app is not compatible with devices due to a conflict in your app’s manifest with the following library: NO_SUPPORTED_NATIVE_PLATFORM: (armeabi, armeabi-v7a). “ I’m not sure what that means though.. Dec 31 23:12:02 you compiled with that build Dec 31 23:12:07 it's cross platform? Dec 31 23:15:19 and was also told “ You have a .jar file uploaded. This is what is preventing your app from running on devices. Please remove this file from the manifest. “ Dec 31 23:15:53 this is not native app Dec 31 23:16:22 I’m sorry @od Dec 31 23:16:26 are you talking to me? Dec 31 23:16:37 o.O Dec 31 23:16:38 no just reciting some stuff Dec 31 23:17:10 My app is native, though. Dec 31 23:17:20 didi you upload a .jar and not an APK? Dec 31 23:17:32 how could you got to the point where you managed to upload a jar? Dec 31 23:17:40 (not sure if thats possible?) Dec 31 23:17:49 no way Dec 31 23:17:54 that’s it though.. I didn’t upload a jar.. i uploaded the apk Dec 31 23:18:05 did you rename it to .jar? Dec 31 23:18:08 err .apk? Dec 31 23:18:10 nope Dec 31 23:18:15 you exported an apk? Dec 31 23:18:15 how did you say first "my published app"? Dec 31 23:18:25 it's already published and you are updating it? or what Dec 31 23:18:34 where is this app? do you have a link? Dec 31 23:18:45 Sorry. I’m trying to publish it. It’s the screen before publish when it shows you a review Dec 31 23:18:59 anybody familiar with developing chromecast apps? I'm not sure how to get started Dec 31 23:19:06 do I want to use the CastCompanionLibrary? Dec 31 23:19:12 post your manifest plz? Dec 31 23:19:15 to pastebin.com Dec 31 23:19:34 you can censor whatever.. but im trying to see if you’ve referenced .jar anywhere in there Dec 31 23:19:51 http://pastebin.com/zFDHpQ4m Dec 31 23:20:32 nope. no jars Dec 31 23:20:39 i would delete this parte and create a new one Dec 31 23:20:46 censoring your api key Dec 31 23:21:51 do you have any .jars in any other directories than /libs? Dec 31 23:22:03 maybe bin? Dec 31 23:25:02 this has to do with your libs/ directory Dec 31 23:25:25 3 answers say the same Dec 31 23:26:27 my libs dir is empty Dec 31 23:26:53 and not using any jars? Dec 31 23:27:01 happy new year Dec 31 23:27:07 HNY! Dec 31 23:27:10 taht’s weird Dec 31 23:27:15 not in bin either? Dec 31 23:27:56 is this a signed APK? :P Dec 31 23:28:32 yes Dec 31 23:28:38 signed apk Dec 31 23:29:09 it cant be negative Dec 31 23:29:40 ah ok Dec 31 23:29:46 this is because of your uses feature Dec 31 23:30:04 test by making them false, all of them Dec 31 23:30:31 tried that :/ Dec 31 23:31:19 Hey guys. Im trying to extend a list view in my class but when I run the app i get a "cant cast to..." Exception. Dec 31 23:32:40 Hmm. probably an easy answer - What does the 'context' mean in the ArrayAdapter(Context c, ...) mean? Dec 31 23:32:41 well that's just impossible man Dec 31 23:32:58 the activity from whence you came from, YJLTG Dec 31 23:33:10 it means this Dec 31 23:33:48 i guess i need to research the Context class Dec 31 23:33:50 hello, is there a way to use onlongclick to perform a loop for the time that the button is held down and then break out of the loop after the button is realeased? Dec 31 23:34:02 The exception reads android.widget.ListView cannot be cast to com.lodenrogue.messenger.tabs.ConveraationsList Dec 31 23:34:13 like say a boolean variable that is changed when the button changes states Dec 31 23:34:15 you can set a flag in the while that is triggered inside the onpress Dec 31 23:34:24 ConversationsList is my class that extenda ListView Dec 31 23:35:18 is there anything in the onlongclick event that indicates the state of the button? pressed or depressed? Dec 31 23:35:29 sup guys Dec 31 23:35:37 buttons do become depressed sometimes Dec 31 23:35:44 when users aren't clicking on them enough Dec 31 23:35:52 buttons have feelings too you know Dec 31 23:35:52 haha Dec 31 23:35:56 heh Dec 31 23:36:00 hah Dec 31 23:36:07 already new year for you guys? Dec 31 23:36:13 yea, who cares Dec 31 23:36:15 :P Dec 31 23:36:25 everybody here is exploding and screaming Dec 31 23:36:30 I do not understand Dec 31 23:36:55 Odaym http://stackoverflow.com/questions/3572463/what-is-context-in-android basically Dec 31 23:36:58 thanks! Dec 31 23:37:20 AnTi_MTtr: you can archieve this using OnTouch Dec 31 23:37:20 AnTi_MTtr: more generic Dec 31 23:37:39 this is how you "research Context class"? Dec 31 23:37:40 hehe Dec 31 23:37:51 abara: ahh ok, thank you, im going to look up that event Dec 31 23:38:02 well )daym, i went to the declaration, but my decoding skills aren't up to par with the level of doc they provide Dec 31 23:38:22 so, coding-for-dummies it is Dec 31 23:38:23 yea that's what I feel sometimes too Dec 31 23:38:41 I understand some of the docs later after having tried the stuff Dec 31 23:38:57 their vernacular is written for experienced coders Dec 31 23:39:12 AnTi_MTtr: ok, look up on the constant on MotionEvent class Dec 31 23:39:16 YJLTG: http://www.doubleencore.com/2013/06/context/ Dec 31 23:39:19 no they just assume you know Java for well Dec 31 23:39:28 bad assumption :) Dec 31 23:39:32 thanks JesusFreke! Dec 31 23:39:35 a lot of things I get lost with are stuff that have nothing to do with Android Dec 31 23:39:50 yup yup. it's java Dec 31 23:39:56 anyone here using the Busy Coder's Guide to Android? Dec 31 23:40:04 yea I use it Dec 31 23:40:09 Hey guys, my girlfriend on home! ;) happy new year buddys :) Dec 31 23:40:29 i'm on page 279, started from page 0 Dec 31 23:40:42 yea I did the same when I bought it Dec 31 23:40:50 how did it turn out? how far in are you? Dec 31 23:40:54 discovered it's more of a resource than a read Dec 31 23:41:05 true, but isn't learning by example the best? Dec 31 23:41:09 Android 4 application development is a read Dec 31 23:41:17 that book is superb Dec 31 23:41:28 http://www.amazon.com/Professional-Android-4-Application-Development/dp/1118102274 ? Dec 31 23:41:34 yea reto meier Dec 31 23:42:03 what IDE does it use? Dec 31 23:42:06 i'm on android studio Dec 31 23:42:12 that's one of the reasons i got BCGA Dec 31 23:43:04 it doesn't really use an IDE Dec 31 23:43:27 he doesn't do any "open up Eclipse, select this" Dec 31 23:43:41 why would it use an IDE even Dec 31 23:43:55 when you're past figuring out how to create a project, it doesn't matter where you write your code Dec 31 23:44:26 nor does Busy Coder Dec 31 23:44:38 well not for long anyways, but Pro Android 4 is not for beginning Dec 31 23:45:02 it starts out with xplaining the manifest file and install locations, for example Dec 31 23:45:04 that's where i am :S Dec 31 23:45:17 so there's no "getting started with android" stuff Dec 31 23:45:19 i like BCGA because it's basically teaching me the android environment Dec 31 23:45:21 right Dec 31 23:45:22 alright. This is what shows up in the portal.. anything look out of place? https://www.dropbox.com/s/1ew1wlt45iz3j0w/Screen%20Shot%202014-12-31%20at%205.43.52%20PM.png?dl=0 Dec 31 23:45:33 yea that one is really good, a lot of patience in teh way it's written Dec 31 23:45:40 god damnit Dec 31 23:45:41 totally Dec 31 23:45:46 CommonsGuy is really really very respectable guy Dec 31 23:45:48 anyone knwo a quick hacky way to create a dummy file Dec 31 23:45:53 it can be anywhere Dec 31 23:45:55 and if i come across something i don't recognize, i get to dig deep and figure it out Dec 31 23:45:59 hence my Context question Dec 31 23:46:05 peeling the onion, as it were Dec 31 23:46:06 but it has to persist enough to read from it again Dec 31 23:46:10 learning java and android simultaneously Dec 31 23:46:32 YJLTG that’s waht I did Dec 31 23:46:36 native platforms commons io? Dec 31 23:46:43 i didn't even know what a java interface was Dec 31 23:46:49 or how callbacks worked Dec 31 23:46:55 nice tricknology! Dec 31 23:47:34 there's something wrong with that commons io jar you have, stevenpalomino_s Dec 31 23:47:37 Can someone help me with a classCasException? Dec 31 23:47:38 it should be in libs.. Dec 31 23:47:46 just add it there and right click it, Add As Library Dec 31 23:47:52 Cast* Dec 31 23:47:56 class cast exception is when you cast to something you cannot Dec 31 23:48:06 dauntless2425, what's to help with, you cannot cast what you are trying to cast into what you are not allowed to cast into Dec 31 23:48:21 boolean b = (Double) true Dec 31 23:48:22 find where you are doing that and dont do that Dec 31 23:48:26 lol Dec 31 23:49:06 I am extending a list view but when I try to get the list view by id and cast it to my custom class that extends list view it gives me that exception. Dec 31 23:49:20 you can't do that.. Dec 31 23:49:22 @Odaym I just put it as a dependency in gradle :/ Dec 31 23:49:36 yea but where is that jar sitting Dec 31 23:49:39 I mean that’s what it is now Dec 31 23:49:47 anywhere it is sitting that's outside libs, is wrong I think Dec 31 23:49:56 it belongs only in libs Dec 31 23:49:58 Odaym it's polymorphism Dec 31 23:50:04 External Libraries > commons-io-2.4>commons-io-2.4.jar Dec 31 23:50:28 yea but for polymorphism there needs to be something set up for that in your class Dec 31 23:50:41 Please explain Dec 31 23:50:46 dont know how Dec 31 23:50:53 havnet used poly since university Dec 31 23:51:05 dont know how or why but Im sure that just doing (MyListView) findViewById(R.id.listView); Dec 31 23:51:09 Yeah polymorphism allows what I'm trying to do Dec 31 23:51:43 It's just giving me an exception and it doesn't make sense Dec 31 23:51:55 Weeee Dec 31 23:52:15 you're doing like this dauntless2425 ? http://stackoverflow.com/questions/26850909/class-cast-exception-in-android Dec 31 23:52:18 like OP Dec 31 23:53:01 So build.prop / playstore / on SDK Emulator uesless ? http://forum.xda-developers.com/chef-central/android/sdk-emulator-build-prop-games-t2979305 Dec 31 23:53:14 So just clean project? Dec 31 23:53:25 I can't figure out how bluestacks does it... build.prop seems to have no @#$ing effect at all Dec 31 23:53:27 if you're doing what he's doing :P Dec 31 23:54:07 because sometimes, when you change in the XML and add a new element, SOMETIMES it gets confused and throws an exception that it cannot cast into what it thinks is the type of that element you're trying to find Dec 31 23:54:28 No im doing something different. Dec 31 23:54:51 I made a class called conversationslist and it extends List View Dec 31 23:55:38 http://stackoverflow.com/questions/26445731/casting-a-class-to-a-custom-class Dec 31 23:56:01 I want to cast listview to my class. The rules of polymorphism allow this. Dec 31 23:56:08 see that Dec 31 23:56:19 g00s TIL :) http://motherboard.vice.com/read/how-cool-is-this-transparent-gold-firefox-phone-seriously Dec 31 23:56:48 that's really cool Dec 31 23:56:52 they started selling them in Japan Dec 31 23:56:53 HAHA Dec 31 23:56:55 I just.. Dec 31 23:57:04 ah it says so too Dec 31 23:57:04 tried to create an out of office message rule.. Dec 31 23:57:08 oh, and some survival python, but that's off topic Dec 31 23:57:39 Ok i think that link explains it Dec 31 23:57:43 Thank you Dec 31 23:59:49 @Odaym thanks for your help. commons was somehow wrong. ended up using: compile group: 'commons-io', name: 'commons-io', version: '2.0.1' in my gradle file Jan 01 00:00:03 from here: http://stackoverflow.com/a/17897067/812334 Jan 01 00:00:44 worked? Jan 01 00:01:02 yep Jan 01 00:01:23 Hey guys I never really found the answer through google since I did not know how to describe it, but if you have a method like public void example(String bleh) what do you call that 'String bleh' inside the ()? Jan 01 00:01:45 So to add a custom list view to the xml i just do ? Jan 01 00:01:57 parameter, Demon_Jester Jan 01 00:02:11 thanks! Jan 01 00:02:27 well to use that element as something of your own, you have to declare it like that Jan 01 00:02:37 com.my.app.myCustomClass Jan 01 00:03:13 Ok Odaym now its giving me an Inflate exception Jan 01 00:03:52 I havent populated the list view yet. Can that be why? Jan 01 00:04:01 no you didn't even get to that part yet Jan 01 00:04:08 inflate means couldnt compile the xml correctly Jan 01 00:04:16 you're still at setContentView Jan 01 00:04:43 it can't be the case, if you declare the element correctly with your custom class path written as the element type, it must work Jan 01 00:05:14 ah you need xmlns:app="http://schemas.android.com/apk/res-auto" Jan 01 00:05:54 Ah ok let me try Jan 01 00:05:59 nah not really, you dont need that Jan 01 00:06:05 you need that when you are trying to work with custom attrs Jan 01 00:06:21 you're defining the path wrong Jan 01 00:07:02 Ok let me link what I have. Jan 01 00:07:07 One second please Jan 01 00:09:11 It's an image because i don't have internet on my computer Jan 01 00:09:32 http://imgur.com/ZYky4a1 Jan 01 00:10:03 ohhh wait a minute Jan 01 00:10:33 I'm trying to compute the intersection between two paths in Android, but this bit of code keeps failing: http://stackoverflow.com/questions/27727396/computing-the-intersection-between-a-line-and-a-circular-path-in-android Jan 01 00:10:43 Anyone have any ideas why this isn't passing Jan 01 00:11:56 anybody familiar with developing chromecast apps? I'm not sure how to get started Jan 01 00:12:02 and do I want to use the CastCompanionLibrary? Jan 01 00:12:05 it needs to look like this dauntless2425 http://pastie.org/9807420 Jan 01 00:12:41 and in my XML I do Jan 01 00:13:21 Im confused about the first part Jan 01 00:13:33 It's a list view not a button Jan 01 00:14:00 yea but it has to have those constructors Jan 01 00:14:05 tpavlek: I'm not very familiar with Android's paths, but I would guess because the intersection is done on the path itself.. not on the area the path encompasses Jan 01 00:14:28 there is no other reason that it wouldn't work Jan 01 00:14:33 impossibruu Jan 01 00:14:38 Ok let me try Jan 01 00:15:07 and since the path that forms the outside of the circle doesn't intersect the first line.. you get nothing Jan 01 00:15:09 see here? http://stackoverflow.com/questions/10957051/how-to-extend-listview-basic-example-classnotfoundexcpetion-android-view-mylist Jan 01 00:16:31 JesusFreke, if I set `path` via: "path.moveTo(500, 449); path.lineTo(500, 576);" (so that it will definitely cross through the edges of the circle) I still get the same failure. Jan 01 00:17:23 Odaym do i need the parse attributes method? Jan 01 00:18:09 Cause they don't make sense for a list view Jan 01 00:18:13 not unless you've specified custom attribute values under attrs (like your own font or something), for that custom listview Jan 01 00:18:45 Ok. Well. I'm still getting the same error Jan 01 00:18:57 did you clean? Jan 01 00:20:25 Ok it works now! Jan 01 00:20:30 Thank you Jan 01 00:20:54 cool Jan 01 00:22:02 why are you extending listview? Jan 01 00:22:03 :P Jan 01 00:25:55 now that it works you don't wanna talk anymore? Jan 01 00:25:57 I see how it is brah Jan 01 00:26:09 you don't call me, you don't answer your phone... Jan 01 00:26:31 To add my custom build methods and make sure my main activity isnt a thousand lines long Jan 01 00:26:33 Lol Jan 01 00:26:57 why would it be like that.. Jan 01 00:27:57 A lot of features, animations, and tabs Jan 01 00:28:15 I have a class that's 4K lines Jan 01 00:28:18 so what Jan 01 00:28:28 Wow Jan 01 00:28:33 Yeah that's too much Jan 01 00:28:38 At least for me Jan 01 00:28:40 it's not like by the kilo... Jan 01 00:29:04 I try to keep my classes under 200 lines Jan 01 00:29:06 there are a lot of things that are happening, you're going to have to write them all at the end Jan 01 00:29:13 ah maybe your tasks are different Jan 01 00:29:31 So i can maintain the code better later on. Jan 01 00:29:51 maintaining becomes hard when the code itself is garbled and written in a garbled way Jan 01 00:30:00 not because the file is visually large Jan 01 00:30:07 there are ways to nav any amount of lines Jan 01 00:30:11 Plus I use design patterns which tend to keep files small Jan 01 00:30:24 Yes. And im sure that way works for you. Jan 01 00:30:26 code for science is different Jan 01 00:30:41 there are two threads that do heavy calculation, for example Jan 01 00:30:48 But ive found smaller classes works best for me Jan 01 00:31:21 what's this design pattern you are using now? Jan 01 00:33:07 Are you asking what are design patterns? Or which one am I using at the moment? Jan 01 00:33:14 which one you are using now Jan 01 00:34:07 Delegation pattern Jan 01 00:37:25 capella-s3 cool :) Jan 01 00:38:11 I don't think you are using a design pattern in the literal sense, as Android itself enforces a pattern already Jan 01 00:38:46 Design patterns can be combined Jan 01 00:39:33 These design patterns im talking about are different than the android pattern Jan 01 00:40:21 http://en.m.wikipedia.org/wiki/Software_design_pattern Jan 01 00:41:56 delegation is something that iOS offers Jan 01 00:43:14 Delegation pattern was created many decades before iphone even came out. Jan 01 00:43:39 yea it says so here Jan 01 00:43:50 but it's what iOS offers as a predetermined way of doing things Jan 01 00:44:14 A framework should never predetermine anything about how your domain code is written. Jan 01 00:44:38 Your domain code should be written to solve your problems, and you just use minimal glue to attach it to whatever framework you're using Jan 01 00:44:42 it will be used in the way that it exposes itself to the programmer Jan 01 00:44:57 I am inviting you to do XYZ if I make it easy for you to do so; it becomes hard to misuse Jan 01 00:45:02 therefore revealing how to use Jan 01 00:46:36 indeed :D Jan 01 00:57:11 Oh shit today is new years Eve Jan 01 00:58:37 yea Jan 01 01:00:28 lol its already the new year Jan 01 01:00:39 Hello from the future Jan 01 01:05:21 What? Time machine's exist? Jan 01 01:57:29 Hey guys quick question, when programming in android do having inner classes bad practice or is sometimes unavoidable? Jan 01 01:58:44 Demon_Jester: using inner classes is a natural part of programming in java. It's neither good nor bad, it's just another tool you can use or misuse. Jan 01 01:59:20 g00s: thanks for rx, I'm actually using it Jan 01 01:59:33 gdrc \o/ Jan 01 01:59:55 g00s: using it with retrolambda, very nice but it's hard to debug Jan 01 02:00:08 oh yeah - i haven't used retro Jan 01 02:00:34 there is some concern about retro & jack / jill Jan 01 02:00:34 https://gist.github.com/anonymous/eba3823db1e63b9b9025 Jan 01 02:00:53 * g00s cries Jan 01 02:01:03 my code looks like the top version Jan 01 02:03:03 JesusFreke: ok thanks! Jan 01 02:07:58 gdrc where rx has helped me is thinking in terms of streams of data, in a few places i got rid of some hairy state Jan 01 02:08:18 but in one part of my app i still have plain old state machines - like big ones, concurrent ones even Jan 01 02:12:27 maybe someday when i'm goot enough at rx i'll figure out how to change that Jan 01 02:14:41 it's a big app? Jan 01 02:14:56 my intellect is rather limited, so big for me yes ha Jan 01 02:15:16 the state machines manage connections with bluetooth devices Jan 01 02:15:47 for example, they have connection retry logic, etc. but if you look at rx they also have a .retry() operator Jan 01 02:16:19 there probably is a way of transitioning it over , i'm so used to thinking in terms of harel statecharts though for some domains Jan 01 02:16:39 I saay fuck jack and jill Jan 01 02:16:46 pfn happy new year :) Jan 01 02:16:47 ^ Jan 01 02:16:48 it's irrelevant unless google does something interesting with it Jan 01 02:16:55 like implement lambda support Jan 01 02:17:07 for me doesn't even work Jan 01 02:17:37 marginal build time improvements alone aren't worth the switch, if it's otherwise sticking with the status quo Jan 01 02:18:01 it needs a killer feature Jan 01 02:19:32 and yeah, happy new year Jan 01 02:24:42 My new years wish is for people to download my app: https://play.google.com/store/apps/details?id=com.lodenrogue.quicklock Jan 01 02:26:13 dauntless2425: see /topic :) Jan 01 02:27:11 Oh it wasn't advertisement. Just talking to you guys, the only friends I have. Jan 01 02:27:31 dauntless2425: Looks nice. Note that it's "lie", not "lay", in "the moment you decide to lay on your side". Jan 01 02:27:39 The verb meaning "to rest horizontally" is "to lie". Jan 01 02:28:02 The verb is a lie! Jan 01 02:28:20 sorry :p Jan 01 02:28:43 Oh thanks for that TacticalJoke. I'll correct it right away. Jan 01 02:28:58 pfn: android development grew a lot with gradle/as. But something like this https://i.imgur.com/NnrRH1o.png make you change idea Jan 01 02:29:36 huh Jan 01 02:30:48 I'm guessing a lot of you haven't experienced 2015 yet. I can report that it feels fairly comfortable so far. Jan 01 02:32:09 Does anyone know where in the source tree I can find Lollipop's default/system icons (Phone, messenger, etc.). I checked /platform/packages/apps/*/..., but can only find the IC icons Jan 01 02:33:16 AOSP Lollipop has a holo phone icon Jan 01 02:33:21 Google messenger isn't in AOSP Jan 01 02:33:43 so I'm afraid that the ICS icons *are* the lollipop icons Jan 01 02:34:25 vemacs, so Material Design icons is yet to be reflected in AOSP then? Jan 01 02:34:28 *are Jan 01 02:34:34 I don't think they ever will Jan 01 02:34:48 considering the search app still looks like it belongs in the gingerbread era Jan 01 02:34:55 and almost all the AOSP apps are totally abandoned Jan 01 02:35:12 like, here's AOSP running on genymotion: http://i.imgur.com/JU4bTKu.png Jan 01 02:35:17 dialer is ICS style Jan 01 02:35:20 icon, that is Jan 01 02:36:13 Well great. Any idea where else I could find icons from L? Jan 01 02:36:45 try finding material icon packs backported Jan 01 02:37:03 https://github.com/google/material-design-icons Jan 01 02:37:10 those aren't the system icons, gdrc Jan 01 02:37:13 those are monochrome Jan 01 02:37:23 you mean android lollipop? Jan 01 02:37:40 stanier, you could install messenger and other MD apps from play store and extract the icons :P Jan 01 02:38:16 gdrc, I'm looking for actual launcher icons, not flat monochrome vectors Jan 01 02:38:49 vemacs, oh right, I forgot I can extract icons from the filesystem Jan 01 02:38:56 derp Jan 01 02:39:01 if you're looking for guidelines though, the MD docs have grids and such Jan 01 02:39:08 and android police did a decent deconstruction of how they should look Jan 01 02:40:51 yeah I have the docs and all, I'm just looking for boilerplate icons, since I don't really feel like building some of them from scratch Jan 01 02:46:15 Does the toolbar title / navigation work without setting it as actionbar? Jan 01 02:50:56 Hey, lasserix_. Doing anything for NYE? Jan 01 02:51:15 yea a little later Jan 01 02:51:23 cute neighbor is throwing a party Jan 01 02:51:50 toolbar man is such a pos sometimes, if i add a viewgroup to it it makes the title dissapear Jan 01 02:52:22 I haven't tried it yet. Jan 01 02:52:23 how about yourself? Jan 01 02:52:36 Our was a few hours ago. Had my family at my place. Jan 01 02:52:44 My five-year-old niece played GTA 5, to everyone's amusement. Jan 01 02:54:14 cool sounds fun Jan 01 02:54:35 lasserix_ there is some weird handling of minHeight or something like that in toolbar Jan 01 02:54:52 g00s ahh it is just i can't change placement of title Jan 01 02:54:54 and gravity. but you probably know that Jan 01 02:55:00 yeah exactly Jan 01 02:55:03 argh Jan 01 02:55:18 Hmm. Is it recommended to use the title mechanism instead of a TextView? Jan 01 02:55:46 well Jan 01 02:55:52 I guess it is, but just wondering. Jan 01 02:55:53 if you want to do anything custom you can't really Jan 01 02:56:06 but hacky solutions make me want to abandon toolbar completly Jan 01 02:59:09 gdrc, oh, that's because you're not using the right encodings **** ENDING LOGGING AT Thu Jan 01 02:59:59 2015