**** BEGIN LOGGING AT Tue Jun 28 02:59:58 2016 Jun 28 03:02:04 "Note: By downloading Google Earth from the direct download links above, you're also agreeing to the Google Earth/Maps Terms of Service" .. why can't they do this with SDK manager stuff Jun 28 03:04:19 They do. Jun 28 03:04:32 They make you accept the license when you download it. Jun 28 03:17:43 thats my point; you accept implicitly by downloading. you don't have to check any boxes Jun 28 03:19:23 because google makes development as hard as possible Jun 28 03:19:33 need to weed out the clueless and complainers Jun 28 03:20:31 because eclipse did it too Jun 28 03:21:20 but mostly because there's a big movement to have click-to-agree be a legal agreement Jun 28 03:21:31 it really helps the companies screw people over, so you can imagine they want it to happen Jun 28 03:24:36 You can't do this agreement thing with maven, I suspect it's due to the transitive aspect of libraries Jun 28 03:25:38 maven scares the f' out of me Jun 28 03:25:53 which aspect Jun 28 03:25:54 download tons of random code from internets and execute it? sure! Jun 28 03:26:11 You can agree to download X but then X downloads all its transitive dependencies and you haven't agreed to that Jun 28 03:26:31 zinx, gradle is the same way Jun 28 03:26:41 so you java repositories in general Jun 28 03:26:45 not saying it isn't, all those auto-download tools scare me :P Jun 28 03:26:45 Anyway, build tools happily bypass the SDK managers these days so not really a concern Jun 28 03:26:54 the same is true with most all package management systems Jun 28 03:27:10 difference being that most package management systems i use are curated Jun 28 03:27:16 brew, ports, yum, apt get, etc Jun 28 03:27:20 things like maven/gradle are not Jun 28 03:27:38 now, there's another fine line Jun 28 03:27:43 I wouldn't say brew is curated since anyone can upload new versions of things they don't own Jun 28 03:27:49 i don't use brew Jun 28 03:27:52 what you download isn't necessarily executed Jun 28 03:28:10 pfn: it can be. which is enough to assume everything runs code. Jun 28 03:28:14 from a security standpoint. Jun 28 03:28:38 you say maven scares you, yet just about everything you download through maven isn't run until you tell it to Jun 28 03:29:01 not sure that's true :/ Jun 28 03:29:33 It is. We just trust maven repos because we hope that malware will have been detected by the community by the time we download it Jun 28 03:29:35 except for plugins, nothing you download gets executed on your pc Jun 28 03:29:37 We trust the upvotes. Jun 28 03:30:09 and for that, everything on central is signed Jun 28 03:30:11 * kbs recommends https://github.com/WhisperSystems/gradle-witness Jun 28 03:30:30 if you trust your plugin maintainer then the chain remains intact Jun 28 03:30:42 i do not :) Jun 28 03:31:21 The signature aspect is an illusion of security Jun 28 03:31:28 i'm cool w/ downloading each dependency [of dependencies] myself though :/ Jun 28 03:31:39 The real threat is the author of a package one day being paid to insert some malware or maybe just add advertising or tracking Jun 28 03:32:03 CedricBeust, right, it's a matter of trust Jun 28 03:32:07 I'm surprised it doesn't seem to happen at all, to be honest Jun 28 03:32:15 i think somebody at i/o brought up the license bologna in sdk manager, but i can't remember the response Jun 28 03:32:16 CedricBeust: mostly i use apt-get, so i am trusting the debian maintainers :/ Jun 28 03:32:30 CedricBeust: reputation is fairly important in the open source community Jun 28 03:32:31 well it was around just having all the artifacts in maven repository Jun 28 03:32:38 CedricBeust, time to start plugging ads into jcommander and testng, Stat! Jun 28 03:32:39 zinx: Same illusion as trusting the signed packages from maven. They are not the problem. The problem is the human authors, who are... well, human Jun 28 03:32:44 One solution may be around transparency/audit trails, in addition/separate from/ trying to prevent bad actors... Jun 28 03:33:11 CedricBeust: plus, the open source community tends to attract the more common people - i.e., the ones who actually like to help, rather than the less common that only give a shit about themselves, that you always hear about on the news and such :P Jun 28 03:33:27 zinx its more likely that some transitive dep has a security vuln than some outright malicious thing Jun 28 03:33:35 g00s: yes Jun 28 03:33:47 there are some statistics on that , see if i can find Jun 28 03:34:02 Why is the topic still talking about N preview? Jun 28 03:34:02 at least with maven you can turn off transitive dependenceis ;) Jun 28 03:34:09 zinx: I think you're being naive. Sure, everyone is like that at first but imagine the scenario where someone writes something that gets insanely popular and then gets paid to insert some malicious stuff in their software. Can't blame them for accepting. Jun 28 03:34:12 and put some hash plugin to it Jun 28 03:34:18 good luck with gradle Jun 28 03:34:40 CedricBeust: they have to get offered enough that they can be ok with never being involved with the open source community again, though Jun 28 03:34:58 gradle does have a way to validate hashes though, if you want... Jun 28 03:35:06 Ologn: What would you like to see instead? Jun 28 03:35:10 kbs: it does now? Jun 28 03:35:18 CedricBeust: in any case, i don't have to trust one person :) Jun 28 03:35:20 2 years ago it couldn't be done Jun 28 03:35:33 gordon_: https://github.com/WhisperSystems/gradle-witness Jun 28 03:35:55 finally Jun 28 03:35:58 thanks Jun 28 03:36:15 yes, it's fairly simple; surprised it isn't one of the builtins... Jun 28 03:36:40 well, it's not built in maven either Jun 28 03:36:44 ah Jun 28 03:36:47 doing it manually would suck Jun 28 03:37:06 and for the most part, having to define it in your build manually like shown there sucks Jun 28 03:37:16 is there one for transitive dependencies too ? Jun 28 03:37:22 it's more of an audit trail, fundamentally. Jun 28 03:37:30 should be able to just run dependency fetching once, and store all signatures Jun 28 03:37:39 yes, there's a task it defines for that as well Jun 28 03:37:39 then verify thereafter Jun 28 03:37:54 that's reasonable then Jun 28 03:37:55 that's how it worked with maven too Jun 28 03:38:19 it generated txt file with hashes at first and then if file was available it was checking them Jun 28 03:38:41 CedricBeust, perhaps http://goo.gl/2roj7i ? Jun 28 03:38:52 yep. the README has the equivalent procedure outlined... Jun 28 03:39:14 Ologn: but this blog post points to "Android N Developer Preview"... Jun 28 03:39:34 https://android-developers.blogspot.jp/2016/06/android-changes-for-ndk-developers.html Jun 28 03:39:38 grab one from today ;) Jun 28 03:40:38 wonder if skype will catch up Jun 28 03:42:42 The link is still to the preview but to the main site, not the blog post Jun 28 03:43:16 cool Jun 28 03:50:24 zinx found it :D Jun 28 03:50:36 this might not be the original one i read, but has link to research paper Jun 28 03:50:38 http://www.taringamberini.com/en/blog/java/programming/ready-to-use-java-dependencies-vulnerability-checker/ Jun 28 03:51:06 i remembered "26" haha, that narrowed it down Jun 28 03:54:57 that owasp dependency checker looks pretty cool Jun 28 04:38:41 and has integration with jenkins Jun 28 04:38:43 nice Jun 28 04:44:24 Life cycle is important when i make app? Jun 28 04:44:45 yeah kinda sorta Jun 28 04:44:56 jesseg: what you mean? Jun 28 04:45:53 mimtf, Your question had several possible meanings, so I'm not sure which of several answers to give you :) Can you explain more? Jun 28 04:46:15 :| Jun 28 04:47:30 If you're just getting started in android coding in java, don't worry about life cycle right now, just following the examples and experiment. As time goes on, strange things will happen and you'll be scratching your head and you'll find out that it's because of Android's strange life cycle management. Jun 28 04:47:51 Or you could learn all about how android handles life cycles, then you won't be surprised when strange things happen.. at least not as often :D Jun 28 04:48:04 Being created Starting Resuming Pausing Stopping Being destroyed Jun 28 04:48:47 ahh Jun 28 04:48:53 ok thanks jesseg :) Jun 28 04:49:02 I wonder if I'm supposed to put a pause/resume hook in my app. Jun 28 04:49:06 I'm just learning my self Jun 28 04:49:14 so you can teach me Jun 28 04:49:42 :| Jun 28 04:50:42 I'm also the only guy here who thinks it's a good idea to have an exit button in an app which truly exits the app if the user would find that convenient, so I might be a bad influence:D Jun 28 04:51:44 jesseg: anyway you have made android app? Jun 28 04:51:56 I did notice my app keeps on running when it's not showing on the screen, probably because I'm not putting any hooks into the pause/resume callbacks Jun 28 04:52:20 mimtf, I'm working on a few apps but I have not sent anything to play store. Jun 28 04:52:45 :| Jun 28 04:53:03 I'm more into using android as a tool, like making an oscilloscope app that uses microphone, or a data logger that logs irrigation water flow for farmers to a central web server Jun 28 04:54:00 One app I made was a simple echo app - whatever sound went in the microphone came out the speakers half a second later. Really dumb and simple but still kind of fun Jun 28 04:54:05 are you mechanic or farmer? Jun 28 04:54:12 yes Jun 28 04:54:16 both Jun 28 04:54:24 lol Jun 28 04:56:21 as a matter of fact, an app I started a couple years ago and never finished was going to use the microphone to listen to the sound of the exhaust on an engine and show which cylinder was misfiring, or at least whether it was a random misfire or a specific cylinder :D Jun 28 04:57:17 i need game app for earning money? Jun 28 04:57:46 Is that a question or a statement? Jun 28 04:57:56 haha Jun 28 04:58:03 Is that a question or a statement! Jun 28 04:58:31 :| Jun 28 04:58:47 so i find someone who can give me apk file. Jun 28 04:59:15 to upload game app to google store Jun 28 05:00:11 In case English is not your first language, I'll give you a helpful suggestion. When you make a statement, which means to assert that something is true, you end it with a period (.) or an exclamation mark (!). If it is a question, that is to say, if you are asking whether something is so, then you end it with a question mark (?). Jun 28 05:00:31 mimtf, ahh, you want someone to write a game for you to make money off of? Jun 28 05:00:59 yeah Jun 28 05:01:09 because i have no skill yet Jun 28 05:01:19 Is a really simple game OK? Jun 28 05:01:31 yeah Jun 28 05:01:38 you made it already? Jun 28 05:02:00 not in Java but I've made really simple games (like guess a number between 0 and 5) in other languages Jun 28 05:02:13 that'll make millions Jun 28 05:02:15 I could make it in a few minutes perhaps Jun 28 05:02:21 LOL yeah won't it Jun 28 05:02:34 give me one Jun 28 05:02:35 plz Jun 28 05:02:41 if you combine the # guessing game with soundboard, guaranteed hit Jun 28 05:03:01 mimtf, k give me a few minutes, but if you're gone when I'm done I may just upload it myself to the play store :D Jun 28 05:03:28 i refuse to pay any more than 20 bucks for this game Jun 28 05:03:50 bankai_, we'll make you a deal for $19.99, right mimtf ? Jun 28 05:04:04 i have no money at all Jun 28 05:04:18 well let me get to coding and see what I can do Jun 28 05:04:28 if i earn money from google store, then i will give you money. Jun 28 05:04:37 lol Jun 28 05:04:38 oh you can keep all the money from this one Jun 28 05:04:40 i'm not sure if this is serious conversation or not Jun 28 05:04:51 yeah you can keep it for sure Jun 28 05:05:00 thanks jesseg Jun 28 05:05:04 bankai_ when i win the lottery i'll send you a postcard Jun 28 05:05:07 i think that you are really kind Jun 28 05:05:26 bankai_ of my dog :) Jun 28 05:05:54 mimtf, is it OK if it has an Exit button for when the customer is done playing for the day? Jun 28 05:05:56 i'll scan it in, make a life wallpaper (do these still exist?) and sell it on the store for millinos Jun 28 05:06:05 millions too Jun 28 05:06:16 bankai_, I don't know, millinos sounds better Jun 28 05:06:18 ok good jesseg Jun 28 05:07:11 make a came called crap shoot, where you shoot crap Jun 28 05:07:15 jesseg: put ads in there too - extra revenue Jun 28 05:07:41 mimtf, or how about this, a little game where a green block has to jump over hurdles as he moves along, and the user says "Jump" to make him jump? Jun 28 05:08:11 ok give me any one Jun 28 05:08:12 plz Jun 28 05:08:13 bah i can just imagine kids on the bus/train playing that Jun 28 05:08:23 hahaha Jun 28 05:08:26 jump ! JUMP!!!! I SAID JUMP JUMP!!!! Jun 28 05:08:52 I was tired and about to go to bed, now I'm all excited Jun 28 05:09:58 some cows love to be milked Jun 28 05:10:09 you could call it Jumpy Jumper Jun 28 05:10:23 g00s, I like your thinking Jun 28 05:10:27 Jumpy Jim the Jumpy Jumper Jun 28 05:10:35 Jumpy Jumper Mc JumpFace Jun 28 05:10:50 mimtf, shall we call it Jumpy Jim? Jun 28 05:11:10 good Jun 28 05:11:18 give it to me fastly Jun 28 05:11:19 :) Jun 28 05:11:32 mimtf, yeah I'll try to have it done before your internet bill gets shut off Jun 28 05:11:55 thanks jesseg Jun 28 05:12:20 anyway can i see your game playing in the youtuble? Jun 28 05:12:39 g00s, hmm is there a way to clone a project in AS if I want to branch a project? Jun 28 05:13:00 jesseg i dont use git from AS, sorry no idea Jun 28 05:13:01 mimtf, I don't have any game made yet but as soon as I do I'll give it to you Jun 28 05:13:16 jesseg: please hurry up... Jun 28 05:13:19 g00s, I don't either. but I mean "Save Project As" Jun 28 05:13:28 bankai_, hahaha are you having as much fun as I am? Jun 28 05:14:44 i'm sure i'm not, i'm not the one writing the game of the century :) Jun 28 05:14:54 lol Jun 28 05:15:01 not yet? jesseg Jun 28 05:15:22 mimtf, no,even the light from distant stars takes time to reach the earth.. Same for well written game bits. Jun 28 05:15:58 hacker would love this guy to distribute their trojaned games Jun 28 05:16:04 but I've copied my oscilloscope app to a folder named JumpyJim now I just need to modify it into a voice activated game Jun 28 05:16:27 :| Jun 28 05:16:35 how long it takes time? Jun 28 05:16:38 make sure it's not english only Jun 28 05:16:56 mimtf, probably about 45 minutes Jun 28 05:17:26 at least in 45 minutes I'm going to bed, have to finish another day if I can't complete it in that time Jun 28 05:17:33 but it is simple game so it be easy Jun 28 05:18:23 45 minutes says the guy who said "an app I started a couple years ago and never finished" Jun 28 05:19:00 shmooz, yeah yeah, that was before I quit my full time job so I could spend more time doing the things I love, which includes coding. Jun 28 05:19:12 coding games for randoms on IRC? Jun 28 05:19:28 bankai_, that's a good enough excuse to get me coding. Jun 28 05:26:33 jesseg: joking? Jun 28 05:26:46 you just talk with guys :( Jun 28 05:27:00 instead of making android app Jun 28 05:27:03 mimtf, no I'm really trying to write you a simple game Jun 28 05:27:16 it'll work in any language too Jun 28 05:28:59 will it be accessible? what about visually impaired? Jun 28 05:29:30 bankai_, oh maybe I should make it chirp whenever Jim comes up to an obstacle so he knows to shout "Jump" Jun 28 05:29:36 ok thanks jesseg Jun 28 05:29:37 but I'm not going to Jun 28 05:29:44 the user will have to be able to see Jun 28 05:29:52 jesseg i got an app idea if u want to make me Jun 28 05:29:57 i will pay u in mtn dew Jun 28 05:30:18 sasser, I don't drink mtn dew but root beer is fine LOL Jun 28 05:30:24 get in line, I'm next! Jun 28 05:31:02 mimtf, OK I got my O-Scope project copied over to a project called JumpyJim and now I'm about to start making it into the game. Jun 28 05:31:19 thanks jesseg Jun 28 05:31:20 :) Jun 28 05:31:32 make it fastly. Jun 28 05:31:39 i have no money for living Jun 28 05:31:48 sure, sure Jun 28 05:31:55 i need an app to solve world hunger and the energy crisis Jun 28 05:31:59 2 weeks enough time? Jun 28 05:32:04 :P Jun 28 05:32:06 very kind android developer Jun 28 05:32:30 what about iOS? i hope you're making an iOS version Jun 28 05:32:40 mimtf: Stop asking people to make games for you. Jun 28 05:32:44 and windows mobile, for those three users who have windows phones Jun 28 05:33:00 LunarEclipse120: but guy want to make it for me. Jun 28 05:33:01 :( Jun 28 05:33:08 bankai_, sorry I have a love-hate relationship with Apple. Love to hate it. Jun 28 05:33:22 steve balmer, bill gates and satcha nadela Jun 28 05:33:23 yeah guy gonna make him one Jun 28 05:33:23 bankai_ hey buddy, i'm one of them ! Jun 28 05:33:29 jesseg: If you are making someone something. YOU take credit for it. Jun 28 05:33:32 Don't spoonfeed. Jun 28 05:33:42 mimtf: If you want to make a game, learn to code and make it yourself. Jun 28 05:33:52 ill gladly take credit, just please sign these releases Jun 28 05:33:53 i m learning now Jun 28 05:33:56 LunarEclipse120, oh it's a very simple game. Nobody will buy it. It'll be open source. Jun 28 05:34:07 jesseg: Don't spoonfeed. Jun 28 05:34:09 g00s: still? Jun 28 05:34:11 actually stupid people probably will buy it LOL Jun 28 05:34:16 windows mobile is superior technology. but it lost. like OS/2 to Windows Jun 28 05:34:20 mimtf: Make it yourself. Jun 28 05:34:24 Don't have people do the work for you. Jun 28 05:34:31 good motto, stupid people will buy it Jun 28 05:34:41 next millionaire attiude right there Jun 28 05:34:44 but i study anroid for 3 month. so i want game app now for living cost like food and sleeping. Jun 28 05:34:49 android Jun 28 05:34:55 LunarEclipse120, no no it's other way around. He's teaching me how to code. I'm the student, since I'm learning. Jun 28 05:35:01 mimtf: It isn't going to earn you enough to do that. Jun 28 05:35:07 jesseg: Don't give him credit though. Jun 28 05:35:13 jesseg: Or the revenue from it. Jun 28 05:35:22 bankai_ but i won't get another Lumia - not surprised if MS just quits in this area Jun 28 05:35:34 ok I go back to coding. Jun 28 05:35:37 LunarEclipse120: yeah $19.00 Jun 28 05:35:43 i thought nokia were going to start making phones again Jun 28 05:35:45 mimtf: Don't ever expect to make much by making an app. Jun 28 05:35:50 Even just $19 dollars. Jun 28 05:35:59 when i earn money from app, then i will give jesseg $19. Jun 28 05:36:01 LunarEclipse120: Jun 28 05:36:11 mimtf: The topic says it. Jun 28 05:36:21 IRC is NOT a place to give jobs to people. Jun 28 05:36:27 i expect money all the time but never make it Jun 28 05:36:28 :( Jun 28 05:36:36 We help people for free. Jun 28 05:36:49 yeah right for flee Jun 28 05:36:57 give me it for free. Jun 28 05:37:00 its a flee market ! Jun 28 05:37:03 instea of $19 Jun 28 05:37:06 mimtf: If you want to have someone make an app, go ask on Fiverr. Jun 28 05:37:08 instead Jun 28 05:37:15 I work for flee. Sometimes for ticks too. Jun 28 05:37:17 mimtf: We aren't going to make you an app. You learn to code and YOU make it. Jun 28 05:37:18 Fiverr? Jun 28 05:37:20 kicks I mean Jun 28 05:37:21 We don't spoonfeed. Jun 28 05:37:31 mimtf: http://lmgtfy.com/?q=fiverr Jun 28 05:37:37 jesseg you have cooties :( Jun 28 05:37:45 haha Jun 28 05:37:58 okay stop distracting me I have world famous stupid simple game to write. Jun 28 05:38:00 probably plenty of fleas and ticks in AOSP Jun 28 05:38:10 mimtf: She isn't even making it for you. Jun 28 05:38:13 If flashy nerd was good this will be better :P Jun 28 05:38:28 mimtf, she's a he Jun 28 05:38:39 google just made flappy bird popular cause the guy lives in vietnam Jun 28 05:38:41 everyone knows that Jun 28 05:38:43 give me a second to send screen shot Jun 28 05:38:53 i can make android app. but i takes time about 3 month Jun 28 05:38:57 mimtf: Taking an open source game and putting it on the app store is stupid. No one will pay for it. They will build the source. Jun 28 05:39:18 mimtf: You can make an app in 5 min. The time depends on the quality of an app. Jun 28 05:39:45 i think that if i make android app, then #android-dev 1,000 member will buy it Jun 28 05:39:54 5 minutes is kinda pushing it - takes about 4 to do first build of hello world Jun 28 05:40:01 What are you on about? Jun 28 05:40:11 g00s: It takes you that long to build? Jun 28 05:40:22 LunarEclipse120 have you built anything yet O.o Jun 28 05:40:22 he's using a crappy old macbook Jun 28 05:40:28 he's going to sell it back to us lol Jun 28 05:40:34 It takes 2 minutes to to do the initial gradle sync. Jun 28 05:40:48 yeah only takes my amd 8320 like 2 mins to compile 10 activities Jun 28 05:40:56 ;p; Jun 28 05:40:56 Then 2 to do a few changes Jun 28 05:41:03 Then 30 seconds to build an apk Jun 28 05:41:11 Add another 5 to initilize adb Jun 28 05:41:27 lol if u use phone, like ~2 Jun 28 05:41:38 I use my phone. Jun 28 05:41:44 It takes me like 5 seconds to initilize it. Jun 28 05:41:48 i will make ‘Zombie vs dracular’ Jun 28 05:41:55 *dracula Jun 28 05:42:02 yeah Jun 28 05:42:04 Dracula Jun 28 05:42:10 sasser: Could be because I'm using ADB over network. Jun 28 05:42:22 ya i dont do that Jun 28 05:42:24 don't use Dracula in your app name, he will sue Jun 28 05:42:46 DMCA takedown to google Jun 28 05:42:49 g00 who? Jun 28 05:42:52 and suck the blood out of your dev account Jun 28 05:42:54 g00s: who? Jun 28 05:42:54 not if he doesnt run debugger hehe Jun 28 05:43:45 mimtf: Copyright owner of dracula Jun 28 05:43:58 lol Jun 28 05:44:04 Vlad Jun 28 05:44:11 then ‘Zombie vs Dude’ Jun 28 05:44:24 are the copyright owners draculas mum? Jun 28 05:44:25 I had a DMCA takedown for a month Jun 28 05:45:30 Because I had a 96 year old book in my app Jun 28 05:45:47 Which Google itself gives away on Play for free Jun 28 05:45:47 bram stoker is like 1800s Jun 28 05:46:00 im sure hes happy people are still making money after hes been dead 150 years Jun 28 05:49:49 Zombie vs Dude is probably safe, unless Dude decides to sue Jun 28 05:50:25 i would put Zombie vs Area Guy Jun 28 05:51:25 Zombies vs Dalmatians Jun 28 05:51:31 woof woof... UHHH Jun 28 05:51:39 easy sound effects Jun 28 05:52:28 Zombie vs Transylvania Guy sucking blood Jun 28 05:55:31 Ologn, a 96 year old book could have been kept in copyright still Jun 28 05:56:04 Zombie vs Area Impaler Jun 28 05:57:02 anyway, dracula is well out of copyright now Jun 28 05:57:55 mimtf, I'm still working on it. So far it says "Welcome to Jumpy Jim!" across the top, and has a graphics area, and a quit button. Jun 28 05:58:26 anyway when you can send it to me? jesseg Jun 28 05:58:45 i don’t eat anything for 3 days. Jun 28 05:58:50 :| Jun 28 05:58:51 mimtf, I'll put it on my website for you to download when it's done. I'd take a pic and post that but that'd just take more time Jun 28 05:58:54 LOL Jun 28 05:59:04 mimtf: eat computer Jun 28 05:59:12 thanks jesseg :) Jun 28 05:59:15 yeah silicone taste yummy after 3 days Jun 28 05:59:22 silicon not have bad either Jun 28 05:59:31 gordon_: only ironman can eat it. Jun 28 05:59:57 iron man is just rich guy with computer powered (titanium ?!) suit Jun 28 05:59:59 mimtf, what color do you want background and what color do you want Jim, and what color do you want obstacles ? Jun 28 06:00:18 lol Jun 28 06:00:26 jesseg: i believe you Jun 28 06:00:49 i would make the obstacles transparent Jun 28 06:00:55 jim too Jun 28 06:01:05 id just delete the whole thing Jun 28 06:01:13 save yourself some time Jun 28 06:01:25 especially if android-dev is going to get 100 percent commentary Jun 28 06:01:34 hahaha Jun 28 06:02:31 mimtf, how about Jim is green till he hits a boulder then he goes orange, then when he hits another boulder he goes read, then when he hits another boulder he quites.. Jun 28 06:03:02 ok just do it jesseg Jun 28 06:03:07 LOL Jun 28 06:03:08 K Jun 28 06:05:34 https://code.facebook.com/posts/857070764436276/memory-optimization-for-feeds-on-android/ Jun 28 06:11:28 in order to make android app, then i must know java well? Jun 28 06:11:49 yes Jun 28 06:12:54 i don’t know java at all Jun 28 06:12:56 lol Jun 28 06:13:04 i just know c Jun 28 06:13:09 good luck Jun 28 06:13:12 :| Jun 28 06:13:31 do you know OOP ? :D Jun 28 06:13:48 mimtf, well you can also learn NDK which lets you write in C/C++ Jun 28 06:13:55 hi guys Jun 28 06:14:22 guys, I have a question Jun 28 06:14:30 hero_biz: just ask... Jun 28 06:15:11 if I build my ndk with platform api 21 (andorid_21), it won't run on a device with an andoird with api level 19? Jun 28 06:17:21 mimtf, okay I have Jim jumping up and down... but upside down.. gotta fix that. Jun 28 06:17:37 :) Jun 28 06:17:39 oh great Jun 28 06:18:05 hero_biz: it will work Jun 28 06:18:18 just set minSdk in gradle file to which one you one Jun 28 06:18:29 how long it takes time to learn java? Jun 28 06:20:16 @gordon: I have built openssl on api-level 21, because only 21+ has 64 bits version(need for emulator). but device that I testing has andoird 19. then I cannot use that library for my deivce? Jun 28 06:20:42 @mimtf: depend how quick you are in learning new programming language. Jun 28 06:20:50 hero_biz: Please don't use @ on IRC. Jun 28 06:21:01 mimtf, it depends. And Java ( as of for Android ) is pretty big! Jun 28 06:21:04 oh sry Jun 28 06:21:11 mimtf: Depends on alot of things. Jun 28 06:21:24 ok Jun 28 06:21:38 then i can do it within 24 hour. Jun 28 06:21:41 hero_biz: Use something like this. As using @ can cause some people's clients not to register it as a mention, and it can make people get triggered. :P. Jun 28 06:22:06 <.< Jun 28 06:22:09 ok :) Jun 28 06:22:13 darn, learn some java before learning android Jun 28 06:22:19 only habit from ther channels. Jun 28 06:22:27 so many ppl here asking basic pure java questions ~~ Jun 28 06:22:42 mimtf: I learn soem as beginer in 2-3 days. Jun 28 06:22:46 Ashiren: It doesn't work that well. Since most of the programming you need to learn is the function names. Jun 28 06:23:01 *beginner Jun 28 06:23:11 ok hero_biz Jun 28 06:23:12 :) Jun 28 06:23:39 I have built openssl on api-level 21, because only 21+ has 64 bits version(need for emulator). but device that I testing has andoird 19. then I cannot use that library for my deivce? Jun 28 06:23:49 mimtf: Knowing your tendencies. Please read this: http://catb.org/~esr/faqs/smart-questions.html before asking any more questions. Thanks. Jun 28 06:24:04 ok LunarEclipse120 Jun 28 06:24:37 anyway i will lie down for some minute. Jun 28 06:24:43 too sleepy now Jun 28 06:25:14 mimtf, still working on it. Jun 28 06:25:27 its hard work getting others to write your app Jun 28 06:25:35 Yeah. Jun 28 06:25:49 Esspecially when you are going to try and make money for someone elses work. Jun 28 06:26:03 jesseg: Please for ethical reasons, just give him the source code. Jun 28 06:26:12 On GitHub or something. Jun 28 06:26:17 And add a license to it. Jun 28 06:26:23 So he can't sell it. Jun 28 06:29:47 LunarEclipse120, Can I license it as Open Source Freeware? Jun 28 06:30:28 LunarEclipse120, I'm seriously not a good java developer. I hardly know the ropes. It's just a fun practice assignment. Jun 28 06:31:17 jesseg: Put it on GitHub or something, and use a Creative Commons license Jun 28 06:31:30 sounds like a lot of work Jun 28 06:31:41 Actually Jun 28 06:31:44 Use a GNU license Jun 28 06:31:49 It isn't alot of work Jun 28 06:31:51 I forsee a question like " How can I build my own Mars Rover.But dunno what is Solar system " very soon Jun 28 06:31:53 I went to sign up to git hub once and got confused by the terms of service which made it sound like I could only have one free project Jun 28 06:32:05 jesseg: That isn't the case. Jun 28 06:32:13 LunarEclipse120, oh ok Jun 28 06:33:10 Use the GNU licenser Jun 28 06:33:30 It means you can modify the software, but they must use the same license. And that license includes it being free Jun 28 06:33:48 " This program is free software: you can redistribute it and/or modify Jun 28 06:33:48 it under the terms of the GNU General Public License as published by Jun 28 06:33:48 the Free Software Foundation, either version 3 of the License, or Jun 28 06:33:48 (at your option) any later version. Jun 28 06:33:48 This program is distributed in the hope that it will be useful, Jun 28 06:33:50 but WITHOUT ANY WARRANTY; without even the implied warranty of Jun 28 06:33:52 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Jun 28 06:33:54 GNU General Public License for more details. Jun 28 06:33:56 You should have received a copy of the GNU General Public License Jun 28 06:33:58 along with this program. If not, see ." Jun 28 06:34:00 Oh sorry. Jun 28 06:34:02 I forgot about line breaks. Lol. Jun 28 06:34:16 lol Jun 28 06:34:43 As you said it will be open source. It means people won't get scammed into paying for it. Jun 28 06:34:51 Which I think mimtf plans to do for some reason. Jun 28 06:35:32 use gist or pastebin? Jun 28 06:35:56 sudhirkhanger: It isn't that long without the line breaks, I forgot Copy-Pasting brought them over. Jun 28 06:36:14 this game is going to be so lame Jun 28 06:36:31 But Jim is jumping at command now Jun 28 06:42:13 Hmmm the boulder is moving too slowly Jun 28 06:42:49 Lol, just let mimtf make some crappy Unity game and try to sell it for $5. Jun 28 06:44:11 trust me this will be worse Jun 28 06:44:59 Lol. Jun 28 06:48:54 LunarEclipse120: does arm and arm7 libraries differs when I want to build something with ndk?because there are 2 abiFilters(armeabi-v7a and armeabi) but there is only 1 arch-arm api set. Jun 28 06:49:19 what abiFilter I should use for normal devices? arm or arm7? Jun 28 06:49:26 hero_biz: Why did you mention me in that question? Jun 28 06:49:56 I thought the NDK built for ARM, ARM64, and x86 automatically. Jun 28 06:49:56 oops, I thought you may be ableto help a little :) Jun 28 06:50:07 Just ask. If someone knows the answer, they will say it. Jun 28 06:50:32 Mentioning people makes you come off as an attention whore who thinks they have higher majority than others Jun 28 06:50:33 . Jun 28 06:50:56 libraries are for ARM, ARM64 and x86 till andorid-21, after than x86_64 will be avilable too. Jun 28 06:51:06 ok,sry :) Jun 28 06:51:56 when I want to write my flavors, I need to specily arm or arm7.I don't know which one is correct. Jun 28 06:58:15 everytime i think about arm it turns into masturbation.. bad arch Jun 28 06:59:04 hero_biz, the one you need to support on devices Jun 28 06:59:30 sasser: x86 is what turns me on. Heh. Jun 28 06:59:50 sasser, LunarEclipse120 seriously guys? are you 12? Jun 28 07:00:16 Mavrik: 13. Jun 28 07:00:38 What's wrong with a joke? Jun 28 07:01:24 Nothing if it's appropriate. That wasn't. Jun 28 07:02:42 Since when is this a family friendly channel? Jun 28 07:03:57 Hey everyone. I hope you're all well. I'm having some issues with NativeScript's demo application. I installed everything last night but whenever I run the application I get an uncaught exception I can't seem to fix no matter what. Does anyone here have experience with NativeScript? Jun 28 07:04:39 Otherwise I feel like just giving up and finding a tutorial to do it all from scratch. My Java's decent enough, in my opinion. Jun 28 07:04:45 DearVolt: Can we see the actual error? Jun 28 07:05:34 LunarEclipse120: I don't have the entire two screens full with me, but it starts off like: Unhandled Exception Jun 28 07:05:34 java.lang.RuntimeEception: Unable to start activity Jun 28 07:05:34 ComponentInfo(org.nativescript.sampleTasks/com.tns.NativeScriptAcitvity): Jun 28 07:05:34 com.tns.NaiveScriptException Jun 28 07:05:34 TypeError: Cannot read property 'widgets' of undefined Jun 28 07:05:35 File: /data/data/org.nativescript.sampleTasks/files/app/tns_modules/ui/frame/frame.js: line Jun 28 07:05:51 Mavrik, manipulation and brainwashing with the use of words is totally a real thing Jun 28 07:05:55 DearVolt: Pastebin please. Jun 28 07:06:01 I should prolly pastebin xD. But my error doesn't say 'widgets', it said spmething else. Jun 28 07:06:08 Yeah, I realised, sorry. Jun 28 07:06:13 It's fine. Jun 28 07:06:49 BroadcastHandler is narcissistic, it always talks but never listens. Jun 28 07:07:27 tns doctor says all is good. I have the SDK and a whole bunch of stuff. Though something I keep seeing in forums is adb and I don't think I have that (Set up properly anyways). Jun 28 07:08:21 DearVolt: If you have platform tools installed then you have ADB too,. Jun 28 07:08:43 Okay, guessing I just need to add that directory to my PATH then. Jun 28 07:08:47 hahaha OK my game is done Jun 28 07:08:59 like this troll ^ Jun 28 07:09:21 how do I share this thing Jun 28 07:09:29 mimtf, are you around? Jun 28 07:10:21 jesseg: Put the source code on GitHub and license it. Jun 28 07:10:37 If you give this guy the APK we will be really disapointed in you. Jun 28 07:10:42 Does that mean reading a long TOS when I'm dead tired? Jun 28 07:10:56 You read TOS when you sign up for things? Jun 28 07:11:17 LunarEclipse120, you won't be half as disappointed as him. This game is so simple is stupid. But Jim jumps over the hurdle when you say jump. Jun 28 07:11:29 of course I read it. Sometimes they have stupid crazy stuff in them. Jun 28 07:11:53 LunarEclipse120: I have the app running on the phone now. Instead of 'widgets' I have 'ContentLayout' on frame.js:229 Jun 28 07:11:57 jesseg: Are you human and are you 13 or older? Jun 28 07:12:10 DearVolt: Can you pastebin the code? Jun 28 07:12:15 uh oh Jim just vanished. Oh well. the hurdles are still coming Jun 28 07:12:17 Shal I pastebin what I get on the NativeScript CLI side? Jun 28 07:12:29 Because the phone can't copy/paste those errors. Jun 28 07:12:31 LunarEclipse120, yeah I guess I'm both of those LOL Jun 28 07:12:32 ask the nativescript people Jun 28 07:12:46 jesseg: Ok, then you are good to go. I just read it for you. Jun 28 07:12:59 LunarEclipse120, LOL Jun 28 07:13:13 pfn, I tried. They're almost non-existent on here and their forums aren't too active. Figured you guys would know what's what. Jun 28 07:13:23 nativescript is not what's what Jun 28 07:13:27 I'm seriously too tired and I don't know how to upload to github. I had a hard enough time figuring out how to upload to my own local git server. Jun 28 07:13:31 so get support from them Jun 28 07:13:40 pfn: That's what I get for wanting to take shortcuts hahaha. Jun 28 07:14:48 LunarEclipse120, besides it'd be embarrassing to have this thing listed on git hub under my name. Jun 28 07:14:54 You can list it under yours if you want LOL Jun 28 07:15:28 jesseg: Just init is as a remote repo and then comit it Jun 28 07:15:37 add your license and you're don Jun 28 07:16:06 LunarEclipse120: http://pastebin.com/TtfiZsd6 and uploading the phone's screenshots to imgur now. Jun 28 07:16:26 I got another problem. The app still shows up as GWscope since that's my other project I copied to make this since it already had the surfaceview and audiorecorder working.. I can't figure out how to make the project thing it's JumpyJim Jun 28 07:17:15 jesseg: Rename it in project settings? Jun 28 07:17:24 And the actual gradle files Jun 28 07:17:41 LunarEclipse120, I'll try.. Seems there are a hundred and eleven files with the original project name in them Jun 28 07:18:34 jesseg: to to res/strings? Jun 28 07:18:59 LunarEclipse120: http://imgur.com/a/S0Fzx Jun 28 07:19:16 DearVolt: No idea. Sorry. Jun 28 07:19:24 DearVolt: It is late though. Keep that in mind. Jun 28 07:19:39 sasser, you're a genius! Jun 28 07:20:17 No worries. Thanks for checking it out though. Day's just getting started over here haha. Jun 28 07:20:49 LunarEclipse120, wow there are 51MBytes in my JumpyJim folder... Do I have to push that whole thing? Jun 28 07:21:14 jesseg: Yeah, that isn't much though. Jun 28 07:21:45 I bet the apk aint that big Jun 28 07:22:01 jesseg: Well, you need the source code. Jun 28 07:22:29 mimtf, are you able to compile from source? Jun 28 07:22:48 is it possible to use pending intent to wrap implicit intents Jun 28 07:22:58 DearVolt: https://github.com/NativeScript/NativeScript/issues/1558 Jun 28 07:23:02 LunarEclipse120, why don't I just tarball up the project and throw it on my websrever and go to bed? Jun 28 07:23:08 I know to run tar. Jun 28 07:23:17 if you didnt find that Jun 28 07:23:41 jesseg: Also, add a LICENSE.txt file and put http://pastebin.com/Bq1E4tRw that inside it Jun 28 07:23:57 jesseg: You said you wanted to make it open source. Jun 28 07:24:11 That could work though Jun 28 07:24:17 Where do I put LICENSE.txt? Jun 28 07:24:22 In the root of it' Jun 28 07:24:30 sasser: Almost the same, but it's more like https://github.com/NativeScript/NativeScript/issues/1597 Jun 28 07:24:41 But thank you :) Jun 28 07:24:57 LunarEclipse120, oh I wanted FREEWARE Open Source Jun 28 07:25:24 i.e. completely unrestricted source Jun 28 07:25:56 I'll make my own license Jun 28 07:26:42 recommending GPL? lol Jun 28 07:27:29 jesseg: Use the BSD license then. Jun 28 07:28:06 LunarEclipse120, I wrote my own license that I like. It's right short. Jun 28 07:29:02 jesseg: This is better http://pastebin.com/34qgJgbd Jun 28 07:29:33 jesseg: If you want to use your license, make sure it says that any reproductions or changes to the project needs to be put under the same license. Jun 28 07:30:24 LunarEclipse120, hahaha this is just a toy app. It's only got a small handful of lines. I don't care if somebody uses it under another license. Jun 28 07:30:26 never write your own license unless you are a copyright lawyer Jun 28 07:30:34 it will bite you in the ass Jun 28 07:30:52 jesseg: Just use BSD please Jun 28 07:31:00 so is the copyright only good for the year you put? Jun 28 07:31:01 mine says its freeware, no strings attached, and if it breaks you get to keep all the pieces. Jun 28 07:31:02 jesseg: This is to protect people from being scamemd Jun 28 07:31:04 im getting free game 2017 Jun 28 07:31:15 LunarEclipe120 and sasser: I think I may have found the issue - It seems to be the Android version specified in the package.json file. tns-android version is 2.0.0 and the phone is running 5.1, but as far as I know, NativeScript only supports 4.1.2 and up? Jun 28 07:31:16 jesseg: not enough. get a lawyer Jun 28 07:31:23 yawkat, LOL Jun 28 07:31:31 making your own software license is a terrible idea Jun 28 07:31:49 Get a lawyer for a few measly lines of example code? Jun 28 07:31:49 jesseg: It is better to use the GNU license for this purpose Jun 28 07:32:00 it's better to leave it without license if you dont want an existing one Jun 28 07:32:02 jesseg: This is so it cannot be sold Jun 28 07:32:03 use MIT or BSD Jun 28 07:32:12 LunarEclipse120: gpl sucks though. Jun 28 07:32:22 yawkat, fine I will delete my newly created license file. Jun 28 07:32:40 yawkat: Does MIT or BSD state that it must be free? Jun 28 07:32:51 no, of course not, copyleft sucks Jun 28 07:33:04 you can use MPL if you want something in the direction, but GPL is a stupid license Jun 28 07:33:53 GPL limits both what you as the main developer and what others can do with your code. it is a stupid idea Jun 28 07:34:54 yawkat: What license would make it so everything has to stay under that license, and makes the softwsre fee? Jun 28 07:34:54 what if you ever have a job, want to reuse your own code someone else contributed to, but you cant because your workplace has a blanket policy (many do) to not use GPL. Jun 28 07:35:10 i use the nigerian software license, its pretty good Jun 28 07:35:16 LunarEclipse120: MPL requires modifications to be shared in source code form. Jun 28 07:35:18 your code is mine, plz call number for support Jun 28 07:35:56 and plz open remote desktop Jun 28 07:35:58 LunarEclipse120: the difference is that GPL requires libraries using your code to be GPL as well, which is massively dumb. Jun 28 07:36:09 yawkat: Dies it require it to be under the same license? Jun 28 07:36:11 *does Jun 28 07:36:13 yes Jun 28 07:36:19 I am talking about MPL Jun 28 07:36:22 yes Jun 28 07:36:36 https://en.wikipedia.org/wiki/Comparison_of_free_and_open-source_software_licenses Jun 28 07:37:05 you want a green box in the "linking" column for a sane license. Jun 28 07:38:31 yawkat: Where does it say the software is free? https://www.mozilla.org/media/MPL/2.0/index.815ca599c9df.txt Jun 28 07:38:48 mimtf, LunarEclipse120 here's the source to the game: http://videoflier.com/files/JumpyJim.tar.gz Jun 28 07:38:56 I'm going to bed :P Jun 28 07:39:06 it's a fucking OSI-approved license, what kind of "free" do you want Jun 28 07:39:09 jesseg: Please use this license for it real quick charge no more Jun 28 07:39:09 than the cost of distribution to the recipient Jun 28 07:39:14 jesseg: https://www.mozilla.org/media/MPL/2.0/index.815ca599c9df.txt Jun 28 07:39:25 Than you can go to bed sane. :P Jun 28 07:39:28 LunarEclipse120: fyi, GPL allows you to sell the software as well. Jun 28 07:39:48 "free" does not mean what you think it does. Jun 28 07:40:02 yawkat: Does MPL let you sell it? Jun 28 07:40:05 LunarEclipse120, do you really think he can even install AS? :P Jun 28 07:40:22 LunarEclipse120: cant think of an OSS license that doesnt allow that Jun 28 07:40:28 you can sell software of any OSS license Jun 28 07:40:32 jesseg: Just use BSD. Goodnight. Jun 28 07:40:53 I used JBL. Jesse's Best License. Jun 28 07:40:59 GPL does not limit what you can do with your own code Jun 28 07:41:02 Ffs Jun 28 07:41:02 it never has Jun 28 07:41:16 jesseg: In the morning, change it to GNU please Jun 28 07:41:29 as the copyright owner, you are free to do whatever you want with your code, regardless of license you apply to it Jun 28 07:42:10 jesseg please delete build dependencies Jun 28 07:42:38 sasser, why? I don't know anything about this Jun 28 07:42:48 it makes for large zips Jun 28 07:42:57 How? Jun 28 07:43:02 pfn: but as soon as people modify it, youre out of luck. Jun 28 07:43:07 GPL is a terrible license. Jun 28 07:43:16 yawkat, that is false Jun 28 07:43:29 that is the entire point of disclaimers when accepting submitted code Jun 28 07:43:31 sorry, as soon as people contribute it. Jun 28 07:43:31 sasser, how do I delete build deps? Jun 28 07:43:37 to it. Jun 28 07:43:49 do a clean Jun 28 07:44:00 or delete build folder Jun 28 07:44:06 oh does that get rid of the debug apks? Jun 28 07:44:27 pfn: CLAs? nobody sane will sign a CLA to make his modifications GPL and copyrighted to someone else. if it's even legal in their country. Jun 28 07:44:43 jesseg: If you are modifying ti, please add the GNU license Jun 28 07:45:01 nobody sane will? Jun 28 07:45:04 I'm going to bed. Maybe the extra size will prevent people in other countries from downloading it Jun 28 07:45:07 you're entirely wrong on that as well Jun 28 07:45:08 GPL and AGPLs only purposes are to make software non-free like itext does. Jun 28 07:45:20 GPL is not a free software license. Jun 28 07:46:05 CLA are part and parcel for any large, corporate backed project for which anyone contributes code Jun 28 07:46:27 yes, but those projects arent GPL. Jun 28 07:46:46 guys,any idea why I cannot set ndk.platformVersion from flavors? Jun 28 07:46:48 netty is apache for example. i was fine signing that cla. Jun 28 07:46:48 corporate backed projects are more often gpl Jun 28 07:47:02 yeah, but since you signed the cla, you have no rights to what you wrote Jun 28 07:47:17 if apache suddenly went communist, they could easily change the licensing on your contribution to gpl Jun 28 07:47:19 Yeah, any non crazy larger project will demand a CLA Jun 28 07:47:38 pfn: but the software at that point in time is apache, so im fine with it. Jun 28 07:47:44 Too many people shot themselves in the foot by not demanding it Jun 28 07:48:08 not being able to use my own contributions? fuck that, find another contributor. Jun 28 07:48:22 yawkat, again, what /you're/ fine with doesn't really matter--CLA do exist for GPL projects Jun 28 07:48:30 and they are signed as a matter of course Jun 28 07:48:53 openjdk also has a CLA Jun 28 07:49:03 openjdk also has a linking exception Jun 28 07:49:08 And they also come from the fact that US law demands the owner of copyright to sue the copyright infringer Jun 28 07:49:21 Which means that without CLA FSF can't defend the project when people break GPL Jun 28 07:49:31 linking exception doesn't mean much, only if you're using the classpath Jun 28 07:49:35 if you're making contributions to the vm Jun 28 07:49:37 you're just as fucked Jun 28 07:49:41 Unless they want to go through the hassles of getting every single contributor on board Jun 28 07:50:21 pfn: yes, and that is more sensible than GPL Jun 28 07:50:27 it's still GPL Jun 28 07:50:31 no, it's not Jun 28 07:50:36 it's gpl with a linking exception Jun 28 07:50:42 "it's gpl" Jun 28 07:50:43 still gpl Jun 28 07:50:44 which is an entirely different story Jun 28 07:50:51 and the linking exception is only for classpath Jun 28 07:50:54 So LGPL? :P Jun 28 07:51:01 A great reason not to use the GPL is this very debate :) Jun 28 07:51:03 which is useless if your entire point in contributing to openjdk is for the vm Jun 28 07:51:03 But yeah, it's still GPL Jun 28 07:51:06 the bad part about the GPL is the linking copyleft. Jun 28 07:51:14 i dont care about GPL beyond that. Jun 28 07:51:20 no, GPL has derivative works clause Jun 28 07:51:21 not linking Jun 28 07:51:26 That's just because you wanna earn money on other peoples work ;) Jun 28 07:51:31 you can link against gpl all you want, as long as it doesn't make it a derivative work Jun 28 07:51:49 pfn: which is entirely unclear legally and a minefield. dont go there. Jun 28 07:52:14 pretty much the apache spiel Jun 28 07:53:08 anyway, yawkat's opinions never line up with my own Jun 28 07:53:14 don't expect them to agree in this instance either Jun 28 07:53:14 not to mention that EPL isnt GPL-compatible so youre actually restricting OSS software as well. Jun 28 07:53:15 hi Jun 28 07:53:22 Hello DaRBaKA. Jun 28 07:53:24 pls help me Jun 28 07:53:31 darken: http://catb.org/~esr/faqs/smart-questions.html Jun 28 07:53:33 Fuck Jun 28 07:53:35 DaRBaKA: http://catb.org/~esr/faqs/smart-questions.html Jun 28 07:53:45 nub Jun 28 07:53:48 DaRBaKA: Ask an actual question. The you will get help (probably). Jun 28 07:53:53 I need to add emoticons in my application Jun 28 07:54:40 DaRBaKA: Ok. And? Jun 28 07:54:46 DaRBaKA: Do you have the source code? Jun 28 07:54:59 yea Jun 28 07:55:07 DaRBaKA: Can you pastebin some of it? Jun 28 07:55:31 The source code and I can not installation Jun 28 07:55:32 The source code and I can not installation Jun 28 07:56:03 What? Jun 28 07:56:29 I want to help in the installation of packages Jun 28 07:56:41 What are you on about? Jun 28 07:56:52 Is this YOUR app (you made it and have the source) Jun 28 07:56:55 ? Jun 28 07:57:33 guys,any idea why I cannot set ndk.platformVersion from flavors? Jun 28 07:57:42 no Jun 28 07:57:53 DaRBaKA: Then you aren't going to add anything to it. Jun 28 07:59:49 emoji-cheat-sheet.com Jun 28 08:00:28 DaRBaKA: What does that have to do with anything? Jun 28 08:01:03 www.emoji-cheat-sheet.com Jun 28 08:01:18 LunarEclipse i think its one of 4AM wrong way drives Jun 28 08:01:29 sasser: Just like mimtf. Jun 28 08:01:38 I want to add these emoticons to my Android application Jun 28 08:01:59 save them to png files, put in drawable folder Jun 28 08:02:06 DaRBaKA: It isn't even your application. Jun 28 08:02:13 draw imageview with @drawable/happyface Jun 28 08:02:14 sasser: He doesn't even have the source. Jun 28 08:02:33 good night Jun 28 08:03:08 this application >> http://paltale.com/PalTale.apk Jun 28 08:03:48 DaRBaKA: You aren't adding anything to that. Jun 28 08:04:04 ok Jun 28 08:04:05 DaRBaKA: Stop being lazy and install a keyboard with emoji support. Jun 28 08:04:06 brb Jun 28 08:04:21 Stop being lazy and install a keyboard with emoji support. Jun 28 08:04:26 Does not appear Jun 28 08:04:47 You are just repeating what I said. Jun 28 08:05:03 Emoji Keyboard special Google workers do not appear on my application Jun 28 08:05:24 DaRBaKA: Install Google Keyboard. It has emoji support. Jun 28 08:05:54 The application does not support emoticons Jun 28 08:06:04 It has to. Jun 28 08:06:15 They are universal unicode characters Jun 28 08:06:17 This speak to Jun 28 08:06:17 I want to make my application supports emoticons Jun 28 08:06:30 DaRBaKA: Stop saying it's your app. IT IS NOT.' Jun 28 08:06:52 ok Jun 28 08:07:04 You were told that it won't happen. Gooday. Jun 28 08:07:21 bye Jun 28 08:07:29 Bye. Jun 28 08:10:21 :P Jun 28 08:12:03 Is it possible to remove the .putExtra data? Jun 28 08:13:00 ? Jun 28 08:13:46 .getExtras().remove(...) Jun 28 08:14:00 no Jun 28 08:14:25 E.g. when I click the checkbox from second activity I want to send a confirmation "true" and if it is unchecked then I want to modify or remove it to Jun 28 08:14:27 false Jun 28 08:14:47 (that is, if you're in the coding going to send the intent, not if you're receiving it...) Jun 28 08:15:23 Yes, I don't want to receive it if the box is unchecked Jun 28 08:15:35 onActivityResult Jun 28 08:15:47 or receive "false" Jun 28 08:16:34 Let me post some little code Jun 28 08:19:15 http://ideone.com/jNL3DB Jun 28 08:19:36 I want to take care of the "else" part Jun 28 08:21:11 is there any way to add value (i.e. from gradle build file_ to AndroidManifest ? Jun 28 08:24:42 ok, ${applicationId} will do Jun 28 08:25:06 LunarEclipse120 must know Jun 28 08:25:14 ask LunarEclipse120, gordon_ Jun 28 08:26:41 lol Jun 28 08:27:02 gordon_: Please ignore the trolls. Jun 28 08:41:56 seems like applicationId of module is module id... Jun 28 08:42:01 thanks for nothing Jun 28 09:10:53 lol Jun 28 09:10:55 i have a seekbar but there's a bunch of whitespace on the left.. what's that called and how can i set it to 0 ? http://imgur.com/CMz3JLs Jun 28 09:11:03 it's not padding apparently Jun 28 09:11:05 i can upload android game good Jun 28 09:11:26 android-dev guy help me to earn money. Jun 28 09:11:30 :) Jun 28 09:11:54 mimtf: You aren't alowed to put that on the play store. Jun 28 09:12:04 We had him license it so it's free Jun 28 09:12:10 And open source Jun 28 09:12:13 that guy permit it Jun 28 09:12:24 mimtf: No, he put a GNU license on it. Jun 28 09:12:38 GNU is free license Jun 28 09:12:40 lol Jun 28 09:12:47 GNU sprit Jun 28 09:12:52 spirit Jun 28 09:12:53 mimtf: Yes. That means you can't sell the program. Jun 28 09:13:00 why? Jun 28 09:13:09 Because the license says so. Jun 28 09:13:16 and guy permit me upload game. Jun 28 09:13:21 It doesn't matter. Jun 28 09:13:31 He put the license that said you can't. Jun 28 09:13:31 9.9 Jun 28 09:13:40 We told him to do that because we don't want people being spammed. Jun 28 09:13:50 It's open source, you selling it would just be stupid. Jun 28 09:14:01 You aren't going to make money on it anyway, not even $19. Jun 28 09:14:41 i believe that many #android-dev memeber buy it Jun 28 09:14:44 "This program is free software: you can redistribute it and/or modify Jun 28 09:14:45 it under the terms of the GNU General Public License as published by Jun 28 09:14:45 the Free Software Foundation Jun 28 09:14:50 mimtf: No, no one is going to buy it. Jun 28 09:15:02 He even said it himself, it's a crappy game that doesn't even work. Jun 28 09:15:12 crappy game Jun 28 09:15:14 Yes. Jun 28 09:15:15 :( Jun 28 09:15:18 He even said so himself. Jun 28 09:15:38 The fact that you are trying to take advantage of a noob is just sickening. Jun 28 09:15:50 then i must die as starving? Jun 28 09:15:58 I felt bad, we had him stay up later to add that license. Jun 28 09:16:10 mimtf: Learn to code yourself and make something good.' Jun 28 09:16:17 mimtf: Or get an actual job in the meantime. Jun 28 09:16:25 :( Jun 28 09:16:32 You wouldn't make enough selling that app anyway. Jun 28 09:16:58 i will upload it secretly. Jun 28 09:17:07 That is called "illegal" Jun 28 09:17:13 illegal? Jun 28 09:17:15 Yes. Jun 28 09:17:16 :( Jun 28 09:17:20 You can't go against the license. Jun 28 09:17:21 it is illegal? Jun 28 09:17:36 And you wouldn't even know how, he published the source code. He wanted it open source. Jun 28 09:17:42 if i upload it, then i am criminal? Jun 28 09:18:02 You are breaking the law. Jun 28 09:18:12 And it can get reported and taken down. Jun 28 09:18:19 Thus terminating your developer account. Jun 28 09:19:00 ok then i will have time for this Jun 28 09:19:09 mimtf: The money you would make by it anyway will be less than the money you pay to upload it. Jun 28 09:19:48 :| Jun 28 09:20:08 You should've listened to me in the first place. Jun 28 09:20:19 When I said you aren't going to earn any money from it. Jun 28 09:20:29 LunarEclipse120: you can sell GPL software Jun 28 09:20:33 without restrictions Jun 28 09:20:45 :( Jun 28 09:20:57 then what’s problem? Jun 28 09:21:35 yawkat: We had him put GNU Jun 28 09:21:42 Before he left Jun 28 09:21:48 doesnt matter Jun 28 09:21:54 you can sell gpl software Jun 28 09:21:56 yawkat: The license even states it Jun 28 09:22:00 no Jun 28 09:22:04 "This program is free software" Jun 28 09:22:06 Yes it does Jun 28 09:22:10 doesnt mean you cant sell it Jun 28 09:22:20 "without cost or payment" Jun 28 09:22:21 you are misunderstanding the term "free" here Jun 28 09:22:41 ok Jun 28 09:22:46 And it is still scamming people if you sell a free thing Jun 28 09:22:53 no Jun 28 09:22:57 Yes Jun 28 09:23:00 then i will talk with that guy, i can sell it or not. Jun 28 09:23:07 there are app authors who do it, so people dont have to build it themselves Jun 28 09:23:19 it's a legitimate monetization strategy Jun 28 09:23:22 mimtf: Even if you do sell it, you are going to loose money on it. Jun 28 09:23:27 yawkat: Hmm, ok. Jun 28 09:23:51 :( Jun 28 09:23:56 i don’t know what to do? Jun 28 09:24:14 mimtf: Get a job. Jun 28 09:24:35 mimtf: It costs $25 to open a dev account and you aren't to make anything near that. Jun 28 09:25:02 though you can use that account for other things Jun 28 09:25:05 what's going on here :D Jun 28 09:25:24 if you have a spare 25$, why not - at least you'll learn how to deploy stuff to play store Jun 28 09:25:37 he said he's starving :P Jun 28 09:25:44 but has a PC Jun 28 09:25:48 Lol. Jun 28 09:26:08 too much internet, going outta here Jun 28 09:26:10 later Jun 28 09:26:20 Later. Jun 28 09:26:30 LunarEclipse120: you can sell gpl software, RMS also says so Jun 28 09:26:35 Ok Jun 28 09:26:53 mimtf: And you said you'll give the poor guy who made it $19 Jun 28 09:27:02 You are up to $44 USD Jun 28 09:28:07 LunarEclipse120: https://upload.wikimedia.org/wikipedia/commons/f/f9/Richard-m-stallman-belfast.jpg Jun 28 09:28:12 $25 for opening account lol Jun 28 09:28:15 it is not free? Jun 28 09:28:19 saint iGNUs from church of free software ;D Jun 28 09:28:27 mimtf: No, it's $25. Jun 28 09:28:36 gordon_: Lol. Jun 28 09:28:52 "Pay a $25 USD registration fee using Google payments" Jun 28 09:28:56 ok mom call me for meal. Jun 28 09:29:15 i will be back again after eating food Jun 28 09:29:22 $25 lol Jun 28 09:29:26 crazy Jun 28 09:29:30 It's not crazy. Jun 28 09:29:42 yea, 25 isnt a lot... Jun 28 09:29:43 The fact that you think you are going to make money on that is crazy. Jun 28 09:30:29 yawkat: Considering Apple charges $100 a year Jun 28 09:30:35 And requires a ma Jun 28 09:30:37 *Mac Jun 28 09:32:44 LunarEclipse120: 'Richard Stallman: Apple fanboys are foolish people' Jun 28 09:32:46 :D Jun 28 09:32:55 shots fired Jun 28 09:33:36 Lol. Jun 28 09:39:13 https://www.youtube.com/watch?v=q9mXyakv2i8 Jun 28 09:45:02 he said in between his eating of skinflakes? Jun 28 09:48:43 Hi everyone Jun 28 09:48:51 Hello Bavilo. Jun 28 09:48:52 Is anyone here familiar with motionevents? Jun 28 09:49:00 hi again xD Jun 28 09:49:03 I'm trying to pass a motionevent to the parent scrollview Jun 28 09:49:14 But depedning on whether the user is scrolling up or down Jun 28 09:49:24 quick question. I have an app which has multiple threads, 5 to be exact. all threads will be started in onCreate. and they will usually run for about 90 minutes Jun 28 09:49:33 the app is still smooth but I am getting "Suspending all threads took:....", what could I do differently? Jun 28 09:50:28 Bavilo: Not going to lie, that was probably one of the best formatted questions I have seen all night. Jun 28 09:50:56 sarcasm? D: Jun 28 09:51:14 No. Jun 28 09:51:19 True. Jun 28 09:51:21 thats even worse then :( Jun 28 09:51:33 Don't worry. Jun 28 09:51:41 I was dealing with people from India all night Jun 28 09:51:47 Let that speak for itself Jun 28 09:52:21 hehe Jun 28 09:52:23 back Jun 28 09:52:37 to elaborate a little bit, this is what one of the threads looks like: http://pastebin.com/Z8jA8uaa Jun 28 09:52:40 if i make app, then LunarEclipse120 will buy my app? Jun 28 09:52:48 Speaking off those people, welcome back mimtf. Jun 28 09:52:53 mimtf: No. I won;t. Jun 28 09:53:00 every 1000 ms it just calls a method which will update some textviews on UIThread Jun 28 09:53:04 :( Jun 28 09:53:10 app price will be $25 Jun 28 09:53:29 LunarEclipse120: you can do it? Jun 28 09:53:31 no heavy liftig, but I assume that because I have 5 threads running at the same time as soon as the app starts, things get a little messy... Jun 28 09:53:34 mimtf: You would have to be retarded to but a shitty game for $25 Jun 28 09:53:43 Bavilo: Sorry but I don't know. Jun 28 09:53:47 *buy Jun 28 09:53:57 np, maybe someone else has an idea Jun 28 09:54:39 A while back i switched everything to aync tasks. that didnt really work either as I could have multiple tasks running simultaneously. Jun 28 09:56:16 I was thinking of creating ONE thread for everything, this thread would have one looper variable which will always be true so the thread doesnt stop. further down I would then have different waitLocks so I can update different parts Jun 28 09:56:37 problem is....in my threads I have a sleep time of 1000 and 60 * 1000 Jun 28 09:56:45 so I cant do that in ONE thread. Jun 28 09:57:34 Is there any way to add geospatial data (GPW v3, population count) to a Google Map? Jun 28 10:13:31 I have a recyclerview in my nested scrollview and i only want it to scroll when the user has scrolled to the bottom of the nested scroll view. Jun 28 10:13:36 How can I achieve this? Jun 28 10:21:39 public class MainActivity extends ActionBarActivity { VS public class MainActivity extends AppCompatActivity { , which is best? Jun 28 10:22:48 help me? Jun 28 10:26:49 mimtf, ActionBarActivity is deprecated Jun 28 10:27:45 azgul: deprecated? lol how can i do? i read book that contain content of ActionBarActivity? azgul Jun 28 10:29:05 eh.. use toolbar Jun 28 10:35:58 guys,is it a bad idea to use gradle 2.1.2 and gradle-experimental 0.7.2 at same time? Jun 28 10:36:22 to use both plugin's features? Jun 28 10:42:04 mimtf, use AppCompatActivity. and read another book... ActionBar is heavily outdated - everyone uses Toolbar now Jun 28 10:42:22 what book azgul ? Jun 28 10:42:47 https://www.packtpub.com/game-development/learning-java-building-android-games Jun 28 10:42:50 i read it now Jun 28 10:42:57 it is not good? Jun 28 10:44:04 azgul: ? Jun 28 10:48:48 where is admin when we need him Jun 28 10:50:47 Hmm im strugging with something that I guess should be easy. I have a recyclerview with a list of stuff in it, but I want a view above my recyclerview with some info and an image in it Jun 28 10:51:31 But I don't want the recyclerview to be scrollable until the user has fully scrolled down Jun 28 10:52:06 I tired putting my info view + Recyclerview inside a linearlayout and that inside a nested scroll layout Jun 28 10:52:09 But it doens't work Jun 28 10:52:17 recyclerview tkaes all the scroll events Jun 28 10:53:05 Bundle savedInstanceState <—— what is it? Jun 28 10:53:22 its the saved state of your bundle Jun 28 10:54:03 i mean actvity Jun 28 10:54:18 you can use it to retain info between configuration changes Jun 28 10:54:50 bundle == activity? Jun 28 10:55:00 AKK9: ? Jun 28 10:55:03 no Jun 28 10:55:08 wait Jun 28 10:55:08 waht Jun 28 10:55:13 no Jun 28 10:55:32 its the saved state of your bundle, i mean actvity Jun 28 10:55:35 AKK9: Jun 28 10:55:43 yeah i mean saved state of your activity Jun 28 10:55:59 saved state is bundle? AKK9 ? Jun 28 10:56:53 not sure what youre asking mate Jun 28 10:57:01 lol Jun 28 10:57:13 what is bundle? Jun 28 10:57:41 a bundle lets you store information in it. activities use them to store information before a configuration change so that when the activity is recreated you can retrieve your info Jun 28 10:58:26 activity use bundle? then? AKK9 ? Jun 28 10:58:38 activity >> bundle? Jun 28 10:58:54 i dont understand Jun 28 10:59:30 :| Jun 28 10:59:40 activity use bundle? AKK9 ? Jun 28 11:00:13 activities use bundles to retain information between configuration changes Jun 28 11:00:21 like screen rotation Jun 28 11:00:54 thanks AKK9 Jun 28 11:00:55 :) Jun 28 11:01:04 lol hopefully that helped Jun 28 11:01:12 i m afraid of not making game app. AKK9 Jun 28 11:01:32 hey min2 did you get your game? Jun 28 11:01:55 youre making a game? Jun 28 11:01:57 who? Jun 28 11:02:14 yea i make game now. Jun 28 11:02:17 :) Jun 28 11:02:39 did jesseg send you the game he made? Jun 28 11:02:42 what are you using? Jun 28 11:03:07 android studio Jun 28 11:05:07 I would like to show image, but I need size ie 500x500px+, importing image of proper size through AS (import image asset ) creates of imported image in different sizes h/m/xx./'dpi, but the largest one xxxhdpi is 192x192px Jun 28 11:05:16 what would be the best way to import image Jun 28 11:05:19 in order to open it through https://developer.android.com/training/displaying-bitmaps/load-bitmap.html#load-bitmap Jun 28 11:09:44 mimtf, I don't know, sorry. I would avoid books in on Android because the technology has moved so fast over the years and anything over a year old would be heavily outdated Jun 28 11:09:48 is there any Java-related reason this wouldn't be able to run in Android? I was told by a Java programmer that it doesn't work but didn't get any explanation https://github.com/dieforfree/qart4j Jun 28 11:10:17 It was written in Java, but not with Android in mind. Jun 28 11:10:26 azgul: then how can i do? Jun 28 11:10:28 give up? Jun 28 11:12:48 azgul: ? Jun 28 11:13:40 mimtf, what is your background? Jun 28 11:13:52 background? Jun 28 11:13:55 what you mean? Jun 28 11:14:02 educational Jun 28 11:14:16 lol i m student now Jun 28 11:14:23 why? Jun 28 11:14:45 if you have a solid knowledge of Java I would dive into some tutorials or even creating your first app and learn as you go Jun 28 11:15:44 azgul: he doesn't know any java Jun 28 11:16:08 i m c hacker instead Jun 28 11:16:17 8) Jun 28 11:16:40 * sn0wmonster stopped listening at "hacker" Jun 28 11:17:07 telling others to build a app is taking shortcuts, not hacking Jun 28 11:17:41 he couldn't hack his way out of a paper bag ;) Jun 28 11:18:10 :| Jun 28 11:18:20 learn Java first then, then Android Jun 28 11:19:20 azgul: means LoTR azgul? Jun 28 11:19:30 what? Jun 28 11:19:58 https://www.youtube.com/watch?v=Sk47qO8rW4Y Jun 28 11:21:28 not Nazgûl, just azgul :) Jun 28 11:21:38 oh Jun 28 11:24:48 mim stands for Man in the Middle, what's TF ? Jun 28 11:25:27 maybe it's "Man in the fucking middle" and a typo Jun 28 11:30:09 sh0ne: sn0wmonster lol Jun 28 11:30:12 it is not Jun 28 11:39:48 How do I force aapt to use the dimen in my XML instead of the one from some random screen resolution that I didn't anticipate? Jun 28 11:40:34 Or do I just have to pick really obscure names and hope they never get overridden by Google's new XML's? Jun 28 11:43:01 Lewoco: it's possible that I missed any context to what you're wibbling about, or it's possible you're just wibbling... Jun 28 11:46:59 Leeds, Yup I was confused. Jun 28 12:00:17 is there any Java-related reason this wouldn't be able to run in Android? I was told by a Java programmer that it doesn't work but didn't get any explanation https://github.com/dieforfree/qart4j Jun 28 12:00:34 his exact wording was "it looks like it can't be integrated into android" Jun 28 12:00:59 i am missing the reason why. is there some substantial difference between Java/JVM and Android Java? Jun 28 12:01:08 something that would make anything unportable? Jun 28 12:03:08 sn0wmonster, teach me about man in the middle Jun 28 12:03:11 tell me everything you know Jun 28 12:04:12 sn0wmonster, nope Jun 28 12:04:19 Well, first it starts with 2 gay guys who have a bet about a straight guy Jun 28 12:04:25 there's too much code to go through, did he say anything Jun 28 12:04:28 you can figure out the rest on your own Jun 28 12:04:44 Zharf: nothing at all, but in the github it says it's a "Maven project" Jun 28 12:04:51 And it's compiled with mvn compile assembly:single Jun 28 12:05:04 would that cause any issue if the project it needs to be included in it being made in Android Studio? Jun 28 12:05:09 so the reason is incompetence? Jun 28 12:05:18 that's what I am thinking personally Jun 28 12:05:29 I have just implemented a bare bone collection widget but listview is not populated in second widget I add to my home screen. Jun 28 12:05:29 but i don't know any Java to prove it :) Jun 28 12:05:58 ah, awt Jun 28 12:06:35 there's no awt, imageio or swing on android Jun 28 12:06:36 sn0wmonster, and the man theyre doubting is you? Jun 28 12:06:42 did i get it Jun 28 12:07:25 Zharf: in your opinion, would a project like this not be possible to port then? or if so, extremely difficult and costly? Jun 28 12:07:41 running app in real device or emulator, which is good? Jun 28 12:08:32 or would it just need to be significantly rewritten to use Android-relative libraries? Jun 28 12:11:16 there's 3 files with imports to stuff that are java but not android, some files with third party dependencies so I don't know what those would require Jun 28 12:11:28 but the 3 files probably aren't too bad to convert Jun 28 12:11:48 I didn't read the code Jun 28 12:11:53 only looked at the imports Jun 28 12:12:50 i see, thank you kindly Jun 28 12:13:06 i wonder where i could find an android developer who would be interested in porting this Jun 28 12:13:38 not that i wouldn't be able to pay for it, but i ahve no idea what's required, how complicated it would be, or who to find with that kind of skillset Jun 28 12:13:46 How I download a framework's javadoc in Android Studio? Jun 28 12:13:59 Talking about GDX Jun 28 12:16:52 I don't like touching gpl infested code Jun 28 12:21:55 GPL "infested" ? Jun 28 12:22:24 i was reading the license to try and figure out what negative points there were about it Jun 28 12:22:47 is it a type of license that restrict duplication/modification/derivative works that would make forking it a risk to a developer? Jun 28 12:23:33 sn0wmonster, the problem code is the cli interface and some image output code that's been copied from zxing Jun 28 12:24:07 ivali333, wtfpl or gtfo :p Jun 28 12:24:44 i prefer beerware Jun 28 12:42:02 I have roughly 69 images for an application I am working on. But, that's only for xxhdpi. Combine that with the other densities and the application has roughly 12MB just for images. Is there a way I can use one image size to that will work on all the resolutions? ie... can xxhdpi be scaled to the lower dpi? Jun 28 12:42:38 anyone have a good way of getting album art from mp3 files? I found a second way which was a bit better than the first, but it's still crashing my Moto G :( Jun 28 12:43:12 is album art a part of a mp3? Jun 28 12:43:36 Ping_2_Ur_Pong: yes there is a part of the mp3 that can contain album art Jun 28 12:43:49 * Ping_2_Ur_Pong learned something new Jun 28 12:44:02 what if it doesn't contain the album art? Jun 28 12:44:23 usually official mp3's have a picture within, amateur mp3's usually don't have a picture Jun 28 12:44:37 if it doesn't contain it, it's null Jun 28 12:46:10 Ping_2_Ur_Pong: right now I'm using this method ... artdata = mmr.getEmbeddedPicture(); Jun 28 12:46:43 mmr is MediaMetadataRetriever Jun 28 12:47:13 hi. can i mock NFC reading capabilities somehow? don't have a device with nfc at hand and would like to build in NFC (can verify with a capable device later) Jun 28 12:49:12 shmooz, isn't it part of id3v2, not mp3 as such Jun 28 12:49:55 * Ping_2_Ur_Pong ponders what the average size of an APK on play store is Jun 28 12:50:13 Ping_2_Ur_Pong, xxhdpi can be scaled down to lower dpis but I've had some bad experiences with the scale quality Jun 28 12:51:06 Zharf: yeah probably, I'm just using it to extract a picture from the file Jun 28 12:51:12 Hey. I am trying to download Android Studio 2.1 using Firefox on Ubuntu GNOME 16.04. I click the download button, accept the terms and conditions, and then I click the button which I guess is supposed to be the download button but contains no text for some reason, then I just get redirected to the android developers homepage and the download doesn't start. Jun 28 12:51:16 Like terribly or just a little skewed? I was thinking of using SVG's instead. My thinking is it should work with no inherent issue except for versions of Android lower than 4.4 Jun 28 12:51:40 I am ultimately trying to lower the APK size, a 40MB APK just seems too damn big to me. Jun 28 12:51:51 This is what I mean by the blank download button: http://imgur.com/jWrRNNQ Jun 28 12:52:26 technocf: try with another browser Jun 28 12:52:41 ivali333, I don't do beerware, I practice teetotalism Jun 28 12:52:46 Ping_2_Ur_Pong: I don't have another one on this machine. Jun 28 12:53:09 that or look for a direct download link. either should work, I think you can apt-get it as well Jun 28 12:53:12 http://askubuntu.com/questions/634082/how-to-install-android-studio-on-ubuntu Jun 28 12:53:15 https://dl.google.com/dl/android/studio/ide-zips/2.1.2.0/android-studio-ide-143.2915827-linux.zip Jun 28 12:53:32 technocf: dafuq, dude never use just one browser. I have like 4 i use simultaneously Jun 28 12:53:32 raoul11: Thanks ^^ Jun 28 12:53:39 that works as well Jun 28 12:53:41 Ping_2_Ur_Pong: Well, good for you. Jun 28 12:53:58 technocf: don't be a dick, the point was install another browser. Jun 28 12:54:14 you should have 2, its useful for when weird stuff happens Jun 28 12:54:27 s/2/2 at least/ Jun 28 12:54:28 Ping_2_Ur_Pong: I don't need another. I have this download anyway not from the direct link, I've never had any other issues thus far. Jun 28 12:54:42 now* from the direct link Jun 28 12:55:07 * Ping_2_Ur_Pong hates when people don't just listen and argue over stupid shit. Install another browser and save yourself the headache later. Jun 28 12:55:23 Oh, stop you're whining Jun 28 12:55:27 technocf https://developer.android.com/studio/index.html#downloads | requirements and othjer useful stuff Jun 28 12:55:47 sigh... Jun 28 12:55:51 raoul11: Ah, if only I'd saw that page. :P Jun 28 12:56:01 no worries Jun 28 12:56:04 s/you're/your Jun 28 12:56:34 Anyway, time to get on with things. Goodbye. Jun 28 12:57:08 * Ping_2_Ur_Pong also has an issue with people that join to ask their one question then bolt, but he's in a a gripey mood today it seems. Jun 28 12:57:26 \: Jun 28 12:57:29 its only irc Jun 28 12:58:03 where goldfish memory is a bliss. ull forget bout it in a min Jun 28 13:23:04 Hello everybody! I'd like to display an a .svg file in my app which is animated using both css3 and the deprecated animate tag. I tried it by using a WebView but the css3 animations just don't work. Does anybody of you know a way to play these animations? A library maybe? Jun 28 13:27:26 would android.net.rtp be the best way for me to stream audio & video from my android device to my server? or are there better alternatives/libraries out there? Jun 28 13:27:56 what would be the best place to store "larger" (480px) image in project structure? Jun 28 13:29:24 Good Morning. Jun 28 13:30:36 is there a place in Android Studio where I can type in a function call and see what is returned? Jun 28 13:31:34 wviana,Good day how are you.:) Jun 28 13:32:03 I'm really trying to understand where this line of code is retrieving the version number": setText("Version " + getPackageManager().getPackageInfo(getPackageName(), 0).versionName); Jun 28 13:32:49 I'm new to java, so this part gets quite confusing to me: getPackageManager().getPackageInfo(getPackageName(), 0).versionName Jun 28 13:32:52 perlsyntax Good, What about you? Jun 28 13:33:17 azv4 You can do it through debugger. Jun 28 13:33:22 wviana,Doing some reading on firebase. Jun 28 13:33:59 wviana, ahh, so I had to start the debugger! thanks Jun 28 13:35:04 ahh well, looks like I need to learn to use the debugger, because I just put in- getPackageManager().getPackageInfo(getPackageName(), 0).version and nothing was displayed Jun 28 13:35:31 perlsyntax I'll do it probably this week too. I'm thinking about creating interfaces to access the firebase resources. If some day I have to change to some other service I'll have just to re implement the interfaces. Jun 28 13:36:00 Anyone know if there's a gradle option that'll actually show me what submodule is making my build fail with the "This is caused by library dependencies that have been compiled using Java 8 or above." Jun 28 13:40:02 wviana,I think i keep track of the usr know where there come from.But where is the login for firebase console? Jun 28 13:41:30 wviana,Is it part of the Google Cloud Platform? Jun 28 13:41:40 Hi guys I am trying to port project to android using cmake and android toolchain but I am having issues with some libs for example curl doesn't link itself even with -lcurl option set also curl is precompiled special for android. Is anyone will be willing to help ? Jun 28 13:42:46 Does nobody of you know of any library for css3 animations in svgs? Jun 28 13:43:02 Was handed an app to update that worked great on Android v5.01, but a certain 3D view doesn't load in Android v6.01, does this type of problem ring a bell to anyone? Should compiling with 6.01's SDK fix this? Jun 28 13:58:52 Where is versionCode defined? still building under Ant I'm pretty sure Jun 28 14:05:32 I really do hate trying to learn an IDE on the spot with company owner bitching up a storm about deadlines Jun 28 14:05:44 I'm ready to run out of here screaming Jun 28 14:17:25 HI, I have a nexus5 kitkat unlocked and rooted with nexus root master, and now I want to flash it with marshmallow and root it, what is the the best tool? Jun 28 14:17:45 and most safe one that won't brick it Jun 28 14:21:11 FrodoTheHobbit, wrong channel Jun 28 14:21:40 if you type /topic, you will find the proper channel Jun 28 14:21:50 "Root/custom ROMs, head to #android-root" Jun 28 14:27:48 VersionCode is in the damned AndroidManifest.xml! Jun 28 14:27:57 sheesh, not sure why that had to be so difficult to find... Jun 28 14:28:11 versionCode is in build.gradle :P Jun 28 14:28:14 probably because this is an old project and current projects dont use this config? Jun 28 14:28:22 Mavrik, this is an Ant build project Jun 28 14:28:33 I have no build.gradle Jun 28 14:28:34 Ah. Jun 28 14:29:20 I would love to convert it to gradle, but at this point I'm lucky I can get anything to work at all, very green in this environment, and we have a MakeSetup program that does all of the builds, so converting will require some changes in that also, and I really need to know this IDE better Jun 28 14:41:30 it's. not difficult to find Jun 28 14:41:44 it's clearly documented in Google's overview of app structure Jun 28 14:43:45 I hate these compat stuffs. Jun 28 14:50:16 I must have screwed something up, I made a new APK, and it wont install because it has a different signature from that which is on the Play Store... "An existing package by the same name with a conflicting signature is already installed" Jun 28 14:50:32 anyone know how I can use a previous signature? I don't even know how it got changed... Jun 28 15:00:25 hi, is it possible to look up a users in-app purchase receipts on the client side? i need trying to authenticate a user's subscription if they use their account on a new device Jun 28 15:01:18 that's not how it usually works afaik Jun 28 15:01:51 probably could just encrypt their purchase string Jun 28 15:02:07 and then have that data saved in their new client too that would contain it all? Jun 28 15:02:19 sn0wmonster: i'm storing it on the server side, but i can't figure out how the user can validate their purchase on a new device without the token from the receipt Jun 28 15:02:32 ah my bad Jun 28 15:02:39 * sn0wmonster wonders where he has seen your name before Jun 28 15:02:50 xda-developers? Jun 28 15:02:56 sn0wmonster: more likely here than there Jun 28 15:02:57 I don't know about subscriptions but managed items you can get the receipt again from the APIs Jun 28 15:03:26 Zharf: i'm pretty far into the process of implementing the Google Developer API which looks like it can do it Jun 28 15:04:02 Zharf: but i'm seeing some things that don't look right Jun 28 15:04:21 Hello peeps, what's a good way to do feature discovery in a class? My objects represent different connected BLE devices so devs will need to discover what capabilities they have. Jun 28 15:04:28 Zharf: for example, there's an authentication dialog that says like "Developer Services". it doesn't look like something i'd want to show the user Jun 28 15:05:04 I could return a bunch of or'd flags or an array of enums or something else Jun 28 15:05:11 I'm open to ideas Jun 28 15:05:34 thebishop, https://developer.android.com/google/play/billing/billing_integrate.html#Subs Jun 28 15:05:49 "To query for active subscriptions, use the getPurchases method, again with the product type parameter set to "subs"." Jun 28 15:05:52 did you try that Jun 28 15:06:41 Zharf: hmm, i think i missed this Jun 28 15:06:46 thanks, let me see how it goes Jun 28 15:11:30 is there some way to know which key an app was signed with by looking at the .apk? Jun 28 15:11:37 I really need to get this key situation sorted out Jun 28 15:12:55 do you have multiple signing keys? Jun 28 15:15:48 Zharf, I didn't think I did, I might have generated one when I setup this new dev machine though, is it as simple as dropping a file from the old computer to the new computer, perhaps the signing file wasn't in source control and I generated a new one Jun 28 15:17:05 you'll need the exact same one you used originally Jun 28 15:17:14 ok, is that a file in a folder? Jun 28 15:17:31 I still have the old dev machine right here Jun 28 15:17:34 it's where you put it Jun 28 15:17:41 what is it called? Jun 28 15:17:59 .keystore? Jun 28 15:18:04 yeah Jun 28 15:18:37 hmm, strange, my .keystore file is dated 2013... Jun 28 15:19:10 and the one on the old computer is dated 4/7/2016 Jun 28 15:19:16 the plot thickens! Jun 28 15:22:20 hey guys Jun 28 15:22:41 i'm reading some slides about android filesystem hierarchy Jun 28 15:22:57 can someone explain this line please? "These two directories are usually mounted on separate Jun 28 15:23:00 partitions, from the root filesystem originating from a kernel Jun 28 15:23:02 RAM disk. Jun 28 15:23:31 "These two directories" are /system and /data Jun 28 15:24:07 Could anyone recommend a good svg rendering library for android? Jun 28 15:26:38 convert to vector drawable, load directly Jun 28 15:27:06 bytefire: what don't you understand? Jun 28 15:28:35 Leeds: is the sentence saying that /system and /data are mounted on a separate hard disk (or sd card) partition that root file system? Jun 28 15:28:47 pfn, I actually need to support user svgs so I don't think this is an option (?) Jun 28 15:29:12 truckcrash, of course it is an option, ship it off to service that can do the conversion Jun 28 15:29:14 bytefire: the root partition is typically a very small ramdisk, then /system and /data are mounted from the internal storage Jun 28 15:29:17 so the backing store (/dev/XYZ) for /system and /data will be different from backing store for / (root) Jun 28 15:29:17 truckcrash, or embed such services within your app Jun 28 15:29:32 Leeds: i see Jun 28 15:30:12 Leeds: so is root file system same as initramfs? Jun 28 15:30:17 this is a nightmare, I don't know which sig file is which... getting inconsistent results in testing too Jun 28 15:30:19 yeah, probably Jun 28 15:30:42 okay thanks! Jun 28 15:35:00 azv4, take the old keystore from the old build setup Jun 28 15:36:31 pfn, I tried that, I still got sig error when trying to update app Jun 28 15:36:43 which leads me to think it isn't the right keystore file Jun 28 15:37:06 so then I tried all 3 of the files that exist (no idea why there are three), one of them allowed me to install over the old version Jun 28 15:37:09 then get the right one Jun 28 15:37:10 so I thought I was good to go Jun 28 15:37:39 inspect the cert/keystore using jarsigner/keytool Jun 28 15:37:39 then I deleted the app from the test phone, reinstalled it from the Play Store, then tried to run the updates from our local sideloading program, and it reports sig issue again! Jun 28 15:37:55 pfn, how do I invoke that? Jun 28 15:38:02 by typing it Jun 28 15:38:15 jarsigner/keytool Jun 28 15:38:19 didn't work! Jun 28 15:38:27 use the google Jun 28 15:38:30 * azv4 looks around nervously Jun 28 15:38:32 :) Jun 28 15:41:44 My apllication has a thread whos only purpose it is to sit between the gui and some blocking IO operations. What should I do with this throud in the onPause and onResume methods of my activity? Should I destroy and recreate the thread? Should I pauze it? SOmething else? Jun 28 15:50:06 hi all, can somebody help me with a question. whats the trick to make the layout of a widget update while debugging? in my case event remove the widget and add it again to the screen does not help. i have to uninstall and reinstall the app. is there a faster way? Jun 28 16:10:16 Hi. I am try to get the Blue value of the RGB of a pixel with this Color.blue(bmp.getPixel(x,y)). The strange thing is that I am getting values different from the actual ones using a normal image processor. Jun 28 16:10:28 Anyone run into this issue? Jun 28 16:10:50 I am targetting a PNG image file. Jun 28 16:12:18 guys Jun 28 16:12:33 so apparently realm doesnt support multi processes Jun 28 16:13:05 I was using a broadcastreceiver with android:process="remote", to send an api call every x minutes Jun 28 16:13:49 but the data for the api call is in my realm db, so if i cant access it from the broadcast receiver, what are my other options? Jun 28 16:14:20 Any USB host geeks in? Jun 28 16:14:32 For some reason this very specific camera won't disconnect over MTP Jun 28 16:15:00 works on native apps that support MTP, just not mine (annoyingly). Jun 28 16:27:40 char playerInitial = “C”; <— this is possible? Jun 28 16:28:09 has anyone else tried using the new project structure dialog in AS 2.2 to update their dependencies automatically? I click update, but it doesn't do anything, and I don't see any bug reports about it... Jun 28 16:30:15 mimtf, learn java Jun 28 16:30:40 pfn: :| Jun 28 16:31:01 mimtf, why would you expect help if you can't help yourself Jun 28 16:31:12 or rather, won't bother to help yourself Jun 28 16:31:13 mimtf: you're asking stupid questions for 3 days Jun 28 16:31:18 I dont know what admin is doing Jun 28 16:31:29 :| Jun 28 16:31:50 gordon_: you are good when you start android? Jun 28 16:31:59 best Jun 28 16:32:14 :| Jun 28 16:32:17 lier Jun 28 16:32:20 mimtf, there is a java language channel where they can likely help you with java syntax related questions Jun 28 16:32:34 azv4: ok Jun 28 16:32:37 thanks Jun 28 16:32:41 android is really easy if you actually bother to read docs Jun 28 16:32:47 and learn the fundamentals that are required Jun 28 16:33:05 really easy 8) Jun 28 16:33:09 great Jun 28 16:34:11 mimtf: to be honest I was programming 4-5 years in java before start android ;) Jun 28 16:34:15 I dont remember Jun 28 16:34:36 gordon_: heh Jun 28 16:34:48 i do c for 10 years Jun 28 16:35:01 i m good at c. and i can do everything with c. Jun 28 16:35:07 and you still ask weird questions Jun 28 16:35:10 except android =^) Jun 28 16:35:12 some guy call me ‘c hacker’ Jun 28 16:35:20 lol mim Jun 28 16:35:34 some people call me hacker when I open terminal and they see black window ;) Jun 28 16:35:46 gordon_: with green text right? Jun 28 16:35:54 mimtf: I’m gonna be honest, your C knowledge isn’t going to be of much use. A lot of stuff that’s good to do in C is terrible to do with object oriented systems Jun 28 16:36:06 if you're good at C, picking up java is easy Jun 28 16:36:14 rather, if you're good at programming at all, picking up java is easy Jun 28 16:36:24 s73v3r: c is most powerful language. Jun 28 16:36:24 http://hackertyper.net/ Jun 28 16:36:27 that is true Jun 28 16:36:33 I doubt you're any good at C if you ask something like "can I do: char x = "C"" Jun 28 16:36:34 orbyt_: yes Jun 28 16:36:44 you're lying about having 10 years of experience with C, even Jun 28 16:37:03 the local bank had me come in for a talk after they realised I was a hacker and that may not align with their ethics (wtf, you're business is stealing other people's money and committing wide scale fraud...) Jun 28 16:37:17 :| why i lie to you? pfn ? Jun 28 16:37:34 Chainfire, why would they even talk to you? work there? applying for a personal/business loan for a "hacking" business? Jun 28 16:37:46 c hacker lol Jun 28 16:37:47 because I store my money there Jun 28 16:38:12 wow, those Know Your Customer laws are getting ridiculous Jun 28 16:38:17 I'm still not sure where they picked up I was a hacker, at least in my case it doesn't mean what they think it means Jun 28 16:38:36 and even then, wtf would they care how their customer makes a living, at least most banks Jun 28 16:38:53 suffice to say, my money is now stored at another bank, who - right how I like it - treat me like a number and don't give a shit Jun 28 16:39:10 pfn: medical marijuana shops Jun 28 16:39:38 s73v3r, medical weed is legitimicized now, and banks are encouraging them even Jun 28 16:39:44 not national banks Jun 28 16:39:47 I know right, it weirded me out as well Jun 28 16:39:57 even national banks Jun 28 16:40:01 and I believe it’s still hard to get FDIC certification with it Jun 28 16:40:02 because uncle sam wants their cut Jun 28 16:40:23 last I heard the ones here were still having a difficult time dealing with their cash Jun 28 16:40:28 basic idea: force dispensaries to no longer operate in cash such that all the earnings can be taxed Jun 28 16:40:40 no, I get the idea Jun 28 16:40:48 but weed is still schedule 1 nationally Jun 28 16:41:29 uhh big banks do *not* accept weed dispensary accounts yet Jun 28 16:41:59 a single bank agent might, but that is no different than letting someone without documents have an account Jun 28 16:42:02 anyways, banks are required to have an idea of where the money comes from, so they can report possible money laundering and other illegalities Jun 28 16:42:13 it is bcause the bank isn't aware of it Jun 28 16:44:51 indeed Jun 28 16:50:14 if my initramfs is in RAM, does that mean that the directories /bin, /boot etc are in RAM? Jun 28 16:51:31 depending on the directory, it is often that the directory itself is in RAM, but its contents are not Jun 28 16:51:50 check with 'mount' Jun 28 16:57:39 Hi. I am try to get the Blue value of the RGB of a pixel with this Color.blue(bmp.getPixel(x,y)). The strange thing is that I am getting values different from the actual ones using a normal image processor. Anyone run into this issue? Thnks. Jun 28 16:58:30 maybe it's a different color depth? Jun 28 16:58:46 maybe you're accidentally selecting the wrong pixel? Jun 28 16:59:37 what would be the best way to approach video streaming from an android device to my own server? ive seen a few libraries such as sipdroid and libstreaming but theyre a few years old use deprecated classes/methods. i was thinking of using rtpstream from the android API but wasnt sure if there were better alternatives Jun 28 17:00:52 sn0wmonster, the pixel is the right one, but let me check the color depth Jun 28 17:01:08 clviper, "normal color processor"? Jun 28 17:01:10 /pixelformat Jun 28 17:01:35 Mavrik, photoshop, paint.net, so on Jun 28 17:01:44 clviper, is it a transparent image? Jun 28 17:01:47 nop Jun 28 17:02:05 the image is this one Jun 28 17:02:07 https://drive.google.com/file/d/0B1Wpl_ccLFngd0VxQVY3MmxFN0E/view Jun 28 17:02:30 *shrug* Jun 28 17:02:35 it's really small. Scripting with python I was able to get the Blue component of each pixel without any problem Jun 28 17:02:38 Android uses premultiplied alpha, you can be hitting that. Jun 28 17:02:45 Or you're not properly looking at the numbers. Jun 28 17:03:12 the getPixel returns the premultiplied. doing the color.blue of that returned value Jun 28 17:03:20 returns the blue component of the RGB Jun 28 17:03:35 and it's off in all the pixels Jun 28 17:03:49 is there no "get.RGB"? Jun 28 17:04:12 clviper, what does it mean "off"? Jun 28 17:04:34 this is the expected value of BLUE for the first 3 pixels Jun 28 17:04:35 99 48 110 Jun 28 17:04:53 I am getting 86 60 63 Jun 28 17:05:47 curiously if you double click in the drawable file in the Android Studio you have access to a color picker Jun 28 17:05:55 and that color picker is wrong as well Jun 28 17:05:59 wtf lol Jun 28 17:06:07 well now you know :D Jun 28 17:06:08 have you checked if x or y is flipped ? Jun 28 17:06:21 Sounds like your export might be an issue. Jun 28 17:06:28 Or you have something dumb like color profile applied. Jun 28 17:06:35 Hard to say :/ Jun 28 17:06:51 Yeah Mavrik maybe something like that Jun 28 17:07:13 really weird Jun 28 17:07:20 try dumping data with imagemagick or something Jun 28 17:07:45 I've use PIL in python and the I get the right values of the pixels Jun 28 17:07:54 so that issue is not the image itself Jun 28 17:08:13 Are you sure? :) Jun 28 17:08:27 yup Jun 28 17:09:26 http://pastebin.com/WzbztEJv Jun 28 17:09:29 like this Jun 28 17:11:24 maybe BitmapFactory Jun 28 17:11:28 does not like PNG files Jun 28 17:13:14 Does anyone use NestedScrollViews? Jun 28 17:13:22 I'm trying to put one inside another Jun 28 17:13:31 But it doesn't behave the way I want it to Jun 28 17:14:06 clviper, it certanly likes PNG files and works well with them Jun 28 17:14:14 your python code looks like it's priting the alpha channel tho Jun 28 17:14:24 I want the child nested view to only scroll when the parent nestedscrollview has reached the bottom Jun 28 17:14:25 doing it wrong ftw Jun 28 17:14:28 guys real quick, can i make api calls in a services onDestroy() Jun 28 17:14:30 the generic advise one scrollviews is to not use one scrollview in another scrollview, AKK9 Jun 28 17:14:51 Chainfire: I'm using NestedScrollView which, from what I understand, was created precisely for this purpose. Jun 28 17:14:54 Mavrik, my python is going to print something like this Jun 28 17:14:55 (1, 1, 99) Jun 28 17:14:55 (1, 1, 48) Jun 28 17:14:55 (1, 1, 110) Jun 28 17:15:02 the 3 first pixels with the RGB components Jun 28 17:15:19 Does Android Studio have the ability to setup "Watch' so I can see variable values during debug? Jun 28 17:16:13 yes. Jun 28 17:17:26 clviper, that doesn't look right to me O.o Jun 28 17:17:29 Mavrik, great, what is it called? Jun 28 17:17:34 azv4, watch Jun 28 17:17:41 or it's a strange picture Jun 28 17:17:45 Mavrik, what exactly? Jun 28 17:17:54 the fact that you have 1,1 on two channels Jun 28 17:18:01 That looks like you're priting something else Jun 28 17:18:12 Also it seems that you need to use getpixel in python as well to get properly resolved color Jun 28 17:18:24 basicly it's all different tones of blue Jun 28 17:18:33 with the red and green channel with value 1 Jun 28 17:18:47 no I dont. Jun 28 17:18:57 with the python script I have the same blue components Jun 28 17:19:11 that If I used photoshop or other editor, to check with the color picker Jun 28 17:19:20 what is the value of the blue component Jun 28 17:20:18 sweet, intellij finally shows @since information in quick doc for android stuff Jun 28 17:24:05 another strange thing Jun 28 17:24:34 is that the width returned by bmp.getWidth() is 66 Jun 28 17:24:38 the image is 33 Jun 28 17:24:43 something fishy here Jun 28 17:25:15 AKK9 are you using NestedScrollView? Jun 28 17:25:22 Yeah Jun 28 17:26:06 azv4 Yes Jun 28 17:26:41 azv4 There is a eye glass icon. Jun 28 17:26:44 Probably going to give up on this Jun 28 17:27:14 Maybe I can put a header on a recyclerview or something Jun 28 17:31:01 clviper, how are you generating the image? Jun 28 17:31:40 I've used PIL python library. Now I used paint.net to create a BMP copy of the PNG Jun 28 17:31:52 same behaviour Jun 28 17:32:22 wviana, I still cant find it... Is it under one of these tabs: Run TODO Android Monitor Terminal Messages? Jun 28 17:32:36 "BMP copy of the PNG"? Jun 28 17:32:43 What's your pixel format anyway_ Jun 28 17:32:45 ? Jun 28 17:33:13 Mavrik, lol opened the PNG and saved as BMP using paint.net Jun 28 17:34:57 Mavrik, by pixel format are you asking about depth? Jun 28 17:34:58 24-bit Jun 28 17:35:07 No, pixel format. Jun 28 17:35:12 How are the pixels stored in the image. Jun 28 17:35:49 Is it palletized by any chance? Jun 28 17:36:03 Did you try ARGB 32-bit PNG? Jun 28 17:36:22 Did you check with imagemagick yet what exactly are you generating? Jun 28 17:36:43 let me check with imagemagick Jun 28 17:37:25 iirc paint.exe removes alpha channel, and might store it as 24bits Jun 28 17:37:43 The question is what Android does with it and what other backroom magic is going on. Jun 28 17:37:58 Like PIL saving a palletized image if there's not much colors or stuff like that Jun 28 17:38:22 image.png PNG 33x1 33x1+0+0 8-bit sRGB 135B 0.000u 0:00.010 Jun 28 17:38:25 Hence check what exactly do you have first. Jun 28 17:39:02 this is what imagemagick Jun 28 17:39:03 returns Jun 28 17:46:11 hum Jun 28 17:46:20 I think that there maybe an hint Jun 28 17:46:32 in the fact that the width of the file is also not correct Jun 28 17:46:45 this maybe regarding the automatic screen density scaling Jun 28 17:46:59 the BitmapFactory.decodeResource has a option for that Jun 28 17:47:04 let me check if that helps Jun 28 17:48:38 fuck my life Jun 28 17:48:41 Fixed :) Jun 28 17:48:51 it was the automatic screen density scalling Jun 28 17:49:15 BitmapFactory.Options opts=new BitmapFactory.Options(); Jun 28 17:49:20 opts.inScaled = false; Jun 28 17:49:36 then pass the options Jun 28 17:49:38 BitmapFactory.decodeResource(context.getResources(), R.drawable.image2,opts) Jun 28 17:49:49 Thnks for the helps guys Jun 28 17:58:54 Is it possible to make your own login to Google Play Game Services? It is quite ugly to have a login that does not match the game graphics at all. Jun 28 18:00:23 wow lunareclipse120 is gone Jun 28 18:00:37 he bust have gotten employed by tech support Jun 28 18:00:48 in pakistan or where ever the fuck he is Jun 28 18:01:12 fddf, https://developers.google.com/android/reference/com/google/android/gms/games/Games.GamesOptions.Builder Jun 28 18:03:51 Hey - I'm looking for helpful advice but would rather someone give me useless abuse. I'm told there's someone here named pfn that can help me with that. Jun 28 18:04:13 azv4: so if you set it to false you an provide your own? are you sure? Jun 28 18:04:36 hi there, can I send notifications from the same domain to different apps? or is having subdomain enough? Jun 28 18:05:02 or should I have different domain per each app? Jun 28 18:05:51 fddf, I think this link might help: https://developers.google.com/games/services/branding-guidelines Jun 28 18:05:54 ShinyObjects: If you're just here to troll, please find another channel Jun 28 18:06:13 azv4: ty Jun 28 18:07:32 so genius http://codecrap.com/content/8205/ Jun 28 18:07:41 SimonVT: I'm not here for an argument. I'm here for abuse. Jun 28 18:07:49 fddf, hmm, still not sure I linked anything that will help! Jun 28 18:07:57 ShinyObjects: go away n00b Jun 28 18:08:31 zinx: Please refrain from calling the other users n00bs Jun 28 18:09:32 sry was trying to fulfill his request Jun 28 18:10:02 Don't engage the trolls Jun 28 18:11:22 some people have too much time Jun 28 18:12:50 True that' Jun 28 18:15:20 True Jun 28 18:15:40 Ain't nobody got time for having too much time! Jun 28 18:17:05 I was just thinking the other day how lame it is that people offer completely unneeded and off-topic advice. Jun 28 18:17:24 And thought "Why do they dedicate their time to this?" Jun 28 18:18:01 Lol Jun 28 18:18:15 syscall43 = ShinyObjects? Jun 28 18:18:30 Same IP at least Jun 28 18:18:58 so why’d you remove the ban on their alter ego? Jun 28 18:19:04 Would be fun if he works in a large dev shop that has 25 people on that ip idling here Jun 28 18:19:34 same client, username and login Jun 28 18:19:36 * pfn shrugs Jun 28 18:19:54 it’s a small dev shop. they can only afford one IRC login Jun 28 18:26:34 what can I use to immediately load data from a cache, but then replace with updated-from-network data later Jun 28 18:28:44 Keep your own local cache in a db or whatever fits your data Jun 28 18:49:58 Is it a good idea to use a fragment inside a recyclerview Jun 28 18:50:02 What happens to the lifecycle? Jun 28 18:51:04 no Jun 28 18:51:16 Coolio Jun 28 18:51:17 that just sounds like a world of hurt Jun 28 18:51:32 Lol yeah it does Jun 28 18:52:49 ugh, I wish it were easier to make custom notification layouts Jun 28 18:53:13 it's impossible to have a platform laf when writing a custom notification :( Jun 28 18:53:23 laf? Jun 28 18:54:00 look and feel Jun 28 18:56:07 sounds like swing terminology Jun 28 18:56:31 i’ve normally seen it l&f Jun 28 19:00:08 having no issue finding docs from google on what the watch and variable windows do in the debugger, just nothing showing how to use themm... Jun 28 19:00:33 that’d be an IntelliJ thing Jun 28 19:00:52 in Android Studio 2.0? Jun 28 19:02:39 the watch and variable windows? Yeah, that’s a standard IDE feature Jun 28 19:03:08 ugh, I forgot protify/instant run doesn't work for remote views Jun 28 19:04:20 s73v3r, so IntelliJ is part of the standard IDE? Jun 28 19:05:08 IntelliJ is the standard IDE Jun 28 19:05:14 Android Studio is just a customized version Jun 28 19:07:29 s73v3r, not sure where you are going with your replies then... Are you suggesting I search something more like "using Intellij Debugger" over "using Android Studio debugger" if I want to learn more about watch and variable windows? Jun 28 19:07:38 yes Jun 28 19:20:38 oh dear, this is the 2nd time I've done this... Ran the app and not debug the app! Jun 28 19:23:45 then beat my head off a wall wondering why the dang variable window is blank! Jun 28 19:56:18 haha, fragments in recyclerview :D Jun 28 20:00:28 yey Dave Smith http://wiresareobsolete.com/2016/06/play-services-complexity/ Jun 28 20:07:28 Does Retrofit use reflection? Jun 28 20:09:49 Or does it use annotation processing? Jun 28 20:11:14 I need to make sure I have this correct: is a Toolbar just an extended version of an Actionbar? Jun 28 20:11:43 no Jun 28 20:12:00 I am seeing a lot of "should we get rid of x" on Google, so I don't quite have a straight answer on this. Jun 28 20:12:09 but there are different ways to look at it. ToolBar does most of what ActionBar did, but is a more general solution Jun 28 20:12:32 you can put Toolbar anywhere in your layout, and it can have children Jun 28 20:12:56 so you can put TabLayout or whatever in a ToolBar. note though, that extended height toolBars have wonky semantics with minHeight, etc Jun 28 20:13:50 I think I understand that. Would you happen to have a link I could go to to find more information of the same vein? I wouldn't quite know what to search on StackOverflow. Jun 28 20:14:03 The ActionBar, does some things Toolbar doesnt out of the box. Thats why if you want to use ToolBar as ActionBar proper with wiring up of menu items, etc, you need to SetSupportActionBar() Jun 28 20:14:38 Anubitek sorry , except for chris banes blog posts and maybe some stuff they did on Google+ Jun 28 20:15:06 Anubitek the general term, is AppBar Jun 28 20:15:17 think of AppBar, as the blob at the top of the screen Jun 28 20:15:31 you can implement AppBar with ActionBar or ToolBar Jun 28 20:15:41 don't forget to choose the right theme from AppCompat Jun 28 20:15:58 Anubitek and there is something called AppBarLayout Jun 28 20:16:18 i'd recommend getting the cheese square sources and looking at that, its a good example Jun 28 20:17:58 Thanks mate, I'll look into it after I get off work. You helped clear some confusion, though I still need to look into this further when I can. Jun 28 20:21:57 Anyone have experience using a custom map for the maps APIs? Jun 28 20:22:11 or indeed if I can use one at all? Jun 28 20:23:19 By custom I mean a normal map, just with several points of interest marked that are selectable. Jun 28 20:23:53 I think it may just be a case of manually adding each point as a marker Jun 28 20:27:22 So I currently have a problem where my activity won't render if I attach an adapter and a layoutmanager to the recyclerview of a drawerlayout Jun 28 20:28:12 But if I only attach one of them (or none) everything apart from that recycler (obviously) renders... Jun 28 20:32:06 dragorn https://www.wired.com/wp-content/uploads/2016/06/Fansmitter-1.pdf Jun 28 20:48:59 how you define "fragment" in few words? Jun 28 20:49:58 has anyone had to manage an Android SDK using the cli interface for SDK Manager only? Jun 28 20:50:09 its not very well documented... Jun 28 20:52:36 hey guys, anyone familiar with Firebase? Jun 28 20:52:40 purplex88 a lifecycle component :) Jun 28 20:52:42 ooh, I can expect to get paid like $29k for my sportwagen Jun 28 20:52:49 but there's nothing fucking worth buying to replace it :( Jun 28 20:53:28 g00s: why is it not an app component? Jun 28 20:53:40 not sure what you mean Jun 28 20:54:15 I recently changed my App from Parse to Firebase, I managed to do all CRUD Operation with the Database and Storage, also Authentication seems to work. But how can I retrieve multiple Items (for example all Children from "Users/") Jun 28 20:54:38 I have read the Documentation but can't find an answer, the Guides also only provide an Answer using the FirebaseRecyclerAdapter Jun 28 20:54:51 going to the FirebaseRecyclerAdapter I see a class called FirebaseArray, which I can't find in the Documentations Jun 28 20:55:31 pfn what are you selling? :) Jun 28 20:55:41 g00s: if you search for app components, you will these results: Activities, Services, Broadcast Receivers, Content Providers. so that makes a fragment is an activity? Jun 28 20:55:47 I tried using the ValueEventListener, which only gives me a Callback on changed Value Jun 28 20:57:09 any Dev here who can help me? Jun 28 20:57:40 Chainfire, not selling Jun 28 20:57:44 Chainfire, vw settlement Jun 28 20:57:50 Chainfire, http://www.vwvortex.com/news/volkswagen-news/heres-how-much-you-can-expect-from-your-tdi-buyback/ Jun 28 20:58:15 pfn do you get both the settlement and keep the car? Jun 28 20:58:32 Chainfire, you can take the right column number if you want to keep the car, as I understand it Jun 28 20:58:48 are they handin' out money for vespas? Jun 28 20:59:22 Installed android studio on linux using defaults. guess it installed to root? I can't access it from my user account wtf Jun 28 20:59:23 left column for buyback (which is basically what I paid for the car in 2014) Jun 28 20:59:24 well what can you buy for 29k... a miata? :D Jun 28 20:59:32 a used car :/ Jun 28 20:59:34 2016 miata is awesome Jun 28 20:59:36 I want one Jun 28 20:59:39 Is this a #Cars channel or #android-dev Jun 28 20:59:41 but I already have a 2012 miata Jun 28 20:59:48 #Cars Jun 28 20:59:52 Makavala: Hush. Jun 28 20:59:59 hope to see the RF version in real life some day soon Jun 28 21:00:10 you're all reported Jun 28 21:00:32 rip Jun 28 21:00:33 Chainfire, 2017 Jun 28 21:00:44 Makavala: Reported to who? Jun 28 21:00:48 Dylan the Hacker? Jun 28 21:00:55 chainfire the hacker Jun 28 21:00:56 :P Jun 28 21:01:00 this disturbs my desire for instant gratification Jun 28 21:01:04 hello! i'm not new to programming but pretty new to android progamming Jun 28 21:01:13 to Noah Jacobson Jun 28 21:01:16 i can't get my incomingcallreceiver to work Jun 28 21:01:16 Chainfire, MY2017 cars start rolling into dealerships in august... Jun 28 21:01:26 dunno when the RF would make it, though Jun 28 21:01:31 i've tried numerous stackoverflow posts, but nothingseem to work Jun 28 21:01:37 Makavala: Ooh you are able to do /whois. What an acomplishment. Jun 28 21:01:55 i have a reciever in the manifest Jun 28 21:01:56 and you're able to be an annoying fuck Jun 28 21:02:15 Makavala: Are you the topic police? Jun 28 21:02:26 but onReceive never gets executed Jun 28 21:03:59 Chainfire, hard to justify getting a 2017 RF when I already have a roadster :-/ Jun 28 21:05:04 pfn sell the old one? Can't really do softtops in this town, so no normal MX5 or Boxster for me Jun 28 21:05:12 Chainfire, I have a PRHT Jun 28 21:05:31 so RF is only an incremental change Jun 28 21:05:36 i’ve tried to add a log line to the constructor of the receiver, but it’ll never get logged Jun 28 21:05:45 I didn't even know those existed, lol Jun 28 21:05:57 so why is my receiver not started?? anyone?? Jun 28 21:06:13 niekniek, any number of reasons, your information is lacking Jun 28 21:06:33 pfn: please tell me what you would like to hear Jun 28 21:06:36 Chainfire, 40% of all NCs are hard top Jun 28 21:06:41 niekniek, what exactly you have done Jun 28 21:07:19 pfn: i’ll post some stuff somewhere Jun 28 21:07:21 hold on Jun 28 21:08:39 pfn: http://paste.ofcode.org/3XjAbuNLNnfBEaTcquVzWJ Jun 28 21:08:54 niekniek, no permission Jun 28 21:09:01 ow :( Jun 28 21:09:27 googling would have answered that in short order Jun 28 21:10:29 pfn: ok i’ll add the full manifest.. Jun 28 21:11:10 pfn: i thought you had no access to the paste first… :) have a look again Jun 28 21:11:52 my app uses a webview, does that change anything? Jun 28 21:12:40 when i start the app filtering on msxevent doesn’t show anything Jun 28 21:13:15 does it matter if i start the app from android studio? Jun 28 21:13:27 broadcast receivers don't start until they receive a message Jun 28 21:13:33 ah Jun 28 21:14:26 still nothing Jun 28 21:16:41 hold on, now i see that my receiver in the manifest is somewhere it is not allowed! Jun 28 21:17:34 a problem that would have been easily solved if you actually pasted information Jun 28 21:18:26 well i pasted the whole manifest, what else would you need? Jun 28 21:18:44 element receiver is not allowed here Jun 28 21:21:10 Evenin' Jun 28 21:21:20 you never pasted the whole manifest Jun 28 21:22:47 i did, refresh please Jun 28 21:23:25 your pastebin doesn't refresh Jun 28 21:23:40 learn2pastebin Jun 28 21:25:56 ah different url… http://paste.ofcode.org/PjnSzdj3kPkdJfUR78sgnK Jun 28 21:26:22 lol and another one… http://paste.ofcode.org/399aFFiiWHq34U6fbzeSRcs Jun 28 21:26:45 every modification creates a different url.. why is that Jun 28 21:27:28 because that's how pastebins work Jun 28 21:29:25 pfn: ok, but can you see any problems? no log or anything Jun 28 21:29:38 no log while doing what Jun 28 21:30:20 and what android version Jun 28 21:30:23 you provide so little information Jun 28 21:32:14 pfn: android 6.0 Jun 28 21:32:28 then you need to use runtime permissions Jun 28 21:32:30 - start app, take other phone, call the number Jun 28 21:32:33 is there any reason as to why a notification won't dismiss on a samsung device when the app is force closed? Jun 28 21:32:46 pfn: ah what is that?? Jun 28 21:33:07 google android runtime permissions Jun 28 21:35:54 AH that’s it, thank you so much!! I didn’t need to set any other permissions like this as of yet so had no clue Jun 28 21:37:12 always provide the maximum amount of detail when looking for help Jun 28 21:38:51 Guys I've set up data binding with a recyclerview but for some reason all of my textviews on each item disappear... Jun 28 21:39:06 I get no errors in logcat or compilation Jun 28 21:39:14 Has anyone experienced this before? Jun 28 21:39:19 Google not turning up anything Jun 28 21:41:53 AKK9 Napalm|afk is pretty good with data binding, when he's around maybe he can help Jun 28 21:42:14 Good to know thanks Jun 28 21:43:18 Using databinding with adapter views sounds like a fine way to lose a few years off your life. Jun 28 21:43:34 Worked really well for another recyclerview Jun 28 21:43:36 Saved me time Jun 28 21:48:04 nice d3.js, 4.0.0 Jun 28 21:50:41 im about Jun 28 21:51:27 AKK9 ^^ Jun 28 21:51:34 Ooh Jun 28 21:51:56 hey Napalm Jun 28 21:52:29 Hello Napalm, I'm using data binding in two recyclerviews in my app. One of the works exactly as expected. The other doesn't. all the textviews in the row layouts just disappear when they are put in the recyclerview. Jun 28 21:52:34 Have you every seen thsi before? Jun 28 21:53:15 g00s mentioned you're decent with data binding Jun 28 21:57:05 Napalm lets say i want to try data binding, i'm not so happy about the xml root element changes - ... . If I have an XML with as root element, can I still inflate / use that layout w/o databinding? Jun 28 21:58:56 ^^ good question. I'd like to know too Jun 28 22:03:42 Yeah you can still do that Jun 28 22:03:56 I don't think the actual xml looks like that Jun 28 22:04:14 I think gradle just uses it to compile some seperate stuff for databinding to work Jun 28 22:04:40 So I think it makes a normal xml + some seperate data binding stuff files based on the xml Jun 28 22:04:49 truckcrash: g00s ^ Jun 28 22:06:13 Also I fixed the problem Jun 28 22:06:22 The cause was a dumb error on my part Jun 28 22:06:41 huh, where the hell is primary_text_default_material_light defined Jun 28 22:08:57 ok, found it Jun 28 22:10:59 AS/IDEA still can't track dependencies of styles very well :/ Jun 28 22:11:20 yeah, I just grep away Jun 28 22:13:21 https://imgur.com/WXkRmbb Jun 28 22:13:30 oh well, as close to native looking as I can get for the notification Jun 28 22:13:36 it's probably gonna look fucked up on N :( Jun 28 22:14:41 (keepshare notification) Jun 28 22:15:16 thanks AKK9 Jun 28 22:16:03 no probs Jun 28 22:16:12 pfn that looks good Jun 28 22:17:10 did you say you were sharing your code? Jun 28 22:17:31 http://i.imgur.com/isFeBZl.png Jun 28 22:17:33 and how it looks on N Jun 28 22:18:47 AKK9, anything I ask/discuss here is all open source Jun 28 22:18:54 I don't discuss professional stuff here :P Jun 28 22:19:36 oh sweet, is it on your github? Jun 28 22:19:49 yes Jun 28 23:40:37 Quick question: Java 8 optionals: Can they be primitives? Jun 28 23:50:05 what? Jun 28 23:50:10 all java generics have objects Jun 28 23:52:17 yeah, i wasn’t thinking clearly Jun 28 23:52:32 i didn’t want my primitive type, or the object wrapper i guess, to be null Jun 28 23:52:47 but that’s kinda the reason i was trying to wrap it in an optional to begin with Jun 29 00:07:53 Hello! Jun 29 00:08:10 Has anyone experienced issues with google play search results today for their app? Jun 29 00:10:22 Daryl1: What kind of issues? Jun 29 00:10:24 https://plus.google.com/104724778854755389402/posts/SmGnNY6XLLZ Jun 29 00:10:34 I'm experiancing exactly as this person describes Jun 29 00:10:49 I've spoken with support and I've basically had generic responses Jun 29 00:11:19 at about 10am-11am GMT today, I lost all search visibility in 90% of ranking if searched on devices. if you search on the web, everything is fine Jun 29 00:11:51 try it if you might, search "sensory" on google play, I'm ranked 1st/2nd Jun 29 00:12:16 on the web it still shows that, on search through a device, i just don't exist anymore Jun 29 00:12:26 it seems to have only affected one of my apps Jun 29 00:12:31 my paid app is unaffected Jun 29 00:12:38 it ranks as normal Jun 29 00:12:41 Daryl1 lol, i've seen that on / off for years ... Jun 29 00:12:53 but I've lost 70% of user aquisition! Jun 29 00:13:00 web results are different than Play Jun 29 00:13:14 (I was not featured at all, that was my first thought to the major loss) Jun 29 00:15:04 I was gaining 700-800 new users per day, which has steadily been rising over the past 30 days, app is about 3 months old. Now its just completely dropped Jun 29 00:15:06 (using google analytics to monitor) Jun 29 00:15:59 disappeared from all rankings, most of my users were coming from the us/uk, DAU rising daily also, no reason to suddenly become completely un-ranked from devices Jun 29 00:16:48 So, nobody else has experienced this today? except me and that other post i linked? Jun 29 00:18:12 I'm really at a loss here, i was gaining organically daily for the last 30-40 days... I'm going to loose so much visibility from this.. Jun 29 00:19:26 unfortunately not. Although even if we did, there’s not really anything we could do about it Jun 29 00:19:37 Google giveth and Google taketh awayeth Jun 29 00:19:56 so is life in the Serengeti ^H^H^H app store Jun 29 00:20:01 Dammmmm Jun 29 00:20:26 so, with your experiences, will it just build back up again? or just fix itself and go back to normal? Jun 29 00:20:28 web people have been dealing with this same thing forever Jun 29 00:20:37 its just weird how the web ranks are still normal Jun 29 00:20:51 Daryl1 also updating your app can't hurt Jun 29 00:21:13 A bundle version change? or just resubmit? Jun 29 00:21:23 lol, i mean a real update Jun 29 00:21:27 well, more like making some bugfixes and updating Jun 29 00:21:59 that drop off is nothing to do with user disengagement Jun 29 00:22:16 no one is saying it is Jun 29 00:22:27 right but play rankings is function of many things, including 'freshness' Jun 29 00:22:44 my latest update is only 3 weeks old :/ Jun 29 00:22:51 and i've been climbing the ranks daily with it Jun 29 00:23:08 how could can it just drop off when i've been gaining more and more? Jun 29 00:23:08 3 weeks should be enough time to rack up some bug reports Jun 29 00:23:24 google’s algorithms are dark and mysterious Jun 29 00:23:28 no bug reports Jun 29 00:23:57 it's a fairly simple game.. https://play.google.com/store/apps/details?id=com.SensoryPlayApps.SensoryFishFree Jun 29 00:24:16 nothing can really go wrong in the way of bugs Jun 29 00:24:28 none at all? no crashes, no complaints in user reviews? Jun 29 00:25:28 I'm pretty on the ball with fixing stuff... i have 8 bug reports in total on my developer account Jun 29 00:25:39 and I've pushed updated directly after any reports / reviews Jun 29 00:25:43 updates* Jun 29 00:25:48 also replied to those reviews Jun 29 00:26:15 the point is, there has got to be something you can do Jun 29 00:26:22 there’s always something you can do to improve Jun 29 00:26:48 but, it was doing just fine, it was climbing ranks daily Jun 29 00:26:57 yes, it was. but that was then Jun 29 00:27:04 so stop saying that Jun 29 00:27:14 but how is it relevant? Jun 29 00:27:24 to the search results Jun 29 00:27:40 you’d have to ask someone with the algorithm Jun 29 00:27:45 we’re not even sure if it’ll work Jun 29 00:28:05 :/ Jun 29 00:29:04 guys i've trying to craft my frist app and i followed an outdated api.. i would like to know with what can i replace setContentView(R.layout.activity_main); ? thanks Jun 29 00:29:28 that’s not outdated Jun 29 00:29:41 activity_main and a few other variables cannot be found Jun 29 00:29:54 oh. because the complier said something about the API Jun 29 00:30:09 activity_main is a layout file that you would have made Jun 29 00:30:36 but it's there present in the layout folder Jun 29 00:30:58 and this is in your activity? Jun 29 00:31:26 yes Jun 29 00:31:29 and the file is named activity_main Jun 29 00:33:23 s73v3r: yes. the layout file Jun 29 00:33:36 and what’s the specific error message? Jun 29 00:34:14 3 vars coudln't be found and that MainActivity uses/overrides a deprecated API Jun 29 00:34:24 specific error messages Jun 29 00:34:35 i've followed a tutorial on youtube.. he's the code also, if i can paste: http://programmingknowledgeblog.blogspot.si/2015/04/android-sqlite-database-tutorial-1.html Jun 29 00:35:09 missing activity_main, menu_main and action_settings Jun 29 00:35:12 dude, is it that hard to tell us what the specific error message is Jun 29 00:35:24 i don’t want to trounce through some tutorial Jun 29 00:35:45 either screenshot exactly what Android Studio is telling you, or type it up Jun 29 00:40:49 s73v3r: https://s32.postimg.org/6l8rs6qyt/Capture.jpg Jun 29 00:41:23 nice resize... wait, i reupload.. Jun 29 00:42:49 the link they provided resized my image. here's the original. https://postimg.org/image/56773gpvl/ Jun 29 00:52:35 those are the only error statements that come up? Jun 29 00:52:50 I definitely don’t see menu_main Jun 29 00:53:05 and I’m assuming action_settings would be something inside that menu Jun 29 00:53:19 yes these are the only errors Jun 29 00:53:31 oh wait, you have “import android.R" Jun 29 00:53:34 get rid of that Jun 29 00:53:34 i dont see menu_main also and action_settings. i wonder where they can be ;D Jun 29 00:53:40 i did Jun 29 00:53:45 this was a test Jun 29 00:53:50 that did nothing Jun 29 00:54:05 did you try to reimport your R file? Jun 29 00:54:32 menu_main would be an XML file that you made, and action_settings would be the name of something in that file Jun 29 00:55:32 i dont even know what a R file is :D Jun 29 00:55:48 oh i see Jun 29 00:58:03 if you put your cursor on activity_main, the thing in red, and then hit Alt+Enter, one of the options that comes up should be something like import Jun 29 00:58:18 select that, and Android Studio will import the file for you Jun 29 00:58:36 but be careful, because one of the options will be to import android.R, which you don’t want Jun 29 01:01:29 sure, thanks for the info Jun 29 01:01:41 i managed it now by adding a new layout Jun 29 01:01:53 i'm getting the concept slowly i think Jun 29 01:12:04 i can’t see xml preview in the android studio. what’s wrong? Jun 29 01:12:19 the android studio layout editor is shit Jun 29 01:12:33 lol Jun 29 01:12:42 give me way. s73v3r Jun 29 01:14:03 there isn't Jun 29 01:14:22 Rendering problem. Jun 29 01:14:24 you might be able to select a style, but that’s about it Jun 29 01:14:25 yeah Jun 29 01:14:38 it’s notorious for them, hence the editor being shit Jun 29 01:14:42 Missing styles. is the correct theme chosen for this layout? Jun 29 01:14:52 yup, that’s the error I constantly have, too Jun 29 01:15:55 then how can i do? s73v3r ? Jun 29 01:16:21 start drinking heavily Jun 29 01:16:24 there is no fix Jun 29 01:16:58 lol Jun 29 01:17:01 this is why I say the layout editor is shit Jun 29 01:17:03 wtf Jun 29 01:17:03 it’s not funny Jun 29 01:17:17 you can run it on device just fine Jun 29 01:17:28 since i target sdk 24 my layout edtor won't even show up, says i need to use java 8 Jun 29 01:17:55 java 8? Jun 29 01:18:00 it makes me want to go back to iOS. at least the layout stuff works there Jun 29 01:18:00 which will be fine once as 2.2 comes out with jetbrains patched openjdk 8 bundled in for osx Jun 29 01:19:00 it is nightmare Jun 29 01:19:04 :| Jun 29 01:19:25 Oh it's mimtf. Did you decide to actually learn to code? Jun 29 01:19:38 agreed. Whoever decided to release it like that needs to be fired. Jun 29 01:19:42 yeah, i m doing now. Jun 29 01:19:53 Ok. Jun 29 01:19:58 but i can’t see preview of xml. Jun 29 01:19:59 lol Jun 29 01:20:30 Exception raised during rendering: com/android/util/PropertiesMap (Details) Jun 29 01:21:01 Did you just make this? Jun 29 01:21:16 no yesterday. Jun 29 01:21:35 and i opened it again, but i can’t see preview. Jun 29 01:21:37 :( Jun 29 01:21:59 mimtf: Is this a new project? Jun 29 01:22:13 I thought you said you are going to make a game. From scratch. Jun 29 01:22:17 no existing project Jun 29 01:22:27 Where did you get if from? Jun 29 01:22:33 Instead of trying to profit off of someone elses work. Jun 29 01:22:40 i made it yester day. Jun 29 01:22:52 yesterday Jun 29 01:22:53 Did you use a blank activity? Jun 29 01:23:54 it is not blank activity Jun 29 01:24:23 Design and Text, i can see content when i click Test but i can’t see Design Jun 29 01:24:38 thanks for your time guys. cya Jun 29 01:25:38 s73v3r curious, why not go back to ioS ? Jun 29 01:25:53 i only do this for hobby now, but thought the same thing Jun 29 01:26:13 i wish i could do both, but i think the platforms are too big now Jun 29 01:26:22 Rendering Problems Exception raised during rendering: com/android/util/PropertiesMap (Details) Jun 29 01:26:41 Rendering Problems Missing styles. Is the correct theme chosen for this layout? Use the Theme combo box above the layout to choose a different layout, or fix the theme style references. Failed to find style 'textViewStyle' in current theme (4 similar errors not shown) Jun 29 01:26:58 what’s wrong? Jun 29 01:28:28 g00s: I do both, but right now my past two jobs have been android Jun 29 01:28:52 I’m waiting for a new project to come along, then hopefully I can switch back Jun 29 01:29:12 LunarEclipse120: what’s wrong? Jun 29 01:29:14 mimtf: Do you have textViewStyle defined in your theme? Jun 29 01:29:28 Any thoughts on this issue, when I add the admob view into my view, some of the elements on the screen disappear. I replaced a older version of the library with the newest and put it in the same spot. I reverted those changes now, but was wondering if there is something with the admob code that could cause it Jun 29 01:29:39 s73v3r: what you mean? Jun 29 01:29:57 exactly that. did you define textViewStyle somewhere? Jun 29 01:30:09 i don’t know Jun 29 01:30:11 :( Jun 29 01:30:30 then remove that line Jun 29 01:31:27 are you kidding me? Jun 29 01:31:29 :( Jun 29 01:32:24 something has to be defined before it can be used Jun 29 01:34:14 s73v3r how far along is Apple in Swift-ifying all the cocoa touch apis ? Jun 29 01:34:25 well, all the apis Jun 29 01:34:26 that’s what Swift 3 is supposed to do Jun 29 01:34:40 hm, interesting Jun 29 01:51:26 well, theres a new update done... slightly reduced file size and slightly improved memory usage Jun 29 01:51:38 hope my search rankings appear back on devices soon... Jun 29 02:03:00 Daryl1 it could be so many things Jun 29 02:03:20 perhaps, a word in your description is trending up or down, regardless of its relationship to your app Jun 29 02:15:12 hello, i have a question regarding BMI sensor on the devices Jun 29 02:15:26 what is BMI Jun 29 02:15:42 body mass index, normally - which you can't measure with a phone Jun 29 02:15:49 yeahs thats why i ask Jun 29 02:15:52 oops ? Jun 29 02:16:02 how about all that heart rate checkers Jun 29 02:16:13 heart rate != BMI Jun 29 02:16:39 i guess i mixed between expert system and android capabilities Jun 29 02:16:44 systems( Jun 29 02:17:53 wait, expert systems? Jun 29 02:18:50 i've seen someone done BMI expert system before Jun 29 02:18:59 AFAIK most phone-based heart rate monitors - and there have only been a couple with dedicated sensors - work by detecting the colour change in/under the skin as your heart pumps Jun 29 02:20:12 i wanted to build an app to record the heart rate and feed it to a database then build an Expert system to anlayze these data Jun 29 02:20:32 mx8manger BMI is a somewhat discredited idea to begin with, even if you could calculate it, the value is mostly meaningless Jun 29 02:21:03 this is not my first app btw Jun 29 02:21:22 lol yeah Jun 29 02:21:24 i've done one before, Jun 29 02:21:29 if you're not fit, BMI works Jun 29 02:21:32 if you are, BMI doesn't. Jun 29 02:22:38 for the typical body type, bmi works well Jun 29 02:22:48 my question is related to how these sensor work and does exist extreemly on smart watches cause i heard stuff like these Jun 29 02:22:52 it's only really wrong for body builders Jun 29 02:23:00 and how does they work Jun 29 02:23:21 gives a good index of weight vs height Jun 29 02:23:21 also Jun 29 02:23:35 aren't the ones that use your camera + 'flash' LED not very accurate anyway Jun 29 02:24:30 all of them just use camera ?? Jun 29 02:24:45 taking a picture to determine bmi is not possible Jun 29 02:25:52 as for sensors for heart rate, you can get a bluetooth Le thing Jun 29 02:33:13 no, the BMI is a 200 year old bad idea Jun 29 02:33:23 it has no scientific validity Jun 29 02:35:03 usually said by people classified as obese by it, denial Jun 29 02:36:19 using straw man usually used by people with inferior intellects Jun 29 02:36:50 shots fired. Jun 29 02:37:36 straw men, you wish you weighed like straw Jun 29 02:37:50 pfn: not really Jun 29 02:37:54 that would be quite unhealthy Jun 29 02:38:12 even using BMI Jun 29 02:39:58 At least it's a bit more valid than just weight, right? As for calculating it just with a picture... mmmh tricky Jun 29 02:41:47 just not possible Jun 29 02:42:03 with tango, you would be able to do some interesting things maybe Jun 29 02:42:24 but you wouldn't be able to get any sort of remotely accurate numbers Jun 29 02:43:17 might be able to. calculate volume vs height, but get nothing meaningful out of it Jun 29 02:48:28 i did it with installing sdk tools Jun 29 02:48:34 LunarEclipse120: Jun 29 02:48:45 Ok. Jun 29 02:48:53 :| Jun 29 02:49:05 No one teach me it. Jun 29 02:49:12 i did it by myself. Jun 29 02:49:57 That's what we wanted you to do. Jun 29 02:49:58 Learn. Jun 29 02:50:10 :| Jun 29 02:57:49 https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android seems like tensorflow for android uses bazel, not gradle Jun 29 02:59:04 gordon_ yeah :( **** ENDING LOGGING AT Wed Jun 29 02:59:58 2016