**** BEGIN LOGGING AT Mon Nov 10 03:00:00 2014 Nov 10 03:04:09 Is there a moto android Dev channel? Nov 10 03:04:49 I highly doubt it. Nov 10 03:05:14 If you're talking about Freenode. Nov 10 03:05:31 (Or anywhere.) Nov 10 03:05:43 I want to know if moto x 2014 counts as a Dev device as far as their warranty Nov 10 03:05:50 Heh Nov 10 03:06:48 on the android-studio ide, is adding a class and associating it with an appropriate xml layout and adding it to the manifest the same as "adding an activity" with the studio menu? or is there extra stuff going on that ill miss and it will cause errors? Nov 10 03:07:08 damccull: You're asking whether enabling Developer Options will void the warranty of a Moto X 2014? Nov 10 03:07:44 No, in asking whether unlocking the boot loader will Nov 10 03:09:04 Bilb_ono yes its the same Nov 10 03:09:05 bilb_ono: As long as the code in the class is the same (stuff such as "setContentView"), those should be exactly the same. Nov 10 03:09:34 thanks Nov 10 03:09:36 bilb_ono: Do you have OCD? Just wondering. I have it, and some of the stuff you ask makes me wonder. :D Nov 10 03:10:18 TacticalJoke, haha no I just have poor programming luck. It seems that I try the simplest things and somehow mess them up. Thats why I always make 100% sure to understand everything before I move forwards Nov 10 03:10:26 Aww, okay. lol Nov 10 03:10:35 Yeah, programming tasks can be so fragile. Nov 10 03:10:45 Are you using a revision-control system? Nov 10 03:11:13 like git? Im trying to put a few broken apps different people have been adding to together so that I can start using git and bitbucket Nov 10 03:11:25 manual version control by me (less than qualified) haha Nov 10 03:13:59 K. I asked partly because IDE actions can be monitored simply by using a revision control system (as long as the system is tracking enough files). Nov 10 03:14:29 irl I have pretty much the opposite of ocd, so programming is something I am not too cut out for. But there are things I want to build with it. :) Nov 10 03:14:42 and yeah I see that android studio for instance has integration with git Nov 10 03:14:42 :D Nov 10 03:15:18 What kinda apps are you thinking of making? Just being nosy. Nov 10 03:15:23 ok, so on the weekend I was showing my Dad some of the Android stuff I was working on... and after starting a new project in Eclipse, wondered what would happen when I pointed AS at the project directory... just picked it up and ran with it... couldn't be happier with the way it handled it all Nov 10 03:15:29 I'm working on something kinda boring right now, but I'll be working on a Reddit client soon. Nov 10 03:15:31 The editor in intelliJ is SO much nicer than Eclipse, too Nov 10 03:15:47 TacticalJoke, a camera app that pairs with NFC (www.snappiesticker.com) Nov 10 03:16:32 Did you make that app? Or is your app gonna be like that? Nov 10 03:17:14 the parts I am piecing together are from different freelance programmers. its like 80% done id say. However I come from a python, web dev background, so java/android is new to me Nov 10 03:17:40 its hard to find freelance programmers that are willing to work with git/bitbucket Nov 10 03:18:15 I like the idea. I'm too camera-shy to use it, but it seems like it'd get people outta the house. Kinda like a high-tech treasure hunt. Nov 10 03:18:47 yeah exactly. it started as NFC selfies (well positioned spot for a picture. and is moving now towards more of a geo-caching thing. but instead of random stuff, you get pictures Nov 10 03:18:48 A lot of people use GitHub, I guess. I use Mercurial/BitBucket (simply because Mercurial is better than Git :D). Nov 10 03:18:54 Bitbucket* Nov 10 03:19:01 and then hopefully once tags get big enough, we can store last picture taken there Nov 10 03:19:09 Nice. Nov 10 03:19:25 Are there any legal issues regarding putting the tags up? Nov 10 03:20:01 so far suprisingly few. Im always concerned with graffiti/littering, etc. but no one has had an issue with it yet. In high traffic places they get taken down but no one gets mad when you ask to put them up Nov 10 03:20:30 How many have you put up so far? Nov 10 03:20:52 around 150-200 id say in various parts of california Nov 10 03:20:58 Awesome. Nov 10 03:20:59 How do you come up with a good idea for an app? Nov 10 03:21:02 That sounds like a fun project. lol Nov 10 03:21:10 then they are tracked so we can know which ones are being used and when Nov 10 03:21:27 and have a big map (eventually) on the website where you can find new stickers/fun places to take pics in the world Nov 10 03:21:52 Are you gonna sell this app? Nov 10 03:21:59 Or have ads or something? Nov 10 03:22:46 no sell the stickers to marketers. Thats the big play. basically the nfc tags can overlay brand logos and hashtags specific to the tag. so a venue buys stickers where people take pics with their brand in them. and hashtag Nov 10 03:22:47 damccull: The cool thing about programming is that we can create things out of thin air. Nov 10 03:22:51 There's almost no limit to what we can make. Nov 10 03:23:11 yeah if anyone is interested in it, pm me. always interested in help/partnerships Nov 10 03:23:12 Right, but I need an idea people would use that's not over done lol Nov 10 03:23:17 Don't I? Nov 10 03:23:39 what service should I use to stay running and listen for web socket emissions? Nov 10 03:23:44 bilb_ono: That's a clever idea. :) Nov 10 03:23:55 damccull: Some of the "done" stuff sucks, though. Nov 10 03:23:59 TacticalJoke, luckily Im better at that part than the programming. lol Nov 10 03:24:42 Tactical, true. So I make something that's better? Nov 10 03:24:46 damccull: Are you doing this just for fun? Or wanting to make money? Nov 10 03:24:51 damccull: Fo sho. Nov 10 03:25:25 damccull, better yes, but the important part is growth. execute on that (which depends on quailty of the app, and channels through which it is adopted), and you will have something worthwhile Nov 10 03:25:50 If it's for fun, it's quite important to make something that you will use, and use often. That gives you the motivation to see it through. Nov 10 03:26:01 It also makes it very fun and rewarding. Nov 10 03:26:46 True. Nov 10 03:29:17 JacobTabak its not in the docs Nov 10 03:29:22 oic Nov 10 03:30:00 if you look at the source for CursrorLoader you will see it though :) Nov 10 03:32:37 Is there a good guide on how to actually design a program without just opening the ide and hacking? Nov 10 03:34:13 Define "actually design". Nov 10 03:34:23 There are the new Material guidelines, I guess. Nov 10 03:34:47 That's just for the UI/UX. Nov 10 03:35:46 Like a good method to design the program before implementing. Like working a book, you start by outlining the story and then flesh it out Nov 10 03:36:27 Oh. I'm not sure. I used to read books about such topics when I was a lot younger. Nov 10 03:37:10 I think Google will have a lot to say on this topic. Be sure not to arbitrarily limit your results by mentioning Android programming. Nov 10 03:41:43 Good idea. Maybe that's my Google problem lol Nov 10 03:42:07 Know of any really good flash card apps? I need one Nov 10 03:44:09 damccull: You have no prior experience programming? Nov 10 03:46:00 Darklust I have prior choosing experience but I'm like a wing it programmer. I add features and rules as I realize I need them instead of thinking ahead Nov 10 03:46:28 I want to learn to preplan my code Nov 10 03:46:57 Look into UML Nov 10 03:47:04 trololol Nov 10 03:47:10 Sounds like a language to learn Nov 10 03:47:20 It's a pseudocode Nov 10 03:47:31 It'll let you flesh out the details before you make an app Nov 10 03:47:43 how do you filter out all these crap contents from gmail that the android contacts provider returns? i'm only interested in the ones that show up in the 'people' app Nov 10 03:47:46 But I already pseudo code. Nov 10 03:47:49 crap contents = crap contacts* Nov 10 03:48:06 damccull: It's object-oriented specific, like a flow chart Nov 10 03:48:12 Hmn Nov 10 03:48:21 * g00s has taken a strict vow of avoidance to the contacts provider, camera apis, and mediaplayer crap Nov 10 03:48:26 If it is logically sound, you shouldn't run into anything more than syntax errors in an app Nov 10 03:48:35 g00s me too but necessity dictates... Nov 10 03:49:03 there's a field IN_VISIBLE_GROUP, that might be it.. Nov 10 03:49:18 Darklust i thought you were being facetious but you really are serious :D Nov 10 03:49:37 g00s: What's your take on UML? Nov 10 03:49:40 Darklust that implies I already have planned how the app will work though. Pseudo code is useful for that, but I need to learn how to do that Nov 10 03:50:01 damccull: All that needs to be done prior to that is you need to identify the problem Nov 10 03:50:12 That's universal to any type of project Nov 10 03:50:19 What do you want the app to solve Nov 10 03:50:41 my take on UML is 'UML as Sketch' http://martinfowler.com/bliki/UmlAsSketch.html , maybe if a team is at a blackboard Nov 10 03:51:06 i reversed UML for some of the stuff I worked on, but never did UML as an activity. except statecharts Nov 10 03:51:12 and some sequence diagrams Nov 10 03:51:24 Right darklust. I just don't know how to define all that. I can say I want to write a flash cards app. What next? Nov 10 03:52:17 the problem is often wicked, of course Nov 10 03:52:25 You want an app that creates flashcards. What is the user facing aspect? How should it look? What elements make up a flashcard? How will they be populated? Nov 10 03:52:28 where the problem and solution co-evolve from each other Nov 10 03:53:15 g00s: I haven't ever had an issue using modeling languages to plan a project :/ Nov 10 03:53:33 Yes. I get that far, even sometimes drawing sketches of the ui. Then I start to program because I don't know what else to do and I run into complex problems that I didn't envision in the planning stage Nov 10 03:53:36 Sure it's boring, but I have less headaches Nov 10 03:54:10 sketches of the UI, low fidelity prototypes, is important Nov 10 03:54:23 damccull: Right, you're going to run into problems BUT you should have a high-level synopsis of the app already Nov 10 03:54:52 The problem will occur in a container and you work on them as they come, in the end the result you flesh out from the get-go will be the same Nov 10 03:55:27 How do you define what gets encapsulate into what? Nov 10 03:56:08 You're using an object-oriented language to create an Android app, that's the mindset to use Nov 10 03:56:20 Each class will have a purpose Nov 10 03:56:30 It's possible to waste time with too much planning. Nov 10 03:56:37 God damnit TacticalJoke Nov 10 03:56:39 In many cases, the design has to evolve with the implementation. Nov 10 03:56:47 Oh Nov 10 03:57:04 Don't you agree, Darklust? Nov 10 03:57:12 So building the entire program before writing any code won't work? Nov 10 03:57:13 I used to obsessively try to plan everything, but so much of it was a waste. Nov 10 03:57:14 Yeah it's true BUT Nov 10 03:57:26 damccull: Certainly not, except in the most trivial cases. Nov 10 03:57:34 I have more headaches with that approach >..>> Nov 10 03:57:42 You can play a million things. When you start actually *making* something, you'll notice that a huge number of those things were never gonna work. Nov 10 03:57:48 plan* Nov 10 03:58:28 He wants to know how to plan an app, I mean to do it effectively and timely that comes from experience Nov 10 03:58:37 Or, he could adopt an existing model Nov 10 03:59:19 Yes that. Nov 10 03:59:28 How to psn an app Nov 10 03:59:35 Plan Nov 10 04:00:37 damccull i'd find some books on mobile experience design Nov 10 04:00:40 damccull: Though first you need an idea. Nov 10 04:01:10 Tactical I have lots of ideas. Most aren't good but they'd work for training and experience Nov 10 04:03:14 G00s thanks Nov 10 04:06:33 damccull but i'm not sure what you are asking still. planning a project, designing the experience, and designing the architecture are all different disciplines. most of us wear all hats to some degree i guess Nov 10 04:07:27 damccull anyhow, this was a fun book http://www.amazon.com/Scrum-Doing-Twice-Work-Half-ebook/dp/B00JI54HCU Nov 10 04:07:45 Ugh, Scrum Nov 10 04:07:53 from more a planning perspective, working with people, etc. you can read hundreds of books on the topic. Nov 10 04:07:58 I guess I'm asking if there is a method to order those, and how do I know which tasks go to which part? Nov 10 04:08:27 damccull its probably more realistic to have a toolbox of methods, and know which ones to apply when Nov 10 04:08:51 Right. Where do u get that? Nov 10 04:09:06 Your local Ace hardware store of course Nov 10 04:09:11 Sweet Nov 10 04:09:13 Brb Nov 10 04:10:26 damccull are you planning your own project with no stakeholders, or looking for a development methodology that gives you framework for engaging customers ? Nov 10 04:11:59 Both Nov 10 04:12:18 there are so many ways to do this. for example, you may consider your project not an app, but a business. then it becomes how to i do a startup Nov 10 04:12:46 steve blank, etc Nov 10 04:13:58 I just bought scrum. Looks fantastic Nov 10 04:15:47 also consider http://www.amazon.com/The-Lean-Startup-Entrepreneurs-Continuous/dp/0307887898 Nov 10 04:17:39 hi, anyone know how to solve avd 4.4 and 5.0 landscape bug? Nov 10 04:17:49 damccull some other books http://www.amazon.com/UX-Book-Guidelines-Ensuring-Experience/dp/0123852412 Nov 10 04:18:07 not mobile specific though but i haven't found any good mobile specific ones Nov 10 04:18:27 G00s thanks for these! I'll look through them Nov 10 04:18:54 now 10 years ago, if you asked me how to design software, i would have recommended a Booch book on OO Nov 10 04:19:43 something like this http://www.amazon.com/Object-Oriented-Analysis-Design-Applications-3rd/dp/020189551X Nov 10 04:19:47 i bet Darklust read that :D Nov 10 04:20:57 ah, and fond memories of http://www.amazon.com/Applying-UML-Patterns-Introduction-Object-Oriented/dp/0131489062 Nov 10 04:21:02 holy crap, thats 2004 Nov 10 04:21:50 as far as designing an android app, seems like there are lots of opinions about it. kinda like web developement. not sure, i just hack away. :( Nov 10 04:23:41 http://stackoverflow.com/questions/26836706/how-can-i-show-a-button-when-all-views-are-viewed-in-viewpager Nov 10 04:24:07 g00s, you don't hack away, you fret over every detail šŸ˜› Nov 10 04:24:30 well, i hack, and then say my god what a mess i made Nov 10 04:24:34 g00s: Are you saying I'm a geezer? Nov 10 04:24:50 Darklust if you like UML, you gotta know Booch :D Nov 10 04:25:39 Indeed Nov 10 04:26:13 Darklust did you ever follow what Ivar was doing after UML? he wrote this http://www.amazon.com/Essence-Software-Engineering-Applying-Kernel/dp/0321885953 Nov 10 04:26:37 I honestly thought he died Nov 10 04:26:46 What is the semat kernal? Nov 10 04:27:08 Darklust lol Nov 10 04:28:03 Mugwump101 i think SEMAT is kinda the software engineering version of PMBOK, but not quite sure Nov 10 04:28:13 thats the impression i got Nov 10 04:28:35 so SEMAT would be like SWEBOK Nov 10 04:28:37 what is pmbok? lol Nov 10 04:28:41 lol Nov 10 04:29:32 'a bunch of stuff nobody can agree on' :D Nov 10 04:29:57 ah ok sounds interesting... maybe :P Nov 10 04:34:46 I hack therefore I am... like Billy Joel says, it's all about the chops Nov 10 04:35:24 I made newbie mistake again Nov 10 04:35:25 haha Nov 10 04:35:36 didnt put gradle in offline mode.... Nov 10 04:35:39 Off-topic, but are in-app purchases shown on ? Nov 10 04:38:43 damccull did you see google had a new guide Nov 10 04:47:53 ugh, g+ doesn't have any way to cancel an upload, how dumb is that Nov 10 04:48:17 "Oh crap, not that video I told her I wouldn't show anyone!" Nov 10 04:48:24 ls Nov 10 04:48:31 Oops wrong window Nov 10 05:06:11 JakeWharton i just noticed your kotter knife project :P is square using kotlin in their android app? Nov 10 05:07:13 Talking of UML, are there good UML apps for tablets? Nov 10 05:08:19 UML is still a thing? Nov 10 05:08:26 * jfpoole is full of snark tonight, apparently. Nov 10 05:08:47 I dunno; I have seldom used it in the past. Nov 10 05:09:27 Iā€™ve never seen the point. Nov 10 05:09:30 you want to use User Mode Linux on Android? :P Nov 10 05:09:46 Then again Iā€™ve never been on a project that seemed like the sort of project thatā€™d use UML so YMMV. Nov 10 05:10:09 I sometimes make ASCII Art diagrams. lol Nov 10 05:10:15 Like, of screens and stuff. Nov 10 05:10:20 It's so easy to do. Nov 10 05:10:42 Drawing out your UI is a great idea. Nov 10 05:10:47 Your class hierarchy? Maybe not. Nov 10 05:10:52 Yeah. Nov 10 05:11:32 I was thinking about using HTML/CSS for designing the UI. Hmm. Nov 10 05:11:37 Though it's kinda fiddly. Nov 10 05:11:55 Yeah, itā€™s not a great fit. Nov 10 05:12:09 Iā€™ve heard of folks using Keynote and PowerPoint to design UI (esp. transitions). Nov 10 05:12:13 Never done it myself. Nov 10 05:12:26 What do you do, if I can ask? Nov 10 05:12:44 TacticalJoke: Developer. Nov 10 05:12:48 Or are you asking which app? Nov 10 05:12:55 TacticalJoke did you see https://facebook.github.io/origami/ Nov 10 05:13:07 Just curious of how you design your apps. I'm nosy. :) Nov 10 05:13:21 TacticalJoke: UI or code orā€¦? Nov 10 05:13:33 g00s: Hmm, interesting. Nov 10 05:13:46 jfpoole: UI, really. The screens of Android apps, and stuff. Nov 10 05:13:51 this is what Fb uses for their interaction design Nov 10 05:13:57 at least mobile apps Nov 10 05:14:03 TacticalJoke: Our UI is a joke. Nov 10 05:14:13 So Iā€™m not the best person to talk to in that respect. Nov 10 05:14:23 K. lol Nov 10 05:14:28 The stuff thatā€™s not horrible is the stuff our freelance designer came up with. Nov 10 05:14:34 I'm trying to think of better ways than ASCII Art. Nov 10 05:14:59 Pen and paper? Nov 10 05:15:13 Balsamiq? Nov 10 05:15:22 is that still written in flash ? Nov 10 05:15:24 https://balsamiq.com Nov 10 05:15:35 g00s: Thereā€™s apparently a desktop app. Nov 10 05:15:44 yeah, probably flex Nov 10 05:15:46 lol Nov 10 05:16:21 g00s: Adobe Air. Nov 10 05:16:23 http://support.balsamiq.com/customer/portal/articles/131271 Nov 10 05:16:28 i hated that shit Nov 10 05:16:53 * g00s not installing herpes on his machine Nov 10 05:21:07 G00s yeah I downloaded googles book days ago but haven't had opportunity to read it yet Nov 10 05:21:42 Air is herpes? Nov 10 05:21:51 Adobe Air Nov 10 05:21:54 Adobe * Nov 10 05:22:01 also, iPad Air Nov 10 05:22:13 Macbook Air if we're throwing out names Nov 10 05:22:24 *shudders* that heat Nov 10 05:22:47 So air is herpes Nov 10 05:23:05 Your reasoning is flawless Nov 10 05:23:45 Thank you Nov 10 05:25:20 This looks good: http://ux.stackexchange.com/questions/14791/which-ui-ux-sketching-software-is-recommended Nov 10 05:25:44 I recommend mspaint Nov 10 05:25:52 It's also stellar at drawing penises Nov 10 05:25:55 <3 new moto x. It has been a dream thus far. Nov 10 05:26:34 Yeah, I have used Paint before. Nov 10 05:31:30 bummer, Handler has postAtTime(Runnable r, Object token, long uptimeMillis) .... but not postDelayed version with Object token Nov 10 05:40:17 Any SDL developers? Nov 10 05:43:07 Hello Nov 10 05:43:16 LoganG have an issue that we are trying to solve Nov 10 05:43:21 we are building lollipop for the ouya as part of our ROM supported devices Nov 10 05:43:28 Here is where the issue is: http://ci.directcode.org/viewLog.html?buildId=735&tab=buildLog&buildTypeId=neo_boxer8_ouya&guest=1&logTab=tree#_focus=22102 Nov 10 05:43:31 heh Nov 10 05:43:34 didnt ouya die Nov 10 05:43:36 ValueError: Magic should be 0xED26FF3A but is 0x00000000 Nov 10 05:43:42 flash in the pan Nov 10 05:43:45 Maybe, LoganG is the one that has it Nov 10 05:43:52 Yeah Nov 10 05:44:07 We are so close too Nov 10 05:44:12 Hello.. can someone please help me? Nov 10 05:44:33 I am not able to get Robolectric unit testing to work with Cobertura code coverage Nov 10 05:45:00 I tried the guide here: http://blog.ansuz.nl/index.php/2014/06/01/robolectric-and-cobertura-with-gradle/, and I tried this template: https://github.com/stephanenicolas/Quality-Tools-for-Android but all of it has been fail Nov 10 05:45:32 all I want is to be able to run roboleectric tests, and make code coverage reports of the tests using cobertura Nov 10 05:45:46 I will even pay to get it working Nov 10 05:46:01 $50 for a working solution Nov 10 05:47:13 This is so useful, I am so glad I wrote this: http://git.directcode.org/neo/external_gapps/blob/neo-1.0/generate.sh Nov 10 05:51:25 What do you folks call your Application subclasses? For simplicity, I'm thinking of calling mine 'App'. Nov 10 05:51:44 Right now, it's my actual app name, but that gets long (and hard to read). Nov 10 05:53:04 * g00s doesn't extend Application :) Nov 10 05:53:52 I just call mine application Nov 10 05:54:27 I believe in reusing and shadowing names Nov 10 05:56:36 TacticalJoke reuse with underscores, like A_p_p_l_i_c_a_t_i_o_n Nov 10 05:56:42 sorry p_l :D Nov 10 05:57:05 so.. can someone help me please? ive spent oo much time with this already Nov 10 05:57:20 after_r thats because, its pretty tricky from what i hear Nov 10 05:57:46 like not officially supported out of the box. i think JacobTabak might have a link Nov 10 05:57:55 Ive got it working with jacoco, but I need to use cobertura Nov 10 05:58:19 i havent set up code coverage Nov 10 05:58:19 _x0x0_application_2014_0x0x_ Nov 10 05:59:13 I love merging branches and thereby obliterating horrible old supporting code. Stuff that was needed before the incoming branch fixed stuff. Nov 10 05:59:28 Waving goodbye to horrible "TODO" comments. Nov 10 06:01:42 If Google ports the Android Build System to Gradle we would all be much better off Nov 10 06:03:42 like that's ever gonna happen Nov 10 06:04:44 now that I have aosp on ssd, builds aren't too bad at all Nov 10 06:06:00 pfn, actually porting it wouldnt be hard Nov 10 06:06:15 and yeah my dedi would be better if I added an SSD Nov 10 06:06:20 I need to contact the host Nov 10 06:06:37 Also if anyone wants a good CI for Builds, you should really try TeamCity Nov 10 06:06:39 it's so amazing Nov 10 06:06:43 kaendfinger, I don't necessarily agree that it is the hard Nov 10 06:06:51 isn't Nov 10 06:07:01 stupid SwiftKey sometimes... Nov 10 06:07:28 why? you would be surprised, I could write a makefile => gradle generator for Android in about a whole weekend Nov 10 06:07:38 and I mean one that would work for everything Nov 10 06:07:53 I am a gradle developer btw Nov 10 06:08:46 Also, I highly recommend using my manifest generation system Nov 10 06:08:53 makes updatting releases so much easier Nov 10 06:08:54 kaendfinger: can you help me with this: http://blog.ansuz.nl/index.php/2014/06/01/robolectric-and-cobertura-with-gradle/ Nov 10 06:09:07 one moment plz Nov 10 06:09:11 kaendfinger: Don't support you have any sway regarding the whole "JVM unit tests aren't a first-class citizen in Android Studio" thing yet? :) Nov 10 06:09:14 please Nov 10 06:09:14 suppose* Nov 10 06:09:38 "yet" should've been inside the quotes. My brain is disintegrating tonight. Nov 10 06:09:55 after_r, describe the issue Nov 10 06:10:04 TacticalJoke i think google wants you to run your tests on emu :) Nov 10 06:10:16 keekz: the instructions there dont work Nov 10 06:10:24 TacticalJoke, yeah I think the same Nov 10 06:10:28 That's slow and horrible and JUnit 3. :[ Nov 10 06:10:35 kaendfinger: The same as what? Nov 10 06:10:36 kaendfinger link to manifest generation system ? Nov 10 06:10:42 TacticalJoke, the emulator Nov 10 06:10:49 It's written in Dart Nov 10 06:10:53 kaendfinger: I tried adding the systemProperties["net.sourceforge.cobertura.datafile"] = "your_cobertura_ser" text to my build.gradle files --> gave me error saying that systemProperties is not dfefined Nov 10 06:10:58 nothing in that tutorial works Nov 10 06:11:01 http://git.directcode.org/neo/tools/blob/master/lib/src/manifest/generate.dart Nov 10 06:11:12 ah, dart Nov 10 06:11:14 It takes this file: http://git.directcode.org/neo/neo/blob/master/default.json Nov 10 06:11:19 and generates a manifest Nov 10 06:11:28 makes it much easier to maintain Nov 10 06:11:30 kaendfinger: one moment i will google the error first Nov 10 06:11:43 it's almost like a diff for manifests because it takes an input and just modifies it Nov 10 06:12:02 g00s: I think they have promised, though, to give us JVM unit testing. (e.g., for Robolectric stuff.) Nov 10 06:12:06 I'm also a Dart developer/contributor Nov 10 06:12:06 robolectric won't cover everything still Nov 10 06:12:32 particularly differences in behavior between jvm and android Nov 10 06:12:47 This was super fun to write: http://git.directcode.org/neo/packages_apps_sea/blob/neo-1.0/src/org/directcode/neo/sea/modules/VolumeMusicController.java Nov 10 06:12:50 Right. But IMO it's a lesser evil compared to extremely slow JUnit 3 tests. Nov 10 06:13:01 pfn we had this argument 2 years ago, i'm glad you realized i was right :) Nov 10 06:13:07 they're not slow because they're junit3 Nov 10 06:13:08 kaendfinger: What I'm asking is this: can you force them to support JVM unit tests? Do you have that power? :D Nov 10 06:13:12 pfn: I know. Nov 10 06:13:17 TacticalJoke, heck no xD Nov 10 06:13:22 g00s, nah, I just don't write tests at all Nov 10 06:13:28 They're slow and they're JUnit 3. :[ Nov 10 06:13:33 Double trouble. Nov 10 06:13:37 I have no power, I am just a developer. I code stuff. Nov 10 06:13:41 I mean, JUnit 4 is bad enough. Nov 10 06:13:53 What do you want then? Spock? Nov 10 06:14:44 g00s: I think Jake Wharton's team does almost entirely JVM unit tests. Nov 10 06:14:46 Could be wrong. Nov 10 06:15:03 g00s, I don't really agree still, it's pretty rare to encounter behavior differences, the worst part about robolectric is that it doesn't emulate android well Nov 10 06:15:07 Argumentum ad Jake Wharton. Nov 10 06:16:50 g00s, I just realized that I might have confused you Nov 10 06:17:02 anyone used InterstitialAd before ? Nov 10 06:17:04 I meant a repo manifest.xml generator, not a AndroidManifest.xml generator Nov 10 06:17:10 :) Nov 10 06:17:17 gordon_ don't ! Nov 10 06:17:19 The thing is, people use normal Java stuff in their Android projects. So if there are differences between the JVM and Android's virtual machine then so many things could go wrong. Nov 10 06:17:21 is there some preferred method to show it after ex. 30 seconds Nov 10 06:17:35 http://git.directcode.org/neo/packages_apps_sea/blob/neo-1.0/src/org/directcode/neo/sea/SeaService.java Nov 10 06:17:49 g00s: :> Nov 10 06:18:14 What is this directcode.org thing? Nov 10 06:18:16 gordon_ well, you gotta eat. Nov 10 06:18:29 TacticalJoke, It's my open source code group I made Nov 10 06:18:50 Cool. Nov 10 06:18:51 you're not helping me ;) Nov 10 06:18:53 * LoganG is a member Nov 10 06:18:56 indeed Nov 10 06:19:07 Maybe robolectric 2 is better Nov 10 06:19:24 You look really young, kaendfinger. :D Nov 10 06:19:29 TacticalJoke, I am 15 Nov 10 06:19:36 That picture is 2 years old Nov 10 06:20:00 TacticalJoke, there are minute differences, like I recently found android doesn't support X in simple date format Nov 10 06:20:22 i think by now, harmony is pretty much ironed out Nov 10 06:20:35 kaendfinger: And you work on Gradle? ;o Nov 10 06:20:38 maybe some differences in Calendar, regex ... maybe Nov 10 06:20:49 TacticalJoke, yep, I was voted in as an Open Source developer Nov 10 06:21:04 Impressive for such a young age. Nov 10 06:21:13 I also have a job Nov 10 06:21:17 I work for DGLogik Nov 10 06:21:25 http://www.dglogik.com/ Nov 10 06:21:49 I can't wait for my Nexus Player to come Nov 10 06:21:56 I dont care if it had bad reviews Nov 10 06:22:01 thats from a user standpoint Nov 10 06:22:06 developers hack stuff xD Nov 10 06:22:10 I can't wait until I get an actual device to do android stuffs on Nov 10 06:22:23 Difference between users and developers: one complains other one fixes Nov 10 06:22:37 LoganG: How long have you been doing Android programming without a device? Nov 10 06:22:42 i think as Java advances, and Android's runtime classes ... don't, the behavior differences will get greater Nov 10 06:22:56 TacticalJoke: well... I have an OUYA, but that thing isn't working well for what kaendfinger and I are doing... Nov 10 06:23:08 Had problems getting Android L ported over Nov 10 06:23:09 TacticalJoke, he has an Ouya, I am going to buy him a device Nov 10 06:23:17 the kernel is being weird Nov 10 06:23:26 g00s: Then will normal Java libraries just stop working in Android? Nov 10 06:23:30 Such as JSON libraries, or whatever. Nov 10 06:23:38 Here is our plan: http://git.directcode.org/neo/plans/blob/master/releases/jellyfish.md Nov 10 06:23:40 There has to be some basic parity, surely. Nov 10 06:23:59 TacticalJoke i wouldn't be surprised; or there will be android versions of those libraries Nov 10 06:24:38 if google has parity as a goal even, they may be waiting for the api as copyright case to end Nov 10 06:24:41 TacticalJoke, I love automating stuff Nov 10 06:24:49 I have automated almost everything in neo Nov 10 06:24:50 kaendfinger: When did you start programming? Nov 10 06:24:57 in 2011 Nov 10 06:25:20 I started at around age 13, I think. Nov 10 06:25:41 I didn't achieve much back then. lol Nov 10 06:25:42 I was invited to Google in 2012 for finding security bugs in Google+ and for finding the most bug reports of any user in 2012 Nov 10 06:25:48 A few horrible Visual Basic projects. Nov 10 06:26:04 * LoganG started on Visual Basic Nov 10 06:26:04 kaendfinger: What's your secret? Genetics? Nov 10 06:26:10 Extreme parenting? Nov 10 06:26:18 Nah, I just spend a shitton of time coding Nov 10 06:26:22 LoganG: I started with QBASIC. :D Nov 10 06:26:24 I loved that thing. Nov 10 06:26:33 TacticalJoke: Same here Nov 10 06:26:37 Life was so simple in QBASIC. Nov 10 06:26:40 and I sacrifice a social life for actually getting something done Nov 10 06:26:41 we're all fucked up becuase of basic Nov 10 06:26:42 On an MSDOS 6.22 floppy Nov 10 06:27:00 well, I can't say anything about using DOS Nov 10 06:27:01 https://www.google.com/about/appsecurity/hall-of-fame/distinction/ < Search for 'Kenneth Endfinger' Nov 10 06:27:09 because I'm not much older than kaendfinger is :P Nov 10 06:27:16 yep Nov 10 06:27:22 TacticalJoke: Did you frequent petesqbsite? Nov 10 06:27:35 Darklust: Hmm, it sounds familiar. Nov 10 06:27:54 Only the be all end all of qbasic fandom Nov 10 06:28:08 Okay, I didn't at the time. Looks good, though. Nov 10 06:28:13 I started around 17 years ago, I think. Nov 10 06:28:41 and he's not even fat :D Nov 10 06:28:46 xD Nov 10 06:28:56 My friend at high school showed me his ping-pong game which he'd created in QBASIC. I was amazed, and so I started writing "Hello world" variations. Nov 10 06:29:06 gordon_: lol Nov 10 06:29:17 NGEN Nov 10 06:29:21 kaendfinger: So are you gonna work for Google in a few years? :) Nov 10 06:29:34 TacticalJoke, probably Nov 10 06:29:40 I'm a major contributor to Dart too Nov 10 06:29:44 Nice. Nov 10 06:30:12 dart... ugh Nov 10 06:30:17 We might have flying cars by then. Nov 10 06:30:19 What's wrong with Dart? Nov 10 06:30:21 Dart is awesome. Nov 10 06:30:34 kaendfinger: What's your favourite programming language? Nov 10 06:30:39 TacticalJoke, Dart Nov 10 06:30:58 maybe I should try Nov 10 06:31:00 My second favorite is Groovy and then Java Nov 10 06:31:08 but I'd like to try go first Nov 10 06:31:08 I used to be a contributor to Groovy Nov 10 06:31:14 then I quit because I love Dart Nov 10 06:31:32 if I'd have time.. Nov 10 06:31:34 TacticalJoke, join #directcode Nov 10 06:31:35 C# is a nicer Java. Nov 10 06:31:40 Yeah Nov 10 06:31:45 I'm about to sleep. lol Nov 10 06:31:50 trust me Nov 10 06:31:52 one sec Nov 10 06:32:17 I wanna show you the IRC bot I wrote Nov 10 06:32:29 It's seriously baws Nov 10 06:32:30 lol Nov 10 06:32:51 It's like every serious programmer has written a bot at some time. Nov 10 06:33:43 I didn't get the impression Dart won over developers Nov 10 06:33:55 seems ... met with indifference Nov 10 06:34:02 I quite like TypeScript. Nov 10 06:34:07 TacticalJoke: it's not that hard Nov 10 06:34:19 In a world in which JavaScript exists, anyway. Nov 10 06:34:34 they got it approved by ecma; i wouldn't be surpised if they spring clean it soon Nov 10 06:34:58 can I use it not on web only ? Nov 10 06:35:09 g00s: What do you think the future of Android unit testing will be? Nov 10 06:35:15 Will they at least move to JUnit 3? Nov 10 06:35:16 4* Nov 10 06:35:21 i have .. no idea Nov 10 06:35:36 i thought they said something about junit 4 at i/o but i could be mistaken Nov 10 06:35:44 There is just no way I would move to JUnit 3 for any reason whatsoever. Nov 10 06:35:51 nah Nov 10 06:35:57 dart is only in web Nov 10 06:35:59 I think JVM unit testing is the only serious option for Android. Nov 10 06:36:02 so.. I'm not interested Nov 10 06:36:03 Right now, anyway. Nov 10 06:36:09 gordon_, no it's not xD Nov 10 06:36:16 kaendfinger: link Nov 10 06:36:21 https://dartlang.org/ Nov 10 06:36:28 it's both client/server Nov 10 06:36:32 I *am* there Nov 10 06:36:35 yeah Nov 10 06:36:45 gordon_, I'll prove it, join #directcode Nov 10 06:36:55 TacticalJoke unit testing on android has become a crusade for you Nov 10 06:37:08 I'm *huge* on unit testing (and automated testing in general). Nov 10 06:37:17 well, unit test. on the emu Nov 10 06:37:20 It's absolutely essential, IMO. Nov 10 06:37:22 So you are a Monkey? Nov 10 06:37:23 With JUnit 3? Nov 10 06:37:31 fucking get over it :D Nov 10 06:37:43 kaendfinger: how does it work on server ? Nov 10 06:37:48 I'll stick with JVM unit tests. Nov 10 06:37:49 some vm or ? Nov 10 06:37:50 gordon_, it has a VM Nov 10 06:37:51 Works perfectly well in Eclipse. Nov 10 06:37:55 A super amazing as fuck VM Nov 10 06:38:01 The best VM I have ever seen Nov 10 06:38:04 It's crazy fast Nov 10 06:38:09 beats nodejs by 900% Nov 10 06:38:19 beats v8 itself by 800% Nov 10 06:38:24 wait, how can you compare a vm to node.js Nov 10 06:38:35 ok, OT . enought about dart Nov 10 06:38:35 node works on vm, no ? Nov 10 06:38:45 it does Nov 10 06:38:48 In my experience with programming, I can say that these are absolutely vital for any serious programming: 1. A revision-control system. 2. An automated-test framework. Nov 10 06:38:51 and it's written by the same guy that wrote v8 Nov 10 06:38:54 so yeah xD Nov 10 06:38:57 as I thought Nov 10 06:39:08 in #directcode I have my IRC bot written in Dart Nov 10 06:39:10 It's very epic Nov 10 06:39:19 we automate everything Nov 10 06:39:23 on freenode ? Nov 10 06:39:25 kaendfinger: When I was a teen, I wrote a Yahoo! Chat bot. I loved writing that thing so much. Nov 10 06:39:34 TacticalJoke, ikr Nov 10 06:39:36 gordon_, yes Nov 10 06:39:51 kaendfinger: The Yahoo! Chat protocol was hideous. Nov 10 06:39:54 Nothing like IRC. Nov 10 06:40:00 And they kept changing it to kick bots off. Nov 10 06:40:57 kaendfinger: I used to hang out in a chat room called Programming:2. Almost everyone in there wrote a bot. lol Nov 10 06:41:06 :P Nov 10 06:41:06 One thing that my bot had that people really liked was Hangman. Nov 10 06:41:19 xD Nov 10 06:43:21 There used to be a glitch in the old Yahoo! Chat protocol whereby one user could be in multiple rooms at once. My bot exploited that to gather usernames to invite them into the current room. Much fun was had. Nov 10 06:43:37 People would invite conflicting groups of people into one room (e.g., members of Christianity and members of Islam). Nov 10 06:43:49 Rooms with those names. Nov 10 06:43:52 Ah, the good ol' days. Nov 10 06:51:42 :DDDDDDDDDDDDD Nov 10 06:52:50 :D:D:D:D:D:D:D: Nov 10 07:08:51 Man, how I wish this was working. Then I could go to bed.. Nov 10 07:20:09 hai Nov 10 07:21:47 damccull: Nov 10 07:22:52 thepoosh: Nov 10 07:22:58 yes? Nov 10 07:29:33 g00s: ? Nov 10 07:29:55 thepoosh ? Nov 10 07:29:59 HAI Nov 10 07:30:08 we got an outsourced guy here Nov 10 07:30:24 a google certified guy Nov 10 07:30:31 consulting on how to get featured Nov 10 07:30:40 hmmmm Nov 10 07:30:42 who does he work for ? Nov 10 07:31:06 google certified in what? Nov 10 07:31:07 https://github.com/matrixy Nov 10 07:31:09 this guy Nov 10 07:31:36 I think he is a private contractor Nov 10 07:31:43 certified android mentor Nov 10 07:31:45 GDG Nov 10 07:31:47 I think Nov 10 07:32:05 i wish i could get a certified android mentor Nov 10 07:32:09 to help me Nov 10 07:32:28 it coasts tons on money Nov 10 07:34:23 g00s: https://developers.google.com/groups/ Nov 10 07:34:28 go there and talk to them Nov 10 07:40:44 gah, my stupid viewholder is holding much more than views :( Nov 10 07:43:56 we have that for video messages Nov 10 07:44:02 it's not a good pattern Nov 10 07:44:45 my click listeners need things outside the view holder to perform actions Nov 10 07:44:47 doesn't the new support lib have a list that obsoletes the need for a viewholder now because it does it for you? Nov 10 07:44:58 recyclerview requires VH Nov 10 07:45:02 oic Nov 10 07:46:21 How do I hold... all these views? Nov 10 07:46:56 i need a click holder Nov 10 07:46:57 :D Nov 10 07:47:07 functor Nov 10 07:47:20 declare a class, set it as a static Nov 10 07:47:27 use it as a clickholder Nov 10 07:47:44 you can easy pass your ds into the view as tag, then pass it on to the functor Nov 10 07:48:26 *doesn't have to be static, but can be Nov 10 07:49:37 also if you have multiple types of views to recycle, you can shove the functors into an enum Nov 10 07:50:05 The word functor just seems so dirty Nov 10 07:59:47 thepoosh did you see http://blog.xebia.com/2013/07/22/viewholder-considered-harmful/ Nov 10 08:00:02 WAT Nov 10 08:00:05 reading now Nov 10 08:00:56 well, the point about custom viewgroup was nice but ... VH still needed Nov 10 08:04:40 g00s_: this is an interesting read Nov 10 08:05:38 I'll think about it Nov 10 08:15:41 thepoosh considered using kotlin in your project ? Nov 10 08:17:38 Hello! Question about OpenGL es. I am want to create textures from bitmap and draw them. I want to work with them (textures) later. How many textures (created from bitmap) i can hold? Nov 10 08:32:22 anyone? Nov 10 08:39:17 hi guys Nov 10 08:39:36 Yauhen90 until you run out of video memory Nov 10 08:40:11 there's no limit to glGenTextures results, you'll find glGetError returins OUT_OF_MEMORY when you've reached the limit, which is of course dependent on the size of your textures Nov 10 08:40:27 at least, that's what I think, I've never actually run into that issue Nov 10 08:40:28 when I tried to build the android 4.4.2 for imx, I am getting this error. http://paste.linuxassist.net/view/945397fd Nov 10 08:40:28 and if i dont want to reach this limit. i want to predict this moment Nov 10 08:41:04 Yauhen90 well you could do a static test, no? at start of your game allocate as many textures as possible, find out where the limit is, release them all, and then you know. Nov 10 08:43:02 Chainfire: is it guaranteed that the amount of memory that can be allocated can't change? isn't that dependent on how much Android is able to free by killing other processes and how much unkillable processes has allocated? Nov 10 08:43:44 sure, but it'll give you a ballpark figure Nov 10 08:43:49 true Nov 10 08:43:54 it's going to suddenly be half or double Nov 10 08:44:45 *not Nov 10 08:46:22 hi guys Nov 10 08:46:27 so, in situation when i reach oom on vram application will crash, or my texture just will not created? Nov 10 08:46:55 Yauhen90: if you handle the exception it wont crash =) Nov 10 08:47:00 I am getting build error while 'lunching' android source for imx6 in android 4.4.2 Nov 10 08:47:32 test@test2:/media/renjithg/307C0D207C0CE308/myandroid$ lunch sabresd_6dq-user /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: Permission denied /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: Permission denied /bin/bash: build/core/find-jdk-tools-jar.sh: Permission denied Nov 10 08:47:40 kanupatar please read topic Nov 10 08:48:08 g00s_: yes Nov 10 08:48:10 I read Nov 10 08:48:17 I tried with sudo as well Nov 10 08:49:19 g00s_: test@test2:/media/renjithg/307C0D207C0CE308/myandroid$ sudo lunch sabresd_6dq-user [sudo] password for test: sudo: lunch: command not found Nov 10 08:49:47 kanupatar please try #android or #android-root Nov 10 08:51:01 g00s_: thanks Nov 10 08:52:17 when I build my project I get an error: the project "AlexTest" may be using a version of Gradle that does not contain the method. And then it tells me to open the Gradle wrapper file. Which method is it referring to? https://bpaste.net/show/161196b17d49 Nov 10 08:52:30 thats the gradle-wrapper.properties file Nov 10 08:54:23 when I google the error, it tells me there are no results found, as if no one has ever seen this before but I would be very suprised Nov 10 08:56:56 wait does the build.gradle file go in the project directory or the project directory/app? I have two of them Nov 10 08:58:51 is there anyway creating a layout from XML stored in a string rather than a resource? Nov 10 09:03:47 * regan wonders what bankal_au wanted at 9am this morning while I was at workā€¦ Nov 10 09:09:18 is there a convenient way in java/android to get decimal number of digits of float? Nov 10 09:09:28 22.3 would give 1, 13.535 would give 3 Nov 10 09:09:39 (the fraction part) Nov 10 09:11:25 numberformat w/substring? Nov 10 09:12:11 hmm Nov 10 09:12:22 what data type is it stored in Nov 10 09:12:55 og a float? no i don't think so Nov 10 09:13:04 ieee754 kills again Nov 10 09:13:31 well i dont care about precision for now Nov 10 09:13:36 its float Nov 10 09:14:08 its a stupid idea but String str = ""+mynumber; str.length() - str.indexOf(".") + 1 would be that Nov 10 09:14:17 in other words i want print float with necessary digits, no more, no less Nov 10 09:14:27 no zeroes at the end Nov 10 09:14:57 you'll have to know the significant figures Nov 10 09:15:00 it doesn't convert zeroes at the end when it's putting it to a string Nov 10 09:15:19 but it's a stupid idea because of the way IEEE754 numbers work Nov 10 09:15:29 except it doesnt have fractions Nov 10 09:15:33 then it would be 1.0 Nov 10 09:15:51 so if i cared about this case, will be that enough? Nov 10 09:16:11 don't EVER convert values to String with "" + whatever Nov 10 09:16:11 use your brain please. Nov 10 09:16:39 that's a poor practice transferred over from other languages Nov 10 09:16:51 String.valueOf() :? Nov 10 09:17:01 Integer. toString() Nov 10 09:17:33 oh float Nov 10 09:17:41 fine use Float.toString or Double.toString if you want Nov 10 09:18:17 ok thankies Nov 10 09:18:59 either .valueOf() or .toString() are better than ""+x Nov 10 09:45:48 hi. i'm trying to create an account manager and i've managed to register it, but when i try to create an account, nothing appears on the screen and it doesn't react to touch (can tap on nav bar and notification bar though) Nov 10 09:47:33 anyone? Nov 10 09:47:53 https://dpaste.de/itks this is what logcat gives me Nov 10 09:49:59 do you really expect help from people not having any knowledge about your code or your app? Nov 10 09:50:11 you have a NPE somewhere, best thing to do is to trace it and fix it Nov 10 09:50:19 other than that, you need to post some code Nov 10 09:51:43 https://dpaste.de/58Pu this are my classes Nov 10 09:52:25 the error is somewhere in the android classes and in the trace there is no reference to any of my classes Nov 10 09:55:31 dnano91: have you checked what can be null on that line in the Android source code? Nov 10 09:56:19 appel1: no. i haven't looked into android sources yet. no idea how Nov 10 09:56:40 dnano91: I usually use http://androidxref.com/ Nov 10 09:56:48 dnano91: no idea if there's a better/easier way =) Nov 10 09:57:30 somethings is not right here Nov 10 09:57:52 dnano91, why is your class called AccAuthenticator but its ctor is DeliciousAuthenticator? Nov 10 09:58:29 also, a bunch of your overridden methods return null, never crossed your mind that could be a problem? Nov 10 09:58:44 ravilov: sorry. it's called the same in my code Nov 10 09:59:03 why are you posting something that's not your code? Nov 10 09:59:24 ravilov: i used a tutorial (as i have never done that before) and in the tutorial only addAccount is implemented Nov 10 09:59:42 are you sure the code in the tutorial actually works? Nov 10 10:00:04 nope. has the same problem as i do now. that's why i came here Nov 10 10:00:21 all those methods returning null would be the very first thing I would suspect Nov 10 10:00:26 so there you go Nov 10 10:00:32 i couldn't find a tutorial that explains everything step by step. Nov 10 10:00:41 insert tree fiddy Nov 10 10:01:03 i wanted to start with a basic acc manager to get a basic understanding and then build it up. Nov 10 10:01:27 welp, you have your basic thing right there, now extend it so it works Nov 10 10:01:40 basic = it compiles without errors :p Nov 10 10:02:04 but i don't know which of them i need or if the code i have now is even usefull Nov 10 10:02:36 ugh Nov 10 10:02:38 ravilov: according to the docs all those are allowed to return null :) Nov 10 10:03:03 appel1, and yet his code fails with NPE Nov 10 10:03:29 either some of those are the problem, or something else is totally broken Nov 10 10:03:39 ravilov: but the log doesn't even get to by code. at least there is nothing in the trace Nov 10 10:03:57 no, it wouldn't Nov 10 10:04:08 link the tutorial Nov 10 10:04:19 the next suspect would be getBinder() Nov 10 10:04:25 http://www.finalconcept.com.au/article/view/android-account-manager-step-by-step Nov 10 10:04:25 dnano91: what version of Android are you testing? Nov 10 10:04:32 appel1: 4.4 Nov 10 10:04:49 dnano91: 4.4.4? Nov 10 10:05:03 yes Nov 10 10:06:42 dnano91: something is wrong with the KEY_INTENT then. Nov 10 10:06:50 your code is gone from dpaste Nov 10 10:07:11 dnano91: for some reason the package manager fails to resolve it. Nov 10 10:07:32 dnano91: is the activity registered? did you refer to it correctly? Nov 10 10:07:51 ravilov: strange. here it is again https://dpaste.de/SNAj Nov 10 10:08:56 appel1: i think so. here is the xml https://dpaste.de/AtnD Nov 10 10:14:23 NDK question: Is there a macro I can use in my makefile to detect which ABI that is currently being compiled? I need it to make it use the correct library file for the cureently building architecture Nov 10 10:16:19 dnano91, why is your XML missing android:accountType? Nov 10 10:16:30 also, your stacktrace dpaste is missing too Nov 10 10:16:37 maybe dpaste is not the best place for such things Nov 10 10:16:41 expires too quickly Nov 10 10:17:30 dnano91: perhaps you could verify by resolving the activity yourself from the intent using package manager? :) Nov 10 10:17:41 ravilov: regarding the accounttype: it's there. in the account authenticator Nov 10 10:17:55 oh Nov 10 10:17:58 missed it Nov 10 10:18:57 ravilov: https://dpaste.de/otfJ the trace Nov 10 10:19:21 appel1: now idea what you're talking about :) Nov 10 10:20:20 dnano91: http://developer.android.com/reference/android/content/pm/PackageManager.html#resolveActivity(android.content.Intent, int) Nov 10 10:20:26 quick question: i made a widget which uses a broadcast receiver to do its things and it works. but when i force close the application, the widget buttons do not work anymore Nov 10 10:20:48 can't the broadcast receiver restart itself? Nov 10 10:25:42 ktwo: I think you need to set http://developer.android.com/reference/android/content/Intent.html#FLAG_INCLUDE_STOPPED_PACKAGES for a broadcast to be able to activate a stopped app. Nov 10 10:30:53 anyone knows why the action bar does not show application icon? Nov 10 10:32:00 its a new blanket android project , the theme is ā€œHOLO LIGHT WITH DARK ACTION BARā€ Nov 10 10:32:38 I get distorted images sometimes when loading using picasso. The bad image getā€™s cached and sticks in the cache for a while. Any idea why this would happend? Nov 10 10:33:32 sounds like BitmapFactory is the culprit Nov 10 10:34:27 my minimum sdk is api 8, so it includes appcompat library. if I set the minimum sdk to api 14(android 4.0) or higher then no need to include appcompat and the application icon appears on action bar also Nov 10 10:34:52 has anyone ever had problems using ArrayAdapter on a non string class? Nov 10 10:35:18 JakeWharton: I donā€™t fiddle with any custom config. Any idea why the bitmap factory would do this? Nov 10 10:35:57 but i need the support to old devices , so i have to work with appcompat library. anyone has met the same problem? Nov 10 10:37:39 Can someone help me out using an aar library. I just found out that the rources containing in the aar package are extracted into build/intermediates/exploded-aar/.../strings.xml. The problem is, that these resources seem to override my main resources like app_name etc. Nov 10 10:39:34 I added the aar by adding: compile 'com.example.library:library:1.0.0@aar' to the dependecy block in build.gradle Nov 10 10:46:51 to be honest with you I am starting to think the andoird API is a piece of shit Nov 10 10:47:04 ok then Nov 10 10:47:13 don't use ArrayAdapter Nov 10 10:47:29 why not Nov 10 10:47:35 because it's stupid Nov 10 10:47:44 what should I use instead? Nov 10 10:47:52 write your own adapter which extends from BaseAdapter Nov 10 10:47:55 that is a standard part of the Android API Nov 10 10:47:59 ok great Nov 10 10:48:04 so is BaseAdapter Nov 10 10:48:08 I want to fill an listview and I have to write my own class Nov 10 10:48:13 fck this Nov 10 10:48:31 how do you expect it to bind data from an instance into multiple views? Nov 10 10:48:31 I've used an ArrayAdapter based around File before, I have encountered no problems, it definitely didn't make me think android API is a POS Nov 10 10:48:32 magic? Nov 10 10:49:14 well there is no explanation it doesnt work Nov 10 10:49:31 http://pastie.org/9709184 Nov 10 10:49:34 works for me Nov 10 10:49:45 so pretty sure you're doing something wrong Nov 10 10:50:28 well if I am it is pretty obscure Nov 10 10:51:10 toString is never getting called Nov 10 10:51:58 yeah... it's going to end badly if you work with non-string but still expect data to be string-like Nov 10 10:52:04 I just implemented my own getView() Nov 10 10:52:37 (I'm not using the ArrayAdapter directly, my custom adapter just extends it) Nov 10 10:52:47 ravilov: docs say it goes through each element and calls toString Nov 10 10:52:48 public class FontAdapter extends ArrayAdapter Nov 10 10:53:31 ChrisUK, that's cool, I say you're better off ignoring that Nov 10 10:54:12 However the TextView is referenced, it will be filled with the toString() of each object in the array. You can add lists or arrays of custom objects. Override the toString() method of your objects to determine what text will be displayed for the item in the list. Nov 10 10:54:20 that is right from googles own documentation Nov 10 10:54:32 that's cool Nov 10 10:55:40 ill just make a method that loads it into a string array then feeds it to arrayadapter Nov 10 10:58:05 look at the source, see what it's doing Nov 10 11:01:52 JakeWharton: I donā€™t think the problem is with the BimtapFactory. Rebuilding the app makes the same image load fail (loading from disc cache). Removing HttpResponseCache makes the image load as intended. Nov 10 11:04:03 looks like only part of the image was downloaded. Nov 10 11:07:03 ok I sorted it out Nov 10 11:07:07 I will stfu now :) Nov 10 11:10:26 I wonder.. how much time would it take to write an app like Whatsapp? Android front end only. Does anybody have any experience in this? Nov 10 11:12:54 icedp: You might take a look at the Telegram client. According to sloccount, that's 215304 sloc, or 56.33 person years, amount to a value $7609328. Nov 10 11:12:58 4 years, 2 days Nov 10 11:13:10 *amounting to Nov 10 11:13:12 (yay random values) Nov 10 11:13:59 So... if you trust sloccount, the schedule estimate is 2.48 years. Mhm. :/ Nov 10 11:20:55 flan3002: 56 years? meaning single person barely can write it in a lifetime? that's crazy Nov 10 11:22:56 icedp: Well, I don't know how it calculates this... But writing and testing 215 ksloc of good code... is hard. That's 151 ksloc C, 63 kscloc Java and some assembly and Perl... Nov 10 11:23:40 But... I guess that C might also be libraries... Nov 10 11:24:17 Mhm, actual Java code is /only/ 15.25 years. Nov 10 11:31:21 hi, i am trying use viewpager with google maps but i have this error java.lang.IllegalArgumentException: Binary XML file line #130: Duplicate id 0x7f0f010b, tag null, or parent id 0x0 with another fragment. The line is hi, I have made 2 debian images one with armel architecture and the other armfh (i admit I do not know the details of the differences). From my android armv6l I can chroot (busybox) to the armel one and not the amrfh (nothing happens). Can someone please help me underqtand why? Nov 10 12:13:13 best asked in #android-root Nov 10 12:13:32 hello Nov 10 12:14:42 I want to create a bingo application, i understood that the preferred method for communication between the client and the server is to use resful to connect to the server, and to use android gsm to connect to the client. is there something generic that i can use instead of android gsm ? something that also be used for a regular pc app, and later ios and windows mobile ? Nov 10 12:18:50 there is no such thing as "android gsm", I assume you mean "google gms" Nov 10 12:18:51 hello Nov 10 12:18:53 (android != google) Nov 10 12:19:29 also, you can always invent your own protocol, but so far gms is the only one with working push Nov 10 12:19:38 Soon Google = Android Nov 10 12:19:43 i have some development questions any one can help me? Nov 10 12:19:46 thanks Nov 10 12:19:47 heck, even viber uses it on android (or was it whatsapp?) Nov 10 12:20:08 miExe, asking if you can ask is kind of dumb and never appreciated around here Nov 10 12:20:13 The push feature is a pain to setup and requires a server Nov 10 12:20:29 Also a service running to talk with the server awaiting push Nov 10 12:20:50 Hello, I have a problem in my listview, I am taking all basic care. I have a listview that contains an image and some textviews, images'm downloading a url, when I call the method notifyDataSetChanged list updated, but the images that were already there, they blink, like a re-drawn, does anyone know how can I solve this problem? Again, I'm already taking care to leave the bĆ”sicoas list with a higher performance Nov 10 12:21:22 Can a system apk read an external mounted storage (like a usb thumb)? Nov 10 12:22:19 Whenever I call the notifyDataSetChanged method, the image has a flicker effect, it simply disappears and comes back ... Nov 10 12:22:53 The image is 100x50, is small and I do not resize it Nov 10 12:23:55 miExe, pretty sure that has nothing with being a system app, such a thing either requires root or doesn't, if it doesn't any app with sufficient perms should be able to do it Nov 10 12:24:02 nothing to do* Nov 10 12:24:37 my getview is https://gist.github.com/thalissondev/7be5475505fa769addd5 Nov 10 12:24:40 well i created a system apk that is firmware signed but still cant read an external mounted storage Nov 10 12:24:52 like I said Nov 10 12:26:22 how do you explain then, the same app installed like a common app can read the external mounted storage? :S Nov 10 12:27:40 appel1, thx ill try Nov 10 12:27:49 if it's mounted already, all you should need is android.permission.READ_EXTERNAL_STORAGE and/or android.permission.WRITE_EXTERNAL_STORAGE Nov 10 12:28:00 has nothing with being system or not Nov 10 12:28:23 i know itn should work like that, but it isnt Nov 10 12:29:27 then there is something else needed, I'm not sure what, but "being a system app" is probably not it Nov 10 12:30:04 thalissonestrela, best I can suggest is, don't redraw the entire item? Nov 10 12:30:47 ok ill reasearch more Nov 10 12:31:49 thank you Nov 10 12:42:44 ravilov: I am unable to make my list of items that is already in sight and already with the images not update if I add more items on my list and call notifyDataSetChanged all visible items on my screen, they update, I can not only update the items added to not have this blinking image Nov 10 13:00:12 hi guys, anybody willing to give me hnts on android-studio and artifacts local remote repository. I am trying hard to set up a new build environment Nov 10 13:02:42 anyone have anyidea how to read mount internal memory in a phone with a broken screen? Nov 10 13:02:50 is that possible with jtag and maybe chroot? Nov 10 13:04:43 hello citizens, i have an application employing fragments. when i change orientation of the phone (by physically turning it sideways), the app just restarts and goes back to my splashscreen. what's going on and how can i prevent this? thanks. Nov 10 13:08:25 zpr: activity is destroyed and recreated on rotation. check if saved instance state is not null (onCreate) Nov 10 13:09:08 also look up 'fragment retain instance' Nov 10 13:09:43 sq: hmmm ok, thank you Nov 10 13:11:21 zenguy_pc, adb Nov 10 13:13:03 ravilov: I am unable to make my list of items that is already in sight and already with the images not update if I add more items on my list and call notifyDataSetChanged all visible items on my screen, they update, I can not only update the items added to not have this blinking image Nov 10 13:15:52 ravilov: how can i create a custom boot image ? Nov 10 13:16:24 to enable usb debugging Nov 10 13:18:38 ... Nov 10 13:18:59 yeah I think you better switch to #android-root Nov 10 13:19:16 thalissonestrela, no need to repeat, I've seen it the first time too Nov 10 13:19:33 thalissonestrela, I don't know what to suggest then Nov 10 13:22:03 If I have a DatePicker Spinner, is it possible to automatically determine the century if I enter two digits. I.e. 13 -> 2013, 93->1993? Nov 10 13:22:04 is there any chance to make the watchdog service monitor my app? Nov 10 13:22:55 basically i need to make sure its always running and its restarted if it crashes or hangs Nov 10 13:25:07 so guys how to you manage your private depencies, eg you build some libs you want to use in your next app projects? Nov 10 13:25:46 AYU[ Nov 10 13:25:52 oops Nov 10 13:26:47 because at the moment my workspace in eclipse is getting way too messi, i am striggling with support libs (and teir versions) and having to import way to much libs by hand to my new workspace (starting a new project) Nov 10 13:27:19 so i am now trying to get used to android studio, but there is the same problem, importing module after module which is not handy in my point of iew Nov 10 13:27:26 Personally, I just use Maven Nov 10 13:27:47 jooles, thanks for the response Nov 10 13:28:11 do you host your own maven? Nov 10 13:28:28 repository, you mean? If so, then yes Nov 10 13:29:42 @jooles_ never used maven before, always using git Nov 10 13:29:53 which server implementation are you using? Nov 10 13:31:01 maven is a build system. git is vcs Nov 10 13:31:24 like potatoes and tractors Nov 10 13:31:36 yeah got that :-D Nov 10 13:33:21 really hard to get started at the moment, I just set up a artifactory local server, so now I am trying to push/publish my lib to this repo but I am not able to Nov 10 13:34:58 Somaweb: if you just want to try maven you can do install instead of deploy and just pull your dependencies from maven central. Nov 10 13:35:20 you mean a public repo like biblio? Nov 10 13:35:57 You have a local repo with maven Nov 10 13:36:08 if itā€™s just you testing the buildsystem you can use that. Nov 10 13:36:31 Then if you like it. You can set up your private repo. Nov 10 13:37:25 Somaweb, we use nexus Nov 10 13:37:46 ok so at the moment you would usggest me to set up a local maven, using this one? http://maven.apache.org/settings.html Nov 10 13:38:49 Somaweb, there's always a local repository. That's where maven downloads everything it uses Nov 10 13:40:10 ok, thanks ;) so if i want to share my libs with colleagues I have to setup a maven repo server Nov 10 13:40:38 nexus looks interesting Nov 10 13:42:42 jooles_ are you using the pro license? Nov 10 13:45:53 What is wrong, I created apk file but the eclipse just crash without error message. Anyone knows? Nov 10 13:47:39 Anyone doing/done BLE enabled applications? Nov 10 13:47:49 can system apks read all directories? Nov 10 13:48:33 Somaweb, no idea. Very possibly Nov 10 13:49:43 i cant read /storage/udisk1 and /storage/udisk2 as system apk i dont know why Nov 10 13:50:04 jooles_, just to clarify my thoughts, nexus is your maven repo, you push your build aar/jar files to it and you are able to integrate them to your app project via a depency? Nov 10 13:51:15 yup Nov 10 13:51:42 Anything built by the CI server is deployed to it Nov 10 13:51:59 ok thanks, i am really trying to set up this kind of build prozess in the "company" right now Nov 10 13:52:45 Well I suggest you try a few systems and see what works for you. Gradle is also something I hear good things about, though I've never used it Nov 10 13:53:15 ok just learned a new word CI-Server.... man this task is getting really interesting Nov 10 13:54:19 hehe :) Nov 10 13:54:25 CI is a Good Thing (TM) Nov 10 13:58:37 is surfaceflinger only a compositor or also a window manager? Nov 10 13:59:13 ok, to get a step by step tasking challange, the next task is to get a maven repo Nov 10 13:59:15 Been headbutting with picasso all day. Looks like the first image loaded by an adapter gets corrupted from time to time. Just like it only loads part of the data, yet treats it as a succesful load. Any one got any suggestions/ideas? Nov 10 13:59:32 publishing a test library project and trying to integrate it to my new application project Nov 10 14:00:19 cezium are you speaking of the network Image library to load images from a server? Nov 10 14:00:29 Somaweb: yup Nov 10 14:01:00 i can suggest you to use the NetworkImageView provided by volley, picasso gave me headaches Nov 10 14:02:22 Picasso isn't the problem, as you previously found out Nov 10 14:02:31 getView is called multiple times and everytime a new request is started. Nov 10 14:02:40 as I previously found out? Nov 10 14:02:59 what does that have to do with corruption Nov 10 14:03:31 or are you someone else with corruption problems Nov 10 14:03:33 i can't keep track Nov 10 14:03:42 it looks like it persist partially downloaded data to the mem/disc cache Nov 10 14:04:05 @jooles_ the last question, a really stupid one, but how do you publish a lib project to nexus/maven Nov 10 14:04:34 As it only happends for the first view in the adapter it looks very possible to be an issue with it being called multiple times while the rest views are not. Nov 10 14:04:47 Somaweb, just run 'mvn deploy' Nov 10 14:05:06 if your settings.xml is correctly pointing to your repository and you have the correct access rights it should just be uploaded Nov 10 14:05:14 Picasso just delegates to another HTTP client so it's going to be a problem there, not in Picasso Nov 10 14:05:51 by gradle? Nov 10 14:06:10 I see. So pulling in okhttp might just solve it? Nov 10 14:06:43 yeah it should. Nov 10 14:06:55 just need to get my method count down to make room for it :( Nov 10 14:07:05 but still, the corrupting thing with the built-in java.net client makes me nervous... Nov 10 14:07:10 what version of Android? Nov 10 14:07:30 4.4.2 Nov 10 14:07:39 eek... Nov 10 14:07:44 samsung galaxy tab pro 8.4ā€ Nov 10 14:07:49 Android 4.4 and newer uses OkHttp under the hood Nov 10 14:07:55 although it's a very old version Nov 10 14:09:19 So might not help pulling in okhttp anyway? Nov 10 14:09:38 no it will. the latest OkHttp is about two years newer Nov 10 14:10:39 I guess iā€™ll have to switch to multidex build and stuff okhttp in thereā€¦ Nov 10 14:10:53 I guess this day was comming sooner or later.. Nov 10 14:10:59 how many methods is OkHttp? I never bothered to look Nov 10 14:12:14 JakeWharton: 1169 Nov 10 14:12:52 that's not that much Nov 10 14:13:04 does it use HttpUrlConnetcion? Nov 10 14:13:16 no. it is an HTTP client itself. Nov 10 14:13:20 cool! Nov 10 14:13:35 JakeWharton: have you read this? Nov 10 14:13:36 http://blog.xebia.com/2013/07/22/viewholder-considered-harmful/ Nov 10 14:13:43 if so, what say you? Nov 10 14:13:58 yes. dumb. Nov 10 14:14:26 i agree that custom views are excellent though Nov 10 14:14:40 but calling view holder harmful is crap Nov 10 14:14:57 is it correct that using a combination of RecyclerView and custom views a good approach? Nov 10 14:16:49 sure, although RecyclerView forces the use of a ViewHolder Nov 10 14:17:20 yeah Nov 10 14:18:48 Anyone know a way to style the action key (besides imeOptions) like the textColor for example? Nov 10 14:19:51 Hello, Is new android version out jet. I read that it will be released on Monday (last week) Nov 10 14:20:00 Still got nothing Nov 10 14:24:31 it's out on aosp Nov 10 14:28:06 having a nexus 10 and 5 and 4 and no device has this update right now Nov 10 14:30:25 i have a nexus 1, 4,5,7,9 and 10 Nov 10 14:30:49 my 1, 7 and Q all have the update Nov 10 14:31:01 I had a 1 and a gnex... I've got a few 7s and a 9 now Nov 10 14:31:36 hi Nov 10 14:32:09 Does anyone knows if it's easy to build JavaScriptCore for android ? Nov 10 14:36:14 do you guys user commons-io:commons-io:+ ? to convert file into bytes? Nov 10 15:02:25 Does Swift or Swype go fullscreen in Landscape mode? I need a software input that goes fullscreen when in Landscape mode for debugging purposes Nov 10 15:08:36 is there a way to completly disable softbuttons programatically? Nov 10 15:09:05 JakeWharton: switching to okhttp did not make any difference what so ever. :( Nov 10 15:12:15 thana, immersive mode Nov 10 15:13:12 I wanna try multidex Nov 10 15:13:28 someone's making a pull request to my build plugin to support it Nov 10 15:14:14 pfn: but this only works for api level >= 19. is there a way for lower versions (>=17)? Nov 10 15:16:46 thana, no Nov 10 15:18:04 Latest news in android testing adventures: test run from within android studio has 500% more failed tests than command line running the same command Nov 10 15:18:44 following setup here: https://github.com/nenick/android-gradle-template/wiki/Tests-in-Android-Studio---IntellJ Nov 10 15:19:33 pfn: too bad. thanks Nov 10 15:31:09 thana, make your app 19+, problem solved Nov 10 15:40:45 There are a few IDE options for developing android applications. What IDE should I use to work on the Android system itself? Nov 10 15:40:57 vim Nov 10 15:41:02 the answer is always vim Nov 10 15:41:07 Why is the SwipeRefreshLayout in the demos all the small bar but when I used it. It is a progress spinner Nov 10 15:41:21 vim is nothing compared to emacs! Nov 10 15:41:56 Obviously nano is the way to go Nov 10 15:42:00 #obligatoryflamewar Nov 10 15:42:11 what about joe Nov 10 15:42:32 Wouldn't mind a cup if you're offering ;) Nov 10 15:43:29 Leeds, haha, jooles_ I found this: http://source.android.com/source/using-eclipse.html Nov 10 15:43:32 Thanks though :) Nov 10 15:43:53 deadmund, nice. Will look at that later. Cheers Nov 10 15:43:56 * jooles_ <3s eclipse Nov 10 15:48:41 Any ideas on my pull to refresh question ^. Is the spinner icon the new standard? Nov 10 15:56:29 davidcorrado: http://www.google.com/design/spec/patterns/swipe-to-refresh.html Nov 10 15:57:14 Perfect Thanks. I missed that when going though the documentation. Nov 10 16:24:44 ok basic question, what exactly is the difference between "Class cls" and "Class cls", is the just hinting that don't know the class and avoiding compiler warnings? Nov 10 16:31:18 I want to launch google now from my app, then allow the user to swipe back to my app Nov 10 16:32:02 at the moment I'm using: getActivity().startActivity(new Intent(Intent.ACTION_ASSIST)); getActivity().overridePendingTransition(R.anim.enter_from_left, R.anim.exit_to_right); Nov 10 16:32:18 swipe back? Nov 10 16:32:22 like with a swipe gesture? you can't do that Nov 10 16:32:22 hmm Nov 10 16:32:41 JacobTabak: can I somehow treat that intent as an activity, and "embed" it into app? Nov 10 16:32:44 unless you did some crazy hack with like an overlay that had a touch listener Nov 10 16:32:55 with a transparent window, but i wouldn't even know where to begin to do that Nov 10 16:33:06 but i'm sure its possible Nov 10 16:33:13 hmm Nov 10 16:33:21 it would probably cause lots of bugs :) Nov 10 16:33:25 and unexpected behavior Nov 10 16:33:33 oh, there's a way to get a SEARCH_SERVICE Nov 10 16:33:39 and that returns an activity! Nov 10 16:34:00 does that help? :-) Nov 10 16:34:17 so now the question is, how do I swipe into an activity, and swipe back again? Nov 10 16:34:20 is that possible? Nov 10 16:34:32 sure, just a gesture detector Nov 10 16:34:45 I've got that Nov 10 16:35:43 man i love it how i have one stackoverflow answer that gives me rep every day Nov 10 16:35:48 its like the highlight of my morning Nov 10 16:35:54 logging in to SO and seeing the green badge Nov 10 16:50:39 I have a weird thing happening. If I run my robolectric tests from the command line with `./gradlew clean test`, I have three failing tests that fail assertions, seemingly for no good reason Nov 10 16:51:23 when I run the same tests from within android studio (Edit Configurations...) I get those 3 failing asserions, plus about 12 others Nov 10 16:51:39 all the new ones fail for similar test as those run from the command line Nov 10 16:52:12 does anyone have an idea why there might be a discrepancy between the two ways of running the tests? Nov 10 16:52:45 I don't think I'm passing extra options on Android Studio... the outputs in the terminal make it look like it's the same command... Nov 10 16:53:35 joshkovach that's common Nov 10 16:54:32 the IDE uses a different classpath and classpath ordering Nov 10 16:54:50 based on the .iml file Nov 10 16:54:59 and the IDE aggressively rewrites/reorders dependencies in the .iml file Nov 10 16:56:07 i can probably help you work through some of your issues though Nov 10 16:56:39 I would truly appreciate that Nov 10 16:56:41 but... running via ./gradlew test is the only way to get consistent test results Nov 10 16:57:19 so I really only run the tests through the IDE when I'm actually developing the tests Nov 10 16:57:25 or if they fail and I need to debug Nov 10 16:58:06 so the 3 assertion failures you get when you run ./gradlew test... what are they? and what do you mean for no reason? Nov 10 16:58:21 I'm not even sure why I ended up trying this, but it revealed some other tests that were failing for similar reasons as three others that were failing inexplicably from the command line Nov 10 16:58:36 I mean that I have a maven build of this project where those tests all pass Nov 10 16:58:36 nothing is inexplicable :P Nov 10 16:58:57 ok well i would suggest focusing on 1 test to start Nov 10 16:59:01 one that fails with './gradlew test' Nov 10 16:59:01 and when I switched to using gradle to test it, those three didn't pass anymore Nov 10 16:59:14 @JacobTabak: do you have a place where you've documented any of those possible issues? might be helpful Nov 10 16:59:14 try to run that in your ide - does it fail for the exact same reason? Nov 10 16:59:24 yes Nov 10 16:59:28 i have a few sources, i've been thinking of putting together a blog post Nov 10 16:59:33 +1 for that Nov 10 16:59:35 joshkovach so can you debug that and figure out exactly why its failing? Nov 10 17:00:11 i can help you with the discrepancies between ./gradlew test and your IDE... but i can't help you fix a failing ./gradlew test Nov 10 17:00:48 java.lang.AssertionError: Expected fragment with tag not to be present but was. Nov 10 17:01:05 oh geez you're testing UI with robolectric? :( Nov 10 17:01:08 turns out when I run in ide, I get a few more tests failing on a similar assertion Nov 10 17:01:15 I didn't do it Nov 10 17:01:17 inherited Nov 10 17:01:33 bummer man Nov 10 17:01:37 yeah Nov 10 17:01:38 that is unreliable as hell Nov 10 17:01:58 I'm kinda just glad there *are* tests, but maybe I will stop being thankful for that Nov 10 17:01:59 well, my recommendation is to do all UI testing with espresso instrumentation tests Nov 10 17:02:22 save robolectric for unit testing Nov 10 17:02:52 I will try to do that Nov 10 17:03:09 I think what I would like to have is all these same failing tests in IDE to also fail on the command line Nov 10 17:03:20 or not have any of them fail anywhere Nov 10 17:03:43 as I said, this is inherited, so it's entirely possible that tests that should be failing aren't, and vice versa Nov 10 17:03:56 unfortunately its not exactly possible to get identical results in CLI vs IDE 100% of the time Nov 10 17:04:08 due to the .iml rewriting and dependency re-ordering whenever you do a gradle sync Nov 10 17:04:42 i mean, it may be possible, but nobody has solved it yet Nov 10 17:05:31 hmm Nov 10 17:07:11 i mean - you can fix it, you just hjave to hand-edit the .iml file Nov 10 17:07:19 so i imagine it wouldn't be so hard to have a pre-build script that reorders it for you Nov 10 17:07:20 :( Nov 10 17:07:41 ive also found other weird issues from my IDE Nov 10 17:07:54 I followed guide to start running them in the IDE https://github.com/nenick/android-gradle-template/wiki/Tests-in-Android-Studio---IntellJ Nov 10 17:08:08 like my instrumentation tests have dexmaker-mockito on the classpath so i can use mockito on a device/emulator, and my robolectric tests do not Nov 10 17:08:22 a lot of the tests in IDE that are failing are due to string interpolation, I think Nov 10 17:08:25 but i have to manually comment out those dependencies to get robolectric to work when running tests through the IDE Nov 10 17:08:38 java.lang.AssertionError: Expected text string but was . Nov 10 17:09:11 ah yeah that's weird Nov 10 17:09:22 so this was working on maven? why do you need it in gradle now? Nov 10 17:11:00 I probably don't, really, but no one here really fully understands the build system yet, so I'm just kind of messing around with it to see how it all works together Nov 10 17:11:25 part of that is trying to move it to gradle, the supposed future of android Nov 10 17:11:41 for sure Nov 10 17:11:47 i mean gradle is amazing Nov 10 17:12:16 but you have some fragile tests :( Nov 10 17:12:22 yeah Nov 10 17:12:27 well, I want to identify fragile tests Nov 10 17:12:34 and figure out how to make them not be fragile anymore Nov 10 17:12:42 espresso! but then they can't run on CI realistically Nov 10 17:12:53 if they fail in one way, and not another, that's an unreliable build system Nov 10 17:13:02 unless you have a custom ci that keeps an emulator loaded Nov 10 17:13:07 which is really something I need to set up Nov 10 17:13:28 all things I want to set up Nov 10 17:13:34 it takes ~20 min to run tests with an emulator on travis Nov 10 17:13:47 did you get my pm Nov 10 17:13:48 what about with something like genymotion? Nov 10 17:14:15 there's an open issue in travis for genymotion support Nov 10 17:14:43 but it's not a real emulator, no lollipop support, and there are probably licensing issues Nov 10 17:15:16 probably Nov 10 17:15:30 but yeah i really need a dedicated CI server Nov 10 17:15:34 I would be running on jenkins Nov 10 17:15:39 that runs all supported emulator versions Nov 10 17:15:45 and keeps them loaded all the time Nov 10 17:15:54 you can do that with jenkins right? Nov 10 17:16:01 i guess i'm kind of stuck on travis Nov 10 17:16:32 probably Nov 10 17:16:46 well Nov 10 17:16:49 I have no idea Nov 10 17:16:56 haven't really ventured into that area yet Nov 10 17:17:17 just wanting to get things running reliably on my machine first Nov 10 17:18:26 espresso is really great Nov 10 17:18:28 so the main thing a lot of these things are testing is "if (eventbus message) is published, (view items) should be updated Nov 10 17:18:31 like you write a test... and it just works Nov 10 17:18:40 which is *kind of* a unit test Nov 10 17:18:50 more of a functional test, I guess Nov 10 17:19:22 do you have espresso working on gradle? Nov 10 17:19:37 yes there are literally no problems with it other than that you need an emulator Nov 10 17:19:41 hmm Nov 10 17:19:53 unrelatedly, i stopped using the event bus paradigm a while back... because it makes testing more difficult Nov 10 17:20:24 and encourages you to tightly couple things in a weird arbitrary way Nov 10 17:20:34 without a clear understanding of where the stuff is coming from Nov 10 17:20:54 what's the preferred paradigm that's compatible with testing? Nov 10 17:20:58 rx? Nov 10 17:21:03 thats what i've been doing Nov 10 17:21:22 do you have a blog with any of these thoughts written down? Nov 10 17:21:35 not specific to this but i have some stuff at jacob.tabak.me Nov 10 17:22:14 Anyone have expierence with "Warning:can't write resource [META-INF/INDEX.LIST] (Duplicate zip entry [netty-buffer-4.0.21.Final.jar:META-INF/INDEX.LIST])" error on proguard and how to fix it in gradle? Nov 10 17:22:19 yes Nov 10 17:22:44 did you add it to your excludes in android { packagingOptions { } } ? Nov 10 17:22:47 I'm doing the packagingOptions exclude option, but that doesn't stop proguard. Nov 10 17:22:52 oic Nov 10 17:23:00 runs before packaging Nov 10 17:23:19 i wonder why i haven't run into that? Nov 10 17:23:43 doesnt really make sense, i have to have tons of exclusions like that in packagingoptions but never had an issue with proguard Nov 10 17:23:47 This is the first time I have. Nov 10 17:24:09 that's another thing that popped up for me in the gradle IDE test build Nov 10 17:24:16 had to add those exclusions Nov 10 17:24:23 CLI doesn't care Nov 10 17:24:30 I think its because there are now two of the same libs (different version #) so proguard is trying to do something with both and getting confused Nov 10 17:24:45 so I feel like it's the CLI that has to be wrong... Nov 10 17:27:32 its definitely not! cli is the single source of truth Nov 10 17:28:51 lmk if you figure it out pieces029 Nov 10 17:28:53 then why do those three tests fail that shouldn't!? I feel like if I delve into the IDE failures that are similar, I might find the answer Nov 10 17:30:07 JacobTabak: I got it compiling be excluding one of the dependencies. Of cource that breaks the shit out of it at runtime... I'm going to try and play with some of these http://stackoverflow.com/questions/16357959/proguard-fails-with-cant-write-resource-meta-inf-manifest-mf-duplicate-zip Nov 10 17:30:16 IDE also spits these out a lot: error: unmappable character for encoding ASCII Nov 10 17:30:18 s/be/by Nov 10 17:30:46 so u have 2 separate libs with transitive dependencies on different version of netty buffer? Nov 10 17:30:48 :LO Nov 10 17:31:41 No, it's actually the rxjava dependencies. Nov 10 17:32:02 Rx for android uses 0.20.6 and rxnetty is using 1.0.0rc7 Nov 10 17:32:02 oh... are you using the same version of rxjava and rxjava-android? Nov 10 17:32:33 can you rebuild rxjava android using the new version of rxjava? Nov 10 17:32:55 I'm trying to exclude it in the dependencies section now and see if that will "just work" Nov 10 17:33:07 Anyone pretty good with animations? I'm struggling with a view animating to the top of the screen getting cut off. I will pay $10 to whoever can help me solve this. Nov 10 17:33:26 $10 \o/ Nov 10 17:33:28 i'm rich! Nov 10 17:33:30 Heh Nov 10 17:33:34 i'd be more willing to help if you didn't try to bribe. Nov 10 17:33:36 Well, maybe it will get someones attention Nov 10 17:33:42 I'm getting desperate to solve this Nov 10 17:34:03 25 Nov 10 17:34:07 sorry Nov 10 17:36:09 https://drive.google.com/file/d/0B86N3elZGm6wYW1VMV9pd1FIbTA/view?usp=sharing - I have a hidden view over the 10 and face down card (the dealer part at the top). If you win the hand, I animate that hidden view down to your chip bet (which is 1,000 in this case) Nov 10 17:36:43 If you lose the hand, I animate the visible view up to the hidden view, simulating the dealer taking your chips. However, once the 1,000 view leaves my hand, it gets cut off Nov 10 17:36:54 I've tried bringToFront stuff but it didn't work and seems hacky Nov 10 17:37:31 JacobTabak: no bribes on the table Nov 10 17:37:41 you animate a hidden view? Nov 10 17:37:48 yes, it becomes visible once the animation starts Nov 10 17:37:55 it's invisible Nov 10 17:37:58 and what is it Nov 10 17:38:05 A TextView Nov 10 17:38:12 similar to the one you see (the 1,000 bet) Nov 10 17:38:24 is there a way to tell gradle to use utf-8 for everything? Nov 10 17:38:40 But that's not the issue, the issue is when I animate the visible view up to the hidden view, the visible view gets cut off once it leaves that hand container Nov 10 17:38:42 ive never had to deal with character encoding in gradle joshkovach Nov 10 17:39:05 why dont you paste a video of whats happening Nov 10 17:39:07 rather than describing it Nov 10 17:39:20 Ok, what's the best way to capture a quick video, I have an N5 with KitKat Nov 10 17:39:33 thats documented in a lot of places Nov 10 17:39:43 but if i were you i'd use recordit or quicktime on the emulator Nov 10 17:39:47 or cloudapp Nov 10 17:40:36 What's the reason for needing utf-8 in gradle? Nov 10 17:41:15 I think it's something like configure(taskName) { encoding = 'UTF-8' } but that's not for everything Nov 10 17:42:15 JacobTabak: got the mp4 available - YouTube? Nov 10 17:42:25 How would you go about debugging a preferences dialog suddenly throwing "cannot cast string to boolean" Nov 10 17:42:27 ? Nov 10 17:42:27 whatever you want dude Nov 10 17:42:42 indrora clear app data if the app isnt in production yet Nov 10 17:42:56 JacobTabak, happens after clear data. Nov 10 17:43:13 android { compileOptions.encoding = "UTF-8" } Nov 10 17:43:14 ok well its pretty straightforward - you have a string in your sharedpreferences and your'e trying to retrieve it as a boolean Nov 10 17:43:20 but doesn't seem to fix all the problems... Nov 10 17:43:27 fewer errors, but still get the one about ASCII Nov 10 17:43:42 JacobTabak, I've renamed a preference if it helps. Nov 10 17:44:12 indrora you just have to debug the issue - find the places you're using that pref (is it a constant?) and figure out whats going on Nov 10 17:44:17 its a bug in your code Nov 10 17:44:36 JacobTabak, I haven't *set* it yet. Nov 10 17:44:49 JacobTabak, I'm crashing somewhere inside addPreferencesFromXml Nov 10 17:46:20 The only reference to it is in my preferences xml Nov 10 17:46:27 maybe not actually fewer errors... Nov 10 17:46:28 https://drive.google.com/file/d/0B86N3elZGm6wWWQ3eThZSEJHVEU/view?usp=sharing - 50 second video showing the issue Nov 10 17:47:58 13 sec in? Nov 10 17:48:01 yes\ Nov 10 17:48:02 around there Nov 10 17:48:06 and you see it behave correctly for a win Nov 10 17:48:11 at like 40 something seconds Nov 10 17:48:17 http://pastebin.com/yR568W58 Nov 10 17:48:19 There's the XML Nov 10 17:48:28 The views to look at are BlackjackSeatView Nov 10 17:48:37 and blackjack_table_chip_payout_image Nov 10 17:51:27 You probably want to disable clipChildren and clipToPadding on your viewgroups Nov 10 17:52:18 whats the diff between getDimensionPixelSize and getDimensionPixelOffset, im reading the documentation and just not comprehending Nov 10 17:52:26 i've used them both in the past and always just kind of guessed Nov 10 17:54:09 JacobTabak, Okay, so stranger yet? Lots of clean builds later and it works. Wonderful. Nov 10 17:54:31 :O Nov 10 17:58:30 JacobTabak: If the dimension is != 0, it's always at least 1(/-1) for getDimensionPixelSize.. PixelOffset just casts to an int Nov 10 17:59:12 hmm Nov 10 17:59:56 in what case would you use PixelSize then? Nov 10 18:00:07 For sizing stuff Nov 10 18:00:21 :E Nov 10 18:00:28 and offset? Nov 10 18:01:06 .. offsetting stuff :p Nov 10 18:01:14 halp me understand Nov 10 18:01:27 Like, 1dp on an ldpi device would be 0.75px.. Cast to an int, that'd be 0 iirc Nov 10 18:01:33 With getDimensionPixelSize it'd be 1 Nov 10 18:01:57 So instead of your 1dp divider disappearing, you still have it! Nov 10 18:01:59 so essentiallly it will almost never make a difference? Nov 10 18:02:14 well Nov 10 18:02:17 i guess in the case of a 1dp divider yes Nov 10 18:02:21 it would make a difference Nov 10 18:02:25 ok, thanks Nov 10 18:02:27 makes sense Nov 10 18:02:42 but for stuff like font size, it doesn't really matter Nov 10 18:03:56 Yep, almost never matters :) Nov 10 18:04:16 Should still use the appropriate method Nov 10 18:04:44 4sho, thanks for clarifying Nov 10 18:24:07 How can I remove AM/PM from textclock? Nov 10 18:25:57 Mugwump101: you dont Nov 10 18:26:03 Mugwump101: its set my the User Nov 10 18:26:06 thats the point Nov 10 18:28:55 hm?? Nov 10 18:29:24 hi guys, im having a problem with ORMLite using a many-to-many relationship. i simply have a user and a group. adding a user to a group i have a usergroup table which combines the two foreign relationships. but when i delete a user or a group the e.g.: user in the usergroup table doesnt get null. the foreign key id's do not get null when a user or a group is deleted. i used foreign = true and also foreignAutoRefresh.....first time i Nov 10 18:30:50 Napalm, why? Nov 10 18:31:13 Because its up to the user what the time format is Nov 10 18:31:16 check the settings Nov 10 18:33:08 SimonVT: Thank you for the clip recommendations, worked. Nov 10 18:37:44 huh? Nov 10 18:47:21 I'm trying to build a mediatek kernel from a source. I see Alps building environment now the scripts for it. But I want to build it without the scripts like a normal kernel build. Anyone with experience of kernel building? Nov 10 18:53:51 hi guys, im having a problem with ORMLite using a many-to-many relationship. i simply have a user and a group. adding a user to a group i have a usergroup table which combines the two foreign relationships. but when i delete a user or a group the e.g.: user in the usergroup table doesnt get null. the foreign key id's do not get null when a user or a group is deleted. i used foreign = true and also foreignAutoRefresh.....first time i Nov 10 18:59:27 i think p_l said ORMs were like the vietnam of computer science :) Nov 10 19:00:00 ... maybe not all ORMs, but the "active record" pattern is pretty shitty Nov 10 19:09:05 does PopupWindow render in activity view heirarchy? I know dialogs do render in via fragment manager but PopupWindow seems to be external to activity entirely. Nov 10 19:10:38 can't remember, PopupWindow is kinda weird Nov 10 19:10:51 for example, you can't use a Spinner in a PopupWindow Nov 10 19:10:58 because it has its own PopupWindow :) Nov 10 19:14:50 is this the right channel for low level android dev? Nov 10 19:14:51 Neither PopupWindow nor Dialog are part of the Activitys view hierarchy Nov 10 19:15:42 im nearly crying because of that foreign key problem ^^, it just makes me unhappy if stuff just doesnt work ^^ Nov 10 19:15:48 I'm building android 4.3_r1 and I can make and install it fine on my device. But, I'm trying to set up eclipse now. I've followed this guide: http://source.android.com/source/using-eclipse.html but I am getting 2437 errors and 11418 warnings and I don't even know where to start fixing it. Nov 10 19:16:13 One thing is it seems that eclipse does not see: "android.support.v8" Nov 10 19:20:40 MitchellRobert & deadmund, this channel is for app dev. There are various mailing lists for people building AOSP Nov 10 19:20:49 SimonVT, thanks Nov 10 19:21:20 SimonVT, #android ??? Nov 10 19:21:32 the topic there is sort of broad Nov 10 19:22:02 I wouldn't imagine #android is useful for anything Nov 10 19:22:08 irc isn't a mailing list :P Nov 10 19:22:32 And there's that Nov 10 19:24:32 How slow is launching an alpha test? my link is still not available after 20 hours Nov 10 19:25:44 SimonVT, Where should I go? Nov 10 19:25:54 lewellyn, What does that mean? Nov 10 19:26:54 Hi, anyone who used Picasso who knows if it's possible to tell it to fit an image inside an ImageView without .resize(int, int) ? Nov 10 19:27:20 deadmund: http://source.android.com/source/community/index.html Nov 10 19:27:39 jaagr use fit() ? Nov 10 19:27:41 deadmund, don't bother with using eclipse to work on aosp... Nov 10 19:27:42 well, fit was a bad choice of word.. center it inside Nov 10 19:27:45 deadmund: i assume you know the difference between email and irc? Nov 10 19:27:54 centerInside().fit() Nov 10 19:28:55 JacobTabak: I want it to fill the whole view Nov 10 19:29:09 SimonVT, pfn lewellyn the official documents don't recommend anything but eclipse ( http://source.android.com/source/using-eclipse.html ) I've followed the instructions _exactly_ so I don't know why it's not working. lewellyn What is your point? I should not use IRC at all? Nov 10 19:29:29 jaagr these are the most basic uses cases Nov 10 19:29:38 user centerCrop().fit() Nov 10 19:29:39 deadmund: as SimonVT stated, you'll get the best assistance with aosp issues on the appropriate mailing lists, not irc. Nov 10 19:29:42 its all in the 1 page docs Nov 10 19:29:52 lewellyn, thanks Nov 10 19:30:00 deadmund, add all the paths necessary... Nov 10 19:30:13 JacobTabak: Guess I'll go back to the docs then. Thanks. Nov 10 19:33:12 anybody here using 'nexus oss' maven repo server? Nov 10 19:33:54 who could share me his/her build.gradle file, to deploy/push it to the server Nov 10 19:34:06 I am not getting any version number in it Nov 10 19:36:14 "Google doesn't like using human beings on something they think software should handle. So apparently they got Google X to build an AI agent based on Franz Kafka's mysterious agency in "The Trial". I hear they use this AI agent exclusively to vet all Google Play apps. True story." Nov 10 19:36:18 wonder if this really is true Nov 10 19:37:30 not all of it Nov 10 19:37:36 "It's been reported that even appeals submitted in the wee hours of the morning get an immediate rejection. Clearly this rejection is automated and no human being ever gets involved in the process." Nov 10 19:37:53 g00s, search for "adventures in bouncerland" to learn about how the google play app vetting process works Nov 10 19:38:04 "wee hours of the morning" is a useless thought in a worldwide agency Nov 10 19:38:05 g00s, It is complex, but I don't think it's A.I. Nov 10 19:38:15 but I heard that at least some cases (like DMCA processing) there's a problem of getting too much requests to process them without spending impossible amounts of money on people Nov 10 19:38:50 I think I fixed it. I had to install android 4.3_r1 in the SDK Manager (ADT Plugin) so eclipse would shut up. Nov 10 19:39:40 they also used to outsource the vetting. and the most-manned hours would be .us's "wee hours of the morning". Nov 10 19:40:50 yeah i agree with that, but the reponse to the appeal is always instant Nov 10 19:41:15 and relevant? ;) Nov 10 19:44:48 My app is showing up in Google Play as being incompatible with some devices even though it supports Android 4.0 and up. How can I find out why those devices aren't compatible? Nov 10 19:44:55 relevant? probably not when deciding devevlopers fate with automation Nov 10 19:45:05 cobar do you use phone/camera features? Nov 10 19:45:45 JacobTabak: not that I know of, just SD card, Internet Access, and USB Nov 10 19:45:46 https://github.com/frankiesardo/auto-parcel Nov 10 19:45:52 opps wrong chat Nov 10 19:46:05 paste your manifest? Nov 10 19:46:12 the permissions Nov 10 19:47:04 (in pastebin, not here) Nov 10 19:47:15 JacobTabak: http://pastebin.com/qdRTRt3h Nov 10 19:47:28 yeah its probably ths Nov 10 19:47:39 I'm trying to get it working on a HDMI smart stick that plugs into a TV Nov 10 19:48:01 Hmm, this device supports USB OTG I believe, so that should work Nov 10 19:48:30 there's a tool to debug this Nov 10 19:48:32 sec i'll find it for you Nov 10 19:49:15 how big is your apk? Nov 10 19:49:23 did you see this? http://stackoverflow.com/questions/10475954/why-does-the-google-play-store-say-my-android-app-is-incompatible-with-my-own-de Nov 10 19:49:26 9 MB has an embedded DRM module Nov 10 19:49:29 so I just started at my new job. Should .class files really be in your repository? Nov 10 19:49:31 k nm Nov 10 19:49:37 matt_j no they shouldnt Nov 10 19:49:40 ok Nov 10 19:49:47 nothing under /build should be Nov 10 19:50:10 cd /Users/johnsonma/git/DictionaryAndroid/Dictionary_4.5-latest/ Nov 10 19:50:12 oops Nov 10 19:50:14 fuck Nov 10 19:50:35 * matt_j just wins the derp award Nov 10 19:50:36 you're fired! Nov 10 19:50:48 and we learn that matt_j doesn't tab-complete Nov 10 19:51:03 JacobTabak: no hadn't read that. I can try setting required to false. That might explain it, the app isn't compatible with a Nexus 4 either which doesn't support USB OTG Nov 10 19:51:21 You don't think I need to add the touchscreen prefs, do you? Nov 10 19:51:46 anyway, so I want to remove everything in ./bin/... class files etc from git? Nov 10 19:52:02 yes Nov 10 19:52:18 thanks. Nov 10 19:53:24 matt_j you dont want anything that's an output created during build Nov 10 19:53:35 unless it's explicitly documented somewhere that it should be something you want in theere Nov 10 19:54:25 Just made a small fix to my app that improves the experience by a lot Nov 10 19:54:34 so happy when that happens Nov 10 19:55:11 added an uninstall option? Nov 10 19:55:41 My problem was that when the Activity loaded, an EditText would automatically take focus and the keyboard would pop up. To fix it, I added android:focusableInTouchMode="true" to the parent layout. Nov 10 19:56:36 Ashiren, all apps (besides the carrier/manufacturer bloatware) can easily be removed via regular Android methods Nov 10 19:57:16 Go into Settings>Apps>Select the app you want to uninstall>Tap "Uninstall" Nov 10 19:57:24 wow.. Nov 10 19:58:10 woah Nov 10 19:58:17 JacobTabak: any luck finding that tool Nov 10 19:59:16 http://developer.android.com/guide/topics/manifest/uses-feature-element.html#testing Nov 10 19:59:20 SimonVT, Ashiren: Does that help you? Nov 10 19:59:30 It was not apparent to me to use that attribute Nov 10 19:59:31 eeyup Nov 10 19:59:50 Or are you wanting me to address your snark? Nov 10 20:00:03 ~ Nov 10 20:00:12 JacobTabak: yeah... this isn't set up properly, heh Nov 10 20:00:46 most people dont know what they're doing ĀÆ\_(惄)_/ĀÆ Nov 10 20:01:02 :\ Nov 10 20:01:03 ^ Everyone everywhere Nov 10 20:01:06 lol Nov 10 20:01:48 hi guys, im having a problem with ORMLite using a many-to-many relationship. i simply have a user and a group. adding a user to a group i have a usergroup table which combines the two foreign relationships. but when i delete a user or a group the e.g.: user in the usergroup table doesnt get null. the foreign key id's do not get null when a user or a group is deleted. i used foreign = true and also foreignAutoRefresh.....first time i Nov 10 20:04:11 question Nov 10 20:04:16 answer Nov 10 20:04:21 i win Nov 10 20:04:23 yes. Nov 10 20:04:24 thanks! Nov 10 20:04:31 * matt_j applies "answer" everywhere in life Nov 10 20:05:09 If you tell gitignore to ignore "bin"... what happens if you have a directory called "bin" that you need? Do you need to add it manually? Nov 10 20:05:21 defuex i'm assuming you've read this thoroughly several times including all the caveats? http://ormlite.com/javadoc/ormlite-core/doc-files/ormlite_2.html#Foreign-Collection Nov 10 20:06:17 matt_j don't make a dir called bin, but you can manually override the gitignore. files in git will continue to get updated if they're being tracked, but if you add a new file in that dir, you'll have to add it manually Nov 10 20:06:54 You can also ignore a specific bin folder, or un-ignore a specific bin folder Nov 10 20:07:17 that too, but just make your life easy and dont commit a dir called bin Nov 10 20:11:43 I have a linearlayout in which im displaying text views based on the number of items in an array. In each of those text views(or right beside them) I want to display an image. What is the best way to accomplish that Nov 10 20:13:08 you could use drawableLeft or drawableRight Nov 10 20:13:17 on textview Nov 10 20:14:01 if the drawables are uniform in size and have the correct intrinsic bounds Nov 10 20:14:29 JacobTabak: yeah, it was just a curiosity question Nov 10 20:15:13 so I do want to alter the drawable's height programmatically Nov 10 20:15:34 is that possible using DrawableRight? Nov 10 20:15:37 yes Nov 10 20:15:53 here's the thing...i don't want to just resize the image Nov 10 20:15:59 I actually want to chop pixels off the height Nov 10 20:16:10 yeah its possible Nov 10 20:16:13 excellent Nov 10 20:16:22 i wouldnt necessarily recommend it Nov 10 20:16:29 i'd probably make a custom view backed by an xml layout Nov 10 20:16:54 and use centerCrop Nov 10 20:17:01 sorry Im very new to android development Nov 10 20:17:07 what would the advantage of a custom view be Nov 10 20:17:13 i wouldn't try it if you're new Nov 10 20:17:20 just use a LinearLayout with a textview and an imageview Nov 10 20:17:29 thats the simplest way Nov 10 20:17:35 i guess so JacobTabak, my database already worked with foreign keys....but after i deleted my database with context.deleteDatabase("nameofmydb"); and created a new one the foreign keys didnt seem to work anymore. it is like having 3 seperate tables without any relationship...or at least when i e.g. delete a user the id value stored in UserGroup Table doesnt get deleted Nov 10 20:17:58 i've never done many<->many relationships with ormlite Nov 10 20:18:16 but i've done 1 to many and the documentation was very thorough Nov 10 20:18:25 sry can't help much with specifics Nov 10 20:19:39 JacobTabak: I think the touchscreen requirement may be it. I didn't realize that was required even if it wasn't listed as a feature. Just republished the app, so we will see if it works now Nov 10 20:19:57 cool Nov 10 20:20:11 i didnt see that in your manifest Nov 10 20:21:00 really appreciate your help. Yeah, the docs say that touchscreen is required by default even if not specified. Since this is a TV interface it only has mouse and keyboard support Nov 10 20:21:34 anyone know how to get the height of a single line of a textview? Nov 10 20:21:44 JacobTabak: what's the easiest way to get espresso set up with gradle? double-espresso? Nov 10 20:21:57 oh nm there's apparently a getLineHeight() method Nov 10 20:22:16 joshkovach yes, it's never easy though, you'll have to keep excluding dependencies til it works Nov 10 20:22:23 hmm Nov 10 20:22:25 gotcha Nov 10 20:22:27 please star that issue linked on jake's github Nov 10 20:22:31 it lets google devs know ppl care.. Nov 10 20:22:36 u know what im talking about? Nov 10 20:22:50 https://code.google.com/p/android/issues/detail?id=65445 Nov 10 20:23:57 starred Nov 10 20:24:30 unassigned in september :( Nov 10 20:24:36 yea right after i asked about it Nov 10 20:24:38 they unassigned it Nov 10 20:24:38 lol Nov 10 20:24:50 it was like 5 min after Nov 10 20:25:10 I get the distinct feeling that android testing is just completely off their radar Nov 10 20:25:20 apparently it's not Nov 10 20:25:23 and when it shows up they just think it's a smudge Nov 10 20:25:40 did you see their faces when an audience member asked about testing at IO this year? Nov 10 20:25:45 just total blank stare Nov 10 20:26:12 ha yeah that was a funny one Nov 10 20:26:35 these damn tests, man Nov 10 20:26:38 they're killing me Nov 10 20:27:51 hasFragmentWithTag works everywhere else it's used Nov 10 20:28:58 so does doesNotHaveFragmentWithTag... Nov 10 20:29:01 lol Nov 10 20:29:05 "Gentle poke on this issue - it has been assigned since January. Any update?" Nov 10 20:29:13 u laughing at me g00s Nov 10 20:29:17 Status: Unassigned Nov 10 20:29:17 Labels: -Priority-Medium Priority-High Subcomponent-Tools-gradle Triaged-yes Nov 10 20:29:21 hehe Nov 10 20:29:29 don't poke those guys ! Nov 10 20:29:53 all new phones at sdk21 will use the camera2 api. Does this mean that If I make a camera app with the camera api, it wonā€™t work on any new phones? and if I make it with camera 2 api does this mean that it will only work on new phones? Nov 10 20:29:59 back to unassigned :D Nov 10 20:30:42 in_deep_thought think deeper about this P: Nov 10 20:30:43 its just an api Nov 10 20:30:45 Can anyone recommend a simple OAuth client library suitable for Android? Nov 10 20:30:46 they didnt remove the old api Nov 10 20:31:04 so u can still use old api and be compatible Nov 10 20:31:06 new api is 21+ Nov 10 20:31:36 so new phones will listen to both apis Nov 10 20:31:38 JacobTabak i starred , don't think it matters :) Nov 10 20:32:00 i would not use the verb 'listen' Nov 10 20:32:01 everybody star it, right now! Nov 10 20:32:10 maybe someone will notice Nov 10 20:32:10 but yes, the old api will work on all devices Nov 10 20:32:16 and old phones only know the old api, but if the app uses the old one then it doesnā€™t matter. so Ill use the old one Nov 10 20:32:31 yes, and while your at it, also star this one https://code.google.com/p/android/issues/detail?id=78377 Nov 10 20:32:37 star all the things ! Nov 10 20:34:40 is there a unified way to store sent text messages in android 4.2 so that it gets shown in all text clients? Nov 10 20:35:05 I'm trying to watch for when a user changes a spinner value. When the value is changed, I need to show a save icon in the menu. When I set my spinner's OnItemSelectedListener, it triggers the save icon as if the user selected something already, even though the user hasn't. Nov 10 20:35:15 Anyone have an idea on how to get the results I want? Nov 10 20:35:57 gman23 yeah, some of the widgets are stupid like that Nov 10 20:36:15 That's pretty frustrating Nov 10 20:36:27 for example, Switch is like that too Nov 10 20:36:38 Is there a common work around besides setting some control variable like isInitializing? Nov 10 20:37:01 so for Switch, what you do, is when you set it programatically, you (1) check to see if there is any difference (2) if so, unhook the listener, (3) change state (4) rehook up the listener Nov 10 20:37:46 wow, alright Nov 10 20:38:18 yeah, there should be a flag like 'selfNotify' or something Nov 10 20:39:18 I think I'm just going to do a boolean called isInitializing = true. If that's true, ignore the first selection and set it to false Nov 10 20:39:28 g00s, just wanted to say, as far as I remember so far I've never used a ViewHolder pattern in my code, but that was an interesting and informative read Nov 10 20:39:39 that was nevertheless* Nov 10 20:40:27 Gradle DSL method not found: 'androidTestCompile()' Nov 10 20:40:38 ravilov glad you liked Nov 10 20:43:37 i dont think google is using the same appcompat that we are Nov 10 20:43:55 when i go into gmail 5.0 settings, this is a preferenceActivity with headers Nov 10 20:44:09 but appears to have a toolbar Nov 10 20:48:07 Doesn't look like a Toolbar Nov 10 20:48:12 On kitkat at least Nov 10 20:48:19 goos could be in the next appcompat, like the swipeToRefresh (already used in gMail former times) Nov 10 20:48:34 SimonVT hm i'm using 4.4.4, looks like a toolbar :| Nov 10 20:49:06 apparently I can't use androidTestCompile with a block Nov 10 20:49:09 Not tall enough Nov 10 20:49:36 SimonVT ah, good catch, maybe 4dp difference Nov 10 20:49:49 Anyway, doesn't have to be a Toolbar.. Doesn't have to be a PreferenceActivity.. And the two doesn't have to be mutually exclusive Nov 10 20:50:25 i couldn't figure out how to use a toolbar with preferenceactivity Nov 10 20:50:58 i think chris even said, just use preferencefragment Nov 10 20:51:30 maybe some extreme trickery , like replacing views after content is set Nov 10 20:51:36 not worth it ;) Nov 10 20:52:24 hey all Nov 10 20:52:33 It just calls setContentView Nov 10 20:52:41 Intercept and add to your own layout Nov 10 20:52:55 how can i make a class that is a singleton that can survive the entire length of the application (across many activities) Nov 10 20:53:10 skrite a singleton will do that anyhow :| Nov 10 20:53:19 yes a singleton should do this Nov 10 20:53:29 splendid, thanks Nov 10 20:53:46 but if your singleton needs a context, use getApplicarionContext Nov 10 20:53:51 Your entire app can be killed at any time Nov 10 20:54:10 or just use the Application Nov 10 20:54:48 skrite yeah, so you can't really keep uncommitted data in there for example. i use a singleton to read and stor config information (doesn't matter if it needs to be recreated) Nov 10 20:55:09 singleton for SqlitreDatabaseHelper is popular Nov 10 20:55:32 good example Nov 10 20:56:49 g00s: hey dude, lots has changed since you went to sleep Nov 10 20:57:09 thepoosh hey , what happened , everything looks the same :O Nov 10 20:57:18 or maybe i'm still sleeping ... Nov 10 20:57:20 my neighbor got stabbed to death by a terrorist :( Nov 10 20:57:39 ... Nov 10 20:57:42 other than than code review Nov 10 20:57:44 :S Nov 10 20:57:59 ravilov: you can say that again Nov 10 20:58:06 i'm kinda venting now Nov 10 20:58:10 to not think too much Nov 10 20:58:16 ravilov: That's what I was thinking. This is #android-dev Nov 10 20:58:42 Too soon to joke? Nov 10 20:58:51 yes Nov 10 20:59:16 unless it's good Nov 10 20:59:40 did the attacker inherit that code from your neighbor during the code review ? Nov 10 21:00:12 hmmm Nov 10 21:00:17 no but he used dagger Nov 10 21:00:24 dagger dagger bills, y'all Nov 10 21:00:28 see - thats why you gotta make sure you write good code, so people don't come after you later Nov 10 21:00:43 hmmm Nov 10 21:00:49 "And that's why you always leave a note..." Nov 10 21:00:53 i gues she didn't pass the code review Nov 10 21:01:22 thepoosh did you know your neighbor? i've never been through anything like that. here in the US though, they call everything terrorism these days Nov 10 21:01:51 yes, I knew her and I am on friendly basis with her dad Nov 10 21:02:05 sorry things happened like that :( Nov 10 21:02:10 yep Nov 10 21:02:12 google issues anyone? or just me Nov 10 21:02:21 i hope they find the person and bring them to justice Nov 10 21:04:23 http://edition.cnn.com/2014/11/10/world/meast/mideast-violence/index.html Nov 10 21:04:41 i think i can describe this as terrorism Nov 10 21:05:38 * thepoosh is changing the subject Nov 10 21:05:55 trying to fully understand recyclerview Nov 10 21:06:45 what is the advantage of using that instead of any other viewholder pattern? Nov 10 21:07:51 thepoosh recyclerview just requires viewholder Nov 10 21:08:09 but RecyclerView.ViewHolder actually has a bunch of extra things like position / id to make binding easier Nov 10 21:08:35 hmmm Nov 10 21:08:36 but to eliminate the findViewByIds, there are afew ways to do it - VH being only one Nov 10 21:08:46 I read your article this morning Nov 10 21:08:51 about using a custom view Nov 10 21:09:01 yeah i was thinking about doing that custom view thing too Nov 10 21:09:33 oh wow, this is finally out. this looks very good http://shop.oreilly.com/product/0636920030676.do Nov 10 21:09:36 findViewById is pretty expensive? Nov 10 21:09:37 I'll ask the GDG guy on Wednesday when he comes in Nov 10 21:10:25 gman23 it can be. and if you have a lot, or a deep view tree ... Nov 10 21:10:34 may as well momoize Nov 10 21:10:37 *memoize Nov 10 21:10:57 our app uses it everywhere, a lot Nov 10 21:11:28 in LV its in a 'performance critical' path with binding the view data Nov 10 21:11:32 typically only on initializations, though I'll have to check if there's repetitive, unnecessary usage of it Nov 10 21:11:40 hm Nov 10 21:16:03 goos, thanks for that. Nov 10 21:18:23 o Nov 10 21:18:25 NDK profiler Nov 10 21:18:39 which is a random python script -_- Nov 10 21:18:44 when starting an activity, can you put more than one extra to the new activity? Nov 10 21:19:28 yes. Nov 10 21:19:59 Mavrik, thanks Nov 10 21:41:01 I've been on this damn gradle migration for too long Nov 10 21:41:16 but the maven build has its own set of terrible problems :( Nov 10 21:47:25 hm, i've replaced my content provider with ... plain sqlite stuff but without orm, wind up with a similar amount of boilerplate Nov 10 21:47:43 guys, how can i implement Material Design in my app using Support Libraries? Nov 10 21:47:52 is that a real question Nov 10 21:47:52 I added v7 Support Libraries into my project Nov 10 21:48:01 ._. Nov 10 21:48:01 OverCoder then you are done ! Nov 10 21:48:18 .___. Nov 10 21:50:04 OverCoder really the only other thing you have to do, is when a user touches an element on your screen, you have to make everything animate in random directions Nov 10 21:50:09 haha Nov 10 21:50:15 how do you set a tablelayout columncount programmatically Nov 10 21:50:18 why is life hard Nov 10 21:50:22 lol Nov 10 21:50:35 JacobTabak++ Nov 10 21:50:37 :P Nov 10 21:54:57 so, how do you set column count for a tablelayout programmatically? Nov 10 21:56:45 JacobTabak, http://stackoverflow.com/questions/2729992/setting-number-of-columns-programmatically-in-tablelayout Nov 10 21:56:48 :) Nov 10 21:56:57 i am sure i know what that link is Nov 10 21:57:05 and i'm sure it doesn't have a real answer Nov 10 21:57:15 * OverCoder looks at it Nov 10 21:57:31 hmm, idk Nov 10 21:57:35 that says to use an xml layout Nov 10 21:58:05 i could inflate from xml... but that would create an extra object Nov 10 21:58:05 * OverCoder is nervous Nov 10 21:58:27 like, i'm making an app, and that app is ready for lollipop, i have like, 24121 things to do in it ._. Nov 10 21:58:44 lots of animations, colors, etc. Nov 10 22:03:41 JacobTabak: maybe you should add/del a view in each TableRow of your TableLayout ? Nov 10 22:03:50 i think i figured it out Nov 10 22:03:53 and it was because i was derpin Nov 10 22:04:07 but thank you for paying attention to me Nov 10 22:04:09 :D!! Nov 10 22:04:42 and the answer was? Nov 10 22:04:48 its kind of automatic Nov 10 22:05:04 i think its determined by the maximum number of children of a tablerow contained in the tabellayout Nov 10 22:10:36 i will never trust ORMLite again. i will only just use lots of querybuilder methods to do stuff....im not trusting those false tables with their wrong interpreted foreign keys again. Nov 10 22:11:00 i dont use orm for relationships Nov 10 22:11:13 the syntax for querying sucks Nov 10 22:11:16 and its confusing Nov 10 22:11:19 me neither. that relationship would probably suck... *badum ts* Nov 10 22:11:29 i think querying stuff is totally fine Nov 10 22:11:33 i kind of like it Nov 10 22:11:51 yeah same here.. Nov 10 22:12:23 for foreigns I usually store their ids in comma seperated list values Nov 10 22:12:25 luckily i am not working on applications that need complex relational data Nov 10 22:12:30 and do my own qrys Nov 10 22:12:33 but im wondering why my foreign key still havent got erased in another table when i deleted it Nov 10 22:13:24 well, whatever. i wanted to try out new things...its working...never touch a running system until users get upset Nov 10 22:13:32 i can't get myself to trust that stuff. i like sql. embedding sql in java sucks - JOOQ kinda fills that gap Nov 10 22:14:15 g00s: doesnt jooq just built sql queries for you? Nov 10 22:14:38 i need to delete relations inbefore i can delete the actual table value so that unnecessary rows won't be left Nov 10 22:14:39 its been a long time since i used it; thats what i used it for Nov 10 22:15:13 defuex you know sqlite has cascading delete right ? (oN DELETE CASCADE) Nov 10 22:15:15 2 questions: 1) If I have several modules, with 1 main module depending on the others (library modules), and some of the modules require android-support-v4 and those modules already depend on the support library. Should I export the support library from 1 or each of those libraries? Or should I have the main module also depend on the support library? Nov 10 22:15:19 yay finally got my crashlytics invite Nov 10 22:15:22 2) Should I make a copy of the support library for dependency in a lib folder? Or should I always use the one in the SDK folder? Nov 10 22:15:35 can i mix it up with ormlite? ^^ Nov 10 22:15:53 @goo Nov 10 22:15:57 f00dWorksta: 1) gradle is handling that for you, just include it in every build.gradle Nov 10 22:16:16 danijoo: I am unable to use gradle for this project :< Nov 10 22:16:18 2) you should use maven and not jar files :) Nov 10 22:16:30 danijoo: I am unable to use maven >< Nov 10 22:16:43 defuex i never used ormlite. probably never will. when i was doing JEE stuff the big things were Spring / Hibernate. I used Spring - not Hibernate. Closest I ever came was iBATIS Nov 10 22:16:43 danijoo: as in it's an existing project Nov 10 22:17:01 danijoo: and I'm not allowed to make any big changes to it... yet... Nov 10 22:17:11 f00dWorksta: then you should copy it out in a lib folder ( to have your stuff together) and i think you can add it as dependency to every module and the build system will figure out how to include it in the apk Nov 10 22:17:17 because im sure that delete cascade was an implemented thing when setting table values foreign in ormlite....but after i deleted the database and tried to create it again it was like "no relationships with foreign keys at all" ...which means when i deleted a value the value wasn't deleted anywhere else @g00s Nov 10 22:17:33 * ravilov is somewhat glad he was not doing java before android Nov 10 22:17:48 danijoo: ok thanks. I think I had an issue with the DEX complaining there are duplicates of the support library Nov 10 22:18:00 f00dWorksta: are you building with ANT? Nov 10 22:18:06 defuex, this is not twitter, @ is used only for annotations and ops, not for highlighting people Nov 10 22:18:28 sry ravilov Nov 10 22:18:59 don't be trollin Nov 10 22:28:42 danijoo: yes Nov 10 22:29:02 danijoo: but I was getting the error when building within intellij Nov 10 22:29:23 didnt use it for quite a while @f00dWorksta Nov 10 22:29:45 danijoo: ANT? or intellij? Nov 10 22:29:46 so i cant really help. but i think it should sort that out on its own Nov 10 22:30:05 intellij is just an IDE. all it does is running the ant task Nov 10 22:30:08 or gradle or whatever Nov 10 22:30:58 i'm gonna try to convince them to use gradle Nov 10 22:33:49 how can i write a method to get an instance of this group (its the singleton i want to run) i am constructiing it elsewhere. http://pastie.org/9710551 Nov 10 22:36:07 skrite: http://pastebin.com/MxK5P3TJ Nov 10 22:37:05 danijoo, awesome, thanks Nov 10 22:41:46 is it just me or is SwitchCompat nothing like a switch on 4.4.4? Nov 10 22:44:36 nooooooo https://code.google.com/p/android/issues/detail?id=78262 Nov 10 22:45:07 hahaha Nov 10 22:45:25 "It also happens to me on stock Nexus 7 2012 (4.4.4)." Nov 10 22:45:33 well that settles it, no attempts to test this stuff Nov 10 22:45:43 that's worse than my one-man testing since I actually bothered to try it :/ Nov 10 22:45:48 "we'll do it live" Nov 10 22:47:35 all i can think is, working and maintaining appcompat - the library designed to alleviate version fragmentation, has to be one of the worst jobs on the planet Nov 10 22:47:46 ask chris banes lol Nov 10 22:47:48 id rather pull solid chunks of shit out of an elephants ass Nov 10 22:47:55 okay now now, easy there Nov 10 22:48:56 appcompat version 21 is pretty unusable atm. Nov 10 22:49:37 its ok to experiment with it but i think production releases should wait 1 or 2 additional revisions.. Nov 10 22:51:16 if we're lucky, just 1 or 2 heh :D Nov 10 22:51:21 danijoo, it's only the compat widgets, toolbar, menu etc works fine Nov 10 22:51:26 yeah im an optimist.. Nov 10 22:51:31 Afzal: are you joking? Nov 10 22:51:42 you havent heard of samsung crash yet, have you? Nov 10 22:51:48 hopefully there's a release on wednesday and everything would be right in the world Nov 10 22:51:55 danijoo, ...no. What samsung crash? Nov 10 22:52:02 Afzal what is wed ? global appcompat day ? Nov 10 22:52:07 man, don't make me delay release again >_< Nov 10 22:52:16 toolbar basically crashes on every samsung device running android 4.2.2 Nov 10 22:52:18 anyone have any useful libs for creating Android forms? Nov 10 22:52:21 g00s, lol I wish. Nov 13th is supposed to be the Nexus 5 lollipop release Nov 10 22:52:22 let me find the issue.. Nov 10 22:53:06 Afzal: https://code.google.com/p/android/issues/detail?id=78377 Nov 10 22:54:07 danijoo dang, that sucks Nov 10 22:54:18 mattblang: yep ^^ Nov 10 22:54:35 samsung phones running 4.2.2 should be like 20% of market share :D Nov 10 22:54:38 or more Nov 10 22:54:42 danijoo yeah I know, lol Nov 10 22:54:52 danijoo so just Toolbar having problems? I should be good if I am still using Action Bar? Nov 10 22:55:05 no idea.. Nov 10 22:55:34 all the appcompat methods should have try { do something } catch (Exception e) { show dialog : upgrade your phone } Nov 10 22:56:05 mattblang: i think its thrown when you do setSupportActionBar(toolbar) Nov 10 22:56:05 danijoo, well shit :/ Nov 10 22:56:16 Trying my app on appthwack right now Nov 10 22:56:43 danijoo they mentioned 4.2.2. Actually, not a lot of Samsungs will still be on 4.2.2 will they? Nov 10 22:56:52 Afzal: Thats what I did. got the exact same error on samsung devices Nov 10 22:57:02 :( Nov 10 22:57:12 hoping against hope Nov 10 22:57:18 mattblang: yeah but its still a big market share i think Nov 10 22:57:25 but to be honest Nov 10 22:57:33 this one is not google fault Nov 10 22:57:50 they should have tested it, and worked arround it, yeah. But the error is on samsungs side Nov 10 22:58:09 a few other non-samsung device, but i'd like to know what they did Nov 10 22:58:30 JakeWharton: in U2020, I want to implement a pagination when user scrolls to the bottom. Where I should add OnScrollListener? Nov 10 22:58:51 uh Nov 10 22:58:57 on the scroll view? Nov 10 22:59:14 i don't really know what else you want from an answer Nov 10 22:59:44 g00s: one user mentioned that the issue might be that the ROM bundled an old version of appcompat MenuBuilder Nov 10 22:59:58 and this one is then clashing with the one from this appcompat version Nov 10 23:00:03 i wonder why they would do that Nov 10 23:00:06 if the rom is bundling appcompat, then I don't even... :/ Nov 10 23:00:26 g00s: they're dumb Nov 10 23:00:41 g00s: because samsung loves to muddle with the system.. Nov 10 23:00:42 JakeWharton: OnScrollListener should be in GalleryView, right? Nov 10 23:01:17 kamol: i have no idea what you are doing or what your code looks like Nov 10 23:01:22 lol ^ Nov 10 23:02:19 and its still Priority-Small. Nov 10 23:02:28 :D Nov 10 23:02:45 i also told you more than once that u2020 is an example of dagger architecture not UI architecture Nov 10 23:03:20 JakeWharton: ok, let me to implement first. I just want to make undless scrolling Nov 10 23:04:07 btw, anybody knows, what is approximate time for newly published application to appear in market? There is caption "several hours", but I waiting >10 already :-/ Nov 10 23:04:22 mva: usually 1-2 h Nov 10 23:04:32 +/- 10 Nov 10 23:05:09 mva: have you published as beta or production? Nov 10 23:05:33 apps installed .... so suspenseful! Nov 10 23:05:36 mva: for me 2 h usually Nov 10 23:05:39 plz don't crash Nov 10 23:05:45 samsung pls Nov 10 23:06:25 says successfully launched Nov 10 23:06:42 dude, it didn't crash <_< Nov 10 23:06:44 danijoo, Nov 10 23:07:03 Afzal: are you setting custom toolbar as actionbar? Nov 10 23:07:12 danijoo, yup Nov 10 23:07:24 even the switch looks fine from the screenshots Nov 10 23:07:36 did you test against samsung v4.2.2 Nov 10 23:07:37 ? Nov 10 23:08:19 danijoo, yup, Samsung Galaxy Light 4.2.2, S4 mini 4.2.2 and S5 4.4.2 Nov 10 23:08:33 Afzal you called setSupportActionBar () ? Nov 10 23:08:38 g00s, yeah Nov 10 23:08:55 i wonder if there is something special about your toolbar Nov 10 23:08:55 and there are menus too Nov 10 23:09:04 it's written by me. ^_^ :p Nov 10 23:09:13 its crashing for me on galaxy light. Nov 10 23:09:22 danijoo, does this happen on launch or do you have to touch something? Nov 10 23:09:26 with the error mentioned in the issue Nov 10 23:09:49 Afzal: setSupportActionBar(toolbar) throws it Nov 10 23:10:22 danijoo, yup I call it in every activity. Nov 10 23:11:23 thats what i get: http://postimg.org/image/zeekifpcd/ Nov 10 23:11:24 here: https://appthwack.com/project/kiwi/run/94783/downloadresultfile?filename=thwacklab18_1415660717.4_tmphVbHWU.jpg Nov 10 23:11:28 screenshot proof! Nov 10 23:11:31 dunno. maybe you are doing something i dont do. Nov 10 23:11:33 danijoo: alpha, actually :-/ Nov 10 23:11:36 or vice cersa Nov 10 23:12:14 should I post it as production then? Nov 10 23:12:17 Afzal: that asks me to login Nov 10 23:12:21 my Android wear app detection isn't working though...weird Nov 10 23:12:45 [despite I don't want to push it as production yet] Nov 10 23:12:51 squirrel, oh must be a security thing Nov 10 23:12:53 mva: beta apps are only seen by users in the beta group (which you have to set up first) Nov 10 23:13:13 screenshot of a screenshot: https://www.dropbox.com/s/3agho9zpl84shdr/Screenshot%202014-11-10%2018.13.05.png?dl=0 Nov 10 23:13:14 xD Nov 10 23:13:27 yes. But it is not visible even for me. Nov 10 23:13:40 is it ok to say a dozen of 1Mb files in sqlite on Android? should be no slower then writing files in app folder, yes/no? Nov 10 23:13:42 mva: because you are not in your beta group ;) Nov 10 23:13:43 play/pause track. Nov 10 23:13:45 *to save Nov 10 23:13:45 moreover, it says 404 even for users in beta group Nov 10 23:13:51 danijoo: I am Nov 10 23:14:07 danijoo, yeah unfortunately this app isn't open source :( I would be really interested in knowing the reason Nov 10 23:14:16 waaaaaaaaaait min Nov 10 23:14:19 mva you created a google group and added it in the dev console to the list of beta testers? Nov 10 23:14:27 so Material is just a Holo Theme with widget modifications? Nov 10 23:14:34 Yep Nov 10 23:14:36 That's all Nov 10 23:14:54 hmmm Nov 10 23:15:01 OverCoder: what did you think? a reinvention of the wheel? Nov 10 23:15:01 OverCoder....what if I told you Holo is just stock with widget modifications? Nov 10 23:15:06 lol Nov 10 23:15:20 I thought it was going to cook me dinner Nov 10 23:15:22 kind of :P Nov 10 23:15:25 danijoo: yes. And, (osbcence words), now, when I asked that, I become available in market Nov 10 23:15:31 Material Design language is more than just a theme. The material theme is limited to widget styling Nov 10 23:15:33 mva: :D Nov 10 23:15:46 :P Nov 10 23:16:01 OverCoder presumably you read http://www.google.com/design/spec/material-design/introduction.html Nov 10 23:16:14 i did Nov 10 23:16:17 danijoo, mayyyyybe related, are you using moulted? Nov 10 23:16:39 moulted. i think not.. because i have no idea what this is ^^' Nov 10 23:16:53 http://www.google.com/design/spec/components/tabs.html# Nov 10 23:17:00 what this is not in developers.android.com ? Nov 10 23:17:24 its google. some assembly required. its like the ikea version of operating systems Nov 10 23:17:46 but they forgot to give you the wrench :) Nov 10 23:18:01 ._> Nov 10 23:18:04 ._.* Nov 10 23:18:12 g00s: and the documetation. so You dont even know a wrench is missing Nov 10 23:19:10 danijoo actually they have a 1 page document. it has a picture of a dev scratching their head looking at a bunch of parts with an X through it Nov 10 23:19:31 ; D Nov 10 23:19:32 other side has dev happily asking questions on SO Nov 10 23:19:38 with a checkmark ;) Nov 10 23:20:15 someone should really make those two pictures Nov 10 23:20:21 and put them on reddit xD Nov 10 23:20:25 * OverCoder applies Theme.AppCompat.Light Nov 10 23:20:26 * OverCoder cries Nov 10 23:20:32 where's the action bar thing? Nov 10 23:21:13 "thing"? Nov 10 23:21:21 yes i mean it disappeared Nov 10 23:21:24 really weird Nov 10 23:21:37 OverCoder, nu uh, it's just hiding under a different name! Nov 10 23:21:38 :p Nov 10 23:21:48 wat Nov 10 23:21:51 * OverCoder runs Nov 10 23:22:13 Overcoder there are more steps for migrating than changing theme Nov 10 23:22:30 ik Nov 10 23:22:38 i've juuust started the project :P Nov 10 23:22:55 You have to create your own actionbar views now.. Nov 10 23:22:59 called toolbar Nov 10 23:23:13 and set them as actionbar with setSupportActionBar(myToolBar) Nov 10 23:23:24 o Nov 10 23:23:27 that's new huh? Nov 10 23:23:55 yeah. with this you can add an actionbar to the most weird places via xml Nov 10 23:24:05 and do new stuff Nov 10 23:24:15 nice Nov 10 23:24:19 at least once you find out how to do it without documentation Nov 10 23:24:28 and once they actually fixed the issues with it Nov 10 23:24:32 ^^ Nov 10 23:25:32 I also don't understand some transition stuff related to animations when they're from inside fragments to another activities Nov 10 23:25:51 i didnt look at those yet Nov 10 23:26:11 I'm not sure how Gmail does it but when you tap an email, it doesn't fade out the toolbar. But then again, maybe they're just swapping out the fragments Nov 10 23:26:11 since there is no market share for 5.0 and those transitions wont work with appcomat Nov 10 23:26:20 its not worth the effort yet Nov 10 23:26:43 danijoo, yeah makes sense. I enjoy the perks of working on a Wear app :D You know people who have bought Wear devices will probably get 5.0 sooner than later :D Nov 10 23:26:51 Afzal: yeah i think its just fragments because those transactions shouldnt work before api level 21 Nov 10 23:27:21 desperatly wawiting for the update on my nex 5.. Nov 10 23:27:28 any recommendation for android app development training? Nov 10 23:27:47 and now im off to bed.. Nov 10 23:28:24 kamol, there are a few coursera courses going on right now Nov 10 23:28:27 danijoo, night Nov 10 23:28:43 I'll try to write a sample toolbar app that doesn't crash on Galaxy Light 4.2.2 Nov 10 23:29:07 Afzal: And I might write steps to reproduce tomorrow at lunch break ;) Nov 10 23:29:22 cool, then we can decode this matter once and for all Nov 10 23:29:27 (literally for all) Nov 10 23:29:36 Afzal: thank you Nov 10 23:29:58 Afzal: see you at the issue tracker :p Nov 10 23:32:19 do you cross compile android for certain cellphone cpus on linux ? Nov 10 23:35:00 * mva thinks (offtop) that it is last google-related issuefor today, that he can't fight out: stupid google music manager do not want to login and says "Login Failed! Could not identify your computer". And no, I do not use VM nor bridges. And when I tried to talk support about it I feel like I talking with stupid robot :'( And there is neither google-music related forum nor even irc channel :'( Nov 10 23:35:42 mva you should try app development Nov 10 23:35:51 grass is greener Nov 10 23:37:10 g00s: ... I do developing apps (including webapps). What should that change? :) Nov 10 23:37:37 oh, seemed like you issue was non app related Nov 10 23:37:43 non *dev related Nov 10 23:38:18 lastone - yes, offtop. Dev-related is already solved (magically, by itself) ;) Nov 10 23:38:56 which one to download? "Intel x86 Atom_64 System Image" or "Intel x86 Atom System Image" Nov 10 23:39:10 my system is x86 Nov 10 23:39:20 OverCoder: then you have no choice Nov 10 23:39:42 hm? Nov 10 23:39:50 32bit system will be very hard to run 64bit guest Nov 10 23:40:06 so the second one? Nov 10 23:40:11 not that it is absolutelly impossible, but you better run native Nov 10 23:40:19 *native bitness Nov 10 23:40:25 mhmm Nov 10 23:40:29 OverCoder: yes Nov 10 23:40:34 i heard on yosemite 32 bit (api 21) was working better Nov 10 23:40:36 OverCoder: both 64 and 32 are x86, but images marked with x86 implies it's 32-bit image Nov 10 23:40:58 o Nov 10 23:41:04 * OverCoder puzzles Nov 10 23:41:19 afaik 64-bit is x64 and 32-bit is x86 Nov 10 23:41:41 *x86_64 *x86_32 Nov 10 23:41:45 //fixed Nov 10 23:43:08 "x64" is stupid microsoft invention, making some users think that "if x64 is 64 bits then x86 is... 86 bits!", which isn't true Nov 10 23:43:10 OverCoder: no; there are x86-64 and x86-32 (among other stuff), x86 means x86-32 since once upon a time there was no 64 Nov 10 23:43:30 so, you'd better name it right: x86_32 and x86_64 Nov 10 23:43:40 OverCoder: and x86-64 can be marked variously Nov 10 23:44:02 o Nov 10 23:44:11 now i understand Nov 10 23:44:16 OverCoder: so 32 would always work, but 64 can be sometimes faster, can be not (if your have 64 os, otherwise won't work at all) Nov 10 23:45:07 icedp: I not sure if qemu can't SLOWLY emulate x86_64 on 32bit Nov 10 23:45:26 //and even on ARM Nov 10 23:46:39 why google names it's android class variables "m\S+"? Nov 10 23:46:45 i mean why they start with m? Nov 10 23:47:07 they have a page discussing their naming schema Nov 10 23:47:10 OverCoder, I think it's short for "my" Nov 10 23:47:14 o Nov 10 23:47:35 and also to distinguish from local vars Nov 10 23:47:46 http://google-styleguide.googlecode.com/svn/trunk/javaguide.html Nov 10 23:54:56 hi everyone Nov 10 23:55:02 i have a question Nov 10 23:55:11 about andoid design Nov 10 23:55:24 Leeds another one http://www.reddit.com/r/androiddev/comments/2lvpyz/app_just_got_flagged_after_2_yearscant_figure_out/ Nov 10 23:56:31 http://www.graphicsfuel.com/2014/02/15-free-mobile-app-ui-psd-kits/ how can use it in android Nov 10 23:57:20 How to make beautiful design in Android? Nov 10 23:57:44 first you learn to code in java, then learn Android Java... Nov 10 23:57:58 I know java Nov 10 23:58:27 and i know the layout in android Nov 10 23:58:39 so what's your question ? Nov 10 23:59:02 to make beautiful design Nov 10 23:59:10 how can do it Nov 10 23:59:12 ? Nov 10 23:59:35 for example this site :http://www.graphicsfuel.com/2014/02/15-free-mobile-app-ui-psd-kits/ Nov 10 23:59:47 well, think it's time to dive into the NDK Nov 10 23:59:47 yes yes i saw your website full of screenshots, what about it ? Nov 10 23:59:49 about time. Nov 11 00:00:47 i want to use psd button Nov 11 00:00:57 Swenng, the best way that I've found is to use Sketch. So much better than using Photoshop for this kinda stuff Nov 11 00:01:22 http://www.google.com/design/spec/resources/sticker-sheets-icons.html Nov 11 00:01:27 download the sticker sheet and get started Nov 11 00:04:02 ok i am downloading now Nov 11 00:04:11 how can use it Nov 11 00:04:12 ? Nov 11 00:04:30 eclipse or android studio ? Nov 11 00:05:01 is sticker a toolbox item ? Nov 11 00:09:43 Anthaas appel1 bankai_au canvs2321 danijoo desmin88 detachYo doogan dragorn Estel flan3002 g00s gordon_ icedp JacobTabak Jesperhead Lachezar lasserix lasserix_ Mavrik monsti Napalm ravilov sarbs StingRay_ TacticalJoke the_fog thepoosh tricknology whatitis- yuizy Zharf: Thanks very mucvh for all your help! I've now got my protype to the point where I can show the user. 39 Java class files... Nov 11 00:09:45 ...include 13 Fragments, most of the Java files are for parsing user data (stored in files) which define the test result screens. Nov 11 00:09:57 canadiancow is that allowed Nov 11 00:10:31 ^^ lol Nov 11 00:12:03 lasserix and lasserix_ just to make sure :) Nov 11 00:13:11 it'd be nice if you could detail how each person has helped, that'd be great - thanks Nov 11 00:13:34 be sure to include all the people who *didn't* help too Nov 11 00:13:47 at 0% contribution Nov 11 00:15:52 * Afzal raises hand :/ I feel bad for not being on that list Nov 11 00:16:33 bankai_au: That would be decidedly non-trivial. Some people helped multiple times, but a single comment could have had great practical help. There is also the possibility I missed one or two... Nov 11 00:16:54 Nivag you have to put is in the credits for your app Nov 11 00:17:34 a spash screen will do Nov 11 00:17:34 The following classes could not be instantiated: Nov 11 00:17:34 - android.support.v7.widget.Toolbar (Open Class, Show Error Log) Nov 11 00:17:39 why? Nov 11 00:17:46 show error log Nov 11 00:17:48 look at stack trace Nov 11 00:17:51 see why yourself ! Nov 11 00:18:13 o Nov 11 00:18:27 i've just cleared it :P Nov 11 00:21:10 icedp JacobTabak Jesperhead: where in the list, but forgot to put spaces to separate their names Nov 11 00:21:21 plz dont ping Nov 11 00:21:23 :O Nov 11 00:21:53 JacobTabak: too much pong??? :-) Nov 11 00:22:02 i'm actually not kidding Nov 11 00:22:13 sorry Nov 11 00:23:01 i like to be in here and try to help when i can but i'm working at the same time, and if people are pinging me right and left for no purpose i have no choice but to ignore them Nov 11 00:23:27 understood Nov 11 00:30:03 Does the following Linux change, from 2009, mean that Android app developers don't have to worry about using fsync() when doing the "write to foo.tmp; rename to foo" trick to avoid data loss? http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8750c6d5fcbd3342b3d908d157f81d345c5325a7 Nov 11 00:31:57 Hmm, I guess I could look at Android's kernel source. Nov 11 00:36:12 Okay, as far as I can tell, it does. Nov 11 00:37:01 https://android.googlesource.com/kernel/common/+/android-3.10/fs/ext4/namei.c Nov 11 00:41:49 is AndroidPlot the best lib to plot live data? Nov 11 00:45:35 * OverCoder depresses Nov 11 00:49:35 What does it mean to "depress"? Nov 11 00:49:45 I thought that was a transitive verb. Nov 11 00:50:05 ("Depressing a button" or whatever. :) Nov 11 00:50:18 :P Nov 11 00:50:25 idk my native language isn't english :P Nov 11 00:50:38 But i meant I am depressed Nov 11 00:50:53 there are places where you can get help with that Nov 11 00:51:06 Aww, okay. Nov 11 00:51:07 What's wrong? Nov 11 00:51:31 The wrong thing is that Google Play has gazillions of Apps Nov 11 00:51:38 so there's nothing new i can make ._> Nov 11 00:51:52 * OverCoder thinks harder and harder Nov 11 00:51:54 just make stuff for fun Nov 11 00:51:56 How many of those apps are actually good? Nov 11 00:51:56 get good Nov 11 00:51:57 5%? Nov 11 00:52:08 i have a million ideas for things but no time to make them now :) Nov 11 00:52:10 interesting Nov 11 00:52:19 There are many Twitter clients I've tried, and every one of them sucks (IMO). Nov 11 00:52:21 dont worry about making something people want when you're just starting Nov 11 00:52:31 So, while there may be 57 Twitter clients, there are zero good ones. Nov 11 00:52:55 * OverCoder energizes Nov 11 00:53:03 If you were to make a good Twitter client, it'd be the first on Android. Nov 11 00:53:16 Awesome Nov 11 00:53:29 (Disclaimer: I haven't tried every Twitter client. Apologies to resident Twitter-client writers. :D) Nov 11 00:53:33 Can i just name my app "Twitter"? Nov 11 00:53:40 If you want it taken down, sure. :D Nov 11 00:53:50 OK Nov 11 00:53:53 * OverCoder names it Twitter :P Nov 11 00:54:04 But then you'll be even more depressed. Nov 11 00:54:16 * OverCoder slaps himself Nov 11 00:54:18 :P Nov 11 00:54:22 alright then Nov 11 00:54:54 make a game, everyone loves game at least the first 2 days Nov 11 00:54:56 TacticalJoke, https://play.google.com/store/apps/details?id=com.twitter.android&hl=en Nov 11 00:54:58 OverCoder: What is your programming experience like? Nov 11 00:55:00 how about that ^ Nov 11 00:55:07 OverCoder: I hate the official Twitter client. Nov 11 00:55:23 TacticalJoke, intermediate Nov 11 00:55:29 It's not the worst ever, but I hate the UI. Nov 11 00:55:37 i have never made anything because i can't think of anything ._. Nov 11 00:55:41 all i did as an IRC bot lel Nov 11 00:55:50 You could make an IRC client. Nov 11 00:56:06 How many Android apps have you made so far? Nov 11 00:56:10 0? Nov 11 00:56:18 i'm kinda new to android Nov 11 00:56:19 Oh. Then start with something simple. Nov 11 00:56:23 Maybe a calculator? Nov 11 00:56:27 no Nov 11 00:56:32 actually Nov 11 00:56:37 i made lots of apps but only for me :P Nov 11 00:56:57 so i have the idea of how resources work, layouts, etc. Nov 11 00:57:07 just intermediate i think Nov 11 00:57:51 Well, the world is your oyster. While there are many Android apps, there are few that I'd ever call "good". Nov 11 00:58:13 That's what i always say when i open Google play Nov 11 00:58:17 very true Nov 11 00:59:00 i think there are apps wifi tether that only turn tether on Nov 11 00:59:13 damn shit apps Nov 11 00:59:41 Yeah, a lot of it is pointless. Nov 11 00:59:46 And there must be hundreds of torch apps. Nov 11 01:00:09 * OverCoder opens a sticky note Nov 11 01:01:04 If you can make an app that you'll be passionate about, that'll probably make you happy. :) Nov 11 01:01:24 I'm making a Reddit client because I'm a huge Reddit fan. Nov 11 01:01:37 interesting Nov 11 01:01:50 (And because every Android Reddit client I've tried sucks.) Nov 11 01:02:00 Some almost don't suck. Almost. Nov 11 01:02:10 RedReader and BaconNews are two examples. Nov 11 01:02:14 BaconReader* Nov 11 01:02:29 and i'm the guy who uses irc much (actually before i got banned from my favorite channel), then i'll make an irc client Nov 11 01:03:01 Did you enjoy making the IRC bot? Nov 11 01:03:07 a lot Nov 11 01:03:18 I made an IRC client for Windows once. Really enjoyed doing that. Nov 11 01:03:29 The IRC protocol is fun to implement. Nov 11 01:03:35 yea it's just easy to make, easy to fix :P Nov 11 01:03:41 Right. :D Nov 11 01:03:46 The RFC is pretty clear, too. Nov 11 01:03:49 let me check if i deleted the repository of it or not Nov 11 01:03:50 No surprises. Nov 11 01:04:19 https://github.com/MicroDroid/Ice Nov 11 01:04:21 :D Nov 11 01:04:27 very stupidly coded :P Nov 11 01:05:01 i think the last update was before i delete the bot from my pc Nov 11 01:07:33 I'm sure you'll have no trouble writing an IRC client. Nov 11 01:07:45 I guess, by definition, you've already written one. Nov 11 01:08:03 kind of :P Nov 11 01:08:16 i used to chat using it sometimes :P Nov 11 01:08:37 I think, when I wrote my Windows IRC client, it started as a bot. lol Nov 11 01:08:52 Though I had intended to write a GUI client in the first place. Starting as a bot was the easiest way, I think. Nov 11 01:09:03 well tbh Nov 11 01:09:27 when i first started the bot, i was like, WHAT IS A WHILE LOOP! *run* Nov 11 01:10:32 I thought you said you were at an intermediate level of programming? Nov 11 01:11:41 that's was when i first started the irc bot (when i first started to code) Nov 11 01:11:54 How long ago was that? Nov 11 01:11:55 yesterday? Nov 11 01:11:59 um Nov 11 01:12:00 ;P Nov 11 01:12:04 6 monthes? Nov 11 01:12:09 i think? Nov 11 01:12:10 idk Nov 11 01:12:12 i don't remember Nov 11 01:12:34 if I start a service on BOOT_COMPLETED, is there a way to see if it actually is running? (http://stackoverflow.com/a/5439320/1747491) Nov 11 01:13:31 what's the point of asking a question followed by an answer? Nov 11 01:13:33 ._. Nov 11 01:13:50 Is there a limit to what shared preferences can store? Nov 11 01:14:09 its just xml bound by io like any other file Nov 11 01:14:11 it's just not little afaik Nov 11 01:14:48 lasserix, it's stored in an XML file, you can find is somewhere in /data/app/com.exmaple.shit/ Nov 11 01:15:00 oh cool thanks Nov 11 01:15:06 lasserix what are you trying to do Nov 11 01:15:32 asking for a friend who is having a bug related to something that looks like he is overflowing shared preferences Nov 11 01:15:57 time to sleep Nov 11 01:16:00 good night everyone Nov 11 01:16:07 night Nov 11 01:18:27 Hi . I want to read a book with exercises that I m suppose to do. not only toturials Nov 11 01:25:04 cmon adb integration !! Nov 11 01:25:07 you can do it! show me my logcat! Nov 11 01:26:08 oh interesting, i closed the app with the task manager (although it had already crashed) and it fixed logging Nov 11 01:37:07 how can I see the logs for a service that I start on BOOT_COMPLETED? Nov 11 01:37:32 same as anything else Nov 11 01:38:16 also; adb shell am broadcast -a android.intent.action.BOOT_COMPLETED -c android.intent.category.HOME -n package_name/class_name Nov 11 01:42:10 JacobTabak if I want to start a service that will run forever (to listen to a websocket connection), would IntentService be a good choice? Nov 11 01:42:18 no Nov 11 01:42:24 intent services is for a work queue Nov 11 01:42:51 you also definitely dont want to run a service thats listening to a websocket forever Nov 11 01:43:02 that would kill the battery right quick Nov 11 01:43:57 JacobTabak wonder what the drain would be like Nov 11 01:44:22 JacobTabak if I wanted to try, what service should I use? Nov 11 01:44:41 a regular service Nov 11 01:44:54 dont do this Nov 11 01:45:04 why would you possibly need to listen for that logn? Nov 11 01:45:16 JacobTabak keep a watch sync'd with a web app Nov 11 01:45:47 wat Nov 11 01:46:12 why would it get out of sync? because of events? Nov 11 01:46:14 JacobTabak I want a smart watch to be notified whenever something particular happens on a web-app Nov 11 01:46:20 push notifications? Nov 11 01:46:45 JacobTabak yeah, so right now my web-app fires off an event with, let's call it Foo, is changed. I want the watch to always display the latest Foo Nov 11 01:46:54 use push notifications Nov 11 01:47:47 JacobTabak was hoping to stay away from HTTP and use WebSockets though Nov 11 01:48:02 so you can drain battery? Nov 11 01:49:00 JacobTabak JacobTabak if the push notification can do it, why wouldn't the WebSocket work. I do need to find out more about how WebSockets work under the hood Nov 11 01:50:14 JacobTabak what I meant to ask was, why does't the push notification use up battery as well Nov 11 01:50:26 because one connection is maintained for the entire device Nov 11 01:50:39 rather than having several apps running all the time with their own connections to their own servers Nov 11 01:51:09 there are also added things to the gcm protocol like 'delay_while_idle' Nov 11 01:51:57 keeping your service running consumes a ton of of memory and cpu in addition to making network calls whenever it feels like it to keep the connection alive Nov 11 01:52:33 plus gcm is tightly integrated into google play services, optimized by many engineers to maximize battery life :) Nov 11 01:52:40 so use it!! Nov 11 01:52:51 JacobTabak thanks man! Nov 11 01:52:59 JacobTabak definitely going to check it out **** ENDING LOGGING AT Tue Nov 11 03:00:00 2014