**** BEGIN LOGGING AT Sat Aug 23 02:59:58 2014 Aug 23 03:00:41 there is this poll in phandroid http://phandroid.com/2014/08/22/bezels-edge-to-edge-display-poll/ Aug 23 03:01:08 i think the apple way would be: have a "soft" bezzle if being handheld, maybe have no bezel when put down and your fingers aren't covering it Aug 23 03:02:59 my phone is pretty damn near no bezel Aug 23 03:03:04 but I always run a bumpercase Aug 23 03:03:08 so kinda no point Aug 23 03:03:17 is it just me, or gradle clean doesn't delete the topmost build directory Aug 23 03:03:40 man Aug 23 03:03:46 I'm so over gradle Aug 23 03:04:01 its somewhat convenient to be able to easily just suck in projects Aug 23 03:04:23 sucks that it likes to sync every build, and start bombing out without the appropriate settings when you go offline Aug 23 03:04:23 ron_frown what are you using? the only other thing i would consider is buck Aug 23 03:04:29 no fucking way i'm using ant again Aug 23 03:04:35 I like intellij build Aug 23 03:04:43 i like repeatable builds Aug 23 03:04:53 has to work from the command line, or no game Aug 23 03:04:57 gradle probably isnt that bad... but the tools wrapped around it are just total shit Aug 23 03:05:03 I'm an intellij fan Aug 23 03:05:08 but gradle integration is just total balls Aug 23 03:05:48 I come from a far away land that is .net Aug 23 03:05:56 nuget is way way way better than gradle =) Aug 23 03:07:25 * g00s still isn't sure why ron_frown isn't doing WP being .net afficionado Aug 23 03:07:42 because windows phone is shit dude Aug 23 03:07:46 g00s: you need a small quiet hovering drone to hold your tablet for you Aug 23 03:07:46 oh shit yeah i forgot, they are losing market share :( Aug 23 03:07:54 shmooz ha ! Aug 23 03:07:59 theres a reason nobody is doign it Aug 23 03:08:01 ms took a badass software stack and managed to completely fuck the whole thing up =) Aug 23 03:08:13 of course thats kinda the ms way Aug 23 03:08:32 I came back from the future to tell you Aug 23 03:08:42 all I can say is if you are stuck in java world, dont ever touch c# Aug 23 03:09:58 shmooz or some kind of disco ball with a tablet tether Aug 23 03:10:45 I am waiting on my tango tablet Aug 23 03:10:49 google better hurry Aug 23 03:14:55 looks cool, but i don't have a use for one Aug 23 03:15:21 i mean, if i could scan my dog and ruffwear tells me the right size harness for him, thats cool Aug 23 03:15:27 but lots of things need to be in place for that Aug 23 03:16:18 i'm interested in the ara project if its still going Aug 23 03:19:07 the tango could guide a drone while sitting on it perhaps Aug 23 03:19:36 yeah, autonomous robots, etc Aug 23 03:19:52 add a couple of arms and it will be a hovering maid bot Aug 23 03:22:04 Hi all, I'm starting development through the command line (don't ask, I'd rather do it this way). However, I'm having problems attaching "monitor" to the app so I can debug. Aug 23 03:22:36 I know I must be doing something wrong. Could someone walk me through the steps from app install (using adb) to opening "monitor"? Aug 23 03:22:49 hm, make sure adb devies sees your device Aug 23 03:23:00 if adb isn't working, monitor wont Aug 23 03:23:23 christ, monitor is such a steaming piece of shit too Aug 23 03:23:26 It picks it up, but monitor shows a red bug next to the app, and I can't do anything with it Aug 23 03:24:21 make sure the app is selected Aug 23 03:24:34 then semi-useful stuff will show up maybe Aug 23 03:26:30 Nope. I have my app set to wait for the debugger to attach, but it never does. And the option to "Debug Process" in monitor is greyed out. Aug 23 03:27:16 hm, the debugger is in eclipse / intellij .... not sure what you're trying to do Aug 23 03:32:41 hmm. Okay, so I've attached the jdb debugger to the port listed next tot eh app in monitor and it works. However, I'm fairly certain I haven't had to do that in the past. Aug 23 03:33:07 Either way, I can at least debug now Aug 23 03:37:52 you shouldn't need monitor to see which port to connect to Aug 23 03:38:04 there's an adb command iirc Aug 23 03:51:37 yes, its adb forward, however monitor wraps it so I don't need to keep running adb jdwp, then adb forward everytime I relaunch the app Aug 23 03:52:21 but thanks for the help anyway Aug 23 04:36:54 I just wrap it all in a single command that launches jdb Aug 23 04:47:38 Is there any app to unzip apk on Android? Aug 23 04:50:05 rename to zip :D Aug 23 04:52:44 easiest answer Aug 23 05:01:38 ktwo: ummm... Why didn't i think of that. Now i feel dumb Aug 23 07:28:38 can an android read Audio: aac, 48000 Hz, mono, ? Aug 23 07:29:58 or 44100 at most? Aug 23 07:30:59 pagios: http://developer.android.com/guide/appendix/media-formats.html Aug 23 07:33:03 Leeds: dunno why this file plays on my desktop but not on my android via browser http://pastebin.com/PA1chXTX Aug 23 07:33:08 running 4.4.2 android Aug 23 07:33:13 no, I don't know either Aug 23 08:07:30 can I size an ImageView to a % of the FrameLayout parent? I tried layout_width="0dp" and then layout_weight="0.5" but it doesnt appear at all then. Aug 23 08:08:39 FrameLayout doesn't support weight Aug 23 08:41:56 Can someone tell me why this simple layout doesn't show dividers? http://pastebin.com/7rLmzQy8 Aug 23 08:58:05 Okay, dumb question, but when I write "android:background = "@android:color/black"" what exactly is "android" before the colon? Some kind of class? And why do I need to put the "at" sign infront of android:color? Aug 23 08:58:43 at the xml level, it's a namespace Aug 23 09:00:24 At the top of the file, there should be something like xmlns:android="http://schemas.android.com/apk/res/android" Aug 23 09:00:46 So @android:color/black is an ID, then :color is some kind of tag? Aug 23 09:00:57 that is declaring the android prefix to be associated with that namespace Aug 23 09:00:57 Sorry my Android knowledge is only 1 day old :| Aug 23 09:01:29 huh Aug 23 09:02:12 And then, digging a bit deeper, you'll find that that namespace contains the public resources for Android Aug 23 09:03:41 i.e. if you just did background="@android:color/black", without the android prefix, then Android would essentially ignore that attribute. But with the android: prefix, you're telling it that that you're referring to Android's "background" attribute Aug 23 09:04:16 and then, within the attribute value, that whole thing is a resource reference Aug 23 09:04:34 this time, the "android:" prefix doesn't have anything to do with xml namespaces Aug 23 09:05:20 but the end result is the same - it's referring specifically to the android package, which contains all the public resources for android Aug 23 09:05:39 the @ is just part of the syntax used to reference a resource Aug 23 09:06:07 "color" is the type of the resource being referenced, and "black" is the name of the specific color resource Aug 23 09:06:31 well now it makes some sense Aug 23 09:07:32 So at the top I have xmlns:android="http://schemas.android.com/apk/res/android". That means the namespace is downloaded from the internet each time it's used? Aug 23 09:07:44 no, nothing is actually downloaded Aug 23 09:08:05 it's just a pre-defined URI that's pre-defined to refer to the android resources Aug 23 09:08:36 but it's not actually used to download anything Aug 23 09:09:13 hm, okay thanks c: Aug 23 09:09:35 The Android system knows that a prefix associated with that namespace refers to the system resources Aug 23 09:12:10 e.g., here is the definition of that "black" resource that you mentioned Aug 23 09:12:12 https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/colors.xml Aug 23 09:13:08 https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/attrs.xml#1801 Aug 23 09:13:25 and there is the background attribute, which you refer to via android:background Aug 23 09:19:59 hi, i am trying to play an mp4 file in my android browser, did anyone get this working? Aug 23 10:21:09 in AS/Ij any idea if one can select an existing method and tell the IDE to generate the Interface stub for it ? Aug 23 10:38:51 How can I make my gridview not have vertical scrolling but instead be as big as needed? I want my container to handle the scrolling Aug 23 10:42:06 How can I communicate with the outside of a run()ed thread? Aug 23 10:44:50 My god, this is so complicated Aug 23 10:47:05 TylerDurden36: with variables. Aug 23 10:47:31 rgr: is it ok to pass variables in the constructor of a Runnable class? Aug 23 10:47:56 simply synchronize them or the blocks you are accessing the in. If you need soething to *run* on the main thread use activtiy.runOnUIThread(new Runnable() etc. This is well covered in a million place on google. Aug 23 10:48:07 I can't believe I'm typing this much code to do "simple" stuff Aug 23 10:48:15 Of course you might also use a Handler. Slightly more advanced but a lot more efficient. Aug 23 10:48:48 TylerDurden36: you would rubclass the Runnable. The fact you ask that suggests you might need to do a Java course first. The Oracle docs are very very good. Aug 23 10:48:57 subclass not rubclass.... Aug 23 10:49:24 rgr: Runnable is a interface, right? I did an implement on it Aug 23 10:49:25 TylerDurden36: after you get past the "infrastructure" reqs there is little "excess code. Aug 23 10:49:40 TylerDurden36: ask your IDE. Aug 23 10:49:45 Ask teh javadoc. Aug 23 10:50:07 Use the facilities in Eclipse or AS/Intellij. It's all there to help you. Aug 23 10:51:17 (But to answer your Q : yes Runnable is in interface. So you coudl create MyClassRunnable implements Runnable. They you can do wtf you want in the constructor. Aug 23 10:56:16 Hello, I am trying to give a alert dialog to the user for starting Settings.ACTION_LOCATION_SOURCE_SETTINGS intent. I have used startActivityForResult, handled onActivityResult. But when I press back from settings screen it takes me to the list of apps screen on phone Aug 23 10:56:28 Can anyone tell me where I am going wrong? Aug 23 10:58:37 anybody know right off the top of their heads whether Surface.ROTATION_x values are clockwise or counter-clockwise for Display.getRotation() Aug 23 10:59:21 sometimes i wonder why i don't use google first Aug 23 11:00:14 to simplify this for others reading, from the docs for the method: "For example, if the device is rotated 90 degrees counter-clockwise, to compensate rendering will be rotated by 90 degrees clockwise and thus the returned value here will be Surface.ROTATION_90." Aug 23 11:00:19 * sigv carries on Aug 23 11:01:15 Degrees are always clockwise Aug 23 11:02:09 hi Aug 23 11:02:43 hi, i am trying to play an mp4 file in my android browser, did anyone get this working? Aug 23 11:05:15 Hello, I solved it. The activity was not put on the history stack from manifest Aug 23 11:06:28 I have some model class with 5 String properties only. I would like to add functions to put this object to ContentValues, and generate instance from ContentValues (from ContentResolver). Where should I place these functions? Aug 23 11:13:47 I've confirmed that my application is writing to the /data/data/[package]/files directory Aug 23 11:14:09 but this leaves me at a loss to explain the location of files following application upgrades Aug 23 11:14:37 I think our tar stub is just clobbering directories, but if it's possible for the upgraded app to end up with different permissions etc, I'd like to know =) Aug 23 11:26:17 <_CalLightman_> Hi... can someone help me with editing the label of the header in expandable list Aug 23 11:26:42 <_CalLightman_> i have created custom view where the group label is edittext field Aug 23 11:27:12 <_CalLightman_> but i cannot edit the text there Aug 23 11:35:39 How can I pass the reference of a boolean variable? Aug 23 11:36:28 My god, it can't be done?! Aug 23 11:36:38 What the hell, java?! Aug 23 11:37:20 i'm compiling a .c source with 'ndk-build V=1' and in Android.mk i set 'LOCAL_CFLAGS := -Dfoo' but i don't see it added in the gcc line ndk-build prints out... Aug 23 11:42:29 ok nevermind i got it, i put it before include $(CLEAR_VARS) *dumb* Aug 23 11:42:31 ;) Aug 23 11:45:55 hello Aug 23 11:49:10 Holy mother of god, I'm running out of ideas for variable names Aug 23 11:50:09 TylerDurden36, var1 var2 and var3! Aug 23 12:04:07 If I want to display text from a text input field once I press a button on the same page do I need to make a new activity or not? Aug 23 12:07:26 threenuc: nope Aug 23 12:08:27 TylerDurden36: uh um Boolean? Aug 23 12:08:52 sq: WHAT?! Aug 23 12:08:55 but i didn't do much java, just hello world on button press and image display ;) Aug 23 12:09:20 sq: who in the $*#@($#(@) designed this language?! Aug 23 12:09:41 James Gosling Aug 23 12:10:09 TylerDurden36: data types starting with upper-case letters are not primitives and can be null Aug 23 12:10:27 that's pretty straightforward in fact. Aug 23 12:10:35 Goddamn it. I'm rewriting the whole project. Aug 23 12:10:54 in most cases you don't need Boolean though, boolean is just fine. Aug 23 12:11:15 Bombo, so how do I do what I described? I've been searching for the past hour :| Aug 23 12:11:31 besides, TylerDurden36: http://docs.oracle.com/javase/tutorial/java/data/autoboxing.html Aug 23 12:12:57 threenuc: i don't remember, i' Aug 23 12:13:03 threenuc: i don't remember, i'm more into c now Aug 23 12:14:00 threenuc: maybe show your code on pastebin.com and some java guy will give a hint Aug 23 12:14:30 Bombo, it's basically the basic android project template Aug 23 12:14:39 like in the state after project creation Aug 23 12:16:11 threenuc: did you just start ? Aug 23 12:16:22 shmooz, yep. Yesterday. Aug 23 12:16:34 threenuc: do some reading first and then follow tutorials step by step Aug 23 12:17:51 Yeah I've started the Building your first app on android developers but since I don't know Java very well I thought I'd just do small things on my own by googling Aug 23 12:17:56 didn't work out, yeah Aug 23 12:19:12 threenuc: did you get the content of the input yet? Aug 23 12:19:19 well you got your main xml file for laying out the views wrapped in layouts, and then main java activity file for the dynamic stuff like adding listeners and responding Aug 23 12:20:07 I mean the XML isn't that bad since I can just look up the attributes online if I need to, but now I stopped on "ActivityName.class" which is an argument and I don't know what it means Aug 23 12:20:32 and you got resource files that store stuff like images and constant strings, and a manifest file that you declare permissions and rules and stuff Aug 23 12:21:14 yeah Aug 23 12:21:34 res/values/strings.xml Aug 23 12:25:19 threenuc: if you got the input in a string you just set the text of a textview... Aug 23 12:26:42 Yeah, but how do I store the input? In the Android Deveolopers tutorial they used an intent Aug 23 12:28:08 Is there a way to simulate an update off of the Play store to verify that existing files are handled correctly? Aug 23 12:28:22 I don't want to wait for updates from the Play store Aug 23 12:32:24 threenuc: String input = textView.getText().toString(); Aug 23 12:32:54 oh Aug 23 12:32:57 OHHH Aug 23 12:33:01 thanks Aug 23 13:10:37 How can I make my gridview not have vertical scrolling but instead be as big as needed? I want my container to handle the scrolling Aug 23 13:13:36 Flaiker: set the width and height to fill_parent Aug 23 13:20:10 shmooz: that did not solve it. So my gridlayout is in a linearlayout that is in a framelayout. Gridlayout is on fillparent. What would the others need to be set to? Aug 23 13:21:15 the linearlayout gets a scrollbar if i fill it with textviews that have too much text Aug 23 13:21:25 however the gridview just gets a scrollbar on its own Aug 23 13:21:43 Just to confirm, updating applications does not clobber the /data/data/[package name]/ directory does it? Aug 23 13:22:01 Flaiker: you probably need a ScrollView between the GridView and LinearLayout Aug 23 13:22:07 knapper_tech, of course not :) Aug 23 13:23:44 Can someone look at line code 55 and explain to me why it doesn't change the SocketAddress in the main thread? Aug 23 13:24:17 http://pastie.org/private/sloxfbxhxyqxkzaglbwma Aug 23 13:24:56 Flaiker I think you are playing with a scroll container in a scroll container, sounds like you should ditch the gridview tbh Aug 23 13:26:04 Flaiker or use it more for what it's intended :) Aug 23 13:26:44 Mavrik, adb install -r [package] is the way to simulate an update from Play Store? Aug 23 13:28:48 Flaiker: maybe this is what you need ... https://gist.github.com/sakurabird/6868765 Aug 23 13:29:19 StringRay_, well I have a headerbackground in my activity with a transparent actionbar that fades in when I scroll down and the background has like a paralax effect. That works fine if my content is in a textview or whatever. If I use the gridview though, where my actual content is in, it doesnt connect to my scrolling effect because it handles the scrolling on its own Aug 23 13:30:03 Flaiker then easier to link the two together I think Aug 23 13:30:23 expanding a listview around contents you maybe just as well use 2 linear layouts Aug 23 13:30:33 listView/GridView Aug 23 13:30:35 knapper_tech: Ultimately there's nothing special about how play store installs apk's. You'll get the same result with adb install Aug 23 13:31:30 good news Aug 23 13:31:53 bad news is somehow the /data/data/[package name]/files/ directory is getting clobbered Aug 23 13:32:29 hm okay, its weird though that it cannot just be as big as it needs to be, I hoped isScrollContainer=false would do that but no. Thanks for your help Aug 23 13:32:36 Anyone using AIDE? Aug 23 13:32:45 SimonVT, I believe the problem is in Python-for-Android. Something about how it unpacks files is destroying the existing /files directory Aug 23 13:33:49 Yeah, most likely the problem is with your apk :) adb install -r keeps data Aug 23 13:39:53 shmooz: That totally just worked :), although now there wont be itemrecycling etc. I guess but I can work on that another time Aug 23 13:40:41 Flaiker: what? using ExpandableHeightGridView ? Aug 23 13:41:35 yes Aug 23 13:41:51 yeah it's linked to from 2 SO questions similar to your problem Aug 23 13:43:33 Flaiker: http://stackoverflow.com/questions/12859250/how-to-put-gridview-inside-scrollview which links to http://stackoverflow.com/questions/8481844/gridview-height-gets-cut Aug 23 13:44:51 There's nothing to recycle when all the items fit within the size of the view Aug 23 13:49:04 indeed, but that will be a problem when theres an unknown number of items that are loaded even though they are not visible Aug 23 13:49:44 Flaiker then not a good choice :) Aug 23 13:50:08 that SO solution is horrid I think Aug 23 13:50:49 maybe you can modify it to lazy load somehow using a custom adapter or something :P Aug 23 13:51:06 shmooz how would that solve the issue ? Aug 23 13:51:08 You've basically made a tablelayout that's prone to breaking Aug 23 13:51:24 If that's not what you want, give the gridview a fixed size and let it do its thing Aug 23 13:53:24 StingRay_: it would only load what's on screen or buffer ahead a page or whatever Aug 23 13:53:40 shmooz but no… no it would not lol Aug 23 13:54:11 shmooz fyi i would load what the view asks of it, and that would still be everything Aug 23 13:54:12 :) Aug 23 13:54:57 well everything is the result you give it after calculating how much to load Aug 23 13:55:10 and then expand as they scroll Aug 23 13:55:48 shmooz so how would you control getView ? from the gridViews call ? Aug 23 13:56:00 I'm curious if you have a way and have done something like this Aug 23 13:56:03 no idea Aug 23 13:56:16 with listview yes Aug 23 13:56:21 same thinig Aug 23 13:56:29 abslistView=gridView Aug 23 13:56:47 so how did you control the listViews getView call to adapter Aug 23 13:56:48 ? Aug 23 13:57:35 soo.. Android Studio vs Eclipse, what are peoples opinions? :) Aug 23 13:58:21 yes my listview can partially (what the screen sees) load images from a large list of images online and load more as I scroll it Aug 23 13:59:01 I got it from an online example and modified it further Aug 23 13:59:15 shmooz again thats nothing to do with the issue Aug 23 13:59:29 Sounds like it'd be much more efficient to just use a linearlayout in that case Aug 23 13:59:55 to turn it into this issue, expand your listview to be the max height it would need to fit all items, then only load what is on screen :) Aug 23 14:00:00 Save recycler calls and whatnot Aug 23 14:00:22 the problem is not endless scrolling Aug 23 14:02:30 Anyone using AIDE? Aug 23 14:02:31 Android IDE Aug 23 14:02:48 never heard of it Eren97 Aug 23 14:02:53 Eren97 heh, I installed 1st time last night Aug 23 14:02:53 who makes it? Aug 23 14:03:15 it's quite good, did some math functions while watching godzilla Aug 23 14:03:16 Idk Aug 23 14:03:25 Is it worth the money? Aug 23 14:03:36 oh god no, not for serious work Aug 23 14:03:36 nonfree?! Aug 23 14:03:39 I don't wanna pay for something that ain't worth it Aug 23 14:03:40 maybe for learning Aug 23 14:03:40 arggg Aug 23 14:03:54 I wanna learn Aug 23 14:03:55 But not for money Aug 23 14:03:56 the keybaord is the bottleneck Aug 23 14:03:57 I like Android Studio, seems pretty good Aug 23 14:04:05 and free X) Aug 23 14:04:07 lacx: aide is mobile Aug 23 14:04:10 lacx android studio is not a tablet app Aug 23 14:04:13 lol Aug 23 14:04:17 ahhh lol Aug 23 14:04:43 Well Aug 23 14:04:45 fair enough I wouldnt have even though of doing dev on a tablet lol Aug 23 14:05:04 Tbh I wouldn't do it for a long time xd Aug 23 14:05:24 Maybe I'll leech it, to test the full featured editor Aug 23 14:05:29 Linux laptop/desktop every time lol Aug 23 14:05:31 you can write little methods and test them, but not anything good/big Aug 23 14:05:33 With design features etc Aug 23 14:05:42 Eren97 problem is the keyboard Aug 23 14:05:53 not good and really slows you down Aug 23 14:05:55 I'm not aiming for something big Aug 23 14:06:07 My teacher wants to teach us java for Android Aug 23 14:06:12 Yet he has no idea of Java Aug 23 14:06:24 oh, has he any idea of android ? Aug 23 14:06:30 All he knows is drag and drop in ios editor thingy Aug 23 14:06:32 Forgot the name Aug 23 14:06:49 so you have a teach that whats to teach you 2 things he/she/they know nothing about Aug 23 14:06:57 Yep Aug 23 14:06:58 wicked Aug 23 14:07:00 :) Aug 23 14:07:03 He even just bought an android phone Aug 23 14:07:33 I often wondered why professionals have little respect for edu. no more Aug 23 14:07:35 So I got the task to make a button. Aug 23 14:07:39 this must be it :) Aug 23 14:08:23 Yet he didn't even teach us syntax, datatypes or anything Aug 23 14:08:33 Eren97 well semantics right there, I just made an android L button, not all that easy tbh, but using a button is ;) Aug 23 14:08:52 Eren97 what school is this ? Aug 23 14:08:56 What is the best VoIP solution for Android? Aug 23 14:08:59 A technical school, that's the worst Aug 23 14:09:17 Eren97: because teaching without knowing the topic is the most troublesome thing Aug 23 14:09:19 This teacher used to do some ios development in free time Aug 23 14:09:25 and I know it because of people on university ;) Aug 23 14:09:31 So he thinks he can learn and teach us java development for Android Aug 23 14:10:25 Also i gotta admit I don't like java that much Aug 23 14:10:30 * Eren97 runs Aug 23 14:10:39 If one have to implement P2P voice calling in your application, how should one go about it? Aug 23 14:10:57 s/your/his Aug 23 14:11:22 Eren97 look at it this way, you either go there to "learn" or go there to be "taught" it's a mentality, I know cause I have worked at private training institutes Aug 23 14:11:41 I could always tell the 2 Aug 23 14:11:59 I don't get what you mean Aug 23 14:12:12 I can learn at home too Aug 23 14:12:43 In fact I could do android development at home myself, if I wanted to Aug 23 14:15:23 Eren97: I dare you Aug 23 14:15:55 Woot Aug 23 14:16:25 Trying to figure out how to properly format the File Header in AS. When I insert a newline the output for the file header is

