**** BEGIN LOGGING AT Wed Oct 15 03:00:00 2014 Oct 15 03:01:52 drdreed, http://paste.ubuntu.com/8562473/ Oct 15 03:02:47 http://paste.ubuntu.com/8562476/ this is the log Oct 15 03:03:27 line 41 is the error I guess Oct 15 03:04:33 What does that mean? Oct 15 03:08:25 I fixed the int in the textView Oct 15 03:08:26 still Oct 15 03:15:20 anybody? Oct 15 03:39:28 so if i call a method on BluetoothGatt and receive false retrun value, wth am i supposed to do :| Oct 15 03:39:54 try again, reset the connection? recycle bt ? disable wifi and bt ? Oct 15 03:41:15 bluetooth ... is that still a thing? Oct 15 03:41:30 heh :p Oct 15 03:41:32 low energy, yeah its a thing ... that google f'd up ! Oct 15 03:41:48 * capella shhhh ... they might hear us Oct 15 03:42:02 i bet the people on the BT SIG are thinking, wow, they fucked that up so bad it may impact adoption of the standard Oct 15 03:42:15 good thing apple's works :| Oct 15 03:42:26 could they petition themselves to be forgotten? Oct 15 03:43:21 g00s: sorry .. i know I'm not being helpful :/ Oct 15 03:44:53 capella see https://code.google.com/p/android/issues/detail?id=58381 , #76 Oct 15 03:45:28 * capella reading Oct 15 03:45:40 also, the error codes are not documented. so if you get 133 , nobody knows wtf that means :D Oct 15 03:46:53 Nice! I love reading source Oct 15 03:48:10 Though abbreviated method names like btm_ble_enqueue_direct_conn_req() are a mite confusing Oct 15 04:01:31 hey all, I am trying to post to a user provided wesbite, however I only want to change two user given fields. That works fine as long as the isn't a need for another field to be submited. Is there a way I can get all fields that need to be submited programmatically? Using httpclient Oct 15 04:37:41 Hi all, i was wondering why a call to getActivity().invalidateOptionsMenu(); end up in NullPointerException on dispatchRestoreInstanceState()?? Oct 15 04:37:56 here is the error log: http://paste.ubuntu.com/8562820/ Oct 15 05:18:17 the calm before the storm Oct 15 05:41:41 :D Oct 15 05:47:26 Jacob Oct 15 05:47:38 Can you do a quick test for me? Oct 15 05:47:48 JacobTabak that is.... Oct 15 05:48:26 :[ Oct 15 06:09:43 Hi Oct 15 06:11:47 Im trying to make a game. where you should calculate the summation of two integers. The integers are random. I try to generate two integer between 1 and 10 . You can try many times . the first time it works good. secong time it gives integers outside the range Oct 15 06:11:53 I dont know what is wrong : http://pastebin.com/6Zdyj2LL Oct 15 06:43:09 hi Oct 15 06:43:16 can someone help me with this Oct 15 06:43:16 http://stackoverflow.com/questions/26367706/mediametadataretriever-getframeattime-return-first-frame-only Oct 15 07:15:24 Quiet room tonight Oct 15 07:15:45 * g00s_ yawns Oct 15 07:15:55 morning Oct 15 07:15:57 something is supposed to happen tomorrow Oct 15 07:18:44 not today? Oct 15 07:19:30 oh yeah, today :D Oct 15 07:19:38 what ? what is it ? Oct 15 07:19:47 some nexus, some L stuff Oct 15 07:19:55 whatevah ! Oct 15 07:19:57 ugh Oct 15 07:20:33 i hope the BLE stuff works better in L so i can say minSdk=L Oct 15 07:20:58 but if it still doesn't work well in L, heh i might have to seriously rethink this :D Oct 15 07:21:12 minSDK=L Oct 15 07:21:13 wow Oct 15 07:21:13 lol Oct 15 07:21:18 targetting 1 phone ;) Oct 15 07:21:19 I hope there is actually some new usefull things other than fluff, I guess BLE would count :) Oct 15 07:22:10 L actually runs significantly better performance-wise than Kitkat on my N5 Oct 15 07:22:42 that good. Play books is so painfully slow; maybe that will make it faster Oct 15 07:22:56 at least with epubs, going to a new chapter takes forever Oct 15 07:24:07 Even though I'm kinda annoyed that even Google keeps forgetting to add resources for API 21 to their packages Oct 15 07:24:27 currently G+ login doesn't work because they forgot to add an API21 resource in Play Services Oct 15 07:26:14 they have a bit of a QA problem Oct 15 07:29:19 We need to stop with the yearly cycles. Oct 15 07:29:28 Both apple and google have totally dropped the ball on any QA Oct 15 07:36:24 if the Android One phones are L, this could take hold pretty fast Oct 15 07:37:58 g00s_ I still dont get all that…. Android One is out… but no offical support for dual sim ? Oct 15 07:38:58 they are dual sim Oct 15 07:39:15 yeah I know… but no api support is what I mean Oct 15 07:39:56 a *yearly* cycle is still pretty new Oct 15 07:43:21 Mavrik what do you propose instead of yearly cycles ? Oct 15 07:44:54 hopefully L will go even further in allowing google to push out updates to part of the OS without the usual carrier / oem dance Oct 15 07:46:40 the ideal would be "rational" cycles, or maybe "appropriate" cycles is a better world, when its ready, release, which would be development driven of course...totally impractical for a public corporation :) Oct 15 07:46:50 word* Oct 15 07:47:26 are the yearly cycles too fast or slow? Oct 15 07:48:59 I think they are too fast personally, in a historical context maybe not but the computer industry is mature now and board based, I think the desire from many sectors for a stable work flow and platform is going to slowly emerge as a factor and alter the release cycle equation, more as time goes on. Oct 15 07:49:32 g00s_, either incremental updates or longer cycles Oct 15 07:49:35 or combination Oct 15 07:49:36 blaa, can't type tonight, broad based I mean. Oct 15 07:50:13 getting half-broken software every 12 months which gets replaced with another piece of half-broken software is kinda annoying Oct 15 07:50:24 ^ Oct 15 07:50:36 yeah Oct 15 07:51:02 I was very interested when Apple decided to skip a year, I almost admired it Oct 15 07:51:24 thing is, from a nexus/sdk point of view, yearly with updates is fine... but users don't get those updates, in many cases Oct 15 07:52:20 I think the problem is how they link software/hardware …thats the problem Oct 15 07:52:33 I do think the "shiny" factor with regard to updates has a negative effect on stuff. Oct 15 07:52:54 a sync release of both is not great as you start to be bound to the market…as in software is released due to hardware demand/cycles Oct 15 07:53:15 i'd actually like a version of android stripped of all the google crap Oct 15 07:53:30 g00s_ build one ;) Oct 15 07:53:39 maybe it has Play, and i'd dl gmail from Play. thats about all :) Oct 15 07:53:55 I was wondering if ubuntu might be that but they have their own bloat Oct 15 07:54:18 the idea of pure linux on phones is tempting Oct 15 07:54:38 Leeds, not when it's riddled with bugs and new APIs are clearly not well thought out or tested :/ Oct 15 07:55:07 Ubuntu also has the right idea with OS convergence, like Windows 10 probably Oct 15 07:55:54 We'll see, but I have little faith in Linux community to create usable and consistent mobile software Oct 15 07:56:12 you might have a point Oct 15 07:56:14 unfortunately, me too Oct 15 07:56:15 heh Oct 15 07:56:27 i mean emacs guys are still debating whether to use elisp or guile :) Oct 15 07:56:34 they will be debating that 10 years from now Oct 15 07:56:36 lol Oct 15 07:56:50 Emacs guys still think emacs is the best way of writing code in 21st century Oct 15 07:57:15 Just seeing the whole systemd schlock pretty much cemented my opinion that a good piece of that community is delusional Oct 15 07:58:38 http://pastebin.com/ZBcbNQ8J Oct 15 07:58:46 what is wrong with this layout Oct 15 07:59:08 before commenting the textview, it was all I could see in my listview Oct 15 07:59:17 I keep wondering about the idea of the hardware generating most of the OS with just a UI layer on top for what we now think of the OS, hardware is a lot more capable of this now than when the OS/Hardware division was first conceived, the basic idea of how OS's are designed has not really changed in 30 years. Oct 15 08:00:16 Looney, the fact that your text views are stacked one over another Oct 15 08:00:28 Looney, because you give relative layout no information about how you want them to be sized or positioned Oct 15 08:00:42 but I want them to to be above each other Oct 15 08:00:50 and in one row Oct 15 08:00:51 so why aren't you using linearlayout? Oct 15 08:01:13 Carbonflux, honestly that sounds like a terrible idea :) Oct 15 08:01:26 Carbonflux, ask anyone having to deal with any hardware or firmware :) Oct 15 08:02:40 I thought that relativelayout would give me margin to place Oct 15 08:02:53 things above and below stuff as I intend to Oct 15 08:03:36 Looney, I don't understand Oct 15 08:03:43 Looney: If you specify layout_above and layout_below, sure Oct 15 08:03:43 Looney, if you want to position stuff around relative layout Oct 15 08:03:50 Looney, you need to TELL it where to put stuff Oct 15 08:04:26 and I don't see any of layout_alignParent, layout_toLeft/Right/below/above statements in your code Oct 15 08:04:31 let me do some XMLing Oct 15 08:04:47 alignParent is missing Oct 15 08:05:03 O.o Oct 15 08:05:21 true, still, it keeps popping into my head as an area to explore, maybe if only to blur the line between software and hardware some more. Oct 15 08:05:39 Looney, dude, go read the RelativeLayout doc, now. Oct 15 08:05:42 * Mavrik glares. Oct 15 08:05:58 Carbonflux, honestly, I actually want the tech to go the other way Oct 15 08:06:13 * Looney runs to https://d.android.com Oct 15 08:06:20 Carbonflux, the fact that when it comes to mobile I have to buy THIS shitty hardware because it only works with THAT OS which has some OTHER content available Oct 15 08:06:41 is hugely pissing me off Oct 15 08:07:04 e.g. shit like having to deal with iOS8 just to stream video from my mobile device to Apple TV Oct 15 08:07:07 so "dumb" but very modular hardware supporting a universal computing paradigm? Oct 15 08:07:19 I don't really need modular Oct 15 08:07:36 Just the fact that a piece of hardware locks in my software choice and even choice of other hardware in my house is fucked up Oct 15 08:07:40 actually i'm looking forward to ARA Oct 15 08:07:51 There was a time when we were actually talking about open protocols and stuff Oct 15 08:07:55 and then Apple fanboys happened Oct 15 08:08:56 which for some reason deem using an "open protocol" with RSA DRM over it acceptable for reasons I can't understand Oct 15 08:09:06 i think apple happened because MS fucked up so bad. between missing the boat on mobile altogether; and making a headache for mom & dad to buy a machine without 30 crpaware packages, viruses, incomprehensible differences between too many models, etc Oct 15 08:09:23 yeah, but now we have Google and everyone else doing same shit Oct 15 08:09:33 like Chromecast being only usable from Chrome browser Oct 15 08:09:36 they're releasing android and nexus today ? Oct 15 08:09:47 i think if i need a MS machine, i'm just going to go to their store and get a certified model Oct 15 08:09:48 or Android Wear only working with Android stuff Oct 15 08:09:59 anyway, enough ranting Oct 15 08:10:12 the new tech landscape depresses me too much :P Oct 15 08:10:18 hopefully today will be a good day Oct 15 08:10:22 gordon_: Yes,this channel has existed since 2008 and they're just now releasing Android Oct 15 08:10:38 Darklust: oh dear, so funny Oct 15 08:11:17 next time I will start with, hello everyone, we've got such nice weather today Oct 15 08:11:24 I know, I give myself the giggles Oct 15 08:13:45 Hi everybody I need some suggestions I have a linearlayout with an imageView and then a textView and I'd like to add a navigation tabs (that I'll customize its design later) just below the textView Oct 15 08:14:02 any suggestion what to use ? Oct 15 08:19:15 anyway, question from yesterday: do we know of any 512MB Kitkat device being sold out there? Oct 15 08:19:39 wathek, I think a drawing in a prototyping software or paint would go a long way of explaining what exactly are you trying to achieve :) Oct 15 08:20:57 Prototyping software, paint, same thing :p Oct 15 08:21:49 Also, I don't know of any BUT I'm sure aomething will pop up for ~$50 on a prepaid service Oct 15 08:22:01 s/aomething/something Oct 15 08:22:44 anyone using dagger? I'm not sure how I'm supposed to DI a component A specified by the app, into class B from module C, which is independent from the app. Oct 15 08:23:38 Mavrik, Darklust yes just one second I'm gonna upload a screenshot of what I want Oct 15 08:25:42 Mavrik, Darklust, there it is http://wathek.net/screenshot_tabs.jpg Oct 15 08:26:18 since someone mentioned ubuntu… i kinda like this http://goo.gl/zO6eyk Oct 15 08:26:48 StingRay_, haha funny :p Oct 15 08:26:58 wathek, ok, and you want to have an image on top, then some text and then tabs all in vertical order right? Oct 15 08:27:16 Mavrik, that's that Oct 15 08:27:29 wathek, ok, which part is stretchable? Oct 15 08:27:35 e.g. which part should adjust to screen size? Oct 15 08:28:49 Mavrik, all parts should be auto width adjustable and concerning the height it should be wrapped Oct 15 08:29:13 wathek, so if you have a bigger device Oct 15 08:29:19 you want black empty space beneath the tabs? Oct 15 08:29:55 Mavrik, it's not designed for tablets it's just for smartphones Oct 15 08:30:10 smartphones don't have same screen sizes. Oct 15 08:30:27 Mavrik, yes I'm testing with 5" screen and it should be ok Oct 15 08:30:46 no Oct 15 08:30:48 it's not. Oct 15 08:31:05 why not ? Oct 15 08:31:18 the effective device screen size varies due to things like softkeys and other customizations Oct 15 08:31:32 so I'm asking you again, which part of your view is the one that adjusts to different vertical size? :) Oct 15 08:32:00 the vertical size I'm setting that to be wrapped Oct 15 08:32:03 StingRay_: where does it come from ? Oct 15 08:32:10 Mavrik, there's a scrollView Oct 15 08:32:19 gordon_ ? Oct 15 08:32:25 StingRay_: ubuntu link Oct 15 08:32:30 oh g+ Oct 15 08:32:33 1 sec Oct 15 08:32:55 Odaym are you there ? Oct 15 08:33:01 yea Oct 15 08:33:17 Odaym so when one of these methods on BluetoothGatt returnes false, what do you do ? Oct 15 08:33:17 gordon_ https://plus.google.com/photos/+AdamOutler/albums/6069151767457001905 Oct 15 08:33:40 like readCharacteristic Oct 15 08:33:58 they all have return type void Oct 15 08:34:23 https://developer.android.com/reference/android/bluetooth/BluetoothGatt.html Oct 15 08:34:25 guys Oct 15 08:34:27 they are all boolean Oct 15 08:34:32 do we have any naming convention for private classes? Oct 15 08:34:49 Impl maybe :| Oct 15 08:35:31 ohh Oct 15 08:35:47 well no I have my own readCharacteristic, and implemented the callbacks Oct 15 08:35:56 onCharacteristicRead/Write onDescriptorWrite Oct 15 08:35:59 that's how I make sure Oct 15 08:36:11 inside my own readCharacteristic, I call the methods you're talking about Oct 15 08:36:50 like if writeChasracteristic reok, so in your readCharacteristic, when you delegate to the real thing and it returns false, what options do we have :P Oct 15 08:36:55 brr Oct 15 08:37:15 2 things munged together, sorry Oct 15 08:37:47 well with me the read always works because I never run it unless i know im connected, and it always goes into onCharacteristicRead Oct 15 08:38:33 not sure if a simple boolean from the built-in readCharacteristic would prove enough for them here to know that the function actually executed, I would rather rely on callback Oct 15 08:38:44 ok but, what if it can return false for other reasons, like pending commands, etc Oct 15 08:39:09 concersely, does a false mean that there are pending commands Oct 15 08:39:23 man, who the fuck documented this shit Oct 15 08:40:31 because of this "what does false mean in this case", I dont rely on it Oct 15 08:40:35 people were saying they got a code 133 from onConnectionStateChanged - status Oct 15 08:40:53 cause like it can be true (e.g. I did in fact send that command, not my problem it didnt go through) Oct 15 08:40:56 code 133 is just killing you :p Oct 15 08:41:12 heh Oct 15 08:41:22 i'm picking Odaym 's brainz Oct 15 08:41:39 see hoe much he really knows :) Oct 15 08:42:47 hehe Oct 15 08:44:20 anytime Oct 15 08:45:46 one thing i would have liked from these apis, is the ability to associate a token between call and callback Oct 15 08:46:22 or some other context (Object) but a long token would have been fine Oct 15 08:47:00 if there are multiple writes to a characteristic, for example, and one fails, its hard to know which one of the queued writes failed Oct 15 08:47:29 Hi! What's the ideal view to show background color and respond to click events? Should I just use View? Oct 15 08:48:18 well I have all multiples writes and we cannot afford anything being dropped Oct 15 08:48:26 so I do the wait with flag solution Oct 15 08:48:46 also sentCounter, if it exceeds a certain number, I forceably send again Oct 15 08:48:55 at which time it would be safe to do so Oct 15 09:33:24 Hello ! Oct 15 09:33:27 anyone got problem with push notifications from gcm on android 2 ? Oct 15 09:33:57 they're working on production but on developemnt I got "error: NotRegistered" Oct 15 09:34:00 but only on android 2 Oct 15 09:37:35 gordon_, minsdkversion 8? Or actually even older than 2.2? Oct 15 09:37:47 no, 2.3 Oct 15 09:37:48 sdk 9 Oct 15 09:38:31 http://stackoverflow.com/questions/13956677/android-gcm-error-server-returns-not-registered-when-client-is-registered ? Oct 15 09:39:41 i got some issues with NotifyDataSetChanged for adapters Oct 15 09:39:41 thanks, I've seen that post too. seems like there is no other option Oct 15 09:40:20 i got a list, i set the adapter, then i add an element to the list and notifydatasetchanged -> nothing happen and last element is not added Oct 15 09:40:33 here is the code i cant get why Oct 15 09:40:35 http://codepaste.net/dv4iq1 Oct 15 09:40:42 its a simple example Oct 15 09:44:19 what does ListViewAdapter look like Oct 15 09:45:27 can I have two receivers? that I can do broadcast and they would both catch it and do things with it? Oct 15 09:45:44 whatitis: looks like this : http://codepaste.net/nma325 Oct 15 09:45:56 just a textview for each elements Oct 15 09:46:56 mtR_: how do you add items to that? there is no addItem method Oct 15 09:47:28 well adapter1 is from l1 List Oct 15 09:47:39 i cant change l1 and notifydatachanged Oct 15 09:47:41 ? Oct 15 09:47:51 what is l1? Oct 15 09:48:05 i have to change lists inside the adapter ? Oct 15 09:48:23 look what you do in your constructor Oct 15 09:48:37 you take all elements from testList and add them to the adapters list. Oct 15 09:48:54 if you add an item to testList, this wont change List liste Oct 15 09:49:11 why Oct 15 09:49:24 I bet you're using ArrayAdapter. Oct 15 09:49:27 because thats how programming works.. Oct 15 09:49:38 Mavrik: he uses baseadapter. see the link :) Oct 15 09:49:39 And you've forgotten it has a hidden internal ArrayList Oct 15 09:49:49 I only see the activity :) Oct 15 09:49:59 below :) Oct 15 09:50:07 mtR_: whatitis: looks like this : http://codepaste.net/nma325 Oct 15 09:50:11 ah yes, you never really change the addapters datastructure :D Oct 15 09:50:23 thats what i said Oct 15 09:50:34 you need to add the element to the internal list Oct 15 09:50:38 :) Oct 15 09:50:49 so i have to add element to my list and to my adapter Oct 15 09:50:53 for example with a method addItem(String item) { liste.add(item); } Oct 15 09:51:10 mtR_: yes. alternativly you can share a list for both Oct 15 09:51:27 instead of liste.addAll(...) in constructor you can say liste = testList; Oct 15 09:51:41 then it would work for when you add the element outside of the list Oct 15 09:52:02 oh yeah Oct 15 09:52:08 i think this is it danijoo Oct 15 09:52:11 :) Oct 15 09:52:53 woooooorks Oct 15 09:52:56 thx boyz :) Oct 15 10:02:21 When is a good time to perform changes on the ActionBar, like layouting, programatically so to speak Oct 15 10:02:43 because in just onPostCreate(), after the content has been set I am still getting crash reports in with NullPointerExceptions Oct 15 10:03:15 maybe because the activity was destroyed or what not.. it's sometimes very hard to get this right, and when I place it a bit later, then sometimes I can watch how the layout is adjusted, giving a bad visual experience Oct 15 10:04:28 onResume() ? Oct 15 10:04:31 maybe onCreateOptionsMenu() is the right one, since it's connected to the action bar's icon? Oct 15 10:16:55 onPrepareOptionsMenu Oct 15 10:17:06 then call invalidateOptionsMenu when you need to change it Oct 15 10:28:53 lasserix: but why onPrepareOptionsMenu over onCreate? If I want to change it regularly okay, but I need to change it before it becomes visible for the first time to the user Oct 15 10:29:05 guys, can I have 2 receivers listening to 1 broadcast? Oct 15 10:29:16 com.myapp.thisbroadcast should trigger events in 2 places Oct 15 10:29:36 I haven't tried it yet, Im working on something else but I want to know beforehand Oct 15 10:29:39 I'm pretty sure I can Oct 15 10:29:42 kay thanks for the help Oct 15 10:31:04 Odaym I think yeah, afaik the only way that you could stop two listeners firing is to have one higher priority and abort the broadcast in it Oct 15 10:31:34 nah I dont want to stop them, I want them to run together Oct 15 10:31:48 one does this and the other does that, based on 1 thing that triggers them Oct 15 10:32:11 well like I said, you would have to "do something" to stop both…so … the answer is yes Oct 15 10:32:33 ah ok ok Oct 15 10:32:37 or at least it is with system things like SMS broadcasts Oct 15 10:32:47 or any sys event Oct 15 10:36:55 platzhirsch: on prepare is alwasy called before oncreateoptions menu Oct 15 10:37:05 the point is to prepare your layout that's why Oct 15 10:37:41 not sure, I thought this is more about the options menu when it's made visible Oct 15 10:38:04 for instance when you want to alter the actual menu before showing it to the user Oct 15 10:38:20 My problem is about the action bar layout, like height, padding, etc. Oct 15 10:38:35 then roll your own Oct 15 10:38:41 what if I wanted this receiver to be inside an adapter? Oct 15 10:38:50 no problem in not having an unregister for it? Oct 15 10:38:55 cause there is no onDestroy of course Oct 15 10:40:02 yea......probably doing something wrong Oct 15 10:40:28 hmmm…. yeah well…no…erm… dunno Oct 15 10:40:41 let me just think about it and ask again Oct 15 10:41:05 adapter is for serving views with data attached and can be used to reflect changes by refreshing … sounds like you actually want the adapter to have modification control of the sub data Oct 15 10:41:42 yes well I cannot really get a reference to the list from the activity in the way that I want Oct 15 10:41:53 never personally had an adapter with forceful control of the data Oct 15 10:41:55 the stuff inside it is not just "getAllStuff()", I do things to the stuff before I setAdapter to that list Oct 15 10:42:20 so I dont want to go on and do all of that stuff to the data in the activity too, the adapter already does that Oct 15 10:42:34 well Im going to have to do that stuff again in the adapter, as that "stuff" being done is in the constructor Oct 15 10:42:52 sonOfRa: notification bug is probably due to android flavours Oct 15 10:42:58 the data is combination of something I insert and then a query t the DB to get the rest of hte stuff Oct 15 10:43:08 the funny fact is that it works on android 4 Oct 15 10:44:15 yea no there is no way to get a reference to that list in a way that is reasonable, the list is a child of a group, the hwole thing is an expandableListview Oct 15 10:46:26 well, let's run! Oct 15 10:54:45 well yea it worked Oct 15 10:54:58 of course; but the question is properness Oct 15 10:55:01 meh Oct 15 10:55:08 I dont know Oct 15 10:58:17 what will consume more space on hard disk Oct 15 10:58:22 eclipse or AS Oct 15 10:58:30 I'm on Linux Oct 15 10:58:48 need either of two only for UI/Layout visualisation only Oct 15 10:59:45 Does anybody know if disabling SSLv3 has any impact on older android devices (gingerbread etc)? Oct 15 10:59:53 AS is like 400 mb+ from download perspective Oct 15 11:01:00 JuiceSSH: Hey! Because of the poodle thing? Oct 15 11:01:21 flan3002: Yeah, just disabling SSLv3 on our API servers Oct 15 11:01:54 Ah you know what, i've got a gingerbread genymotion image here, I can just test with that Oct 15 11:02:27 Best option, likely. :) Oct 15 11:03:37 curious as to how you can set your company name as your nickname when coming here and asking for help.. Oct 15 11:03:46 Im sure someone there would not approve ;P Oct 15 11:05:01 Odaym: That to me? Oct 15 11:05:04 yea Oct 15 11:05:39 There's only two of us that write the app in our spare time Oct 15 11:06:02 ah ok Oct 15 11:06:17 cheesy page warning: https://juicessh.com/about Oct 15 11:06:18 :) Oct 15 11:06:20 JuiceSSH: I bought 'the premium part' of your app by the way. Good job, works smoothly! :) Oct 15 11:06:29 nah Ive seen your website, good looking Oct 15 11:06:43 Awesome - we've got a nice big update due v. soon Oct 15 11:07:04 Any new features? :P Oct 15 11:07:10 10+ years of exp I see Oct 15 11:07:13 fair enough Oct 15 11:07:31 I consider you guys a direct competitor Oct 15 11:07:35 lel Oct 15 11:07:44 Odaym: Which app? Oct 15 11:07:52 I ain't tellin Oct 15 11:08:21 its measley Oct 15 11:08:29 when in comparison of course Oct 15 11:08:49 Odaym: Russian app? Oct 15 11:09:09 nah it's Cura Oct 15 11:10:16 Odaym: Wow, that's really slick Oct 15 11:10:47 I like it Oct 15 11:10:58 thanks Oct 15 11:11:09 what I see with yours is a lot of that hardcore tech features Oct 15 11:11:27 Different purposes I guess, although our performance monitor plugin probably crosses that line a bit Oct 15 11:11:39 mine is lacking SSH keys login, for example, something users pointed out early on and I've only gotten to it this past weekend Oct 15 11:11:48 so its behind in what it claims Oct 15 11:13:04 Odaym: One option, is to integrate with JuiceSSH as a plugin, which would allow you to let juice handle all the connection management, authentication, keys etc, and allow you to run commands on a background juicessh session and get back the responses Oct 15 11:13:37 Not sure how keen you'd be on that, guess it depends on how you see us (competing or not) Oct 15 11:14:00 is this mentioned on the website? Oct 15 11:14:08 One nice benefit would be that you'd be the 5th plugin in our list, getting pretty instant & big exposure from our ~900k userbasew Oct 15 11:14:16 http://juicessh.com/plugins Oct 15 11:15:40 flan3002: Features for the upcoming 2.0 update (here's hoping I dont' get kicked for this 5-line paste): Oct 15 11:15:51 - Huge UI overhaul, UI and UX improvements galore Oct 15 11:15:51 - Changed default color scheme for all users (free and paid) to Solarized Dark Oct 15 11:15:51 - Enable autocomplete/autocorrect in the terminal by swiping our popup keyboard across (see: http://juicessh.com/autocomplete) Oct 15 11:15:51 - Security lock now uses a PIN instead of making you type in your full encryption passphrase each time. Disable and re-enable security lock to switch to this mode. Oct 15 11:15:51 - Transparent status and navigation bars during terminal (Android KitKat+) Oct 15 11:16:24 We'll probably be looking for a small group of beta testers over the next few days, drop me a PM if you're interested Oct 15 11:20:14 I use JSch right now to establish an SSH connection to the server, I wouldn't have to do that anymore? I just give you the creds/keys and you do that for me and return me an object that I can send commands to, for example? Oct 15 11:20:59 The general flow would be that users setup/create their connections/keys in JuiceSSH (or use their existing ones) Oct 15 11:21:11 Your app would get a list of the users connections from JuiceSSH plugin API Oct 15 11:21:18 riiight Oct 15 11:21:25 ok I understand Oct 15 11:21:25 Then tell JuiceSSH to launch a connection to the selected choice Oct 15 11:21:45 You can choose whether its a foreground or background session, and also run commands on it and get back the output Oct 15 11:22:10 That may not suit your needs, or choices, but just throwing it out there as an option :) Oct 15 11:22:18 well thanks Oct 15 11:24:47 so, got the textviews visible Oct 15 11:25:00 coming up next, spacing :-P Oct 15 11:25:25 does the browser convention follows Android Oct 15 11:25:32 like padding is padding Oct 15 11:25:37 and margin is margin Oct 15 11:26:49 Looney: I think so, padding is inside the view, margin is outside surrounding the view Oct 15 11:26:53 well thanks* Oct 15 11:27:45 yup, I am also crossing my fingers on this one Oct 15 11:28:10 layout_marginTop and layout_marginBottom would be correct? Oct 15 11:28:23 of course followed by android: Oct 15 11:28:53 and i should use dip in lieu of dp Oct 15 11:29:18 s/followed with/prefixed by/, but yes Oct 15 11:29:25 I've always used dp for layouts, and sp for text sizes Oct 15 11:30:44 ok Oct 15 11:30:56 I will stick with dp then Oct 15 11:48:09 all singles out there Oct 15 11:48:20 how do you make design decisions Oct 15 11:51:18 Looney ? Oct 15 11:52:00 like should UI be text only or it should use icons/images Oct 15 11:52:17 because it will look nice Oct 15 11:52:37 What every other failed developer does: looks at designs of awsome apps :/ Oct 15 11:52:41 oh well, as a designer that depends on , client, brand, form/function, target demographic… ugh…list is endless Oct 15 11:53:03 Looney or like Mavrik says, just copy google or other apps :) Oct 15 11:53:21 All app decisions should come from having examined the user and their needs Oct 15 11:53:51 "What does the user need to do here? How can I help them do that as quickly as possible?" Oct 15 11:54:24 Estel thats not always true …considerations yes, but sometimes other things come above the user … unfortunate but true…also users are mostly sheep in many things an will follow a trend (but only for so long) Oct 15 11:54:56 I said "should" ^.^ Oct 15 11:55:08 :) Oct 15 11:55:53 * Estel bangs the UCD drum some more Oct 15 11:55:57 USERS USERS USERS Oct 15 11:56:41 * Estel goes back to an app completely devoid of user concern Oct 15 11:57:38 Tab bar at the bottom? Suuurrreeee Mr. Project Manager Oct 15 12:01:37 oh god Oct 15 12:01:50 yes, I would have shot the iOS managers that demand tabs at the bottom Oct 15 12:02:59 Estel Mavrik are you guys serious ? Oct 15 12:03:08 ? Oct 15 12:03:12 what happened to use driven design ? Oct 15 12:03:28 heh heh Oct 15 12:03:28 there is no "tabs need to be on the top" Oct 15 12:03:36 thats just outright balls :) Oct 15 12:03:37 StingRay_, you have softkeys on the bottom Oct 15 12:03:57 depends on device and display mode Oct 15 12:04:01 you can't do touch areas one next to other without people accidentally closing stuff Oct 15 12:04:05 User expectations >_> Oct 15 12:04:18 StingRay_, not to mention that Android really doesn't use that pattern ever Oct 15 12:04:57 StingRay_: you'd have more of a point if the decision was a result of a UCD process Oct 15 12:05:01 expectation design = stagnate , always has, and yeah maybe android doesn't, but in all honesty, I would not rest weight on that give how poor some of the basic design is Oct 15 12:05:27 But it's the result instead of them having only bought in anyone with Android experience two weeks after all the designs have been signed off, having never done an Android app before Oct 15 12:05:56 The age old android development problem >_> Oct 15 12:06:29 Hi, I want to make a mobile application that also uses a remote API, parsing, network hits etc. I am planning to make c/c++ based code in IOS/Iphone, Android, Blackberry; to make it cross platform and same code can be used on all platforms. Possible? limitations? how? Oct 15 12:07:24 Voyage: theoretically possible, but you'll spend just as long writing the C/C++ to native bridges and the native UI for each platform as you should without the common backend Oct 15 12:07:43 Voyage, if you don't know anything about Java and JNI it'll be painful as hell Oct 15 12:07:49 Voyage, you might wana look into Xamarin instead Oct 15 12:08:40 Mavrik, it will be painful for java and not for Iphone? Oct 15 12:09:28 No idea about iPhone. iOS people I work with despise working with C++ <--> ObjC bridges though Oct 15 12:09:58 Did it once, it's a similar kerfuffule Oct 15 12:10:01 *spelling Oct 15 12:11:56 Hello. I have a custom listview layout - TextView and Checkbox and using ArrayAdapter. My problem is, when the ListView was populated and I tick the first checkbox, when I scroll down the ListView, some of the item of ListView get checked also. I already check my ArrayAdapter but it seems to be ok. Any idea? Oct 15 12:12:38 lnoskhen, your checkbox views get reused Oct 15 12:12:51 lnoskhen, and they stay checked because you don't properly state checked state in your getView Oct 15 12:13:08 those aren't wired up automatically Oct 15 12:13:21 Mavrik: ohh.. Let me take a look again. Thanks :D Oct 15 12:14:54 lnoskhen, something like checkBox.setChecked(listView.isItemChecked(position)) should do the trick in getView :) Oct 15 12:15:47 I'm using holder.cbDiscard.setOnCheckedChangeListener(...) Oct 15 12:29:15 giggle time boys Oct 15 12:29:18 Budget… I'm not really working at the moment so i don't have a lot of money, I'm hoping because it is such a simple game it wouldn't cost much, but again i have no idea where to even start with saying a price…. but i can promise that i do think of a lot of app ideas so if this did take off could be the start of a good long relationship haha Oct 15 12:29:22 just heard this Oct 15 12:29:29 *just heard this gem Oct 15 12:30:11 And you found this... where? Oct 15 12:30:39 somewhere on Interwebz Oct 15 12:31:21 there are whole blogs/tumblrs/etc. dedicated to quotes from people asking others - mostly on the artistic/design side of things - to work for free Oct 15 12:31:50 Likely in the same area where you also find the "I'm going to make my own MMORP(XYZFSHGF). Now help me! You'll get shares after we took off." guys (likely worse spelling). Oct 15 12:32:19 should I submit this Oct 15 12:32:27 because I just got it from someone Oct 15 12:35:24 my response Oct 15 12:35:24 I will get back to you when I have nothing to do. By the way, in meanwhile, you should obtain patent this idea of yours as well. Oct 15 12:35:55 *patent for this Oct 15 12:51:47 Is there a way to make business logic the same for all ios, android, blackberry etc platforms and make UI for all of them as in a webview (ie same UI)? Oct 15 12:52:21 if the goal was to produce a horrid app :) Oct 15 12:52:41 I'm speaking from a user POV here btw, not a dev/design Oct 15 12:52:54 jack of all master of none Oct 15 12:54:04 Voyage: AFAIK it is possible (Xamarin or similar?), but I have to agree with StingRay_ that such 'cross-platform-apps' usually result in rather poor UX. Oct 15 12:54:39 also does depend a lot on how complex the app is Oct 15 12:55:47 Voyage: Maybe you do not care, but your users usually do. If you just need something quick'n'dirty for some dozen users, it's okay, but if you really intend to produce a good app, don't start with debts. Oct 15 12:58:14 hm Oct 15 13:00:59 my damn android studio is really leaking activity to other layouts and changes names and attrs Oct 15 13:03:59 hi. I'm looking for a way to find out which release of Android introduced TLSv1-support. any pointers as to where to look? Oct 15 13:10:44 colo-work: no idea, but at least 2.3.7: https://www.ssllabs.com/ssltest/viewClient.html?name=Android&version=2.3.7 Oct 15 13:11:26 yeah, I know that resource :) would be interesting to know if 2.3.7 is special in that regard in its 2.3 branch, and what (if anything) doesn't apply to 2.2. and 2.1 Oct 15 13:11:52 good day Oct 15 13:12:07 any nice android software patterns with sample projects? Oct 15 13:17:18 the genius whom I suggested to obtain patent strikes back Oct 15 13:17:29 anyone interested in giggles Oct 15 13:17:35 patterns? make all singletons! Oct 15 13:17:41 i was under the impression you can't really patent ideas, I've got way better ideas but they are actually more difficult games/websites to make, so i was hoping to create this, make a bit of money from it, then go onwards and upwards… can i trust you that the idea will remain between me and you? Oct 15 13:19:16 Looney I think you maybe typing into the wrong chat window Oct 15 13:20:09 nah, I think I just shared this with you guys Oct 15 13:21:20 go back an hour in this channel's log Oct 15 13:21:23 Listen to his idea and critize him if it's complete bs. Only way he's going to recognize he either has to really pay or code it himself... Oct 15 13:21:24 you will see Oct 15 13:21:58 its a god forsaken 2D "out of nowhere novel" game Oct 15 13:22:04 what do you expect Oct 15 13:22:12 he will offer 300 at tops Oct 15 13:22:19 do we have any takers Oct 15 13:22:26 novel game? like japanese? Oct 15 13:22:27 * flan3002 ducks. Oct 15 13:22:48 Looney it's against channel rules to offer payments/work etc Oct 15 13:23:04 no, I am not offering Oct 15 13:23:07 I am asking Oct 15 13:23:22 would someone have chosen to work with this dude Oct 15 13:24:52 Who wouldn't? -.- Oct 15 13:25:30 going to flan3002 once Oct 15 13:25:39 going to flan3002 twice Oct 15 13:25:43 :-P Oct 15 13:26:11 so again, any nice book/tut series with proper design patterns/program structure Oct 15 13:27:09 Nexus 6 & 9 announced today? Android L too? will it be streamed? Oct 15 13:29:58 been seeing a lot about Realm db lately. anyone messed with it? Oct 15 13:42:25 jimmyff: yes Oct 15 13:42:31 there wont be conference Oct 15 13:42:37 AFAIK Oct 15 13:50:16 any word on android L and nexus 6 yet? Oct 15 13:50:48 ugh… i really dont care about either Oct 15 13:51:22 L is fluff mostly and 6" ? ffs, I used to use a smaller phone in the late 90's Oct 15 13:51:31 :) Oct 15 13:52:13 cant wait for small to be the new big as big was the new small Oct 15 13:54:48 yeah, but I need a new phone D: Oct 15 13:54:55 my galaxy s 2 is getting old Oct 15 13:59:20 can someone help me with this Oct 15 13:59:27 http://stackoverflow.com/questions/26367706/mediametadataretriever-getframeattime-return-first-frame-only Oct 15 14:02:41 Those of you using Universal Image Loader, where do you initialize Application or ActivityMain, and does it matter? Oct 15 14:10:57 https://dpaste.de/NYmg Oct 15 14:11:10 anyone can check y the content of step repeat? Oct 15 14:11:28 the code is the same as for event, but no repeat so weird Oct 15 14:11:47 event has no repeat Oct 15 14:14:16 Hi all, I'm looking at making some custom images for my Android app, but wondered what resolution the images should be for the different levels (mdpi, ldpi hdpi etc etc). As from what I'm reading the DPI needs to be different, but what about the actual resolution, how do I calculate max width/height etc Oct 15 14:15:03 the log issue can be checked here https://dpaste.de/WgGX Oct 15 14:16:21 sdousley: what i do is download android default icons pack Oct 15 14:16:22 https://www.google.com/search?q=android+default+icon+set&oq=android+default+icon+set&aqs=chrome..69i57j0.8047j0j7&sourceid=chrome&es_sm=93&ie=UTF-8 Oct 15 14:16:39 molavy: this isn't for icons, but for images to be displayed within the app (if that makes a difference?) Oct 15 14:17:27 cryptojuice: in application Oct 15 14:17:34 cryptojuice: dont know if picasso isnt better ;) Oct 15 14:18:03 sdousley: https://www.google.com/search?es_sm=93&q=android+image+dpi+screen&oq=android+image+dpi+screen&gs_l=serp.3...82481.90349.0.90583.0.0.0.0.0.0.0.0..0.0....0...1c.1.55.serp..0.0.0.9gybKrbBHYE Oct 15 14:24:49 is there any way that I can prevent the drawer layout from getting touches that would cause it to move left and right and eventually close when it reaches right/left? Oct 15 14:25:01 I want that touch to be for the swiping of the list items inside that drawer Oct 15 14:25:16 and right now its being taken by the drawer, so the whole thing moves and I cant do what I need Oct 15 14:28:37 Odaym have a look at DrawerLayout#setDrawerLockMode Oct 15 14:29:00 especially together with flag LOCK_MODE_LOCKED_OPEN Oct 15 14:29:28 ok Ill check Oct 15 14:30:02 but there is no indicator that it has been opened through the use of swipe from the main screen, only an indicator that the toggle has been used Oct 15 14:31:29 seems that is a bug in android Oct 15 14:31:30 http://stackoverflow.com/questions/26367706/mediametadataretriever-getframeattime-return-first-frame-only Oct 15 14:31:58 some other developers have this problem and there is no idea how to solve this issue Oct 15 14:32:47 Odaym: when the drawer is locked, it wont react to swipes but can still be closed promatically (via the homebutton for example) Oct 15 14:32:50 link here Oct 15 14:32:50 http://stackoverflow.com/questions/25426131/how-to-convert-7sec-video-to-gif-android?rq=1 Oct 15 14:33:01 or its toggle thing Oct 15 14:33:02 ok Oct 15 14:34:29 sdousley: could you help check https://dpaste.de/WgGX for why step's size increase, but the real step cursor count is rigth the same(which is correct)) Oct 15 14:35:22 any idea? Oct 15 14:39:28 semanty: Every time onLoadFinished is called you add items to your lists Oct 15 14:39:29 yea that did it dani Oct 15 14:39:31 thanks Oct 15 14:39:41 You never remove items from the lists Oct 15 14:40:31 SimonVT: hmm, how to handle it? the other same events in the onloaderfinished is not increased Oct 15 14:40:40 Odaym: yw Oct 15 14:42:27 * flan3002 hates quaternions. Oct 15 14:42:54 there is really no idea? Oct 15 14:42:56 (only because I don't understand them. In theory, it's a cool concept) Oct 15 14:43:38 SimonVT: i put steps.clear above do, it should be OK, right? Oct 15 14:51:58 If it works then you did it right Oct 15 14:52:34 Hmm, ok, so I found the first thing I don't like about Gradle. Having a lot of possible flavor combinations will cause every build to take forever, even if you specify which combination you want to build. Oct 15 14:55:30 hey danijoo_ I can't press back anymore when the drawer is locked :o Oct 15 14:56:35 much lol Oct 15 14:56:47 Odaym what ? it has some physical restriction on your finger ? Oct 15 14:56:48 wow!! Oct 15 14:56:54 haha Oct 15 15:03:33 ok, how can report a bug about this problem Oct 15 15:03:33 http://stackoverflow.com/questions/26367706/mediametadataretriever-getframeattime-return-first-frame-only Oct 15 15:04:05 molavy the answer is a 5 second google search away Oct 15 15:04:42 I haven't found anything in the docs, do you think there is something that I can add to a fragment (if fragment will be hidden due to another fragment on top of it)? Oct 15 15:04:46 StingRay_: but i don't know that is really a bug or problem of my code Oct 15 15:05:05 oh, well when you find out… if it is … report it Oct 15 15:05:10 i saw this too http://stackoverflow.com/questions/25426131/how-to-convert-7sec-video-to-gif-android?rq=1 Oct 15 15:05:28 there is no answer about this questions Oct 15 15:06:13 StingRay_: this page https://source.android.com/source/report-bugs.html Oct 15 15:06:33 return this error for me: 404. That’s an error. The requested URL /source/report-bugs.html was not found on this server. That’s all we know. Oct 15 15:06:39 what about you? Oct 15 15:08:17 StingRay_: i think , that is because of Sanctions Oct 15 15:08:34 https://code.google.com/p/android/issues/advsearch Oct 15 15:09:13 seems ,they don't want know about bugs,return this error: 403. That’s an error. Request not allowed from your country That’s all we know. Oct 15 15:09:46 I have an android library project and an android application project. I have followed the official developer guide but can not seem to find a solution to include android library project in android application project. Oct 15 15:09:57 Any idea how can I include it? Oct 15 15:10:24 StingRay_: very stupidly, never mind. thanks anyway Oct 15 15:11:10 I have an android library project and an android application project. I have followed the official developer guide but can not seem to find a solution to include android library project in android application project. Oct 15 15:11:19 Any idea? Oct 15 15:11:21 acuriousartist dont spam Oct 15 15:11:28 I am not spamming, sir Oct 15 15:11:38 2 times in 10 seconds = spam Oct 15 15:11:49 you are when you repeat your request quickly Oct 15 15:12:34 My bad. I am new to IRC. Oct 15 15:12:38 hot, someone is trying out my plugin on robovm Oct 15 15:13:09 StingRay_ ? Do you have any idea about the question I asked? Oct 15 15:13:36 yeah, but it's so common cant really be bothered, google search will give you 100's of examples Oct 15 15:15:23 acuriousartist: that is has very easy steps , do you use eclipse Oct 15 15:15:32 ? Oct 15 15:15:47 No, sir. I am using Sublime Text with iTerm Oct 15 15:15:58 iTerm = Terminal Oct 15 15:16:54 Which directory is for library files when we create a library project? Oct 15 15:17:07 I mean, in an android app project, we use "src/" directory Oct 15 15:17:16 molavy? Oct 15 15:19:14 acuriousartist: src named as source , libs are for libraies like .jar files but if you want include other project source as library into current project, i know it exactly in eclipse not sublime Oct 15 15:19:37 sorry Oct 15 15:19:44 no problem sir Oct 15 15:20:18 lets say i am creating a library project Oct 15 15:20:28 which folder should i create files in Oct 15 15:20:29 ? Oct 15 15:20:44 I have an edit text within a scrollview. The edit text has maxlines of 3. So it never grows beyond 3. But as I press the enter button the whole scrollview scrolls. Then scrolls the edit text out of view. Anyone have a fix? Oct 15 15:21:24 molavy? Oct 15 15:22:03 @molavy can i ask you for help in person? Oct 15 15:23:25 what i use every time i want include library projects into main project is , right click in library project(in eclipse) properties->android-> mark as library Oct 15 15:25:08 in main project right click project directory->properties> in library section click add then select mu desire library project from library project that eclipse listed Oct 15 15:35:50 What's the best way to store runtime configuration options? like someone logs in, and we provide the company name from the API, which I want to store in the app, but only for that session. Oct 15 15:36:03 Kinda wanting something like a static class and store it in a property maybe? Oct 15 15:36:23 sdousley http://developer.android.com/guide/topics/data/data-storage.html Oct 15 15:36:25 acuriousartist: if sublime don't make interface for this purpose , so you should do it manually , i think Oct 15 15:36:27 http://developer.android.com/tools/projects/projects-cmdline.html Oct 15 15:36:36 sdousley answers almost always in the docs Oct 15 15:37:54 StingRay_: ok, cool, looking at that, I'm thinking I need something like Shared Preferences? Oct 15 15:38:02 sounds fair Oct 15 15:38:03 :) Oct 15 15:38:07 @molavy I followed exactly the same developer guide but still can't get this done Oct 15 15:38:22 what is your problem Oct 15 15:38:42 i am unable to include library project in an app project Oct 15 15:38:51 hi Oct 15 15:38:59 has anybody used loaders? Oct 15 15:39:16 StingRay_: the issue that I have with something like that is it's all accessed from an Activity, I'm trying to do this from within an AsyncTask Oct 15 15:39:16 please give more details against just saying have problem Oct 15 15:39:28 I have a spinner which have to be populated with data loaded inside the server Oct 15 15:39:47 inside the loader I mean Oct 15 15:40:17 h4k1m think you are designing it a bit wrong Oct 15 15:40:33 acuriousartist: which step stop you? Oct 15 15:40:59 StingRay_: I need the spinner to not be loaded with data until loader has finished being filled Oct 15 15:41:15 it's not possible to do it this way? Oct 15 15:41:23 h4k1m ok…thats what a loader is for so yes Oct 15 15:41:58 but you are talking about a Cursor right ? Oct 15 15:41:59 StingRay_: but the loader is used to fill a listview not the spinner Oct 15 15:42:06 that's right Oct 15 15:42:15 listView is irrelevant Oct 15 15:42:20 spinner is irrelevant Oct 15 15:42:37 cursor loader presents a cursor … you do with that what you want/will Oct 15 15:43:19 the spinner has to wait for the list view to be filled (I mean the local database), to be filled Oct 15 15:44:04 the spinner does not wait for anything… it's a ui component … you populate it whenever YOU want Oct 15 15:44:37 but yes, you would not want to populate it / give it a cursor until it's loaded Oct 15 15:44:51 hence why you implement callbacks from the loader Oct 15 15:45:13 StingRay_: would it be good for the spinner to be populated inside the on create loader? Oct 15 15:45:26 what ? Oct 15 15:45:40 I think you are missing the concept a little Oct 15 15:45:46 go have a read on loaders Oct 15 15:45:59 http://developer.android.com/guide/components/loaders.html Oct 15 15:46:22 StingRay_: ok I'll check it thanks Oct 15 15:46:49 Hey all. Q on BT. Does it take more energy to maintain the connection over say 1 hour than it does to connect and disconnect multiple times over that hour? say 5-20 times? Oct 15 15:47:01 assuming the device stays paired.. and it is not a BLE device Oct 15 15:50:26 using apache ant, I am trying to build an installation and I am faced with Buildfile build.xml does not exist, build failed. how do i fix that ? Oct 15 15:50:33 https://bib.irb.hr/datoteka/575153.Energy_Consumption_in_Android_Phones_when_using_Wireless_Communication_Technologies.pdf Oct 15 15:50:39 kind of answers my question but not very well Oct 15 15:51:19 I’m asking about the connect/disconnect routine and its power consumption vs a connected thread just sitting idle waiting for data Oct 15 15:56:19 how can i check if my app is killed with espresso Oct 15 15:56:59 ie, i want to write a test that makes sure pressing back kills the app Oct 15 16:10:33 for those who care, the Lollipop announcement is up, new SDK due on Friday Oct 15 16:11:19 nice Oct 15 16:11:25 Leeds: woo Oct 15 16:11:26 so /topic? Oct 15 16:11:32 no Licorice :-( Oct 15 16:11:34 Leeds: (btw hey leeds) Oct 15 16:11:45 woo and hey :) Oct 15 16:12:05 StingRay_: is there an event that is fired when the loader has finished loading? Oct 15 16:12:19 no, there is a callback, did you read ? Oct 15 16:12:22 gordon_: Thanks, I originally tried picasso, and it worked well but for some reason it would when out server returned images with 304 not modified status it would only work on the initial load. If I closed the app and reopened it those images would no longer display, and I picasso would throw an error for those network request. We arent using okhttp so it could have something to do with the way we hand Oct 15 16:12:22 le http. UIL worked fine so I didn't dive deep into it. Oct 15 16:12:33 onLoadFinished is called before finishing Oct 15 16:12:46 I've encountered it Oct 15 16:13:19 W00t Oct 15 16:13:29 StingRay_: could you give me the name of that callback? Oct 15 16:15:22 til there is no layout_alignParentCenter Oct 15 16:15:36 Leeds: Where does it say the sdk is out friday? Oct 15 16:15:37 Is there a version of Window.FEATURE_INDETERMINATE_PROGRESS that works on fullscreen activities with no action bar? Oct 15 16:15:57 JuiceSSH: little banner on top of d.android.com Oct 15 16:16:18 Thanks Oct 15 16:17:39 Asterfield: no, its not possible, no ActionBar == NoTitle, means no ProgressBar UI to user Oct 15 16:17:42 *use Oct 15 16:17:50 :( That's a shame Oct 15 16:17:57 Leeds no prices ? no details on the 9's screen ? and god awful website copy of apple … seriously though the screen details are a bit suspect Oct 15 16:18:22 StingRay_: they're long on announcement and short on information right now Oct 15 16:19:00 typo on the nexus 6 page: 13MP front-facing with optical image stabilization, 2MP rear-facing Oct 15 16:19:06 that would be hilarious if it were actually the case Oct 15 16:20:37 Nexus 6 Eye Oct 15 16:21:56 interested in the 6 and the player Oct 15 16:22:07 depends on price really Oct 15 16:22:22 $99 for the player, apparently Oct 15 16:22:48 balls that means £99 for me so $160 ugh Oct 15 16:22:52 such a rip off here Oct 15 16:23:18 it's nice to live somewhere without sales tax Oct 15 16:23:48 yeah, without tax though how would the rich make money from simply having it ? :) they would have to work Oct 15 16:24:07 also, I pay around 12%-15% income tax Oct 15 16:25:00 StingRay_: could you please explain to me why onLoadFinished is called multiple times before loader has finished loading all records? Oct 15 16:25:41 dont for me Oct 15 16:33:17 where's my update?!?! :P Oct 15 16:39:36 Anyone use opencv with android before? Oct 15 16:43:55 lol i just interviwed someone who did Oct 15 16:45:03 Spynxic, here https://github.com/ErnestWong/SudokuSolver Oct 15 16:45:13 Would've never thought to include with particular libraries in a resume Oct 15 16:45:28 lol yeah don't put library names in your resume :p Oct 15 16:45:39 There's bunch of people using OpenCV on Android, it's even officially supported :) Oct 15 16:45:44 just big frameworks/sdk Oct 15 16:47:30 can someone help me with this Oct 15 16:47:31 http://stackoverflow.com/questions/26367706/mediametadataretriever-getframeattime-return-first-frame-only Oct 15 16:59:59 hello guys, someone can tell me how I construct switch with asset;;; Oct 15 17:00:27 hm? Oct 15 17:01:02 Ashiren: switch componet...on - off, I need to do one this with assets Oct 15 17:04:08 someone Oct 15 17:11:43 I found what I want. here is the url http://stackoverflow.com/questions/10118050/how-can-i-style-an-android-switch Oct 15 17:12:25 https://www.youtube.com/watch?v=ytNoqX-j6HE Oct 15 17:12:39 God, I can't get it out of my head.. Lollipop Oct 15 17:13:42 Napalm ffs +1 Oct 15 17:13:46 :) Oct 15 17:14:00 you my friend, are a virus Oct 15 17:15:49 https://android.com/versions/lollipop-5-0/ Oct 15 17:18:54 is it me or does this show just how functional and useful this new design is https://android.com/play/ Oct 15 17:21:12 "Adreno 420 GPU gives you brilliant graphics" add amazing and magical and tell me google are not turning into apple with pure fluff ? Oct 15 17:21:43 * genii sticks with Mali Oct 15 17:21:56 ew, Mali Oct 15 17:22:07 Horrible horrible chip with horrible horrible drivers -_- Oct 15 17:22:36 Mavrik wanted to ask have you used libgdx and done….erm…stuff > Oct 15 17:23:15 luckly no Oct 15 17:23:19 I did some raw OpenGL stuff Oct 15 17:23:23 bad for mental health that Oct 15 17:24:00 "luckly no" as in you have an opinion on it's use and that opinion is bad ? Oct 15 17:24:28 StingRay_, luckly as in terms of: I don't do 3D on Android anymore :) Oct 15 17:25:04 So Lollipop huh Oct 15 17:25:07 I expected Lion Oct 15 17:25:16 is a Lion a sweet treat? Oct 15 17:25:25 It's cereal Oct 15 17:25:39 From Nestlé, and since they partnered for KitKat... Oct 15 17:25:50 it a chocolate bar in some places... Oct 15 17:26:05 Screen is too big, but 3220mAh battery... woah Oct 15 17:26:31 Wow i start to likw gogole nexus 5 and 6 new ones. Oct 15 17:26:36 :) Oct 15 17:26:44 the snapdragon 805 dissapoints me Oct 15 17:26:57 p_l, why? Oct 15 17:27:01 What do you do on your phone? Oct 15 17:27:05 i thought there a new nexus 5 out to. Oct 15 17:27:18 Oh yeah Oct 15 17:27:21 looks nice Oct 15 17:27:21 Looks like it Oct 15 17:27:22 autrilla_: I wanted 64bit chip to future-proof it Oct 15 17:27:27 https://lh4.googleusercontent.com/-puZiqAAHLqA/VD6sOfTdQOI/AAAAAAAA1iU/g9VPx-d4DQc/w929-h977-no/IMG_20141015_101208.jpg Oct 15 17:27:36 p_l, is the 32-bit chip suddenly going to die? :) Oct 15 17:27:48 p_l, 64 bit makes little sense on phones Oct 15 17:27:52 i i think nexus 5 new one is $399 Oct 15 17:28:15 349€ for 16GB, 399€ for 32GB Oct 15 17:28:25 good deal Oct 15 17:28:39 i see Oct 15 17:28:39 But is it the new one or the old one? Oct 15 17:28:47 new one Oct 15 17:28:47 autrilla_: AArch64 changes not just pointer width Oct 15 17:28:48 https://play.google.com/store/devices/details/Nexus_5_32GB_White?id=nexus_5_white_32gb Oct 15 17:28:48 people don't realize that 16GB of ram does not cost 50eur Oct 15 17:28:55 there is no new one - they're just shipping it with L Oct 15 17:29:03 s/ram/flash/ Oct 15 17:29:03 er, lollipop :) Oct 15 17:29:04 lollipop \o/ Oct 15 17:29:11 :O Oct 15 17:29:21 Sculptor, people don't realise the market is not lead by manufacturing costs, but by offer and demand Oct 15 17:29:26 Lollipop, lollipop, ohhh lolli lollipop Oct 15 17:29:27 I can't wait for android L to come out on friday. Oct 15 17:29:29 If people are dumb, prices will be dumb Oct 15 17:29:32 dum dee dum dum Oct 15 17:29:46 https://www.youtube.com/watch?v=ytNoqX-j6HE < for those that missed it Oct 15 17:29:47 :D Oct 15 17:29:54 I saw a piece of news that they stopped manufacturing the Nexus 5 Oct 15 17:30:04 Napalm fk u I clicked again, on auto mode Oct 15 17:30:07 Can we start working on android L now or wait? Oct 15 17:30:10 :D Oct 15 17:30:11 hehe Oct 15 17:30:27 http://www.google.com/nexus/6/ Oct 15 17:30:34 I think they should have done an updated nexus 5 Oct 15 17:30:36 I wonder why they show 9, 6, and 5 Oct 15 17:30:42 If the 5 is the old one Oct 15 17:30:43 SDK update coming on Friday Oct 15 17:30:56 autrilla_, because they're keeping it Oct 15 17:30:59 thanks Leeds Oct 15 17:31:07 Mavrik, and they're ditching the 7 and 10? Oct 15 17:31:10 for people that don't want a huge brick to beat other people with Oct 15 17:31:10 ram ? Oct 15 17:31:10 i wait. Oct 15 17:31:45 Mavrik, I'd want a Nexus 4 with 3220mAh :3 Oct 15 17:31:47 autrilla_: 10 has been on the way out for a long time... but yes, seems 7 is dead as well Oct 15 17:32:30 ohwaitwut? Oct 15 17:32:40 https://www.youtube.com/watch?v=8mqvPHeNf2U Oct 15 17:32:44 I seen on the web site att is sell the nexus to. Oct 15 17:32:50 g00s: hey Oct 15 17:32:51 If i am right. Oct 15 17:32:58 g00s: your missed all the fun Oct 15 17:33:00 autrilla_, I think it's called Xperia Z3 Compact nowdays :P Oct 15 17:33:00 hey Napalm ! Oct 15 17:33:20 Mavrik, oh, also pure Android, Google support and Nexus price :3 Oct 15 17:33:49 StingRay_: that was a different video :D Oct 15 17:33:55 and a women to go with it? :) Oct 15 17:34:08 I know, but I did check the ident with previous post ;) Oct 15 17:34:10 had to Oct 15 17:34:36 nexus 6 look better the moto x developer phone. Oct 15 17:34:41 :) Oct 15 17:34:47 whats the aspect ratio of the n9 ? Oct 15 17:34:53 g00s: 4:3 Oct 15 17:34:58 ah great Oct 15 17:35:04 dumbass 16:9 stuff begone ! Oct 15 17:35:24 many people are pissed off about that Oct 15 17:35:40 2:3 Surface Pro 3 ftw Oct 15 17:37:10 569€ btw Oct 15 17:37:42 how much is bah no microSD Oct 15 17:37:47 gahahahahhahaha Oct 15 17:37:56 Mavrik: regarding 64bit - I was more concerned about having the access to the arch on my main device, because there's no chance I'll be buying N9 ;) Oct 15 17:38:01 so i guess there is no $200 android tablet anymore :( Oct 15 17:38:46 I thought the purpose of the Nexus line was to create devices for developers that were affordable and showed what Android was capable off, with no bloatware Oct 15 17:38:54 * capella He's everywhere! Oct 15 17:39:10 p_l, hmm, if you're a dev you'll need to buy it anyway Oct 15 17:39:14 but yeah, I see the point :) Oct 15 17:39:43 autrilla_: nobody seems to know what the purpose of Nexus is nowadays Oct 15 17:40:23 technology demonstrators? Oct 15 17:40:31 Surprisingly the N6 is about the same size as the iPhone 6 Plus Oct 15 17:40:54 autrilla_ but much higher density Oct 15 17:41:10 StingRay_, the iPhones have huge frames Oct 15 17:41:24 huh? I mean screen denisty Oct 15 17:41:28 density* Oct 15 17:42:20 yeah, and thus the higher density even with a bigger screen Oct 15 17:42:21 Were the new Nexuses ("Nexi"?) released today? Oct 15 17:42:28 Yes Oct 15 17:42:33 Announced, rather Oct 15 17:42:34 TacticalJoke: announced... pre-order on Friday, shipping early Nov Oct 15 17:42:36 but the question is.. does it bend ? Oct 15 17:42:55 Oh, okay. Oct 15 17:42:55 Cool. Oct 15 17:42:58 am i missng something, i was expecting more details about lollipop somewhere Oct 15 17:43:07 g00s: wait for Friday Oct 15 17:43:13 k Oct 15 17:43:18 It's exciting, but it's kinda stressful for developers. Oct 15 17:43:27 We gotta worry 'bout a whole other OS version. Oct 15 17:43:54 And about what to buy others for Xmas. Oct 15 17:44:03 What do you mean you didn;t have L preview installed? Oct 15 17:44:09 there's https://www.android.com/versions/lollipop-5-0/ but Friday is the real release day... if you were a cynic, you might wonder if today's stuff was just to head off Apple's stuff tomorrow a bit Oct 15 17:44:10 what kind of dev are you :) Oct 15 17:44:27 also, having a release on friday is... brae Oct 15 17:44:28 also, you really don't have to care about lollipop for a while, if you don't want to Oct 15 17:44:28 *brave Oct 15 17:47:02 seriously is this fk'd for just me https://android.com/play/ ? Oct 15 17:50:07 Seems fine to me Oct 15 17:50:52 huh, play and wear links on that page are well, screwed OSX/chrome Oct 15 17:51:35 nope, safari too Oct 15 17:51:46 must be a regional thing Oct 15 17:52:21 hm, docker on windows server Oct 15 17:52:33 When does FileInputStream.close ever throw an exception? Seems like a weird situation. Oct 15 17:52:42 I can't see why any app would want to handle this. Oct 15 17:53:02 I realise that FileOutputStream.close throwing an exception might matter (e.g., it might mean that data has *not* been written). Oct 15 17:53:42 (Sorry to be a party pooper, asking a real question. :D) Oct 15 17:54:00 yeowza n6 off contract price is $650 Oct 15 17:54:37 wtf ? really? source ? Oct 15 17:54:51 That 'ish crazy, yo. Oct 15 17:55:05 OH MY GOD A PHONE COSTS THE SAME AS THE OTHER PHONES Oct 15 17:55:28 Isn't that really expensive? Oct 15 17:55:44 for nexus line yes Oct 15 17:55:48 I guess it's "Samsung " expensive. Oct 15 17:55:49 Right. Oct 15 17:55:50 no, that's how much top-end smartphones sell for Oct 15 17:55:57 thats like 2x as epxensive as the n5 basically... Oct 15 17:56:10 ridiculous Oct 15 17:56:14 Leeds "sell for" has not been the driving factor of nexus Oct 15 17:56:18 g00s: where did you get that price? Oct 15 17:56:27 http://phandroid.com/2014/10/15/nexus-6-price/ Oct 15 17:56:28 StingRay_: emphasis on "has not" Oct 15 17:56:32 the Nexus line was known for an incredible bang-for-the-buck. That won't be the case this time. Oct 15 17:56:42 It's not more expensive than others; it simply lost one of its competitive advantages. Oct 15 17:57:07 650$? ;/ Oct 15 17:57:30 the US prices are well confirmed at this point Oct 15 17:57:37 I heard it was 399 EUR and 319 GBP Oct 15 17:57:49 Why is the new Nexus tablet 8.9" while the new Tesco Hudl is 8.3"? Oct 15 17:57:51 Might be a dumb question. Oct 15 17:57:56 6" is too big. Oct 15 17:58:03 because 0.6 inches... something something Oct 15 17:58:03 TacticalJoke: resolution Oct 15 17:58:13 good thing the n5 has plenty of hardware Oct 15 17:58:28 I agree. I think the N5 will still be a lot of people's main device Oct 15 17:58:48 that's why they're apparently going to keep selling the N5 Oct 15 17:58:51 if it drops to like $250 I'll just pick up a few spares... Oct 15 17:58:56 What is the Nexus 9 resolution? Oct 15 17:59:16 1440×2048 Oct 15 17:59:32 2048x1536 Oct 15 17:59:48 and I still can't write an android app in anything but Java Oct 15 17:59:49 joy Oct 15 17:59:57 scala Oct 15 18:00:01 kotlin Oct 15 18:00:03 groovy Oct 15 18:00:04 did google have to announce any of this today? they could have just waited a week or 2 until everything was ready Oct 15 18:00:15 those to me are just lipstick on a pig languages Oct 15 18:00:19 So these resolutions are all good for "1080p", right? Oct 15 18:00:23 Kotlin looks nice. Oct 15 18:00:27 TacticalJoke no Oct 15 18:00:28 Though the one-constructor-only thing is weird. Oct 15 18:00:29 gordon_ also Ceylon ! Oct 15 18:00:38 they're bigger than 1080 Oct 15 18:00:38 a, forgot about that one Oct 15 18:00:45 and c# Oct 15 18:00:46 Yeah, but they're compatible with 1080p, right? Oct 15 18:00:48 "Natively"? Oct 15 18:00:53 what ? Oct 15 18:00:55 no Oct 15 18:01:01 I mean... Oct 15 18:01:02 math Oct 15 18:01:04 Nexus 9 has a big problem: it runs an nvidia processor. Oct 15 18:01:05 Nexus 6 is 2560x1440 so I'd think the Nexus 9 is 2048x1536.. but its not on the offical spec page Oct 15 18:01:09 "1080p videos won't look weird on them, right?" Oct 15 18:01:19 * StingRay_ walks away Oct 15 18:01:31 The Hudl 2 is 1920 x 1200. Oct 15 18:02:03 Wait. Another site says "1920 x 1080". Oct 15 18:02:09 StingRay_: lol Oct 15 18:02:27 TacticalJoke: for what? Nexus 9? Oct 15 18:02:34 Hudl 2. Oct 15 18:03:01 only UK users can cuddle their huddle Oct 15 18:03:02 oh, well thats 16:9 not 4:3 Oct 15 18:04:31 is nvidia chip bad ? Oct 15 18:05:17 StingRay_: What did you misunderstand about my question? Oct 15 18:05:30 TacticalJoke nope Oct 15 18:05:47 Okay, you're being an ass. Got it. Oct 15 18:05:58 huh? Oct 15 18:07:32 Hi, hello, how do I implement this NonLinearConjugateGradientOptimizer if I know the objective function, the partial derivative functions and I have a set of data to fit the function to? :http://commons.apache.org/proper/commons-math/apidocs/org/apache/commons/math3/optim/nonlinear/scalar/gradient/NonLinearConjugateGradientOptimizer.html Oct 15 18:07:34 TacticalJoke your just weird :) Oct 15 18:12:54 i want to create a drawable that'd be a transparent rectangle with top and bottom borders of different colors. can i do something along https://bpaste.net/show/631e601aae15 ? Oct 15 18:14:10 hey all Oct 15 18:14:14 sq how about a simple 9 patch? Oct 15 18:14:20 g00s: presumably they wanted it before the ipad news Oct 15 18:15:24 if i create a class outside of the MainActivity.java, how to i access its methods from the MainActivity? do i import it somehow? it is in the same package Oct 15 18:15:30 MikeWallaceDev_: don't want to create a bunch of 9patches, this seems more simple Oct 15 18:18:02 can you tell me where should I look if I want to create a library project and reference it in android app created side by side? I want the app to build and generate jar of the library project before compiling itself. Oct 15 18:18:13 also, some user just reported that my app crashes on ldpi because (drums) my 9patch was downscaled to width 0 Oct 15 18:21:58 i still wish google had a low price reference platform for developers Oct 15 18:22:11 ... for dev only Oct 15 18:24:24 i picked up a n7 since it was pretty cheap in 2013. i'm not spending $400 on HTC hw Oct 15 18:26:48 With the new SDK coming out does it make any sense to implement a new app using the google IO app source code? Or will there not be any additions to the already release changes? Oct 15 18:27:28 g00s: only for dev is not viable, but I do think they should offer discounts to people with Google Play developer accounts. Oct 15 18:28:20 how do I find out when the EGL context is lost from GlSurfaceView? Oct 15 18:28:22 Napalm i'm thinking a bare board, no battery or screen. just mem, storage, sensors, cpu, wifi, bt. plugs into machine via USB an is your HW emulator Oct 15 18:28:26 $499 for the Nexus 9 and $650 for the Nexus 6 ?? Google has lost it's touch Oct 15 18:28:34 something for like $100 Oct 15 18:28:42 would anyone happen to know why this doesn't show up in the docs? http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.4.4_r1/android/util/NtpTrustedTime.java/ Oct 15 18:28:57 it's allegedly public, and yet it's not in the docs Oct 15 18:29:07 is that just because it doesn't have docstrings? Oct 15 18:30:08 ggVGc: extend GLSurfaceView and implement surfaceDestroyed method.. see https://github.com/android/platform_frameworks_base/blob/3bdbf644d61f46b531838558fabbd5b990fc4913/opengl/java/android/opengl/GLSurfaceView.java#L530 Oct 15 18:31:09 g00s: you can already get those, look at the SoC modules. Oct 15 18:31:20 Napalm: no, with setPreserveEGLContextOnPause set to true, the context is not necessarily destroyed when the surface is. And aparently(from my monitoring), even after onStop, the context is not destroyed, because I can see the app still taking up memory for all textures Oct 15 18:31:33 hence why I am asking about the context and not the surface Oct 15 18:31:54 Napalm yeah but there is one piece missing; we should be able to interract with it via something like rdp / vnc. Oct 15 18:32:05 since it has no screen Oct 15 18:32:25 so i think google would have to write something there Oct 15 18:32:31 lahwran: see the @hide here https://github.com/android/platform_frameworks_base/blob/master/core/java/android/util/NtpTrustedTime.java#L30 Oct 15 18:32:40 oic Oct 15 18:32:57 does that mean it's not "published", despite being public? Oct 15 18:33:09 yes Oct 15 18:33:20 so don't use it in published apps Oct 15 18:33:29 probably safe to use in a personal app though, right? Oct 15 18:33:54 ggVGc: sorry, mis-understood your question Oct 15 18:34:04 lahwran: your choice Oct 15 18:34:44 g00s: i wouldn't think so, should be possible without it Oct 15 18:34:59 also, anyone know how parental control apps work without root? I'm stumped as to how some of these blockers could possibly work Oct 15 18:37:29 g00s: http://www.enclustra.com/en/products/system-on-chip-modules/mars-zx3/ Oct 15 18:38:15 supports android 4.1.2 Oct 15 18:38:34 what my point is, this should be a google project kept up to date like nexus Oct 15 18:38:45 yes, agreed Oct 15 18:39:03 but its not a big deal to do it yourself, probably why they've not bothered Oct 15 18:39:31 you get the 4.4 source get the kernel config from that current BSP for 4.1.2.. build Oct 15 18:40:00 ok, perhaps overly simplified, but you get my point Oct 15 18:41:22 g00s: want to start a kickerstarter for this? Oct 15 18:41:56 Napalm interesting, maybe ! Oct 15 18:42:15 g00s: get a board, uses your existing emulator "window" for input/output Oct 15 18:42:23 yes, thats the goal Oct 15 18:42:28 g00s: sounds like something genymotion should do Oct 15 18:43:02 there are plenty of good boards that come 'close enough' Oct 15 18:43:04 http://www.hardkernel.com/main/main.php Oct 15 18:43:36 oooo, nice Oct 15 18:45:19 but still, goal being that google treats this like the old beagleboards Oct 15 18:45:34 i think beagle has code in AOSP Oct 15 18:45:38 can someone please take a look at this? I'm dying over here... http://stackoverflow.com/questions/26347373/why-is-app-process-generating-an-segmentation-fault Oct 15 18:45:58 I am reading from a socketchannel 1024 bytes and writing it to audiotrack but the minimum buffersize of the audiortrack is much bigger than 1024 so i am trying to first read the minimum buffer size bytes and then write to audio track. Here is my source code http://pastebin.com/76WjTghD. I want to check with you guys if this is the right way to do Oct 15 18:46:11 as I am new to android programming Oct 15 18:47:17 bummer, that odroid doesn't have BLE Oct 15 18:48:01 sDurgam: see when it crashes, it tells' you the tombstone file.. in your post its /data/tombstones/tombstone_02 Oct 15 18:48:18 sDurgam: run: adb pull /data/tombstones/tombstone_02 Oct 15 18:48:41 sDurgam: from that file you can determine the direct cause Oct 15 18:49:24 oospoy Oct 15 18:49:31 MikeWallaceDev_: that was ment for you Oct 15 18:49:56 hhaha, I was like "Hey! That could apply to me too!" so I already did it ;) Oct 15 18:50:14 lin? Oct 15 18:50:15 link? Oct 15 18:50:34 you want to see the tombstone file? Oct 15 18:50:53 well only if you want help Oct 15 18:51:20 wait up Oct 15 18:52:17 http://pastebin.com/SMG3MzFJ Oct 15 18:53:04 sDurgam: im not sure what your trying to do, but it looks wrong.. why are you flushing and stopping after you write? Oct 15 18:53:23 is that supposed to be me again? :D Oct 15 18:53:31 nope :D not this time Oct 15 18:53:39 haha :D Oct 15 18:54:01 MikeWallaceDev_: L issues? ART runtime? Oct 15 18:54:24 4.4.3.43.43.43.43.43.43.43......... Oct 15 18:54:49 honestly, I don't know. It's my first build... I'm very lost in it Oct 15 18:57:07 MikeWallaceDev_: can you explain what your app was doing to cause this? Oct 15 18:57:49 nothing. I can't even install the app yet. This is app_process Oct 15 18:58:10 MikeWallaceDev_: oh, I solved my gradle manifest thing Oct 15 18:58:17 I tried installing from Android Studio, no dice. so I tried pm Oct 15 18:58:19 MikeWallaceDev_: open up the developer settings and switch the runtime to Dalvik Oct 15 18:58:33 pm calls app_process Oct 15 18:58:43 app_process crashes Oct 15 18:59:30 MikeWallaceDev_: looks like a issue with libc malloc implementation in ART. Oct 15 18:59:42 @Napalm the music is not playing after few writes. So to debug and see whats going on I flushed and played the trac again Oct 15 19:00:11 MikeWallaceDev_: http://pastebin.com/HPwieHAF if you care. it's ugly. :P Oct 15 19:00:25 Napalm, Dev Settings crashes :-/ Oct 15 19:00:36 MikeWallaceDev_: emulator? Oct 15 19:00:41 yes Oct 15 19:01:14 MikeWallaceDev_: shut it down, clear your data partition, and start it back up Oct 15 19:02:01 shut down, how do I clear the data partition? Oct 15 19:02:19 under the emulator settings Oct 15 19:02:37 I'm running "emulator" from the CLI Oct 15 19:02:53 if you're going to delete your data partition in it, just delete your device and make a new one Oct 15 19:04:09 MikeWallaceDev_: #emulator -avd name -wipe-data Oct 15 19:04:31 yep, just found it. I'm not using an avd name though Oct 15 19:04:47 It's AOSP, built by me (no changes) Oct 15 19:05:46 ok, starting up Oct 15 19:06:48 are there any places that i can download simple apps to help me learn? like a simple thing that connects to the internet, or causes events to happen onClick, etc.? Oct 15 19:07:08 skrite, there are many Android sample in the sdk Oct 15 19:07:22 sDurgam: i dont understand your problem, you read 1024 bytes from your socket channel.. queue up the buffer and write it to the audiotrack as a consumer. Oct 15 19:08:13 skrite: look at the training and guides sections of the docs. http://developer.android.com/training/index.html http://developer.android.com/guide/index.html Oct 15 19:10:32 @ Napalm: yes Oct 15 19:10:49 sDurgam: so whats the problem? Oct 15 19:11:48 i hear noise when i play the audiotrack Oct 15 19:12:06 instead of music after sometime Oct 15 19:13:37 ok guys I think I just came up with a brilliant idea Oct 15 19:13:49 Listening :D Oct 15 19:14:39 to add viewing picture slide show to my media player, but not only slide show, zoom into the picture like the flipboard cover Oct 15 19:15:04 and the briliiant part is, you scan for faces in the picture and make that the zoom focal point Oct 15 19:15:14 the closest face Oct 15 19:16:13 or closer and closer to center face if many people exist in the photo Oct 15 19:18:15 now someone make that for me please ? Oct 15 19:18:29 hahaha Oct 15 19:18:34 what's your budget? ;-) Oct 15 19:18:45 $0 Oct 15 19:19:19 anyway, it is possible, I'll do it someday Oct 15 19:19:35 but now that I told everyone, someone else will beat me to it Oct 15 19:21:11 hahaha Oct 15 19:21:12 yeah :D Oct 15 19:21:27 btw, ever seen this weird thing with Eclipse? http://i.imgur.com/5vWsElx.png Oct 15 19:25:29 Napalm: thanks Oct 15 19:32:26 Consider my android library project package name is com.apache.www which corresponds to src/com/apache/www/ I want to create another dir in www like src/com/apache/www/interfaces/ with file Model.java So it looks like this src/com/apache/www/interfaces/Model.java. Now if I import com.apache.www.interfaces.Model then it does not work with error: cannot find symbol. is it not possible? Oct 15 19:33:37 sheikhaman: yes, i've seen it before on Eclipse running in Mint. Go to Window and reset your perspective. Oct 15 19:34:01 "Reset Perspective" Okay, trying that now Oct 15 19:35:08 Whaaaaaaaaaaaaa Oct 15 19:35:15 Napalm, that was a life saviour! :D Oct 15 19:35:18 really! Oct 15 19:35:22 thanks so so much! Oct 15 19:37:40 np Oct 15 19:49:02 if you see in google api it is done https://developer.android.com/reference/com/google/android/gms/cast/Cast.ApplicationConnectionResult.html Oct 15 19:54:08 Are you sure Model is accessible? Oct 15 19:54:10 is it public? Oct 15 19:54:42 sheikhaman: good call Oct 15 19:54:58 Napalm, :) Oct 15 19:55:43 yes if I keep it outside interfaces it works Oct 15 19:56:04 I have Log.d there so I am sure Oct 15 19:56:35 note that AndroidManifest.xml has package set to com.apache.www Oct 15 19:56:38 neutralizer: he means the class has to be "public class Model {" Oct 15 19:56:52 Napalm: yes I meant the same Oct 15 19:57:09 neutralizer: if its not public then its package private, meaning it has to be the same package Oct 15 19:57:11 I said it's working without changing the source code at all but just moving it around Oct 15 19:57:42 I thought you said it cant find it, if you move it Oct 15 19:57:44 can I make that dir (interface/) public? Oct 15 19:58:27 src/com/apache/www/Model.java < this works but not this > src/com/apache/www/interfaces/Model.java Oct 15 19:58:33 omg Oct 15 19:58:54 neutralizer: pastebin your Model class Oct 15 20:00:45 here http://paste.ubuntu.com/8566874/ Oct 15 20:01:06 if you move the file did you update your package path in the top of that file? Oct 15 20:01:17 nope Oct 15 20:01:22 keeping it intact Oct 15 20:01:23 that'll be it Oct 15 20:01:41 ah let me test it Oct 15 20:01:47 if you move the folder it is in, update the "package com.apache.www;" to "package com.apache.www.interfaces;" Oct 15 20:02:56 yay it works! thanks Napalm!!! Oct 15 20:03:37 I know I am bad with basics but I couldn't find it either Oct 15 20:07:09 Why does ByteArrayOutputStream define 'close'? It's useless (and already defined with the right behaviour in the superclass). Oct 15 20:07:55 TacticalJoke: because it must implement it as a OutputStream Oct 15 20:09:01 Hmm. I don't see why it has to. Oct 15 20:09:09 OutputStream.close is defined. Oct 15 20:10:25 The question could also be "Why isn't OutputStream.close abstract?". :) Oct 15 20:12:48 5.9". really google? Oct 15 20:14:06 will it bend? Oct 15 20:15:07 probably ^^' Oct 15 20:15:14 time to get a nex 5 for me.. Oct 15 20:15:27 I like mine Oct 15 20:15:54 yeah im on nex 4 and wanted to buy a 5 a few month ago but then waited for the release of the 6. Oct 15 20:15:58 Is the world gonna move away from 7-inch tablets now? Oct 15 20:16:13 i mean a 5.2" would have been totally fine. Oct 15 20:16:27 but I dont want to buy baggies to carry arround my phone Oct 15 20:16:29 Even the 4 has a big screen. Hard to text one-handed while walking down the street. Oct 15 20:16:40 true Oct 15 20:16:56 danijoo nex 5 not come down in price though... Oct 15 20:17:07 StingRay_: yeah just read it :( Oct 15 20:17:08 would have expected it to really Oct 15 20:17:22 and nexus 4 wont receive Lollipop (in near future) Oct 15 20:17:23 Their new site has the 5, the 6, and the 8. Oct 15 20:17:30 Kinda acting like the 5 is just as new as the others are. Oct 15 20:17:35 Or is it 9? Oct 15 20:17:54 Okay, 9. Oct 15 20:18:05 i think ill get a used 5 from amazone maybe Oct 15 20:18:25 TacticalJoke was not being an ass earlier btw…just that question was a bit…well…very odd Oct 15 20:18:42 Okay. Sorry. I guess I misread. Oct 15 20:18:43 TacticalJoke, maybe they will update the 5 like they did with the 7 Oct 15 20:18:45 danijoo in the UK they were selling them at £230 not long ago Oct 15 20:19:09 Their naming system is crazy. Oct 15 20:19:11 StingRay_: its 280 € for a used one in Germany (amazon) Oct 15 20:19:14 It doesn't exactly scale. Oct 15 20:19:21 danijoo dam! Oct 15 20:19:22 looks like a good prize to m Oct 15 20:19:26 me Oct 15 20:19:37 or at least a fair one Oct 15 20:20:21 buying it as company mobile phone anyways :p Oct 15 20:21:12 I badly need a tablet to test on. Oct 15 20:21:18 Think I'm gonna go with the Hudl 2. Oct 15 20:21:39 I though they were UK only Oct 15 20:22:04 Yeah, I'm in England. Oct 15 20:22:15 really? Oct 15 20:22:24 where? I cant see you Oct 15 20:22:36 Indubitably. :D Oct 15 20:23:00 Near London. I hope you can't see me. ;| Oct 15 20:23:45 What colour top am I wearing? Oct 15 20:24:10 blue/white Oct 15 20:24:14 trick question: he wears no top :D Oct 15 20:24:17 :D Oct 15 20:24:22 It's blue. *shock* Oct 15 20:24:25 and it's a bra Oct 15 20:24:29 xD Oct 15 20:25:42 It's a jumper/sweater. Oct 15 20:25:46 nexus 6 looks massive X) Oct 15 20:26:11 I have long fingers, but these big phones are just too large for one-handed operation. Oct 15 20:26:15 Especially when walking outside. Oct 15 20:26:20 yeah Oct 15 20:26:34 5" is the maximum in my opinion Oct 15 20:26:39 thats the point of a mobile phone lol Oct 15 20:26:43 its already phat, but still useable Oct 15 20:26:57 5.9" just looks redicoulus if you are telephoning.. Oct 15 20:26:58 how much is it gonna cost? Oct 15 20:27:06 might get one for testing X) Oct 15 20:27:12 550€ Oct 15 20:27:21 We need resizable phones. Oct 15 20:27:28 for which version? 32? Oct 15 20:27:53 TacticalJoke: you can fold an iphone to half size :D Oct 15 20:27:56 haha Oct 15 20:28:06 I wonder whether Activities would be destroyed and recreated on resizable phones. Oct 15 20:28:21 danijoo: ^ Oct 15 20:28:38 Hi Oct 15 20:28:45 I think google would invent a new api for it Oct 15 20:28:48 O hai. Oct 15 20:28:50 Everyone excited for Nexus 6? Oct 15 20:28:59 I'm excited in a vicarious way. Oct 15 20:29:06 lol Oct 15 20:29:15 you might have to call getSupportResizeManager().registerOnResizeListener(new OnResizeListener..... ) Oct 15 20:30:47 public void onResize(View view) { throw new UnsupportedOperationException(); } Oct 15 20:31:03 thats the default implementation if youdont override ^^; Oct 15 20:35:54 ugh, why would layout margins not be reflected sometimes in items in a listView (well views) Oct 15 20:36:13 first and last specifically Oct 15 20:36:39 There's gonna be a new ListView, right? In Material thingy. Oct 15 20:36:41 I just got this error: method ID not in [0, 0xffff]: 65536 Oct 15 20:36:46 or why is there no built in scroll padding for 1st and last item Oct 15 20:36:54 RecyclerView. Oct 15 20:37:26 some google search says it's because I have too many dex methods but i only counted up about 40k excluding my code and I definately dont have 20k methods in my code Oct 15 20:37:41 TacticalJoke: yeah recyclerview and cardview will be neew Oct 15 20:37:44 alexfu: Do you link to huge libraries? Oct 15 20:37:56 Oh, you answered that. Never mind. Oct 15 20:40:24 TacticalJoke: yeah, I'm linking play services which we all know is huge Oct 15 20:40:39 and jooq. Jooq takes up about 17k, almost 18 Oct 15 20:41:43 On a side note, this method limit is insane. Oct 15 20:41:58 And my understanding is that it will still be a problem with ART. Don't get that. Oct 15 20:42:41 alexfu: I think someone in here may be able to help you. I don't know enough on this topic, unfortunately. Oct 15 20:42:59 Is there a way to count the number of methods referenced from your APK? Oct 15 20:43:31 TacticalJoke: yes, but i'd have to build first which i cant do b/c of this error. Oct 15 20:43:43 Hello! Oct 15 20:44:07 Damn. Oct 15 20:45:22 Question about Google Play policy. If i publish a game where user can acquire coins via TapJoy (completeing surveys), but these coins cant be purchased (because my country is not supported by Google Checkout :(), will that get my app banned? Oct 15 20:52:46 alexfu: You may want to try this https://github.com/mmin18/Dex65536 ... Oct 15 20:53:02 alexfu, I have encountered the problem before and looked into it, but that solution is new to me... Oct 15 20:53:28 if it works it's cool...I can put my Excel-compatible spreadsheet on Play finally... Oct 15 20:53:39 I'm too busy porting Xscreensaver currently though... Oct 15 20:53:41 Ologn, TacticalJoke I downgraded play services to 5.0.88 from 6.+ and the error is gone. Oct 15 20:54:26 alexfu, interesting...yaa, speakers at Droidcon were complaining about that..how Play services was growing and maxing out dex limits Oct 15 20:54:37 more than one mentioned that Oct 15 20:54:40 Damn. Glad the error's gone. What a crazy situation. Oct 15 20:54:46 android rule #1 the play service version increase actually stands for an increase in bugs. Oct 15 20:55:07 Wonder whether they'll fix anything in future. Oct 15 20:55:20 Well the guy who was going to fix it left Oct 15 20:55:37 maybe after he saw the source code :D Oct 15 20:55:52 Dan Bornstein Oct 15 20:56:05 How would he fix it? Just curious. Oct 15 20:57:09 Break out the library out such that the library is a collection of modules instead of one giant module? Oct 15 20:57:41 so you can require what you need only and nothing more Oct 15 20:58:20 TacticalJoke, not sure. He mentioned once that he was going to look into fixing it but then he left Google. Oct 15 20:58:45 Ah, breaking it up makes sense. Oct 15 20:59:12 As controversial as this is gonna sound, I think Microsoft never would've made these mistakes. Oct 15 20:59:35 Sometimes I feel like Google doesn't think ahead very well. Oct 15 20:59:59 ok, so for shits and giggles i compiled my apk and wow.. method counts are at 63169. I guess i must of missed something when i did the calculation before Oct 15 21:03:43 and my code only accounts for 258 Oct 15 21:03:51 wtf Oct 15 21:05:31 It be crazy, yo. Oct 15 21:11:59 Does anyone know if ActionBarSherlock uses guava? Oct 15 21:12:20 can someone list the different types of navigation uis? i’m new to android and i’m having a hard time grasping all the different kinds of navs Oct 15 21:13:08 the one’s i know of are the menu button, the navigation drawer (https://developer.android.com/design/patterns/navigation-drawer.html), the tabs, but i’ve also seen some topbars similar to iphone Oct 15 21:13:45 eghdk: I hightly doubt it. Oct 15 21:14:05 is that the action bar? Oct 15 21:14:20 eghdk, i think the coder of that library is here Oct 15 21:14:24 i think its JakeWharton Oct 15 21:14:40 Duckily, the menu button and action bar are more for context actions, related to the currently vissible content, while the navdrawer/tabs are for switching content, "pages" Oct 15 21:14:54 alexfu: Because I'm hitting my dex limit and I know guava is heavy, but I have a dependency on guava, but when I remove it my app crashes, and it doesn't give me any logs... =( Oct 15 21:15:00 Google recommends that devices not have a menu button, FWIW. Oct 15 21:15:21 darken: so where would you expect a signout button for the application? Oct 15 21:15:31 depends on the app Oct 15 21:15:36 TacticalJoke: do you mean apps not have a menu button Oct 15 21:15:39 eghdk: are you using Guava directly? Oct 15 21:15:44 Oh, I meant hardware buttons on devices. Oct 15 21:15:48 eghdk: what other libs are you using Oct 15 21:15:53 Apps have menus in the Action Bar overflow is fine. Oct 15 21:16:08 common placements are in the actionbar or at the bottom of the navigation drawer Oct 15 21:16:19 alexfu: I'm using a lot of other libs. mergeAdapter, androidAsyncHttp, ABS, and some other small widgets Oct 15 21:16:37 darken: so i shouldn’t use the menu button? Oct 15 21:16:55 TacticalJoke: doesn’t the nexus have a soft menu button? Oct 15 21:16:56 menu button is really a confusing term on android Oct 15 21:17:09 eghdk: chances are, one of those is depending on Guava then Oct 15 21:17:26 darken: yeah its so frustrating with all the different devices too Oct 15 21:17:35 Duckily, if you place the signout button in an overflow menu in the actionbar, the "physical" menu button usually opens that overflow menu Oct 15 21:17:43 Duckily: Which Nexus device? No new one does. Oct 15 21:17:45 alexfu: But when I build it in android studio it works. its not until it runs on a device that it complains. Oct 15 21:17:55 darken: don’t androids all have 3 buttons? Oct 15 21:18:03 eghdk: what's the error? Oct 15 21:18:04 Google used to favour hardware menu buttons; not anymore. Oct 15 21:18:10 darken: so you would recommend that? Oct 15 21:18:18 Duckily, i would recommend to put it in the actionbar Oct 15 21:18:30 TacticalJoke: i didn’t mean a hardware button, i meant soft button thats usually present Oct 15 21:18:37 You mean an on-screen button? Oct 15 21:18:54 TacticalJoke: like here: http://www.google.com/nexus/5/ Oct 15 21:19:12 I miss the hardware menu button :( Oct 15 21:19:16 That's a back button, a home button, and a recent-apps button. Oct 15 21:19:17 TacticalJoke: see the have the 3 shapes Oct 15 21:19:33 Menu buttons are usually at the top-right. Oct 15 21:19:40 hmm ok, so none of those pull out the menu Oct 15 21:19:45 Right. Oct 15 21:20:00 depending on how often you sign out (because usually you don't sign out on app close), you could place the signout "button" in a settings page too Oct 15 21:20:02 i had trouble on a galaxy today and learned that you need to press and hold the bottom left button to access the meny Oct 15 21:20:21 menu* Oct 15 21:20:25 TacticalJoke: ^ Oct 15 21:20:44 Press and hold for a menu? I've never heard of that. Oct 15 21:20:47 iirc the soundcloud app has the logout entry in the settings Oct 15 21:20:55 I've heard of pressing and holding for the recent-apps screen. Oct 15 21:21:06 TacticalJoke: http://www.androidcentral.com/samsung-galaxy-s5-menu-button-hidden Oct 15 21:21:36 we had problems with customers today because of this Oct 15 21:21:51 you shouldnt need that on an S5 Oct 15 21:22:00 They use on-screen menus. Oct 15 21:22:02 s5 will show menu button by default Oct 15 21:22:07 Seems like that hardware option is just for weird edge cases. Oct 15 21:22:15 Its "hidden" because its not needed Oct 15 21:22:25 TacticalJoke, for wrongly coded apps that choose the wrong compatibiltiy mode :) Oct 15 21:22:35 Right. Oct 15 21:22:54 or if you have a S5 running GB :D Oct 15 21:22:57 TacticalJoke: our app doesn’t show menu other than on menu button Oct 15 21:23:05 :-( Oct 15 21:23:07 Duckily: Does your app use an Action Bar? Oct 15 21:23:18 no, because all our dev devices have a menu button Oct 15 21:23:29 we only found today that some newer ones don't Oct 15 21:23:32 lol Oct 15 21:23:35 Most new devices don't. Oct 15 21:23:41 yeah :-( Oct 15 21:23:43 Google is trying to push everyone away from hardware menu keys. Oct 15 21:23:44 lol. no new devices have em. Oct 15 21:23:47 and by new, he means 2012 Oct 15 21:23:50 And has been doing so for years. Oct 15 21:23:52 Most older devices don't have em either. Oct 15 21:24:00 Do any new Samsungs have them? Oct 15 21:24:01 and this is why i hate programming on android Oct 15 21:24:02 The only old devices that have are samsungs Oct 15 21:24:02 I thought some did. Oct 15 21:24:08 Duckily: Just use an ActionBar. Oct 15 21:24:15 TacticalJoke: ok thanks! Oct 15 21:24:22 i think that’s good advice Oct 15 21:24:24 can i see your app Oct 15 21:24:30 Which is the lowest version of Android you're supporting? Oct 15 21:24:37 TacticalJoke: 2.2 Oct 15 21:24:49 Do you really need to go that low? Oct 15 21:24:53 I never go below 4.0. Oct 15 21:25:03 It's such a headache coding for older versions. Oct 15 21:25:15 go as low as you can, you'll get more users Oct 15 21:25:17 TacticalJoke, it's an existing app not a new one i assume Oct 15 21:25:18 TacticalJoke: yeah, we have a few people using 2.2, we’re doing enterprise software and we have construction companies as customers Oct 15 21:25:24 I see. Oct 15 21:25:36 MikeWallaceDev, going <2.3 is not worth the effort Oct 15 21:25:37 some people have really old phones unfortunately Oct 15 21:25:38 MikeWallaceDev: So few people are below 4.0 these days. Oct 15 21:25:49 define few Oct 15 21:25:49 Duckily: I guess you can use ActionBarCompat. Oct 15 21:26:13 we actually have very very few people running over android 4 Oct 15 21:26:14 10% of 5 million? That's a lot Oct 15 21:26:36 Duckily: Do you possess a time machine? Oct 15 21:26:39 and a lot of them can’t even upgrade because of devise support Oct 15 21:26:41 time-travel* Oct 15 21:26:48 I'm joking. Sorry. Oct 15 21:26:52 MikeWallaceDev, <2.3 is 0,7% Oct 15 21:26:58 TacticalJoke: i wish, just look at the stats (and then double them) Oct 15 21:27:08 And you have to consider that most people still on 2.2 or 2.3 would not spend money either Oct 15 21:27:23 darken: its the businesses spending the money, not the users Oct 15 21:27:38 Duckily: With ActionBarCompat, new phones will show the menu button at the top right; old phones will allow the use of the hardware menu key. Oct 15 21:27:49 Duckily, wasn't referring to your case, enterprise software for customers is a different story from "normal" apps in the store Oct 15 21:27:54 Apps look bar without ActionBars, too. Oct 15 21:27:56 Generally speaking. Oct 15 21:27:57 darken: true Oct 15 21:28:15 TacticalJoke: yeah i noticed, theres this ugly slim gray line thing Oct 15 21:28:20 with the app name Oct 15 21:28:29 Right. lol Oct 15 21:28:38 Android sucked so much in the past. It's sucking less as time goes by. Oct 15 21:28:46 but even for existing userbases I'd probably just raise the min version, they still get the app, just no updates Oct 15 21:28:53 TacticalJoke disagree, more and more Oct 15 21:29:08 * MikeWallaceDev is with StingRay_ Oct 15 21:29:09 StingRay_: It's getting worse? ;o Oct 15 21:29:10 it's going the way of fluff and fairy dust Oct 15 21:29:18 I like the look of Material Design. Oct 15 21:29:19 darken: sometimes we need to add features for everyone unfortunately Oct 15 21:29:21 But I don't find it amazing. Oct 15 21:29:21 and fairy poop Oct 15 21:29:28 Candy & Lollipop :) Oct 15 21:29:31 TacticalJoke material design is no android Oct 15 21:29:44 i wonder how much of it is googles fault and how much of it is the “microsoft problem" Oct 15 21:29:49 it's a style guide for people who can't design Oct 15 21:29:58 It's a new API, too, though. Oct 15 21:30:05 is it ? Oct 15 21:30:06 New widgets. Oct 15 21:30:06 where ? Oct 15 21:30:11 but until it approves, android will never have the same quality apps as ios Oct 15 21:30:12 It'll be in the v7 support library Oct 15 21:30:12 . Oct 15 21:30:22 nope…it's a style guide Oct 15 21:30:23 Widgets are not an API :) Oct 15 21:30:29 eghdk: no, it doesn't Oct 15 21:30:30 They're part of an API. Oct 15 21:30:46 The only API I know is the z order in the views Oct 15 21:30:46 TacticalJoke please… there it's a style guide Oct 15 21:30:49 not an api Oct 15 21:31:59 (this time out is brought to you by TacticalJoke google searching for API changes :D ) Oct 15 21:32:23 lol Oct 15 21:32:29 :D Oct 15 21:32:30 I'd already looked, earlier. I was googling this today. Oct 15 21:32:37 I also watched the talk. Oct 15 21:32:43 we all did Oct 15 21:32:59 What talk? Oct 15 21:33:00 if you think you need L to do some material design, something is wrong ! Oct 15 21:33:08 They do mention new APIs, though the preview page talks about new APIs only for custom shadows and animations. Oct 15 21:33:20 "New APIs for custom shadows and animations" Oct 15 21:33:40 JakeWharton: Thanks for confirming. Idk why I went from eclipse to Android studio and now I get this message and I cant install on 2.3 devices. Oct 15 21:33:52 Right, I consider that just an increment in Chet Hasse's work Oct 15 21:34:02 animation is always improving Oct 15 21:34:11 JakeWharton: When create views like in GalleryView how do you handle reuse? Oct 15 21:34:46 It seems like you would always have to know you need to put a ProgressBar and StaggeredGridView inside of the GalleryView Oct 15 21:35:10 There's a new Material theme, right? Oct 15 21:35:21 yeah Oct 15 21:35:35 So it's not really the case that we can do Material Design already. Oct 15 21:35:42 New components are needed. Oct 15 21:36:19 TacticalJoke nope Oct 15 21:36:20 but that's just a theme, like StingRay_ said, it's design Oct 15 21:36:58 I <3 the changing notification-bar colour, on a side note. Oct 15 21:37:24 actually even in 1 of the talks, silly dev asked when material design is in the support libs, guy from google actually said…erm….it's a style guide…so now Oct 15 21:37:24 I tried that on Omnirom, it confused me... Oct 15 21:37:32 and for the last few years Oct 15 21:37:40 s/notification/status/ Oct 15 21:38:18 StingRay_: In the talk I watched today, the Google guys said some key functionality is gonna be available in v7. Oct 15 21:38:31 yeah, nothing to do with design Oct 15 21:38:44 anims are not a new thing, colors not new, shadows not new Oct 15 21:38:57 material design = pastels and shadows :) Oct 15 21:39:03 But if they're specific to Material Design then they are surely a part of it. Oct 15 21:39:24 Material Design is a style guide, not functions or api's Oct 15 21:39:32 +1 Oct 15 21:39:36 you are thinking shadow and color... Oct 15 21:39:59 Any of you guys ever got this error? Getting it only on 2.3 devices "Installation failed since the device possibly has stale dexed jars that don't match the current version (dexopt error). In order to proceed, you have to uninstall the existing application." Oct 15 21:40:08 TacticalJoke: 12% of people still use android 2 :-( Oct 15 21:40:19 is this going to be like ie 6 on the web :-( Oct 15 21:40:26 Duckily: https://developer.android.com/about/dashboards/index.html Oct 15 21:40:34 2.2 is 0.7% of Google Play visitors. Oct 15 21:40:43 TacticalJoke: what about 2.3? Oct 15 21:40:57 11.4 Oct 15 21:41:02 yeah thats a huge amaount Oct 15 21:41:06 but those 11.4 dont download anything anyway Oct 15 21:41:17 eghdk: they unfortuantely download our app Oct 15 21:41:35 Yeah I know. I have to support 2.3 as well. Oct 15 21:41:37 eghdk: if they didn’t download anything they wouldn’t upgrade to google play and their statistice wouldnt show there Oct 15 21:41:42 It's a lowish number that'll drop more and more. :D Oct 15 21:41:55 TacticalJoke: 10 years? Oct 15 21:41:56 heh Oct 15 21:41:58 It's literally a handful of people, and it costs every company a lot more money just to support it. Oct 15 21:42:05 It's just like the IE 6 tax. Oct 15 21:42:08 yep Oct 15 21:42:22 It's been going down fast though. Oct 15 21:42:22 I bet it'll be 5% in a year. Oct 15 21:42:30 i doubt it Oct 15 21:42:31 Or lower. Oct 15 21:42:40 I think it was 20% this time last year. Oct 15 21:42:44 Though I could be misremembering. Oct 15 21:42:49 I'd say about .75 percent each month now. Oct 15 21:42:51 it hasn’t gone down more than a couple ponts since i looked last year Oct 15 21:43:02 I wish we could get a country breakdown of device api level Oct 15 21:43:20 eghdk: that might just be because a lot more people are getting android devices, not that the number on 2.3 is actually getting lower Oct 15 21:43:37 i wish we had numbers instead of percentes Oct 15 21:45:59 Unless android consists of only 100 people 12 percent of any number is going to be a huge number of users, but most apps rather come up with awesome things to use the new api with than puttin so many countless hours to support 2.3 which will die inevitably. Oct 15 21:46:01 Duckily: Is your app on Google Play? Oct 15 21:46:03 Just curious. Oct 15 21:46:34 TacticalJoke: it was, we had to take it down to resolve this Oct 15 21:46:52 You took it down because of the menu issue? Oct 15 21:47:06 yeah because nobody can signout Oct 15 21:47:10 Can someone have a look at my IRC bot on https://github.com/MicroDroid/Ice/tree/buggy ?, i handle the "%se" command at line 357 in CommandHandler.java, it just queries StackExchange sites to get an answer,in the StackExchangeQuery, i have a HashMap result, the keys are questionsID's, in the end of the class, there's a tiny for-loop that clones the elements so i can get the values either by question id or by order, 1,2,3,etc., if i query them by q Oct 15 21:47:11 uestion id i get the value, if i query by order i get NullPointerException Oct 15 21:47:13 and we had a support storm Oct 15 21:47:29 Duckily: Damn. lol Oct 15 21:47:32 i get NPE at line 636 Oct 15 21:47:37 yeah :-( Oct 15 21:47:53 in commandhandler.java* Oct 15 21:48:16 I get INSTALL_PARSE_FAILED_NO_CERTIFICATES when I try to run the app in eclipse on a virtual device. Any ideas how to fix this? Oct 15 21:48:17 Isn't that fixable just by specifying a high-enough targetSdkVersion? Oct 15 21:48:27 Doesn't that put a menu button on screen? Oct 15 21:48:36 For devices without a dedicated menu key. Oct 15 21:48:52 OMG Oct 15 21:48:55 no wait Oct 15 21:49:06 i wrote this in the wrong channel Oct 15 21:49:08 oh my Oct 15 21:49:20 * OverCoder embarrassed Oct 15 21:49:21 OverCoder, we noticed ;) Oct 15 21:49:30 :P Oct 15 21:49:34 OverCoder, you are missing the AndroidManifest I'm sure thats it Oct 15 21:49:54 lolno it's not an android app by anyway :P Oct 15 21:50:04 Well not with that attitude Oct 15 21:50:46 why are you wrapping everything in } catch (Exception e) {} Oct 15 21:50:48 Duckily: So the problem is that phones without a hardware menu button cannot access your menu? Oct 15 21:51:27 TacticalJoke: no they can because there seems to always be a way to replicate the behavior, people just can’t seem to figure it out on new devices Oct 15 21:51:34 like on samsung how you have to hold that button Oct 15 21:51:56 Duckily: Do you have a device that doesn't have a hardware menu button? Oct 15 21:52:04 darken, what? Oct 15 21:52:17 we don’t have one that does all our test devices had soft menu buttons Oct 15 21:52:22 not everything but some exception i just don't want to handle them Oct 15 21:52:32 TacticalJoke: but now we got a galaxy s5 to test on Oct 15 21:52:37 like, the user might just try to break it :P Oct 15 21:52:44 Duckily: What is your targetSdkVersion? Oct 15 21:52:49 2.2 Oct 15 21:52:59 Try increasing that and then running on the s5. Oct 15 21:53:05 It might display a menu button at the bottom-right. Oct 15 21:53:13 I'm not sure, but I think this should happen. Oct 15 21:53:24 yes, it should Oct 15 21:53:24 Increase it to at least 14. Oct 15 21:53:35 but then we can’t support old devices Oct 15 21:53:54 I'm talking about "targetSdkVersion", not "minSdkVersion". Oct 15 21:53:59 oh Oct 15 21:54:04 sorry, our target is 19 Oct 15 21:54:25 That's weird. I would expect a menu button to appear on the screen in devices without hardware menu keys. Oct 15 21:54:38 then you should see the ... menu Oct 15 21:54:49 How can I get dmesg working? Oct 15 21:54:53 It says permission denied Oct 15 21:55:48 I get INSTALL_PARSE_FAILED_NO_CERTIFICATES when I try to run the app in eclipse on a virtual device. Any ideas how to fix this? Oct 15 21:56:46 TacticalJoke: all of our devices have soft menu buttons, not hardware ones (like the nexus) Oct 15 21:57:07 i sent you the article hwo to replicate on samsung, its just a bit hidden Oct 15 21:57:07 johnflux rooted? Oct 15 21:57:08 Nexus doesn't have hardware buttons Oct 15 21:58:01 Duckily: Your devices have on-screen menu buttons? I thought you said that your app didn't display on-screen menu buttons? Oct 15 21:58:17 StingRay_: hmm, no Oct 15 21:58:53 TacticalJoke: our app doesnt, our devices do Oct 15 21:59:23 So how do you access the menu from your devices? Oct 15 21:59:27 Your app's menu. Oct 15 22:00:06 bubo: sounds like your building a release version of the app but haven't signed your apk Oct 15 22:00:52 cryptojuice: i'm just going run so I can test it.. haven't had problems before with it Oct 15 22:01:22 hey Oct 15 22:01:46 i have a question, if i pass a variable to a method, it copies that variable Oct 15 22:01:48 however Oct 15 22:01:57 if i pass a cursor it doesn't copy the cursor Oct 15 22:01:59 why? Oct 15 22:02:16 I noticed that behaviour in some collections aswell Oct 15 22:02:25 objects are passed by reference Oct 15 22:02:29 it doesn't copy the object Oct 15 22:02:43 It copies the reference to the object Oct 15 22:02:47 JesusFreke: No, object refernces are passed by value. Oct 15 22:02:54 Java uses pass by value, not pass by reference. Oct 15 22:02:59 references* Oct 15 22:03:25 TacticalJoke: hence my qualifier "it copies the reference to the object" :) Oct 15 22:03:35 but yes Oct 15 22:04:36 I know what you mean. Just being pedantic because people get confused all the time by this. Oct 15 22:04:46 yeah, fair enough :) Oct 15 22:04:50 :D Oct 15 22:05:14 It's actually quite confusing, because we're passing references to either mutable or immutable instances by value. So anything can happen. Oct 15 22:06:50 So Oct 15 22:07:03 if i pass an int it copies, if i pass an object it passes the reference_ Oct 15 22:07:04 ? Oct 15 22:07:23 Primitives are passed by value. Object references are passed by value. Oct 15 22:07:33 Java is always pass-by-value. Oct 15 22:08:40 jvrodrigues: But what you said sounds about right. Oct 15 22:08:47 ah Oct 15 22:09:14 TacticalJoke see thats why I walked away earlier lol Oct 15 22:09:45 is there a website with examples of remarkably beautiful/well design apps? Oct 15 22:09:52 you seem to be a really gound/comprehensive programmer, and the … will HD look ok question Oct 15 22:10:13 or rahter FHD as people reference it Oct 15 22:10:16 rather* Oct 15 22:10:44 Oh, I was just wondering what was going on with the different screen sizes. But thanks. :D Oct 15 22:10:53 So a string also passes by value and not by object reference value? Oct 15 22:10:53 lasserix there are a few design sites that started doing apps Oct 15 22:11:03 jvrodrigues: The reference will pass by value. Oct 15 22:11:17 You pass (by value) basically the address of the string object. Oct 15 22:11:22 TacticalJoke yeah well unless there is no remainder in division, you are not looking at the best detail Oct 15 22:11:23 But if i pass a string into a method and alter it Oct 15 22:11:32 oohh then im creating a new object thus not altering the first one Oct 15 22:11:42 jvrodrigues: Right. Oct 15 22:11:46 Because strings are immutable. Oct 15 22:11:48 Strings* Oct 15 22:11:49 ofc ofc Oct 15 22:11:52 forgot about that Oct 15 22:11:55 ah i see Oct 15 22:11:59 But if you pass a StringBuilder (which is a mutable string), it can be mutated. Oct 15 22:12:06 i see Oct 15 22:12:11 very interesting Oct 15 22:12:13 jvrodrigues: but you can use references of objects to assign so forinstance foo(String s) { s="g"; } s will not be g outside of foo but foo(ObjectString s) { s.setString("g"); } will have set outside of foo Oct 15 22:12:53 yes, thats what I'm understanding Oct 15 22:13:09 or you can always String foo(String s) { modify s returns; } Oct 15 22:13:37 so a bit more complicated Oct 15 22:13:44 lets say i create an instance of object X Oct 15 22:13:57 i pass a reference of that X to object Y and object W Oct 15 22:14:08 if i alter it in object Y will object W see the changes? Oct 15 22:14:16 in a more concrete example Oct 15 22:14:23 jvrodrigues: If X is mutable, yes. If not, no. Oct 15 22:14:27 lets say i pass an adapter to two diferent fragments Oct 15 22:14:49 changing cursor on fragment 1 will change the adapter in fragment 2? Oct 15 22:14:57 the same instance will point to the same adapter Oct 15 22:15:46 so that would be a yes then Oct 15 22:17:10 Does mutating a Cursor mutate an Adapter? I've not yet used Cursors in Android. Oct 15 22:17:48 so lets say i do this: private void adapter(Adapter x){ this.adapter = x} --> will adapter still be a reference to x? Or will it be an instance of a new object copied from x? Oct 15 22:17:54 But the basic idea is that you are just passing around references to a single object. If that object is mutable, then any changes will of course be available everywhere. Oct 15 22:18:13 i see Oct 15 22:18:15 what if Oct 15 22:18:15 jvrodrigues: did you make x a new instance in the method ? if no, then yes Oct 15 22:18:29 if yes then yes ;p Oct 15 22:18:33 lol Oct 15 22:18:45 then how do i copy an object? Oct 15 22:19:05 determine if you need a shallow or deepy copy Oct 15 22:19:10 shallow is like that example Oct 15 22:19:22 deep copy means you iterate over all primitive and create new instances of each object Oct 15 22:19:38 that is, a deep copy will not share the backing data of the object copied, it will have its own backing data Oct 15 22:19:44 I see Oct 15 22:19:58 so that thing i did was a copy, a shallow one then Oct 15 22:20:06 yeah Oct 15 22:20:08 what would be the diference between adapter and x Oct 15 22:20:10 ? Oct 15 22:20:24 what would they share and what wouldnt they share Oct 15 22:20:39 they'd be the same except for in name Oct 15 22:20:40 They are two variables that hold the same value (the same reference). Oct 15 22:20:57 until you nullify one, then the other will be null too unless something else has a reference to it Oct 15 22:21:02 They're like pointers in C. Oct 15 22:21:39 ie foo() { new adapter x; new Adapter(x) { /stuff }} since x was created in the method scope the only retained refernce is in the adapter Oct 15 22:21:43 jvrodrigues: This is all explained here: http://www.yoda.arachsys.com/java/passing.html Oct 15 22:22:19 "Everything in Java is passed by value. Objects, however, are never passed at all." Oct 15 22:22:25 "The values of variables are always primitives or references, never objects." Oct 15 22:22:57 TacticalJoke and lasserix thank you very much will read on that Oct 15 22:23:33 jvrodrigues: Java is way, way simpler than C++ here. Oct 15 22:23:43 Just primitive values or reference values. Nothing else. Oct 15 22:24:37 TacticalJoke, from the article "It's amazing how far you can actually get without knowing it, in fact - but vast numbers of things suddenly make sense when you grasp it." Oct 15 22:24:47 never read something so right in my life Oct 15 22:24:56 :) Oct 15 22:25:28 That's a Jon Skeet article, BTW. So the likelihood of there being an error is around 0%. Oct 15 22:25:32 very important to understand when you do multithreading Oct 15 22:25:43 Where is everyone from? Oct 15 22:26:40 Britain/England Oct 15 22:26:50 my mum too! Oct 15 22:27:01 Are you close to London? Oct 15 22:27:18 yeah, used to work in soho and in sheps bush Oct 15 22:27:27 and can see u in your blue bra Oct 15 22:27:50 :D Oct 15 22:27:53 I'm in Essex. Oct 15 22:28:58 Essex! The land of the vajazzles Oct 15 22:29:06 lol Oct 15 22:29:40 I had to google that. lol Oct 15 22:29:44 Good job I opened a private tab. Oct 15 22:29:53 TacticalJoke how old are you ? Oct 15 22:31:58 30. Oct 15 22:32:16 I'm not sure whether that's young or old for this channel. Oct 15 22:32:30 how do you not know of vajazzles Oct 15 22:33:10 I guess I'm just too innocent. :D Oct 15 22:33:36 The closest I'd heard of was "vajayjay". Oct 15 22:33:47 With, of course, a different meaning. Oct 15 22:34:00 How old are you, StingRay_? Oct 15 22:34:06 36 Oct 15 22:34:09 I think Oct 15 22:34:14 lol Oct 15 22:34:24 1977 december Oct 15 22:34:28 I'm 12 and whats this? Oct 15 22:34:29 so whatever that makes me Oct 15 22:34:30 you sound like my brother, it takes him a while to count the years too :P Oct 15 22:34:38 lol jvrodrigues Oct 15 22:34:45 jvrodrigues: Which languages have you used before? Just curious. Oct 15 22:34:50 bankai_au less like I need to count, more like I dont really care :) Oct 15 22:34:58 Well, javascript Oct 15 22:35:06 and some very light C# for my master thesis Oct 15 22:35:15 thats where it all started really Oct 15 22:35:19 I might do a Benjamin Button. age--; Oct 15 22:35:21 then i went into web developing Oct 15 22:35:24 for a while Oct 15 22:35:31 Okay. Java is basically C# Lite. Oct 15 22:35:34 while working as an hydraulics engineer Oct 15 22:35:37 Fewer calories. Oct 15 22:35:55 then i decided coding was what i loved doing and been coding android/node.js for the past year or so Oct 15 22:36:06 but somehow this whole concept completely eluded me Oct 15 22:36:29 I used to have a thing about the preincrement operator for stand-alone expressions: "--i;" instead of "i--;" Oct 15 22:36:34 But that seems so unnatural. Oct 15 22:36:54 What is "android/node.js"? Oct 15 22:36:59 i = ++i - i--; Oct 15 22:37:00 can you apply view aniamtions to trigger in onattach and ondetach? Oct 15 22:37:10 lol.. vajazzling… what?? Oct 15 22:37:11 predecrement* Oct 15 22:37:19 I’m 29, Los Angeles Oct 15 22:37:27 TacticalJoke: when it is different it's almost very never used Oct 15 22:37:28 Android Oct 15 22:37:30 ready to party Oct 15 22:37:37 you do full time tricknology? Oct 15 22:37:38 android/node.js means ive been coding android and node.js at the company im at Oct 15 22:37:39 im down in oc Oct 15 22:37:48 Oh. Separately. I see. Oct 15 22:37:49 yes sir Oct 15 22:38:04 nice, hit me up if you ever want to collaborate on a project :) Oct 15 22:38:05 Thought you meant you were using Node.js to write Android apps. ;o Oct 15 22:38:09 for sure Oct 15 22:38:16 so far I have met 0 android devs out here :( Oct 15 22:38:31 you full time or independent contractor? Oct 15 22:38:40 full time salaried Oct 15 22:38:49 nice Oct 15 22:39:05 i see a lot of contract work on craig'slist for la Oct 15 22:39:26 yeah I get hit up by a lot of recruiters for contract work too Oct 15 22:39:44 sometimes people just want an app built quickly so they can sell the concept or whatever Oct 15 22:40:00 other times, it’s a big change and they need more devs for a short time Oct 15 22:40:05 yeah Oct 15 22:40:10 Sony hit me up for that once Oct 15 22:40:33 They needed someone Sr. though Oct 15 22:40:35 sony's playstation app is …erm… really really not good Oct 15 22:40:49 like so bad it's, abstract Oct 15 22:40:54 It wasn’t for that.. some new camera app Oct 15 22:40:57 on a new phone Oct 15 22:41:32 not even sure if it’s out yet.. this was in December or so Oct 15 22:41:56 tricknology: what kinds of apps you developing? Oct 15 22:42:43 on my own I’ve developed a location app, an app to determine phase composition of mixtures, a budgeting app, and an app to let me know when the hell I got to work, lol Oct 15 22:42:44 tricknology: I'm in OC. Where in LA are you? Oct 15 22:42:52 the valley Oct 15 22:43:04 jrummy: you in oc? me too ;p Oct 15 22:43:07 by northridge Oct 15 22:43:11 * ObrienDave moved out of LA 10 years ago Oct 15 22:43:23 sweet, let’s create a startup ^.^ Oct 15 22:43:34 I'm down. haha Oct 15 22:43:52 got to be a game company so we can not have to pretend to cater to enterprise Oct 15 22:44:03 lol Oct 15 22:45:52 anyone know the best way to upgrade to Android Studio 0.8.12 whilst retaining all settings etc? It needs to be downloaded separately Oct 15 22:46:16 can I just overwrite the existing installation? Or is there an "export preferences" setting of some kind I should use? Oct 15 22:46:29 export Oct 15 22:46:37 well at least in eclipse.. havent touched AS Oct 15 22:46:47 export -> general -> settings Oct 15 22:47:05 yeah you can export your preferences Oct 15 22:47:08 err preferences instead of settings Oct 15 22:47:13 Export Settings under file Oct 15 22:47:19 ah, there's File -> Export Settings Oct 15 22:47:22 just saw that, thanks :) Oct 15 22:47:23 :) Oct 15 22:47:27 it'll give you a jar you can reimport with import Oct 15 22:47:42 i love that you can do that.. Oct 15 22:47:52 I'll do that at some stage today, hopefully it doesn't miss anything Oct 15 22:48:05 Now if only you could move between eclipse and android studio as easily. Oct 15 22:48:26 in Android I use the moonrise plugin with rainbowdrops text highlighting Oct 15 22:48:29 with projects that is :P Oct 15 22:48:29 so magestic Oct 15 22:48:30 I found changing the keybindings in AS to Eclipse's keybindings was super-helpful Oct 15 22:48:51 https://raw.github.com/guari/eclipse-ui-theme/master/com.github.eclipseuitheme.themes.plugin/screenshot/sources_syntax_colors.png Oct 15 22:48:53 tricknology: I'm not sure what that is but it sounds magical Oct 15 22:48:56 screenshot Oct 15 22:49:06 colours the likes of which I've never seen!! Oct 15 22:49:16 isntead of white and purple and blue everywhere Oct 15 22:49:36 lol barbs.. Oct 15 22:49:41 needs more solarized. : Oct 15 22:49:43 :) Oct 15 22:50:07 haha it is a little bright at times Oct 15 22:50:26 dark-solarized, I mean :) Oct 15 22:51:21 that’s pretty nice.. I might have to give this a whirl, thanks JesusFreke Oct 15 22:51:36 if you use AS Oct 15 22:51:43 you can use all the intellij color schemes Oct 15 22:52:15 Yeah, I like it Oct 15 22:52:53 http://www.ideacolorthemes.org/ Oct 15 22:52:56 exc ept its down right now Oct 15 22:52:58 has hundreds Oct 15 22:55:03 I don’t use AS, waiting for v 1.0 Oct 15 22:55:23 might start at home Oct 15 22:55:33 I should really explore AS/IntelliJ plugins - right now I just use the IdeaVIM one I think Oct 15 22:55:57 tricknology: it's quite stable, I've been using it for high-end projects since the beginning of the year Oct 15 22:55:58 anyone have any data on the productivity of a user on eclipse vs a user on IntelliJIdea? Oct 15 22:56:27 IMO AS is much easier to use than eclipse. Mind you, I use Pycharm, other IntelliJ projects all the time. Oct 15 22:56:37 I don't have any data, but I do find it much less of a headache on AS than eclipse Oct 15 22:56:52 ok barbs: kind of what I was worried about.. bugs. And the learning curve.. if I encounter bugs while learning how to use it It might take awhile before I figure out it’s a bug, nahmean? Oct 15 22:56:54 I still have eclipse around for legacy projects, or if I need to sketch up something quickly in java Oct 15 22:57:27 tricknology: I honestly have not seen many bugs at all. Any I have seen have been patched up really quickly Oct 15 22:57:36 i like this for sketches.. or code snippits like “will this break?” Oct 15 22:57:42 http://www.compileonline.com/compile_java_online.php Oct 15 22:57:43 you can submit bugs on their bug tracker, they're quite responsive Oct 15 22:57:55 is foreach guarenteed to iterate monotonically? Oct 15 22:58:06 honestly, the transition from eclipse to AS was fairly smooth Oct 15 22:58:13 you guys should switch to intellij Oct 15 22:58:22 $$ Oct 15 22:58:29 if work pays I’m down Oct 15 22:59:00 ..or If I can take a tax deduction in April.. Oct 15 22:59:34 lasserix, what do you mean monitonically? Oct 15 22:59:49 like in the mathematical sense? never increasing or decreasing? Oct 15 22:59:54 (significantly) Oct 15 23:00:07 always increasing Oct 15 23:00:13 ie it'll always do 1 2 3 4 Oct 15 23:00:17 never 2 1 3 4 Oct 15 23:00:17 it utilizes an iterator.. so whatever you’re “foreaching” has to be iterable.. Oct 15 23:00:26 in all cases I’ve seen it has Oct 15 23:00:32 are iterators always monotonic? Oct 15 23:00:33 well Oct 15 23:00:37 not sure if guaranteed though Oct 15 23:00:37 standard ones anyways Oct 15 23:00:56 yes. IF you iterate over a list, e.g. you'll iterate in order. Oct 15 23:01:05 ^ Oct 15 23:01:07 Of course, things like a Map may not be in order Oct 15 23:01:34 *in order based on position in the list, of course Oct 15 23:01:44 that’s an interesting situation Oct 15 23:03:43 use treemap Oct 15 23:03:46 then its ordered ;p Oct 15 23:05:51 * g00s wonders if the n6 is a shot at samsung high end phones Oct 15 23:06:54 not sure, never even heard of Neken Oct 15 23:07:19 is the nexus 6 really going to be called “shamu”? Oct 15 23:07:27 instead of nexus 6 Oct 15 23:07:46 it's not "instead of" Oct 15 23:07:52 phones commonly have multiple names Oct 15 23:08:06 yeah but I heard that they may have some trademark issues with the name Oct 15 23:08:09 some sci-fi book Oct 15 23:08:19 ahh Oct 15 23:08:23 dunno :) Oct 15 23:08:23 and a line of androids/cyborgs Oct 15 23:08:31 in the book, named the nexus 6 line Oct 15 23:09:33 Blade RUnner Oct 15 23:09:40 tha’s the name Oct 15 23:14:32 is onAttach/onDetach okay to do animations for views? Oct 15 23:16:48 as opposed to? Oct 15 23:18:35 I don’t see why not, jsut don’t forget your onCreateAnimator() Oct 15 23:18:41 ? Oct 15 23:19:15 I had weird issues with being unable to remove animations form the parent because of that Oct 15 23:19:36 oh Oct 15 23:19:41 err, sorry it was the AnimationListener Oct 15 23:19:44 well i was thinking Oct 15 23:19:45 onAnimationEnd Oct 15 23:20:54 onDetach would some conflict with the animation Oct 15 23:21:06 if an animation is still playing and the view gets detached will the phone blow up for instance? Oct 15 23:21:13 it might Oct 15 23:22:18 my situation was this: I had an animation that was added, started, stopped, removed, replaced, started, stopped, removed, replaced.. etc Oct 15 23:22:26 sometimes the animation would keep playing Oct 15 23:22:55 or jsut freeze.. or duplicate itself, depending on what I was doing, whenever I tried to change the animation Oct 15 23:23:05 it was because of the AnimationListener… I didn’t have one Oct 15 23:23:50 yeah Oct 15 23:23:57 i always set null Oct 15 23:24:04 the animation on the view in on animation end to avoid that Oct 15 23:24:28 so onDetatch() just call animation.cancel() Oct 15 23:24:41 yeah but i wanted to start the exit animation in on detach Oct 15 23:24:47 that's what i was asking Oct 15 23:24:53 then in onAnimationEnd() use image.clearAnimation() Oct 15 23:24:54 or view.clearAnimation() Oct 15 23:25:18 err what i mean is, if i start an animation in onDetach Oct 15 23:25:20 is that valid? Oct 15 23:25:29 since it is detaching, is it too late a point Oct 15 23:25:46 I am not sure waht gets called onDetatch() with regard to animations Oct 15 23:26:05 if anything.. Oct 15 23:26:13 you could leak a view maybe? Oct 15 23:26:58 yeah Oct 15 23:28:17 So I got invited to some recruiting event at Google Irvine tomorrow. Has anyone ever been to one before? Oct 15 23:28:53 invitation only? Oct 15 23:29:02 i live like walking distance from that building ;p Oct 15 23:29:12 in fact i could stop on my lunch break Oct 15 23:29:45 non but I have been to a 6 hour job interview before :( Oct 15 23:30:23 onDetatch() is called after onDestroy() so I would think that it’s not going to do what you expected it to do, lasserix Oct 15 23:30:35 lasserix: yeah... It was some email asking if I want to attend some special event. They have tried recruiting me before. Not sure what to expect, but I'm registered to go Oct 15 23:30:51 Napalm my computer crashed, didn't reboot on first try. Screw that for tonight. Thanks for your help mate Oct 15 23:30:52 seems like it would be fun Oct 15 23:30:54 lasserix, do/did you go to UCR? Oct 15 23:31:00 in very least you get to check out the building Oct 15 23:31:06 uc riverside? Oct 15 23:31:11 eyah Oct 15 23:31:26 no i studied npb and wine-making up at davis Oct 15 23:31:28 tho Oct 15 23:31:38 npb? Oct 15 23:31:46 neuro phyiso biology Oct 15 23:31:52 lol funny where peopple come from and end up in Android Oct 15 23:31:57 I studied ChemE Oct 15 23:32:33 heh when i worked in wine industry we had a lot of chem e guys who got tired of their labs and wanted a different life style so they switch to fermentation science Oct 15 23:37:19 So many people leave a blank line after the opener of a class declaration. Oct 15 23:37:31 It feels like they should just place the brace lower (though it'd look kinda weird). Oct 15 23:37:56 I wonder what motivates people to do this. It's kinda weird if you use a decent font. Oct 15 23:38:25 class declaration is like a title Oct 15 23:39:03 in an essay Oct 15 23:42:34 Couldn't we say the same about methods, though? Oct 15 23:44:19 I started this job because it was the first offer I had and I actually enjoy Android programming Oct 15 23:44:34 well.. the first realistic offer anyway Oct 15 23:46:56 i am a fresher to android development - i want to create an app and put in play store. But cannot afford a seperate hosting space for my app. Whats the best way to go about this ? Oct 15 23:47:34 Why would you need a separate hosting space if you're using Google Play? Oct 15 23:47:35 when you upload an app to the play store, the play store hosts the apk Oct 15 23:48:09 TacticalJoke: so that the app can be rolled out to other OS also in future ? Oct 15 23:48:24 not through the play store.. Oct 15 23:48:28 JesusFreke: it hosts the apk, but the database ? Oct 15 23:48:41 you might just want a space with links to your app Oct 15 23:48:46 is it a static database? Oct 15 23:48:54 if so, then why not package it with the application? Oct 15 23:49:38 tricknology: ok then i think there is a problem in my understanding - The .apk file is just a projection of data which comes from an analytical engine which crunches big data at the background Oct 15 23:49:51 negative Oct 15 23:50:08 now this business logic and database has to be store somewhere so that the apk file installed in the mobile make requests and render the data Oct 15 23:50:09 the APK is like a .exe.. or zip that houses your code Oct 15 23:50:14 is my understanding correct ? Oct 15 23:50:47 no Oct 15 23:50:52 tricknology: that way i wont get to reuse the business logic right ? Oct 15 23:50:56 you wouldn't deploy your UI from a server Oct 15 23:51:04 you could but Oct 15 23:51:14 that's essentially webports Oct 15 23:51:17 that’s cordova Oct 15 23:51:34 lasserix: not the entire UI but just the contents to the containers which are preinstalled with the apk Oct 15 23:51:53 so you want dynamically generated content to fill your UI? Oct 15 23:52:13 tricknology: yes Oct 15 23:52:28 is connectivity ever going to be a problem? Oct 15 23:52:32 or data usage? Oct 15 23:52:45 solofight: are you from california by chance? Oct 15 23:52:47 most people are on a tiered data system now.. Oct 15 23:52:55 (cali crew unite) Oct 15 23:52:59 tricknology: i understood corodova lags and slows on huge content rendering - is that true as well ? (thats the reason even FB switched from web based to native apps) ? Oct 15 23:53:08 solofight: yeah Oct 15 23:53:13 mostly yeah Oct 15 23:53:16 that’s why I ask Oct 15 23:53:21 lasserix: INDIA Oct 15 23:53:24 oh ok Oct 15 23:53:42 i can understand if you are loading some data, like if you are amking a quotes quote, you could pull quotes Oct 15 23:53:48 the idea of making my own app is keeping me awake all night Oct 15 23:53:49 or if you are making a movie database, pull movie info Oct 15 23:53:54 I wouldn’t send images over... Oct 15 23:54:04 but actually pulling metadata about the layout would not be good Oct 15 23:54:14 or at least suboptimal Oct 15 23:54:30 and then you’ll really have to have a hosting service Oct 15 23:54:35 Ctrl+Tab ordering in Eclipse is insane. Oct 15 23:54:35 * solofight googles tiered data system Oct 15 23:55:13 like 1gb cap on the data usage.. Oct 15 23:55:23 tricknology: no images - just plain encoded text which is reconstructed as graphs in the app Oct 15 23:55:27 anything more and you pay big $ Oct 15 23:55:35 that might be ok... Oct 15 23:55:48 is this because the data is not static? Oct 15 23:56:02 tricknology: yes Oct 15 23:56:14 well for that you will need some kind of back end Oct 15 23:56:24 tricknology: so you see my problem now - how doi go about it ? Oct 15 23:56:26 so that your phone can get this data Oct 15 23:56:28 yeah Oct 15 23:56:38 I would look into RESTlets Oct 15 23:56:43 if you already know java Oct 15 23:56:47 send your data over JSON Oct 15 23:56:56 is there any service providers which offer me some options to host for free till i make some money - then i can pay them back ? Oct 15 23:57:14 if you have access to a machine that can run Apache and host your server with a static IP then you can make one yourself Oct 15 23:57:18 solofight: there are some very cheap options Oct 15 23:57:26 like 5 USB a month Oct 15 23:57:28 app engine is free up to a point, isn't it? Oct 15 23:57:29 ^^this option is free Oct 15 23:57:31 * USD Oct 15 23:57:31 and heroku Oct 15 23:57:36 I pay $7/mo Oct 15 23:57:57 never used it Oct 15 23:58:01 (app engine) Oct 15 23:58:19 tricknology: the backend can be built with any programming language with a db right ? not particularly a fan of all aspects of Java. Looking at python with rest libs and json to communicate Oct 15 23:58:28 will that be ok ? Oct 15 23:58:42 haven’t used python for this but maybe? Oct 15 23:58:49 solofight: you're really mixing up micro implementation stuff with macro architecture stuff here Oct 15 23:58:55 yeah.. Oct 15 23:59:01 there’s a bigger picture here Oct 15 23:59:05 tricknology: static ip costs good money. almost as equal as getting a shared hosting Oct 15 23:59:10 google appengine uses python Oct 15 23:59:26 and if your app isn't worth $5 a month, it's only ever going to be a hobby anyway Oct 15 23:59:30 you can get shared hosting with a static ip under %$.. Oct 15 23:59:33 5 Oct 15 23:59:35 I would say go with google appengine then Oct 15 23:59:50 I could build you a little sandbox on mine if you want lol Oct 15 23:59:57 is anyone else having issues with android studio changing attributes to view objects in other tabs when editing layouts. i changed the name of a textview and a different textview in a different tab received the same name Oct 15 23:59:58 (maybe) Oct 16 00:00:17 ^ another reason why I haven’t made the switch yet Oct 16 00:00:30 how long u been on this problem cliffreich? Oct 16 00:00:51 Leeds: macro being ? Oct 16 00:01:03 solofight: erm... the opposite of micro? Oct 16 00:01:37 Leeds: :) Oct 16 00:01:38 anyway, you need to go read a whole bunch of stuff on d.android.com Oct 16 00:01:44 soloflight.. basically your system needs to look liek this http://cdn1.tnwcdn.com/wp-content/blogs.dir/1/files/2013/10/WVlpykKiK85M1pxRrn0nG1gg9k6AnV74jHMIuLwfimLLJsRB-mIibV9W9QFZXi-Sgws2000.png Oct 16 00:02:27 tricknology: URL SHORTENER, DUDE Oct 16 00:02:36 you can create all that or use AppEngine Oct 16 00:02:49 haha sorry, Leeds. I didn’t realize it was so long until too late :/ Oct 16 00:03:11 oh cool Oct 16 00:03:17 didn't know that app engine provided that Oct 16 00:03:26 neither did I til 1 min ago lol Oct 16 00:03:31 Leeds: thanks for the link Oct 16 00:03:35 coulda made my life easier... Oct 16 00:03:36 I take it that some features are only usable using the support libs. ie: ViewPager Oct 16 00:03:50 solofight: it's in the channel topic, which you read when you first joined the channel... right? Oct 16 00:03:51 yes Oct 16 00:03:55 or some of the Holo themes Oct 16 00:04:26 Do I just need to include one version of the support libs, like v13? Or wolud I have to include multiple versions for different features? Oct 16 00:04:43 Asterfield: every version has its own features Oct 16 00:04:54 for example v4 provides fragments, viewpagers etc Oct 16 00:05:12 What's the logic behind which version containing which features? Oct 16 00:05:44 support v4 = made to be used for api version 4 or higher Oct 16 00:06:14 so you cant use support v13 in an api8 app Oct 16 00:06:18 Ah, so If I where developing for froyo, I couldn't use v13? Oct 16 00:06:30 exactly Oct 16 00:06:35 Thanks :D Oct 16 00:06:54 list of support features: https://developer.android.com/tools/support-library/features.html Oct 16 00:07:12 One thing though, do the support libs have a significant impact on apk size? Or does it only include the features you actually import? Oct 16 00:07:46 most only provide code, so they are rather small ( < 1 MB) Oct 16 00:08:01 v7 appcompat is an exception because it provides themes Oct 16 00:08:09 Oh that's not so bad. Thanks danijoo :D Oct 16 00:09:26 Will Material Design actually stay? Oct 16 00:09:33 Or will it just be another Holo? Oct 16 00:10:05 ha fb offering to freeze eggs of female employees so that can commit to working without offspring disruption Oct 16 00:10:08 nothing lasts forever... Oct 16 00:10:22 lasserix I heard that was Apple.. Oct 16 00:10:35 http://www.theonion.com/articles/facebook-offers-to-freeze-female-employees-newborn,37189/ Oct 16 00:11:29 this is true: http://tinyurl.com/lhlftsn Oct 16 00:11:55 tricknology: thanks for the link - right now signing into google app engine to try out Oct 16 00:12:54 let us know how it goes, I’m interested Oct 16 00:13:16 glad that I got the experience of building a backend but I wish that option was available when I did it Oct 16 00:13:16 Leeds: yes, just checked it - sorry that i missed it Oct 16 00:13:35 which topics you think i need to start with in d.android.com ? Oct 16 00:14:30 start at the very beginning - it's a very good place to start. Read until your head hurts, take a break, read some more, write some code, debug it, read some more, drink coffee Oct 16 00:14:54 LOTS of coffee ;P Oct 16 00:15:16 tricknology: definetly Oct 16 00:15:42 you may need to get extra stocks of coffee, in preparation for all the reading Oct 16 00:15:51 Leeds: roger tgat Oct 16 00:16:00 that* Oct 16 00:16:01 haha Oct 16 00:16:07 onion predicated it Oct 16 00:17:07 nm i keep thinking it is '15 for some reaosn Oct 16 00:17:26 we live in the future! just not quite that much... Oct 16 00:17:48 oh god.. microsoft.. givimg messages from the future Oct 16 00:17:51 wait is onion legit now? Oct 16 00:17:58 lasserix: here in 2015, it is Oct 16 00:17:58 satirical Oct 16 00:18:03 LOL Oct 16 00:18:04 hehe Oct 16 00:18:13 time to go back to bed for a bit, see if the world makes more sense in a few hours Oct 16 00:18:15 tidbits of fact interlaiden with fantasy Oct 16 00:18:21 night! Oct 16 00:18:53 ideally a world where people don't get the crap kicked out of them by police on the streets of my adopted hometown... but that's probably asking too much Oct 16 00:19:13 Welcome to LA? Oct 16 00:21:40 Wow, Android L finally has an auto-rotate toggle. ;o Oct 16 00:22:02 what is L for? Oct 16 00:22:06 and is L going to be 5.0? Oct 16 00:22:16 because L stands for 50 in roman numerals.. Oct 16 00:23:47 It's "Lollipop", and I think it's 5.0, yeah. Oct 16 00:25:04 Hong Kong? Oct 16 00:25:34 anyone got links to good examples of resume for android? Oct 16 00:26:01 resumé? Oct 16 00:26:11 ask jakewharton lolol Oct 16 00:26:51 or just google him.. should be resume enough, lol Oct 16 00:27:10 On Error Resume Next Oct 16 00:27:26 in all honesty, I have one but I’ve had just 1 legit Android Job but my LinkedIn does get quite a bit of hits from recruiters Oct 16 00:29:13 Wow, OneTab is now available for Firefox Oct 16 00:29:13 . Oct 16 00:30:02 Pity Firefox sucks. Oct 16 00:30:32 hey heyhey Oct 16 00:31:00 file bugs... make it better :) Oct 16 00:31:08 Oh, I've tried. Oct 16 00:31:08 Time to GTFO, see you when I get hom elol Oct 16 00:31:10 For many, many years. Oct 16 00:31:25 It could be good. Oct 16 00:31:28 submit patches? Oct 16 00:31:41 It lacks basic stuff such as multi-tab selecting. Oct 16 00:34:21 The one place Firefox excels is opening hundreds of tabs. Oct 16 00:34:44 Since it uses one process for many tabs, it doesn't grind your computer to a halt like Google Chrome does. Oct 16 00:34:50 Though it does like to crash now and then. Oct 16 00:37:36 hey jrummyyou working full time? Oct 16 00:39:26 ahh glorious fate Oct 16 00:40:17 It's kinda cool that the Nexus 9 will have a plug-in keyboard. Oct 16 00:40:26 But how many people have tested their apps with a keyboard? :D Oct 16 00:41:21 The Ime should translate transparently? Oct 16 00:41:34 what do you mean? Oct 16 00:41:41 "Netflix Stock Price Crashes In After-Hours Trading" :O hope rxjava is OK :) Oct 16 00:41:48 i've used my asus transformer (has keyboard dock) no problems ever Oct 16 00:42:11 Right, as far as the app knows, there shouldn't e a difference I thought Oct 16 00:42:20 between soft KBD or physical Oct 16 00:44:02 Though I've never actually used a physical kbd ... I wonder how it'd account for loss of auto-correct/complete/spell check, etc usually displayed by the IME/Input Method stuff Oct 16 00:44:46 I was thinking of stuff like Ctrl/Alt/Shift. Oct 16 00:44:55 Still must be an onscreen dialog perhaps? Oct 16 00:44:57 Arrow keys, etc. Oct 16 00:45:01 oic ... Oct 16 00:45:31 But IME software provides those things ... programmers keyboard, SwiftKeyboard, et Oct 16 00:46:40 Will Android TV run just any Android app? Oct 16 00:46:48 * capella is guessing ... suppose I should google it Oct 16 00:46:48 Or only those marked as "TV apps" or something. Oct 16 00:49:52 Does anyone else get mixed feelings when a new version of Android comes out? Oct 16 00:50:04 It's cool to see new stuff, but it's kinda stressful for programmers. Oct 16 00:52:43 job security Oct 16 01:04:28 "Power-efficient scanning for nearby Bluetooth low energy (“BLE”) devices like wearables or beacons" nice Oct 16 01:05:15 good list http://phandroid.com/2014/10/15/android-5-lollipop-changelog/ Oct 16 01:05:32 was hoping they would overhaul app permission system Oct 16 01:05:58 Yah... overdue Oct 16 01:06:44 That's why google wants to buy cm ;) Oct 16 01:07:04 cm ? Oct 16 01:07:28 heard they were talking to cyanogenmod Oct 16 01:09:24 Ars readers seem to think it's to subsequently crush them... :p ... silly Oct 16 01:11:01 the cartoon video is pathetic for lollypop Oct 16 01:11:26 surprising to see, even google runs out of creative ideas ! Oct 16 01:11:46 g00s: thanks for the link though Oct 16 01:11:58 ;) Oct 16 01:12:00 never knew the had a new release already Oct 16 01:29:27 For the support libraries, are there ever going to be native implimentations of the classes like ViewPager Oct 16 01:29:30 ? Oct 16 01:29:53 that's a good question Oct 16 01:29:55 they certainly should Oct 16 01:29:59 but they probably won't Oct 16 01:30:08 hopefully never Oct 16 01:30:38 Why is that hopefully? :P Oct 16 01:30:45 Wouldn't it make things simpler? Oct 16 01:30:56 no Oct 16 01:31:11 it would make things worse Oct 16 01:31:26 what if a bug was found or new functionality was added? Oct 16 01:31:35 you could say the same thing about every other widget though Oct 16 01:31:42 not true Oct 16 01:31:54 some, yes Oct 16 01:32:05 but things like TextView have deep framework-level hooks Oct 16 01:32:14 ViewPager is just a scrollable ViewGroup Oct 16 01:32:23 there is absolutely no reason for it to be baked into the core framework Oct 16 01:32:28 nothing is gained Oct 16 01:32:51 i have a few issues with the support library Oct 16 01:33:02 1) tools integration sucks Oct 16 01:33:05 that can be fixed Oct 16 01:33:09 what does that mean? Oct 16 01:33:11 2) dex method limit Oct 16 01:33:20 like if you're in a layout editor you have to type the fully qualified class name of viewpager Oct 16 01:33:25 and theres no autocompletion Oct 16 01:33:29 sure there is Oct 16 01:33:37 a.VP[enter] Oct 16 01:34:06 doesnt work for me :P Oct 16 01:34:39 3rd issue with support library is - why do we have fragments in the platform Oct 16 01:34:47 and in the support lib Oct 16 01:35:19 if anyone has used a native fragment i'd be shocked Oct 16 01:36:10 Plenty have, I'm sure. Oct 16 01:36:17 but they should have never been in the platform Oct 16 01:36:31 which means that's not an issue of the support library at all Oct 16 01:36:50 that's definitely true Oct 16 01:36:54 dex method limit isn't really a big deal, and they're componentizing support libraries moving forward Oct 16 01:37:00 \o/ Oct 16 01:37:10 the support-v4 one is a bit of a commons pile Oct 16 01:37:27 so yeah fix the tools integration and deprecate the sdk fragments Oct 16 01:37:33 and we're good to go Oct 16 01:37:48 I need to rotate three views on api 10, is there any simple way to do this? It's an imageview a chronometer and textview. Oct 16 01:38:00 RotationAnimation Oct 16 01:38:13 do you mean like rotate between them? Oct 16 01:40:41 Nope. Just a stariaght rotation. like 90 degrees and stay there. Looking like they started that way. Oct 16 01:41:19 JakeWharton: Animation huh? Damn. I guess its not that hard. I just want to make sure they load rotated and dont actually "rotate" to the user Oct 16 01:41:54 JacobTabak: hmmm the autocomplete is broken Oct 16 01:42:00 got a bug to star? Oct 16 01:42:01 indeed Oct 16 01:42:18 i'll see if there's one Oct 16 01:42:30 you're not allowed to complain if a bug isn't filed Oct 16 01:43:29 https://code.google.com/p/android/issues/detail?id=69472&q=support%20autocomplete&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars Oct 16 01:43:30 you should be able to type class names without having to start with at least one package name letter Oct 16 01:43:32 1 start since may Oct 16 01:43:35 star* Oct 16 01:43:49 oh Oct 16 01:43:51 he says "you can close this" Oct 16 01:43:53 maybe i should make a new one Oct 16 01:43:59 yes Oct 16 01:44:03 it works if you type all of "android." Oct 16 01:44:06 but F that nonsense Oct 16 01:44:11 how about i mean Oct 16 01:44:12 come on Oct 16 01:44:16 yes Oct 16 01:44:19 that's what i said above Oct 16 01:44:36 like it autocompletes to and then doesn't work Oct 16 01:44:53 same for classes defined in my app Oct 16 01:45:08 i should be able to type yea there's an issue with the casing as well Oct 16 01:45:21 instead i have to do cNPV Oct 16 01:45:29 i don't have time for extra keys Oct 16 01:45:35 lol cehck out this bug Oct 16 01:46:02 https://code.google.com/p/android/issues/detail?id=77087 Oct 16 01:46:24 (one i filed a few weeks ago when i got mad i had to type a few extra chars) Oct 16 01:46:58 the most annoying thing is when autocomplete "lands" you inside quotes Oct 16 01:47:02 and you have to arrow to the right Oct 16 01:48:24 that's a good one Oct 16 01:48:35 i'm lazy, don't make me type! Oct 16 02:09:10 geez Oct 16 02:09:12 use Oct 16 02:09:12 a Oct 16 02:09:14 *an Oct 16 02:09:16 enter Oct 16 02:09:19 key much ;) Oct 16 02:10:33 JacobTabak: you use intellij? it does autocomplet in layout editor for viewpager, etc Oct 16 02:10:46 i use both Oct 16 02:10:51 but do my layouts in AS Oct 16 02:10:56 intellij for testing Oct 16 02:11:00 eghdk: you can subclass the view, override on draw and translate the canvas Oct 16 02:11:25 i think you might have to swap height and width in onmeasure too to get it to work properly Oct 16 02:12:13 like this (see sizechanged, onmeasure and ondraw) Oct 16 02:13:31 oh reddit is hiring an android engineer Oct 16 02:13:43 https://jobs.lever.co/reddit/4decde36-284b-4e46-8371-f7a3b6bf6ab8 Oct 16 02:13:52 (not advertising) Oct 16 02:14:01 just interesting Oct 16 02:14:57 I assume they are making an app Oct 16 02:15:16 its overdue really Oct 16 02:15:48 they should hire TacticalJoke Oct 16 02:15:52 (too bad he's not here) Oct 16 02:16:50 JacobTabak what was the issue with compat lib and autocomplete ? Oct 16 02:16:55 i haven't noticed it somehow Oct 16 02:16:59 it just sucks Oct 16 02:17:09 try to put a viewpager in a layout Oct 16 02:17:12 its a pita Oct 16 02:17:21 he said it doesn't autocomplete the class in xml Oct 16 02:17:25 it does in intellij ;p Oct 16 02:22:33 i hope friday brings some good fresh meat to the support library :) Oct 16 02:34:44 Android studio... how do you find and replace in a file? CMD shift R shows Replace in path. I just wanna do it in one file. Oct 16 02:38:49 is captilizing on horrible tragedy, if you are not hurting anyone and actually helping inform people, unethical? **** ENDING LOGGING AT Thu Oct 16 03:00:00 2014