**** BEGIN LOGGING AT Sun Dec 15 03:00:00 2013 Dec 15 03:12:02 ok if i have pictures in a public folder/img for my website Dec 15 03:12:14 can I access them on the android app i build if so how? Dec 15 03:12:38 or how do I go about pulling pictures Dec 15 03:26:49 hi, does anybody know this game? http://www.arcade-museum.com/images/118/1181242143104.png Dec 15 03:27:04 what is the name of the game? Dec 15 03:27:33 are there some proper standards regarding javadoc and dep injection ? since you're not really passing something into the class, how do you say "in order to use this class, inject ..." ? Dec 15 04:13:00 Anyone set up their manifest to bring up their launcher activity in the menu when a user long presses the physical search button? Dec 15 04:19:04 I wrote a parser without variables. Go me. Dec 15 04:19:30 YOU'RE THE MAN NOW DAWG Dec 15 04:20:06 That site is dead now, right? Dec 15 04:24:42 Amazingly, it's only about 80 lines longer than the Java implementation with mutable state, too. Dec 15 04:27:52 GOTO hell? Dec 15 04:31:27 hey Dec 15 04:31:42 how do i pull public images off a website onto android is that possible Dec 15 04:32:01 like i have a website now I am trying to build an app for it, but all the images are in a public folder Dec 15 04:32:20 that is availble to html Dec 15 04:38:35 what programming language are most apps written in Dec 15 04:38:51 https://github.com/wikimedia/operations-puppet/commits/production?author=yuvipanda&page=1 Dec 15 04:38:54 amelie java usually Dec 15 04:38:55 gah, sorry, wrong channel Dec 15 04:39:25 ok good Dec 15 04:39:31 lonsolider if you are trying to do it at run time you have to iterate over the file listing in the html directory, download them and display them, usually done with async task Dec 15 04:39:37 and you can run those apps on an android phone? Dec 15 04:39:51 Most apps are written in Java but you should use Scala. Dec 15 04:39:51 I base this on my insane personal preferences. Dec 15 04:39:56 amelie: java is the language google chose to make the sdk in, so yes. Dec 15 04:40:02 why should you use scala? Dec 15 04:40:15 I am teaching myself java Dec 15 04:40:22 so it sounds like one thing i could do with it is write apps Dec 15 04:40:26 Because it's awesome. Dec 15 04:40:28 for phones Dec 15 04:40:34 don't worry about scala, some people say it does certain things faster and it's harder to reverse engineer than java Dec 15 04:40:57 mmm Dec 15 04:41:06 interesting Dec 15 04:41:33 do you think it's the way of the future Dec 15 04:41:41 you'll want to have some programing principles down (what are variables, logic control such as ifs switches and loops) but check out http://developer.android.com/training/index.html Dec 15 04:41:54 obviousily if over 2 billion smart devices out there Dec 15 04:42:00 its not the future Dec 15 04:42:01 its now Dec 15 04:42:16 (and i guess by extension "the future") Dec 15 04:45:31 yes Dec 15 04:45:46 i am a moron for learning programming and then not using it for ten years Dec 15 04:45:55 i went and studied Accounting Dec 15 04:46:02 but anyway i am reteaching myself java Dec 15 05:00:15 lasserix: I don't see why it'd be harder to reverse engineer, it produces the same bytecode. Also, faster isn't really a language property, though you'd probably get similar results for time if you profiled equivalent Java and Scala code. Dec 15 05:01:47 I suppose if you were excessively paranoid of people decompiling your work, then Scala might be a slightly larger pain in the neck, but that'd just be down to how it generates classes and such for certain things. Dec 15 05:05:44 Nilium: Scala on Android? Dec 15 05:06:16 Yes, the thing I ramble about periodically. Dec 15 05:06:57 last time i checked they're working on it, but it was far from stable Dec 15 05:07:49 Works fine for me. Dec 15 05:07:51 Seen nothing to suggest there's stability issues of any kind. Dec 15 05:08:25 glad to hear Dec 15 05:09:56 "they're"? Dec 15 05:10:34 Google? nope never gonna happen, they're emphatically, not, working on it Dec 15 05:10:53 the super-secret Scala cabal Dec 15 05:11:34 and decompiling scala is considerably harder, it generates nonsense Java code if you don't have a specific scala decompiler Dec 15 05:11:35 Lausanne University Dec 15 05:11:44 I believe it's the plan for when they get banned from using Java by Oracle Dec 15 05:12:15 oh they wrote a Scala-to-Java compiler? Dec 15 05:12:53 "they"? Dec 15 05:13:04 pff Dec 15 05:13:07 scala is a jvm language... Dec 15 05:13:18 Leeds seriously, you heard that ? Dec 15 05:13:27 so why do you say it generates nonsense Java code Dec 15 05:13:31 g00s, that is clearly tongue in cheek Dec 15 05:14:10 onr, because the only decompiler for jvm byte code currently available are for to java Dec 15 05:14:33 blame the decompiler, not Scala :) Dec 15 05:14:37 pfn: you're part of the cabal, obviously, since you're trying to cover up the truth by pretending it's a joke Dec 15 05:14:48 :p Dec 15 05:15:08 the only truth out there is android-sdk-plugin Dec 15 05:15:39 onr, I blamed nothing Dec 15 05:15:46 it is a matter of fact Dec 15 05:16:43 there isn't a scala decompiler currently, so if you don't think it's considerably harder to write one vs using an existing tool... Dec 15 05:16:54 it's a fact that scala is nonsense? Dec 15 05:17:51 decompiling it as if it were Java, yea Dec 15 05:18:15 basically the case for any jvm language that compiles to bytecode Dec 15 05:23:22 http://i.imgur.com/72zRVtC.gif ⇐ In lieu of anything I care to say about Scala, have a kitten trying to climb a bookshelf. Dec 15 05:28:47 lets get this straight only thing i ever backed out of was getting on a hangout while being drunk after 20hrs of coding Dec 15 05:29:13 wrong room Dec 15 05:32:08 Well now you're going to have to provide context mr. backer-outer Dec 15 05:32:15 fml Dec 15 05:32:39 YOU SO BACKED OUT OF THINGS. Dec 15 05:32:39 Is that seriously a criticism of people now? Dec 15 05:32:52 I thought choosing not to do something was one of the most awesome things I could do. Dec 15 05:34:28 fuck i typed it but lost it Dec 15 05:35:29 Probably for the best. Dec 15 05:37:07 yeah i went to explain it again but you're right <3 Dec 15 05:38:12 crap, trying to import a server's cert into the Settings 'import cert from sd card' … says its imported, but then doesn't show up Dec 15 05:39:15 to sum it up "they" said they were a girl, and i called bullshit.. by the time they were willing to prove it harassing them had lost it's novelty Dec 15 05:40:37 Anyone here heard of a way / apps that prevent other apps from getting intent filter for search ? Dec 15 05:41:54 Why do you care if someone's male or female? Dec 15 05:41:55 I don't see the point. Dec 15 05:42:08 On my 2.3 dev phone I can get long press on search physical button to include apps in select which to use to search dialog, but on partner's phone (4.x) same exact code (the two lines you add to the manifest) doesn't bring up app, in fact no app on market using long search (except one, the "competitors") will show up Dec 15 05:43:26 thats one thing i dont like about the nexus program Dec 15 05:43:35 adp devices got old android releases Dec 15 05:43:39 nexus devices dont :/ Dec 15 05:43:50 if i want to dev for 2.3 i have to dig up a nexus s Dec 15 05:45:40 i didn't, she/he talked about about being female so much it raised red flags, so i exploited it Dec 15 05:45:59 whether that were the case or not Dec 15 05:46:40 Nilium, re your parser, one could argue that registers or a stack are variables, and i find it unlikely you wrote a parser that doesnt use registers or a stack Dec 15 05:47:30 LiENUS: And I find it likely shut the fuck up Dec 15 05:47:40 I will cut you Dec 15 05:47:42 oh dear Dec 15 05:47:46 apparently you're a dikfore Dec 15 05:47:59 or you need one Dec 15 05:48:03 * Nilium waves an internet knife around wildly. Dec 15 05:48:38 Well that's an oldie. Dec 15 05:49:12 Also doesn't really work in text. Dec 15 05:49:22 it doesnt work with anyone Dec 15 05:49:25 except in the military Dec 15 05:49:32 worked for every moron i tried it on in the military Dec 15 05:49:43 i even did it to a drill sgt once Dec 15 05:49:47 And six year olds. Dec 15 05:49:49 Pretty sure that's around the age I first heard it. Dec 15 05:51:09 what are android developers obsession with preventing decompilation? Dec 15 05:51:12 what is? Dec 15 05:51:14 is are were Dec 15 05:51:20 whichevar conjugation it be Dec 15 05:52:02 Because they don't want their apps decompiled and messed with and cracked/redistributed in modified form Dec 15 05:52:36 e.g., removing license checks Dec 15 05:52:56 so they choose to break the social contract that is copyright in a wasted effort that never works as it only takes one skilled programmer to crack the software (and there will always be crackers more skilled than any professional developer doing this for a living) Dec 15 05:53:05 remember professional developers typically do it because thye get paid to Dec 15 05:53:15 crackers do it because they love to do it, the harder it is to crack the more they'll try Dec 15 05:53:34 wtf is your point Dec 15 05:53:39 I'm not sure what social contract you're referring to there. Dec 15 05:54:24 Eeeeeee, that if you spend even two seconds of time preventing decompilation that's two seconds too many Dec 15 05:55:02 Nilium, copyright is an agreement between society and content creators in which content creators are given a limited time exclusive right to control copying, after that time is up the content MUST belong to the public (ie public domain) Dec 15 05:55:15 by preventing decompilation you are attempting to circumvent that social contract Dec 15 05:55:22 ie in effect you're telling the entire world to go fuck themselves Dec 15 05:55:52 I will disagree with that. Dec 15 05:55:55 Preventing decompilation isn't part of copyright Dec 15 05:56:04 you're making total sense Dec 15 05:56:36 Nilium, it's not, its an attempt to protect your content beyond copyright Dec 15 05:56:38 i'm gonna stop any previous endeavors ,and you're provide a place to sleep along with some food right? Dec 15 05:57:00 lil too drunk to understand the convo, i'm outta here Dec 15 05:57:01 About the best you get from obfuscation is just a security thing. Dec 15 05:57:46 Nilium, it's generally a wasted effort however Dec 15 05:58:07 I consider it wasted effort because it's not terribly useful for security reasons. Dec 15 05:58:12 crackers will always crack it, and you reduce the value of the software to society once it enters public domain Dec 15 05:58:20 it's not a wasted effort Dec 15 05:58:38 granted at this point it looks like no software will ever enter the public domain outside of some licensing that approximates it Dec 15 05:58:44 As far as copyright is concerned, it has no impact on it. There's nothing in copyright that says your thing should be able to be broken down into its base components once your copyright's expired. Dec 15 05:58:55 making sense of obfuscated code that's been decompiled is still a major pain in the ass Dec 15 05:59:02 i download windows, is windows not popular/worthy? Dec 15 05:59:05 Nilium, no there isnt thats why i didnt say it runs afoul of the copyright law Dec 15 05:59:05 No reason to make crackers lives easier Dec 15 05:59:15 But that's all it is: a pain in the ass. Dec 15 05:59:18 it does however break that implicit social contract that lead to copyright Dec 15 05:59:23 PhlowHome, it takes one cracker to crack it Dec 15 05:59:26 If your code calls into regular Java APIs, you can just look for those first to try to make sense of some stuff. Dec 15 05:59:34 and if you do something novel in your code to obscure it Dec 15 05:59:40 One cracker, many many hours of frustration Dec 15 05:59:41 you will actually increase cracker interest in your code Dec 15 05:59:47 thus having the opposite effect Dec 15 05:59:49 Anyway, LiENUS comes across as someone who's obsessed with "openness" and such so I'll just abandon this conversation Dec 15 06:00:03 obscuring your code can actually increase the likelyhood that your code is cracked Dec 15 06:00:05 If it's frustrating enough, they have to weigh the effort level vs the worth of what they're doing Dec 15 06:00:13 Nilium, by no means, i do believe that people should have the right to profit from their work Dec 15 06:00:13 obsessed with freeness rather Dec 15 06:00:36 PhlowHome, that assumes you're facing professional crackers (ie people who do it as a job) Dec 15 06:00:46 what you are actually facing is amateur crackers (people who do it because they love it) Dec 15 06:00:56 the greater the effort the more likely they are to want to face that mountain Dec 15 06:00:56 Obsessed with silly bullshit. Dec 15 06:01:05 Eeeeeee, where did i say anything about freeness? Dec 15 06:01:29 You're assuming deobfuscation is a fun mountain to face. It's just boring. Dec 15 06:01:52 LiENUS, even tunnel vision ADD kids with too much time on their hands throw their hands up if it reaches a point of dimishing returns Dec 15 06:02:02 PhlowHome, do you even know what ADD is? Dec 15 06:02:03 <----- Dec 15 06:03:00 Do you need a wikipedia link? Dec 15 06:03:01 if you're running into someone diagnosed with ADD who is experiencing tunnel vision they're likely over medicated (and over diagnosed) Dec 15 06:03:30 btw i'm add/adhd diagnosed Dec 15 06:03:43 but i would diagnosed you with wanted to have an argument Dec 15 06:03:47 -d Dec 15 06:03:52 Maybe I'll play Dark Souls. Dec 15 06:03:53 ing Dec 15 06:03:55 and im drunk Dec 15 06:03:59 whoops Dec 15 06:04:24 still trying to figure out what arguement you're trying to make here Dec 15 06:04:37 PhlowHome, that code obfuscation is a waste of time Dec 15 06:04:55 There are tools that do it for you. Dec 15 06:04:57 It's a mystery Dec 15 06:05:14 PhlowHome, its still a waste of time Dec 15 06:05:35 the tools will either be bog standard inwhich case there are tutorials out there for crackers to use to figure out the code Dec 15 06:05:46 or they'll do something novel which will induce the truly devious crackers to have a go at it Dec 15 06:06:03 maybe it's a waste of time for you to decode it Dec 15 06:06:12 If I can run a tool, and make a crackers job take longer, that's not a waste of time, in my opinion. Dec 15 06:06:15 do something productive and fuck off Dec 15 06:06:32 PhlowHome, and once he's cracked it how much use was that tool? Dec 15 06:06:40 so it took him 45 minutes instead of 15 minutes Dec 15 06:06:45 its still on the piracy sites either way Dec 15 06:07:16 LiENUS, so, I should just put my code up an github and say "don't use this, but here" Dec 15 06:07:41 PhlowHome, copyright law offers you the same degree of protection either way but no i never said that Dec 15 06:08:02 what value is there in releasing your code as an obfuscated .apk vs a plain jane .apk? Dec 15 06:08:15 Isn't that the same thing? Now it takes them 1 minute instead of 15.. since the 15 is a waste of time too Dec 15 06:08:37 what does the lock on your house do Dec 15 06:08:40 putting your code up on github would take additional effort on your part Dec 15 06:08:47 not much Dec 15 06:08:55 keep the people that never really wanted to get in, out Dec 15 06:09:00 about as much as running an obfuscation tool Dec 15 06:09:06 Eeeeeee, do you know how many guards who live at angola actually lock their front doors? Dec 15 06:09:11 i'm with you btw Dec 15 06:09:14 angola, the prison Dec 15 06:09:31 where do you live Dec 15 06:09:45 i use to live at angola in the residential area Dec 15 06:09:47 because i'm closer to angola then you Dec 15 06:09:58 Eeeeeee, you live in louisiana? Dec 15 06:10:00 yes Dec 15 06:10:44 that was an interesting button combination Dec 15 06:10:58 anyway i'm down in central Dec 15 06:11:29 listen i love stealing shit, from fdic insured banks, walmarts, huged fucked up corporations, Dec 15 06:11:38 when i lived at angola i was literally the only officer there who locked his front door Dec 15 06:11:52 whatever you're talking about regardless of LA, i'm not cool with Dec 15 06:12:18 i'm not saying to give your work away for free, i'm simply stating that obfuscation is worthless from a security perspective Dec 15 06:12:28 from a security perspective, yes Dec 15 06:12:47 the only thing it does is reduce the value of your content once it enters public domain Dec 15 06:13:06 once the person that steals it puts it on github Dec 15 06:13:20 Eeeeeee, do you play ingress? (entirely unrelated) Dec 15 06:13:54 we're having a cross faction thing tomorrow and if you play and are in the area you should come Dec 15 06:14:22 i'll be there Dec 15 06:15:24 i wouldn't use obfuscation to stop crackers from changing the app, but to make it more difficult for some to reuse the special bits (if any) Dec 15 06:15:44 they can re-use … a decompiled mess, ok Dec 15 06:15:52 ^ Dec 15 06:16:12 not saying i agree with it Dec 15 06:16:28 but the first reason that moves away from obfuscation being a waste of time Dec 15 06:17:48 g00s: I don't think crackers are interested in learning from your code... Dec 15 06:18:00 Leeds, aye but his reason was moving away from crackers Dec 15 06:19:00 i guess they way i see it, is - if you're not smart enough to implement the algorithm, you're not smart enough to understand the obfuscated algorithm :) Dec 15 06:19:36 g00s, but if your algorithm is truly novel wouldnt it be nice if others could someday benefit from it? Dec 15 06:19:53 i crack code to learn from it Dec 15 06:20:12 but the idiots that make it crackable aren't programming well Dec 15 06:20:21 all code is crackable Dec 15 06:20:30 err Dec 15 06:20:30 is it anything like chess Dec 15 06:20:39 all standalone hardware independant code is crackable Dec 15 06:21:04 with the recent android phones we're starting to see hardware/software combinations leading to bootloaders that may truly be uncrackable Dec 15 06:22:55 these guys may see you arguing one side of an argument, i see you saying "i'm going to crack your code regardless" Dec 15 06:23:28 I see dumb and dumber talking to each other. Dec 15 06:23:46 And I'm saying "I'm going to make your job a helluva lot harder by continuing to use obfuscation" Dec 15 06:23:52 well i'm drunk as shit, does that count as an excus Dec 15 06:23:52 e Dec 15 06:24:11 ok well i accept that title Dec 15 06:26:20 oh im not into software piracy Dec 15 06:26:26 if you think thats what im saying then you're misunderstanding Dec 15 06:26:40 why so serious Dec 15 06:26:52 Screw it, going to play Dark Souls. Dec 15 06:27:45 yeah this movie, al though i thought it would suck is amazing. captain phillip or whatever Dec 15 06:29:45 it's been 12 years since i've done anything even coming close to cracking software, and in that instance i did a large amount of reverse engineering then rewrote the assembly myself in a more optimized form Dec 15 06:31:12 in the spirit of disclosure, i pirate software, but if it's good i always buy it. haven't bought windows since like me though. afk Dec 15 06:31:49 It's been 8 or 9 years since I started programming.. ignoring the brief stint with Perl as my first language.. and I've never bothered trying to crack something 'cause it's boring and learning crypto stuff in highschool taught me that I don't care Dec 15 06:31:54 Eeeeeee: you really shouldn't disclose Dec 15 06:31:59 am I a crack addict ? no, have I smoked crack ? yes Dec 15 06:32:21 Put highschool in finger quotes 'cause it was homeschooling and I was just handed a copy of Applied Cryptography and told to learn. Dec 15 06:32:22 shmooz: were you drunk at the time? Dec 15 06:32:27 Nilium, what i did wasnt really cracking Dec 15 06:32:32 I don't care. Dec 15 06:32:34 i was rewriting the bootloading code for a game console Dec 15 06:32:35 on a drunken stooper Dec 15 06:32:43 are you gonna tell bill gates on me Dec 15 06:32:53 I cannot for the life of me find my copy of Final Fantasy 8. Dec 15 06:33:08 i was actually trying to prevent people from using pirated code to load their homebrew software by providing an open source alternative to the hijacked commercial code Dec 15 06:33:25 Also, I've actually paid for Windows. Like, without buying a computer or getting it from school. Saying that is weird. Dec 15 06:34:30 yeah that makes me think less of you Dec 15 06:34:43 i've technically bought windows more then anything Dec 15 06:35:10 if having that sticker counts as ownership Dec 15 06:35:12 that will help bill gates buy yet another house which he badly needs to keep neighbours away Dec 15 06:35:34 Three minutes to download a 32mb patch. Sony has not figured out how to do this. Dec 15 06:37:22 anyone know where the logcat filters for an eclipse project are stored? don't want to add them to .gitignore Dec 15 06:38:25 shmooz, pretty sure bill gates died a long time ago Dec 15 06:38:27 I really hate that every company describes itself as "one of the fastest-growing technology companies" Dec 15 06:38:41 what we call bill gates now is actually a puppet with melinda gates' hand up its ass Dec 15 06:38:47 Or "fast paced" Dec 15 06:38:51 your not reading hn again Dec 15 06:38:55 are you? Dec 15 06:38:55 The words kind of start to lose meaning Dec 15 06:39:04 Nilium, http://xkcd.com/1102/ Dec 15 06:39:19 No. Was checking linkedin and crap popped up. Dec 15 06:39:33 ya i hate that shirt Dec 15 06:39:38 shirt? Dec 15 06:39:53 yeah if it were i would hate it as well Dec 15 06:39:57 I like how the religion person has the hitler hair. Dec 15 06:41:28 everyone knows how faster technology is moving right now right? omg guess what our company is moving at exactly the same rate!!! Dec 15 07:02:22 Anyone know how to handle https://www.eff.org/deeplinks/2013/11/awesome-privacy-features-android-43 this when you require say, a permission to do some IO but the user denies it? Dec 15 07:03:33 lasserix 4.4.2 removed App Ops Dec 15 07:03:38 ahh Dec 15 07:03:52 removed the ui for it Dec 15 07:03:53 so busy can't keep concurrent with news ;p Dec 15 07:03:54 notice the first sentence Dec 15 07:04:17 or rather made it root only Dec 15 07:04:56 i hope it comes back in 5.0; i think the current app permission model is fucking stupid Dec 15 07:05:14 g00s, theres an api for it documented in the api docs Dec 15 07:05:31 it looks like we might be on the level of multi user in 4.1 Dec 15 07:05:37 Man, I actually got wedding invite spam. That's.. weird. Dec 15 07:05:45 where there was code for it but not accessible by anything Dec 15 07:30:01 SO http://stackoverflow.com/questions/20592148/set-listview-row-background-color-to-edittext-entry?noredirect=1#comment30808557_20592148 Dec 15 07:39:36 Is there any special garbage colleciton added to custom views after 2.3.3. On 2.3.3 its giving my drawables errors but not in ICS. Dec 15 07:39:58 Sorry. Not views. A canvas Dec 15 07:41:56 Nvm Dec 15 07:41:59 "On Android 2.3.3 (API level 10) and lower, the backing pixel data for a bitmap is stored in native memory. It is separate from the bitmap itself, which is stored in the Dalvik heap. The pixel data in native memory is not released in a predictable manner, potentially causing an application to briefly exceed its memory limits and crash. As of Android 3.0 (API level 11), the pixel data is stored on the Dalvik heap along with Dec 15 08:22:26 On my 2.3 dev phone I can get long press on search physical button to include apps in select which to use to search dialog, but on partner's phone (4.x) same exact code (the two lines you add to the manifest) doesn't bring up app, in fact no app on market using long search (except one, the "competitors") will show up Dec 15 08:26:14 is there a natice c compiler for android? Dec 15 08:26:23 native Dec 15 08:27:42 http://stackoverflow.com/questions/20592148/set-listview-row-background-color-to-edittext-entry/20592409?noredirect=1#20592409 Dec 15 08:28:25 is my code right to set the row background color based on the edittext entry cause its not working??? Dec 15 08:31:49 xrazybud: NDK Dec 15 08:34:46 MrMeTooo: is the list in your adapter a pointer to the list you created in your main class? by doing the list.add(); in your onClickListener does it update the list in your adapter? maybe in your adapter add a method to add a color to your list. then use that method in your onClickListener Dec 15 08:36:30 mKoreyzAdapter.addEntry(Lrg); as an example. and your method addEntry(String color){list.add(color);} Dec 15 08:36:52 yes it is it updates the list fine i just want to set the bg color of the row based on what the user enters Dec 15 08:37:03 canvs2321 Dec 15 08:38:32 if the user types "red" i want the background that the entry in to be red Dec 15 08:38:32 is it updating the list in your adapter or just the list you declared in your main class? or both? do some checking in your getView, are you getting list.get(position) equallying a color or is it always the last else statement? Dec 15 08:39:10 is viewHolder.mRowTextView.setText(list.get(position)); setting a color from the list or it stays empty? Dec 15 08:39:46 setting the text of a color i meant Dec 15 08:40:39 no just the background color i thought it would be easy... a basic "if" statement Dec 15 08:41:15 is the textview getting set to text from your list, but the background just isn't changing? can you take a screen shot of your device after you've entered some colors Dec 15 08:44:19 the background of the row is not changing Dec 15 08:45:18 so if you type "red" in the edittext and click the "add" button when red gets added to the listview the backgound of that entry should turn red Dec 15 08:46:56 maybe instead of changing the convertView background, make a reference to your root layout&change that bgcolor. try doing viewHolder.mRowTextView.setBackgroundColor(Color.RED); in your if statement. does it change the background for your textview upon adding. Just trying to narrow your problem down Dec 15 08:49:42 i think your looking at the answer on SO and not the question... the question is my code Dec 15 08:55:44 What does "this VM" or VM actually mean in android docs Dec 15 08:58:13 I assume it's just trying to make a distinction between Dalvik and the JVM, but without seeing a specific example, I couldn't tell you. Dec 15 08:59:07 http://stackoverflow.com/questions/20592148/set-listview-row-background-color-to-edittext-entry?noredirect=1#comment30809189_20592148 Dec 15 09:07:22 dont use array adapter Dec 15 09:07:28 if you are going to extend it Dec 15 09:07:31 just use baseadapter Dec 15 09:08:22 override three more methods, get all the flexibility you want (ie, you don't have to call "add" on your listview, you can directly add/insert/remove your arraylist in the base adapter) Dec 15 09:10:43 hey guys, is it possible to create a baseactivity and define actionbar and nav drawer in it, and then extending other activities from this base activity so all can have the same actionbar and nav drawer? Dec 15 09:16:12 Nilium: you can tell me for this example: http://developer.android.com/reference/java/net/URL.html#setURLStreamHandlerFactory(java.net.URLStreamHandlerFactory) Dec 15 09:17:07 I'm assuming it's just referring to the application's VM instance, since each app gets its own. Dec 15 09:19:16 so i guess no one can figure this out easily Dec 15 09:22:09 anyone? Dec 15 09:23:01 must say, now that i'm getting used to it, android studio seems like a much better option than eclipse. Dec 15 09:25:28 omid8: should be Dec 15 10:13:09 Hey all. I'm trying to perform a command-line build of my project and I can't figure out how to get ant to include a jarfile in its classpath. Dec 15 10:13:52 if it's just a jar, all you should need to do is put it in the libs directory AFAIK Dec 15 10:14:33 ah. i have it named 'lib'. thanks, let me try that. Dec 15 10:17:31 that did the trick. thanks, Leeds Dec 15 10:17:36 you're welcome Dec 15 10:18:03 i did have both "external.libs.dir=lib" and "jar.libs.dir=lib" in my ant.properties file Dec 15 10:18:27 ah well Dec 15 10:18:32 * tangentstorm chalks it up to magic. Dec 15 10:28:51 hm. I wonder if there's any difference between keeping state in normal fields of an Application subclass as opposed to static fields. Dec 15 10:29:08 since only one instance of Appplication will normally exist anyway Dec 15 10:33:59 global state makes testing harder and isn't particularly scalable, Dec 15 10:36:11 yeah, I know that it should generally be avoided, but I am trying to refactor a preexisting mess into something more manageable without breaking too much Dec 15 10:38:15 ah, damage control. Dec 15 10:39:09 and the mess in question has an Application subclass with many a thing stuffed into it, and it goes at length to retrieve the Application instance everywhere it's needed Dec 15 10:39:25 it looks pretty bad, probably because it is pretty bad Dec 15 10:40:38 yeah i am guilty of abusing that sometimes Dec 15 10:41:58 making fields/methods static instead of normal would at least let it skip the instance retrieval step, but I wonder if there are any unforeseen consequences to that too Dec 15 10:48:16 am I right in saying that the MediaPlayers prepare' Dec 15 10:49:08 am I right in saying that the MediaPlayers 'prepare' operation will load some of the media data (even if it's a remote stream)? I'm seeing behaviour where my mediaplayer is connecting to a media stream (http) twice, the first time just for a few seconds before disconnecting. Dec 15 11:01:39 hey guys, is it possible to create a baseactivity and define actionbar and nav drawer in it, and then extending other activities from this base Dec 15 11:01:41 activity so all can have the same actionbar and nav drawer? Dec 15 11:04:36 im getting this error after i do that scenario -> http://pastebin.com/g3w2icCX Dec 15 11:37:10 hi Dec 15 11:39:01 how can I add a seekbar to a live wallpaper preferences screen? Dec 15 12:04:29 Is it possible to mux audio and video in Android's MediaPlayer or VideoView ? ? Dec 15 12:08:25 my trying to define my navigation drawer on a base activity and then "extend" from it on my all activities; problem is, if i set setContentView on my second activity, the navigation wonr appear since it was defined in base activity's xml. any ideas? Dec 15 12:19:55 is it possible to control an android device from eclipse? Dec 15 12:20:21 trying to rename a system file without rooting my device. Dec 15 12:25:12 when you flash a new kernel does it have to reset everything? Dec 15 12:28:39 is there a way to create layout subfolder to organize better the project? Dec 15 12:30:35 hiraghm i dont think so Dec 15 12:30:42 poop Dec 15 12:31:03 I just got a bluetooth keyboard, and my phone uses 4.3, so it doesn't work Dec 15 12:31:13 I was hoping I could figure out a way to fix it w/o having to root my phone. Dec 15 12:31:17 you would need root Dec 15 12:31:56 yes. I thought maybe ADB might allow you root access for debugging purposes. Oh well. Dec 15 12:34:26 i think adb just connects as a normal user, and you would be able to gain access to root through it if your phone was rooted and you could su Dec 15 12:35:23 well not a normal user Dec 15 12:35:29 i mean permissions Dec 15 12:36:58 what phone is it? Dec 15 12:37:37 or is it a tablet? lopl Dec 15 12:38:41 it does allow root if you're running an engineering build of Android - i.e. if you're not using a consumer build Dec 15 12:42:48 good to know Dec 15 12:44:28 looks like my phone is user-debug... hiw do you change it? lopl Dec 15 12:45:05 are the only differences root access? Dec 15 12:45:17 and the logging for debug Dec 15 12:47:28 i think yours is also user-debug if you need to root it Dec 15 12:48:41 it's an HTC One Dec 15 12:49:03 ja i have at&t too Dec 15 12:49:30 xda has a fix which involves renaming a keymap file Dec 15 12:49:47 link Dec 15 12:52:55 hey all X) Dec 15 12:53:22 whats uo Dec 15 12:53:23 p Dec 15 12:54:02 anyone used the Dropbox Sync API before..? Dec 15 12:54:54 thought I found a fix on google play Dec 15 12:54:58 "you need root access" Dec 15 12:55:00 poop Dec 15 12:55:47 what do you usually program? Dec 15 13:02:28 me? Dec 15 13:08:33 yeah Dec 15 13:09:02 I haven't programmed much in a while. I'm trying to get back at it Dec 15 13:09:15 I have a game I pulled off the market to update Dec 15 13:10:01 I'm interested in developing more games and graphics apps Dec 15 13:11:09 ah Dec 15 13:11:40 im new to android Dec 15 13:11:57 i posted my qustion in stackoverflow to have more details on it, http://stackoverflow.com/questions/20594901/android-navigation-drawer-abstraction -- anyone can provide an answer, i would appreciate it Dec 15 13:13:39 just got done making a backup with recivery tonight lopl Dec 15 13:13:46 recovery Dec 15 14:07:34 hi Dec 15 14:10:43 It looks like my app is being "attacked". I received approx. ten 1-star ratings in Google Play in the last 1-2 days (some 2 and 3, too), while I usually get one every few weeks (I got ~27 in over a year, now 10 in those 1-2 days). How can I contact the staff? Is there anything else I can do? My rather high rating (4.71) dropped sharply to 4.67 and I'm afraid it's not over... . Dec 15 14:13:01 Which pastebin do we like in here? Dec 15 14:17:08 anyone know google play games api ? Dec 15 14:18:11 Kake_Fisk: pick one, run with it... Dec 15 14:18:18 Ah, okay Dec 15 14:19:01 muszek, are there comments or only ratings w/o text? Dec 15 14:19:13 EPG: no text Dec 15 14:19:26 Do anybody see any reason why I shouldn't get a blue screen with this code? http://pastebin.com/eeHZvMDr (It's fairly small and tidy code) Dec 15 14:19:44 guys, why emulator is slow Dec 15 14:19:49 loading up slow man Dec 15 14:20:03 hi guys Dec 15 14:20:09 You don't close it after each use Dec 15 14:20:19 apparently those stats I can download in CSV don't cover comment-less ratings, as there is no sign of anything bad happening lately. Dec 15 14:20:21 And make sure you have save snapshot marked Dec 15 14:20:47 muszek, difficult. Google has some spam detection mechanisms which might detect them (and remove them later on) but I don't know of a dedicated contact form for this kind of issue Dec 15 14:20:53 how can I use a seekbar in a preferences screen of a live wallpaper Dec 15 14:20:55 ? Dec 15 14:21:41 EPG: thank you... I've selected some other issue category, hopefully they'll read it Dec 15 14:22:03 there is any specific support for google play service? Dec 15 14:22:13 it's upsetting how bad the support is Dec 15 14:23:11 xan_IT: https://support.google.com/googleplay/android-developer/?rd=1#contact=1&topic=3450769 Dec 15 14:23:32 can someone help me implement a seekbar? Dec 15 14:23:56 I have searched on google but the cases I found are not for live wallpaper preferences screen Dec 15 14:24:20 *not implement, but use the gadget Dec 15 14:25:05 muszek this is for google play, i need play services api support Dec 15 14:34:14 I have added in my prefs_wallpaper.xml file that defines what will show in the preferences screen. How to link to this seekbar from java code? Dec 15 14:34:44 I found that I can do: Preference bloomBar = findPreference("my_seek_bar"); Dec 15 14:34:51 but from here on I dont know Dec 15 14:38:01 god damn it i hate parcelables Dec 15 14:59:45 anyone got gson to work using gradle in intellij? https://gist.github.com/xorgate/ae586707c73c9e9518d1 and i cant seem to import gson Dec 15 15:01:40 any ideas for my seekbar ? Dec 15 15:07:28 hi! is there a good tutorial available on how to start developing on existing android code? I'd like to mod an open source project a bit (not much, just add a button here and there), but I've never used an IDE before and I'm not really familiar with java, so I can't get the code to run in eclipse :\ Dec 15 15:08:33 pikaro: what's going wrng Dec 15 15:08:49 running a 'hello world' program worked and eclipse seems to say that dependencies are also satisfied, so that doesn't seem to be the problem. I'm not really sure how to even check the error logs, though... seems to be some problem with launching the base activity? Dec 15 15:09:46 I get a blank screen and if I mess around with the debugger by repeatedly pressing resume, I get a force close. that's about as far as I've come... eclipse is confusing if you've only ever worked with a text editor :\ Dec 15 15:10:13 same results on an emulator and my atrix Dec 15 15:10:38 I recommend intellij Idea 13 as IDE, eclipse is good also but Idea is cleaner Dec 15 15:10:46 and also good at debugging Dec 15 15:11:23 about the closing when pressing resume I dont know Dec 15 15:11:59 yeah that can be just about anything, I'm not expecting any advice on that Dec 15 15:12:26 but a tutorial so I can make sure the basic environment is alright would be nice Dec 15 15:13:34 I'll try out intellij for a bit, though, maybe I'll get along with it better Dec 15 15:13:40 if it runs from the ide i'd say youre good Dec 15 15:14:07 maybe this can help, http://www.jetbrains.com/idea/features/android-tutorials.jsp Dec 15 15:14:54 I'll have a look, thanks! Dec 15 15:24:21 embrace the Android, Luke Dec 15 15:29:32 How do I start adb? Dec 15 15:29:40 what's the most elegant way of performing an action once two actions have been completed, without knowing the order in which they will finish? I thought about having like, two booleans, and checking to see if both are set when each action completes, but that seems ugly and inelegant.. Dec 15 15:31:38 the simple way is to have the directory with the adb in added to the Path variable (if on windows) and from command line type adb or adb help Dec 15 15:32:24 Idea and Eclipse start adb automatically when you open the logcat window (I think it starts then, or at project load) Dec 15 15:33:41 where is ro.secure set? i will save default.prop and then on reset it will be changed back Dec 15 15:34:02 instead of two booleans have an int and count when actions complete, simpler than that I dont know, java magic too big Dec 15 15:34:25 [2013-12-15 15:34:02 - adb] Failed to parse the output of 'adb version': Dec 15 15:35:05 Eclipse reports adb returning nothing but when I run it in cmd it returns: Android Debug Bridge version 1.0.31 Dec 15 15:44:04 Is it standard practice to have an actionbar on every screen? Dec 15 15:44:23 Greetings, folks. Can anyone suggest me a tutorial or whatever to solve my problem. I have custom WebView inside a RelativeLayout and want to detect whether user scrolling the web view or if motion events do not do scrolling so I want the parent RelativeLayout to catch those touches. I have already done what I want just manipulating events inside WebView touch listener, but the problem that when handling touches inside WebView it's being psycho-dragged Dec 15 15:44:23 I just hold my finger down. In other project I had to setup touch listener on view's parent inside itself and there were no such occasional dragging and moving views was smooth. Dec 15 15:45:09 instead itself* Dec 15 15:47:51 So the idea is using WebView's touch listener detect that WebView has scrollY = 0, and user is moving finger down (what doesn't do scrolling), so we somehow should make ACTION_CANCEL to WebView's touch listener and then parent's touch listener should receive touch events. And also we should somehow cancel parent's touch listener for some cases and then let WebView's touch listener receive touch events again. Dec 15 15:48:03 Could anybody look at this? It is supposed to draw a blue surface, but nothing happens. http://pastebin.com/eeHZvMDr Dec 15 15:50:39 Kake_Fisk: you draw canvas inside Runnable's run() method which is never called due to no execution Dec 15 15:52:42 Oh, thanks for pointing out the problem. But I did exactly the same in my other game. How do I make sure the run method is executed then? Dec 15 15:56:28 yay, it works a-ok with intellij :) almost no configuration needed. thanks, Zgary and osxorgate! Dec 15 15:56:57 have fun man! glad you have it working Dec 15 15:58:44 Kake_Fisk: you should either call run() method manually or create a thread with this Runnable instance provided which will automatically call it Dec 15 15:59:15 Kake_Fisk: thread start is already implemented in resume() method with its stop in stop() method, so it seems those methods are never called Dec 15 15:59:45 But resume is called when the activity calls onResume Dec 15 15:59:51 Kake_Fisk: since you have empty touch listener I bet you wanted to resume/stop the game on touching, so you should manage those methods somehow inside it Dec 15 16:00:12 onResume gets called when I start the app Dec 15 16:00:21 (I hope) Dec 15 16:01:35 Kake_Fisk: onResume with onStop are Activity methods while you have resume and stop methods inside your view Dec 15 16:02:24 Kake_Fisk: you can put those method calling inside activity state-methods Dec 15 16:03:21 Kake_Fisk: sorry, didn't see this: it's already implemented in your code Dec 15 16:03:37 Kake_Fisk: just put view.resume() after setContentView(view); Dec 15 16:04:13 I'll try that Dec 15 16:06:50 Unfortunately it still doesn't work. I am testing on a Android 4.1.2 phone and targeting v19 and have a min of v7 if that makes any difference Dec 15 16:11:58 Shouldn't this in theory be working? :| Dec 15 16:12:25 damn this is easy Dec 15 16:16:27 can I use a fragment in ActionBarActivity instead of FragmentActivity ? Dec 15 16:17:35 also, do i have to use framelayout for fragements, or can i use relative/lineaer layout? Dec 15 16:18:46 got a problem i dont understand. im trying to do a c = new Canvas(b); where b is a bitmap. i get an exception while doing this Dec 15 16:18:48 why? Dec 15 16:22:09 The exception probably tells you why Dec 15 16:25:06 not really lol Dec 15 16:25:29 but i changed some things, now it doesnt barf there any more, it now barfs when i try to draw into that bitmap Dec 15 16:26:23 throw if cannot draw Dec 15 16:27:43 its saying null pointer exception. Dec 15 16:28:36 I can see how it's hard to figure that one out Dec 15 16:28:44 It usually happens when something is null Dec 15 16:28:55 what i cant figure out is what pointer is null Dec 15 16:28:56 Just make it not null Dec 15 16:29:07 make WHICK pointer non null? Dec 15 16:29:16 the bitmap is not null, the canvas is not null Dec 15 16:29:21 The one that's null Dec 15 16:30:23 tcb^ll3r: yes and no Dec 15 16:30:32 but you have to use support fragments Dec 15 16:40:35 osxorgate: thanks. why do i have to use support fragments? i thought they were for backward compat. Dec 15 16:51:44 tcb^ll3r: because ActionBarActivity is in the support library Dec 15 16:52:38 can someone help me add a seekbar in a wallpaper preferences screen? Dec 15 16:52:45 osxorgate: ahh durp. Dec 15 16:52:48 I feel depressed Dec 15 16:53:06 why Baluse? Dec 15 16:53:16 android apps crash even skype etc.. I dont have any singleton in android as they dont work well. Dec 15 16:53:30 Ios developer has a folder with tons of singletons Dec 15 16:53:46 and app runs fine.. More libraries to do stuff out of the box Dec 15 16:54:46 but but, we have libGDX :D Dec 15 17:15:54 i SERIOUSLY do not get the gimp any more. select pencil, select color. draw... nothing happens Dec 15 17:21:22 <|0xD34D|> I440r: works for me :P Dec 15 17:21:38 <|0xD34D|> are you drawing on a layer that is not visible or outside a selection? Dec 15 17:24:30 So for the DrawerLayout, it will peek out when the person is holding down his finger on the left side of the screen. Is there a way I can simulate this? I want to show the user he has a drawer on the left so that it becomes more discoverable Dec 15 17:30:41 snowpong: the Android design docs recommend showing the drawer to the user on every app launch until they successfully open it themselves. Dec 15 17:30:57 str4d: ah you mean start with it open Dec 15 17:31:01 yes Dec 15 17:33:56 str4d: hm might be a good idea Dec 15 17:37:57 Guys? why after i add oracle commons-ftp library to build path it says that it could not find the class ? Even though it can initialize objects from the lib like FTPCLIENT just it fails to find the class, any ideas / thanks Dec 15 17:48:27 is there a way to determin the pixle width/height of an item in a layout.xml? Dec 15 17:48:43 in the layout its specified in dp Dec 15 17:49:07 i know its 128dp by 16dp but how many ACTUAL pixles does that equate to? Dec 15 17:49:53 str4d: I think I'll wait 1500 ms, if they haven't opened it by then I'll animate it open - on earch startup. The app is kinda build on people using the drawer. If they do launch it themselves before 1500 ms I won't disturb them. Sounds reasonable? Dec 15 17:51:02 I440r: you should nearly always use dp, not px. dp will work reliably across different devices Dec 15 17:51:46 snowpong: sure, up to you. And once they have opened it manually once, you don't need to ever open it again. Dec 15 17:51:52 in the layout im using dp Dec 15 17:52:07 but i have a bitmap that i am trying to scale into that area of the layout Dec 15 18:04:31 Does the ondraw get called when you touch a canvas? Dec 15 18:08:03 I want to know why the standard library doesn't follow the naming conventions from core Java given the language is exactly the same as used in JDK1.6 Dec 15 18:09:35 isit ok to use more than one support library? do i require v4 for fragments,and v7 for action bar? Dec 15 18:10:41 im sorry for the noob questions. Dec 15 18:12:43 posplaw: omg, I figured it out. I had if (isRunning) in the main loop Dec 15 18:32:41 of course Dec 15 18:32:49 they are different libraries Dec 15 18:33:27 appcompat depends on support-v4 anyway Dec 15 18:35:45 pfn: ok thanks. I think i'm finally starting to get it Dec 15 18:41:32 is there a way to rotate a bitmap in android? Dec 15 18:42:02 aha yes there is~ Dec 15 18:43:11 except i cant see how to set the angle of rotation :/. Dec 15 19:35:32 is there a shortcut in android studio to switch between the design and text views? Dec 15 19:44:47 Can I make the MotionEvent returned by OnTouchListener static in any way? So that I can access it from everywhere? Dec 15 19:44:58 Or any ideas on how I can do something similar Dec 15 19:45:51 Is anyone here? Dec 15 19:46:29 I have a crazy problem with my views Dec 15 19:46:37 On draw gets called for every view Dec 15 19:46:46 when I invalidate one Dec 15 20:13:25 i wish android did not kill your memory Dec 15 20:26:32 I'm using Vim for my Android development. Has anyone found a nice way to make syntastic play nicely with Android? it uses javac by default, but when specifying /path/to/sdk/sources/android-19 as the classpath, javac takes forever. Dec 15 20:27:11 I notice that the SDK comes with a lint command. Wondering if I should be skipping javac and using that? Dec 15 20:47:38 lint is only for warnings Dec 15 21:01:17 Do Integer pass as referencE? Dec 15 21:04:33 int is a value Dec 15 21:04:42 only objects are references Dec 15 21:07:12 and integer objects are immutable Dec 15 21:10:17 http://stackoverflow.com/questions/20599413/ondraw-being-called-in-other-custom-views-when-calling-invalidate?noredirect=1#comment30822155_20599413 Dec 15 21:10:23 anyone can help me out Dec 15 21:13:46 Hey Guys littile help on this SO http://stackoverflow.com/questions/20592148/set-listview-row-background-color-to-edittext-entry?noredirect=1#comment30810492_20592148 Dec 15 21:17:56 Hi. I'm trying to write a basic kernel module for android following this guide but it's written for a different phone. What should I change to make it work for my LG optimus black? Thanks.. http://tthtlc.wordpress.com/2011/12/29/how-to-write-a-kernel-module-on-android-sony-ericsson-xperia-arc-s/ Dec 15 21:24:31 pfn: But the Integer object? Dec 15 21:26:27 Oh, Integer is also immutable Dec 15 21:27:01 frib: that's not written for any specific phone Dec 15 21:27:41 bankai_, he says he downloaded some sony ericsson file and refers to it in the makefile Dec 15 21:27:49 the kernel image Dec 15 21:33:13 ask the fellas in #cyonogen they might be able to help you, this channel is more for app dev Dec 15 21:39:27 " We also tested popular turmeric spices used in cooking. Most contained large numbers of insect parts, which suggests insanitary storage" Dec 15 21:39:29 ugh ! Dec 15 21:39:48 free protein Dec 15 21:41:36 thanks Dec 15 21:53:26 "HarfBuzz is an OpenType text shaping engine." what does that mean? is it like freetype? they say its used on android, but i thought freetype is so i'm confused Dec 15 21:53:33 or they are different things Dec 15 21:55:13 it lays text in lines I think Dec 15 21:56:07 http://en.wikipedia.org/wiki/HarfBuzz Dec 15 21:56:28 g00s, OpenType is an extension to file format Dec 15 21:56:35 freetype is the library that renders letters :) Dec 15 21:57:13 if only the world didn't have all the crazy scripts and writing directions and crap like that Dec 15 21:57:34 the implementation for left-to-right, ligatureless, simple glyph rendering is one page of code or so Dec 15 21:57:50 how difficult is it to port an existing android application to android studio? Dec 15 21:57:57 "New HarfBuzz provides only text shaping functionality and not text layout or rendering, which require other libraries" Dec 15 21:58:18 ok, thats my confusion, the difference between text shaping and rendering Dec 15 21:59:11 storkme it doesn't really depend on AS, it depends on gradle. if you can get it to build in gradle, you are set Dec 15 21:59:44 okay. So, gradle first, then import into AS and it should work hunky dory? Dec 15 22:00:43 g00s, maybe this will help you: http://behdad.org/text/ Dec 15 22:01:11 Hello http://i.imgur.com/WGZvsUw.png Dec 15 22:01:17 this is app at IOS Dec 15 22:01:19 Mavrik cool thanks Dec 15 22:01:45 Do you beleive for UX is it good to have this thing at bottom or top ? Dec 15 22:01:51 or something similar tabs etc Dec 15 22:02:09 you can swipe but i feel that hand hides Dec 15 22:06:21 alankila we spoke about this briefly like a year ago (?) but to this day - FF on my system renders some sites far better than Chrome - specifically, and ironically, d.android.com - which has such bad fuzzy edges in Chrome it gives me headaches Dec 15 22:06:42 g00s, lemme gues... Windows 7/8? Dec 15 22:06:46 i think it has something to do with webfonts Dec 15 22:06:51 Mavrik Mac os Dec 15 22:07:00 ah, interesting that Dec 15 22:07:14 oh - i take that back, not webfonts. i disabled that for Arial or something Dec 15 22:07:25 something going on in the compositing of the off white bg Dec 15 22:07:27 I've seen a case where someone installed some Adobe suite on their Mac and it installed some new fonts that became default on webpages Dec 15 22:07:39 and since they had bad hinting the rendering was terrible in webpages Dec 15 22:07:50 oh no. yeah, i only have Lr Dec 15 22:11:17 g00s, insect parts are a natural part if food processing Dec 15 22:12:05 if turmeric has a lot... have you ever seen studies of grains and cereals? Dec 15 22:12:13 well one sample had a whole larva Dec 15 22:12:16 yuck :) Dec 15 22:12:25 also completely normal Dec 15 22:12:39 just consider it additional protein for your diet Dec 15 22:17:07 as long as the right people are on this, i hope this bears some fruit https://threatpost.com/new-ietf-group-to-tackle-tls-implementation-in-applications/103183 Dec 15 22:17:46 i recently had to add tls to an app (not for http) and found it pretty difficult to do right. most of the resources i found were more theoretical on the math of the cyphers, which i was not so interested in ... Dec 15 22:18:06 but i needed more info on how to handle the certificates, which seems pretty flawed Dec 15 22:19:11 i think moxie proposed TACK last year Dec 15 22:19:49 but i there needs to be something in place to prevent any CA from creating a cert for any domain Dec 15 22:19:59 at least if i understand that :| Dec 15 22:21:30 who was that spanish CA that issues a cert for *.google.com :) Dec 15 22:28:21 Mavrik so would HarfBuzz do the kerning ? Dec 15 22:29:00 seems so Dec 15 22:30:19 oic; ft does simple kerning, harbuzz does kerning from gpos data Dec 15 22:42:27 is there a way to display tabular data Dec 15 22:42:54 dirty trick: htmlview + Dec 15 22:43:04 was it webview Dec 15 22:44:33 heh Dec 15 22:44:36 its a solution Dec 15 22:45:25 http://i.imgur.com/WGZvsUw.png what do you think of this? is it bad idea for tabs to be at bototm ? Dec 15 22:45:52 not bad, maybe uncommon Dec 15 22:46:48 from UX perspective Dec 15 22:47:04 feel like that you can see Dec 15 22:47:31 is there a really good reason to put it at the bottom? Dec 15 22:47:39 seems like the top is wasted space Dec 15 22:47:46 and its just different to be different Dec 15 22:48:15 this is IOS implementation and i wanto implement this functionality at android Dec 15 22:48:24 didnt do that IOS app Dec 15 22:49:18 i'd use the regular actionbar and put stuff at the top, as most android apps do Dec 15 22:49:22 ooh, wifi direct is also an option on android 4.0+ nice Dec 15 22:49:24 imma play with that Dec 15 23:03:38 Hey. Dec 15 23:16:35 g00s regular wont work Dec 15 23:18:20 anyone know what could possibly be slowing eglSwapBuffers down? Dec 15 23:18:42 I have two view animation sets on different parts of the app Dec 15 23:18:50 same animation but different views Dec 15 23:19:15 one of them has reasonable eglSwapBuffers speed and the other has it way to long causing stuttering Dec 15 23:20:04 http://24.media.tumblr.com/82989e64688fa2ffc745f2d4e74d0e1a/tumblr_mjx684WkMk1r2wjwko6_500.png is this available ? Dec 15 23:20:10 keypad Dec 15 23:26:25 'available' ? Dec 15 23:50:02 Has anyone tried multiple Bluetooth connections between the same two devices? Dec 15 23:50:09 I.e., multiple sockets. Dec 15 23:50:32 I wonder if it's worth considering at all. Dec 15 23:50:46 does that make sense bandwidth wise? Dec 15 23:50:57 There's real point in it by itself, Dec 15 23:51:00 +no Dec 15 23:51:18 but I may need something like that for compatibility, sort of. Dec 15 23:52:07 The other option is to multiplex, which is more work, but more likely to work well. Dec 15 23:52:35 At least going by what I read, mostly about concurrent connection to different devices. Dec 16 00:30:38 Dang still can't find a soulution Dec 16 00:35:44 what is the difference between Dec 16 00:35:51 this https://github.com/astuetz/PagerSlidingTabStrip Dec 16 00:35:54 and standard tabs ? Dec 16 00:43:14 Baluse: Maybe that the views are side by side and its scrollable Dec 16 00:46:40 i'mhaving this odd activity not found error Dec 16 00:47:01 I made sure path and class name is correct and it was Dec 16 00:47:05 what am I missing> Dec 16 00:49:17 android:name is com.xxcoder.livewallpaper.pixelart.LiveWallpaper - and src has folder com.xxcoder.livewallpaper.pixelart, and class LiveWallpaper.java Dec 16 00:52:23 I have a boot jar set in the BOOTCLASSPATH variable. For some reason, on devices that enable ART, it fails to compile my JAR but I am not sure why Dec 16 00:52:36 has anyone here ever tried to get their JARs to compile for ART? Dec 16 00:52:54 isnt it os feature and not dev feature? Dec 16 00:53:26 yeah, it is. Dec 16 00:53:40 oh is this not the right channel for OS related features? Dec 16 00:53:55 hmm not sure lol Dec 16 00:54:04 channels been quiet though Dec 16 00:54:08 must be sunday parities lol Dec 16 00:54:15 :) Dec 16 00:56:23 sleepster> try #android channel for OS features Dec 16 00:58:40 thanks Dec 16 01:03:40 damn this is weird Dec 16 01:03:52 error shows path as com.xxcoder.livewallpaper.pixelart/com.xxcoder.livewallpaper.acrossrealities.LiveWallpaperSettings Dec 16 01:04:07 not sure why other wallpaper path shows up Dec 16 01:05:00 I searched for acrossrealities in all files and found nothing Dec 16 01:08:36 oh finally found that damned path Dec 16 01:08:47 in livewallpaper xml file Dec 16 01:10:29 damn it still happens Dec 16 01:13:49 good evening / morning Dec 16 01:13:57 hey Dec 16 01:14:17 sup Dec 16 01:15:10 having problem Dec 16 01:15:19 error shows path as com.xxcoder.livewallpaper.pixelart/com.xxcoder.livewallpaper.acrossrealities.LiveWallpaperSettings Dec 16 01:15:38 not sure where classpath gets acrossrealities part from Dec 16 01:16:04 it should be com.xxcoder.livewallpaper.pixelart.LiveWallpaperSettings Dec 16 01:17:06 error is android.content.ActivityNotFoundException: Unable to find explicit activity class Dec 16 01:20:45 XXCoder: is it declared on you manifest file ? Dec 16 01:20:57 yeah with just .LiveWallpaper Dec 16 01:21:16 service android:name=".LiveWallpaper" Dec 16 01:21:23 XXCoder: whats your manifest package name ? Dec 16 01:21:42 Dec 16 01:22:00 a sec Dec 16 01:22:18 package="com.xxcoder.livewallpaper.pixelart" android:versionName="1.0" Dec 16 01:22:18 android:versionCode="1"> Dec 16 01:22:55 ok, the LiveWallpaperSettings class package full path ? Dec 16 01:23:35 because on your error msgs you have pixelart part and in your class you do not have that Dec 16 01:23:56 hmm might be it a sec Dec 16 01:24:30 folder is com.xxcoder.livewallpaper.pixelart Dec 16 01:25:40 error does have that but then it adds futher string /com.xxcoder.livewallpaper.across... blah blah Dec 16 01:25:58 error shows path as com.xxcoder.livewallpaper.pixelart/com.xxcoder.livewallpaper.acrossrealities.LiveWallpaperSettings Dec 16 01:26:01 XXCoder: where this acrossrealities is comming from? it is another folder Dec 16 01:26:09 yeah i wonder too Dec 16 01:26:21 manfest and all other files do not even have acrossrealties Dec 16 01:26:26 maybe restart is in order Dec 16 01:26:39 clean all Dec 16 01:26:49 so in your manifest should be hey restart worked Dec 16 01:28:34 guess it was glitch Dec 16 01:28:51 it crashes but it was via untested code so its fine Dec 16 01:30:37 XXCoder: ok Dec 16 01:30:48 thanks for help though :) Dec 16 02:23:18 How do I change the value of an NSString pointer Dec 16 02:23:30 Wrong channel. Dec 16 02:23:35 lmao Dec 16 02:24:21 heh :P Dec 16 02:31:24 disappear iOS fan! Dec 16 02:31:26 jk Dec 16 02:35:01 lol Dec 16 02:35:24 Hey man. I had an iOS device all my life and have been making Android apps until this point. Dec 16 02:35:45 And now this doens't work: NSString *johny = @"cool"; Dec 16 02:35:46 *johny = @"cool"; Dec 16 02:35:46 lol Dec 16 02:35:55 stop that Dec 16 02:36:03 canadiancow: stopped Dec 16 02:39:02 stop this nonsense! Dec 16 02:39:07 lol Dec 16 02:47:37 Lmfao Dec 16 02:47:45 I just realized I'm still in the iphone developer channel Dec 16 02:53:11 Sorry guys. Anyways, I have an android question. Can I ask? Dec 16 02:58:38 don't ask to ask on IRC **** ENDING LOGGING AT Mon Dec 16 03:00:01 2013