. What is the proper way to insert a newline so that it's not changed to html code? Aug 23 14:23:31 shmooz: why what? Aug 23 14:29:32 Eren97: get an IDE and the SDK on your desktop at home and write real apps Aug 23 14:29:50 Yay I managed to crash aide Aug 23 14:29:52 or laptop Aug 23 14:32:36 hey guys!! ^^! Aug 23 14:33:47 is there a configuration file in android or can i set up a config file to get values like the API url? Aug 23 14:42:38 naschurmann: http://developer.android.com/guide/topics/data/data-storage.html Aug 23 14:43:35 r00s: thanks! ^^ Aug 23 14:59:08 g00s? Aug 23 15:32:47 hi Aug 23 15:34:19 I have some design question. I have news Feed app and object named feed. With my ContentProvider I would like to insert this object into database. Where should I have my convinient function for transforming actual Feed object to Content Values and calling content Resolver? Aug 23 15:38:07 yacek19 not sure anyone can answer that Aug 23 15:38:20 except the individual who has been working on it Aug 23 15:38:22 :) Aug 23 15:41:17 You could have a toContentValue() method if you wanted.. Or keep it in some utility class.. Or construct it where the insert call happen Aug 23 15:41:36 Whatever you find easiest to maintain Aug 23 15:50:45 StingRay_: how would you do that? Aug 23 15:51:04 wherever it fits best for me Aug 23 15:51:13 and is easiest to maintain Aug 23 15:51:16 like SimonVT said Aug 23 15:51:36 Hi Aug 23 15:51:48 I don't know for now what is easiest to maintain ;) Aug 23 15:52:20 http://developer.android.com/reference/android/provider/MediaStore.MediaColumns.html#DATA - says it contains the DATA STREAM - I assume that should be the image data in some format like base64 or some such. But what I get is the path of the image on external storage. Aug 23 15:52:24 why? Aug 23 15:52:24 so which would be better: helper class or singleton? Aug 23 15:53:54 yacek19 i think you should decide, you have already spent more time questioning that it would take to try all options :) Aug 23 15:54:17 yacek19 not hard to try these things to see what works best for "you" Aug 23 15:54:28 heh, right, such decisions consume my most time Aug 23 16:45:22 guys, where you usually put the configuration stuff, like server ip to connect with API calls? Aug 23 16:47:19 in a config file Aug 23 16:47:27 settings.xml maybe a good one Aug 23 16:47:28 :) Aug 23 16:47:46 but anywhere based on how I work or want my app to run Aug 23 16:47:58 depends on the ip and what it will be doing too Aug 23 16:48:23 thanks :D, now i'm learning android still :P, so how should i access, for example, an "ip" property in this settings.xml? Aug 23 16:48:45 by learning all the android basics from d.android.com Aug 23 16:48:52 the gettings started guides Aug 23 16:48:56 getting* Aug 23 16:49:50 which section specifically? Aug 23 16:50:06 well if you are new, best to go though all of the guides Aug 23 16:50:09 to get a feel for it Aug 23 16:50:26 then you wont end up asking all the basics in here that are in the docs and clear with guides ;) Aug 23 16:50:36 well, i've read till storing to databases Aug 23 16:52:07 StingRay_: i'm not going to put like 50 lines just to get the IP from a config file. http://developer.android.com/guide/topics/data/data-storage.html Aug 23 16:52:40 read about app resources Aug 23 16:54:26 StingRay_: they write about string, drawable and layout Aug 23 16:54:35 that doesn't seems a good place to store a settings.xml Aug 23 16:55:39 http://developer.android.com/guide/topics/resources/providing-resources.html Aug 23 17:04:01 StingRay_: it doesn't feels right, it seems that you can only use pre-defined types Aug 23 17:04:10 what ? Aug 23 17:04:32 and that you cannot create a settings.xml in values with, IE: type="config" Aug 23 17:04:53 huh ? Aug 23 17:05:14 it's for storing static data, with name ref/pointers Aug 23 17:05:23 you said you wanted to store server address Aug 23 17:05:32 do it in a settings.xml in values Aug 23 17:05:50 along with any other settings you want Aug 23 17:06:05 or store in the main values.xml… they all get parsed Aug 23 17:06:49 naschurmann do you want different config varaiables for different environments ? Aug 23 17:07:00 debug . production / etc Aug 23 17:07:35 i need a settings.xml to keep things organized, but for the documentation it doesn't seems that it's allowed to do a, ie, IP-HERE Aug 23 17:07:53 whats a "config" ? Aug 23 17:07:58 so i can call it R.config.ip Aug 23 17:08:04 erm no Aug 23 17:08:13 or @config/ip Aug 23 17:08:20 IP-HERE Aug 23 17:08:34 getResources.getString(R.values.ip) Aug 23 17:08:42 read the docs and examples, tis all there Aug 23 17:08:52 yes, but doesn't feel right to do that Aug 23 17:09:03 oh then write your own that feels right Aug 23 17:09:05 lol Aug 23 17:09:12 is like having it along with your strings values, and those are used for dictionary words Aug 23 17:09:16 Hey guys, I haven't done any android developement in over half a year. My code is super messy and I can't figure it out. Also I was wondering whether there have been any updates I should be aware of. I need to continue on the app I've been making. Where do I even start? Aug 23 17:09:35 StingRay_: i don't know if you are getting the point :s Aug 23 17:09:45 man thought it stormed cocos not too long ago Aug 23 17:09:48 naschurmann no, it not like that at all, different file… prefix with config_ip Aug 23 17:09:53 g00s, lol Aug 23 17:09:54 though is a string, is not a string, is a config parameter Aug 23 17:09:57 StingRay_, Hey Aug 23 17:10:23 CocoStorm maybe a good time to take a break, wait for L Aug 23 17:10:25 hehe Aug 23 17:10:33 naschurmann and that parameter is of a "data type" Aug 23 17:11:00 g00s, really? How much different will L be in terms of implementation? Aug 23 17:11:04 StingRay_: so you need to store your configuration parameters along with your strings and other values. Aug 23 17:11:07 I wont have to rewrite my app right? Aug 23 17:11:33 CocoStorm i guess you could grab L preview and dink around with it Aug 23 17:11:38 naschurmann in your app..yes Aug 23 17:11:59 g00s, my device is rooted will I still be able to get L? Aug 23 17:12:06 and will i need to rewrite my app Aug 23 17:12:12 dinking around with it sounds like a good shout though Aug 23 17:12:28 so you can actually call it R.values.ip next to R.values.login_value_for_the_login_form Aug 23 17:13:06 so you use the same namespace Aug 23 17:13:25 ok do a config class then with statics Aug 23 17:13:43 StingRay_: you are not helping anymore :P Aug 23 17:13:59 well those would be the two options Aug 23 17:14:06 so dont get why I'm not helping Aug 23 17:14:28 StingRay_: doesn't matter. Thanks for your time :) Aug 23 17:22:01 StingRay_: sux... you cannot access those values from outside an activity Aug 23 17:22:19 well yes you can Aug 23 17:22:25 but not outside a context Aug 23 17:22:29 yeah, you need to pass the context Aug 23 17:33:04 naschurmann again sounds like what you want is a class with static fields Aug 23 17:33:13 done and dusted :) Aug 23 17:33:37 StingRay_: i won't have a configuration in a class Aug 23 17:35:01 I mean a config class Aug 23 17:35:03 but ok Aug 23 17:35:04 :) Aug 23 17:54:52 hai Aug 23 17:56:56 i got this Activity that extends PreferenceActivity Aug 23 17:57:42 then i got a preferences.xml Aug 23 17:58:04 now, if i run the PreferenceActivity, shouldn't the preferences be set automatically? Aug 23 17:58:10 like, i check a checkbox Aug 23 17:58:15 and it gets set Aug 23 17:58:27 or should i listen to changes? Aug 23 17:58:31 question for the docs Aug 23 17:58:50 or a google search :) Aug 23 18:13:14 pdcmoreira, you have two options: 1) build a complex listener/callback/monitor chain that will catch all screen touches and calculate the position of the checkbox in your preference and then decide if it's checked based on its pixel color, or 2) read the docs like you should have and then set android:key="something" and android:persistent="true" Aug 23 18:14:44 ravilov, i did that Aug 23 18:14:50 thats exactly what i've done Aug 23 18:15:09 thats in the xml Aug 23 18:15:40 then you need to pastebin some code Aug 23 18:16:26 xml here Aug 23 18:16:28 http://pastebin.com/fZNn2TLn Aug 23 18:16:41 the last one is for testing only Aug 23 18:17:57 Hello. I have multiple animations loaded inside a method, which can be called multiple times. How do I load only once so they are re-used? Would final work? Or should I declare as a field and load in another method? (I'm using AnimationUtils.loadAnimation) Aug 23 18:18:32 pdcmoreira, java code? Aug 23 18:19:44 http://pastebin.com/b9RSvqma Aug 23 18:20:52 hey Aug 23 18:21:24 I have a list view and I am trying to figure out how to change the text color of the selected Item... having a hard time with it... Aug 23 18:21:52 pdcmoreira, why are you calling setDefaultValues()? Aug 23 18:22:05 Is there something I can add to the listview xml file or the drawable in the android:listselector call Aug 23 18:22:44 it says in the docs that makes it save the defaults the first time Aug 23 18:24:04 yes, and it also makes it reset everything to defaults whenever you call it Aug 23 18:24:19 it says, if the last parameter is false, it only does that the first time Aug 23 18:24:28 hm Aug 23 18:24:36 I would just drop that Aug 23 18:24:44 gotta test it then Aug 23 18:25:07 the thing is, the first option is working Aug 23 18:25:11 the switch Aug 23 18:25:26 because i'm listening to it i guess Aug 23 18:25:29 to run the service Aug 23 18:26:00 well, i gotta leave now, i might come back later Aug 23 18:26:02 thanks Aug 23 18:26:09 for your time Aug 23 18:26:10 do you use android studio yet? Aug 23 18:26:15 yes i do Aug 23 18:26:19 when will that get out of beta? Aug 23 18:26:29 is it beta? Aug 23 18:26:33 yep Aug 23 18:26:42 because it works better than everything i've programmed android in so far Aug 23 18:27:14 ok so Aug 23 18:27:19 cya guys Aug 23 18:27:22 thanks ravilov Aug 23 18:30:07 anyone know how to change a text color based on selection Aug 23 18:30:23 Lonesoldier728 can you tell if a row is selected ? Aug 23 18:30:49 or rather , item is selected Aug 23 18:30:54 yeah currently I have this that shows that changes the color of the whole row Aug 23 18:31:08 well if you can tell then if it is setTextColor ? Aug 23 18:31:29 http://pastebin.com/WPWwam7P Aug 23 18:31:39 yeah but how that option is not available Aug 23 18:32:05 in getView of the adapter you can do what you want Aug 23 18:32:08 based on anything Aug 23 18:32:20 well, anything that you can determine Aug 23 18:32:22 http://pastebin.com/52LZjTER Aug 23 18:32:25 if this helps Aug 23 18:32:47 not sure any of those pastes are relevant Aug 23 18:33:14 getView in the adapter, setTextColor() set to what you want based on selection Aug 23 18:34:32 ok I have this method and even programatically I cannot get setTextColor to show up Aug 23 18:34:32 http://pastebin.com/vE7NBre8 Aug 23 18:35:06 calling the adapter.getItemAtPosition (position). no options Aug 23 18:35:38 not sure you are understanding what I'm saying Aug 23 18:36:09 textViews have setTextColor method Aug 23 18:36:58 in the getView of the adapter, you can find the textView in the inflated or converted layout and set it based on selection Aug 23 18:37:09 for this you need a custom adapter Aug 23 18:49:58 StingRay_ if you were on mac 10.7 now, would you update to 10.9 or wait for 10.10 Aug 23 18:50:15 i'm a bit behind, but lots of things aren't being updated for 10.7 any more Aug 23 18:50:21 you gain nothing Aug 23 18:50:37 lots ? what is lots ? Aug 23 18:50:46 pretty much everything i use Aug 23 18:50:55 oh wait .7 Aug 23 18:50:59 all of my app store purchases are 'we aren't supporting 10.7 any more' Aug 23 18:51:08 yeah I would go to 10.8.x thats what I'm on Aug 23 18:51:08 lik textual, etc Aug 23 18:51:28 i'll just be in this spot again this time next year Aug 23 18:51:33 10.8 is oldish too Aug 23 18:51:36 heh Aug 23 18:51:51 aren't the updates free anyway? Aug 23 18:51:56 if you are a socialite 14 year old girl who cares about image, yeah, it's old Aug 23 18:52:13 Mavrik yeah, more the pita - i do a clean install Aug 23 18:52:33 *shrug* Aug 23 18:52:37 I just click "updatE" Aug 23 18:52:45 Mavrik and its worked each time :P Aug 23 18:52:46 would you recommend a different phone than the galaxy S5? Aug 23 18:52:50 mhm Aug 23 18:52:58 Mavrik do you have xcode installed ? Aug 23 18:53:12 RustyShackleford, I would recommend syphillis over a Samsung. Aug 23 18:53:16 g00s, nop Aug 23 18:53:43 my S4 treated me pretty well until it recently started to have problems Aug 23 18:53:55 you may be exagerating a little bit haha Aug 23 18:54:16 RustyShackleford in the uS ? Aug 23 18:55:04 yeah. Verizon is my carrier, so that limits my options a bit Aug 23 18:55:16 hm, i would say - get a moto on t-mo Aug 23 18:55:26 even a g / e ... if you don't want a nexus Aug 23 18:55:35 verizon does have the motorola razr maxx Aug 23 18:55:54 seems like they suck with updates though Aug 23 18:56:03 i have the charts! hold on.... Aug 23 18:56:06 i liked my motorola because they don't screw with android too much. It's pretty stock Aug 23 18:56:15 but yeah, upgrades were always late Aug 23 18:56:29 http://arstechnica.com/gadgets/2014/08/the-state-of-android-updates-whos-fast-whos-slow-and-why/ Aug 23 18:56:46 yeah samsung / lg sem to suck badly Aug 23 18:58:25 what about an iphone? Although then I can't play around with android development Aug 23 18:59:39 otherwise, verizon offers HTC One, LG G3, and Motorola Razr Aug 23 18:59:56 RustyShackleford sure there is a better channel to ask those questions in than this :) Aug 23 19:00:20 RustyShackleford, I think that as long as you have Verizon it doesn't really matter Aug 23 19:00:38 you'll get carrier bloated shit on any phone and they'll block all updates anyway, so buy the one you can afford and like the look at Aug 23 19:00:59 RustyShackleford, also, since you're not actually developing apps, #android is more appropriate Aug 23 19:01:52 i asked there too, just thought I'd get some more opinions Aug 23 19:03:45 Mavrik know anything about wifi / bluetooth ? Aug 23 19:03:53 well, low power wifi vs bluetooth Aug 23 19:04:01 BLE Aug 23 19:09:20 so anyhow StingRay_ i've accumulated a lot of cruft over the years on this box, semi-busted java stuff (trying to uninstall apple java, etc) and never had good luck updating from x to x+n where n>1 Aug 23 19:09:40 hence clean wipe Aug 23 19:09:41 hey g00s Aug 23 19:09:48 hey Napalm how are you Aug 23 19:10:06 not too bad thanks Aug 23 19:10:33 been working on a new Generic layout for android Aug 23 19:11:00 Napalm what are your goals for it ? Aug 23 19:11:12 think im going to work it so it can also be used as a LayoutManager for RecyclerView Aug 23 19:11:26 g00s: I'm calling it flow layout Aug 23 19:11:31 FlowLayout Aug 23 19:11:50 i'm sure it will be nice Aug 23 19:12:19 a few people mentioned recyclerview was infact a pita Aug 23 19:12:33 pita? Aug 23 19:12:52 oh pain-in-the-ass Aug 23 19:13:02 na, i think its brilliant Aug 23 19:13:16 been using it since the day of I/O Aug 23 19:13:31 its really what we have wanted Aug 23 19:13:45 its a shame I basically wrote my own Aug 23 19:13:50 and then they released one Aug 23 19:14:32 i remember romain joked 'listview v2' a looong time ago Aug 23 19:22:14 I still need to try recycler view, haven't gotten around to it yet Aug 23 19:24:49 The levels in my game are displayed in a 3col*5rows grid, how would you indicate that 1.the level has been cleared? 2. the player has the best score in the whole world for this level? Aug 23 19:25:43 any sort of x and crown Aug 23 19:26:46 pfn: its awesome! Aug 23 19:27:15 maybe, I should try it out in my tvm calculator Aug 23 20:07:43 Has Android Annotations framework always been around? Aug 23 20:13:01 hi Aug 23 20:13:28 So is on the android system (linux) also an eth1 or so for the mobile internet connection? Or some ppp interface thing? Aug 23 20:16:28 hi. If using google play service in gradle like compile 'com.google.android.gms:play-services:+', does graddle take latest api on sync? Aug 23 20:17:38 Not using gradle, but there should be some version/lock file? And in that file there is either an explicit version or something like 'latest' specified. Aug 23 20:19:12 mechanicalduck: you were right. there's *.iml file which states: Aug 23 20:19:32 but that isn't altest Aug 23 20:19:34 When you know the game, it doesn't really matter what tool it is. Aug 23 20:19:35 *latest Aug 23 20:19:48 lordgreg: so a fixed version? Aug 23 20:19:54 * mechanicalduck snips a cigarette into the beaker Aug 23 20:21:09 isn't latest Google Play Services to 5.0.89? Aug 23 20:21:58 OK, first of all, Google Play Services component is closed source. Aug 23 20:22:11 But you should be able to check the version in Google Play Store. Aug 23 20:22:51 lordgreg: https://play.google.com/store/apps/details?id=com.google.android.gms&hl=en Aug 23 20:23:09 Hm, it is version 4.4.52 in play store. Aug 23 20:23:24 Not sure if this also applies to the library / bindings you want to use. Aug 23 20:23:32 ah found it! Aug 23 20:23:39 that ain't the same :O Aug 23 20:23:44 ya? Aug 23 20:23:55 lordgreg: https://developer.android.com/google/play-services/index.html Aug 23 20:23:59 Check News section. Aug 23 20:24:05 Google Play services, Version 5.0 (July 2014) Aug 23 20:24:13 Quite recent Aug 23 20:24:39 :)) i know this.. since i'm using 5.0.77 atm; i've heard about version 5.0.89 :) Aug 23 20:24:42 and this is very interesting! Aug 23 20:24:42 that's what i'm looking for Aug 23 20:24:44 https://developer.android.com/google/play-services/setup.html Aug 23 20:25:01 good Aug 23 20:30:33 lordgreg you can check the local (SDK) play services repo SDKlocation/extras/google/m2repo* Aug 23 20:30:51 shows available versions from that revision from the sdk main repo Aug 23 20:31:50 ah, never thought of that -.- ty StingRay_ Aug 23 20:32:04 and ty mechanicalduck for info :) Aug 23 21:46:44 can recycler view scroll both horizontally and vertically at. the same. time? Aug 23 21:51:04 and it's so annoying that it's not fully documented on d. Aug 23 21:53:15 how does that even work Aug 23 22:03:13 how does what work? Aug 23 22:03:31 both h/v scrolling? think spreadsheet Aug 23 22:03:55 ahh Aug 23 22:11:21 Hey fellows when desiging custom views is all the drawing suposed to be handled in the class file? Or can I define buttons and layouts in .xml file Aug 23 22:12:00 It seem that when subclassing view all drawing must be handle by the class Aug 23 22:12:21 is this wright? Aug 23 22:12:40 drawing for a view is in onDraw of that view ? Aug 23 22:12:43 if you don't override the onDraw, then you can use xml Aug 23 22:13:07 ohh ok so its either or not both Aug 23 22:13:18 you can probably do both Aug 23 22:14:00 then y cant I nest layouts inside my view in xml Aug 23 22:14:02 in onDraw you get a copy of the current state, so just do what you want extra that xml wouldn't do Aug 23 22:14:21 is your view a viewgroup? Aug 23 22:14:28 nope Aug 23 22:14:48 at last it must be a viewgroup Aug 23 22:14:55 this makes sense Aug 23 22:15:03 and you are talking about ? Aug 23 22:15:12 yup Aug 23 22:15:16 if so yeah think you'd have to extend a viewgroup Aug 23 22:15:19 don't quote me tho Aug 23 22:15:52 I wanted to nest layouts and buttons inside Aug 23 22:16:04 it was not allowing it haha Aug 23 22:16:07 check out extending a viewgroup Aug 23 22:16:16 thank you buddy Aug 23 22:16:28 for pointing me in the wright direction Aug 23 22:16:34 possible* Aug 23 22:18:49 canvs2321: are you familar with iOS development ? Aug 23 22:19:03 nope Aug 23 22:19:11 K no worries Aug 23 22:19:13 just android forever, and still learning all the time Aug 23 22:22:16 right now, I have a list view in a horizontal scroll view and it looks like ass because you can't see the scroll bar unless you're scrolled to the right Aug 23 22:23:08 canvs2321: If I was looking at creating a view similar to this http://imgur.com/83S5RXA would yo say to use a custom view or activity ? Aug 23 22:24:06 I would like to roll it over the top of a webview Aug 23 22:24:58 i'm not seeing an image Aug 23 22:25:17 n/m had to disable adblock Aug 23 22:25:42 does it get bigger? Aug 23 22:25:59 im sorry shit Aug 23 22:26:03 lol Aug 23 22:26:16 happens to alot of guys Aug 23 22:26:43 dat jpeg. Aug 23 22:28:27 http://imgur.com/ipkFp9S Aug 23 22:28:29 lol Aug 23 22:28:40 it was the first one I came to Aug 23 22:28:41 hehe Aug 23 22:29:08 don’t care for the first one just two and three Aug 23 22:29:23 something similar to the effect Aug 23 22:30:10 what effect Aug 23 22:30:13 what's the question? there isn't a difference between those besides window ize Aug 23 22:30:15 I only see a button Aug 23 22:30:50 custom view or custome activity ? Im not familar with the lingo Aug 23 22:31:30 you are always building custom activities... Aug 23 22:31:42 activities are your app interactions Aug 23 22:31:47 views are widgets Aug 23 22:32:07 custom views are less commonly done Aug 23 22:33:31 ok so if I want an area to sign and two buttons at the bottom ok and cancle then I would make a custom activity, but if I want to create a custom button I would subclass view ? is this correct ? sorry guys Aug 23 22:34:30 xMYTHICx depends how custom you want the button :) Aug 23 22:34:30 pfn: Aug 23 22:34:52 why are you wanting custom views, are you just talking aesthically(sp?) or functional Aug 23 22:35:09 functional Aug 23 22:35:13 what exactly are you trying to accomplish Aug 23 22:35:26 signiture capture Aug 23 22:35:27 read the android dev guide then come back with questions Aug 23 22:35:27 as in more than just onClick? Aug 23 22:35:38 you are completely unintelligible right now Aug 23 22:35:54 pfn : already have Aug 23 22:36:08 trying to gain a better understanding is all Aug 23 22:36:23 sorry for the bother Aug 23 22:45:02 pfn: Aug 23 22:45:24 canvs2321: it seems fragments is what I was looking for Aug 23 22:45:33 sorry againg guys Aug 23 22:58:15 hi guys, i have created an activity that uses table layout, and then want to display several messages extracted from java objects to populate the rows, but i can only display the last text how can i use a textview to appear in another row with any other text i give it? Aug 23 23:00:46 k-joseph I have no idea what you just asked … lol…. Aug 23 23:00:53 * StingRay_ may need more coffee Aug 23 23:01:30 StingRay_: display hello worl again and again in like 50 rows in the ui Aug 23 23:01:55 from java and not xml Aug 23 23:02:21 TextView with newline ? ListView with some kind of Adapter Aug 23 23:02:24 ? Aug 23 23:02:29 i have limited knowledge about getView method Aug 23 23:02:52 StingRay_: not listView. but in a table Aug 23 23:03:11 StingRay_: am instead using the table layout Aug 23 23:03:24 ewww, not good, no idea then... Aug 23 23:04:53 use list view, not table Aug 23 23:06:52 pfn: want to explore other ways of achieving it Aug 23 23:07:40 k-joseph there are ways then there are …erm…ways that are a bit pointless Aug 23 23:08:23 TextView + newline + scroll or listView are what you should explore really Aug 23 23:23:56 I'd like to explore using a single TextView for my irc client views Aug 23 23:26:52 rather than a list view Aug 23 23:38:54 I'm just too lazy to determine if TextView handles thousands of lines well Aug 24 00:09:31 pfn: why instead of listview? Aug 24 00:11:47 text selection among other reasons Aug 24 00:12:29 difficult to do multi line selection in a list view Aug 24 00:16:57 hi guys Aug 24 00:17:05 I need a help Aug 24 00:17:37 'a help' Aug 24 00:17:48 I'm using eclipse in Kubuntu Linux for developing android apps Aug 24 00:18:02 yay! Aug 24 00:18:12 congrats Aug 24 00:18:27 I've added the android rules file that I need Aug 24 00:18:37 but it doesn't detect devices Aug 24 00:18:52 unless I killand restart adbserver using terminal Aug 24 00:19:00 as super user Aug 24 00:19:52 restart udev Aug 24 00:20:32 do I need to restart it everytime before I run the code? Aug 24 00:22:08 no Aug 24 00:22:17 to apply the udev rules you set Aug 24 00:23:19 oh Aug 24 00:23:20 I see Aug 24 00:23:31 and would you please tell me how I can restart the udev? Aug 24 00:26:01 that's a question for your os Aug 24 00:26:05 not for here Aug 24 00:26:16 ok Aug 24 00:26:20 thanks for the help :) Aug 24 00:27:23 google "restart the udev" Aug 24 00:27:28 lol Aug 24 00:43:03 Question: I could've sworn I came across a UI element in the Android SDK somewhere that was an implementation of the master/detail flow that they talk about in the design guide, but that would've been a couple months ago and I can't find it again for the life of me. Does anyone know if there is such a thing? Aug 24 00:45:50 there is a template that you can choose Aug 24 00:46:20 when starting, but not sure there is a "view" that is an all in one thing… the template is made from fragments and views I would suspect Aug 24 00:50:51 yeah there is no ui element Aug 24 00:50:57 you have to build master detail yourself Aug 24 00:51:08 or https://github.com/commonsguy/cwac-masterdetail Aug 24 00:51:16 but i havent messed around with that Aug 24 01:02:21 ugh, i need a bit of inspiration … anyone have any good apps on the store ? care to share ? Aug 24 01:07:30 inspiration for what Aug 24 01:08:55 the whole android dev thing lol Aug 24 01:08:57 all of it Aug 24 01:08:59 :) Aug 24 01:22:56 uhh Aug 24 02:17:03 StingRay_ if you aren't inspired, read Aug 24 02:29:14 that takes effort Aug 24 02:29:32 not saying you are wrong! Just… it takes time and effort Aug 24 02:30:51 StingRay_: it always does. nothings free. Aug 24 02:31:50 ya - i just threw that out, because when i'm out of ideas and have no direction i like to pick up a book on any topic i'm curious in Aug 24 02:32:32 StingRay_ also go for a walk; lactic acid created my the muscles affects dopamine in the brain Aug 24 02:32:41 maybe through trees, by water ;) Aug 24 02:32:54 you get lactic acid buildup from just walking? Aug 24 02:33:05 i need to do some hardcore running to feel the burn Aug 24 02:33:42 not sure you need to feel a burn Aug 24 02:33:50 thats true Aug 24 02:33:55 let me see if i can find that one Aug 24 02:35:44 going back to what StingRay_ said Aug 24 02:35:58 i dont even create android applications to make them Aug 24 02:36:11 i like the puzzle of architecting the app Aug 24 02:39:09 oops it was norepinephrine Aug 24 02:39:17 thats why i couldn't find it http://www.eurekalert.org/pub_releases/2014-02/uob-nrs021014.php Aug 24 02:39:24 yeah i was confused about the lactic acid > dopamine Aug 24 02:39:39 dat runners high Aug 24 02:40:17 man i have to push myself hard for runners high Aug 24 02:40:19 like ouch hard Aug 24 02:44:42 Does anyone know why cwac discontinued https://github.com/commonsguy/cwac-endless? Aug 24 02:44:59 i guess its not so endless eh Aug 24 02:45:08 lol Aug 24 02:48:51 honestly just gonna write my own implementation Aug 24 02:49:48 I've used something different Aug 24 02:49:51 but dont remember what Aug 24 02:49:54 oh Aug 24 02:49:54 just one class Aug 24 02:50:03 well that is very helpful Aug 24 02:50:06 lol Aug 24 02:50:13 I can check but not now Aug 24 02:50:15 tomorrow Aug 24 02:50:17 ok Aug 24 02:50:25 it was. Aug 24 02:50:30 EndleddScrollListener Aug 24 02:50:53 yeah i dont like that Aug 24 02:51:01 you actually have to populate the list first Aug 24 02:51:07 https://github.com/thecodepath/android_guides/wiki/Endless-Scrolling-with-AdapterViews Aug 24 02:51:10 this Aug 24 02:52:00 just one interface actually Aug 24 02:52:13 sorry, abstract class ;0 Aug 24 02:52:14 ;) Aug 24 02:52:20 can say it works Aug 24 02:52:32 sometimes it loads two 'pages' Aug 24 02:52:33 endless is easy Aug 24 02:52:42 when view is too big Aug 24 02:52:47 pfn: depends Aug 24 02:52:53 i like the getView method Aug 24 02:53:01 scroll listeners only work if theres something to scroll thru Aug 24 02:53:12 and ? Aug 24 02:53:37 what if you dont have initial list items Aug 24 02:54:15 load first page on constructor then Aug 24 02:54:23 *in Aug 24 02:54:31 blegh Aug 24 02:55:05 well Aug 24 02:55:15 I just told you what works ;) Aug 24 02:55:47 come back when you Aug 24 02:55:53 will have problem with paging :D Aug 24 02:56:22 what do you mean Aug 24 02:57:58 you will see ;) Aug 24 02:58:49 ive done paging before Aug 24 02:58:54 havent had any real difficulties Aug 24 02:59:04 im not some filthy casual Aug 24 02:59:05 lol Aug 24 02:59:09 maybe it was in our app Aug 24 02:59:16 or maybe your views were small Aug 24 02:59:29 desmin88 what do you mean the getView method ? Aug 24 02:59:39 you mean the method that exists in all adapter ? Aug 24 02:59:54 https://github.com/commonsguy/cwac-endless/blob/master/endless/src/com/commonsware/cwac/endless/EndlessAdapter.java#L240 Aug 24 02:59:55 well, except bindView which is same thing **** ENDING LOGGING AT Sun Aug 24 02:59:58 2014