**** BEGIN LOGGING AT Thu Dec 17 02:59:58 2015 Dec 17 03:00:00 and it's really easy to migrate from listview to recyclerview if you do need the extensibility later Dec 17 03:00:21 I converted a large-ish code-base over to recyclerview pretty easily (to accomodate appbarlayout/coordinatorlayout) Dec 17 03:01:45 So has anyone worked on a Widget lately? Dec 17 03:01:53 or have experience with them Dec 17 03:02:03 why ask questions that waste time Dec 17 03:02:20 questions about widgets, pfn? Dec 17 03:02:26 because this is IRC and time isnt much of an issue. Besides the question is rather specific Dec 17 03:02:44 Basically wanting to know how to handle updating a Widget without an AlarmManager Dec 17 03:03:03 as post API19 AlarmManager doesnt work like it did before Dec 17 03:03:07 the question is vague as shit Dec 17 03:03:23 and alarm manager still works fine Dec 17 03:03:57 thanks Dec 17 03:04:33 API19+ the using .setRepeating doesnt guarantee firing on the specified interval Dec 17 03:04:36 not only that Dec 17 03:04:55 what are you updating that needs to be that exact Dec 17 03:05:02 but if you set an interval < 60000ms, it will automatically push it to at least 60000ms Dec 17 03:05:04 can't you use setExact? Dec 17 03:05:23 why would you update your widget more often than 1 minute, yuck Dec 17 03:05:27 especially if it's not in use Dec 17 03:05:57 a clock. alex_PP what if you need to fire it repeatedly? Dec 17 03:06:20 have setExact at the end of the update? Dec 17 03:06:31 what does your widget do? Dec 17 03:06:34 and for that matter, I update my widget in real time, if the user requests it Dec 17 03:07:09 yea pfn this needs to update without user interaction. alex_PP so basically just keep creating alarms after every update? Dec 17 03:07:41 yuck Dec 17 03:07:44 if there's no interaction, why more often than every minute? why exactly? Dec 17 03:07:48 no widget should waste battery like that Dec 17 03:08:54 sounds like what you really want is a service that updates the widget as it works Dec 17 03:08:56 pfn: It hardely uses baterry with the setup I have now. Using .setRepeating and a BroadcastReceiver to capture the intent works great, it just sometimes updates after 60 secs, sometimes after 70 etc.. Dec 17 03:09:04 battery* Dec 17 03:09:15 alex_PP: well what i was thinking was using a Handler Dec 17 03:10:03 but AFAIK that will use considerably more battery than an AlarmManager because it will always be running Dec 17 03:10:35 an alarm running every minute is going to hammer the battery too Dec 17 03:11:58 I still can't think of a use for what you're trying to do Dec 17 03:12:33 if it's a realtime interactive deal, use a service, if it's coming from somewhere, update on change, if it's the weather, every 12hours might be enough Dec 17 03:16:38 Yea I got a question up on SO about it, see if i can get some more ideas on how to do it. Gonna try using setExact I guess Dec 17 03:19:23 also, RTC_WAKEUP will update your widget every minute even when the device is meant to be asleep Dec 17 03:19:40 sorry, every 3 seconds Dec 17 03:20:16 It only wakeups the device for the update for a split second though, doesnt it? Dec 17 03:20:26 sorry, sorry, every second Dec 17 03:20:47 still not ideal Dec 17 03:21:12 imagine if I woke you up every second Dec 17 03:21:21 you would be unammused Dec 17 03:21:46 alex_PP: The 1000ms was for a test mate Dec 17 03:23:11 what's this widget meant to be doing, orbyt_? Dec 17 03:23:20 that'll help with ideas Dec 17 03:23:41 This part is for timekeeping, plain and simple. Dec 17 03:24:16 but why? Dec 17 03:24:42 is it important that it happens every whenever even when there's no user? Dec 17 03:25:24 of course not, which is why my initial though was using an AlarmManager would be more favorable, as its not running literally all the time. Dec 17 03:26:00 But if it stops, when the user wakes up the device the values would need to be calculated and updated again Dec 17 03:26:03 anyone has experience with exoplayer ? I invoke 'seekTo(long)' but it doenst scroll my video to that position Dec 17 03:26:22 (mp4 file from internet, other players can scroll that file) Dec 17 03:26:26 but when my phone's on then it needs to update all the time? Dec 17 03:26:34 correct Dec 17 03:26:51 even when I'm in an app that ain't hte home screen? Dec 17 03:27:00 AFAIK AlarmManager/Handlers/some type of Service are the only options. Do you have any other suggestions? Dec 17 03:27:22 alex_PP: No that wouldnt be necessary but im not sure how to accomplish that Dec 17 03:28:02 service that starts with ACTION_USER_PRESENT would be worth trying? Dec 17 03:30:02 hmm that might work, will look into it Dec 17 03:30:33 or ACTION_SCREEN_ON & _OFF Dec 17 04:34:54 hm, 1.5 brought autocomplete in XML for support lib things - but for some reason not all are working, only a few . GridLayout isn't working Dec 17 04:35:43 in my experience, auto complete needs to have a few coffees in the morning to get up to speed Dec 17 04:35:53 and even then gets easily distracted Dec 17 04:36:00 we're like peas in a pod Dec 17 04:36:14 heh Dec 17 04:36:53 yeah, i type one character, nothing happens. ok, slowly now, another character ... its struggling. a 3rd, okay here's some stuff Dec 17 04:38:07 is app: autocomplete supposed to work in Android Studio? Dec 17 04:38:17 in XML Dec 17 04:40:40 trying AnkoLogger. works everything except debug() Dec 17 04:41:10 any ideas? Dec 17 04:41:37 info(), verbose() etc can see in logcat Dec 17 04:43:02 literally wtf() Dec 17 04:45:43 vigilancer: see the java doc for Log.isLoggable Dec 17 04:45:59 alex_PP : yeah, looking right now Dec 17 04:49:45 now wondering how sane is this to prevent loggin based on system property. so now what, everytime I need to see log I have to remember to set it? Dec 17 04:51:43 and for every tag.. Dec 17 04:52:08 wtf. anyone really using this? Dec 17 04:52:19 google analytics does Dec 17 04:52:29 you can turn on logging with setprop Dec 17 04:52:38 ah, okay. except google) Dec 17 04:52:50 xml sucks Dec 17 04:52:58 unless you're distributing binary libraries, probably not that useful Dec 17 04:53:19 it's like... we have strongly typed language, let's use plain text xml so we lose type safety ! Dec 17 04:54:14 gordon_ : anko have typesafe dsl. fwtw don't it) Dec 17 04:54:23 *don't loke it Dec 17 04:54:27 *like it Dec 17 04:54:39 that will be nice Dec 17 04:54:47 but it lacks animations Dec 17 04:56:05 alex_PP : setprop everytime for every tag... Dec 17 04:58:26 you think "oh, cool stuff, looks really neat, will definitely try it next time". and than bang - it's trying to eat half of your workday Dec 17 04:59:20 extend ankologger and override log() to skip the isloggable check? Dec 17 04:59:33 log with info? Dec 17 05:00:37 kinda expecting it to work out of box as in brochure Dec 17 05:02:00 * vigilancer wanna be a gardener Dec 17 05:03:19 alex_PP aha, figured it out. I added a support lib and did gradle sync, but thats not enough for autocomplete. you have to do a build Dec 17 05:04:43 vigilancer i just got a book on Lean Farming :D Dec 17 05:05:37 g00s knows) Dec 17 05:06:05 i think there will be tons of opportunity in precision farming, etc. i'd like to get into that area Dec 17 05:08:13 I just want really big scissors and you know.. knock myself out Dec 17 05:08:32 watching 3 season Dexter) Dec 17 05:32:57 <_genuser_> so can you lock the orientation of an activity to landscape. Dec 17 05:33:06 <_genuser_> but let teh Dialogs be fluid? Dec 17 05:33:22 <_genuser_> so main activity is landscape always, but any popups, can adjust to orientation. Dec 17 05:37:10 second time this happened; editing XML in AS; do something with an element like delete /> in ... and the whole document turns red, root element is nuked left with just "<" Dec 17 05:40:58 why would you do that Dec 17 05:41:02 that sounds terrible Dec 17 06:36:50 Using MVP, would a callback from a RecyclerAdapter to the view about an item being clicked (and then launching a new activity) then go through the presenter, or would the view be able to do that on its own? Dec 17 06:39:07 <_genuser_> hmm, can't you pass in a null for a parameter of type interface? Dec 17 06:41:36 Hi everyone Dec 17 06:43:57 I was going through an online android tutorial, and came across this piece of code Dec 17 06:44:01 http://pastebin.com/07uPadAB Dec 17 06:44:33 However I am finding it hard to understand this part Dec 17 06:44:35 new GestureDetectorCompat(this, this); Dec 17 06:45:14 How is it able to create the new object? where are the two "this" getting its values? Dec 17 06:45:33 I'm adding deep links to my application. It seems to work pretty well. My issue is that I want to send the deep link through an email and gmail doesn't see it as a link. Any ideas? Dec 17 06:46:07 Appreciate it if someone can kindly help me understand it. Dec 17 06:47:09 how does one init an orientation change without actually changing it on the device? I am using some android VMs and require that event for testing purposes Dec 17 06:49:53 inthl: What android vms? Dec 17 06:50:39 most vms, emulators have a rotate button or button key combo to rotate. or you can go into dev options and turn on "Never keep activities" which will destroy the activity each time you leave. Dec 17 06:50:45 um Dec 17 06:51:04 I believe that is some stock image, there are no special buttons afaik Dec 17 06:51:28 I thought of some android hidden developer menu or something that has a button to call the orientation change event Dec 17 06:52:12 yeah, just rotate the device Dec 17 06:52:38 or theres a button combo to rotate the device. the new emulator 2.0 has a key combo to actually do this without having to rotate Dec 17 06:53:09 hm, I am not using such emulator. this is simply an android image installed in a virtualbo Dec 17 06:53:09 x Dec 17 06:55:27 okay. good luck Dec 17 06:56:11 as mentioned here Dec 17 06:56:14 http://developer.android.com/tools/help/emulator.html Dec 17 06:56:30 these buttons actually do work? i could change the orientation by pressing some F key Dec 17 06:56:47 thanks for the hint with that emulator Dec 17 07:03:51 I'm adding deep links to my application. It seems to work pretty well. My issue is that I want to send the deep link through an email and gmail doesn't see it as a link. Any ideas? Dec 17 07:12:25 It probably only makes http links clickable.. It's not like they scan every app for uri schemes Dec 17 07:15:34 Any help guys? Dec 17 07:17:30 Gr1: GestureDetectorCompat(Context context, GestureDetector.OnGestureListener listener) Dec 17 07:17:43 since activity extends context, its first this Dec 17 07:18:09 and since this one implements GestureListener, this is second this Dec 17 07:19:47 Wow, Ok. Thanks ashiren. That makes sense. Dec 17 07:20:03 eghdk: look up browsable intents Dec 17 07:21:48 alex_PP: My activity does have an intent filter thats browsable. It works for things like http://my-app.com/pudding but not if I try to have a custom link like my-app://my-app/pudding Dec 17 07:22:12 Gmail basically doesn't seem to make anything thats not http/https clickable. Dec 17 07:22:31 and I'm not sure if theres some kind of manifest config that will change gmails behavior. Dec 17 07:25:18 Hey, I was making custom dialog by extendig AppCompatDialog but none of the views receive click or touch listeners. Only if I implement OnClick/OnTouchListenr on the dialog itself then it works. Dec 17 07:27:00 And this is not very feasible when using a custom view in a dialog which uses a touch listener by itself Dec 17 07:33:09 Even returning false in onTouch doesn't deliver the event to views Dec 17 07:38:35 hello Dec 17 07:41:18 do you know if there will be an android builders summit in 2016? Dec 17 08:46:53 Hello guys, does anyone have a how-to link for something like a Gmail app on a tablet in landscape orientation? I try to move a second listview to a first listview and when that happens, the left side contains the details. Dec 17 09:47:22 hie everyone Dec 17 09:48:32 i have installed android-studio 1.5 on ubuntu but and i installed sdk tools 24.4.1 and etc but while compile it give me an error Dec 17 09:48:50 Error:Execution failed for task ':app:compileDebugAidl'. Dec 17 09:48:51 > java.lang.IllegalStateException: aidl is missing Dec 17 09:56:56 hi does anyone know how wifi hotspots work on android? I am having a problem with data connection with a certain carrier Dec 17 10:26:46 SeyedShahriar, this channel is for developers. Try #android Dec 17 10:28:15 Number5: I am developing an app and I can not make a tcp connection on the phone when I use a certain operator as the carrier Dec 17 10:28:55 but when I use it through a wifi hotspot it is OK Dec 17 10:29:06 SeyedShahriar, ok, but doesn't this sounds like a problem on system level? Dec 17 10:29:42 Can you browse with that carrier? Dec 17 10:30:01 no not by using http Dec 17 10:30:06 with other carrier it works? Dec 17 10:30:09 yes Dec 17 10:30:49 Aah I see. I think that operator is using 10.x.x.x type of IP. Dec 17 10:31:18 Or the problem is at the Operator. Dec 17 10:31:30 I think so i used trace route on the request and it uses such IP Dec 17 10:31:49 but I don't understand why it doesn't work Dec 17 10:32:07 Maybe it has to do with IPv6 Dec 17 10:32:52 even when I use a proxy on the device there is no problem Dec 17 10:32:58 Some operators use IPv4 and others IPv6 Dec 17 10:33:29 I can't help you more than that my friend. Dec 17 10:33:48 ok tnx Dec 17 10:34:32 it still could be that the wifi hotspot handles things differently compared to the tcp connection inside an app Dec 17 10:36:06 ktwo, it doesn't matter what medium you're using (Wifi, 3G, 4G) from programming's view, it's just a TCP connection. So it should work, unless there's a difference in TCP version like IPv4 or IPv6. Dec 17 10:36:48 Even than it should work, cause it will be handled in a lower layer for you. Dec 17 10:38:20 well if i understand him correctly he could open the same tcp connection from a device connected via the wifi hotspot, but not in an app on the device itself Dec 17 10:38:29 so there must be a difference somewhere Dec 17 10:38:53 Maybe do you have an answer for my problem. I'm working on an app for tablets in landscape orientation. I want to handle listviews like in GMail. When a new listview comes from right of the screen, it pushes the listview on the left out of the screen. Dec 17 10:39:26 can someone tell me why touchlistener doesn't work on appcompatdialog Dec 17 10:39:34 ktwo, I'm not sure, he said opening http from a browser works. Dec 17 10:39:42 I've been stuck here for the last 3 hours Dec 17 10:39:53 and how do I make it work Dec 17 10:40:17 astroduck, override touch handler doesn't work? Dec 17 10:41:52 Number5: You mean implement a touch listener on root view? Dec 17 10:41:57 Didn't work Dec 17 10:42:11 astroduck, what do you mean by root view? Dec 17 10:42:44 Number5: root view of my custom xml file? Dec 17 10:42:45 I mean the view of the dialog. Extend the Dialog and override touch handler Dec 17 10:42:48 I noticed the android source has a Leb128 class which I would like to use however it seems I'm unable to import com.android.dex in Android Studio is there a library for this somewhere? Dec 17 10:43:10 Number5: what do you mean by "override touch handler" Dec 17 10:43:28 Renoir, have you googled to add it in Gradle? Dec 17 10:44:11 Number5, yes but all I found was importing the spring framework which I don't think is the same thing. Dec 17 10:44:29 Dialog gets events for touches, or clicks or whatever, you can override these methods so you can add your own implementation. Dec 17 10:44:48 Spring sounds like Java stuff Dec 17 10:45:21 astroduck, it's like you override onStart, onStop and so on in an activity. Dec 17 10:49:25 hello Dec 17 10:49:31 this is my drawable https://gist.github.com/mRokita/61922ad94e72432b284b Dec 17 10:49:54 i apply it to some LinearLayout as background Dec 17 10:50:17 and I want to set the state to focused in my java code (on touch Dec 17 10:50:18 ) Dec 17 10:51:18 to pressed * Dec 17 10:52:54 nevermind, i used requestFocus instead of setPressed(true) Dec 17 11:43:30 how to shift Dialog up when soft keyboard was opened? Dec 17 11:44:05 input fields are visible but not buttons on bottom of Dialog Dec 17 11:47:59 shouldnt it do that on its own by default? Dec 17 11:51:45 any suggestions about photo editing lib ? Dec 17 11:54:09 danijoo : well, maybe it shoild. but it's not Dec 17 11:54:23 *should Dec 17 11:54:27 sci-fic https://www.aviary.com/ Dec 17 12:05:13 napster: wants too much like api key, advertise it in ur app etc. Dec 17 12:07:21 Suggested because I used it one of the app back in 2012 or something. Dec 17 12:08:15 yes i used it once too, but now they are joined adobe creativesdk which is bad for me. i didnt get anything :@ Dec 17 12:14:59 fk, should be using DialogFragment Dec 17 12:18:35 hi Dec 17 12:19:28 never written android apps but want to ask something in general, what is the usual language used for coding one and can you emulate it during development in case you don't have an android phone around? Dec 17 12:26:47 realies, Java and yes there are emulators. Dec 17 12:27:13 wow, I've expected C Dec 17 12:27:16 Developing without a phone around is far from perfect and if you think of actually doing some development then get an actual phone. Dec 17 12:28:46 Mavrik, I just saw that VS2015 has an Android C# templates Dec 17 12:29:05 and it says that it runs them natively Dec 17 12:34:13 thana: hey, are you back ? :) Dec 17 12:35:45 I'm trying to modify a .java file right after compilation in Android Studio, how can I do this with gradle? Dec 17 12:36:01 I'm first trying to find where to put the code so it runs right after the files are copies to the /build folder... Dec 17 12:36:23 I can see in the "Gradle Console" output that there's a ":myapp:preBuild" entry, how can I add my code here? Dec 17 12:36:45 Uh. Dec 17 12:36:51 That's actually not that easy. Dec 17 12:36:54 What are you trying to do? Dec 17 12:37:07 You can add java files, but can't really edit them much. Dec 17 12:37:07 or maybe if I can modify a .java file, then compile, then modify it back ? Dec 17 12:37:25 Again, what are you trying to do? Dec 17 12:37:47 Mavrik: I'm trying to generate or modify a .java file from gradle, I need to change it based on certain parameters, then change it back Dec 17 12:38:07 Too vague. Dec 17 12:38:19 What do you want to change? Dec 17 12:38:21 so it should stay in it's original form, and only be changed when compiled in the .apk or .jar or whatever Dec 17 12:38:54 And why aren't you using flavor support with build config fields for that? Dec 17 12:39:07 What requires changing of the source that cannot be solved by using parameters and flags? Dec 17 12:39:12 Mavrik: for example say I want to unroll a "for(...; i I see. Dec 17 12:40:34 seems like an unusual thing to want to do... Dec 17 12:40:39 Mavrik: and I want to edit a .java file that has a comment like "/* my comment */" with a string I generate from gradle programatically Dec 17 12:41:32 so it gets compiled into the .jar or .apk, but afterwards the source file is unchanged so it just contains "/* my comment */" so it can work on the next compile Dec 17 12:41:52 That still sounds like you're trying to do something horrible, but you could keep those files in non-source dirs, then use a copy/filter task to copy them in place before compiling. Dec 17 12:41:56 and "n" can change at every compilation Dec 17 12:42:13 But again, consider using BuildConfig for that :) Dec 17 12:42:33 Mavrik: I think that's might work, but I'm still learning gradle. How can I do that? Dec 17 12:42:59 Mavrik: I looked at BuildConfig but I can't generate .java code with it :-/ Dec 17 12:44:34 Mavrik: from what I learned so far, gradle is just like java + some nice syntax right? So I just need to know where to put the code so it modifies the .java just before compiling Dec 17 12:44:40 Gradle is groovy. Dec 17 12:44:59 And you define source directories in android plugin configuration. Dec 17 12:45:42 Mavrik: ok but I just realized I can't just add a file, I have to modify an existing one Dec 17 12:45:52 How is that_ Dec 17 12:45:53 ? Dec 17 12:46:30 or at least generate a new file programatically, so I can do the "A(); A(); ... A();" thing Dec 17 12:46:41 repeated "n" times Dec 17 12:46:58 I don't see the issue really O.o Dec 17 12:47:10 You grab a file from folder, modify it and copy it to the source dir. Dec 17 12:47:25 Mavrik: oh ok, I see Dec 17 12:49:55 Mavrik: I have to store a Date and time object into a file on the device... then later read the file and reInsert the data into an Object. What would be the best format for saving the data so that it is easily parseable later on Dec 17 12:50:30 cart_man, localtime or displayed time? Dec 17 12:50:35 e.g. are timezones important? Dec 17 12:51:09 timezone is not important no Dec 17 12:51:14 just local time Dec 17 12:51:21 epoch time Dec 17 12:51:29 System.currentTimeMillis() . Dec 17 12:51:35 It's a single long number. Dec 17 12:51:42 And you can initialize calendar / date from it. Dec 17 12:52:55 Whoaa really? Like its saved as 2015231215 and actually comes out a date? Dec 17 12:53:56 Mavrik: Because that would be awesome ! Dec 17 12:53:57 Mavrik: how can I "define source directories in android plugin configuration" ? Dec 17 12:54:07 cart_man, there's a constructor on Date object. Dec 17 12:55:44 cart_man: use SimpleDateFormat() for formatting then for parsing, see http://beginnersbook.com/2013/05/java-parse-date/ Dec 17 12:55:45 Mavrik: Ok so to get it i just go System.currentTimeMillis() ? Also is there a way to measure Time/Dates against each other to see which one is later then the other? Dec 17 12:56:28 cart_man, if you have to work with dates a lot I seriously urge you to use the Java 8 date/time libraries (see ThreeTenABP library for Android). Dec 17 12:56:41 It includes objects that are way easier to work with and compare. Dec 17 12:56:54 But comparing epoch time works :) Dec 17 12:57:01 It's afteral just number of milliseconds since 1.1.1970 Dec 17 12:57:17 cart_man: Date a,b; a.after(b); Dec 17 12:58:04 also android DateUtils work with epoch time anyways Dec 17 12:58:21 you barely need Date Dec 17 12:58:29 The issue with epoch time is that it doesn't record the set timezone. Dec 17 12:58:35 Which can be important at times :) Dec 17 12:58:40 It's always in UTC. Dec 17 12:59:08 yup but thats the only reason where I can see date objects are useful Dec 17 12:59:25 JSR310 objects are very nice though. Dec 17 12:59:37 Mavrik: what's the gradle task where I need to put code in so it runs before compilation? I tried adding in "myapp/uild.gradle" inside "android { buildTypes { debug { " the line "println 'xxxx'" Dec 17 12:59:38 They make messing up time and date stuff significantly harder. Dec 17 12:59:48 E.g. methods like date.addDays() Dec 17 13:00:07 mix, I don't know out of hand, list tasks and see which suits you well. Dec 17 13:03:42 Mavrik: Well I think using anything other then Date or DateUtil will be overkill though.. I just want to read a couple of dates into objects and then compare them with the current time. Going to use the simple file writer also Dec 17 13:04:46 *shrug* Dec 17 13:05:08 It's only overkill until you expand a bit of functionality and end up with hard to maintain code :) Dec 17 13:05:50 Mavrik: One more thing that I am not clear on. How do I get epoch time from a Date object though? Dec 17 13:06:06 Do I need to smack you with a JavaDoc? :P Dec 17 13:06:08 Mavrik: Oh yea well I will look into a overhaul for the entire thing anyway ... this is just to show that it can work Dec 17 13:06:32 Mavrik: Haha no sorry but I am on my cellphone ..my computer has no internet :`( Dec 17 13:06:43 small s3 screen FML Dec 17 13:11:37 Mavrik: I ran "gradle tasks" and got a lot of tasks, but I'm not quite sure which to use - http://pastebin.com/raw/MfTLnhqT Dec 17 13:13:12 Mavrik: I think I should use "build" and add code so it runs before it builds the files: "task(build) << { println "I will change the file here..."; }" Dec 17 13:13:17 is that fine? Dec 17 13:13:40 how do I make android-studio use the Oracle JDK from /usr/src/java/? Dec 17 13:16:21 Mavrik: hmm, I tried "project(':myapp') { task(build) << { println "I will change the file here..."; } } }" but I get the error "Error:(27, 0) Cannot add task ':myapp:build' as a task with that name already exists. Open File" Dec 17 13:17:25 Do you guys know of a already built intent like Calendar or Time picker intents but one that has Date and Time pickers on one intent? Dec 17 13:21:35 nothing is getting printed in the gradle console :( Dec 17 13:23:09 this is what I'm trying - http://pastebin.com/7QH1KCSS Dec 17 13:23:29 I'm trying to follow the manual here - https://docs.gradle.org/current/userguide/more_about_tasks.html Dec 17 13:30:36 any reason why my http requests work on WiFi but not on the cell network? Dec 17 13:36:43 Hello! I have an issue with my application in Google Play Closed Beta program being accessed by an account which has not been specified as a tester account. We can see the unexpected account on our Leaderboard which is set up via the Google Play Services library. We sent an email to google support but they have given us only non-answers. Anyone able to help? Dec 17 13:44:50 What would you expect them to do? Dec 17 13:50:29 I would expect them to investigate who accessed our APK and how. We havent shared our APK anywhere else except the google play closed beta. We are wondering wether this is some Google quality assurance person but their support is neither confirming or denying it. Dec 17 13:54:31 Heh Dec 17 13:55:54 Sure, it might be run by their malware scanner, and it might be run by a real person (I believe there's some kind of approval process now) Dec 17 13:56:18 I don't see why they should give you a list of people/devices at google that runs your app Dec 17 13:57:47 We are sure this is a person playing our game. You don't see anything concerning about unauthorized access to a closed beta APK? Dec 17 13:58:30 I would be content in just knowing it is a google tester instead of something more malicious. Dec 17 13:59:49 You expect Google to act on it without any indication that it has anything to do with Google Dec 17 14:00:29 But that's just me.. Dec 17 14:00:33 Google Play Closed beta is provided by Google, so it does have something to do with Google. This is the only way anyone could access our APK. Dec 17 14:00:50 One of your closed beta participants could be distributing it Dec 17 14:01:16 You could add some analytics, find out more about this person Dec 17 14:02:06 The time logs rule out our testers giving out the APK. Dec 17 14:02:25 Hi all. Is it possible to have something like a Horizontal and Vertical LayoutManager for a RecyclerView. Like I need to have x items which are vertical positioned and the 2nd item must contain a horizontal swipe (with other elements) Dec 17 14:02:48 This was done immediately after the APK was uploaded for the first time to the play store. Our testers didnt even have the link by then. Dec 17 14:02:54 Somebody told me to use a ViewPager in a ViewHolder for the horizontal swipe. But I'm wondering if there isn't another option for this. Any suggestions? Dec 17 14:02:58 And it hasnt happened since. Dec 17 14:06:22 If it was a google tester accessing our game, I don't see a reason for them to hide the fact. Dec 17 14:07:12 All uploaded apps are run by something they call(ed?) Bouncer Dec 17 14:07:21 Nothing hidden about that Dec 17 14:07:52 I am aware, but as I said, this is a real person playing the game, nothing automated. Dec 17 14:10:09 Gjhs Dec 17 14:10:23 Guys*, help me with Android Studio, it's using too much CPU Dec 17 14:10:59 I've used it before, it uses much CPU on my Core2Duo processor, but I used to it, but now it uses too much CPU that the CPU usage goes up to 100% Dec 17 14:11:21 The whole studio lags, and it only happens while I am writing code, suggestions load SUPER slow Dec 17 14:11:48 I think that this happened after I added CardView and RecyclerView to my dependencies Dec 17 14:12:07 How can I spot the problem? the CPU usage is unbelievable, the CPU fan never stops Dec 17 14:42:34 How do you know it's a real person? Dec 17 14:45:58 Because we can clearly see the game has been played, and I dont think a bot would be creating accelerometer data accurately to play the game. Dec 17 14:46:43 I don't see why not Dec 17 14:46:57 I'd expect it to click random buttons, etc Dec 17 14:47:04 You'd have to train an AI to do this. Dec 17 14:47:47 To feed random input? Dec 17 14:48:26 Who said anything about random? Dec 17 14:48:39 I did Dec 17 14:48:40 Thats the point, you won't get this result with random. Dec 17 14:49:25 RecyclerView.RecyclerViewPool has public void setMaxRecycledViews(int, int) but how do I access it from outside? seems like there's something missing to me -.- Dec 17 14:49:57 oh, there's actually a setRecycledViewPool in RecyclerView Dec 17 14:50:38 thanks for being my duck again Dec 17 15:01:30 If, by chance, a bot managed to do this, then it would make sense for Google support to be able to confirm that it was a testing bot. Nothing about this google+ account suggests a testing bot. Dec 17 15:02:14 ls Dec 17 15:02:23 (ignore me) Dec 17 15:05:21 how can I get current displayed fragment through fragmentmanager? Or is the only way by using findFragmentByTag()? Dec 17 15:06:10 Number5, only fragmentBy Tag Dec 17 15:06:19 multiple frags can be visible Dec 17 15:10:47 danijoo, hi I need you! I want a behaviour like a GMail app in landscape mode for tablets. I have like ListView1 on the left and ListView2 on the right of the screen, when I click on an item on LV2, a new content fragment comes from right of the screen and LV2 pushes LV1 from the screen. Do you have a pointer for me where to look at? Dec 17 15:12:40 I dont see a problem Dec 17 15:12:56 My situation now, I have 2 framelayouts one left and one right. I want a mechanism to move the fragment from right frame layout to left frame layout. Dec 17 15:13:32 remove it from one and add it to the other Dec 17 15:13:34 danijoo, I mean how I can implement this behaviour Dec 17 15:14:27 danijoo, sometimes you give just a plain easy solution hahaha. I'll try that. But I'm just not sure if the animation like that of GMail Dec 17 15:14:39 Is it the one where LV2 changes size? Dec 17 15:14:44 danijoo, thnx man Dec 17 15:14:52 i dont know how gmail look Dec 17 15:15:02 im using inbox\ Dec 17 15:15:20 SimonVT, LV2 has like the remaining space of the complete main view Dec 17 15:15:58 That doesn't really answer my question, but ok Dec 17 15:16:17 danijoo, hahaha, well I have one from my work, a Samsung Tab 1 with some standard apps and I really like the Gmail app design Dec 17 15:16:33 SimonVT, sorry, no it doesn't change Dec 17 15:17:21 Just animate translationX of the list views then Dec 17 15:20:39 SimonVT, ok thnx my friend :) Dec 17 15:30:08 hey anyone knows about some gridview implementation that the last row, if it doesn't have a complete row, makes items be horizontally distributed? Dec 17 15:45:43 hmm, why is my toolbar taller when it's laid out in portrait, all params are otherwise identical... Dec 17 15:45:54 er, laid out in landscape Dec 17 15:46:25 Maybe I should specify a height instead of wrap content Dec 17 15:57:03 Yeah, for some reason Toolbar requires you to set the height to actionBarSize if you want it to look as expected Dec 17 15:57:31 The menu items are actually larger than actionBarSize, making it look weird if wrap_content Dec 17 15:58:55 yeah, what I just did Dec 17 15:59:33 when tabs are in Actionbar, i wish there was a way to align the baselines of the title and their text labels Dec 17 16:00:24 for example: Contacts [favoritites][all contacts] ... 'Contacts' is a few dp below the tab labels Dec 17 16:05:17 So I saw a demo of a security solution today which stopped a download from Google Play Store, before it was actually downloaded. The app already had VPN permissions, but I don't think that's enough to snoop any network traffic from Google Play. My guess is they picked up the package name from somewhere and stopped it. Any idea how? Dec 17 16:05:57 has anyone noticed on latest android studio/device monitor... an emulator keeps poping as an available device Dec 17 16:06:17 stop your emulator Dec 17 16:06:23 basically in device montiro where it shows the list of devices... i see my connected phone and every 2secs, an emulator blinks Dec 17 16:06:27 i dont have any emulator installed Dec 17 16:06:32 i dont even install the images Dec 17 16:06:35 adb devices Dec 17 16:06:36 i always use the phone Dec 17 16:06:47 List of devices attached Dec 17 16:06:47 05157df5580b2134 device Dec 17 16:06:55 and im hoping this is my phone... Dec 17 16:06:59 * pfn shrugs Dec 17 16:07:01 probably Dec 17 16:07:24 kjeldahl see this? whatever you try, make sure its legit :) http://www.androidpolice.com/2015/12/16/google-pulls-nowsecures-android-vulnerability-scanner-from-the-play-store/ Dec 17 16:07:25 sometime the emulator stays on for longer... Dec 17 16:07:29 but it usually just blinks Dec 17 16:07:32 it's really annoying Dec 17 16:09:19 g00s: Yes, but it doesn't answer my question. :-) Dec 17 16:10:05 I was under the impression that intercepting network traffic between the Google Play App and Server was pretty much "impossible", so it must be some other service/intent they are plugging into. Dec 17 16:10:06 kjeldahl dragorn might know Dec 17 16:10:28 Worst case, even some logs or whatever if attempts to download packages is logged anywhere. Could be anything I guess. Dec 17 16:11:02 if it was a vpn it could see traffic, to a degree. There's no reason play should be doing anything other than https, and pinned https at that Dec 17 16:11:22 Since they have VPN privs already, they can kill the connection easily, but I think I saw something like a custom error message as well. Not sure. Dec 17 16:11:28 i'd say it would be a major f-up if play accepted arbitrary certificates, but that would be a way to accomplish it Dec 17 16:11:59 they could definitely tell the app was talking to the play store. I suppose they could tell, from traffic patterns, that it was downloading an apk. They couldn't tell what apk, I shouldn't think Dec 17 16:12:10 dragorn: Yes, I don't think they are able to snoop the network, and regardless, it looked like they killed the install even before it was actually downloaded (which indicates they detect package name or something). Dec 17 16:12:14 at least, i can easily think of ways to protect that, so I'd be staggered if google didn't ;P Dec 17 16:12:31 nope. there's no intent prior to install of an apk (from any app, not just play) Dec 17 16:12:48 basically you download the apk and then either fire an install intent or call the package manager apis directly, if you're blessed to do so Dec 17 16:12:58 then monitor the installed bcast to see if it all worked Dec 17 16:13:14 I installed a few packages before the POC one, and they always had a long delay towards the end (VPN intercept doing something I guess after download was completed). This one stopped immediately though. Dec 17 16:13:15 play can do a little more since it's always blessed, but there isn't, afaik, any pre-install notification Dec 17 16:14:14 dragorn: Yes, post install I can imagine how, but not pre. Maybe it was a really small apk that installed faster than I was able to see. Dec 17 16:14:32 I beleive the 5+ device admin APIs added some package installation controls Dec 17 16:14:37 OTOH, I don't think it actually installed either. Dec 17 16:14:54 dragorn: Ah, that could explain it. Dec 17 16:15:23 its' not well documented and I haven't actually implemented anything in it, but I've seen some filtering APIs Dec 17 16:15:38 it's not in the dev admin capabilities page, sec. looking for it. Dec 17 16:16:01 thanks! Dec 17 16:17:16 yeah they changed things in api21, tehre's now a packageinstaller session Dec 17 16:18:10 though that wasn't what I was looking at before Dec 17 16:18:55 This package was searched for, found and installed within Play Store, not any other app. So something has to listen somewhere else. Dec 17 16:19:34 well play store calls system install apis Dec 17 16:19:37 is there a substantial difference between an android device plugged into a tv, and "android tv" in terms of developing for both? Dec 17 16:19:39 it doesn't install the package itself Dec 17 16:20:22 Ah, this could be it if it's available through intents or similar: http://developer.android.com/reference/android/content/pm/PackageInstaller.SessionInfo.html Dec 17 16:27:53 Mavrik: Hey how do I use DateTimeUtils ? I can not even seem to instantiate it : / Dec 17 16:28:03 Examples are quite scarce Dec 17 16:28:35 cart_man, its static methods. you dont instantiate it Dec 17 16:29:18 danijoo: Ugh...WHAT a noob...But its not part of Android right ...its 3rd party stuff? Dec 17 16:29:57 Can someone help me out with this classic problem please? I want to remove a fragment from one framelayout and plug it into another framelayout. But compiler complains "Can't change container ID of fragment". Here is the sample code> http://pastebin.com/hm8iSkNd Dec 17 16:30:00 cart_man, oh wait. DateTimeUtils? I thought you are talking about androids DateUtils Dec 17 16:30:19 danijoo: Ahm... well I am willing to use DateUtils though Dec 17 16:30:22 yes. DateTimeUtils is 3rd party. (joda library) Dec 17 16:30:33 danijoo: If it means I can at least get this working in the next 5 minutes Dec 17 16:30:35 This happens with the f_left fragment. Dec 17 16:31:15 cart_man, i dont know. Depends on you :p Dec 17 16:31:28 I tried to remove it first and call executepnedingtransactions() to immediately execute the transaction. Dec 17 16:31:49 but with no succes. Dec 17 16:32:32 I want to use the same fragment because of its state, otherwise I just create another fragment instance. Dec 17 16:33:22 danijoo: Ok but I need an object where I can store a random Date in? Dec 17 16:33:47 cart_man, no idea. i dont know what you are doing Dec 17 16:34:20 danijoo: Ok I want to save a date the user puts in from a DatePicker / Time picker... SAVE IT and the later compare it to the Current date Dec 17 16:34:49 you dont need a lib for that. compare the unix time Dec 17 16:35:00 Would it be possible to simply set up an intent filter for the Play Store to "see" installs? Dec 17 16:36:19 danijoo: Yes but in what object do I save it or should I just make one? Dec 17 16:36:42 save it as timestamp. no object at all Dec 17 16:36:56 just a long Dec 17 16:37:49 danijoo: I can not seem to find that Epoch time that you are referring to tough.. the one that I have to use with the long Dec 17 16:38:13 cart_man, https://en.wikipedia.org/wiki/Unix_time Dec 17 16:43:01 what do you mean? theres nothing to ´find´. Dec 17 16:44:40 Found it. It was the "EICAR" POC from Play Store. It's only 18k, so I guess it could very well have been detected AFTER download (as most of the AV solutions do). Still curious if market links could also be intercepted though. Dec 17 16:46:16 danijoo: Why is it not ok to use Depricated functions AND where can I find alternatives ? Dec 17 16:46:36 danijoo: Entire Date class is almost depricated Dec 17 16:47:01 cart_man, 1) because they might be removed and 2) in the documentation Dec 17 17:05:44 hello Dec 17 17:07:24 oh hi Dec 17 17:14:01 What is the name of that polymer quiz app that google made? Dec 17 17:14:10 the name is escaping me at the moment Dec 17 17:14:18 truckcrash, #android Dec 17 17:14:47 danijoo, it is development related. It is supposed to be a good clean example of well written code Dec 17 17:15:07 danijoo: Hey why can I not use java.time package? Dec 17 17:15:38 cart_man, ask the channel Dec 17 17:15:56 im not your personal google Dec 17 17:17:53 cart_man, java.time is not part of java 7 Dec 17 17:18:25 danijoo: Well I can not seem to get to it : / ...Sorry I do that sometimes Dec 17 17:26:59 Guys, um, alright so I am dynamically creating cards based upon a JSON file obtained from the internet, the card is designed in an XML, and then inflated by an Adapter to a RecyclerView, now I have one problem Dec 17 17:28:00 The JSON file contains all the information each card should contain, including image urls, however, I don't want the user to wait until everything is loaded to show the content, how can I make the images dynamically load? Dec 17 17:29:06 In other words: I want to create a card that is shown even before the image is download, a blank darker shade of grey is shown until the image is loaded Dec 17 17:29:11 How can I acheive this? Dec 17 17:29:17 I just want the key to it Dec 17 17:29:44 I just think that creating a thread for each card is waaaaay too much for such an operation Dec 17 17:30:10 It's exactly how Google Play shows it's content before the images load, and once the images are loaded, they are displayed Dec 17 17:34:49 OverCoder, use picasso Dec 17 17:38:33 picasso? hm, gotta search that Dec 17 17:38:45 it manages the image loading for you Dec 17 17:38:57 Great, that's what I exactly want, thanks Dec 17 17:39:05 I used URLImageViewHelper back in the day Dec 17 17:39:15 Don't know what is its current status Dec 17 17:43:00 design question: I want to have a list of items that are basically just icon + title + description that links to an activity; but I want to do that in several different places throughout the app Dec 17 17:43:58 Do what? Dec 17 17:44:11 should I be making a fragment for each item in the list, or make a fragment to contain the whole list of components, or both? Dec 17 17:44:17 hi all, for the same orientation (SCREEN_ORIENTATION_REVERSE_LANDSCAPE) I have not the same data for sensor TYPE_GRAVITY on two different device :-/ Dec 17 17:44:36 can I check something at runtime? Dec 17 17:46:04 i'm not sure if having each list item as a separate fragment will add a ton of overhead, or if there's a better way of doing it Dec 17 17:46:19 kommunicate don't use fragments for list items ;) Dec 17 17:46:30 ok great, thanks g00s Dec 17 17:46:45 the list itself should be a fragment though, right? Dec 17 17:47:04 could be, or a standalone adapter Dec 17 17:48:02 So I can not seem to use the "org.threeten.bp" ... I instantiate it and it just says can not find symbol Dec 17 17:49:49 what's the big advantage of an adapter over a fragment in this case? Dec 17 17:50:25 you will need an Adapter anyhow, you can put it in the Fragment, but then you can't reuse the adapter itself Dec 17 17:50:31 although you could reuse the Fragment Dec 17 17:51:19 kommunicate sounds like you want a Fragment , which has a Listview, and for now just put the adapter in there Dec 17 17:51:53 kommunicate: Fragments and adapters are two different things Dec 17 17:52:15 ok thanks Dec 17 17:55:02 Wow picasso, awesome lib Dec 17 18:05:45 hi all, for the same orientation (SCREEN_ORIENTATION_REVERSE_LANDSCAPE) I have not the same data for sensor TYPE_GRAVITY on two different device :-/ Dec 17 18:05:47 can I check something at runtime? Dec 17 18:20:07 whats the best way to understand that onDestroy method did its job and Im not leaking that activity? Dec 17 18:20:29 somehow Im preventing one activity from being destroyed Dec 17 18:21:47 strange thing is that it just leaks once Dec 17 18:22:00 basically I have 2 instances of activityX Dec 17 18:22:19 any ideias? Dec 17 18:22:43 hm? Dec 17 18:23:04 onDestroy isnt guaranteed to be invoked Dec 17 18:23:45 well at least if you press home, and activity is later destroy by system Dec 17 18:23:57 do you have any static reference to the activity Dec 17 18:24:24 pycas, how do u know it leaks Dec 17 18:25:05 im seeing it in hprof Dec 17 18:26:45 Find gc root Dec 17 18:28:00 SimonVT~, from that activity? Dec 17 18:28:49 For whatever you're leaking Dec 17 18:29:00 Ashiren, yes I have Dec 17 18:29:19 Ashiren, but in onDestroy im setting it to null (im passing a context) Dec 17 18:29:27 (to a Singleton) Dec 17 18:29:31 (xD) Dec 17 18:30:18 hello everyone :) Dec 17 18:30:21 You should use application context instead Dec 17 18:33:26 yes I know but I need to get width and height from getWindowManager() Dec 17 18:33:38 that only is present on an activity context Dec 17 18:33:49 Why? Dec 17 18:34:18 your singleton is doing that? Dec 17 18:34:35 pycas, never store activities / views in a static context Dec 17 18:34:38 never Dec 17 18:37:07 danijoo, even if you can put it to null = Dec 17 18:37:09 *? Dec 17 18:37:26 after job done? Dec 17 18:37:27 Guys um, I am creating my own Adapter for my RecyclerView, now, I am trying to present JSON data into different sizes of cards, depending on the JSON, now the problem is that, onCreateViewHolder doesn't have position parameter, how can I solve the issue? Dec 17 18:37:40 pycas, yes, because if you dont do it at all, you wont do it wrong :) Dec 17 18:37:52 agree with danijoo, it's a dangerous pattern Dec 17 18:39:07 so im using the new CollapsingToolbarLayout with a RecyclerView to scroll, but i only want it to scroll when it has more views to show, how can i accomplish that? Dec 17 18:39:27 drinfernoo, it doesnt scroll if there are no more views Dec 17 18:40:00 it does if nested scrolling is enabled, which is how collapsing toolbar layout works Dec 17 18:40:27 not if you are at the end of the list Dec 17 18:40:47 how does it know youre at the end? Dec 17 18:40:55 that isnt the out of the box situation for me Dec 17 18:41:18 OverCoder, do it on onBindViewHolder? Dec 17 18:41:54 OverCoder, yeah do it in onBindViewHolder Dec 17 18:42:17 hey, I'm trying to populate a ListView via a custom adapter using data that is retrieved async. I'm creating the custom adapter and initializing its data via it's constructor, then just setting it on the listview via setAdapter(), I'm not actually seeing any of the adapter methods being invoked. Dec 17 18:46:37 Hastouki forget notifyDatasetChanged() ? Dec 17 18:47:26 hi, How can I stop/unregister a sticky service? Dec 17 18:48:22 danijoo, some SO suggests using setNestedScrollingEnabled(false), but that just stops scrolling completely Dec 17 18:51:09 g00s: none of the examples I've seen mention this method for some reason, is this automatically called in most cases? Dec 17 18:51:25 g00s: I'm guessing I need it because I'm binding the data late Dec 17 18:51:37 Hastouki what adapter are you using Dec 17 18:52:18 g00s: custom adapter based on BaseAdapter Dec 17 18:53:22 Sorry guys I was awake, alright thanks Dec 17 18:53:26 away* Dec 17 18:54:00 Hastouki haven't use listview in a while, but i think you need it after setting the adapter or when data changes Dec 17 18:54:11 so Dec 17 18:54:17 I had made a stupid mistake :) Dec 17 18:54:32 my custom adapter has a constructor param that takes a list of data items Dec 17 18:54:56 I had originally set it to null until I finished creating my classes, and forgot to actually change that Dec 17 18:54:58 oops Dec 17 19:05:41 maybe i just suck, but one thing i keep bumping up against doing master / detail are all these edge cases like master having one style actionbar, detail having another (collapsable with tabs). i wonder if this is why i'm seeing much less master/detail in gapps (except for gmail, etc) Dec 17 19:08:31 hello,I'm stucked trying to make work a json app and I wonder if someone could help me. Dec 17 19:08:43 This is the Json request that I'm trying to make work Dec 17 19:08:45 https://github.com/xpheres/AndroidAnalyticalTranslator/blob/master/app/src/main/java/com/example/root/analyticaltranslator/MainActivity.java Dec 17 19:09:36 and here you can find what I try to achieve with java in a javascript app: https://github.com/xpheres/analyticaltranslator/blob/master/assets/javascript/atranslator.js Dec 17 19:11:36 Guys, onBindViewHolder in RecyclerView.Adapter doesn't have parent parameter so I can pass it to LayoutInflater#inflate Dec 17 19:11:54 you were never supposed to do that anyawy Dec 17 19:12:13 Then how am I supposed to do it Dec 17 19:12:26 I want the position as well as parent parameters at once Dec 17 19:12:37 I want to create the card depending on the position Dec 17 19:12:43 parent isn't a mandatory parameter. Dec 17 19:12:55 Ooh, and it will work right? Dec 17 19:13:08 I just saw that from an example by Google Dec 17 19:13:48 Mavrik, oh wait parent is mandatory Dec 17 19:14:44 I can just set a global variable onCreateViewHolder and use it in onBindViewHolder, but for some reason I don't think this is the correct way to do it Dec 17 19:15:13 OverCoder: Read up on how to do RecyclerView Dec 17 19:15:24 You have different view types for different layouts.. You don't need position to inflate a layout for a specific type Dec 17 19:15:36 s73v3r, I did Dec 17 19:15:38 you instantiate the viewholder in onCreateViewHolder, and you bind it with data in onBindViewHolder Dec 17 19:15:56 SimonVT, I don't understand Dec 17 19:16:15 s73v3r, I know but I want to inflate different cards for different types of data, depending on the position Dec 17 19:17:06 so you override getItemViewType, where you can tell it the viewtype for the position Dec 17 19:17:31 Ah! that's what I want, huge thanks, s73v3r Dec 17 19:22:47 g00s, why is the different action bar a problem? Dec 17 19:23:41 Is there a way to suppress a lint warning for a single method, other than using code annotations? Dec 17 19:24:06 hello Dec 17 19:24:20 I see I can have a lint.xml at the project root, or put things in my build.gradle, but I don’t see any way there to excersise fine-grained control. Dec 17 19:25:15 what’s wrong with the code annotation? Dec 17 19:26:15 Well, I used to build differently and didn’t need it. I’d prefer to keep the configuration of the lint utility separate from my code. Dec 17 19:26:42 I may end up annotating anyway, but I’d prefer not to clutter my code as tools change. Dec 17 19:28:40 duboisj: Which lint warning is it? Dec 17 19:29:16 WrongCall Dec 17 19:29:27 lint.xml can be very specific Dec 17 19:32:09 pfn: Is the format documented somewhere, or do I need to guess or try and find the lint source for hints? Dec 17 19:32:45 should be documented, google for it Dec 17 19:34:08 all I’ve seen are a few sample files with comments. Maybe I’ll see whether I can find source, I guess Dec 17 19:35:38 issue id="... " and ignore path= Dec 17 19:35:52 can't do specific method in file Dec 17 19:37:00 Ok, maybe I have to annotate then. Dec 17 19:37:05 tx Dec 17 19:47:55 duboisj, Why your apostrophe is ’ while mine is ' ? Dec 17 19:48:01 What kind of a keyboard are you using? Dec 17 19:48:28 OverCoder: ? Dec 17 19:48:33 OverCoder, UK international maybe Dec 17 19:48:46 danijoo, ah, mine is en_US Dec 17 19:48:48 I’m running a client on a mac, maybe it’s more prone to give smartquotes. No idea. Dec 17 19:48:58 Also maybe that Dec 17 19:53:01 Am I just doing something wrong? Or does the YouTube player just refuse to work in a collapsing toolbar layout? Dec 17 19:58:01 ah, found it Dec 17 19:58:03 "YouTube video playback stopped due to unauthorized overlay on top of player" Dec 17 19:58:08 time to throw reflection at it Dec 17 19:58:48 justJanne, yeah the player does not allow anything overlaying it but ActionBar Dec 17 19:58:59 well, it doesn’t allow Toolbar either Dec 17 19:59:03 that makes it kinda useless Dec 17 19:59:06 yup Dec 17 19:59:29 I’m gonna try if I can use reflection to modify some fields at runtime to allow it Dec 17 19:59:52 gl Dec 17 20:02:02 i'm guessing collapsable toolbars will go the way of the FAB eventually. bling but little substance Dec 17 20:03:05 unless you have row 1 = toolbar , row 2 = tabs, and you want to collapse row 1 for space Dec 17 20:03:10 Marshmallow is all about ¨bling bling¨ :p Dec 17 20:03:29 bling is fashion, not timeless ;) Dec 17 20:03:53 g00s, Another good usecase is stuff like contacts app Dec 17 20:04:02 where you have a photo morphing into the toolbar on scroll Dec 17 20:04:14 collapsing toolbar is very nice for profile data Dec 17 20:10:36 danijoo: turns out, no, there’s no way to do that while using the Youtube "Player" Dec 17 20:10:52 Anybody in here familiar with LocalDateTime class? Dec 17 20:10:59 as the official "Player" just throws an intent, which then leads to GMS starting with root permissions a YouTube Player Overlay Dec 17 20:11:05 holy shit is that evil Dec 17 20:11:36 hi again Dec 17 20:12:00 I want to change a Date to Epoch but the function needs ZoneOffset ...Why and what is it and can I use a generic value for this class? Dec 17 20:12:37 cart_man, date.toTime() give you epoch Dec 17 20:14:17 justJanne, http://goo.gl/jy6z32 Dec 17 20:14:49 danijoo: That did not work out to well :( .. I tried setting all the values but it messes up somewhere especially if one says compare() ... So now I am trying to use LocalDateTime Dec 17 20:14:50 danijoo: you should look into GmsCore more frequently, most of the stuff it does is WAT-worthy Dec 17 20:15:12 justJanne, thats why i dont :p Dec 17 20:15:41 > The YouTubePlayerView is obscured by android.support.design.widget.FloatingActionButton Dec 17 20:15:44 >_> Dec 17 20:15:56 kay, then I’ll use an alternative Dec 17 20:18:09 (aka, using dentex’ lib for finding and authing a native html5 video stream, and throwing exoplayer at it) Dec 17 20:21:29 After resolving a bunch of lint errors, now I’m getting a PermGen space error during my build. My project isn’t that big. Dec 17 20:21:47 I see a lot of answers on SO etc. about increasing the max permgen size. Dec 17 20:22:03 Should I suspect a further problem to look into, or is that commonly necessary? Dec 17 20:25:57 if setNestedScrollingEnabled() is only available on v21+, does that mean nested scrolling is only available on v21+, or that disabling it is? Dec 17 20:26:03 or will the app just crash? Dec 17 20:27:16 drinfernoo, that means it will not scroll nested before that Dec 17 20:27:45 as in: collpasingToolbar wont collapse pre 21 unless you use NestedScrollLayout or RecyclerView Dec 17 20:28:18 i am using recyclerview, so it will work? Dec 17 20:28:21 yes Dec 17 20:29:00 but if i use that to disable it, it wont disable? Dec 17 20:29:31 it does disable Dec 17 20:29:52 its fully working on support library views Dec 17 20:29:59 ok cool Dec 17 20:30:04 so how do i get it to work? lol Dec 17 20:30:36 ill send a little video in a bit i guess. my problem is that it still scrolls and collapses the toolbar even if i only have one row Dec 17 20:32:08 Are you using the latest version of the design library? Dec 17 20:32:46 That was an issue when it was initially released, but was fixed shortly after Dec 17 20:34:33 does anyone know if android treats letsencrypt certificates as trusted? Dec 17 20:34:50 especially is this dependent on the device or not? Dec 17 20:39:50 looks like GMS 8.4 is out Dec 17 20:40:10 :O Dec 17 20:40:23 just randomly someone mentioned GMS in other channel ~ Dec 17 20:40:26 conspiracy Dec 17 20:40:49 Guys, is there anything wrong with attaching an adapter to a RecyclerView in an AsyncTask? Dec 17 20:40:59 I'm saying this because of: 12-17 22:36:33.045 5574-5574/tk.microdroid.amarket E/RecyclerView﹕ No adapter attached; skipping layout Dec 17 20:41:02 can't wait to test it on my kitkat emu Dec 17 20:41:08 Omg sorry I pasted it wrongly, so sorry Dec 17 20:59:42 Guys, when I do new AsyncTask().doInBackground(), an error is raised: Method doInBackground must be called from a worker thread, currently inferred thread is main, note that I am calling it from onCreate() of my activity Dec 17 21:00:11 I couldn't find some workaround for that in Google, however, doing .execute() works, but I am not sure if this have any side effects Dec 17 21:00:22 SimonVT, so its fixed in 23.1.1? Dec 17 21:00:45 OverCoder, read the docs of AsyncTask Dec 17 21:00:52 you are not supposed to call doInBackground Dec 17 21:01:25 Ow, I am not supposed to? /me goes to read Dec 17 21:08:35 does Picasso basically always work as a singleton? if i call it as Picasso.with(context)? Dec 17 21:08:55 drinfernoo, What do you mean? Dec 17 21:09:33 OverCoder, like if i setIndicatorsEnabled() in my main activity, will it be that way everywhere, for instance? Dec 17 21:10:46 Yes, Picasso#with(Context) returns a singleton Dec 17 21:19:48 so what if i call it from a different activity than my main activity? Dec 17 21:20:48 It's a singleton.. Only one instance Dec 17 21:28:10 hmm, I wonder how well a listview would work if I had it backed by sqlite with 1million rows, but only fetch a cursor with several hundred rows at a time Dec 17 21:28:22 particularly if I have fast scrolling on Dec 17 21:28:41 I don't think it'd be fine Dec 17 21:29:10 I think you'd have to combine each bunch of rows into one by some way, probably it's performance consuming operation Dec 17 21:29:11 pfn, Dec 17 21:29:29 it would probably work fine, but I'd preload the several 100 lines with a throbber on the bottom Dec 17 21:29:33 same as if you do network requests Dec 17 21:29:34 because fetching a cursor with all 1million rows up front sucks Dec 17 21:30:07 it takes several seconds Dec 17 21:30:26 The question is then more of the UX - does it make sense to have a list view with so many records at all. Dec 17 21:30:29 Maybe you should do that in an AsyncTask Dec 17 21:31:09 trying to get a url scheme working, in my app I have https://gist.github.com/anonymous/01a0046df31f56ab812f does this look correct? Dec 17 21:31:43 pfn, I don't really know what is the purpose of the list you're trying to make, but maybe implement some cool way to display the list, maybe make a button or something so the user loads pages, each containing 100 results from that database, for example Dec 17 21:32:07 it's a message log, the primary use case is to view the last several hundred or thousand messages Dec 17 21:32:21 at the same time, I want to allow random access via fast scroller Dec 17 21:32:36 buttons etc make for bad ux Dec 17 21:33:24 OverCoder, as for an async task the problem remains, the user must wait several seconds for the data to become ready before being able to view Dec 17 21:33:26 pfn, can you fake it in a way that all items will have the same height? Dec 17 21:33:28 I don't think thousands of rows at once work great, especially with lower-end devices Dec 17 21:33:42 Mavrik, items have variable height Dec 17 21:34:00 Hrmf, otherwise you could just do empty placeholders and populate when scrolling stops. Dec 17 21:34:38 I honestly think you should use some other way to display them, not a list, unless the user must be able to interact with it Dec 17 21:35:01 OverCoder, it's a log :) Dec 17 21:35:04 Not many ways of displaying that. Dec 17 21:35:17 Mavrik, true, but there must be a solution Dec 17 21:37:25 pfn, If your log isn't rich (i.e. not with colors, tiny images, and stuff), maybe you could put them in bunches, each 10 logs in one row Dec 17 21:40:56 I'll probably try what I said earlier, just use a cursor of several hundred rows each and requery at boundaries with placeholder shims Dec 17 21:41:19 just requires that I add row id's to my schema and an index on it Dec 17 21:41:29 meh, have to seal with upgrading users Dec 17 21:41:31 deal Dec 17 21:42:54 that's massively going to suck Dec 17 21:52:20 which is the more better? getContext(), getActivity(), or getApplicationContext()? Dec 17 21:55:06 depends on what you need Dec 17 21:59:04 pfn: Do you know LocalDateTime well amybe? Dec 17 21:59:06 maybe` Dec 17 21:59:14 no Dec 17 21:59:51 what does "a reference to an enclosing class is required" mean? Dec 17 22:00:21 probaly need an instance of that class to call the method you are calling if it isn't static Dec 17 22:00:35 im trying to construct an inner class, but all the other references work fine, except the cinstructor Dec 17 22:00:39 constructor* Dec 17 22:01:46 hey Dec 17 22:02:12 yo Dec 17 22:02:54 and even if i use outer.inner() it gives me the same error Dec 17 22:03:47 goes back to instance/static most likely Dec 17 22:03:54 outer.new inner() Dec 17 22:08:10 pfn, thats what i thought might work, but no :/ Dec 17 22:08:27 it does work Dec 17 22:08:53 i actually wanted the inner class separate, but i would have to pass it a context, and it ends up crashing when i exit the app, because it doesnt have context anymore Dec 17 22:08:56 https://github.com/akexorcist/Android-BluetoothSPPLibrary Trying to use this to open a bluetooth serial port profile from an Samsung android tablet and pair with a creditCard swiper device which will be controlled through payment software on the tablet. i have already gotten apk on the tablet installed successfully. It shows the device I want to pair with on the list but It will not let me pair and functionality seems very poor. Dec 17 22:08:57 if it's a non static class, it's outerInstance.new Dec 17 22:09:15 pfn, ah its because i dont have an instance of the class Dec 17 22:09:29 I haven't really done any of this kind of development yet so I feel I might be missing something obvious Dec 17 22:09:42 If anyone can point me in the right direction that would be cool Dec 17 22:12:48 pfn you can also check out AsyncListUtil Dec 17 22:24:52 Um, Picasso.with(Context).load("someurl").into(MyImageView) doesn't load my image, with no thrown exception, and with INTERNET permission added, what could the cause be? Dec 17 22:28:10 set logging on Picasso, and see if that leads you to answers ;) Dec 17 22:29:08 https://github.com/akexorcist/Android-BluetoothSPPLibrary/blob/master/README.md Dec 17 22:29:13 hey guys, is there a way to expose control parameters to the layout xml ? Dec 17 22:29:14 anyone care to help me out for a sec? Dec 17 22:29:19 so that I can pass in strings or whatever Dec 17 22:29:56 Going on the readme from the library it says import library and include in your project for android Studio Dec 17 22:29:57 Hastouki: what do you mean? Dec 17 22:30:23 But I just used the library the whole project and made apk and it installs Dec 17 22:30:27 but it doesnt pair Dec 17 22:30:34 I'm adding reusable controls into my layout, and I'd like to pass in a string or something to the control and retrieve it in its backing class Dec 17 22:30:51 but it works mostly and detects the device Im trying to connect too Dec 17 22:34:45 drinfernoo, I couldn't find any way to setup logging in Picasso, their website is only a single page, how do you turn logging on? Dec 17 22:35:07 Ah wait, got it in SO, thanks anyways Dec 17 22:48:26 There's also Javadoc Dec 17 22:49:57 So, my own YouTube player Fragment now works, and without these horrible "something's in the foreground" shit things Dec 17 22:50:22 See, this is what I hate about Google's SDK. Half of the time you need to rewrite everything anyway Dec 17 22:50:48 how can i override the edge overscroll glow on a recyclerview? Dec 17 22:50:59 not by setting the theme? Dec 17 22:56:07 Are EXIF headers supposed to be describing the actual image... or describing how to display the image? Dec 17 23:08:35 exif is just image metadata Dec 17 23:13:53 but it can contain nice stuff, like orientation Dec 17 23:14:02 pretty handy if displaying images Dec 17 23:17:08 sure, that's about the only display related attribute on exif Dec 17 23:23:14 hello Dec 17 23:23:20 could be. only one I've used :) Dec 17 23:23:41 anyone willing to chat with me privately to do some java? Dec 17 23:24:00 just send me a pm Dec 17 23:24:18 wow, that's a pickup-line I haven't heard before Dec 17 23:26:23 OMG IT WORKS Dec 17 23:26:28 ok, so how do i deal with this? if i want to use a CollapsingToolbarLayout in portrait, but not in landscape, how do i do that? id have to run different code in landscape, right? Dec 17 23:27:38 <3 http://i.imgur.com/hpw88gB.png Dec 17 23:27:53 drinfernoo: only way I've found is to inflate another layout Dec 17 23:27:57 (In case you wonder what you see: A YouTube video running in a collapsing toolbar layout with elements in front of it) Dec 17 23:28:11 justJanne: nice Dec 17 23:28:34 rendering is a bit buggy still, but that was expected Dec 17 23:28:56 Eplebit, but if i inflate a layout that has different views, then the ones i need i use in portrait wont be able to resolve in landscape Dec 17 23:28:56 hack up the player to allow your view on top? Dec 17 23:29:21 pfn: Nope, just simpler solution: Parse the youtube webpage myself, extract the DASH URL, throw it into ExoPlayer Dec 17 23:29:44 interesting solution Dec 17 23:30:01 thanks for sharing Dec 17 23:30:03 drinfernoo: if you use a fragment for the content you can just inflate another activity layout? Dec 17 23:30:28 pfn: I use the same concept that youtube-dl uses to extract the URLs Dec 17 23:30:43 I was sturgling a bit with the same thing the other day, so if you have a better solution that would be great. didn't feel optimal Dec 17 23:31:08 its an activity, so i have my portrait layout in "layout", and my landscape layout in "layout-land", but things like findViewById() in my code wont work the same Dec 17 23:31:20 or am i wrong somehow? Dec 17 23:32:22 you want different stuff in the toolbar as well? Dec 17 23:32:50 maybe this was just a hack, but I just used the same ids in the different layouts... Dec 17 23:35:17 yes but were all the views the same? Dec 17 23:35:58 like if you wanted a button in portrait, and a checkbox in landscape (hypothetically), the references wouldnt work both ways Dec 17 23:36:08 very true indeed Dec 17 23:36:27 so how do i deal with that? lol Dec 17 23:36:57 I subclassed the activity Dec 17 23:37:06 probably a crap solution :/ Dec 17 23:37:35 how did you do the other activity if youre in landscape? Dec 17 23:39:43 well, in this case the content of the toolbar was the same, just different layout Dec 17 23:39:49 so I just used the same ids Dec 17 23:40:09 I think I actually had an if inside the activity if it was landscape or not Dec 17 23:40:16 inflated different layouts Dec 17 23:40:20 and just put in the fragment Dec 17 23:40:28 that was the content below the toolbar Dec 17 23:40:49 probably a nasty solution, but the if I actually got from an example in android studio Dec 17 23:41:58 i figured it out myself lol Dec 17 23:42:03 how did you do it? Dec 17 23:42:13 getResources().getConfiguration().orientation Dec 17 23:42:24 i couldnt figure out how to get the orientation lol Dec 17 23:42:33 oh, was that the question? Dec 17 23:42:36 sorry Dec 17 23:42:41 but yeah, that was what I used in my if Dec 17 23:42:52 I think I misunderstood. storry Dec 17 23:42:53 sorry Dec 17 23:42:53 i think ive got it anyway lol Dec 17 23:42:56 no biggie Dec 17 23:43:24 im just only using the CTL in portrait, and regular toolbar in landscape Dec 17 23:44:32 so you just check orientation and inflate different layouts? or is there a more dynamic way to do it? Dec 17 23:47:42 using layout and layout-land, it happens automatically, so i just find different views based on the orientation Dec 17 23:47:59 idk if thats the right way but i think its working Dec 17 23:50:37 hmm, ok. sounds better than what I do, I guess Dec 17 23:51:10 I'll try that instead. should be a minor change Dec 17 23:53:33 I had some other changes as well because I used some master detail stuff as well Dec 17 23:55:06 pfn: sorry for delay. I am using glide and Android images are displaying great but images taken from an iPhone are displaying squished. The height and width are reversed. It has to do with EXIF headers because the iOS image specifies orientation. Dec 17 23:55:47 can a single cursor return all the contacts on a phone? Dec 17 23:55:55 I am trying to figure out if the transformation of the image in glide is wrong or if iOS app is setting incorrect exif headers. Dec 17 23:57:01 Are exif headers supposed to describe the actual image or are exif headers used to describe what to do to the image to display it correctly? Dec 17 23:57:40 http://regex.info/exif.cgi?dummy=on&imgurl=https%3A%2F%2Fs3.amazonaws.com%2Ftimeset-photos%2FRackMultipart20151217-4907-vnn7er.jpeg Dec 17 23:58:19 I use the one on ios and it works Dec 17 23:58:43 hmm, but we had some problems, so now I actually rotate the image manually before I upload it Dec 17 23:58:58 here is the image in question. it is rotated but the exif header says rotate 90 CW which describes what I would need to do to display the image correctly the way it was taken Dec 18 00:00:04 ah, yeah Dec 18 00:00:17 just follow that Dec 18 00:01:02 I'm having trouble building an app via command line on linux mint 17.2 Dec 18 00:01:12 afaik iphone always store them in landscape Dec 18 00:01:15 I follow the instructions at http://developer.android.com/tools/building/building-cmdline.html but when I run ./gradlew assembleDebug it says permission denied Dec 18 00:01:27 when I do it with sudo it says command not found Dec 18 00:01:32 with an orientation property like that Dec 18 00:01:51 I think the transformation matrix in glide is wrong. Is is rotating the image around 0,0 Cartesian coordinate plane Dec 18 00:02:11 after getting the rotated width and height. Dec 18 00:02:24 I'm trying create a file not to be saved in a directory but to be sent over a network. However when I call File and FileWriter, no file is actually created. I have write_external_storage in my manifest Dec 18 00:02:35 Can anyone tell me what I'm doing wrong? Dec 18 00:02:58 the rotation causes the width and height the be reversed along with the image. Dec 18 00:03:32 shadynastys: I've never used glide, but when I rotate them on ios I use a translation before I rotate Dec 18 00:04:21 eh. transform Dec 18 00:04:40 shadynastys: do avoid the problem you describe, if I understand it correctly Dec 18 00:05:38 had some problems with different browsers reading the exif differently, so I just fix it before I upload it... Dec 18 00:05:52 on iOS end? Dec 18 00:05:57 yeah Dec 18 00:06:36 Ya i think that is going to be our solution but I still think glide is rotating images wrong. Dec 18 00:07:13 ill try to open an issue and see if someone more familiar with the project can help me resolve on that end. Dec 18 00:07:48 meanwhile i am going to rotate the image manually and madify the exif headers to not include an orientation Dec 18 00:08:26 heh madify... ill make those EXIF headers so Mad!! Dec 18 00:08:59 Ty Eplebit Dec 18 00:09:50 shadynastys: it's been a while, but as far as I know that rotation tag is not part of any standard Dec 18 00:10:11 probably why it worked in some browsers and not in others Dec 18 00:10:57 maybe same with glide Dec 18 00:12:26 or I just be tired and raving :) Dec 18 00:13:10 I am not sure what android does when it decodes a bitmap but it was returning the correct width and height of the rotated image before glide actually does its transformation. Dec 18 00:13:49 aha Dec 18 00:15:36 I did the math. the transform is rotating as if the image was displayed on a normal coordinate system. Dec 18 00:16:06 java graphics have the negative height that they are not accounting for Dec 18 00:16:11 so can no one help me? Dec 18 00:17:21 BottomNotch from what i have read of your issue it seems like you do not have permissions to run that command or permission to access that file. Not sure which Dec 18 00:17:35 try running the command with sudo privileges Dec 18 00:17:55 when I do it with sudo it says command not found Dec 18 00:19:00 try changing the file permissions you probably installed gradle under a normal user but the file you are accessing was created by your sudo user Dec 18 00:20:09 ok, let me google how to do that Dec 18 00:22:36 ok, still not working Dec 18 00:25:39 oh, I forgot to mention, I asked for help on #linuxmint, they said to run sh ./gradlew Dec 18 00:25:52 pfn: I’ll make a small library for that probably. Dec 18 00:25:54 and the output was: ./gradlew: 158: ./gradlew: Syntax error: "(" unexpected Dec 18 00:25:57 I have to support Vimeo, too Dec 18 00:26:04 probably Dailymotion, Twitch, UStream. Dec 18 00:26:37 so a library handling all these video services at once, plus displaying them in a unified, simple player type, without the issues that the youtube view has, should be useful Dec 18 00:29:56 I just installed an update to Android Studio (and build tools) and I noticed it bumped up my language level to JDK1_8 (in IntelliJ's misc.xml). Is this supposed to happen? Dec 18 00:31:21 what I don't understand is why I can build fine in android studio but not from command line Dec 18 00:35:13 BottomNotch: which shell are you using? Dec 18 00:35:29 the one built into linux mint 17.2 Dec 18 00:35:48 can you do "ls -l /usr/bin/sh" ? Dec 18 00:35:58 that tells you which shell "sh" actually links to Dec 18 00:37:52 looks like someone messed up their shell syntax, a function wasn't declared properly, I fixed it which lead to different errors, but I don't have enough knowledge of shell scripting to fix them Dec 18 00:38:08 I ran that command and got: ls: cannot access /usr/bin/sh: No such file or directory Dec 18 00:45:19 Hm, okay, ignore the advice. Dec 18 00:47:05 justJanne: I found this: http://ask.xmodulo.com/which-shell-am-i-using.html and found that I'm using bash Dec 18 00:47:58 Hm, and ./gradlew doesn't work? Dec 18 00:48:07 nope Dec 18 00:51:13 let me show you gradlew http://pastebin.com/kZm29qkw Dec 18 00:51:59 on line 158 the issue seems to be that the keyword function shouldn't be there Dec 18 00:53:17 when I remove that keyword I get: gradlew: 159: gradlew: Syntax error: "(" unexpected (expecting "}") Dec 18 00:53:48 I fix that and I get gradlew: 162: gradlew: JVM_OPTS[0]=-Dorg.gradle.appname=gradlew: not found Dec 18 00:53:48 gradlew: 164: gradlew: Bad substitution Dec 18 00:54:25 at this point I have no idea what to do, I know next to nothing about bash scripts Dec 18 00:55:40 I gtg soon, I might have to get back to this tomorrow Dec 18 01:02:48 just download a new. gradlew Dec 18 01:03:08 they're all the same Dec 18 01:03:20 create a new project and copy the gradlew file Dec 18 01:21:14 pfn what did you decide in the huge log query dilemma Dec 18 01:21:58 I'll try the windowed approach if upgrading the database isn't heinous Dec 18 01:25:53 I dynamically created a subtype of ListFragment, ConditionItemListFragment cfrag, but I'm getting a compile error when I try to add it to the activity Dec 18 01:25:57 ie: getSupportFragmentManager().beginTransaction().add(R.id.conditions_fragment, cfrag).commit(); Dec 18 01:26:08 what stupid thing am I doing wrong? :/ Dec 18 01:29:35 kommunicate perhaps using setSupportXXX with a fragment that is not from support package ? Dec 18 01:29:48 *getSupportFragmentManager Dec 18 01:32:02 hmm.. is the fragment container a separately identified object to the fragment itself? Dec 18 01:32:07 i guess it must be, right? Dec 18 01:33:35 i think i'm gonna take a break, have a beer and come back to this, thanks g00s Dec 18 01:33:56 kommunicate its easy to mix by mistake native and support fragment stuff Dec 18 01:48:01 is sonatype down for anyone else? Dec 18 01:48:07 I keep getting 504s back Dec 18 01:48:08 :| Dec 18 01:50:13 yep https://twitter.com/sonatype_ops/status/677666910675337216 Dec 18 01:50:39 side note, has anyone here successfully used the gradle spoon plugin with gradle 1.5 and the latest version of spoon? Dec 18 02:01:21 hi all. what's the best apge to learn android programming if i already had 2 year C/C++ at school and learned some Java from books? Dec 18 02:01:28 *page Dec 18 02:01:32 tutorial or whatever Dec 18 02:02:46 hmm Dec 18 02:02:56 find some funny project todo Dec 18 02:04:29 I liked the Big Nerd Ranch book Dec 18 02:04:59 no book i mean online tutorial Dec 18 02:05:38 tutorials are. bad Dec 18 02:05:48 it's best to learn from d.android.com Dec 18 02:06:04 tutorials only teach cargo culting Dec 18 02:13:47 Can someone PLEASE tell me why I am not getting any connection? http://pastebin.com/qZfmX8s3 Dec 18 02:14:19 ok thanks Dec 18 02:14:22 It's driving my crazy Dec 18 02:15:12 is anyone here successful in invoking spoon from gradle with gradle 1.5 ? Dec 18 02:27:35 how can i have a shared element transition between a fragment and a new activity? Dec 18 02:30:14 amazoniantoad, do you have network permissions in your Manifest? Dec 18 02:30:24 amazoniantoad, what are the adb error messages when it fails? Dec 18 02:32:26 freakyy, the standard training page for one http://developer.android.com/training/ Dec 18 02:33:13 freakyy, the Android API changes so often, even Android's own docs are often outdated Dec 18 02:35:46 Ologn: thanks :) Dec 18 02:36:34 freakyy, also, when you get the SDK and SDK manager, download the sample code from the latest API Dec 18 02:37:31 freakyy, I just used the SlidingTabsBasic code to help me write my own sliding tabs Dec 18 02:37:50 ok :) Dec 18 02:37:54 thanks Dec 18 02:41:07 <_genuser_> hey freaks. Dec 18 02:50:24 hi **** ENDING LOGGING AT Fri Dec 18 02:59:59 2015