**** BEGIN LOGGING AT Wed May 21 02:59:58 2014 May 21 03:09:40 when using listview choiceMode=singleChoice; is there a way to reject a click on an item (#2) such that the previously selected item (#1) maintains it selection? May 21 03:10:41 if my onItemClickListener says setItemChecked(position, false) … then everything is deselected May 21 03:14:41 in short no May 21 03:14:46 but you can do something else May 21 03:15:02 i figure i can maintain some past state, selection, ugh May 21 03:15:35 hmm, not without it being really hacky May 21 03:15:47 you can set the checked items and get them May 21 03:15:57 but that's kinda overkill, dont you think? May 21 03:16:38 yeah May 21 03:17:10 i think i'm going to put down the nav drawer for the moment, i can't get it to work the way i want May 21 03:17:59 ive made Animator's work in the support library fragment's :D yay! May 21 03:18:39 where is android 4.4.3 :| May 21 03:20:23 g00s: if your data doesn't reorder itself just set a var in your activity/fragment for the last one May 21 03:20:37 g00s: and just bounce that way. hacky but minimally. May 21 03:20:43 yeah … i can do that. i hate hacky ! May 21 03:22:43 less hacky but way more work is subclassing lsitview May 21 03:22:52 into something that lets you validate before passing the touch down the chain May 21 03:23:56 one might make the argument that you shouldn't have things in the listview that respond strangely May 21 03:24:24 you could also bypass the listview selection entirely (you need to set some special attribute, I forget which) and make your layout per item clickable May 21 03:24:28 w/ the selector background May 21 03:24:47 and then make individual rows unclickable and set them as faded/disabled graphically May 21 03:25:40 dragorn do you mean setting them disabled in the adapter, but making the convertView clickable somehow ? May 21 03:26:04 g00s: you can tell listview to pass clicks downstream instead of generating an onlistitemclicked or whatever it is May 21 03:26:29 i'm terrible with listview :| do you recall how ? May 21 03:26:47 g00s: then you make your expanded layout per item clickable, and set the selector background to make it look like a list row item May 21 03:27:12 and then you can in each view expansion figure out if you're going to let the user click on it, and graphically change it to make it obvious it's unclickable, too May 21 03:38:06 thanks dragorn May 21 03:39:06 dragorn btw you can see this behavior in the Google Drive Nav Drawer, items like 'Settings' don't really highlight May 21 03:42:56 g00s: if you set your listitem layout as clickable and set the list selector resource as the background May 21 03:43:05 g00s: you can get highlight-on-click behavior May 21 03:43:35 aha, that makes sense … will try now May 21 03:54:29 JakeWharton: I want to reload data in u2020 when I delete an item to refresh the list. How should do it in better way? Should I use Otto’s Bus or onActivityResult, or something else? May 21 05:17:41 I am trying to implement the facebook login button in my app with in my main_activity.xml file, but when i try this my app will open and then immediately "unexpectedly quit" May 21 05:18:17 I do not want the button to do anything yet, but just to exist. I fully expect it to crash when pressed at this point. But it just quits the app immediately May 21 05:20:50 mayanman2: log log log May 21 05:22:20 you definitely shouldn't post the log here - you should use a pastebin May 21 05:22:36 also, you should talk in the channel unless there's a really good reason not to May 21 05:23:27 Oh sorry. I just havent used irc in a while. I thought the "leeds Mayanman2: log log log" message wAS sent only to me May 21 05:23:39 I'm a newb to IRC May 21 05:23:40 no, it was sent to the channel, but addressed to you May 21 05:23:45 ah, got it May 21 05:30:21 Leeds should I post the entire log? May 21 05:30:35 you need to find the exception May 21 05:33:18 This is the log exception May 21 05:33:21 http://pastebin.com/FTXmtZmd May 21 05:33:35 or part of the log that i found relevant. May 21 05:35:08 anyone know what the standard "logout" icon for Android what be, if any? May 21 05:36:38 mayanman2: nope, no exception there... post more May 21 05:38:26 Leeds: just updated it. Sorry about that May 21 05:39:01 no... much much more log May 21 05:39:40 mayanman2: there's still no stacktrace...has it generated a new url? May 21 05:40:56 please don't take this as being too patronising, just a little bit... but if you don't know what you're looking for, don't guess - just post a lot of log and let us look for you May 21 05:40:57 barbs: you'll have to forgive me ignorance. I'm completely new to android programming. Not exactly sure what the question or comment mean. May 21 05:41:18 I'm sorry. I'll post the entire thing. I really dont know. May 21 05:41:40 First app ever. Have been learning through videos and sources. May 21 05:42:03 not a problem - what I meant was that, when an Android app crashes, the logcat will show the exception thrown, as well as the stacktrace, which is basically where in the code the crash occurred May 21 05:42:29 what I meant by the new url, was if pastebin generated a new url when you updated the entry :) May 21 05:43:12 Ah. Thank you barbs. Now i understand. May 21 05:43:19 new link: http://pastebin.com/2wUE8Z1p May 21 05:43:32 I just posted the entire thing. I'm sorry once again for my ignorance May 21 05:44:44 hmmm...still no stacktrace. are you copy-pasting from the logcat window in Eclipse/Android Studio? May 21 05:45:13 yes, directly from Eclipse. I just copied the entire log from logcat May 21 05:45:56 hmmm...maybe it's got some kind of filtering on it.... are you able to run "adb logcat" directly from your command-line? May 21 05:46:25 you're basically looking for something like this: http://pastebin.com/6E1ZpiYc May 21 05:49:08 When I run adb logcat from the command line, I get the kind of information you are talking about. But it is a lot more than the previous posts May 21 05:51:35 yep - it'll basically spit out whatever's in the log buffer, with the most recent stuff at the bottom May 21 05:52:18 if you're seeing multiple stacktraces, it's likely the most recent one you're after. if you see classes and packages corresponding to your app, you're on the right track :) May 21 05:52:39 you can paste the whole thing into pastebin if you like and I should be able to find where you're crashing May 21 05:53:10 Yeah I was able to find it. I think i had some filter without realizing it. So i cleared the log and ran again but now I cant find it. seems the filter is back on:-(. I'll find it and paste it soon. May 21 05:53:32 you can always reproduce the crash, and it'll generate another stacktrace :) May 21 05:54:59 http://pastebin.com/Phg5F6Mf May 21 05:59:04 bleh...so it's hard to say exactly what the issue is, but it looks like you need to do some kind of initialisation for the LoginButton...I'd check the facebook docs May 21 05:59:10 hello fella h4ck3rs May 21 06:00:06 h0h0h0 May 21 06:02:08 see i read that as "farckthurs" May 21 06:03:08 Thank you barbs. I'll try and see what I can do with that. Thank you for your patience May 21 06:03:33 no problem :) May 21 06:03:51 * capella I remember my first npe ... good times :) May 21 06:04:08 the first of many....so so so so many.... May 21 06:04:14 heh May 21 06:04:36 capella: I remember my first "real" app May 21 06:04:40 still working on it May 21 06:04:44 lol May 21 06:04:46 it is a big MF May 21 06:05:17 I started slow, wrote small game apps that I never went back to May 21 06:05:28 just kept iterating into other things May 21 06:06:04 well, I wrote some utility apps May 21 06:06:13 a dedicated RSS reader May 21 06:06:23 and then a webapp (HTML based) May 21 06:06:36 also worked with appcelerator for a bit May 21 06:06:40 My new favorite joke is my first Uni class was 101-101 ... Intro to Binary :P May 21 06:06:57 lolll May 21 06:07:25 that one good joke May 21 06:07:38 I will definitely not tell it to my wife May 21 06:07:40 It's stupid enough from me to laugh at May 21 06:07:45 who already thinks I'm not funny May 21 06:07:51 there ! XD May 21 06:07:58 :D May 21 06:10:10 at least it's better than "There are 10 types of people in the world..." May 21 06:10:16 * barbs thinks everyone's heard that one already May 21 06:10:20 oh god please don't May 21 06:10:31 I havent heard it... haha May 21 06:10:35 Those who speak binary? May 21 06:10:44 and those who don't >< May 21 06:10:49 yep May 21 06:10:54 lool May 21 06:10:57 * capella wins the internet May 21 06:11:00 NO! May 21 06:11:11 mayanman2: YOU ARE NOT ALLOWED TO LAUGH AT THIS! May 21 06:11:13 mayanman2: DON'T LOL AT THAT!! :P May 21 06:11:13 I hadn't heard that before May 21 06:11:23 * capella guessed May 21 06:11:24 are you five years old? May 21 06:11:34 No, just new to the programming, computer community May 21 06:11:39 :S May 21 06:11:47 I'm still in the University May 21 06:11:58 get your shit together! this is a joke-non-grata! May 21 06:12:01 you're on thin ice mayanman2!!! May 21 06:12:27 there are many versions to this joke May 21 06:12:31 all are equally bad May 21 06:13:16 So it's not a joke I should tell to interviewers for an internship? May 21 06:13:22 hmmmm May 21 06:13:26 well May 21 06:13:34 depends how old the HR people are May 21 06:13:53 I found that old people don't know those jokes and tend to laugh at bad ones May 21 06:15:00 like the jew and the Chinese guy on the plain (it's ok, I'm Jewish) May 21 06:15:02 Hopefully I get an old guy to interview me then. I'm low on computer science jokes May 21 06:16:39 thepoosh: don't think I've heard this one yet... May 21 06:17:24 an american Jew and a Chinese guy sit next to each other on a plane May 21 06:17:25 thepoosh: Please tell May 21 06:17:43 suddenly the Jew slaps the Chinese on the face May 21 06:17:56 Chinese is like "WTF DUDE?!" May 21 06:18:14 Jew said: "that's for Perl Harbor" May 21 06:18:32 Chinese: "WTF?! that was the Japanese not the Chinese!!!" May 21 06:18:38 China was our partner May 21 06:18:43 oh May 21 06:18:49 Jew: "Japanese, Chinese YOU ARE ALL THE SAME TO ME!!" May 21 06:19:02 2 minutes later the Chinese slaps the Jew May 21 06:19:09 haha, I think I have heard this one, but keep going May 21 06:19:10 Jew: "WTF MAN?!" May 21 06:19:22 Chinese: "that is for sinking the Titanic!" May 21 06:19:41 Jew: "WTF?! the titanic hit an Iceberg" May 21 06:19:41 oh i hear it coming May 21 06:19:57 Chinese: "Iceberg, goldberg! you are all the same to me!!!" May 21 06:20:04 haha May 21 06:20:05 weisberg! May 21 06:20:09 boom tish! May 21 06:20:43 capella: that is not a jewish name May 21 06:21:02 Did I spell it wrong? May 21 06:21:32 no May 21 06:21:38 oh May 21 06:21:45 Weisberg is a name May 21 06:21:48 http://en.wikipedia.org/wiki/Jacob_Weisberg May 21 06:21:53 but Weisberger is more common May 21 06:22:18 see weisberg and iceberg ... that's the joke May 21 06:22:19 I saw Heisberg May 21 06:22:27 same thing May 21 06:22:31 jew are crazy May 21 06:22:32 :) May 21 06:22:40 Heisberg? Are you certain? May 21 06:23:01 the Hindenburg was a blimp May 21 06:23:15 * barbs just wants to contribute May 21 06:23:28 Ah, well heisberg was uncertain ... in prinicple May 21 06:24:04 there are 2 types of people in the world... May 21 06:24:16 ohoh May 21 06:24:21 those who can extrapolate from incomplete data... May 21 06:24:37 That's correct. May 21 06:24:51 Leeds: LOL May 21 06:25:15 capella: going to this in two weeks May 21 06:25:15 http://il.droidcon.com/2014/agenda/ May 21 06:25:25 what talks should I go to? May 21 06:25:32 g00s: you here man? May 21 06:26:45 thepoosh: my eye went straight to the bit about the angry jew game :) May 21 06:27:06 LOL May 21 06:27:09 didn't see May 21 06:27:22 since I don't do HTML 5 I'll probably go to that May 21 06:28:18 thepoosh: You going on your own? Or is your corp. sending you? May 21 06:28:30 sending me and a co-worker May 21 06:28:45 it's around 100$ a ticket May 21 06:28:48 Nice :) May 21 06:28:51 yep May 21 06:29:17 Moz sent me to Warsaw and Toronto ... I've been contributing patches to them May 21 06:29:39 incidentally, for mayanman2 - https://www.facebook.com/help/contact/login_workshops May 21 06:29:41 Moz May 21 06:29:42 ? May 21 06:29:53 I keep asking to come to SF but they say .. well we'd rather you go elsewhere May 21 06:29:59 XD May 21 06:30:09 capella: I got a few trips to SF out of my time at Sun :) May 21 06:30:13 don't get it May 21 06:30:16 mozilla - I hack on Firefox May 21 06:30:20 I/O should be much better May 21 06:30:53 leeds: I've been to SF, it was pretty nice, but that wasn't too recent May 21 06:32:20 thepoosh: got some nice industry player going to your event! May 21 06:32:30 who? May 21 06:32:37 I need to know who to go listen to May 21 06:32:57 Ms, Intel, Facebook, Paypal @ a glance May 21 06:33:07 oh yeah May 21 06:33:21 they have very nice R&D offices in Israel May 21 06:33:32 The moz events have been all inside stuff May 21 06:35:08 Oh, an actual Androi person "Royi Benyossef" AVG, Epson, cool May 21 06:35:32 Conduit ???? May 21 06:35:48 I serioulsy want to talk to that guy :/ May 21 06:36:49 Conduit are assholes May 21 06:36:57 I wish they would close shop already May 21 06:37:04 capella: hop on a plane May 21 06:37:09 we will be right here! May 21 06:37:22 heh - kinda was my point in nicer terms :) May 21 06:38:05 well, I was using my nicest terms of wishing death to people May 21 06:38:23 :p May 21 06:39:00 every time I do volunteering work on my in-laws computers, all I do is remove fucking Ask.com May 21 06:39:06 Yossi Elkrief ... another Android guy ... and he's dogfooding google class May 21 06:39:07 and all the other toolbars May 21 06:39:23 *glass May 21 06:39:50 well, we have Jake and use to have Romain May 21 06:47:08 hmm im tryng to view a pdf, using same code as i did once before but now i get "this document cannot be opened" im using an intent to do it and have a pdf reader, any ideas? May 21 06:52:07 aha! found my next project / bug to patch May 21 06:58:46 anyone seen this myfileprovider? May 21 07:04:32 no matter what i do a pdf wont view May 21 07:04:35 so angry May 21 07:18:42 JakeWharton: I want to reload data in u2020 when I delete an item to refresh the list. How should do it in better way? Should I use Otto’s Bus or onActivityResult, or something else? May 21 07:36:00 Somebody used the SwipeListView library before? I have the same problem like this one: https://github.com/47deg/android-swipelistview/issues/82 May 21 07:36:14 Or does somebody know what can be a fix for this? May 21 07:57:32 Nilium bird lovers! (this is a cool job) http://imgur.com/a/N5gHZ May 21 07:57:37 Anyone know how i can set the tabbbar transparent in a fragment? I just want transparent tabbars on a certain fragment (simple swipe subview) May 21 08:09:00 hehe g0 May 21 08:09:18 god i hate fragments, why do they exist again? May 21 08:09:23 lol May 21 08:09:51 to make android coding nearly as bad as objc? May 21 08:26:18 oh come on, they aren't THAT bad May 21 08:33:00 Gaz`: woah, calm down satan May 21 08:48:57 I have a Fragment which contains a ViewPager (2 pages / Fragments). One page = list, other = map with POIs, I create the viewpager + adapter in oncreate of my Fragment, but I get "Skipped ... frames", how can I avoid this? The data objects (pois) are already created before May 21 08:49:25 so the only thing I do is: create viewpager and adapter: fill listview and show all pois on the map but don't know what I can move from the main thread May 21 08:51:34 FrancescoV: where are your objects from? May 21 08:52:27 danijoo: POISManager, its a singleton class which has a list May 21 08:52:50 so you dont create them May 21 08:52:56 they are already there May 21 08:53:21 yes May 21 08:53:26 data already created May 21 08:54:15 mh.. this is most often the proble May 21 08:54:16 but mapFragment (2nd page of viewpager) has an OSMDroid map, maybe this is the problem. I put all my pois (markers) on the map in onCreate May 21 08:54:33 you could try to do that in an async task May 21 08:58:15 danijoo: I can create the markers in an asynctask but must add them on main thread too, but Idd I can create the markers in another thread May 21 08:58:43 you should somehow find out where the problem is May 21 08:58:48 attack a debugger or something like that May 21 08:59:32 attach* May 21 09:00:24 danijoo: tnx for helping, i'll check it May 21 09:00:34 Does retrofit autmaticaly encode body to UTF8 or something? May 21 09:00:43 in think so ArcaneWater May 21 09:01:23 danijoo fml ^^ The only thing which shouldnt be encoded is = in the whole api -.- May 21 09:01:28 anyone with styling experience of urlspans May 21 09:01:50 myabe there is a method to set/unset encoding May 21 09:02:17 JakeWharton there maybe? May 21 09:02:45 https://github.com/square/retrofit/blob/master/retrofit/src/main/java/retrofit/converter/GsonConverter.java#L43 May 21 09:05:08 see also https://tools.ietf.org/html/rfc7159#section-8.1 May 21 09:13:25 Choreographer(515): Skipped 69 frames! The application may be doing too much work on its main thread. May 21 09:13:35 I’m getting this log entry. is it because I’m running in an emulator? May 21 09:14:02 because I use AsyncTask for everything internet-related. May 21 09:18:14 danijoo, you around? May 21 09:18:55 yeah May 21 09:19:23 you still up for looking into the thread interrupt issue from yesterday? where you asked to see some code to know where to place the checkers? May 21 09:20:07 morning May 21 09:21:24 yeah. although i cant promise im helpful May 21 09:23:07 not expecting much, I already achieved what we were discussing but Im afraid at the state of the code where the checks are randomly scattered May 21 09:23:08 http://pastie.org/9192611 May 21 09:25:47 does Log commands removed automatically if App debugable = false? May 21 09:26:08 or its not removed but not shown? May 21 09:26:17 MalekAlrwily: the compiler will strip everything off that will never be used May 21 09:26:50 so if you do if(BuildConfig.DEBUG) {Log.d("TAG", "message"}, the compiler will remove these code lines if buildconfig is not set to debug May 21 09:27:08 that's 1 big loop "Calibration Loop" with 2 loops inside it May 21 09:27:52 danijoo: Good to know, Thank you :) May 21 09:28:28 MalekAlrwily: but only for static variables. If you have a private boolean debug = false; in your code, this wont work (because it might change at runtime) May 21 09:29:08 Sicp: any reason why you dont use an AsyncTask? May 21 09:29:29 no reason May 21 09:29:31 just used thread May 21 09:29:36 getActionBar() returns null anyone know why May 21 09:29:39 it gives no advantages in this case May 21 09:30:34 unless you know something I don't May 21 09:31:20 not really. just asking :) May 21 09:31:32 I usually use this approach to interrupt threads: May 21 09:31:33 http://pastebin.com/r0tpRtJF May 21 09:32:18 (some java gurus might hit me for that) May 21 09:32:28 same as isInterrupted(), no? May 21 09:32:59 send interrupt, check isInterrupted(), should report true May 21 09:33:11 as it is right now, but the places where I have the checks is what makes me think its messy May 21 09:33:24 have no idea. thats why i use my own implementation. at least i know whats happening in this way :D May 21 09:33:25 like inside the while loop and inside the while loop's condition May 21 09:33:52 have you checked the state of isInterruped() ? May 21 09:34:02 is it set to true after you call interrupt() May 21 09:34:05 ? May 21 09:34:32 cause if you have it inside do{ .....}while (something && !isInterrupted); then in some cases you'd already be inside that while loop, and the interrupt goes off before the while loop loops to read that isInterrupted() has actually returned false, but you'd already be still inside the loop, trying to access some thing that has long been discarded May 21 09:34:35 Gaz`: are you hiding the activities title? May 21 09:34:44 I haven't checked that, I took it for granted May 21 09:35:13 you should check that. May 21 09:35:22 * Gaz` wonders why action bar is so bad.... May 21 09:35:59 maybe you have not set an appropriate action barable theme to your app, Gaz May 21 09:36:02 Gaz`: whats the problem Gaz`? If you dont show an actionbar, it will return null. May 21 09:36:17 in the manifest May 21 09:36:18 yeh but isnt that black bar at the top with the icon in, an actionbar? May 21 09:36:24 no. May 21 09:36:26 yeh maybe, so confusing May 21 09:36:44 ah ok i had requestWindowFeature(Window.FEATURE_NO_TITLE); May 21 09:37:00 yea .. May 21 09:37:04 http://1.bp.blogspot.com/-5Ic4isl47lg/UC694uF_UyI/AAAAAAAAI2Q/5CDsJnKIm8I/s1600/Untitled+drawing+(1).png May 21 09:37:18 i still think the actionbar is a huge mistake, absolute mess May 21 09:37:22 actionbar is the thing below black and blue May 21 09:37:49 Gaz`: werent you the same guy complaining about fragment implementation an hour ago? :D May 21 09:37:55 you're just doing it wrong bro May 21 09:38:03 yes May 21 09:38:08 it's always the case, with everything in life. May 21 09:38:09 i think fragments are awful too May 21 09:38:09 cant think of something easier to implement then an actionbar.. May 21 09:38:11 lol May 21 09:38:13 hey guys May 21 09:38:19 fragments and actionbars suck IMHO :) May 21 09:38:35 write it in a blog May 21 09:38:40 maybe Google will look into it May 21 09:38:44 what exactly does the enabled parameter of a view does? May 21 09:38:51 time to implement a better solution on your own then ;) May 21 09:38:58 go! now! May 21 09:39:00 startup May 21 09:39:10 ActionMan Bar May 21 09:39:13 jvrodrigues: "enable it" :/ May 21 09:39:19 :-) i usually do code my own "actionbar" makes life about 45 trillion times easier May 21 09:39:27 yes, but what does it affect? May 21 09:39:34 it doesn't seem to have any visible changse in my app May 21 09:39:41 make it useable May 21 09:39:45 ok i can go back by hitting that icon, time to stop bitching and send build :) cheers guys May 21 09:39:48 hum May 21 09:39:53 then i have some code issuees May 21 09:39:56 it has no effect if its only showing some text May 21 09:40:01 danijoo: was that your app design? May 21 09:40:12 but for example a preference view is unselectable if disabled May 21 09:40:30 Napalm ? May 21 09:40:34 what? May 21 09:40:39 http://1.bp.blogspot.com/-5Ic4isl47lg/UC694uF_UyI/AAAAAAAAI2Q/5CDsJnKIm8I/s1600/Untitled+drawing+(1).png May 21 09:40:53 no that was a random copy from google imagages to show what an actionbar is May 21 09:41:00 oh, lol May 21 09:41:19 why are you asking? May 21 09:41:43 that's a todo list May 21 09:41:55 i was about to comment on the fact that the tick should be top left May 21 09:41:56 :D May 21 09:42:04 :p May 21 09:42:25 Timely does that May 21 09:42:53 hi, I'm having a weird problem while debugging an ndk library on an x86 arch with ndk-gdb May 21 09:43:06 it looks like gdb can't find the library and get "gdbserver: Corrupted shared library list: 0x40037c18 != 0x426aa338" May 21 09:43:19 also can't see it when doing info shared from gdb May 21 09:43:42 but everything works fine on an arm arch May 21 09:44:05 has anybody seen this behavior before? May 21 09:54:19 Is there a way to exclude provided dependencies from being proguarded ? Seems like they end up in the final jar created by proguard May 21 09:54:34 for gradle plugin 0.9 May 21 09:54:50 what this error? com.squareup.otto.Bus has no injectable members. Do you want to add an injectable constructor? May 21 09:56:17 hi May 21 09:56:57 Any gradle experts around here? May 21 10:02:26 MohitKanwal: you should define that in your proguard config May 21 10:04:05 danijoo: how do i define that ? example? May 21 10:05:06 dunno, google it May 21 10:05:29 should be -keep class packagename.** or something like that May 21 10:05:36 in your proguard.cfg May 21 10:05:36 MohitKanwal: did you try `runProguard false` ? May 21 10:05:50 piracyd3: hello :) May 21 10:06:23 i have this code http://codepad.org/Cqd293rE it's simple google map v2 application but onLocationChanged doesn't operate i send gps location from emulator control but nothing happened why ? May 21 10:06:46 kamol: yes tried that the funny thing is the during proguard it is not included May 21 10:07:11 kamol: sorry i meant when i set runProguard as false it is not packaged May 21 10:07:15 which is correct. May 21 10:08:40 danijoo: that keeps the packagename.** as it is doesnt help exclude it. Proguard has injars and libraryjars but seems the default Proguard Task added to the gradle tasks does not allow configuration of those 2 values to be changed May 21 10:09:58 no idea? May 21 10:13:57 Here is the source: https://android.googlesource.com/platform/tools/base/+/gradle_0.9/build-system/gradle/src/main/groovy/com/android/build/gradle/BasePlugin.groovy May 21 10:29:55 Has anyone seen a case when using glsurfaceview where motion events and occurring twice? I seem to be getting two motions events for everything, I am worried its a bug with my tablet. May 21 10:30:06 are* May 21 10:39:19 map.setMapType(GoogleMap.MAP_TYPE_SATELLITE); doesn't work May 21 10:51:29 Hi there... So I have this list view and it shows a few things. One of the thing is not shown (description) It's not shown because it's quite a few lines of text. So I was thinking to implement a onItemClickListener so when user LONG clikcs on a item from list view this description is shown in a popup window. What should I use for a pop up window? May 21 10:52:55 Hi I have system.loadlibrary failing with an unsatisfied link error May 21 10:54:58 Couldn't load *redacted* from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.*redacted*.*redacted*-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.*redacted*.*redacted*-1, /vendor/lib, /system/lib]]]: findLibrary returned null May 21 10:55:06 note the trailing -1 May 21 10:55:50 Serus: are you proguarding your code? May 21 10:55:56 any ideas? this used to work before May 21 10:57:17 MohitKanwal: no, I just removed the names from the string. May 21 10:57:21 NDA and stuff May 21 10:58:17 anyway, if anybody has any idea, even if it sounds stupid May 21 10:58:27 this used to work in previous builds May 21 10:58:33 no idea, i think there shud be more log telling where it went wrong you can turn on jni debug log on your phone May 21 10:59:09 I know *where* it goes wrong May 21 10:59:13 just not *why* May 21 11:00:54 System.loadLibrary("Game"); where Game is located in Game.apk/lib/armeabi-v7a/Game.so May 21 11:01:28 it's also in Game.apk/lib/armeabi/libGame.so May 21 11:02:10 any help is appreciated May 21 11:07:34 brb, getting my lunch, don't hesistate to answer when I'm gone. May 21 11:14:48 if i have multiple view types do i have to change something in the getView method? May 21 11:15:12 Should I style my app as the new G+ or as before? May 21 11:20:05 anybody any idea? May 21 11:50:25 hi May 21 11:50:27 I think I can safely say that the baseAdapter and convertView pattern is the worst pattern in the whole of Android May 21 11:51:09 horrendous May 21 11:51:19 Couldn't load *redacted* from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.*redacted*.*redacted*-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.*redacted*.*redacted*-1, /vendor/lib, /system/lib]]]: findLibrary returned null May 21 11:51:49 Sicp, why? May 21 11:51:51 if I switch Android project to branch branchname, through repo init -b branchname, I can see check branch in .repo/manifest.xml. Is there some shortcut command to retreive this information? May 21 11:51:56 try it May 21 11:52:15 Does anybody have any idea on why this fails? May 21 11:52:18 considering I've used it for the past 3 years, I don't see your point May 21 11:53:00 it messes up the position whenever you scroll May 21 11:53:00 lol May 21 11:53:12 you're doing it wrong May 21 11:53:12 I've tried so many combinations of it May 21 11:53:18 repo branches will displays (no branches) because all projects are in the detached state, but how to check without having to look at .repo/manifest.xml file? May 21 11:53:26 yea maybe May 21 11:54:09 Sicp, can you show the code in your getview May 21 11:54:49 Hi there. I saw that in the gradle plugin 0.10.2 incremental should finally work. Does it works for you guys? I'm getting a dex error (output here https://gist.github.com/rciovati/ede56a70c8828b4d737f) May 21 11:55:00 is it possible when building the SDK from source to include the source code in the jar? May 21 11:55:28 nah Ill look May 21 11:55:36 can't be rocket science May 21 12:04:23 is there an ndk channel? May 21 12:08:38 is it better to have a header/footer inside a listview or outside of it? May 21 12:09:13 depends on if you want it to scroll with the content May 21 12:09:19 normally inside May 21 12:09:46 but a lot of apps use the direction of the scroll to bring header/footer/chrome into view May 21 12:10:00 There are 415 and nobody is able/willing to answer my question May 21 12:10:06 really? May 21 12:10:22 well I want quite a large header which will take up half the screen, so I want the header to go off the screen May 21 12:11:04 so I want it outside the listview? May 21 12:11:14 Serus: open your apk and check it has your native .so library file May 21 12:11:56 it does May 21 12:12:02 njcomsec: so it sounds like you want it in the list May 21 12:12:27 ok thanks I'll try that first May 21 12:12:56 Serus: i'm guessing you've done a full uninstall of the app and tried installing it fresh? May 21 12:13:06 yes May 21 12:19:51 Serus: hey May 21 12:20:24 Serus: its probably looking for arm7 and you've only compiled arm5 or something like that.. so its saying it cant find a "matching" binary library for your system May 21 12:27:10 hmm, for some reason libpng was compiling for armv5, I just corrected that May 21 12:36:11 Napalm: currently still rebuilding all assets, I'll be reporting back soon May 21 12:46:07 Is there some form of dependency management for us android developers that works with github libraries?? May 21 12:49:10 not that i know of, but that would be a great gradle plugin May 21 12:49:34 use a tag or commit as a version in the artifact id May 21 12:49:35 hmm May 21 12:49:42 there actually is a gradle plugin, but it has some issues May 21 12:49:59 https://github.com/bat-cha/gradle-plugin-git-dependencies May 21 12:50:15 is it me or are the animations on this page mesmerizing > http://en.wikipedia.org/wiki/B%C3%A9zier_curve#Constructing_B.C3.A9zier_curves May 21 12:50:19 I couldn't work them out so far... which is why I'M looking at different options May 21 12:50:20 is it possible to test GCM without being whitelisted? May 21 12:51:28 or run local version of gcm? i tried openfire but it looks like its using another format of xml May 21 12:56:43 how do i make maven use an apklib file as a dependency? May 21 12:56:49 or install it locally May 21 13:21:44 Napalm: OK, I reinstalled everything on the device, did a complete rebuild on the assets and a recompile, still failing :/ May 21 13:24:21 hi guys, is it possible to add a sherlockfragment as header of another sherlockfragment ? (like described here : http://stackoverflow.com/questions/9410747/scrolling-2-fragment-one-fragment-and-one-listfragment-as-one) May 21 13:35:13 hi, I have this criteria set ( http://pastebin.com/7nbk8CiX ) and I am still getting speed = 0, do I need to calculate myself ? May 21 13:36:37 This is offical, right? https://github.com/facebook/facebook-android-sdk May 21 13:39:40 Syzygy: yeah, https://developers.facebook.com/docs/android/ May 21 13:39:41 Syzygy: yep May 21 13:40:07 I can not find a link to git on that daivyk May 21 13:40:38 and I find it weird that it's not mentioned on that website May 21 13:40:55 btw, is FB anonymous login already released? May 21 13:41:15 Syzygy: click ChangeLog and scroll down and you will see a link to github... ;) May 21 13:41:18 Syzygy: yes, that’s strange for me too May 21 13:41:41 alright, i'm convinced, thanks May 21 13:46:37 Any idea how I could include the facebook library in a meaningfull way (as in dependency management)? May 21 13:47:18 I'm trying to do it with gradle and as a git submodule, but I'm having an issue due to the way it implements libraries May 21 13:49:28 so is there any major disadvantage to making a static instance of the app context available? May 21 13:49:30 specifically it can't find the bolts library because it's not in the /facebook folder but in the ../libs folder May 21 13:49:40 it's already a singleton anyway May 21 13:51:53 What's the difference if I use AlertDialog with custom .setView or using a custom DialogFragment all together? May 21 13:52:17 AlertDialog just builds you a DialogFragment with views set :) May 21 13:54:08 I am using DialogFragment, and call it (when a button is clicked) by making its instance and doing instance.show(). This is like the background work that AlertDialog does? May 21 13:56:05 when you create custom adapters, loaders, etc. do you like to make them static inner classes or separate them out to their own class? May 21 13:57:29 Mavrik: and in the dialogfragment class I set all the views and add listeners to them. May 21 13:58:12 It is working well and thats why I am unable to understand the real benefit of AlertDialog. May 21 13:58:35 the fact that you don't have to set all views and all listeners. May 21 13:58:46 and just call .setTitle().setText.setPositive and you're done. May 21 14:00:24 Hey there. May 21 14:01:07 I have two spinners and the 2nd spinner depends on the selection in first. I would have to just .setView(layout) and add the listeners to spinners separately, right? May 21 14:24:46 Napalm: got it working! now I can stop thinking about suicide, thanks for the help :) May 21 14:26:09 i have a "dark" and a "light" mode in my app (kind of like in google maps). i hooked it up to the light sensor of the app and change it based on the value. but this just doesn't get a good feel... does anyone have experience with this? can I maybe hook it up to the brightness of the screen or something? May 21 14:54:47 hi, any ndk expert around? May 21 14:55:32 I'm trying to debug a native app in a x86 processor and I keep getting a warning in gdb May 21 14:55:54 which prevents the symbols for the library to load May 21 14:56:01 gdbserver: Corrupted shared library list: 0x40037c18 != 0x426aa338 May 21 14:56:49 I can debug it properly in arm devices May 21 14:57:46 has somebody seen this before? May 21 15:01:32 SimonVT, hit me very hard May 21 15:01:36 Very ahrd May 21 15:01:38 hard* May 21 15:01:57 My Fragments WERE being persisted. My EditText wasnt May 21 15:02:28 :) May 21 15:03:42 Hah May 21 15:04:20 I should probably have said something when you posted the question, I thought checking the edittext was a weird way of finding out if your fragments are being persisted May 21 15:04:44 SimonVT, what would be a better way? May 21 15:04:50 For another time :) May 21 15:04:51 Hi there. I saw that in the gradle plugin 0.10.2 incremental should finally work. Does it works for you guys? I'm getting a dex error (output here https://gist.github.com/rciovati/ede56a70c8828b4d737f) May 21 15:05:03 FragmentManager#findFragmentByTag May 21 15:08:26 If I get some time today I'll implement the Application thing, it should make everything just a tad easier May 21 15:09:29 How do I clean ImageView? using setImageResource(0) or setImageBitmap(null) doesn't work. I need it because I want to repleace its drawable (AnimationDrawable) and I don't have enought memory for the bitmaps May 21 15:09:39 how can i have my searchview contain text, but not have focus? (meaning it will pop up the keyboard, which i do not want) May 21 15:12:54 Can someone tell me where I can get a dependency manageable version of monkeytalk? I can't find it on maven central and their webpage doesn't give me usefull info as wekk May 21 15:53:30 hello, I'm trying to use a Surface created with MediaCodec.createInputSurface() May 21 15:54:07 I did find this example - http://bigflake.com/mediacodec/CameraToMpegTest.java.txt May 21 15:54:09 but is there a way to do it without openGL ? May 21 15:54:26 or rather, is there a simpler way to set it all up May 21 15:54:52 IMHO it shouldn't be that complicated to just tell a SurfaceView or SurfaceHolder what Surface to use, should it? May 21 15:56:28 probably, though heck if I know how. May 21 16:00:26 related question: what's the fastest way to dump a byte[] buffer into a Canvas? May 21 16:00:43 considering the buffer is exactly the size and format the Surface wants May 21 16:01:04 lov: ok, thanks though May 21 16:05:07 Voicu: Probably writing the buffer to a Bitmap instance then drawing that May 21 16:05:21 lov: that's what I found but that doesn't seem fast May 21 16:05:38 I want to avoid allocating another chunk of memory May 21 16:05:51 or does making the bitmap not allocate more data? May 21 16:06:19 it's a long story. bitmaps are actually backed by a malloc'd array iirc May 21 16:06:39 basically, I don't have enough experience to really help you here May 21 16:06:55 I will say that the libgdx guy seems to do a lot of interesting things in this regard, so you might want to see if he's posted anything about this. May 21 16:07:16 I vaguely recall him writing an article about how blitting was broken or something, which might be relevant May 21 16:07:32 lov: all right, thanks May 21 16:10:24 Im making a listview where you have a button where you can add row of [type] and [value], type is a selection of preset options....... does it make more sense to have a button which adds [type] as a spinner, or when you press the +add button, you then select a type option -which gets sent to the adapter/listview before adding the row May 21 16:10:55 the user probably wouldnt change the type option after adding it, so it the second is easie to implement Id do that... or are they both roughly the same? May 21 16:11:35 I'm new to android programming and i'm trying to add a facebook login button to an app. I have not added code for when the button is pressed, i just want to make sure its there. When the app runs, it automatically closes. I m using the facebook sdks "LoginButton" May 21 16:14:41 . May 21 16:14:56 this is the pastebin with the logs May 21 16:15:08 http://pastebin.com/aXQJAubi May 21 16:18:36 OK, good to know. May 21 16:19:01 lol May 21 16:20:35 :-( May 21 16:20:43 does that mean I cannot be helped? haha May 21 16:21:38 I have no idea how the facebook SDK works, and I honestly don't care enough, sorry. May 21 16:21:46 http://pastebin.com/NuU6eGAY May 21 16:21:48 whyyyyyyyyyyyy May 21 16:22:34 incorrect documentation? why I never May 21 16:22:44 (take a look at the source, try to figure out why it might throw that exception) May 21 16:23:11 I suppose May 21 16:23:22 I can try that May 21 16:26:33 this is just like setting up the camera and its parameters May 21 16:27:17 the function call order in the docs is only half of the true requirements May 21 16:27:28 I found the right combination by trial and error May 21 16:27:52 but in this case... it's 3 functions with a clear order 1 -> 2 -> 3... what else can I try May 21 16:28:57 maybe with createInputSurface before .configure ? May 21 16:30:30 My imageview is setting the wrong image in gridview. Even the resource ID is correct but still wrong image. How can I check it? May 21 16:30:57 Voicu, it's not incorrect documentation ,you have something else wrong May 21 16:31:13 we use it in the project at work May 21 16:31:17 Zharf, that is also possible May 21 16:31:37 but that brings me to my next grievance - why is it so cryptic? why just IllegalStateException, no msg no nothing May 21 16:31:44 Is it "better" to manipulate a TextView with FromHtml or with Spans ? May 21 16:31:59 Voicu, I've cursed the mediacodec a million times over the past half a year over this kind of things May 21 16:32:52 Zharf, same May 21 16:32:58 this project is wearing me down man May 21 16:33:24 what is your resolution May 21 16:33:38 but MediaCodec is kinda OK compared to ffmpeg and its java wrappers May 21 16:33:42 blerh May 21 16:33:53 Zharf, well it's supposed to work at any resolution May 21 16:34:05 i.e. any resolution the device supports May 21 16:34:28 that part is already done, I can list all the resolutions and all have worked with MediaCodec May 21 16:34:49 I am trying now to switch from adding the video buffers myself from onPreviewFrame to using a surface May 21 16:35:32 Voicu, http://bigflake.com/mediacodec/CameraToMpegTest.java.txt we used this as reference May 21 16:35:42 Zharf, yes, I foudn that May 21 16:35:51 the thing is I hoped there was an eaiser way May 21 16:35:53 I guess not May 21 16:37:14 btw, the don't seem to be doing any different in that example May 21 16:37:34 oooo May 21 16:37:35 my bad May 21 16:37:41 COLOR_FormatSurface May 21 16:37:42 damn May 21 16:37:44 I suck May 21 16:37:45 oh right May 21 16:37:46 :) May 21 16:37:53 so with a FragmentPagerAdapter I read that it loads in the first and second items initially, so what is the best way to stop it from putting duplicate items in the action bar? May 21 16:38:13 duplicate items? May 21 16:38:34 Zharf yeah, because it seems to be loading the menus for both fragments that were loaded May 21 16:38:34 and again... IllegalStateException ("invalid color format") would have been so much better May 21 16:38:56 or maybe even "need to use input surface works only with COLOR_FormatSurface" May 21 16:39:30 Voicu, even with all my debugging I still sometimes get illegalstateexceptions in decoding on some devices in some cases randomly... the whole api is just a mess May 21 16:39:35 well, mostly the implementation May 21 16:40:04 Zharf, yep May 21 16:40:54 Zharf, get this... testing a demo on my nexus 4 worked while the client also with a Nexus 4 got only errors May 21 16:41:54 Voicu, if you support api 16-17, get yourself a samsung device to test playback... just a hint May 21 16:42:09 had to put in some hacks for samsung crap May 21 16:42:16 Zharf, we also have an S3 for testing May 21 16:42:42 that is if you use mediacodec for playback too May 21 16:43:08 mattblang, nope, doesn't do that for me May 21 16:43:12 but it has an "awesome" quirk - when an app throws an Exception (of any kind) and nothing catches it the whole device (the S3) locks up completely May 21 16:43:29 you have to force close it and start it up May 21 16:43:37 Voicu, tell your client that the camera can force boot nexus 4 at random too May 21 16:43:44 it's a hardware or driver fault May 21 16:43:49 Zharf, I see May 21 16:43:54 Zharf, so that's what it was :) May 21 16:44:06 I kept getting that and I thought it was some segfault or whatever May 21 16:44:17 skype forums apparently have a bunch of people whining about i May 21 16:44:17 t May 21 16:44:24 jesus May 21 16:44:37 I think I'm not going to do android dev any more May 21 16:44:42 hehe May 21 16:44:45 this is just too frustrating May 21 16:45:03 mostly I love it compared to most other platforms May 21 16:45:33 Zharf, well I suppose more conventional stuff are OK May 21 16:46:31 mattblang i had that problem a while back, it was caused by like not reseting the action bar--i forget the call, but each subsequent fragment would add its own menu items to the existing menu items May 21 16:47:48 i thnk you can call somethign like invalidatemenu and then in your inflate menu use pagerlistener to know your current page and load the appropiate one (although i imagine there is a simpler way too) May 21 16:48:47 voicu: don't you have a stack trace with that illegalstateexception? May 21 16:48:57 lasserix, it comes from native code May 21 16:49:01 it's pretty much useless May 21 16:49:02 ahhh May 21 16:49:07 yes, that :D May 21 16:49:14 but I got over it - it was a faulty config May 21 16:49:15 yeah, i'm suprised you even got that message May 21 16:49:21 i just get SIGFAULT May 21 16:49:25 hehe May 21 16:49:26 ;p May 21 16:49:44 lasserix, I have the same fun issues with ffmpeg&co May 21 16:50:17 I had to make a mock app in desktop C++ to iron out any weird encoding problems May 21 16:50:19 well i know there are open source code projects that use ffmpeg if you get stuck May 21 16:50:24 heh May 21 16:50:31 then desktop java to understand how to use the java ffmpeg API May 21 16:50:43 and now I'm on android which obviously works nothing the same May 21 16:50:58 lasserix, yea I know, that's plan B May 21 16:51:17 I also have plan C - creating my own NDK module May 21 16:51:22 we decided to avoid ffmpeg in our project and limit ourselves to api16+ May 21 16:51:42 Zharf, I really need ffmpeg because I need to stream to rtmp May 21 16:51:54 Voicu: i believe you can bubble up your exceptions from the ndk fyi May 21 16:52:09 *err more information than just illegalstateexception May 21 16:52:14 and implementing a proper muxer + rtmp streamer would be a huge pain May 21 16:52:50 we implemented mpeg-ts de/muxer and various other stuff for our purposes :) May 21 16:52:54 lasserix, if I implement it in NDK I'll just use the working C++ mock and link it to the camera and AudioRecord May 21 16:53:05 Zharf, hmm, cool May 21 16:53:23 I would do but I'm the only one working on this and time is short May 21 16:53:29 *do the same May 21 16:57:05 wrong image is added in the imageview, even when the name and resourceID are correct May 21 16:57:44 can anybody look into my code, please? May 21 17:01:02 the Log shows correct drawable name and the correct resource ID too. May 21 17:01:37 WantToCode_: you've cleaned, right? May 21 17:01:53 yeah, even restarted eclipse and emulator May 21 17:05:14 WantToCode_: sure your import is correct? May 21 17:05:29 import younamespace.R not import android.R May 21 17:05:32 3 out of 5 images come incorrect May 21 17:06:13 would you skim through my code. its straight forward, read item from alert dialog box May 21 17:06:27 Using Dagger, "No injectable members on java.lang.String. Do you want to add an injectable constructor?" May 21 17:07:20 I'll log off and log in my system. Once it helped me with listview. May 21 17:12:17 hey guys May 21 17:12:30 has someone experience in licensing his app to be pre-installed on a device? May 21 17:12:33 what exactly turns convertView into null? May 21 17:12:47 jvrodrigues: unicorns May 21 17:13:00 Leeds what else? May 21 17:13:09 Cause i checked those and those are fine May 21 17:13:25 that's a ... very strange question May 21 17:13:34 When there are no views to reuse May 21 17:14:16 my code is glitching May 21 17:14:21 because of convertView May 21 17:14:27 and i have on idea what can be causing this May 21 17:14:49 it's inflating the view layout when it shouldn't May 21 17:16:00 shekibobo: You are trying to inject a String and nothing is @Provides for it May 21 17:20:17 JakeWharton: probably. there's an @interface AuthenticationToken {} that's needed in the thing that requires it... May 21 17:23:13 JakeWharton is it possible somehow thath Retrofit wont convert Body character to unicode autmaticaly? because i am sending data like data={JSON OBject) and this = shouldnt be converted. May 21 17:23:51 how are you sending this data? May 21 17:23:57 data= is not valid JSON May 21 17:24:30 yes but the Body at the server wants format like thath data= and here then json object May 21 17:28:13 So i am looking if its possible or they will need to change thath on server side May 21 17:30:42 JakeWharton: I'm not sure I'm understanding how the ClientId is provided to the ApiHeaders in this app May 21 17:31:12 ArcaneWater: with what content type? May 21 17:31:17 that's like Form URL encoded data May 21 17:32:34 welp. restarting computer helped. :\ May 21 17:33:06 JakeWharton: and by this app, I mean https://github.com/JakeWharton/u2020/search?q=ApiHeaders&type=Code May 21 17:33:18 ClientId is in DataModule or ApiModule May 21 17:33:39 JakeWharton ye it looks like thath but after some research the server requires this "prefix" data= and its required as pure @Body May 21 17:34:12 sounds like you'll want a custom converter than May 21 17:34:21 subclass GsonConverter and prefix its body May 21 17:34:42 Dont know why they put this prefix before JSON Object, because sadly i am not on server side proj. May 21 17:53:40 I have only 1 table of approximately 50 rows. Is there an easier+better way to store it than SQLite? They would only be for reading & for getting strings from 1 column according to id, no writing. SQLite is a hassle for just 1 table. May 21 17:53:45 any suggestions? May 21 17:56:52 flat file. May 21 17:57:06 You probably don't need a database unless you're doing relational things. May 21 17:57:35 actually, do you mean that you're storing data as well, or you're just purely reading it? May 21 17:58:05 see also http://developer.android.com/guide/topics/data/data-storage.html May 21 17:58:20 you could realistically just serialize an array to disk or something. May 21 17:59:11 For eg: from one of the dialog when user selects an item. say item 3. I would like to look into the database with this id (and a prefix from somewhere else) and get a String May 21 17:59:20 I though of SharedPreference but May 21 17:59:43 its like I want to "add" only once because its like reference database May 21 17:59:43 if there's little enough text just load it from text file May 21 17:59:47 no editing May 21 17:59:52 otherwise use sqlite May 21 18:00:02 don't frigign use SharedPreferences for data storage -_- May 21 18:00:31 WantToCode if its ad r/o db try cdb May 21 18:00:35 I am not be get how would I add only once! not on app start but on app install. May 21 18:01:18 check if the file is present. if it isn't, extract it. May 21 18:01:21 (fin) May 21 18:01:31 you can't actually do anything on app install. May 21 18:01:50 I mean on the first ever run. May 21 18:01:55 WantToCode http://www.strangegizmo.com/products/sg-cdb/ May 21 18:02:21 g00s: Thank you. I'll look into this too. :) May 21 18:02:52 lov: by "file" you mean you are suggesting "flat file", text or sqlite? May 21 18:03:00 whatever it is. May 21 18:03:05 doesn't really matter. May 21 18:03:06 hmm ok May 21 18:03:49 Sharedpreference should be use for small data? like small booleans, last activated item position etc? May 21 18:04:06 * g00s takes wind guess : next version android has multi-window support ? May 21 18:05:18 yes, more or less. May 21 18:05:24 One-off pieces of data. May 21 18:06:42 ok Thanks. I'll try cdb and flat file first then SQLite. May 21 18:09:41 nick butcher's post has some nice libraries http://android-arsenal.com/ May 21 18:11:57 meanwhile this ara thing is moving forwards; samsung to supply processors for those devices. Ara is one thing that gets me excited about android May 21 18:13:05 ... yeah, given how great OEMs are about making their shit actually work, I'm going to assume that it's going to turn into a buggy clusterfuck :( May 21 18:13:38 but … testing a platform that has so many swappable components - the combinations of configurations that needs testing … yeah May 21 18:14:27 my sales went to 0 overnight when the OEM that I work with for my app said their devices don't work with android 4.4 May 21 18:14:46 bt i a clusterfuck. just saw this today http://www.androidpolice.com/2014/05/20/bug-watch-bluetooth-will-begin-crashing-after-encountering-too-many-ble-devices-affects-kitkat-4-4-and-jelly-bean-4-3/ May 21 18:15:05 although this isn't the problem they were seeing May 21 18:21:02 Is there a way to refresh the setMultiChoiceItems list with a boolean check array in an alertdialog from within the program? May 21 18:24:07 lasserix about that fragment view pager issue earlier, as long as I call setHasOptionsMenu in onCreate of the fragment it seems to work correctly May 21 18:24:19 yeah May 21 18:24:25 that's what i meant, sorry been a while May 21 18:24:59 guys quick question May 21 18:25:23 if i have multiple view types, does getchildat scrolls through all of them? May 21 18:25:57 or sees akk if tgen May 21 18:26:40 ok i dunno what that last line was May 21 18:31:57 yey http://blogs.wsj.com/digits/2014/05/21/google-predicts-ads-in-odd-spots-like-thermostats/ May 21 18:32:10 thanks was for the heads up ;) May 21 18:32:13 *wsj May 21 18:33:16 funny thing about nest is; you buy the thing and they still sell your info :D makes some sense for the electric companies to predict usage but … May 21 18:38:46 ActiveAndroid - "build the jar file by running ant in the root folder". I ran cmd in the folder and did "ant jar" and it says 'ant` is not recognized. May 21 18:42:35 You need to install ant May 21 18:43:31 That I did. I'll recheck the paths. May 21 18:44:17 Let me preface my question by saying that I've worked with styles.xml in Android a ton and I definitely feel like I know what I'm doing. Recently after merging something new into my application I can't get the application theme to display correctly. Everything looks right, and there was nothing in the git diff that shows that it was edited, but all of my activities are using holo dark instead of holo light like I have it set in t May 21 18:47:11 could the style have been changed in AndroidManifest? May 21 18:53:17 howdy May 21 18:53:55 anyone knows how youtube divides the screen on the device ? what dimensions/logic it uses ? How can i find out ? May 21 18:58:17 convertView.findViewById(R.id.matchHomeTeam) wich is a TextView returns android.view.View{421b8160 V.ED.... ......I. 0,0-0,0 #7f0b000e app:id/entry_news_divider} wich is a View. Why? May 21 18:58:29 hi May 21 18:59:47 in the android docs example for ViewGroup, why does the onLayout for the top of a child only take into consideration the parent layout top (minus padding) and the margin of the child? May 21 19:03:51 during scrolling in a listview i get flickering in a second view on the screen where i override the onDraw(). Sometimes the drawn elements stay with full opacity, but ive set reduced alpha values. May 21 19:04:29 any ideas to solve this? May 21 19:05:35 fucking ide.. May 21 19:11:50 i have an item disabled in my listAdapter, but would still like to get the click event. so that convertView has a click listener - but its not firing. what may i be overlooking ? May 21 19:15:02 oh ha! it worked May 21 19:15:25 gdrc sound familiar: logs in AS freeze so i never saw the new log "I got clicked" May 21 19:16:36 the logs are in the window but just get stale or something, like they don't update May 21 19:18:53 if I have a fragment that needs to call a web service to get its content, at what point in the lifecycle should I do that? May 21 19:20:45 For some reason, popping the back stack with a name does not always go to the top level. May 21 19:21:38 shekibobo: Use a Loader, initialize it in onCreateView. Loaders are a bit heavy to learn, but worth it in terms of responsiveness. May 21 19:21:48 hey peeps X) May 21 19:21:57 How can I clear the back stack of all but one of my fragment transactions? May 21 19:22:36 wheres a good place to find android beta testers in a specific geograpical area? (not including friends) May 21 19:25:52 Is there a way to refresh the setMultiChoiceItems list with a boolean check array in an alertdialog from within the program? May 21 19:31:12 shekibobo i would have the fragment start an intentService May 21 19:31:43 you could put startService in onStart() or in response to a click event May 21 19:32:05 simplest case, I've got a retrofit service that I'm sending a request with a callback May 21 19:34:57 what's it mean when error.getCause() is null? May 21 19:35:37 shekibobo: that means there is no cause. you can invode an exception with 2 differnt constructors May 21 19:35:47 new Exception() and new Exception(Threadable cause) May 21 19:35:58 first one results into cause == null May 21 19:36:29 Is there a way to set the tag on the LAST back stack push (like, tag the top-most entry into my activity...)? May 21 19:38:05 Or at least to get the id of that transaction so that I can popBackStack( ) May 21 19:38:14 any idea what might cause a RetrofitError to not have a cause? May 21 19:45:02 ^^ bad path May 21 19:54:53 lacx: what do you mean by that? You are searching for someone to test something? May 21 19:59:59 yea mihai_c X) May 21 20:00:14 you know a good way? May 21 20:01:11 lacx: i am looking for small jobs, i thought you are looking for someone not some way :) May 21 20:01:32 lacx: i guess on freelancer sites May 21 20:02:30 Hey guys. I need a little help. I'm using the edmodo.cropper.CropImageView to crop images taken from the camera. The problem is that I want the Image that is shown in the CropImageView to be the the same size as the camera preview shows the picture after it's been taken. I've tried a few things but always the picture is too small or I get an OutOfMemory exception when trying to load the Bitmap. Any ideias on what I can do? May 21 20:03:34 i do need people to test mihai_c but they must be in the UK X) May 21 20:05:31 lacx: i guess on vworker if you specify that in your introduction you will find a lot May 21 20:06:21 cool thanks mihai_c X) May 21 20:06:33 lacx: no prob May 21 20:08:04 be me: have a relative layout with login/pw field and a login button. onClick of the login button, the function "TryLogin()" is called. this function turns the uname/passw fields into strings, adds them to a json object, and makes the https connection. My app crashes hard when I try to httpclient.execute(httppost) May 21 20:10:32 I have a Fragment (F) in an Activity (A) F calls startActivityForResesult() and specifying Activity (B). B sets a result and calls finish(), but A never calls onActivityResult(). What am I doing wrong? May 21 20:11:27 Scorp1us are you sure to specify a result code ? May 21 20:11:33 I see a lot of SE questions asking why the OnActivityResult doesn't happen back in the fragment, but I am not interested in that. May 21 20:11:40 hi May 21 20:11:44 setResult(Activity.RESULT_OK, intent); May 21 20:12:16 Hi! I'm quite new to android app development. I would like to do an app that changes my 3g/4g DNS. I have heard that it is possible to do so without rooting if you can create a localhost VPN connection. To do this, I guess one have to somehow implement a VPN server on the phone. Do you have any ideas how this can be done in the most straight forward way? Thanks! May 21 20:13:01 Scorp1us startActivityForresult(intent, REQUEST CODE) May 21 20:13:05 I have a problem with an application, that run well on a device with android 4.2.2 but in other device the same application doesn't work fine, and this device has android 4.4.2 May 21 20:13:14 you are using some sane value for request code ? May 21 20:13:24 and your onActivyResult is matching against that request code ? May 21 20:13:31 my mistake, not result code May 21 20:13:53 right, java won't even let you do that. May 21 20:14:04 One's a object and the other an int. May 21 20:14:22 if you put something lame there like 0 for request code, it doesn't work May 21 20:14:36 anyhow, works for me ;) May 21 20:14:47 it's also got to be no more than 16 bits May 21 20:14:52 any suggestion? May 21 20:15:44 veritto you have given us no information May 21 20:16:01 when compiling Android SDK from sources, how to compile an x86-based version of the emulator? May 21 20:16:34 g00s: for my database problem, wouldnt it be best to include a pre populated database into assessts? May 21 20:17:06 WantToCode possibly; either sqlite, (xml | json if small), cdb, etc May 21 20:17:39 I am familiar with sqlite, I would look into it. Thanks :) May 21 20:17:55 i generally don't like including sqlite blobs in assets though May 21 20:18:02 I thought the framework gives you a way to build and version databases May 21 20:18:05 the issue has some history ... May 21 20:18:37 in the beginning, the android CTS said that within android version y (x.y) an oem had to use the same version of sqlite May 21 20:18:53 but i don't think that is the case any more; and vendors use all kinds of different versions May 21 20:19:19 so if you create it with say, sqlite 4.0 and then try to read it on 3.7.11, who knows :) May 21 20:20:02 The SQLite data format has been very stable. May 21 20:20:06 it has May 21 20:20:07 5 coloumns, ~50 rows, contains 2-4 words strings. This is small, right? May 21 20:20:33 50 rows? i wouldn't even bother with shipping sqlite then May 21 20:20:41 put it in csv or something May 21 20:20:47 load in memory at startup May 21 20:20:56 That was my question in the first place :P May 21 20:21:29 the delta in sqlite versions across android seems to be growing too May 21 20:23:01 I just want to read string from column 4, after finding the row with the desired variables from column 1,2,3. May 21 20:23:20 sql would be huge overkill :| May 21 20:23:57 hehe, I had tried SQLite once, it certainly is, for such a small table atleast. csv then? May 21 20:24:11 50 items - store data as sorted and binary search should be OK May 21 20:24:53 if you really want, you can load it into an arraylist of records and then have multiple indexes pointing to records May 21 20:25:20 I tried that, it became messy soon. May 21 20:25:28 * Nilium shanks g00s now that he's here. May 21 20:25:45 heh May 21 20:25:58 I'm blaming you for a spider crawling in my mouth yesterday morning. Meeting adjourned. May 21 20:26:30 did you dentist do that for spite while your mouth was open :) May 21 20:26:39 "take that you pita" May 21 20:27:13 or maybe the spider was recruited to fix the tooth by crowning it in web May 21 20:35:39 Hi! I'm quite new to android app development. I would like to do an app that changes my 3g/4g DNS. I have heard that it is possible to do so without rooting if you can create a localhost VPN connection. To do this, I guess one have to somehow implement a VPN server on the phone. Do you have any ideas how this can be done in the most straight forward way? Thanks! May 21 20:39:40 Can I have more shader programs then 1 on android? May 21 20:40:42 stefkos, yes, of course May 21 20:40:55 hmm May 21 20:41:04 I had exception while playing with that May 21 20:41:09 will check agian May 21 20:41:37 you have to switch between them tho :) May 21 20:41:43 yeah May 21 20:41:44 you can have one active. May 21 20:41:46 thats normal May 21 20:41:58 but had some exception May 21 20:42:40 will check soon again May 21 20:42:52 and If I will have same problem, I will come here May 21 20:45:48 g00s: I figured it out, and it is a special kind of stupid. May 21 20:46:35 I know this is a newb question, but there is one thing I still cannot understand - what exactly is meant by a constant? the devdocs explanations for _many_ of them imply that that they change May 21 20:46:56 when I start the activity I want a result from (B) I have to start it as (in F) getActivity().startActivityForResult(), and not the often encouraged startActivityForResult() May 21 20:47:26 jamesson: that;s not android, or java, that;s general programming May 21 20:47:51 Scorp1us: right, in general programming constants don't change at runtime :) May 21 20:47:55 Scorp1us weird, i use Fragment.startActivityForResult May 21 20:48:07 a constant is a value that does not change throughout the lifetime of the program. May 21 20:48:21 Scorp1us: right May 21 20:48:23 constants can change between releases of software. May 21 20:48:34 jamesson, can you give an example? May 21 20:48:48 Mavrik: 1 sec May 21 20:48:59 so in Android v1, LEFT might be 1, and in android v2, it might be changed to 2 May 21 20:49:12 though, in practice this never happens. May 21 20:49:47 If you have any stored constants (say in a database) there would be much breakage. May 21 20:50:36 Android is pretty heinous in it's use of unttyped constants. May 21 20:54:07 Mavrik: for instance, BluetoothDevice.BOND_BONDED. Sometimes it is bonded, and sometimes it isn't May 21 20:54:51 where? May 21 20:55:09 http://developer.android.com/reference/android/bluetooth/BluetoothDevice.html May 21 20:55:51 jamesson, I don't understand what you're asking May 21 20:56:03 BOND_BONDED will have value 12 in all Androids from 5= May 21 20:56:25 Mavrik: oh, ok, so its value is not dependent on whether it is bonded or not? May 21 20:57:12 it's a constant :) May 21 20:57:25 it's just meant to be passed as parameter or received as a parameter May 21 20:57:32 ahhh, ok May 21 20:57:33 its only over referenced. May 21 20:57:43 x = BluetoothDevice.BOND_BONDED; May 21 20:57:43 jamesson, the use those instead of enums May 21 20:57:48 due to performance issues May 21 20:57:49 if (x== BluetoothDevice.BOND_BONDED) May 21 20:58:15 setStatus( BluetoothDevice.BOND_BONDED); May 21 20:58:26 so, how would I determine if the device is bonded or not? May 21 20:59:06 if (isBonded()) or if (device.etStatus() == BluetoothDevice.BOND_BONDED) or somethign liek t hat May 21 20:59:19 Scorp1us: ok, gotcha May 21 20:59:34 they have to make it a constant to allow booleans May 21 20:59:48 huh? May 21 21:00:01 no. May 21 21:00:33 I would not be able to evaluate that if statement if BOND_BONDED were not a constant May 21 21:00:37 right? May 21 21:00:43 They make it a constant to abstract away the magic number May 21 21:02:31 BOND_BONDED is just a value tom compare to May 21 21:02:39 or to assign somethign to May 21 21:03:06 Mavrik: why are emums slow? May 21 21:03:29 it's treated as an opaque type. May 21 21:03:46 you don't need to know what it is, you just use it. May 21 21:05:43 Scorp1us the android FAQ still recommends against using enums, but i think its old advice May 21 21:05:57 definitely not convenient for putting in intents, etc May 21 21:06:11 I think it's terrible advice. May 21 21:06:39 You're going to use a strongly typed 4th generation language and reduce everything to ints and Strings? May 21 21:06:44 It's insanity. May 21 21:07:14 This means I can put some media codec value where it expects a gravity. May 21 21:07:40 because all its sees are opaque strings. May 21 21:08:01 80% of android is string constants :) May 21 21:08:09 and it's terrible. May 21 21:08:43 the first time i saw the Intent class i barfed in my mouth May 21 21:09:01 If you're going to invent some new programming paradigm, make sure it's based on best practices. May 21 21:09:01 then a spider came out? :) May 21 21:09:22 Scorp1us well, they tried to make things loosely coupled in a sense May 21 21:09:28 I still don't know why I can't just send an Object around May 21 21:10:52 utlimately, i'm kind of upset that android isn't portable. May 21 21:10:57 that would make a nice movie title 'loosely coupled' May 21 21:11:49 i dont think they did a really good job; its a mess in-process, works ok between processes, but if they thought more about it they could have had a better distributed model, that extended across devices May 21 21:12:10 better service discovery, messaging facilities, etc May 21 21:12:50 just a crazy idea, but something like 0mq works in process as well as across processes; and to other devices May 21 21:13:26 imagine being able to interact with components seemlessly, not knowing where they were in that scenario May 21 21:13:48 they could have done so much better. May 21 21:14:03 android was originally designed for cameras :D May 21 21:14:18 Yes, i know, I worked on a PPC 832e May 21 21:14:34 problem is, since google has no control over oem's version usage - it evolves so slowly i would think its hard to make architectural changes May 21 21:15:09 well i think flat out they gave it a bad architecture. May 21 21:16:29 yeah, the main headache i seem to deal with daily is stupid lifecyles of activities, saving / restoring state, etc May 21 21:16:59 and one has to ask, how many of the original design forces that shaped android in 2005 are even relevant today May 21 21:17:07 that's stupid,. they could have jsut used a resize event call back May 21 21:17:12 what is good html parser May 21 21:17:52 well they chose java so it didn't matter the CPU, but C++ would have been better, as you'd just compile for each supported arch. May 21 21:18:00 adn then no Oracle lawsuit. May 21 21:18:14 And you could even have android be used to develop apps to run on actual computers May 21 21:18:40 that's my my deal. It's java that It only ones on one platform. May 21 21:18:43 oracle would still find a way to sue :) May 21 21:19:04 funny thing is i study lots of apps, and always think to myself … all this code just for … that ? May 21 21:19:27 yup. May 21 21:19:30 Scorp1us: if you want to send obects around use otto May 21 21:19:37 I'm moving to Qt, now that 5,3 is out May 21 21:20:01 dos000 thats just an event bus for in-process communication May 21 21:20:04 I'd rather "all this code just for ...that" than "what the hell is that doing?" May 21 21:20:05 its much better than intents and services .. for short running tasks May 21 21:20:11 what we were discussing was more like corba :) May 21 21:20:17 well, messaging May 21 21:20:24 Scorp1us: I looked at that, it looks like a blast but WHY does it take over 15 gb? May 21 21:20:37 g00s: are you saying it cant replace intents ? May 21 21:21:06 dbus May 21 21:21:10 dos000 what i was discussing was network transparency, distributed objects, distributed systems, messaging May 21 21:21:13 g00s: oh i thought the discussion was about replacing intents May 21 21:21:19 dbus is open and is in heavy use. May 21 21:21:20 well .. yeah May 21 21:21:46 jamesson: what's over 15gb? May 21 21:21:55 Scorp1us: Qt May 21 21:22:33 g00s: i have not seen a dbus replacement i nabdroid May 21 21:22:46 (( May 21 21:22:55 but it sure as hell would be nice May 21 21:22:59 jamesson: it's onlt 2gig fully installed, 2 platforms. May 21 21:23:31 dos000: it's open source that already runs on linux. Just recompile and write some JNI wrappers May 21 21:23:36 speaking of marshalling/unmarshalling ... is there an equivalent to sun,misc.ensafe even ? May 21 21:23:41 Scorp1us: theres no way it could be over 15? I must have done something... odd May 21 21:23:56 jamesson: right. May 21 21:24:09 Scorp1us: you mean recompile android ? May 21 21:24:28 dos000: no dbus May 21 21:24:59 jamesson: the download for Qt is ~500mb first paltform and ~200 each platform thereafter. May 21 21:25:27 maybe if you include _all_ the source code, which you don't need. Qt WebKit is _huge_ May 21 21:25:56 Scorp1us:will recheck when that system comes back from the shop (stupid HP) May 21 21:26:00 anyway, gotta run. thanks ya'll May 21 21:26:19 dos000 yeah, lack of sun.misc.unsafe prevents a bunch of cool things from working, like Chronicle May 21 21:26:31 and lmax disruptor May 21 21:26:53 g00s: are you familiar with chronicle ? May 21 21:27:05 dos000 well, i wanted to use it in my android app ... May 21 21:27:16 g00s: i used lmax in a server app May 21 21:27:17 peter lawrey said that it would require some work to port May 21 21:27:34 dos000 how did it work ? May 21 21:27:37 (work out) May 21 21:27:50 g00s: it has its own limitations May 21 21:27:58 for a very limited scenario May 21 21:28:14 i think its 0 object allocations per event May 21 21:28:32 yes .. but it forces you to do things in a certain way May 21 21:29:13 yeah May 21 21:29:23 i was also looking at Spring Reactor May 21 21:29:24 for example if i had a pipeline it insists on making each consumer see the event even if you are done with the event from the firs event handler May 21 21:30:12 dos000 i had to watch the presentations over a bunch of times, at first i was like "huh" May 21 21:30:30 its very clever otherwise May 21 21:30:31 never got to use it really since it didn't work on android, so i don't know its internals well May 21 21:30:59 it may not even "necessary" on android May 21 21:31:15 nah, i was just messing around May 21 21:31:19 you dont need that much concurrency May 21 21:31:22 i am a sucker for concurrency libraries May 21 21:31:52 dos000 play around with http://docs.paralleluniverse.co/quasar/ ? May 21 21:32:03 i have seen it May 21 21:32:09 this won't work on android either, could be useful on server though May 21 21:32:20 from infoq i think May 21 21:32:28 oh yeah, infoq :) May 21 21:46:33 when building Android SDK from source, is there a way to build an emulator for the x86-based Android? May 21 21:48:05 Hello! May 21 22:04:58 Hello if i have a remote service with a public api that an end devleoper can use, anyone have a good idea of how to handle the fact that the service application might not yet exist on the user's phone but an app on their phone might require the service? May 21 22:05:23 just check if the service exists and if not redirect to the playstore to download? May 21 22:05:54 pretty much May 21 22:06:29 even Google advises this method for if Google Play Services isn't present or too old for your app May 21 22:06:34 so I guess there's no better way May 21 22:08:06 ahh ok May 21 22:08:07 thanks May 21 22:09:31 Do you happen to know of any public api services out there already? just looking to see what convention is May 21 22:10:14 not really May 21 22:11:06 heh okay May 21 22:14:41 Thanks for 500 firepaper btw, May 21 22:14:50 greatest live wallpaper May 21 22:34:43 dragorn going to switzerland ? :P May 21 22:34:48 g00s: no May 21 22:34:48 g00s: just hq May 21 22:35:48 i'd go :D May 21 22:46:16 does java have a Collection#map or Collection#flatMap similar to Ruby's Enumerable#map/flatmap? that anyone knows of? May 21 22:50:09 what is a flatmap? May 21 22:51:06 flatmap - transform the items emitted by an Observable into Observables, then flatten this into a single Observable May 21 22:51:44 it's like pulling together several and passing it out as one May 21 22:54:02 I basically have an array of things that have multiple scheduled time slots May 21 22:54:17 I need to group all the time slots together and sort them by their start time May 21 22:54:31 but what I have is an array of the things that have time slots May 21 22:55:35 list_of_things.flat_map(&:time_slots).sort(&:start_time) => [timeslot1, timeslot2, timeslot3, ...] May 21 22:56:42 how many classes and interfaces to do that in java? :-P May 21 23:06:32 shekibobo, i think you need Comparator Interface May 21 23:18:12 aw, man, java 8 has aggregate functions May 21 23:23:33 i find java's lambda syntax quite redundant:p May 21 23:27:09 i like java 8 optional methods in interfaces May 21 23:28:44 does anyone know a good encryption library to use for android? May 21 23:29:18 I have found a few openpgp wrappers (agp, spongycastle) but its hard to tell if they're still active / how good they are May 21 23:29:48 spongy / bouncy are active May 21 23:30:41 don't know about APG; i bet dragorn would know :) May 21 23:34:41 spongy castle github hasnt been touched since Jan; Maybe its just stable? May 21 23:39:39 oh I see its mostly renames May 21 23:40:32 anyone had success with retrolambda? May 21 23:41:06 with what metric would you define success? May 21 23:42:13 I want to use map in my android project May 21 23:42:26 map has nothing to do with lambdas May 21 23:42:32 that's the stream API May 21 23:42:47 I see May 21 23:43:43 good point May 21 23:44:11 Observables.from(list).map(mappingFunction).toList(); May 21 23:44:13 RxJava May 21 23:44:29 hmm May 21 23:44:39 * jug6ernaut loves RxJava May 21 23:44:40 yeah, that might be more what I'm looking for May 21 23:44:45 * jug6ernaut goes back to lurking May 21 23:44:56 jug6ernaut me too :) yeah i'm lurking more these days too :D May 21 23:45:09 :) May 21 23:45:16 if all you want to do is iterate over a list and map, you're better off with a loop May 21 23:45:34 well, I most likely want to do a lot more than that May 21 23:46:04 but my current quest is doing some fancy mapping and sorting May 21 23:47:11 bouncycastle is basically the standard for x509 stuff etc May 21 23:48:39 and agp is that plus key management? May 21 23:48:50 agp is a port of gpg May 21 23:49:02 totally different thing May 21 23:49:28 Wait then what is pcp? May 21 23:50:04 ok it sounds like x509 is public certificate stuff, like TLS May 21 23:50:08 pcp? angledust :P May 21 23:50:14 angeldust even May 21 23:50:21 I just want to be able to encrypt/decrypt some data May 21 23:50:35 so maybe agp is the thing May 21 23:50:44 agp requires massive user interaction May 21 23:51:05 but i have no idea what you're actually trying to accomplish May 21 23:51:27 from bouncy castle's description it seems like it does have the functionality I want, but much more May 21 23:51:33 that I wouldnt need May 21 23:51:48 although this is sort of vague: "A lightweight cryptography API for Java" May 21 23:51:56 I'll read more May 21 23:52:13 having no clue what you're actually trying to accomplish I have no idea if it's appropriate or not May 21 23:53:37 I want to encrypt data using a public key and decrypt later May 21 23:54:23 I dont want an app or a filesystem, just a library; it is a personal tool May 22 00:11:37 hey guys, I have the following layout: http://pastebin.com/fAS3nGkp -- this works fine. But I'm unable to make the adView appear below the ViewPager no matter what I do. Any ideas how to get this going? May 22 00:12:49 hey fools May 22 00:13:36 hey fool May 22 00:14:10 whats up joogernaut May 22 00:19:33 chillin May 22 00:19:47 word May 22 00:21:50 no? :( May 22 00:22:13 ah, a rare glimpse into the natural habitat of the white suburban teenager May 22 00:23:45 Techdeck: try a linearlayout or a framelayout if your ad unit is a specific size May 22 00:35:56 Quick question. I tried logging in on my app via facebook on a phone that is set to spanish. An error popped up "App not set up: español". Do I need to add more to make it work on spanish phones? May 22 00:56:39 I have a lenovo tab 8, and my manifest clearly enforces "portrait" for all activities May 22 00:57:04 however the device somehow allows for portrait rotations anyways (unlike all other devices I've tested on), which results in some really bad behavior in the app May 22 00:57:18 does anybody know how to prohibit this from happening? May 22 01:32:42 hey will any one help me out May 22 01:36:55 what u need homie May 22 01:37:40 does anyone happen to know if there's a standard icon used in Android for logout? May 22 01:37:57 i am trying to make my first app and i need help getting it to do what i need it to do May 22 01:39:31 gameboy9494: What do you need it to do? May 22 01:39:47 I'll help you with yours if you will help me make mine print money. May 22 01:40:19 gameboy9494: try and show us where you are stuck, don't ask us to commit something we don't know about May 22 01:42:42 i need to make a app that i can enter a name then a certain amount of days latter a push notification pops up and then you ether confirm and then it sets another date for a push notification or you tell it no and it deleates that entrey May 22 01:43:29 gameboy9494: did you install the IDE, SDK and written your first hello world ? May 22 01:43:45 yes May 22 01:44:35 This sounds like a job for AlarmManager May 22 01:44:39 gameboy9494: find some push examples online May 22 01:48:23 http://pastebin.com/yKZRET1t what would "alist" look like as a pojo for gson? May 22 01:56:38 why isnt my alpha-blending working, u guys have to help me, otherwise there may be another 9/11 May 22 02:01:05 .anyone want to help me about developing apps May 22 02:02:36 way to get yourself put on a list nick May 22 02:03:25 haha May 22 02:03:40 i said 'there may be...' May 22 02:11:39 be me: have a relative layout with login/pw field and a login button. onClick of the login button, the function "TryLogin()" is called. this function turns the uname/passw fields into strings, adds them to a json object, and makes the https connection. My app crashes hard when I try to httpclient.execute(httppost) May 22 02:12:15 are you doing the request in a non-ui thread? May 22 02:13:01 if that's not done automatically, then probably not. the logic is in a sep function in the main java class/activity May 22 02:13:30 android framework throws an exception if you try to do networking stuff in ui thread May 22 02:14:02 ah so make a support class and point to that onClick? May 22 02:14:34 im not sure how to create new threads and/or differentiate between ui and non-ui threads May 22 02:14:42 i dunno, i don't know about your app:p May 22 02:14:54 maybe just some simple AsyncTask is sufficient May 22 02:15:44 hrm this is all very new to me. thank you though, this at least points me in a direction May 22 02:17:47 ah worker threads! right on the dev site. http://developer.android.com/guide/components/processes-and-threads.html **** BEGIN LOGGING AT Thu May 22 02:25:12 2014 May 22 02:29:06 i would like bubbles and cmdr. chris hadfield to sing a song together May 22 02:29:09 then kiss May 22 02:29:25 who is this bubbles May 22 02:29:39 and theyd better have an android-dev problem May 22 02:29:41 Jesperhead: https://www.youtube.com/watch?v=pp1e505TBHI&feature=share May 22 02:30:19 bubbles is the guy with the glasses **** ENDING LOGGING AT Thu May 22 02:59:58 2014