**** BEGIN LOGGING AT Sun Dec 21 03:00:00 2014 Dec 21 03:04:16 yeah thats it, i just used their website and forgot the product behind it Dec 21 03:19:29 g00s: im writing a server, when i start my server, how do i stop it from hanging Dec 21 03:19:30 ?? Dec 21 03:20:19 writing a server ? Dec 21 03:20:49 yah for example Dec 21 03:20:52 when you run Dec 21 03:20:56 service apache2 start Dec 21 03:21:05 apache2 starts but you can go back to doing what u want Dec 21 03:21:17 instead of it just hanging there in ur console Dec 21 03:21:34 see.. i wrote my server.. when i start my server it hangs in my console Dec 21 03:21:47 you have to make it a daemon Dec 21 03:22:08 http://www.enderunix.org/docs/eng/daemon.php Dec 21 03:22:34 arcanine69 .. if you had trouble with that step, it might be better to use something off shelf :D Dec 21 03:22:38 arigato, and thats unrelated to my code right? Dec 21 03:22:46 thats os-related Dec 21 03:23:11 hahah g00s. if i keep using off teh shelf all the time, i wont learn anything Dec 21 03:23:22 i haven't written a daemon in a long time, so i can't help Dec 21 03:23:28 reinventing the wheel is probably a good thing for noobs Dec 21 04:04:01 If I'm using a sqlite database and accessing it only through a content provider I created for it, do I ever have to worry about disk access collisions? Or is it always going to be synronous? Dec 21 04:04:29 oddalot you'll be ok. don't access a cursor from multiple threads though Dec 21 04:04:52 the same cursor you mean? Dec 21 04:04:59 yeah, they aren't thread safe Dec 21 04:05:08 or do you mean, don't create more than one cursor ever? Dec 21 04:05:13 haha Dec 21 04:05:17 the same one :) Dec 21 04:05:37 you can make as many cursors as memory allows Dec 21 04:05:43 ok, cool, so if I'm using them only in intent services I should be fine. Dec 21 04:05:49 whever you want, mixed with writes on different threads Dec 21 04:08:02 This is what I don't understand about IntentService. If it knows to destroy itself after you handle the intent passed in, what happens if you do an asynchronous operation - how does it know not to destroy the intent before the async operations finishes? Dec 21 04:08:31 errr - destroy the service* Dec 21 04:09:19 Take the simple case of calling an intentService within the same intentservice Dec 21 04:09:46 if it has some sort of stack mechanism, you would think the intent isn't destroyed Dec 21 04:10:03 err sorry, service isn't destroyed* Dec 21 04:10:31 oddalot you can look at the sources. its maybe 100 lines , if that Dec 21 04:10:50 hint: they are using a template method to call handleIntent ;) Dec 21 04:11:34 yes, but the service itself, it knows when the code has finished executing, and destroys itself. Dec 21 04:12:00 But what happens if you are executing asynchronous code? Dec 21 04:12:21 you mean async code from async code :) Dec 21 04:12:43 handleIntent() is already on another thread. Dec 21 04:12:57 when that completes the calling method stopSelfs() Dec 21 04:13:12 Hmmm...guess I don't really understand how threads work. Dec 21 04:13:17 :D Dec 21 04:13:28 I come from a javascript background so I'm used to it being single threaded. Dec 21 04:13:36 guess I should read up on threads. Dec 21 04:14:20 you never did promises in javascript? Dec 21 04:14:48 i keep forgetting JS doesn't have any concurrency like that Dec 21 04:15:35 so sad Dec 21 04:15:59 Yeah, sure, I used promises. In fact when I started trying to learn Java for Android I kept trying to implement a similar pattern. Dec 21 04:16:32 But I don't think it's quite suited for that task. Dec 21 04:17:17 Seems like you override classes and use callbacks. Dec 21 04:17:21 oddalot you might like rxjava Dec 21 04:17:27 err extend classes Dec 21 04:17:32 and override methods Dec 21 04:19:51 Yeah, perhaps, I'm just trying to understand the "java" and "android" way for now. When I learned JavaScript I realized I spent so much time trying to learn some new fad library - if I had just maned up and learned the language I would of written much better code. Dec 21 04:20:50 ++sounds fair Dec 21 04:22:28 oh i guess node.js was forked :O Dec 21 04:23:01 oddalot some books: effective java 2e, java concurrency in practice Dec 21 04:23:47 Leeds uber is partnering with baidu Dec 21 04:24:19 I'm reading 'Learn Java for Android Development Dec 21 04:24:23 ' Dec 21 04:24:34 hm, never heard of it Dec 21 04:24:46 It's pretty good, it's a tomb though. Dec 21 04:24:50 oddalot do you like it ? Dec 21 04:24:56 ah, k Dec 21 04:24:56 Yeah, I love it. Dec 21 04:27:28 tomb? or tome? Dec 21 04:28:33 tombe Dec 21 04:29:16 yes, tome* Dec 21 04:29:21 how do tags work? Dec 21 04:29:28 thanks for pointing that out, did not know the difference. Dec 21 04:29:30 your it Dec 21 04:29:32 like for lists Dec 21 04:31:46 heh... it might be a tomb if it sucks you in and you never get out :) Dec 21 04:32:06 hehe Dec 21 04:32:48 tales from the crypt : Android Development 101 Dec 21 04:32:53 I thought it was called tomb because it was as big as a tomb Dec 21 04:35:52 oddalot you can skip the chapter on asynctask though XD Dec 21 04:36:01 why? Dec 21 04:36:20 well probably more like 2-3 pages, with 5 pages of caveats Dec 21 04:36:28 so some people say dont use asynctask, why is that? and what should be used instead? Dec 21 04:36:55 I've never been certain why I shouldn't use IntentService instead of AsyncTask? Dec 21 04:37:05 oddalot the book hasn't said ? Dec 21 04:37:18 which book Dec 21 04:37:24 seems like IntentService is all around a better pattern than inline AsyncTask code? Dec 21 04:38:02 oddalot use a service, like intentservice, when you need something to be done even if your ap pgoes in background Dec 21 04:38:14 Well, this book doesn't really cover the android classes and services. Just explains the Java language really. Dec 21 04:38:22 oooh Dec 21 04:38:59 The title is almost misleading, would be better stated as "Java Only, before you start learning Android" Dec 21 04:39:05 or something like that Dec 21 04:39:23 oddalot maybe next go to commonsware or big nerd Dec 21 04:39:35 or reto Dec 21 04:39:47 commonsware will be kinda more up to date Dec 21 04:39:59 reto isn't coming out with next ed until march or something Dec 21 04:40:19 big nerd, who knows Dec 21 04:40:31 I have an Android book: 'murach's Android programming' Dec 21 04:40:34 anyone know why this isnt working? http://pastebin.com/AXqu5MLg Dec 21 04:40:36 it's pretty good. Dec 21 04:40:37 oddalot lol Dec 21 04:40:43 it just adds it anyway Dec 21 04:42:10 is it better to use Tags or Closures when doing something like drinfernoo is doing? Dec 21 04:43:15 whats the difference oddalot? im not reeeeeally familiar with tags and i dont know what closures are lol Dec 21 04:43:22 I used a cursorAdapter, and just pulled the name of the cursor value of that row when I need it Dec 21 04:43:32 that way you don't have to use tags. Dec 21 04:43:49 But i'm not sure if I'm doing it correctly. It was the first time I ever made an android program Dec 21 04:44:24 my goal is to use this in a gridview, in order to add/remove entries to another gridview, in another fragment Dec 21 04:44:51 Closure is an advanced topic I guess, but in this case it means you can hold on to the outer scope in the callback. Dec 21 04:45:24 so each callback can be associated with the correct position in your case Dec 21 04:46:03 so, basically, the variables themselves can keep track of the 'position' and you don't have to use a tag to hold a reference to it Dec 21 04:46:29 hmm Dec 21 04:46:33 in Java I think you have to declare the variables final though Dec 21 04:47:00 is this in a ListView? Dec 21 04:47:05 what if i declare these as final? Dec 21 04:47:05 or GridView? Dec 21 04:47:35 GridView Dec 21 04:47:48 yeah, you can try it, try setting the position as final, and then you can use the position value inside the callback Dec 21 04:48:01 on line 3 Dec 21 04:48:04 of your code Dec 21 04:48:15 now, keep in mind, if you set it final, you can't change it again. Dec 21 04:49:36 I'm not sure if that will solve your problem though, that might be an unrelated issue. Dec 21 04:50:00 so i set the tag as the final int Dec 21 04:50:09 and that didnt work, just grabbing the tag back Dec 21 04:50:22 no, you would set the position as final Dec 21 04:50:29 you won't use tags at all anymore Dec 21 04:51:53 hmm let me try that Dec 21 04:54:03 http://pastebin.com/n1Ka9LaG Dec 21 04:55:05 post the code that you changed Dec 21 04:55:14 to pastebin... Dec 21 04:57:07 http://pastebin.com/XTMXXkvV Dec 21 04:58:01 you don't need to do data.get(pos) Dec 21 04:58:06 just do 'pos' Dec 21 04:58:45 that's how closure works, you still have a reference to the variable, and you can use it like the scope is still there Dec 21 04:59:08 so change the line to just be Dec 21 04:59:17 ((BaseActivity)context).addFavorite(pos); Dec 21 04:59:56 erm, addFavorite() takes one of my classes, so should i make that reference final? Dec 21 05:00:35 oh wait, i thought that was for the tag... Dec 21 05:00:38 hmm Dec 21 05:00:56 what is this data.get()? Dec 21 05:02:03 oh yeah, drinfernoo Dec 21 05:02:06 grabbing the data from the GridViewAdapter Dec 21 05:02:13 this is in my getView() Dec 21 05:02:19 move line 3 to line 6 Dec 21 05:02:53 that is, put it between line 5 and Dec 21 05:02:55 6 Dec 21 05:02:59 sorry about that... Dec 21 05:03:50 disregard what I said about changing the data.get(pos) part... Dec 21 05:03:54 see if that works. Dec 21 05:04:02 so declare pos inside the onClickListener? Dec 21 05:05:14 http://pastebin.com/tU5jz7Jb Dec 21 05:05:25 see if that works^^ Dec 21 05:07:18 http://pastebin.com/BrmBRUB0 Dec 21 05:08:53 thats when i click the button, obviously Dec 21 05:09:43 what line is that 47? Dec 21 05:10:06 public void onClick Dec 21 05:11:57 https://github.com/drinfernoo/Cuber/blob/master/app/src/main/java/com/blango/cuber/adapter/GridViewAdapter.java Dec 21 05:11:58 maybe one of the positions is null? Dec 21 05:12:55 umm shouldnt be Dec 21 05:13:02 my views all show up Dec 21 05:14:43 well, you don't need to declare a new variable on line 35 Dec 21 05:15:15 just delete that line and change line 44 to be just: final int p = position; Dec 21 05:15:16 well i realized i forgot to change one of the v.getTags, so i did that and it doesn't crash, but it still adds it again Dec 21 05:15:27 it wont because position isnt final Dec 21 05:15:40 yeah, but you are doing things better at least Dec 21 05:16:03 there will always be problems, but if we can learn to code better we are doing things correctly. Dec 21 05:16:16 or, more correctly at least Dec 21 05:16:26 lol Dec 21 05:17:04 so your removeFavorite method appears to be suspect I take it. Dec 21 05:18:05 http://pastebin.com/WmSc7fJZ Dec 21 05:18:28 and at some point i use "favorites" as data for a different gridview Dec 21 05:18:51 which is working Dec 21 05:19:46 hmmm, don't know Dec 21 05:20:13 ugh me neither Dec 21 05:20:29 is this the way i should be doing this? Dec 21 05:24:11 someone recommended Sets, but idk about that Dec 21 05:24:33 I don't know enough about the language to tell you. Dec 21 05:24:44 me neither Dec 21 05:25:11 I've done my share of java over the years, but this is more complicated by far Dec 21 05:26:33 It doesn't seem that bad, just seems like a ton of boilerplate code...and you have to do it the android way Dec 21 05:26:47 at least i'm not having to deal with a broken DOM Dec 21 05:26:51 yeah Dec 21 05:26:58 and like 123123081 different browsers Dec 21 05:27:51 lol, 3 browsers, 4000 phones :) Dec 21 05:28:17 oh 4, safari, chrome, ie, ff Dec 21 05:28:24 g00s, how do i do this? lol Dec 21 05:29:54 i'm in my own code horror atm Dec 21 05:31:00 i have this code smell, i call spooky action at a distance Dec 21 05:33:04 "code smell" Dec 21 05:33:13 yeah, when something stinks Dec 21 05:34:58 smells like burning hair Dec 21 05:35:09 heh, hey dragorn Dec 21 05:35:21 why would LinearLayout be an invalid starting line in xml? Dec 21 05:35:23 wtf Dec 21 05:35:34 "invalid start tag" Dec 21 05:36:13 http://overlawyered.com/2014/02/new-car-smell-blamed-fatal-accident/ Dec 21 05:36:36 new car smell is bad news, leave your windows open for at least a month Dec 21 05:36:51 some poor coder will be next Dec 21 05:36:53 or just run over a skunk Dec 21 05:37:06 no , dont do that ! i know somebody who did Dec 21 05:37:27 long story short: they couldn't get the smell out of the truck, nobody drove it ever again Dec 21 05:37:34 yea Dec 21 05:37:35 it was a tow truck ha Dec 21 05:37:41 i skimmed a skunk in the subi and it stank for a month Dec 21 05:37:59 the truck is tall enough that i'd have to get pretty unlocky and hit it direct on the wheels Dec 21 05:38:10 unlucky, too Dec 21 05:38:41 i was petting a dog the other day, and mentioned to the owner "kinda smells like skunk" .. he said, yeah he got sprayed OVER A MONTH AGO Dec 21 05:38:43 zomg Dec 21 05:38:56 i live enough in the woods that we don't get many skunks Dec 21 05:39:01 they're much more a suburban thing Dec 21 05:39:15 deer, possums, bear, wildcat, owls, vultures... not so much the skunks. Dec 21 05:40:03 I live in the woods and those things are everywhere Dec 21 05:40:15 yup Dec 21 05:40:19 yeah i saw skunks even in the desert Dec 21 05:40:24 (skunks? or my list) Dec 21 05:40:24 (near creek) Dec 21 05:40:35 well, almost no skunks in MY woods area :) Dec 21 05:40:36 deer coyotes skunks foxs Dec 21 05:40:48 haven't even seen one splatted on the road w/in 15 miles Dec 21 05:41:05 oh yeah. forgot the foxes. Dec 21 05:41:54 ugh this stupid list Dec 21 06:05:28 dragorn any thought about this? http://www.informit.com/store/bulletproof-android-practical-advice-for-building-secure-9780133993325 Dec 21 06:08:56 does installation of VirtualBox mess up kvm? after installing VirtualBox, emulator starts up randomly Dec 21 06:09:19 why isnt this working? http://pastebin.com/EM4f2qL6 Dec 21 06:09:20 unless -qemu -clock dynticks is set Dec 21 06:09:37 im getting 12-20 22:05:13.915 E/AndroidRuntime(27308): java.lang.NullPointerException: Attempt to write to field 'android.support.v4.app.FragmentManagerImpl android.support.v4.app.Fragment.mFragmentManager' on a null object reference Dec 21 06:10:36 have you checked if the code above has thrown any exception drinfernoo? Dec 21 06:13:52 razzledazzle, derp Dec 21 06:13:54 12-20 22:13:02.000 W/System.err(29687): android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment detail: make sure class name exists, is public, and has an empty constructor that is public Dec 21 06:14:03 but it does, is, and does Dec 21 06:15:38 drinfernoo, this happens immediately when you start the activity? Dec 21 06:16:48 dammit Dec 21 06:19:01 drinfernoo, nested classes do not meet the criteria Dec 21 06:19:21 drinfernoo, see this maybe http://stackoverflow.com/questions/16062923/fragment-instantiationexception-no-empty-constructor-google-maps-v2/16064418#16064418 Dec 21 06:20:13 im not using an inner class... Dec 21 06:20:33 oh Dec 21 06:22:42 sure you aren't Dec 21 06:22:52 the error us self explanatory then Dec 21 06:23:16 i actually got it, idk why it wasnt working but i got it now Dec 21 06:23:52 and if it was self explanatory, it wouldve explained itself lol Dec 21 06:28:34 it did Dec 21 06:28:57 you're just bad at reading Dec 21 06:28:58 what about changing the toolbar drawer toggle to back instead of drawer? Dec 21 06:29:26 pfn philosophical question. if you had to choose any other language beside scala on android, what would you do ? Dec 21 06:29:37 or , what would you choose Dec 21 06:29:47 find one that was static Dec 21 06:30:46 all the dynamic language suck hard for android Dec 21 06:32:35 would you consider groovy on android dynamic or static? Dec 21 06:32:43 dynamic Dec 21 06:33:29 groovy 2 had static type checking support, but seems like still dynamic at heart Dec 21 06:34:06 not much left to choose from :( Dec 21 06:34:17 C# would be awesome. :) Dec 21 06:34:33 heh Dec 21 06:34:43 TacticalJoke can you use F# on Windows Phone ? Dec 21 06:35:26 i'm interested in learning more about functional languages, but most of what i do would be in the context of mobile Dec 21 06:35:35 Umm, not sure. I think you can. Dec 21 06:35:46 I think that, anywhere you can use C#, you can use F#. Dec 21 06:36:06 Yeah, I'd like to learn more about functional. I never got around to learning F# (which looks quite nice). Dec 21 06:37:32 rx was the gateway drug Dec 21 06:43:18 hm, seems like you can use F# libraries on WP, not sure if you can write the whole thing in f# though Dec 21 06:59:34 http://motherboard.vice.com/read/the-dominant-life-form-in-the-cosmos-is-probably-superintelligent-robots Dec 21 07:00:15 better article then I expected Dec 21 07:00:29 *than Dec 21 07:01:30 "YOU DON’T SPEND A WHOLE LOT OF TIME HANGING OUT READING BOOKS WITH YOUR GOLDFISH. ON THE OTHER HAND, YOU DON’T REALLY WANT TO KILL THE GOLDFISH, EITHER.” Dec 21 07:01:58 capella-s3 i hope susan is correct ;) Dec 21 07:02:53 * capella-s3 talks to his plants Dec 21 07:04:01 capella's plants don't feel like hanging out :) Dec 21 07:04:52 they're not going anywhere >| Dec 21 07:06:33 and my basil can wind up eaten if it doesn't shape up Dec 21 07:08:00 i think its going to wind up eaten either way Dec 21 07:09:41 Ah, man. Refactored some code, and now it's nice and neat but the execution time has gone from something like 0.001ms to 2ms. Dec 21 07:10:10 i can't even fathom how you think you are measuring that Dec 21 07:12:04 lol Dec 21 07:12:05 JakeWharton: stopwatch Dec 21 07:12:13 It's probably wildly inaccurate. Dec 21 07:12:21 TacticalJoke: are you writing hard real time? Dec 21 07:12:35 But I'm looping over the code 1,000 times, using System.currentTimeMillis, and dividing the final number by 1,000. Dec 21 07:13:17 you should be using nanoTime Dec 21 07:13:34 i'd do 5-10k iterations and then measure 5-10k after that Dec 21 07:13:57 The first iterations are the warm-up? Dec 21 07:13:59 the granularity that nanoTime can even measure is vast so it still probably isn't all that useful Dec 21 07:14:34 subsequent calls can return the same value and then it'll jump like 100000 Dec 21 07:15:31 and that's on the JVM... Android is assuredly worse Dec 21 07:16:05 Trying two sets of 10,000 calls. The garbage collector is going to town. Dec 21 07:16:47 yep background overhead Dec 21 07:16:56 it'll go on strike like they always do amd stink up the place Dec 21 07:18:19 warm up those caches Dec 21 07:18:30 * g00s puts hands over the fire Dec 21 07:19:13 that reminds me of brilliant Hot Shots app idea Dec 21 07:19:22 Okay, so I did 10,000 warm-up runs and 10,000 timed runs. With the nice, refactored code I get 19162063176 nanoseconds. With the old code I get 184068364 nanoseconds. Dec 21 07:19:50 TacticalJoke: contact Hot Shots and tell them you'll do an app that warms up their phone so that it will save them from getting frostbitten Dec 21 07:19:55 should have used string.format :P Dec 21 07:20:34 That's 19,162ms versus 184ms. Dec 21 07:21:12 its 19 ms vs 0.184ms Dec 21 07:22:05 oh sorry my bad. I am going to go now Dec 21 07:22:25 I always forget how to convert. I just googled now. :D Dec 21 07:22:28 use google* Dec 21 07:25:00 TacticalJoke but what is the context O.o 184ms can be ok if you are calculating the answer to the universe Dec 21 07:26:03 It relates to creating a list of "collapsible comments". Dec 21 07:26:26 always choose the faster performing choice Dec 21 07:26:29 If I store comment positions in advance, when building this list I can simply use "new ArrayList<>(someOtherList)", which is extremely fast. Dec 21 07:26:38 we are too lazy to do it, you might as well Dec 21 07:26:51 If not, I have to build up a new list with some kind of key-value pairing, which is much slower. Dec 21 07:27:35 TacticalJoke since you are really interested in making your code performant, maybe you'll like http://shop.oreilly.com/product/0636920035053.do Dec 21 07:27:47 not due out for a while yet though Dec 21 07:28:05 Ah, interesting. Dec 21 07:28:07 Looks like my kinda thing. Dec 21 07:28:14 i thought so :D Dec 21 07:28:52 cool, didn't know about that one Dec 21 07:28:53 maybe they should publish content on a more performant medium Dec 21 07:28:56 like literally anything but a book Dec 21 07:29:27 Yeah, I'm not a huge fan of books anymore. I take so long to read a book. Dec 21 07:29:34 Well, I enjoy it, but it takes me ages. Dec 21 07:29:49 also to write Dec 21 07:30:04 by the time they hit print it's already out-of-date Dec 21 07:30:06 I like having the hard cover in my shelf Dec 21 07:30:25 for those times when you need to reference material that was accurate four years in the past? Dec 21 07:30:43 Imagine if we could swallow a pill which uploads knowledge into our brains. Dec 21 07:30:54 It could be dangerous, but it could be awesome. Dec 21 07:31:38 someone would restrain you and require you to take /their/ pill Dec 21 07:32:08 yeah like roger ailes Dec 21 07:32:11 heh - like apple Dec 21 07:32:31 no, apple gives seeds of hope Dec 21 07:32:42 from the fruit ;) Dec 21 07:33:26 Perhaps it'd give you a choice. "Accept this item of knowledge? *shows preview*" Dec 21 07:33:26 from the garden of eden where even seduces adam to get it stuck in his throat Dec 21 07:33:34 Though even then it'd be exploitable. Dec 21 07:33:36 s/even/eve Dec 21 07:42:32 Hey so I have a preference activity. Conventionally, i see that per row, upon clicking (if it is more complicated than a checkbox) a dialog appears: then the user can for instance manipulate a color palette to chose a color. I wanted to not use dialogs, so instead my listview has the clicked row expand wherein the content normally appearing in the dialog goes into the expanded area. Anyone think this is a bad UI decision? Dec 21 07:42:54 g00s: !!! Dec 21 07:43:05 hey thepoosh Dec 21 07:43:11 sup dude? Dec 21 07:43:34 have yuo seen this? Dec 21 07:43:34 http://programmers.stackexchange.com/a/5576/102267 Dec 21 07:43:52 reading 'A government of wolves' Dec 21 07:44:06 a documentary? Dec 21 07:44:14 haha Dec 21 07:44:23 yeah Dec 21 07:44:29 hm, yeah kinda like that :) Dec 21 07:44:30 lasserix_: screenshots to show what you're doing? Dec 21 07:44:44 i can envision that a couple ways. only one's an ok ui decision :P Dec 21 07:44:49 it's funny, all the government websites in israel have hebrew var names Dec 21 07:44:59 my eyes bleed when I mouse hover any of them Dec 21 07:45:43 lasserix_ only one way to find out, ask users Dec 21 07:46:49 lasserix_: you can A/B test or add analytics Dec 21 07:46:53 and see what people do Dec 21 07:46:56 umm Dec 21 07:47:05 this app won't be out for a while and Dec 21 07:47:14 i want to make the decision for now in the meantime Dec 21 07:47:21 why not dialog? Dec 21 07:47:26 i'd stick to the platform behavior Dec 21 07:47:33 +1 Dec 21 07:47:45 when in doubt don't be a pioneer Dec 21 07:47:48 i thought it'd look cooler Dec 21 07:48:16 cause what i wantedis you click on the row Dec 21 07:48:18 I had the harsh reality prove time after time that I am not a regular user and that I don't understand them Dec 21 07:48:25 then that row gets pushed to the top of the screen, animates expansion Dec 21 07:48:36 to be honest fuck convetion Dec 21 07:48:41 i will definatly do convention Dec 21 07:48:53 but seriousily fuck it. i dont buy we keep it simple for users all the time Dec 21 07:48:57 that breeds stupidity Dec 21 07:49:05 by inertia of incumbent design patterns Dec 21 07:49:16 the same principle is what is making movies such shit in the US these days Dec 21 07:49:17 if you are going to be unconventional, then usability test is needed Dec 21 07:49:21 you don't trust material? Dec 21 07:49:48 any script that doesn't fit the norm can't be produced lest they alienate the codified behaviors that they themselves instill Dec 21 07:49:50 anyways Dec 21 07:49:55 no i like material and actually Dec 21 07:50:08 so why not keep to convention? Dec 21 07:50:12 this idea was based on material--the whole concept you click a row, it moves to the top, expands out Dec 21 07:50:24 that's activity transitions Dec 21 07:50:25 was actually motivated by kinetic paper / heirarchal UI Dec 21 07:50:28 no no Dec 21 07:50:31 dialogs suck Dec 21 07:50:32 hierarchal UI Dec 21 07:50:38 just do it Dec 21 07:50:40 ++ JakeWharton Dec 21 07:51:02 just go for it? Dec 21 07:51:14 the non-dialog approach Dec 21 07:51:19 JakeWharton considering you've given nothing to back that up that statement is completely useless Dec 21 07:51:19 Do you have an idea of how i can push the bottom row of a listview to the top of the screen? Dec 21 07:51:32 i don't have to Dec 21 07:51:37 dialogs are widely known to suck Dec 21 07:51:43 not blowing any minds here Dec 21 07:51:47 Since there's no space under the listview, like should i add a blank view when the row is selected? Dec 21 07:52:08 * TacticalJoke goes crazy and types "hg rev -aC". Dec 21 07:52:10 this also is completely irrespective to material Dec 21 07:52:13 *a blank view at the end of the listview that will allow the last row to push all the way to the top Dec 21 07:52:18 people pulled the same shit with Holo Dec 21 07:52:20 "oh that's not Holo" Dec 21 07:52:40 lasserix_: something like this? http://storage.googleapis.com/fflog/google_io_l_transitions.gif Dec 21 07:52:50 lasserix_: you are the best judge of your own result, try it and test it Dec 21 07:52:52 i have no fear that it won't be intuitive--it will be completly intuitive for a user Dec 21 07:53:12 seems reasonable enough then Dec 21 07:53:14 thepoosh yeah but where the mountain is would be the dialog content Dec 21 07:53:23 and at the bottom a live preview would open up Dec 21 07:53:27 yeah Dec 21 07:53:30 yeah Dec 21 07:53:49 the ecosystem is fraught with blind conformance to the conventions of old producing endless mediocrity of apps Dec 21 07:54:02 JakeWharton: any trick to getting a listview to push it's bottom row to the top of the screen despite the fact the vertical scrolling is at its limit without the bottom row at the top? Dec 21 07:54:13 JakeWharton: what's considered a good ground breaking app to you? Dec 21 07:54:23 Inbox does a pretty good job Dec 21 07:54:28 i adore the swipe up/down to go back Dec 21 07:54:36 it's hierarchical nav done well Dec 21 07:54:58 lasserix_: smoothScrollToPostions? Dec 21 07:55:05 new Calendar is nice Dec 21 07:55:16 tasteful parallax, good animation use Dec 21 07:55:30 well, inbox messed up my desktop and filters Dec 21 07:55:35 so I got pissed at it Dec 21 07:55:39 no no the problem is the listview is scrolled ALL THE WAY DOWN such that the bottom row can't be pushed to the top Dec 21 07:56:03 so like id have to temporarily add a dummy view to the listview so it can continue to scroll down Dec 21 07:56:03 or something Dec 21 07:56:05 both apps also are blind conformance to material which is refreshing Dec 21 07:56:53 are not* Dec 21 07:56:55 heh Dec 21 07:57:16 material shmaterial Dec 21 07:57:23 Most material apps bore the hell out of me. Dec 21 07:57:25 I can't tell one from another. Dec 21 07:57:33 that'll change Dec 21 07:57:40 the Holo theme had the same problem Dec 21 07:57:45 The main one I like so far is YouTube. Dec 21 07:57:47 I love that red. Dec 21 07:57:49 gross shit just leaving tons of defaults Dec 21 07:57:52 Yeah. Dec 21 07:58:00 Light.DarkActionBar and I'm done theming! Dec 21 07:58:18 Anyone know a trick to getting the last row of a listview to scroll past the bottom limit of a listview's scrollability Dec 21 07:58:29 Part of why I'll use "material" is that I hate it slightly less than I hate Holo. Dec 21 07:58:36 TacticalJoke: just wait until the new glide version comes out! Dec 21 07:58:38 hehe Dec 21 07:58:40 Also, I guess many people want "material" (though that's not my main reason). Dec 21 07:58:51 the thing i like most about material is that it's nothing new Dec 21 07:58:59 it's just the formalization of a bunch of existing concepts Dec 21 07:59:09 the transitions are kinda new Dec 21 07:59:12 Whoa, that's an unusual-looking app. Dec 21 07:59:13 but the good kind Dec 21 07:59:13 Glide. Dec 21 07:59:20 TacticalJoke: my job Dec 21 07:59:21 the transitions are not new Dec 21 07:59:27 semantic animations have been around forever Dec 21 07:59:41 yes, but I never saw them in use that way on mobile Dec 21 07:59:51 iOS apps used them a lot Dec 21 07:59:54 to great effect Dec 21 07:59:57 true Dec 21 08:00:00 Really neat, thepoosh. :) Dec 21 08:00:04 thanks Dec 21 08:00:07 Anyone know a trick to getting the last row of a listview to scroll past the bottom limit of a listview's scrollability? That is, if a listview is scrolled ALL the way down, how can i get it to scroll down further, so i can align the top of the bottom row to the top of the listview container? Dec 21 08:00:17 TacticalJoke: working now on redesign Dec 21 08:00:23 Cool. Dec 21 08:00:30 planning to finish by newyears eve Dec 21 08:00:36 thepoosh glide the name? Dec 21 08:00:43 wat? Dec 21 08:00:48 lasserix_: I missed most of what you said before -- why do you want to do this? Dec 21 08:01:00 because it looks good Dec 21 08:01:03 and is cool Dec 21 08:01:11 and it makes it conform Dec 21 08:01:13 err consistent behavior Dec 21 08:01:19 inside the configuration activity Dec 21 08:01:27 plus, i have a live preview at the bottom of the screen Dec 21 08:01:32 I see. Dec 21 08:02:04 Totally off-topic, but I kinda love creating mock objects. It's so "fuck the system". Dec 21 08:02:13 thepoosh "glide - video texting" is you? Dec 21 08:02:20 yeah Dec 21 08:02:25 thepoosh: You should design my app for me. :D Dec 21 08:02:27 been here since day -1 Dec 21 08:02:32 JakeWharton you wouldn't have any off the top of your head ideas on how to do that? Dec 21 08:02:33 we have a designer Dec 21 08:02:41 I suck at this Dec 21 08:02:42 lasserix_: don't use a listview Dec 21 08:02:53 hehe Dec 21 08:02:57 i'm serious Dec 21 08:02:58 * capella so not a graphics guy Dec 21 08:03:00 thepoosh: I love how the screenshots have colour in the background. Dec 21 08:03:02 Really clever. Dec 21 08:03:06 you can use it for the prefs but after that you'll want to take over the view Dec 21 08:03:06 No it makes sense, originally i wasn't Dec 21 08:03:07 thanks Dec 21 08:03:09 Makes it look so fresh and awesome. Dec 21 08:03:15 I would like to get help on allowing a sh script run from init context to edit the underlying fstab ( for example if user has some partition with f2fs-fs but even in permissive mode it got denial( init context more restricted??" Dec 21 08:03:15 i tried to add in the file_contexts /X.sh with object init// su// rootfs //init_shell Dec 21 08:03:17 (su context is cm's dunno if it does exist in aosp) Dec 21 08:03:25 not sure how much listview will like you stealing a view from it and attaching it elsewhere Dec 21 08:03:39 okay Dec 21 08:03:45 huh? TacticalJoke what are you looking at ? Dec 21 08:03:50 i gota think about this then, that might be a version 2 thing Dec 21 08:03:51 https://play.google.com/store/apps/details?id=com.glidetalk.glideapp&hl=en_GB Dec 21 08:04:15 TacticalJoke: http://imgur.com/01YIQiL Dec 21 08:04:24 this is how the new design should look Dec 21 08:04:43 Neat. Dec 21 08:04:47 thanks Dec 21 08:05:11 nice Dec 21 08:06:41 TacticalJoke: we are hoping to get featured after this release Dec 21 08:07:14 thepoosh how many people doing the android work ? Dec 21 08:07:40 6 devs, one short time outsourced, one manager Dec 21 08:07:57 so really 5 devs ? Dec 21 08:08:00 6 Dec 21 08:08:06 6 fulltime devs Dec 21 08:08:10 oh dev + manager ? Dec 21 08:08:35 hey thepoosh can you tell me what the input type is set on the edittext on the very first screen some time? Dec 21 08:08:38 6 devs, one additional outsourced, one manager Dec 21 08:08:38 wow. well shit, no wonder why its taking me so long :) Dec 21 08:08:59 sure Dec 21 08:09:55 lasserix_: android:inputType="number|phone" Dec 21 08:10:08 thanks Dec 21 08:10:18 np Dec 21 08:12:35 lasserix_ what you are working on has been called the accordion widget years ago Dec 21 08:13:01 ? Dec 21 08:13:10 when an item in a list expands Dec 21 08:13:23 Outlook had that in like 2000 Dec 21 08:13:57 its more than just an expansion, like i said i want it to move to the top, then expand, basically its like an inline dialog Dec 21 08:14:42 an accordion that moves to the top O.o Dec 21 08:14:54 nothing new about it, we just don't see it on android Dec 21 08:15:00 hmm maybe ill see if there is a library out there then Dec 21 08:15:03 at least in settings Dec 21 08:15:12 if not maybe i can release one and finally have somethign to upload to github ;p Dec 21 08:15:17 lasserix_: maybe use ExpandableListView Dec 21 08:15:24 and make the list show the entire view Dec 21 08:15:40 lasserix_ there was a devbytes on expanding listview Dec 21 08:15:48 maybe you don't need it Dec 21 08:20:00 thepoosh how long as the project been going with a team that size ? Dec 21 08:20:04 (if i may ask) Dec 21 08:21:21 any ideas on how to get the toolbar drawer toggle to change to back instead of drawer? Dec 21 08:23:26 nah it'll have to be a custom view Dec 21 08:24:07 id still have the problem of not being able to scroll rows at the bottom to the top of the screen Dec 21 08:24:12 anyone could try helping at making work sounds librairies on lollipop with an apq8064 devices ( mako , htc m7, etc alike archi). I can build cm12 and everything runs smooth , speaker works but mic does not, anyone can think of a possible culprit? I am really lost on figure out what to do Dec 21 08:24:23 if this is not the proper channel, feel free to head me to it :D Dec 21 08:25:15 To follow-up on the thing earlier, I'm gonna go with the faster (and slightly more complex) code. Dec 21 08:25:23 It's just significantly faster. The nicer code was wasteful. Dec 21 08:25:44 TacticalJoke glad you made a decision :) Dec 21 08:26:04 :) Dec 21 08:26:26 Also, it's kinda cool that I can keep modular code without waste by using Collections.unmodifiableList in surrounding code. Dec 21 08:26:43 Although "new ArrayList<>(originalList)" is really fast anyway. Dec 21 08:27:24 TacticalJoke: what are you refering too? Dec 21 08:27:38 Also i was curious if you woudn't mind posting the two-list view swapper Dec 21 08:28:16 It's such a mess right now. Lol. I'll refactor and then post. :) Dec 21 08:28:32 It's one of those "still being implemented" classes. Dec 21 08:29:49 Basically, though, it's a list that supports collapsing items. You give it a list featuring collapsible items and it presents methods such as "toggleCollapse(position)". Dec 21 08:30:08 Under the hood, it has a "visible items" list to which it adds (and from which it removes) items. Dec 21 08:31:08 So, if you give it ["one", "two", ["three"]] and you say toggleCollapsed(1), it'll give you ["one", "two (collapsed)"] back. Dec 21 08:31:15 ("three" is a child of "two".) Dec 21 08:31:50 ic Dec 21 08:32:05 My adapter knows only about the second list. It never touches the first. Dec 21 08:32:11 But the second list has an internal first-list. Dec 21 08:32:45 ahh Dec 21 08:32:56 no performance issues? Dec 21 08:33:01 No, it seems really fast. Dec 21 08:33:52 There's basically no delay whatsoever in, for example, duplicating the first list. Dec 21 08:34:23 TacticalJoke, for comments? Dec 21 08:34:26 Yeah. Dec 21 08:35:05 cool Dec 21 08:35:16 TacticalJoke any recent screenshots ? Dec 21 08:37:08 wow, if this pans out http://phys.org/news/2014-12-neural-networks-visual-primate-brain.html Dec 21 08:38:06 Okay, but it's ugly. lol Dec 21 08:38:07 One sec. Dec 21 08:39:24 g00s, skynet Dec 21 08:39:28 http://i.imgur.com/yg7HtPc.png Dec 21 08:39:32 g00s: it's an ongoing process Dec 21 08:39:37 I dunno whether I like the italics, really. I just randomly copied Reddit on that one. Dec 21 08:39:47 been up and running for the past year and a hlaf Dec 21 08:39:58 Note that I've put basically zero effort into the UI design so far. :D Dec 21 08:40:21 that looks great to me actually lol Dec 21 08:40:51 TacticalJoke i wish there were some better way of visualizing threads Dec 21 08:40:57 Thanks. Lol. I'll add some colour or something. Right now, I'm just making everything grey/blackish/whiteish until I decide upon what to do. Dec 21 08:41:15 g00s: One thing I was thinking of doing was colouring the indent-bar thing. Dec 21 08:41:19 But, yeah, it's not ideal. Dec 21 08:43:22 i'd like to see somebody try a visual tree like representation like freemind Dec 21 08:43:35 fuck, i keep hitting this bug in AS .. its fulscreen, but i kick off a build and go to another desktop - and i can't get focus of the resulting device selector dialog Dec 21 08:44:47 happens on Eclipse as well, it's an ADT issue Dec 21 08:44:49 not AS Dec 21 08:45:18 i think root cause is jvm incompat with window manager Dec 21 08:45:26 could be Dec 21 08:45:28 if as and eclipse do the same thing Dec 21 08:45:39 it's because the devices picker dialog is a sub view of the IDE Dec 21 08:45:47 so you need to switch to it Dec 21 08:45:57 in my case i cant Dec 21 08:46:08 Ok lord, someone just made a pass at me on moz-net Dec 21 08:46:09 g00s i told TacticalJokea better way to visualize threads Dec 21 08:46:10 g00s: Are you talking about this: http://freemind.sourceforge.net/wiki/index.php/File:FreeMind-computer-knowledge-080.png Dec 21 08:46:11 you can't go back to the Dec 21 08:46:21 capella: late sat night date? ;) Dec 21 08:46:23 lasserix_: Napalm had (as far as I can tell) the same idea, too. Dec 21 08:46:30 I told him that you'd told me to do that. lol Dec 21 08:46:31 not into dudes XD Dec 21 08:46:35 about what? Dec 21 08:46:37 haha Dec 21 08:46:43 About horizontal scrolling or whatever. Dec 21 08:46:47 Viewing comments like that. Dec 21 08:46:47 hgahah Dec 21 08:46:49 that's funny Dec 21 08:46:52 see Dec 21 08:46:52 thepoosh AS is fullscreen, the dialog shows up on whatever desktop i'm on. if i try to interract with it, the fullscreen just appears Dec 21 08:46:54 its a good idea Dec 21 08:47:00 heh - dev I know been drinking and apparantly feeling frisky Dec 21 08:47:05 that sucks Dec 21 08:47:06 itd be really cool, totally innovative Dec 21 08:47:07 TacticalJoke yeah Dec 21 08:47:09 lasserix_: But would it show only one comment at a time (more or less)? Dec 21 08:47:18 capella: so you brought it upon yourself? ;) Dec 21 08:47:23 g00s: I like the idea. Hmm. Dec 21 08:47:29 * capella is so damn attractive Dec 21 08:47:30 however you want to do it, you can stuff as much as you want in the viewpager page Dec 21 08:47:39 g00s: Though I'm not sure how well that'd work on small screens. Dec 21 08:47:43 heh - to drunk dudes :p Dec 21 08:48:04 lasserix_ also had the idea of just not indenting. I'm gonna try that. Dec 21 08:48:09 yeah Dec 21 08:48:12 (With an option to enable indenting again.) Dec 21 08:48:17 just add a flatten/unflatten button in the action bar Dec 21 08:48:23 you could make a cool animation Dec 21 08:48:24 Then use colour coding or something to determine nesting level. Dec 21 08:48:47 Probably priting a number (1..n) in whatever colour. Dec 21 08:48:49 and the animation would be easy cause you could just use PropertyAnimator/ObjectAnimator Dec 21 08:48:52 in the custom view Dec 21 08:48:58 err that textview Dec 21 08:49:16 so you just have ident() function, starts objectanimator to TRANSLATEX to ident offset Dec 21 08:49:30 and then ident(boolean) true to identOffset false to 0 Dec 21 08:49:34 The indent is all custom-drawn, though. Would that be difficult? Dec 21 08:49:50 It's just drawing a line and then a background to the right (to the left is transparent right now). Dec 21 08:49:51 oh Dec 21 08:49:56 hmm translatex wouldnt work Dec 21 08:50:17 hmm easiest way is to use handler post Dec 21 08:50:23 I see. Dec 21 08:50:25 just have offset identline offset textpaint Dec 21 08:50:29 then increment it Dec 21 08:50:32 anyone have a good introduction for fragment shared element animations? ive found a couple articles, but they mostly just talk about activities Dec 21 08:50:41 wouldn't be too difficult Dec 21 08:53:56 I think I can get this thing looking/functioning good/well before release. Dec 21 08:54:18 Though "good/well" might not be good enough. I do like the idea of trying something totally different for comment viewing. Dec 21 08:56:17 lasserix_: Do you know of any app that shows trees in the manner of that ViewPager thing? Dec 21 08:58:53 lasserix_: And what happens if there are no children? Does swiping right then go to later siblings? Dec 21 08:59:01 Or is that just swiping down? Dec 21 09:02:55 I dont think anyone has implemented it yet Dec 21 09:03:01 At least what i had in my minds eye Dec 21 09:03:08 no Dec 21 09:03:17 so swiping left and right is equivalent to scrolling up and down Dec 21 09:03:33 like i said the original listview is "visible" behind the viewpager, so you can see where you are in relation to the whole thread tree Dec 21 09:03:53 but it's "zoomed out" (small) and the current page content is reflected by highlighting the title in the listview Dec 21 09:04:05 title/firstline/whatever indicator Dec 21 09:04:29 so if you think, you open the comments, behind everything is the listview of the comment three tree, with identation only showing first lines/names Dec 21 09:04:39 the first "page" shows the first comment Dec 21 09:04:48 or all the comments at the top that fit in the page, Dec 21 09:04:56 then as you scroll right, it just moves down the list Dec 21 09:05:25 and like i said, you could highlight the listview "section" the current page is showing Dec 21 09:05:49 you don't care that the listview isn't visible when the page is currently focused (ie user is not swiping) because it will be visible as they swipe Dec 21 09:06:02 which is natural to present that way because you want to see where you are between reading comments Dec 21 09:07:03 sounds cool Dec 21 09:07:14 elementary school these days needs to teach kids a) 3d modeling b) how to use the internet Dec 21 09:07:53 so weird to me there isn't like a dedicated philosophy of school criculum to just how to use google / search engines Dec 21 09:08:01 since that is how everyone learns these days anyways ;p Dec 21 09:08:16 nicholas carr would disagree Dec 21 09:08:17 TacticalJoke: it is probably a version 2 thing Dec 21 09:08:52 yeah well he missed the point Dec 21 09:09:05 Yeah. I'll definitely try it (and other stuff). Dec 21 09:09:08 reading the newspapers in this country will also make you stupid if you don't know how to read between the lines Dec 21 09:09:26 Tgere has to be an awesome way to present a comment tree. Dec 21 09:09:30 There* Dec 21 09:10:26 g00s and the fact is that's how the way things are going these days, regardless of studies showing using the internet induces ADD in people or whatever Dec 21 09:11:26 TacticalJoke: ill spend some time setting up some of the code Dec 21 09:11:42 so when you get around to it you'll have something to work with since you got enough on your plate Dec 21 09:11:49 Thanks. :) Dec 21 09:11:54 lasserix_ http://www.readingrockets.org/research-by-topic/google-making-us-stupid-impact-internet-reading-behaviour Dec 21 09:12:10 we'll see more of this ;) Dec 21 09:12:47 also, all those iPads that went to schools ... useless, i think those programs are getting abandoned Dec 21 09:12:51 g00s i think that is actually somewhat of an unrelated problem Dec 21 09:13:00 turns out writing notes on paper is best way to tak enote s:) Dec 21 09:13:01 reading comprehension has been on the decline for a long time Dec 21 09:13:54 yeah there is definalty somethignto the creation of continuous glyphs that helps the brain Dec 21 09:14:40 thinkit has something to do with fine motor control beying related to many parts of the brain, like they say early humans might have developed the ability to articulate becasuse of plasticity in the rise of manipulating hand held tools Dec 21 09:20:36 g00s: I always have a pen on me Dec 21 09:20:50 yeah me too Dec 21 09:21:05 I used to carry a real nice Mont Blanc Dec 21 09:21:25 sure that's what kind of pen you meant ;p Dec 21 09:22:09 Serious! very expensive ... my background is in banking and that's a bankers pen ... very status symbol Dec 21 09:22:28 dropped the dang thing too many times and it shattered Dec 21 09:22:42 :( Dec 21 09:22:59 Lost the receipt ... there's a lifetime warranty I couldnt use :( Dec 21 09:23:11 g00s thanks for that keyword seems there are a lot of accordian style widgets tho all fairly simple stuff Dec 21 09:23:22 yw Dec 21 09:24:07 the tradeoff of not using dialog, is moving the list a bit and possibly throwing the user off in context - where they are in the list Dec 21 09:24:27 because that item will now go to the top Dec 21 09:24:35 so the context of items above it is lost Dec 21 09:24:48 spatialially disorienting Dec 21 09:25:45 Anyone order a carboard? Dec 21 09:25:45 the Settings in calendar are pretty weird Dec 21 09:26:04 nah there are only 20 settings o so Dec 21 09:26:17 and the row will animate moving from where it was clicked to the top and back again Dec 21 09:26:40 thepoosh you still here? Dec 21 09:26:58 lasserix_: I am in IL, will be here for about six more hours Dec 21 09:27:00 sup? Dec 21 09:27:13 that surfer animation is that a gif or animation drawable? Dec 21 09:27:21 gif Dec 21 09:27:33 I think it's actually an mp4 Dec 21 09:27:37 ahh Dec 21 09:27:39 yeah Dec 21 09:27:43 my thoughts exactly Dec 21 09:27:47 so what does this app do? Dec 21 09:27:57 since i dont want to give up my phone number Dec 21 09:27:59 ;p Dec 21 09:28:10 this like snapchat? Dec 21 09:28:14 conversations that are based on live video streaming Dec 21 09:28:35 like whatsapp but with the baseline being video Dec 21 09:28:38 so i start recording and it broadcasts it to target recipient? Dec 21 09:28:39 ahh Dec 21 09:28:45 cool Dec 21 09:28:53 great for ahem talking dirty ;p Dec 21 09:28:54 with 1.5 sec latency Dec 21 09:28:57 yeah Dec 21 09:29:02 it's perfect for sexting Dec 21 09:29:16 and friends of mine already found videos on 4chan Dec 21 09:29:21 so I feel like we made it! Dec 21 09:29:27 oh g00s thought you might like: http://karpathy.github.io/neuralnets/ Dec 21 09:29:36 awesome intro to nn Dec 21 09:29:48 i read my first book on NNs in highschool Dec 21 09:29:48 yeah definatly Dec 21 09:30:02 wish i stayed with that field Dec 21 09:30:04 thepoosh is this your company's app or for a client? Dec 21 09:30:10 ours Dec 21 09:30:11 no reason you can't Dec 21 09:30:14 cool Dec 21 09:30:17 yeah Dec 21 09:30:39 hopefully fb will offer you guys 9 figures at some point in the near future ;p Dec 21 09:31:05 this is our latest Dec 21 09:31:05 https://finance.yahoo.com/news/glide-raises-20m-series-b-124500701.html Dec 21 09:31:08 and when someone offers you a billion dollars. dont say no. Dec 21 09:31:14 I hope so Dec 21 09:31:26 I will take the 19B $ Dec 21 09:31:37 nice! Dec 21 09:31:54 yes Dec 21 09:31:56 i just remmberthe ceo athte startup i worked at was like wtf is wrong with those guys Dec 21 09:32:04 it's mostly our CEO Dec 21 09:32:15 he's a magician Dec 21 09:32:22 ahh yeah it really matters Dec 21 09:32:30 is he a younger guy or older? Dec 21 09:32:41 he's 3 months younger than I am Dec 21 09:32:45 30 Dec 21 09:32:49 yeah Dec 21 09:33:01 seems actually to be fairly important Dec 21 09:33:11 ? Dec 21 09:33:37 the tech has to be natural to you Dec 21 09:33:43 yeah Dec 21 09:33:51 it helps a lot Dec 21 09:34:03 you can see that the big guns don't try tech at all Dec 21 09:34:04 *when talking to investors and whatnot Dec 21 09:34:47 so you have anything coming up that will revolution texting as we know on top of what you've already done? Dec 21 09:35:47 you moving to the valley? ;p Dec 21 09:36:19 for now, we are in IL, the CEO moved to the valley Dec 21 09:36:32 i don't mind moving there Dec 21 09:36:39 but for a limited amount of time Dec 21 09:36:56 for some odd reason I'm an israeli patriot Dec 21 09:36:58 thepoosh thought you guys were in israel ? Dec 21 09:37:15 for now, we are in IL, the CEO moved to the valley Dec 21 09:37:40 IL = illinois ? Dec 21 09:37:43 wtf Dec 21 09:37:53 IL == Israel Dec 21 09:37:59 lol Dec 21 09:37:59 think globally you assface! Dec 21 09:38:23 we're based in Jerusalem Dec 21 09:39:30 I don't mind moving to a different country for some time Dec 21 09:39:52 been in the US for 2 three month periods a few years back Dec 21 09:39:57 but not for actual work Dec 21 09:45:25 Hmm. I want my TextView to show a transition drawable on click (kinda like how ListView does it by default). Dec 21 09:45:35 Only problem is that I'm custom-drawing over the TextView (e.g., background colours). Dec 21 09:45:40 Is it hard to custom-draw a transition? lol Dec 21 09:48:56 TacticalJoke: you can have a selector background drawable Dec 21 09:49:05 if you want simple stuff Dec 21 09:49:36 and have an onTouch on the EditText to check the state of the View and animate accordingly Dec 21 09:50:57 you can also implement your own selector states pretty simple with touchlistener Dec 21 09:51:24 Okay, yeah. Thanks. Dec 21 09:51:26 lasserix_: can you create a java selector? Dec 21 09:51:37 It seems I have to call invalidate at the end of the touch-listener thingy. Dec 21 09:52:01 the poosh define some conditions, use an enum and use touch Dec 21 09:52:19 and have an onTouch on the EditText to check the state of the View and animate accordingly Dec 21 09:52:27 * thepoosh said it first! Dec 21 09:53:07 = java selector Dec 21 09:53:15 yay! Dec 21 09:54:10 TacticalJoke: you'll want to use handler post Dec 21 09:55:02 that is a good way to avoid ANRs Dec 21 09:55:22 theres no other way to do the animation i think Dec 21 09:56:02 TacticalJoke: i can post my handler / animation implementation for doing a fade color effect on button press / touch down Dec 21 09:56:04 is there a way to implement ripple effect in the onClick of an EditText? Dec 21 09:56:16 use a library! Dec 21 09:56:23 ;p Dec 21 09:57:11 TacticalJoke: did you want to see that code? Dec 21 09:58:59 TacticalJoke: look at what I found! Dec 21 09:59:00 http://stackoverflow.com/q/2614545/1056359 Dec 21 09:59:44 Sure, lasserix_. Dec 21 09:59:54 thepoosh: I'm doing custom drawing. Does that apply? Dec 21 10:00:03 I'm literally drawing a rectangle over a canvas (to create a background). Dec 21 10:00:03 probably Dec 21 10:00:13 but why do it like that Dec 21 10:00:14 ? Dec 21 10:00:27 I have a custom text view for displaying a Reddit comment. Dec 21 10:00:33 It draws indents and stuff. Dec 21 10:00:38 yeah property animation is nice Dec 21 10:01:06 you just have to generat getter/setter for what you want to animate Dec 21 10:01:38 once my desktop is finished virus scanning ill dig it out Dec 21 10:01:43 K. lol Dec 21 10:02:14 I've done some basic onTouchEvent thing, but it's ugly. Dec 21 10:02:30 does it override the listview selector? Dec 21 10:02:48 Oh, that's not being shown anyway, since my TextView takes the click. Dec 21 10:03:41 yeah thats what i meant Dec 21 10:04:17 How can I initialise a MapFragment? Dec 21 10:04:38 at the moment, it seems that the fragment doesn't initialise until it's visible Dec 21 10:04:44 I want to prepare the map before making it visible Dec 21 10:05:12 specifically, onMapReady is not called until I display the fragment Dec 21 10:09:47 The problem I have is that the colour disappears too fast. Dec 21 10:09:56 I guess I'll need to make it wait before collapsing the comment. Dec 21 10:30:39 any1 an idea why PorterDuff.Mode behaves differently on home-screen-widgets compared to using it on a view in a regular activity? Dec 21 10:33:56 you don't have control of the screen flags on the homescreen Dec 21 10:34:02 or so i'd imagine Dec 21 10:34:30 like isn't there some stuff you have to enable in the window (windowdecor or something) settings for dithering,etc to work properly? Dec 21 10:35:54 mh, dunno, actually i noticed that , on lollipop it works as i wanted it, but on kitkat it doesnt Dec 21 10:37:51 hi, I just installed Android Studio 1.0.1, but I don't see any option to create an ANDROID project. When I click "Create New Project" I get the "New Project" window, which has options on the left like "Java", "Maven", "Gradle", ... but no Android option of any kind Dec 21 10:39:23 I searched online and tutorials like this one https://www.youtube.com/watch?v=Qu3RC9t1njY show different buttons than mine, they have "Start new Android Studio project", and when they click it they get options for an Android project Dec 21 10:39:38 am I missing something? I'm on windows 8 Dec 21 10:41:06 here is a picture of the difference (left: 4.4, right: 5.0) and the code in question. On right it is ok but not on left Dec 21 10:41:20 manix_ did you have regular intelliJ installed too maybe? Dec 21 10:41:42 manix_: Can you post a screenshot of what you see when you click start new android project. Dec 21 10:41:58 link to pic: http://abload.de/img/untitled6fjfh.png Dec 21 10:42:22 @ktwo, I have normal Eclipse installed, if that's what you're asking Dec 21 10:42:34 @Radther sure Dec 21 10:44:41 @Radther http://i.imgur.com/nTO93qc.png Dec 21 10:45:18 That looks different to mine. Strange. Dec 21 10:45:57 Hi guys, a question to developers here, what kind of services do you use for add revenue in your games or applications? Dec 21 10:45:59 @Radther I downloaded it from here http://developer.android.com/sdk/index.html clicked the green "Download for Windows" button Dec 21 10:46:45 I also tried running as Administrator but it looks the same Dec 21 10:47:14 Preferably one where I can just open an account and get revenue, having them just put money on my account (Belgium here) Dec 21 10:48:40 manix_: It should look something like this. http://i.imgur.com/t07uLHG.jpg Dec 21 10:50:51 @Radther yeah that's what I expected to see, so weird. maybe the shortcut I'm using is wrong? mine runs [Android Studio Path]/bin/studio64.exe Dec 21 10:51:31 I don't know the path for windows so I can't help you there. Dec 21 10:51:44 Have you installed the android SDK? Dec 21 10:51:58 I think it's comes with Android Studio but I'm not sure. Dec 21 10:52:09 Anyone? :) Dec 21 10:52:33 @Radther yes I have installed the SDK, but I specified custom paths for both. maybe that's the problem? Dec 21 10:53:13 @vanseverk AdMob is the most used afaik Dec 21 10:53:45 manix_: Click the Configure button and click SDK Manager. Dec 21 10:54:05 manix_: Do you use it yourself? Happy with it? Dec 21 10:55:06 Radther when I click Configure I get other options, no "SDK Manager" option. But I can run the executable manually Dec 21 10:55:46 Hmm... This is really strange. It appears android studio hasn't installed correctly. Dec 21 10:55:55 but I have all the usual stuff installed specified in their tutorials http://developer.android.com/training/wearables/apps/creating.html Dec 21 10:56:28 @Radther yep, I'm gonna reinstall it. sucks that it takes hours to install :( Dec 21 10:57:04 Yeah that is a bit strange. Can't think of what else to try. Dec 21 11:00:24 anybody knows why setEnterTransition for fragment doesn't work? Dec 21 11:00:33 setEnterTransition(new Slide()); Dec 21 11:00:56 getFragmentManager() .beginTransaction() .replace(R.id.fragment, new WelcomeFragment2()).addToBackStack(null).commit(); Dec 21 11:01:47 As far as I know it only works with activities. Dec 21 11:02:22 reenter transition works Dec 21 11:02:40 (on fragment A) Dec 21 11:02:47 but enter on both a and b doesn't work Dec 21 11:04:49 Try looking at this for the animation. http://stackoverflow.com/a/17488542 Dec 21 11:05:16 Hello guys Dec 21 11:05:19 and girls Dec 21 11:05:26 Unknown0BC: Hello there! Dec 21 11:05:51 I greet you all the way from mars. Dec 21 11:05:54 \0 Dec 21 11:05:58 ;) Dec 21 11:08:26 Ok I have this tab advertised to have a screen size of 1024x768, when I use displaymetrics.heightPixels to get the height my program reports: 552 ( I get 1024x552 as the screen size) Dec 21 11:08:50 When I use some other device info program off the play store it gives 600 pixels as the width. Dec 21 11:09:09 Now i'm trying to figure out why these discrepancies. Dec 21 11:09:50 the height sorry Dec 21 11:09:52 * Dec 21 11:10:04 Is it because of the status bar and nav bar? Dec 21 11:10:59 Thats what I have been thinking but the documentation says that Displaymetrics.heightPixels gives the ABSOLUTE height. Dec 21 11:11:11 Did someone smoke something again ? Dec 21 11:12:25 what else would it give? Dec 21 11:12:35 the relative height relative to what? Dec 21 11:12:58 the display is the display is not your app is the display Dec 21 11:13:06 the status bar is 24 dp Dec 21 11:13:18 and there are ways to get the height minus things like that Dec 21 11:14:02 Hello. what is Resources$NotFoundException ? I get it whil trying to do textView.setText Dec 21 11:15:36 vedu Dec 21 11:15:41 the resouce is not found. Dec 21 11:15:44 are you setting your text to some string resource id that doesn't exist? Dec 21 11:16:02 are you referencing a string? or are you do like setText(number) where number is int? Dec 21 11:16:22 lasserix_: yes! Dec 21 11:16:24 you CANNOT put numeric primitive ONLY in setText Dec 21 11:16:36 there Dec 21 11:16:36 you have to String.ValueOf or number + "" Dec 21 11:16:36 I just stumbled upon it :) Dec 21 11:16:40 yepp Dec 21 11:16:47 do not do + "" Dec 21 11:16:54 there++ Dec 21 11:17:02 looks like this screen is actually 1024x600 ... and not 1024x768... Dec 21 11:17:06 then Dec 21 11:17:26 all you're doing is wasting allocations which ends up calling String.valueOf on number anyway Dec 21 11:17:32 JakeWharton: is that really that much worse than String.valueOf ? Dec 21 11:17:36 yes Dec 21 11:17:45 and is a really bad way to cast to a string Dec 21 11:18:09 vedu: if you are going to call setText(numberType) A LOT it is much better to buffer the numeric type into a StringBuilder and use setText(stringBuilder, 0, stringbuilder.length) Dec 21 11:18:30 it's a StringBuilder allocation, a char[] allocation, another char[] allocation and a copy, a call to String.valueOf on number anyways, and finally yet another char[] allocation and a copy. Dec 21 11:18:49 when all you wanted was String.valueOf which will probably just be a index-based lookup to a constant string Dec 21 11:18:51 zero allocations Dec 21 11:19:16 oh i forgot a String allocation in that first list Dec 21 11:19:22 point taken my eyes just really hurt so i am being lazy thanks for elaborating on that tho Dec 21 11:19:26 not to mention about 100 method dispatches vs. one Dec 21 11:19:48 well, not one, but like 3 Dec 21 11:20:57 so vedu what i said about mNumber + "" is something you should never do i was just making the point of it having to be a string type, because if you do ever do that JakeWharton will smite you down Dec 21 11:21:02 :) Dec 21 11:24:37 no one an idea what they could have changed in lollipop here: http://abload.de/img/untitled6fjfh.png (in kitkat there is an ugly border around the button (left)) Dec 21 11:25:35 lol guys Dec 21 11:26:07 readable code is more important. I ended up using a String.format actually Dec 21 11:26:58 the code `new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")` should get the time zone correctly for something like "2014-12-21T16:20:20.913+05:30" right? Dec 21 11:31:13 correct format to parse dates like "2014-12-21T16:20:20.913+05:30" using SimpleDateFormat? `new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")` doesn't work Dec 21 11:43:23 anyone know smartcardapi? ( SIMalliance Open Mobile API ) ? Can somebody give me a working shared lib for lollipop? they have only for KK but the binderservice works a bit different on lollipop Dec 21 11:43:35 https://code.google.com/p/seek-for-android/issues/detail?id=88 Dec 21 11:49:03 ive found out what the cause of my issue could be: in KitKat the default buttons seem to be transparent while on Lollipop they are not. What can i do to have them both non-transparent (on Kitkat too?) setting alpha doesnt seem to help Dec 21 12:01:58 the drawable has transparency so the alpha will have no effect Dec 21 12:02:18 if you want a fully opaque button you'll have to replace the drawables used in the background selector Dec 21 12:04:41 JakeWharton, is it maybe possible by changing the theme for that widget? like to material dark or something Dec 21 12:05:00 or is the drawable for kitkat buttons fixed for any theme Dec 21 12:05:46 and as for the drawable replacement: how could i get the one used in lollipop and replace it in kitkat? is it in some api-jar? Dec 21 12:07:41 has someone tried implementing the facebook login example with a release hash key? my app suddenly doesn't do a thing when i press the implemented LoginButton view...and im getting some weird security issue too...but still not sure if its because of that error -> java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS Dec 21 12:19:53 ill rephrase the question maybe someone knows it better like this: Where are the default drawable's stored for buttons (for instance the ones on lollipop so maybe i could just copy them over) Dec 21 12:20:47 Hey guys, i ' m refactoring some code and have a question because there are several ways to implement something and i' m not sure what the best way is. Lets say i have a textview in MainActivity and within MainActivity a method to change the color of the textview ( setcolor() ). Dec 21 12:20:53 I call this method always in onResume, but i also have a Time_Broadcast_Receiver-Class and created an object of this class in MainActivity. Dec 21 12:20:54 I want to change the color of the textview also from this class at a certain time. Currently its like this: setcolor() is a static function and, since i try to avoid static variables, the textview is a member of ApplicationClass. Is there are a better way? Dec 21 12:21:38 ktwo: have you looked into the source? Dec 21 12:21:53 drawable folder is a good place to start ;) Dec 21 12:22:35 So, what are great resources for Android development? Dec 21 12:23:29 danijoo_, thans, yea im just looking into the sdk drawable folder, but its insane <.< they import a differnet xml for everything Dec 21 12:23:39 so i cant just copy one file and have it done Dec 21 12:23:55 ktwo: true ^^ Dec 21 12:24:26 is it maybe possible to change the alpha on the already set drawable? Dec 21 12:24:32 basically i just need this Dec 21 12:24:33 Like, I want to make a simple game. A couple of screens and transitions, would mainly be animation at the start, then the main game with transitions to different screen in between levels (fade in, fade out kinda thing) and an advertisement on losing Dec 21 12:26:37 ktwo: yes. mButton.getBackground.setAlpha(value) Dec 21 12:28:31 danijoo_, thanks it seems to work partly (though i had to use a different way to set it in a widget) but some colors still cause the button to be translucent for some reason Dec 21 12:28:33 i used 255 Dec 21 12:28:35 adkins: I dont really understand what you are wanting to do but its never a good idea to use static fields/methods for activity dependent stuff (it will break 100%) Dec 21 12:29:16 and dont store a view (textview) in application class, this will result in a memory leak Dec 21 12:29:17 hi Dec 21 12:29:51 danijoo_: thank you so far. what do you not understand? Dec 21 12:30:17 has someone tried implementing the facebook login example with a release hash key? my app suddenly doesn't do a thing when i press the implemented LoginButton view...and im getting some weird security issue too...but still not sure if its because of that error -> java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS Dec 21 12:30:51 what is a time broadcast receiver :) Dec 21 12:31:05 is there any way to browse your applications getexternalstorage directory? Dec 21 12:31:34 or will the OS only let you access it from the app itself Dec 21 12:31:49 ChrisUK: only on a rooted phone or emulator Dec 21 12:32:35 its /data/data/your.package.name/ Dec 21 12:32:40 danijoo_: a broadcastreceiver which gets triggered by time changing so i can get time changing events.......but lets dont get hung on this. It can be any broadcastreceiver/class Dec 21 12:32:47 ok thanks alot danijoo :) Dec 21 12:32:54 you always know the answer Dec 21 12:34:15 danijoo_: is there anything else not clear in my question? Dec 21 12:39:12 adkins: what about this? http://pastebin.com/U4aLvqXb Dec 21 12:39:25 adkins: dont overload danijoo the channel needs him :) Dec 21 12:40:58 lol ^^ Dec 21 12:41:50 ChrisUK: alright, give my best ;) Dec 21 12:43:07 adkins check if this works. Since Broadcast receiver is an anonymous inner class, it should be able to access setColor directly Dec 21 12:44:31 danijoo_: wow, thank you for coding ;) you`re making it an inner class......i want to try to take it outside though to reduce code in MainActivity Dec 21 12:45:08 i have a few more receivers/classes.....i dont want to put all of them in MainActivity Dec 21 12:45:12 oh. ok Dec 21 12:45:33 what about passing an instance of TextView to the boadcast receiver class then, and use it directly Dec 21 12:45:50 new BroadcastReceiver(mTextView) Dec 21 12:46:21 gosh, i thought of so many stuff but not of that ;) Dec 21 12:46:28 or pass an instance of your activity to it and do activity.setColor() Dec 21 12:47:47 are there any side effects of passing the activity? since i dont only want to change the color of one textview.....it would probably the easiest. But not sure if it is that good if i pass my activity to so many classes Dec 21 12:49:39 the first idea (passing the textview) wouldnt get what i want, since i want to call the function in MainActivity and try to avoid implementing the same function in the BroadcastReceiver. But passing the activity could be fine Dec 21 12:52:49 its ok if the objects stay within the activity Dec 21 12:53:11 for example the receiver is only used in the activity, and will be garbage collected when the activity pauses (unregister) Dec 21 12:53:19 so its ok that it has a reference to the activity Dec 21 12:53:36 it would not be ok to have activity stored in application class for example Dec 21 12:55:15 alright, thank you a lot, may the rafactoring begin ;) Dec 21 12:56:44 one question left: you said one should not store a textview in application-object because of memory-issues. Can you make a lil more clear why that is so? what can i store in application-object and what not? maybe 2 examples? Dec 21 13:01:18 adkins its the same like storing activity class Dec 21 13:01:31 textview has stored an instance of activity as context in it Dec 21 13:01:57 if you keep a reference in application and close the activity, it does not get garbage collected because theres still a reference to it in application class Dec 21 13:03:15 what could happen then? Dec 21 13:04:11 oh ok you mean the memory cannot be relased then Dec 21 13:05:40 correct Dec 21 13:05:47 and memory is very limited in android Dec 21 13:06:13 every image, view and whatever you have referenced in your activity will not get released then Dec 21 13:06:27 could there even be this negative-sideeffect too? -> textview/context of mainactivity is still in memory, i restart the activity, which creates a textview while the old one is not garbage collected yet, so there are two textviews in memory? Dec 21 13:06:36 put a few of those mistakes in your activity and you will and with OutOfMemory force close Dec 21 13:07:19 well if you restart it, i think you will also put the new textview in the variable in application Dec 21 13:07:29 so the old one will get replaced and finally gc'ed Dec 21 13:07:37 i see Dec 21 13:07:57 was just curious ;) Dec 21 13:08:41 yw :) Dec 21 13:09:19 ok this is the last question ;) if my broadcastreceiver changes the color of that textview and also mainActivity in onResume. What happens if onResume called setcolor() and while it is executing the broadcastReceiver calls it too? Dec 21 13:09:45 I am looking for a way to draw text in different positions all over the screen. The text should be in different shapes, angles, and colours (same font, but that can change), and I want to be able to have an on-click event which I can use to see whether one specific letter is clicked. What would the fastest (for the device) way to draw all this stuff be? The text should move around at a consistent FPS Dec 21 13:10:10 A game engine Dec 21 13:10:58 mikedg_: That's what I intend to write, yes, but what I was wondering what would be the fastest "generic" class to draw that stuff with? Dec 21 13:11:26 Some kind of off-screen canvas which I can draw at the end? A generated image? Dec 21 13:12:30 adkins: this will never happen because broadcastreceiver and the activity runs on the same thread Dec 21 13:12:47 they will always be executed one after another, with a view ms difference Dec 21 13:13:12 Create a texture then toss it on a quad in open GL Dec 21 13:13:28 vanseverk: SurfaceView Dec 21 13:13:33 or openGL stuff Dec 21 13:13:35 OpenGL? For 2D stuff? Dec 21 13:13:42 I have my doubts about that tbh Dec 21 13:13:59 I mean, OpenGL for 2D forces you to emulate 2D by abusing 3D :-/ Dec 21 13:14:20 vanseverk: every game is written in opengl on android Dec 21 13:14:35 or at least nearly every game Dec 21 13:14:37 Hmm, I see Dec 21 13:14:47 ok lets say the broadcast wants to set the color at 5:04h and a few milliseconds before that onResume was called. Will the broadcastreceiver wait until onResume is finished executing setcolor and call it after that OR will it just give up because it was not possible to run it at that time? ;) Dec 21 13:14:50 Man, been a while since I last wrote a shader :) Dec 21 13:15:19 adkins: after it Dec 21 13:16:00 it gets called for sure. Dec 21 13:16:17 danijoo_: alright man, you made my day, taking care of my gf now ;) Everyone: i`m releasing danijoo_ from my memory now ;) Dec 21 13:16:28 :) Dec 21 13:17:26 vanseverk: if its only that few texts, you can try surfaceview Dec 21 13:17:42 but its a lot slower than opengl, you have to test if its fast enough for you Dec 21 13:17:44 danijoo_: Well...the text will be spread all over the screen Dec 21 13:17:48 and all moves Dec 21 13:18:00 Also, I'll only be using 2 text characters Dec 21 13:18:14 but should go up to 1K moving text characters Dec 21 13:18:14 i didnt work much with it. so i cant tell if its fast enough for that Dec 21 13:18:24 i'd just try it. Dec 21 13:18:28 Yeah, I'll look at the opengl path :) Dec 21 13:18:36 ok :) Dec 21 13:38:50 is a struct faster than an object from a class which just holds data values? I assume it would be Dec 21 13:39:34 Oh. There are no structs in Java. Nevermind. Dec 21 13:41:09 .. Dec 21 13:41:10 I was really struct by your question Dec 21 13:41:30 How punny, Odaym :) Dec 21 13:41:36 lul Dec 21 13:41:57 Odaym: Yeah, I wouldn't use that word too often. Dec 21 13:45:16 structs can hold methods in c++ ... there's not much difference Dec 21 13:45:29 Really? I always thought they were exclusive to hold data :) Dec 21 13:45:47 in C they are. In C++, they aren't. Dec 21 13:46:38 http://stackoverflow.com/questions/1127396/struct-constructor-in-c Dec 21 13:52:54 Is there anyone here who LOOOVEs the android API documentation ? Dec 21 13:55:41 is there anyone here who love being hit in the face? ^^ Dec 21 14:14:47 Hi there, I have an activity with 2 ListViews,the second one is set as Visibility = gone at first load, when I tap on any row on the first ListView, my second listView should become visible, is there any simple way in xml to animate this visibility ? Dec 21 14:22:36 This is the best way to do animations. http://developer.android.com/guide/topics/graphics/view-animation.html Dec 21 14:23:10 After the view has been made visible load and start the animation. Dec 21 14:25:05 Radther, thank you, let me try that Dec 21 14:34:47 You know. It might be better I start looking at the Android basics before trying to build a game in opengl. Dec 21 14:35:19 vanseverk: I would recommend it. Dec 21 14:36:45 What would be the best source for it? I'm an experienced Java EE/Spring analyst/developer/architect Dec 21 14:55:27 hi, im trying to apply layout_height and layout_widht using a style but i get a following err "Error:(10, 29) No resource found that matches the given name: attr 'layout_height'." on line 'Error:(10, 29) No resource found that matches the given name: attr 'layout_height'.' in styles.xml Dec 21 14:55:37 strange? expected? Dec 21 15:09:21 ok, i cleaned the project and it works now Dec 21 15:09:25 nice Dec 21 15:09:53 Hmm, I still definitely prefer Eclipse over IntelliJ based editors :( Dec 21 15:14:05 Is it possible to have a ListView's click-highlight thing if a ListView row has an OnClickListener set? Dec 21 15:14:16 I'm guessing not, but just wondering. (SO doesn't seem to know.) Dec 21 15:18:22 How do you add a .jar to the build path with the cli? Dec 21 15:18:42 TacticalJoke: what is a click-highlighting thing Dec 21 15:22:32 Sorry, I mean the list selector. Dec 21 15:24:09 TacticalJoke, I don't think I understand. What are you trying to do? Dec 21 15:24:33 if you have a click listener on the view, the selector should work Dec 21 15:25:37 If a view in a row of the ListView has an onClickListener set and that view is clicked, the ListView's selector will not show. Dec 21 15:27:33 oh thats what you mean. Dec 21 15:27:55 pass it forward Dec 21 15:28:19 in the onclick listener of the view, do a performClick() on the parent view Dec 21 15:29:36 How are you adding the on click because for me in a recycler view the animation plays. Dec 21 15:30:34 And I'm adding the on click within the adapter. Dec 21 15:33:53 I'm getting these errors when trying to compile with the facebook sdk http://pastebin.com/KR8pkJdR what am I doing wrong? Dec 21 15:39:14 Radther, the animation works as I expected :) now I'd like to animate my rows within my ListView as I changed the ArrayList that populate my ListView datasource then I called notifyDataSetChanged method of the adapter Dec 21 15:45:01 zoraj__ there are quite a few ways to animate list views. The way that I did it was to use listview.getChildAt(i).startAnimation(animation) Dec 21 15:45:42 Where I is the item you want to animate. Dec 21 15:46:08 For example if you want to animate the one at the top of the list it would be 0. Dec 21 15:46:50 well, ok do you have the xml of the animation ? Dec 21 15:47:39 Sorry, was AFK. Dec 21 15:48:06 radther: So, with RecyclerView, you can set an OnClickListener for a child view and the row will still show the "list selection" animation? Dec 21 15:49:30 The animation will be 'animation = AnimUtils.AnimationFromResource(context, R.anim.you_xml_here) Dec 21 15:50:55 TacticalJoke yeah. I can post my adapter implementation in a bit if you want. Might be a bit though as my internet is not working well at the moment. Dec 21 15:51:12 Currently on phone. Dec 21 15:51:20 Oh, it's okay. Just knowing that is useful. Thanks. Dec 21 15:51:40 Do you know whether we can determine exactly where the "click animation" is drawn with RecyclerView? Dec 21 15:51:45 If, for example, I want to draw it from an offset. Dec 21 15:52:36 I'm not sure. Sorry. You could maybe look at OnTouchListener as i think that gives more information. Dec 21 15:53:34 guys i have a profile in tasker that play a sound file on specific times of the day.. i made it not play when phone is on silent by adding IF %silent off.... now i want to prevent it from playing when i am on a phone call... anyone has an idea how to do it ? Dec 21 15:53:43 sorry if off topic Dec 21 15:54:23 rhapsody`: It's offtopic, try #android Dec 21 15:55:27 TacticalJoke http://www.bignerdranch.com/blog/recyclerview-part-1-fundamentals-for-listview-experts/ this might help. Dec 21 15:56:08 Thanks. I've actually been meaning to read that. :) Dec 21 15:56:42 SimonVT no shit ? Dec 21 15:58:14 No shit Dec 21 16:03:35 fuck Dec 21 16:05:35 TacticalJoke its really helpful. I have tried lots of resources trying to understand recycler views and its the first one that made any sense Dec 21 16:05:55 speak english Dec 21 16:11:04 * rhapsody` slaps radther around a bit with a large trout Dec 21 16:11:26 Huh? Dec 21 16:11:56 u don like fish ? Dec 21 16:12:08 Not really no. Dec 21 16:12:23 Does anyone have an update on this? https://code.google.com/p/android/issues/detail?id=78377 Dec 21 16:12:30 Is it necessary to use ProGuard if using v7? Dec 21 16:13:02 TacticalJoke no it's not necessary Dec 21 16:13:50 What is proGuard. Been meaning to look into it as I keep seeing it around? Dec 21 16:14:26 It's an obfuscater and shrinker. Dec 21 16:15:01 Ahh ok. Sounds like it would be useful. Dec 21 16:15:14 Security through obscurity isn't great though Dec 21 16:18:23 It's useful if you have bloated dependencies Dec 21 16:19:40 Are those of you using v7 using the ProGuard Samsung-bug workaround? Dec 21 16:24:43 I'm getting these errors when trying to compile with the facebook sdk http://pastebin.com/KR8pkJdR what am I doing wrong? Dec 21 16:26:08 anyone could help me out to edit rootfs files? Such the fstab? Eve in permissive mode the init context is protected Dec 21 16:36:06 hello Dec 21 16:37:07 in android studio how can i add my libary to an app project WITHOUT being forced to copy my library source code into my app project folder? Dec 21 16:39:23 as i probably will want to resuse this library in other projects and don't want to copy/duplicate my library source code everytime i create an app project Dec 21 16:41:40 proguard / samsung bug? Dec 21 16:42:50 capella-s3: This: https://code.google.com/p/android/issues/detail?id=78377 Dec 21 16:43:16 * capella-s3 reads Dec 21 16:45:37 anyone? Dec 21 16:48:56 sysRPL: You need to build an aar, install it in your local maven repo and use it like any other dependencies Dec 21 16:56:09 Hello. I want to add a "Place Autocomplete" to my app's MapView. Do I have to create one from scratch or I could use a default one, like the one in the Google Maps app? Dec 21 17:20:41 * drinfernoo was sleeping, missed everything about animations Dec 21 17:23:30 does sdk manager support socks proxy? Dec 21 17:44:02 levo, I haven't seen it before Dec 21 17:44:20 levo, but you could take advantage of your system proxy Dec 21 17:44:30 skyred: you mean tsocks? Dec 21 17:45:21 levo, VPN for example Dec 21 17:45:34 levo, I use SSHuttle Dec 21 17:46:25 so my problem with adding to an arraylist is that .contains() doesnt work right :/ Dec 21 18:13:41 why does setColorFilter() not work? Dec 21 18:21:03 . o O ( why does the phone always ring when I get in the tub? ) Dec 21 18:23:27 capella: there is a famous Israeli story about the shower phone syndrom Dec 21 18:25:07 http://en.wikipedia.org/wiki/Jerusalem_syndrome ? Heh ... that can't be it Dec 21 18:25:25 nah Dec 21 18:25:35 we have those all the time Dec 21 18:26:02 :) Dec 21 18:26:39 a guy named Efrayim Kishon wrote it Dec 21 18:32:03 mmm ... my google-fu is letting me down Dec 21 18:33:26 capella: אפריים קישון Dec 21 18:33:43 just in case that's what you're googling Dec 21 18:34:40 oh nice, snackbar has indefinite duration now :) Dec 21 18:34:41 Efrayim Kishon shower phone syndrome was the obvious string, but zilch Dec 21 18:35:56 thepoosh: in rtl languages, when you do text selection, do you (personally) typically click then swipe right or left? Is this different than how you do it in english for example? Dec 21 18:36:15 I always try to do end to start Dec 21 18:36:49 well that complicates things, I assumed like I, most people went start to end, or left to right in english Dec 21 18:37:16 g00s: Do you know what the latest is on the Samsung-v7-crash thing? Dec 21 18:37:19 but thanks for the tip :) Dec 21 18:37:23 Is it simply "Use ProGuard". Dec 21 18:38:10 tacticaljoke I read that whole long thing and I still can;t tell if that's a) a samsung bug b) more than just samsung c) proguard -or- d) combination of a) and c) Dec 21 18:38:42 Some writers complain its samsung and other roms Dec 21 18:39:26 Hello, I've been using Android Studio while it was a Beta, and when I updated to 1.0 and I create a project with API 15 as minimum level it, my activities extend ActionBarActivity, isn't it supposed to extend Activity instead and extend ActionBarActivity when you create a proect with an API level lower than 14? .. actually when I create a project with the same configuration in Eclipse it extends Activity. Can anyone tell me why is this Dec 21 18:39:26 happening and what difference does it make? I'm a bit of a beginner...thank you. Dec 21 18:41:45 erts: ActionBarActivity is from the support library Dec 21 18:42:43 thepoosh: I know, but isn't it just for projects for Android 2.x as it doesn't have actionbar? Dec 21 18:43:16 it's for when you want to use the support lib Dec 21 18:43:27 like, if you want to implement toolbar Dec 21 18:44:25 toolbar is new in android 5.0 isn't it? Dec 21 18:45:25 how can i add a github project into my project without using maven? Dec 21 18:45:53 this for example: https://github.com/nispok/snackbar Dec 21 18:46:46 Can someone who uses Android Studio explain something to me (recently ported my projects from Eclipse) -- What is the ApplicationTest activity that is automatically created when you make a new project in AS? I don't have one in my imported project, just new ones Dec 21 18:46:56 drinfernoo: clone it, add it to your workspace and add it in the buikd path as a library project Dec 21 18:49:49 liuwenhao, Unit tests, you can just ignore it Dec 21 18:49:59 it's not an activity Dec 21 18:50:20 Okay, thank you pfn. Should I delete it if I won't use it or just leave it there? Dec 21 18:50:35 delete it if you want Dec 21 18:50:50 thepoosh, what would i add in my build.gradle? Dec 21 18:50:52 alright Dec 21 18:51:40 drinfernoo: compile project(':google-play-services_lib') Dec 21 18:51:48 please read the docs Dec 21 18:52:41 capella: As far as I can tell, it's Samsung's fault. Dec 21 18:55:25 TacticalJoke no i don't, you'll have to follow the thread. yeah, proguard Dec 21 18:57:08 that still isnt working :/ Dec 21 18:57:55 should the library project go in my libs folder or anything? Dec 21 19:10:34 Do you folks consider Toolbar and RecyclerView to be mature enough to rely on? Dec 21 19:13:03 Toolbar seems nice to us Dec 21 19:13:14 TacticalJoke: I have been using them for a while and haven't run into any problems. The only thing that's a bit annoying is the lack of resources on them. Dec 21 19:14:42 yup, i cant get this library project to compile at all lol Dec 21 19:17:30 I see. Dec 21 19:19:04 God. This is gonna make me sound like an asshole, but Android Reddit apps are so bad. I mean, seriously. Horrible UIs, weird inconsistencies, ads. I just tried like three high-rated ones at random. Dec 21 19:19:15 How do people like them? It's incredible. Dec 21 19:19:20 Some are raved about on Reddit itself. Dec 21 19:19:43 TacticalJoke: are you making yours totally free and ad free ? Dec 21 19:19:46 Yeah. Dec 21 19:19:55 thanks :) Dec 21 19:19:57 Good! :) Dec 21 19:20:02 TacticalJoke: I use reddit news and I love it. The UI isn't perfect but it has lots of neat features. Dec 21 19:20:18 Reddit News is probably the least bad of those I tried. Dec 21 19:20:22 Though the animations throw me off. Dec 21 19:20:28 TacticalJoke: you should try putting a hidden donation option in settings Dec 21 19:20:34 shmooz: Hopefully mine doesn't suck too. If it does, I won't release. lol Dec 21 19:20:43 I know you warned me about getting banned but it's your right Dec 21 19:21:11 Yeah, some of the stuff is a little weird but there is so much that a reddit app needs to do that I forgive them a little. Dec 21 19:21:19 you can contact google directly about putting a donation option in your app to make sure you don't get banned Dec 21 19:21:50 Radther_: Is there a way to jump straight to the comments in Reddit News? I can't see one. Dec 21 19:21:58 It seems I have to go to the article and then pull that bar up. Dec 21 19:22:18 Swipe the post to the left and you get the option Dec 21 19:22:18 shmooz: Yeah, I'm not sure whether to bother. Just having a nice Reddit app would be more than enough of a reward for me. Dec 21 19:22:43 You also get the other stuff like voting, saving and stuff. Dec 21 19:22:46 Ah, okay. They should implement a way to jump directly to comments. Dec 21 19:22:51 So much time wasted doing that swipe gesture. Dec 21 19:23:06 Like a long press or something. Dec 21 19:23:34 Saying that, the more button on the end has lots of quick links in it which is nice. Dec 21 19:23:49 Yeah, that's nice. Dec 21 19:24:17 A big problem, though, is that swiping to the side like that is very undiscoverable. Dec 21 19:24:29 How long do you think it will be before you have the first "working' version. Dec 21 19:24:40 Not sure. Maybe a few months. Dec 21 19:25:06 I have come to expect swiping in apps like that because there are so many features you have to put them somewhere. Dec 21 19:25:07 I'm not sure what to do about "more options" for posts/comments. Was considering an overflow thing like the YouTube app uses, but it's kinda ugly. Dec 21 19:25:08 TacticalJoke: you should release it open source and ask for help maybe Dec 21 19:25:55 can someone help me with androidm studio and adding a new library to an app project? Dec 21 19:26:58 everyone complains about reddit clients Dec 21 19:27:21 when i ... import com.example.mylib.MyClass; Dec 21 19:27:31 in my app it doesn't resolve Dec 21 19:27:47 i think my gradle and everything else is configured correctly Dec 21 19:31:45 TacticalJoke only thing about recyclerview, the docs aren't great. i'm not sure who the APIs are for: regular devs or people writing powerful things like twowayview Dec 21 19:31:53 I see. Dec 21 19:32:02 I think I'll at least move to Toolbar. Dec 21 19:32:02 if they are for regular devs, its kinda failure they left out so many common cases Dec 21 19:32:06 Probably RecyclerView at some point. Dec 21 19:32:34 i love reddit sync, but we've been over this Dec 21 19:32:43 I'm trying it now, drinfernoo. :D Dec 21 19:32:52 Long-pressing to collapse comments feels tedious to me. Dec 21 19:33:00 But I guess some people are used to it. Dec 21 19:33:07 to be fair, its the only one i do like Dec 21 19:33:16 i never collapse comments lol Dec 21 19:33:27 You just scroll down? Dec 21 19:33:41 ok I have to think about adding the option of switching from ListView to GridView Dec 21 19:34:04 yup Dec 21 19:34:24 shmooz gridview columns = 1 :) Dec 21 19:34:41 g00s: can I just use the same adapter ? Dec 21 19:34:46 yeah Dec 21 19:36:21 I guess I should let the user choose between 1, 2, or 3 column wide grid Dec 21 19:36:40 how the hell does setColorFilter() work? im trying to tint an imagebutton on press, but nooooo Dec 21 19:36:41 or no 2 or 3, otherwise it's already 1 Dec 21 19:37:42 just would have to set the layout of the list row to look like a grid row Dec 21 19:38:04 or grid cell I mean Dec 21 19:40:01 can someone help me with androidm studio and adding a new library to an app project? Dec 21 19:40:07 asked again Dec 21 19:42:19 what problem do you have? Maybe if you were specific about what you tried, and how it failed. Dec 21 19:43:39 well Dec 21 19:43:47 i have a library i called "game" Dec 21 19:43:57 in it have a class defined called Timer Dec 21 19:44:23 in my app View class when i try to use Timer, it cannot resolve Dec 21 19:44:34 i think im having the same problem as sysRPL Dec 21 19:44:46 i cant get libraries to compile Dec 21 19:44:46 when i type import com.example.game.timer; in my app it cannot resolver Dec 21 19:47:39 Is long-clicking a list item discoverable on Android? Dec 21 19:47:50 pressing* Dec 21 19:48:05 To me, it is. I don't know how typical Android users think, though. Dec 21 19:48:33 TacticalJoke: I take long clicking as a given thing, kinda in a if I can't find something I will long press on it and it's weird if it doesn't do anything. I might be a special example though. Dec 21 19:49:30 TacticalJoke: It isn't Dec 21 19:50:06 hello guys Dec 21 19:50:09 Maybe a small tutorial on first launch so they know it's there. Dec 21 19:50:13 i want to place a vertical textview at the left of my listview Dec 21 19:50:19 but the textview does not rotate correctly using the rotation feature Dec 21 19:50:21 Yeah, a guide could help. Dec 21 19:50:25 as this : http://i.stack.imgur.com/lh3vJ.png Dec 21 19:50:32 want to imitate the phonecall image Dec 21 19:51:16 lollipop helps with the animayion on long press Dec 21 19:52:40 so no help for us sysRPL lol Dec 21 19:52:55 just kidding, these guys are pretty helpful for stuff Dec 21 19:58:08 eclipse does not preview the rotated textview... Dec 21 19:58:16 is this fixed in Android Studio ? Dec 21 19:59:48 TacticalJoke: long pressing items for more actions are not easy to discover for totally new users but is conventional in android Dec 21 20:00:17 TonySoprano9099: Doesn't appear so. Dec 21 20:00:33 its convention on WP too, don't know about iOS Dec 21 20:01:00 if its convention on iOS, you can probably do it ok :D Dec 21 20:01:09 you have 2 options on a smartphone. pressing short or long :p Dec 21 20:01:43 Radther do u have experiance with rotation of textviews ? Dec 21 20:01:47 im having a hard time a bit Dec 21 20:02:30 TonySoprano9099: I haven't done anything with it but I just quickly tried it in XML in android studio to answer your question about previews. Dec 21 20:02:46 ohh Dec 21 20:02:48 thanks mate Dec 21 20:02:59 What problem are you having with rotating them? Dec 21 20:04:04 long pressing items for more actions is a terrible terrible convention Dec 21 20:04:22 action modes and overflow menu indicators are far better Dec 21 20:05:35 when i rotate them 90 degrees so that i can put them vertically Dec 21 20:05:41 You mean action modes starting from single-clicking? Dec 21 20:05:51 the locations are being abnormal Dec 21 20:06:00 TonySoprano9099: Are you talking about the emulator or the layout-preview thing or something? Dec 21 20:06:04 and it doesnt fit correctly where i want it to Dec 21 20:06:05 yes, TacticalJoke Dec 21 20:06:19 TacticalJoke just the normal preview Dec 21 20:06:29 The preview in your IDE? Dec 21 20:06:44 TacticalJoke yes Dec 21 20:06:48 That's not reliable at all. Dec 21 20:06:52 you can make the long press go direct into action mode Dec 21 20:07:00 You should test on a device. Dec 21 20:07:33 TonySoprano9099: TacticalJoke is right, test it on a device to see what it does there. The previews can be all over the place. Dec 21 20:08:30 TacticalJoke: experienced users will be dissapointed if nothing happens on long press with certain things Dec 21 20:09:42 Yeah, as I said before, I have come to expect long presses for certain thing. Dec 21 20:09:42 hi, I see the Android sdk calls javac, this is just the vanilla javac from my Debian distribution? Dec 21 20:10:26 I've tracked down the error for the video playback in a webview on KitKat. The webview is accessing a secure site, and loads a cookie for authentication. The media playback on pre-KitKat devices apparently use the cookie to access the media. On KitKat however, it appears that the MediaPlayer is accessing the media path directly, without using the site cookie. Has anyone else had this problem? Or does anyone have idea on how Dec 21 20:13:02 ouch, my n7 just rebooted Dec 21 20:13:37 kinda reminds me of writing device drivers on windows 95 Dec 21 20:14:21 g00s: windows 95 was plug-n-play! Dec 21 20:14:30 g00s, you wrote VxD? :) Dec 21 20:14:56 so i have an ImageButton, trying to setColorFilter() on it, doeant work Dec 21 20:14:57 i remember using the microsodr windows device driver kit Dec 21 20:15:00 whats up? Dec 21 20:19:38 wow, the WDK still exists Dec 21 20:20:44 g00s, they went from WDDK to WDK or something, much more fancy name Dec 21 20:20:54 msvc 1.52 was such a nutbuster Dec 21 20:21:05 g00s, I remember that one Dec 21 20:21:24 oops, bsod, i must have made a mistake :) Dec 21 20:21:24 but that was for Win 3.11 Dec 21 20:22:13 Hello. I've checked out some examples on the web for adapter filtering, but everywhere it suggests to make a separate array for the filtered items, like originalData[] and filteredData[]. Is there any way to avoid this copying? Or is it not worth the trouble? Dec 21 20:22:23 VladolfPutler now i'm not sure if it was win 95 or 3.11 - long time ago Dec 21 20:24:17 skulltower, remember the values are the same, just the arrays that are different Dec 21 20:25:07 SimonVT, so they point to the same thing? As in if I modify an element in array 1, array 2 will get the same change? Dec 21 20:25:25 SimonVT did you write schematic because you needed to do a complicated provider, but some automation was helpful ? Dec 21 20:27:51 skulltower: Yes, as long as you modify the object instance Dec 21 20:28:07 g00s: I wrote it because I wanted to try annotation processing, and I had a complicated provider Dec 21 20:28:19 Or not complicated, just large Dec 21 20:28:23 So I wrote it 100% for my usecase Dec 21 20:29:09 cool Dec 21 20:30:55 SimonVT, ah, silly me. Thanks :) Dec 21 20:32:14 thats one of the session i wish google had at i/o some year - advanced content provider implementation Dec 21 20:32:33 they seem to go one of 2 ways. for basic data models with crud, its pretty simple Dec 21 20:32:55 i dont find the boilerplate overwelming - but if you look at a complicated one like Contacts, its horrific Dec 21 20:36:54 can you not use shared element transitions with the support FragmentManager? Dec 21 20:41:45 theres no addSharedElement() :/ Dec 21 20:45:16 Hhttp://pastebin.com/jxKF7DqQ Can anyone explain the fact that surfaceView becomes NULL? Dec 21 20:49:32 Really have no clue what I could be doing wrong there, all looks okay to me Dec 21 21:03:34 Anyone? Dec 21 21:14:13 Bah. Dec 21 21:32:46 if I have code that sends data to a tracking service on a certain activity, would I just put that in the onCreate method? or should I put it in an async task? Dec 21 21:33:14 Sounds to me like something you'd want to put in an async task Dec 21 21:33:16 if only for the UX Dec 21 21:34:00 vanseverk, would it go in the doInBackground function of the async task? or just directly in it? Dec 21 21:34:13 No idea, I just started with Android development today Dec 21 21:34:38 vanseverk, still, I have utter faith in you. Whatever you say goes. Which one would you pick? Dec 21 21:35:02 Better than udder faith, probably. Dec 21 21:35:24 But yeah, some kind of background task Dec 21 21:35:33 haha thanks Dec 21 21:35:34 Even better when you don't add stuff like a spinner when you don't need to add it Dec 21 21:35:54 I mean, if they can go on with the workflow, pretend the action is done right away (unless it can't be done) Dec 21 21:35:57 so it seems faster Dec 21 21:45:58 bilb_ono: This may help when setting up the AsyncTask. http://developer.android.com/reference/android/os/AsyncTask.html Dec 21 21:46:52 Radther: Any idea on my question? Dec 21 21:47:47 vanseverk: I had a look earlier but I haven't done anything with surfaceviews so I'm not of much help I'm afraid. Dec 21 21:48:08 Radther: Well, I get a NP from the findViewById Dec 21 21:48:15 so I thought it was a pretty general question :) Dec 21 21:48:20 it simply doesn't grab the view Dec 21 21:49:18 Yeah. Assuming the view is in the XML then I don't know why don't know why it would return null. Dec 21 21:49:42 Well, it uses the XML added in the pastebin Dec 21 21:50:10 how do i install gapps on an android virtual device (AVD) Dec 21 21:50:33 vanseverk: What is the name of the XML file? Dec 21 21:50:49 Radther: game_activity.xml Dec 21 21:51:10 and class is game_activity.java Dec 21 21:52:17 Yeah that seems fine. Just wondering if might have been something silly. Saying that, the java class should really be GameActivity to follow convention but that won't fix this problem. Dec 21 21:52:33 Really? This is what was autogenerated for me Dec 21 21:53:08 Really. That seems strange. Usually you give the activity a name yourself. Dec 21 21:53:36 java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.SurfaceHolder android.view.SurfaceView.getHolder()' on a null object reference Dec 21 21:53:37 mices: Bit old but might help. http://www.flinkd.org/2013/12/installing-google-play-on-the-android-emulator-api-18/ Dec 21 21:55:35 I really don't know. Dec 21 21:56:06 Radther: I'll just blame Android Studio. I really prefered Eclipse-based IDE's. Dec 21 21:56:16 vanseverk: Found this, done a little differently to the way you are doing it. Might help. http://android-er.blogspot.co.uk/2014/03/simple-surfaceview-example.html Dec 21 21:56:53 I much prefer android studio to eclipse, but I have used android studio more then eclipse. I just found eclipse strange a points. Dec 21 21:57:28 Radther: I deal with IBM tech a lot, and with Eclipse IDE's as tooling specifically, so yeah... :) Dec 21 21:57:55 vanseverk: Guess you get used to what you use I suppose. Dec 21 21:58:20 Radther: I simply hate the IntelliJ circlejerking as well though :) Dec 21 21:58:41 Yeah, I can't stand that. Dec 21 21:58:47 Yeah, I try to stay far away from circlejerking in general. Dec 21 21:58:48 For me the issue with Eclipse is the amount of finetuning it needs Dec 21 21:59:04 I will move to Android Studio soon, but I know I'm gonna take a huge performance hit. Dec 21 21:59:11 In both build times and general IDE speed. Dec 21 21:59:30 TacticalJoke: I thought people were pretty much forced to though, no? Dec 21 21:59:47 Nothing will truly match the simplicity of Xcode. Dec 21 21:59:47 Pretty much, I guess. Dec 21 22:00:07 Though there are some people forking(?) ADT. Dec 21 22:00:09 Radther: Ecliipse runs on Windows and Linux as well though, can't say that about XCode :) Dec 21 22:00:11 Yeah, eclipse is pretty much a no for android development now from the seems of things. Dec 21 22:00:15 is it possible to manually generate a keystore file to use when building my app. I want to make a keystore file with a certain certificate that matches the one my play account is already using Dec 21 22:00:28 vanseverk: That is definitely true. Dec 21 22:01:27 how do i get an avd into fastboot/bootloader/recovery Dec 21 22:02:00 i'm trying to flash gapps onto an avd Dec 21 22:02:20 Radther: Honestly, the only time I used xcode was to be able to compile an iPhone application from Worklight Dec 21 22:02:44 Can you not use xcode on windows? Dec 21 22:02:53 How do people on Windows dev for iOS? Dec 21 22:03:05 vanseverk: I don't have much experience with it, I just started a couple of days ago when trying to learn swift. Dec 21 22:03:21 liuwenhao: You can't develop iOS apps on windows Dec 21 22:03:32 liuwenhao: You can't develop iOs there Dec 21 22:03:39 The playgrounds feature for swift is really nice. Dec 21 22:03:43 liuwenhao: Gotta love apple. Dec 21 22:05:19 I like there products but it can be a bit annoying sometimes. One thing that really annoys me is the fee to test an app on a real device as apposed to the simluator. Dec 21 22:13:50 i just created my first AVD can someone help me out a little bit please Dec 21 22:15:32 mices: What are you having problems with? Dec 21 22:16:41 there's no gapps i wanna flash gapps Dec 21 22:16:51 for starters Dec 21 22:17:23 Did you see the link I posted before? Dec 21 22:18:28 i don't see it Dec 21 22:18:37 mices: http://www.flinkd.org/2013/12/installing-google-play-on-the-android-emulator-api-18/ Dec 21 22:19:00 There it is again. Dec 21 22:22:13 type those commands from a dos prompt? Dec 21 22:23:01 I would assume so. I haven't tried it myself. Just thought it might be helpful. Dec 21 22:24:08 so with an avd running i should be able to talk to it by adb? Dec 21 22:24:29 lemme see what happens when i type adb devices Dec 21 22:24:56 That sounds reasonable. Dec 21 22:30:57 yea it sees 2 emulators Dec 21 22:31:05 yay Dec 21 22:35:37 how to i specify the device in adb command when there's more than one Dec 21 22:36:02 adb -s 39394384398 command Dec 21 22:36:12 ty Dec 21 22:38:51 Um, intent.getExtras() is returning null Dec 21 22:38:54 ideas? Dec 21 22:39:09 I already put dozens of Extras Dec 21 22:39:32 how do you put them Dec 21 22:39:40 and how do you get that intent Dec 21 22:39:57 intent.getExtras("some_key", EditText.getText().toString()); Dec 21 22:40:20 And i get the intent as an argument in an overriden method in a service Dec 21 22:40:45 However, one of the extras i am putting are CheckBox.toString() Dec 21 22:40:56 Does that has an effect on this? Dec 21 22:41:17 you put intent.putExtra("key","value") Dec 21 22:41:25 yes i do that Dec 21 22:41:34 typo* Dec 21 22:41:57 show code then in pastebin Dec 21 22:42:05 getExtras() returns bundle Dec 21 22:42:25 it's just returning null Dec 21 22:42:26 if its null it probably got other intent than you created Dec 21 22:42:29 i'll show some code, sec Dec 21 22:43:49 i entered this command and nothing happened except i didn't get a prompt back yet "adb -s emulator-5556 reboot recovery" Dec 21 22:45:11 mices: http://android.stackexchange.com/questions/82905/boot-android-virtual-device-into-recovery-mode Dec 21 22:45:21 seems android emulator does not have recovery partition Dec 21 22:45:52 how would i run fastboot commands? Dec 21 22:47:17 http://pastebin.com/LsQSiv2M Dec 21 22:47:18 http://pastebin.com/b2xCndsn Dec 21 22:47:20 isnt fastboot a samsung thing? Dec 21 22:47:36 fastboot? Dec 21 22:51:51 hmm Dec 21 22:51:56 seems ok to me Dec 21 22:53:22 Ashiren, you mean my code? Dec 21 22:53:24 although in .putExtra(EXTRA_PORT, port.getText().toString()) Dec 21 22:53:34 you put string, but you want to get int Dec 21 22:53:34 what's wit it? Dec 21 22:54:12 try with Integer.parseInt(port.getText().toString()) Dec 21 22:54:26 Maybe but it's not even returning a valid bundle to get values from Dec 21 22:54:29 but i'll try that Dec 21 22:58:22 same thing Dec 21 22:58:38 Radther: i followed the instructions at http://www.flinkd.org/2013/12/installing-google-play-on-the-android-emulator-api-18/ they just tell me to push 3 apks and expect something to happen, i pushed the 3 apk's and nothing happened Dec 21 22:59:36 must be more to it than just pushing the apk's Dec 21 22:59:37 mices: you forgot to click your heels twice Dec 21 22:59:44 hehe Dec 21 23:00:17 im having trouble with shared element transitions... it only works when theres one view in my grid, and not very well even then lol hold on im putting up a video Dec 21 23:00:24 What is the best way to create a RESTful login? I'm using Laravel (PHP framework) to create my RESTful API. Dec 21 23:00:37 that's a good one i need to spend more time here to stay up on my net jokes Dec 21 23:01:31 Animation: http://youtu.be/T_WpRPc8OLc Dec 21 23:01:39 any ideas here? Dec 21 23:03:09 shmooz: in other words i just need to reboot? Dec 21 23:03:18 the avd ... Dec 21 23:03:46 sure Dec 21 23:07:05 for notificationBuilder, there's setLights.. but no clearLights... it's cleared automatically when not calling it? (when using same notification ID) Dec 21 23:07:23 running adb install filename.apk gets me a permissions error for /data/local/tmp and when i try to chmod it says read-only file system Dec 21 23:07:42 so then just reboot and i'll find my apk's installed or you were joking? Dec 21 23:09:48 mices you say you are following that guide, but yet you keep saying the things you are doing that arent on the guide Dec 21 23:10:44 guide left off with push Dec 21 23:10:57 it said push and you'll see everything pop up on the screen Dec 21 23:11:01 but nothing happened Dec 21 23:11:28 it said push, and the apps would be in the drawer Dec 21 23:11:50 i opened an adb shell and navigated to /system/app and all the apps i pushed are there Dec 21 23:12:02 wait Dec 21 23:12:11 and the apps would be in the drawer Dec 21 23:12:12 ok Dec 21 23:12:15 what's the drawer? Dec 21 23:12:39 mices: the home-screen/laumcher app drawer Dec 21 23:12:51 then it says associate a google account with avd Dec 21 23:14:18 the apps aren't installed Dec 21 23:14:29 when i click the apps button i don't see any google apps Dec 21 23:17:03 So many blood Dec 21 23:18:54 when i run adb shell and then cd /system/app/ and run adb -s emulator-5556 install GoogleServicesFramework.apk I get "failed to copy 'GoogleServicesFramework.apk' to '/data/local/tmp/GoogleServicesFramework.apk': Read-only file system" Dec 21 23:19:39 hi ! any idea / inputs on how to make a "random avatar" feature ? Dec 21 23:20:33 if i try to chmod the directory it just says error read only file system Dec 21 23:23:50 is there a way to fool bluestacks location-wise? Dec 21 23:24:53 bluestacks let's me run android apps on my pc but apps that use my location aren't able to get my location Dec 21 23:25:33 they can't Dec 21 23:25:43 usually you do that with android tools on the emulator Dec 21 23:25:49 or with genymotion Dec 21 23:25:57 ok cool thanks Odaym Dec 21 23:27:22 i read there's 3 ways to run android apps on your pc with the sdk manager->avd manager, with bluestacks or with google chrome Dec 21 23:28:20 genymotion too Dec 21 23:28:22 chrome and bluestacks are fast avd is slow Dec 21 23:28:25 ok Dec 21 23:28:34 genymotion is lightning fast Dec 21 23:28:52 i power off my avd 5 minutes ago it's still "shutting down" Dec 21 23:28:54 it's so fast that sometimes it's faster than your device so you can't depend on it all times for performance Dec 21 23:30:11 good night.. Dec 21 23:30:12 right now i wanna run this app that requires location so i have to be patient and use avd i guess Dec 21 23:32:33 so when you boot an android device it installs any apk's found in /system/app that aren't already installed? Dec 21 23:40:22 no rebooting didn't do anything Dec 21 23:47:07 do you really have to increase the versionCode every single time you upload a new apk? Dec 21 23:47:32 seems like most apps would be on versionCode 1000 by now Dec 21 23:47:36 any time you want to do an update Dec 21 23:52:51 1 update a day would be 2.7years before version code 1000 Dec 21 23:53:45 whatitis, lol I suppose you're right. but so versionCode just keeps going up then? Dec 21 23:54:15 i shouldn't worry about it? just add 1 each update? Dec 21 23:54:16 yes, but version name you can do however you want Dec 21 23:54:22 yea Dec 22 00:33:02 is there a way to tell if a apk will be compatible with devices before you publish it. My apk is working perfectly on all phones when installed directly. but the google play listing always lists at not compatible with any devices. Can I test this before uploaded version after version somehow? Dec 22 00:35:02 dude Dec 22 00:35:15 maybe only on virtual VMs Dec 22 00:35:16 :/ Dec 22 00:35:34 depends on your .. settings ... somewhere Dec 22 00:41:07 I have a question Dec 22 00:41:15 well Dec 22 00:41:17 never mind Dec 22 00:41:21 I already know the answer Dec 22 00:41:53 But the question is, how is it that some people think viewing ads without clicks does a service to app developers Dec 22 00:52:53 Agamemnus nobody clicks on adds except bots :) Dec 22 00:53:10 apparently nobody *looks at* ads, except bots... Dec 22 00:53:25 http://www.reuters.com/article/2014/12/09/us-advertising-fraud-study-idUSKBN0JN0AW20141209 Dec 22 00:53:56 another study earlier in the year claimed 80% clicks were bots Dec 22 00:54:03 chikita ? Dec 22 00:58:23 version code... I just match it to version name... Dec 22 00:58:48 100M00NP00 Dec 22 00:59:04 for m.n.p versions Dec 22 00:59:25 g00s: study is specifically about video ads and www as I gather it. Android bots? how do you send touch to screen btw? I'm interested ) Dec 22 01:00:00 icedp you are right, this wasn't mobile adds Dec 22 01:00:11 g00s, if you really want to try alternative language on android, you're really best off with scala now Dec 22 01:00:30 kotlin would be the next most attractive Dec 22 01:00:46 or java8 syntax with retrolambda Dec 22 01:00:57 i was curious about ceylon but those guys don't have official support, and it seems they are eclipse centric too Dec 22 01:01:10 but they said they will be focusing on android Dec 22 01:01:26 pfn yeah, scala kotlin Dec 22 01:02:01 kotlin has no functional library, so it's a mixed bag Dec 22 01:02:19 basically a wrapper on the mess that is the standard library Dec 22 01:02:31 pfn: how Scala overhead (especially start up time) doing right now? Last time I check it was not acceptable but it was long time ago Dec 22 01:02:42 there is no overhead Dec 22 01:02:46 there never was Dec 22 01:03:13 all my scala apps have run perfectly fine on 2.2 without issue for years Dec 22 01:03:31 well, gc overhead, but that's unavoidable if you're going for purity Dec 22 01:05:50 if you checked and found it slow, probably doing something wrong Dec 22 01:06:10 on the other hand, in the past development/build time has been slow Dec 22 01:06:31 if that's what you call start up time Dec 22 01:06:53 any ideas on making this work? Animation: http://youtu.be/T_WpRPc8OLc Dec 22 01:16:27 pfn: I seem to recall activity start up time delays, though I might be wrong, so never mind then Dec 22 01:19:24 yep, never been the casr Dec 22 01:19:28 case Dec 22 01:23:14 id like that animation to look something like how google music acts when you choose an album Dec 22 01:34:47 hmm. atm i have multiple simultaneous BT br/edr and ble connections; for a low number its ok but around 5 they start fighting each other. i wonder if i need some coordinated bandwidth scheduling between the connections, so at most 2 are actually pumping data at the same time. never heard of anyone having to do this Dec 22 01:36:29 s/fighting/clobbering :) Dec 22 01:37:42 nispok snackbar ftw Dec 22 02:05:42 Hi Dec 22 02:05:47 I need some advice. Dec 22 02:06:15 I was lucky enough to find a java for dummies programming book, it's the six books in one version or something like that. Is this a reccomended read if I have no experience in java and I want to develop for mobile? Dec 22 02:06:44 six books in one O.o Dec 22 02:06:53 probably not a bad start, but some - maybe lots - will be irrelevant to Android dev Dec 22 02:07:16 how can I set manifest from build property in gradle? Dec 22 02:10:48 RedEyedGirl , oddalot liked http://www.amazon.com/Learn-Java-Android-Development-Friesen/dp/1430264543 ... just realized now 1200 pages holy s%#%# Dec 22 02:11:19 i'd try the oracle tutorials if you have an OO background, then effective java 2e + java concurrency in practice Dec 22 02:13:19 howdy Leeds Dec 22 02:13:19 I don't really have enough OO background, I do not think though I understand OO pretty well and have been using it. Dec 22 02:13:21 hey g00s Dec 22 02:13:30 I have been using C# succesfully for about a year now but only for personal projects. Dec 22 02:13:30 RedEyedGirl: if you know any other programming language learning java is redundant Dec 22 02:13:35 or anyone with any good guides for fragment shared element transisitons? Dec 22 02:13:37 0_o Dec 22 02:13:46 I do not really know any other language fully though. Dec 22 02:13:50 morning Napalm Dec 22 02:13:57 I can continue learning in any language though, even C++ Dec 22 02:14:02 though my knowledge in C++ is the most lacking I'll say. Dec 22 02:14:42 how hard would it be, to create a mobile game where you have a globe as the area you are in, and it's huge.. maybe not planet size to scale but pretty big, and forces, proper wind forces wrap around it. Dec 22 02:14:43 i never learned java and i'm mostly fine Dec 22 02:14:58 stack overflow is my only source of knowledge :s Dec 22 02:15:02 The forces would be represented as dynamic volumetric objects with sizes and dynamic shape for coordinates Dec 22 02:15:05 squirrel actually i'd take exception to that. I know ruby and the two are *not* the same though many concepts are the same Dec 22 02:15:45 RedEyedGirl: isnt xamarin based on C#.. why not use that if your more comfortable with C# Dec 22 02:15:49 I understand object oriented concepts quite well but as for like , proper design of classes and such I'm a bit lost in any language. I just do what 'feels right' at the time even if I know I'm probably not always using the best approach. Dec 22 02:15:51 knowing ruby only aids me in understanding certain constructs, and quite a few concepts, but definitely not the language syntacs or expressed semantics Dec 22 02:16:01 what is xamarin? Dec 22 02:16:05 deryl: yeah but by the time you read through some basic android tutorials you are mostly good to go :p Dec 22 02:16:14 hey Napalm ! Dec 22 02:16:20 RedEyedGirl: http://xamarin.com/platform Dec 22 02:16:51 RedEyedGirl: you don't need to know a language fully, you just need to know the part that you need for what you want to do when you need to do i t Dec 22 02:16:55 I will give this a shot. Dec 22 02:17:04 Hi guys I've setup Android Studio and trying to run an app through emulator. How to enable wifi in the emulator. Currently it shows only 3g Dec 22 02:17:24 apparle: Why do you want that? Dec 22 02:17:26 squirrel maybe because I haven't completed, but have only started, a few is why thats not happening. On that basis, I'll reserve my answer until I do :) Dec 22 02:17:39 RedEyedGirl: it should at least give you a start in understanding the Android framework and APIs Dec 22 02:18:11 This is cool I wonder if it will install now 0_o Dec 22 02:18:13 loke: So the application I'm trying to test interfaces with the computer, and it does so using the WiFi. Dec 22 02:18:20 RedEyedGirl if you want to be cross platform between wp / android / ios you may consider c=+ Dec 22 02:18:24 g00s: Genymotion are offering a Chirstmas deal.. for a year subscription for 32 GBP .. deal :) Dec 22 02:18:27 lol i just invented a language :D Dec 22 02:18:38 Napalm awesome :) Dec 22 02:18:42 deryl: who can say he completed learning :p Dec 22 02:18:43 g00s I'm fine with android for now ^^; Dec 22 02:18:56 Some apps are for personal use. I want to make certain apps just for myself to use. Dec 22 02:18:57 squirrel doh! good answer Dec 22 02:19:07 tasker is good but can't do everything I want. Dec 22 02:19:23 and I want to be able to start offering to build apps for friends Dec 22 02:20:14 I am just pacing myself now though, not in as much of a rush now that I realize if I take my time I can still achieve the results I want. Dec 22 02:21:21 RedEyedGirl doing same here. learning language syntax *and* platform structure *and* api at the same time. slow is the roll. but at least its a roll. Dec 22 02:21:44 roll of chicken wire :) Dec 22 02:22:07 hah! been paying attention to my twitter feed have we? ;) Dec 22 02:22:21 you mentioned yesterday :) Dec 22 02:22:29 In only a few years if you keep studying you will be able to do more than you can now. Dec 22 02:22:35 ah. forgot that :) Dec 22 02:23:06 RedEyedGirl ehh it won't take years. couple months rather than a month for a good solid grasp. Dec 22 02:23:21 maybe 7 or 8 months until something decent comes out of it, but thats not bad Dec 22 02:23:30 don't think you ever get to stop learning in computer science world Dec 22 02:23:38 oddalot in any world Dec 22 02:23:56 Nope oddalot Dec 22 02:23:59 true to a degree i suppose Dec 22 02:24:03 WAY too damned much in this world for anyone to know everything. Dec 22 02:24:08 i used to deliver pizzas, and you didn't have to learn much Dec 22 02:24:29 Funny enough I had a folder I was trying to put into shared documents and for my friend, my other friend drags it to favourites bar on windows 7 and I am trying to explain to the friend this is for the file path. Dec 22 02:24:29 so you knew where *every* street was, and *every* apartment? Dec 22 02:24:32 especially when gps devices came out Dec 22 02:24:46 I was confused at first then I realized what my other friend did. >.< I felt stupid that I missed something so obvious and easy to do. Dec 22 02:24:49 oddalot i noticed your book was 100 pages long O.o Dec 22 02:24:50 you knew *every* single fastest route to *anywhere* within your delivery region? Dec 22 02:24:52 *1200 ! Dec 22 02:25:00 my book? Dec 22 02:25:05 oh, you mean the java book Dec 22 02:25:06 android java Dec 22 02:25:08 yeah Dec 22 02:25:14 Yeah, remember it's a tome Dec 22 02:25:31 i have to look at the toc, being a subset of real java i'd think it would be pretty short Dec 22 02:25:49 and if it was 'java the good parts' even shorter Dec 22 02:25:59 hm.. the server is only dishing out 222 kb/s for me with the xamarin installer while fetching android sdk. Dec 22 02:26:04 Well, knowing Java is the most important part I figured. Dec 22 02:26:05 My download speed is 15 mbps Dec 22 02:27:00 RedEyedGirl I went through that yesterday with the emulator images Dec 22 02:27:05 does this C# language support all the C# classes that the .net platform provides inside of xamarin? Dec 22 02:27:06 i've the same down. Dec 22 02:27:15 oh I see it's just the server speed then Dec 22 02:27:27 my first language book was K & R C. so when i learn a language i like that style, super succinct. the java book i found i liked most was actually to prepare for an oracle cert, i think oracle press. it was no BS just the beef. Dec 22 02:27:28 i believe so. Dec 22 02:27:35 I can't wait to get my hands dirty but it would be a shame if I can't use some of my classes in this due to no .net support 0_o Dec 22 02:27:47 did you get the cert? Dec 22 02:27:56 wow oracle cert Dec 22 02:28:00 oddalot no , cert is worthless Dec 22 02:28:01 I am nowhere near that level of learning. Dec 22 02:28:08 worthless hm? Dec 22 02:28:15 I would put that on a resume in a second Dec 22 02:28:32 tech companies around here would eat that up Dec 22 02:28:36 I know there is supposed to be a proper way to code everything in object oriented, for readability purposes and maintainence but if you are a solo developer does it matter as much? Dec 22 02:28:42 I have been wondering about this. Dec 22 02:28:57 loke: Any suggestions ? Dec 22 02:29:28 RedEyedGirl the most current .net most definitely won't be available. and probably the revision just before that. its usually about that far behind due to so many changes pushed out to classes (MS class reorgs as well as the time it takes to add the support. the .net classes aren't exactly light) Dec 22 02:29:38 RedEyedGirl, it only matters if the things that matter to you make a difference in what you are doing. Dec 22 02:30:06 I've seen every which way you can code in the startups I've worked for. Dec 22 02:30:08 thanks for the advice oddalot makes a big difference to me Dec 22 02:30:27 RedEyedGirl: if your apps are for yourself you might as well start and you can continue pondering while coding Dec 22 02:31:45 I would say having a good understanding of how the language works is the most important thing...from all the code bases I've worked on. Dec 22 02:32:30 Because not only will you be able to create nearly anything you want, but you will be able to debug and fix other people's code, which will give you an incredible amount of power in the coding world. Dec 22 02:32:55 besides that, i would say style isn't super important. Dec 22 02:37:19 thank you shmooz. I have found myself helping newbies at learning to code sometimes, but that's about it for anything industry or complex I just get lost ! Dec 22 02:37:55 anyone here know much about libsuperuser? I must be doing something dumb but I can't seem to get these commads to execute Dec 22 02:38:06 should serializable classes work within xamarin? I am wondering because that is how I have been saving my data in C#. Dec 22 02:38:11 RedEyedGirl: you can take your time working for yourself Dec 22 02:38:37 what I try to do is split myself into two , the boss and the programmer slave ;) Dec 22 02:39:08 and I yell 'What have you coded today you useless ...! Dec 22 02:39:31 *smiles* Dec 22 02:39:46 solo developers have to be self motivated Dec 22 02:40:32 262 kb/s now for the android sdk that isn't too bad. Dec 22 02:40:39 You would think if you were your boss, you would use the carrot and not the stick. Dec 22 02:40:51 oh my god it jumped to 400 just now. Dec 22 02:41:11 I might buy that watch that electroshock therapies you ;) Dec 22 02:41:54 get a dog collar ;) Dec 22 02:41:57 I was considering just using self hypnosis to make myself more motivated to spend time learning to code. Dec 22 02:42:19 Having a job that pays you is super motivating Dec 22 02:42:27 a dominatrix Dec 22 02:42:31 nothing better than getting rewarded financially and learning everyday Dec 22 02:42:36 so is being allowed to quit your current job and still end up with more money. Dec 22 02:42:55 For me the maximum reward is getting the approval of others and impressing them. Dec 22 02:42:56 I quit my last job and am now earning way less money :( Dec 22 02:43:31 My friends aren't easily impressed because they don't understand the effort that goes into learning to program. My one friend is always saying what I make is "okay" but not really impressed with it. (graphically) I think he is just a graphics asshole. XD Dec 22 02:43:39 geeze, you would love it out here in san francisco then Dec 22 02:43:39 oddalot I am sorry to hear that. Dec 22 02:44:16 I like to brag about what is possible with programming, especially when I learn a new method that does the same thing as what I was doing before, but in a different, more elegant way. Dec 22 02:44:23 My friends don't really understand it.. Dec 22 02:44:30 They look at visual results. Dec 22 02:44:33 do you have a degree redeyedgirl? Dec 22 02:45:27 oddalot no degree Dec 22 02:45:30 Solo learning. Dec 22 02:45:35 the internet is my refuge for learning. Dec 22 02:45:52 And at times I get opportunities to talk to people in person who program or know things and learn from them. to. Dec 22 02:46:06 You seem like someone that would like one of these 'coding bootcamps' they have here in San Francsico Dec 22 02:46:07 I used to be a lot less outgoing so I had a harder time getting help. Dec 22 02:46:22 It's like 9 weeks and they help you find a job in tech Dec 22 02:46:22 mhm I probably would so long as the living quarters are nice. Dec 22 02:46:37 heh, I would say no, considering the price of rent Dec 22 02:47:03 But I went to one (I also have a degree though), and it helped me greatly Dec 22 02:47:04 Although I don't really want a job in tech per say atleast.. not one that would have stresful deadlines and CEOS or higher ups who don't understand the limitations of a programmer and demand release on things. I have read some forum posts about awful situations like that. Dec 22 02:47:26 Yeah, I've only worked for startups, and that's what most of the jobs are Dec 22 02:47:28 Higher up says, just get a demo out it doesn't have to be perfect. Goes to his partners or the client and says "It'll be ready for market soon". Dec 22 02:47:43 but they are pretty high demanding, but not terrible Dec 22 02:47:56 and the culture is super chill besides the amount of work Dec 22 02:48:05 The programmer releases the buggiest demo. Dec 22 02:48:24 his higher up says "now it has to be ready for market, fix all the bugs TOMMOROW" Dec 22 02:48:33 yeah, software is always going to be like that Dec 22 02:48:35 and they don't care sometimes aparently from what I read Dec 22 02:48:50 they don't care... LOL it seems like a nightmare more than a dream come true Dec 22 02:48:51 software is one big bug fest, that's all there is to it Dec 22 02:49:03 it's kind of like a big video game though Dec 22 02:49:11 but I have been reading about what real software jobs are like to prepare myself for such things in case Dec 22 02:49:29 to move up though you have to be good. you can't just be a programmer you have to be willing to learn anything and everything. Dec 22 02:49:35 that's also what I read. Dec 22 02:49:50 yes, that's why i thought you would like it though Dec 22 02:49:56 you said you enjoy learning new ways etc... Dec 22 02:50:02 RedEyedGirl: first work on your portfolio Dec 22 02:50:16 make your own apps that you can show Dec 22 02:50:43 and you will be treated with more respect if you can show off something Dec 22 02:50:50 okay shmooz Dec 22 02:51:00 damnit, firealarm in apartments just went off bbl Dec 22 02:54:53 I hope xamarin has a nice design lay out. Dec 22 02:55:09 atleast it installs all the libraries for me I hate that part. Dec 22 02:55:11 brb **** ENDING LOGGING AT Mon Dec 22 02:59:58 2014