**** BEGIN LOGGING AT Sun Mar 05 03:00:01 2017 Mar 05 04:16:02 hey guys, I'm having trouble animating a button to slide up from off-screen to on screen at the bottom of the screen Mar 05 04:16:30 I've got the sliding part working, but the view starts off at its on screen position; how do I get it to start off screen and then slide to its normal position (w/o the animation)? Mar 05 04:22:52 vector asset studio recognizes my svg, but image asset studio does not. it shows up as blank.. anyone have experience with these tools? Mar 05 04:54:00 CedricBeust might like this https://www.reddit.com/r/programming/comments/5xi628/tdd_harms_architecture_uncle_bob/ Mar 05 04:56:44 Uncle Bob? Yeah no thanks Mar 05 04:57:54 i like the discussion Mar 05 05:46:11 is this strategy correct for modifying edittext while user is still typing - http://stackoverflow.com/questions/10862657/edittext-change-text-while-typing? Mar 05 05:46:35 please remove ? before entering url in browser Mar 05 06:06:39 anyone using vector asset studio or image asset studio? Mar 05 06:07:11 I would like to be able to use my svg file the way that clipart is used in image asset studio Mar 05 06:07:38 I can't seem to figure it out though.. my svg preview is blank in image asset studio Mar 05 06:07:50 (but it works in vector asset studio) Mar 05 06:08:21 however, vector asset studio doesn't allow for changing the "foreground color" Mar 05 06:08:48 I'm googleing and googleing, and going in circles.. and not getting any answers.. and wondering, am I the only one using these tools? Mar 05 06:09:20 or are other people using them in some super cool secret way? Mar 05 06:19:30 snapfractalpop: yes but it's a secret Mar 05 06:19:49 snapfractalpop: that's why results don't show up in google Mar 05 06:20:01 Melatonina: I KNEW it! Mar 05 06:21:04 Melatonina: can you reveal it? Mar 05 06:31:08 * raoul11 thepooshes thepoosh Mar 05 06:34:05 hey raoul11 thepoosh Mar 05 06:34:14 morning g00s Mar 05 06:52:16 raoul11: !! Mar 05 06:52:20 g00s: hya Mar 05 06:52:43 hey thepoosh play around with AS 2.3 yet ? you are allowed now, not beta any more ! Mar 05 06:52:45 raoul11: here is a japanese drummer playing metal for you Mar 05 06:52:46 https://twitter.com/ak1225_062708/status/837911468142030848 Mar 05 06:52:49 sup thepoosh Mar 05 06:52:52 g00s: yes yes Mar 05 06:53:04 I was planning on updating over the weekend but didn't make it Mar 05 06:53:19 * thepoosh updating now Mar 05 06:54:30 pretty good link thepoosh Mar 05 06:54:49 g00s AS is always beta Mar 05 06:55:00 its like the fedora of ide's Mar 05 06:55:56 hehehe Mar 05 06:57:48 i love it when they say , oh yeah , we know about that bug, its already fixed in 2.4 ! Mar 05 06:57:49 lol Mar 05 07:21:56 Hello channel! Mar 05 07:22:07 I'm having trouble with a multithreaded approach, where UI rendering is a different thread from another running frame extraction from Camera2 API using an ImageReader. Mar 05 07:22:37 you can not render UI off the UI thread Mar 05 07:23:01 The UI is a kivy app (all its rendering is done via OpenGL ES), it is running on the main UI thread Mar 05 07:23:46 what's the issue? Mar 05 07:24:05 i haven't used kivy yet Mar 05 07:24:12 issue: new images=textures that kivy loads end up being black Mar 05 07:24:23 or drawn black, at least Mar 05 07:24:31 g00s: it's sucks Mar 05 07:24:41 I tried starting a project once Mar 05 07:24:52 took me 3 hours to hate it and go back to AS Mar 05 07:24:59 I suspect there is some interaction with OpenGL context Mar 05 07:25:06 also 0 support Mar 05 07:25:20 dunno, I never actually wrote in kivy Mar 05 07:25:24 thepoosh: AS == ? Mar 05 07:25:32 AndroidStudio Mar 05 07:25:35 oh. Mar 05 07:25:53 well, rewrite in native is actually an option I'm considering more and more :) Mar 05 07:26:08 (Cordova, OSx) I've noticed that /Android/sdk/tools/gradle is missing but everything abover that is there. I can build and run an example android project, so was it depracted at some point? Kinda need it for Cordova Mar 05 07:26:27 you should since kivy support is shit Mar 05 07:26:32 the only gory UI bit will be the chart control. Mar 05 07:27:11 and I answered my own question, thats fun it is depracted Mar 05 07:27:12 I just need something plain and basic, essentially just a line chart without any grid/axes Mar 05 07:28:33 ah those bastards, the budget pixel is not for the US (emerging markets only) Mar 05 07:29:24 g00s: oh, you didn't hear about the fiasco with blocked Google IDs because people were importing them to the US anyway? Mar 05 07:31:11 cidermole lol no i didn't Mar 05 07:32:00 i just read last week, was it VZ was going to do android phones w/o Play Services Mar 05 07:33:11 if i have to pay 600 to get a phone with updates, i better start learning swift Mar 05 07:36:42 wow, I was using cyanogenmod for like 2 years without gapps/Play Services, before business required I be able to install apps that just wouldn't work without Mar 05 07:37:46 unfortunately there's more and more of them, Google is conveniently offering the closed APIs and devs are eager to feed them even more data. Mar 05 07:39:28 selling to end users without Play Services these days is like selling a phone that's only half Android Mar 05 07:42:20 indeed Mar 05 07:45:41 https://www.reddit.com/r/Android/comments/5xbmkx/rumor_david_ruddock_carriers_like_vzw_are_gearing/ Mar 05 07:51:42 so, no Android graphics pipeline / OpenGL wizards around? Mar 05 07:52:39 is there a possible interaction between an ImageReader on one thread and OpenGL binding to a texture / glBindTexture(), glPixelStorei(), ... Mar 05 07:52:54 on another? Mar 05 08:36:29 hello Mar 05 08:52:01 srir4m: hi Mar 05 08:58:14 thepoosh: hey man Mar 05 08:58:28 DON'T ASSUME MY GENDER!!!! Mar 05 08:58:28 are u using linux? Mar 05 08:58:33 am i right raoul11? Mar 05 08:58:36 lol sorry Mar 05 08:58:38 srir4m: nah, oSX Mar 05 08:58:44 OSx Mar 05 08:58:52 what's happening? Mar 05 08:58:56 im having trouble launching avd with api 25 Mar 05 08:59:27 i had android studio be4,and it was fine....but now...the virtual device aint lauching Mar 05 08:59:46 have you tried creating a new one? Mar 05 08:59:54 yes.... Mar 05 08:59:56 and? Mar 05 09:00:00 nothing Mar 05 09:00:17 whenever i run a project,it just says...waiting for target device to come online Mar 05 09:00:25 and after some time......it just stops Mar 05 09:00:48 try opening the AVD without building Mar 05 09:00:52 what happens? Mar 05 09:01:23 it says starting avd...at the bottom...and once the bar completes....it just stays silent Mar 05 09:02:19 is there an AVD window poping up? Mar 05 09:02:24 can you adb to it? Mar 05 09:05:54 you're always right thepoosh Mar 05 09:06:40 srir4m did you just update to AS 2.3 ? i thought there was some bug there Mar 05 09:07:01 raoul11: http://i.imgur.com/XaUmq2e.gif?noredirect Mar 05 09:07:52 (: Mar 05 09:08:11 g00s: ummm what? Mar 05 10:34:55 Hi! How can I install the Android emulator? Android Studio keeps stating "Waiting for device to come online". I'm using Debian Stretch. Is there a tutorial explaining that? Mar 05 10:35:45 I have installed qemu/kvm but I guess they are not configured correctly Mar 05 11:13:44 When I want to run my code in the emulator I get Mar 05 11:13:45 ccessing invalid virtual file: file:///home/robert/Android/Sdk/sources/android-25; original:98; found:- Mar 05 11:13:47 com.intellij.openapi.vfs.InvalidVirtualFileAccessException: Accessing invalid virtual file: file:///home/robert/Android/Sdk/sources/android-25; original:98; found:- Mar 05 11:14:16 Any idea? Mar 05 11:17:56 I read it's a bug in Android Studio but it has been fixed in 2.2 and I'm using 2.3 Mar 05 12:25:11 need help! i am always getting count as 0, what might be the problem. http://pastebin.com/07ECNtq3 Mar 05 12:26:53 what textType is the EditText Mar 05 12:27:07 does charSequence.length() work well Mar 05 12:27:31 that must work? I haven't checked it yet Mar 05 12:27:35 let me check Mar 05 12:28:50 yes it is returning correct value Mar 05 12:31:15 i just found that there could be some bugs in certain circumstances http://stackoverflow.com/questions/32093575/the-count-parameter-in-ontextchanged-method-of-textwatcher-is-not-working-proper Mar 05 12:31:26 can you use the length instead Mar 05 12:33:37 but charsequence returns length of string, whereas count is for number of character changed Mar 05 12:33:59 does it mean i have to store previous length? or is there some alternative Mar 05 12:34:21 dunno. maybe there is some bug or something silly missed Mar 05 12:36:34 ok. i am trying with storing length. Mar 05 12:37:31 thanks. it's working somehow. Mar 05 13:09:22 is it possible to have multiple activities declared in the manifest xml file? Mar 05 13:11:21 anyone Mar 05 13:13:37 Yes, you can. Mar 05 13:14:00 ok kool then I need to refactor out some code then in the case of my app :) Mar 05 13:14:16 but then how will android studio once you place it in the manifest.xml will it know to run that activity Mar 05 13:14:24 im guessing you would need to still put something in the main activity no? Mar 05 13:15:01 erm... you need to declare *all* your activities in the manifest, but that doesn't make them all launchable Mar 05 13:15:16 Leeds, then what would i need to do to make them launchable Mar 05 13:15:25 in the main java method i guess i would need to call them there? Mar 05 13:15:47 Are you coming from a pure java background? Mar 05 13:15:53 Roughy, yes Mar 05 13:16:04 java as my first programming language which was part of my degree Mar 05 13:16:10 then you need to read up a bit on Android application structure - it's not 'standard' Java Mar 05 13:16:47 https://developer.android.com/guide/components/activities/intro-activities.html Mar 05 13:16:54 Leeds, i will do just asking is all as im trying to debate if i should refactor out the various aspects of this code into their own classes for ease of maintenance and enhancing the app Mar 05 13:16:58 thanks for the link Roughy Mar 05 14:12:12 raoul11: sheesh, kinda got a bit of cancer here Mar 05 14:12:12 https://redd.it/5xipgp Mar 05 14:13:23 this should be interesting Mar 05 14:14:54 thepoosh dysproseum -3 points 15 hours ago Mar 05 14:15:09 Volley is a neat library that offers queue support and minimal boilerplate setup. Mar 05 14:15:47 silly guy, mentioning volley on androiddev Mar 05 14:17:05 what? Mar 05 14:17:18 last comments on that thread Mar 05 14:17:48 I kinda like Volley Mar 05 14:17:57 although in my next project I'll probably not use it Mar 05 14:18:05 but it has many advantages Mar 05 14:18:45 I think the downvoting to hell thing is stupid Mar 05 14:19:00 and generally prefer upvoting good answers Mar 05 14:19:19 and the SO method of removing your own karma when down voting Mar 05 14:22:14 yeah, but todays, there's one king Mar 05 14:22:20 and its named retrofit Mar 05 14:22:38 do u have rx integration with your volley setup thepoosh ? Mar 05 14:23:04 nope, but we don't use Rx in our project (yet) Mar 05 14:23:18 almost integrated it 2 weeks ago but it didn't go Mar 05 14:23:42 you have an integration plan? Mar 05 14:24:11 think ill use part of it as rxBus rather than greenrobots eventbus Mar 05 14:24:27 though i do kinda like eventbus Mar 05 14:35:03 i am using Helium backing up my android phone. but helium says there are some apps backup is disallowed. why? Mar 05 14:35:14 i want to back up those apps Mar 05 14:36:18 another question is Helium seems not indicate where the backup is stored in computer Mar 05 14:38:13 This really isn't the channel for those types of questions Mar 05 15:50:53 thepoosh http://i.imgur.com/6AZwlz9.png Mar 05 15:51:14 goddamnt Mar 05 16:19:26 Hi! I can run my app on my phone but not on the emulator, and I don't understand why. Any help? Mar 05 16:21:52 hey Mar 05 16:22:13 is there api to get what view/app the user is looking at? Mar 05 16:25:17 Jackneill_, how would that work? :) Mar 05 16:25:57 im trying to create a deamon/app that can show in which apps i spend my time Mar 05 16:26:08 thats how Mar 05 16:26:10 :) Mar 05 16:29:17 What do I have to do for the emulator to go past the "waiting for target device to come online" step? My code works correctly when launched on the phone Mar 05 18:22:18 regarding notifications on android OS are they controlled at the systems settings level or done individually per app, at the app level? Mar 05 18:34:29 why does android studio do something called "indexing" every time i run it? Mar 05 18:35:10 and CPU load goes to 100% Mar 05 18:35:19 and the laptop fan kicks in Mar 05 18:35:22 kinda annoying Mar 05 19:25:16 Enthralled: how much RAM do you have? Mar 05 19:25:24 8GB Melatonina Mar 05 19:25:51 every time i start it* Mar 05 19:26:12 i mean, on application startup Mar 05 19:26:23 when it opens the project Mar 05 19:26:29 it starts indexing Mar 05 19:27:19 Yeah, I'm on a desktop. It's not so annoying. But I don't even know what kind of indexing it's doing Mar 05 19:27:28 It probably checks for changes Mar 05 19:30:10 But I'm starting IntelliJ IDEA for the first time on a Linux virtual machine and it's quite painful Mar 05 19:33:57 for me its indexing the new project but only once Mar 05 19:34:08 or if some drastic changes from git Mar 05 19:34:38 ok but what does "indexing a project" mean? Indexing class definitions, etc.? Mar 05 19:35:10 probably Mar 05 19:35:48 in past gradle used to hang on "building/syncing" until i close the AS Mar 05 19:54:55 good evening Mar 05 19:57:29 ohai Mar 05 20:01:53 what is the point in declaring a class abstract.. I mean, what I read: you can not instantiate that class when it is declared abstract Mar 05 20:02:43 it's to extract common code from other classes Mar 05 20:03:29 uh.. I am so green that I can not understand even that :/ Mar 05 20:03:42 stowoda: it's a Java question (for the ##java channel). Anyway abstract classes are meant to be subclassed (extended) by other classes. They are something similar to interface but may provide a default implementation for some methods and other definitions. They are a middle ground between interfaces and concrete classes Mar 05 20:04:15 stowoda: if you don't understand what I wrote, read an introduction to OOP with Java Mar 05 20:04:19 ok, they are like blueprints which you can adjust to your needs? Mar 05 20:04:43 you definitely need to read an OOP and Java introduction, stowoda Mar 05 20:04:50 :) ok thx Mar 05 20:05:03 I am trying.. It is all so new and complicated Mar 05 20:05:20 it will take you few minutes but you'll use that knowledge for the rest of your life in all kinds of different languages Mar 05 20:05:42 be patient, don't get scared Mar 05 20:07:15 ok, what I read now is like: abstraction gives the user the functionality rather than the description how to do that.. Is it like hiding complex details and providing just a simple interface? Mar 05 20:08:32 stowoda: if you want to discuss these subjects you should use ##java Mar 05 20:08:40 allright Mar 05 20:08:57 don't mention you are studying it for Android development, tho Mar 05 20:09:38 otherwise they will probably hang on the wall by your testicles Mar 05 20:10:05 :D Mar 05 20:10:26 which is the emulator that best support google api? I always find problems with google's one (like the version inside it is older, etc.) Mar 05 21:14:34 I'm trying to use Kotlin in vanilla Intellij IDEA. Where are the Gradle files? Mar 05 21:17:37 is there any way to set a view visibility similar to GONE but *not* invisible, as in it doesn't take any layout space but is still visible? Mar 05 21:18:02 (well it does take space but surrounding elements don't know it's there and are behind it) Mar 05 21:18:20 uh. Mar 05 21:18:22 no. Mar 05 21:19:27 alright, any ideas then on how to animate a view away, where the space it took is already freed at the animation's start instead of end? Mar 05 21:19:41 altcp: you want to put the current layout inside a FrameLayout Mar 05 21:19:53 altcp: together with this view Mar 05 21:20:17 altcp: maybe make this view and the current layout to match_parent in both directions Mar 05 21:20:31 altcp: they will use both all the available space Mar 05 21:20:49 hmm, so I have the UI and a service bound to it. Inside the service I have an AsyncTask which opens a socket connection to a server. Now. In debug mode (emulator) everything is fine and the client is able to connect to the server, to send a string and to disconnect. But.. When I try to debug on my Phone the socket (when setting a breakpoint) is: Socket[unconnected] Mar 05 21:21:05 Melatonina: alright I'll look into framelayout (never used it yet), thanks Mar 05 21:21:37 hello, does anyone know if it is possible to save a png from a vector drawable? Mar 05 21:22:58 canoe: https://msol.io/blog/android/android-convert-drawable-to-bitmap/ Mar 05 21:23:24 Melatonina, excellent. Thanks. Mar 05 21:25:22 how to track this down: socket is unconnected after doing mSocket.connect(socketAddress); but I am not running in an Exception Mar 05 21:27:25 however in the emulator the socket gets connected and I am able to communicate with the server :/ Mar 05 21:27:40 is this local server Mar 05 21:28:14 the server runs locally on same machine as the emulator, yes Mar 05 21:28:25 my phone is in the same network though Mar 05 21:28:42 hmm ok Mar 05 21:29:04 still, does it accept connections other than 'localhost' Mar 05 21:29:33 Ashiren: you asking about the amulator or phone? Mar 05 21:29:43 ok, phone Mar 05 21:29:46 got it Mar 05 21:30:14 well, the server actually :v Mar 05 21:30:15 ok, :D emulator Mar 05 21:30:25 aah. Mar 05 21:30:40 now understand.. let me think. it should. Mar 05 21:31:37 oh anyway it should throw exception if it cant connect Mar 05 21:31:56 so strange :/ Mar 05 21:42:52 so I am stepping through the code and after mSocket.connect(socketAddress); the code seems to jump out of my AsyncTask Mar 05 21:45:59 http://pastebin.com/YyDjAGyS <- here is the implementation of my AsyncTask Mar 05 21:46:07 if that helps in any way Mar 05 21:47:28 hmm, after several seconds if not minutes I got an exception: ETIMEDOUT Mar 05 22:05:10 what is DTS_GLAPI ? Mar 05 22:17:57 ok, seems to be a network issue (connecting to this particular host). I am able to connect to another server running somewhere else in my network. Mar 05 22:19:11 good n8 Mar 05 22:19:39 Is there anyone here who has experience with Google Cloud Platform and App Engine? I'd love to ask you a few architectural questions. Mar 05 22:29:09 ah frack! Samsung spitting EOF chars into logcat Mar 05 22:33:10 You care about in-band ASCII markers, why? Mar 05 23:02:58 minir complaint, egrep on output like 1,000 times produces no results, strange and interesting new error message... TIL |egrep - a| Mar 05 23:14:19 hi, i am learning about Layouts and following one tutorial, but when testing android:layout_above that works in http://labs.udacity.com/android-visualizer/#/android/relative-layout-view-ids but in android studio doesn't work as expected Mar 05 23:17:10 what is the best way to scroll a view alongside a recyclerview? I have an edittext that sits above a recyclerview list in a linearlayout. I would like it to scroll offscreen when scrolling. Mar 05 23:18:43 hi! I want to clear a SLAndroidSimpleBufferQueueItf Mar 05 23:19:15 so i can set the next track and playback that straight away Mar 05 23:23:29 no too much help here Mar 05 23:46:09 InfiniteWaves You could write custom scroll behavior. Additionally, you can add a OnScrollListener to the RecyclerView and animate your EditText depending on the passed in scroll values. Mar 06 00:13:44 akuw lots of people ask for help never provide context or indicate they've done any of their own analysis... not many will offer to help blind like that Mar 06 00:14:48 i was clear Mar 06 00:18:55 Yah, "android studio doesn't work as expected" is specific Mar 06 00:25:38 say more things? Mar 06 01:51:23 is there any standard terms and conditions you use for your app (like involving, no responsibility etc.)? Mar 06 01:51:41 and privacy policy Mar 06 02:00:45 <_genuser_> devs. Mar 06 02:01:14 <_genuser_> what do you guys use for animations. Is there something recommendation for material design? Or objectanimator, transitionmanager, use whatever? Mar 06 02:08:27 it seems to be the case of time zone mismatch Mar 06 02:13:41 _genuser_ Depends on what your animating. Mar 06 02:13:53 you're* Mar 06 02:21:35 anyone know about VAST ? Mar 06 02:22:00 <_genuser_> orbyt_: sorry was googling. Mar 06 02:22:17 <_genuser_> orbyt_: trying to use transitionmanger with recyclerview. intent is to expand item clicked on but also collapse all other items. Mar 06 02:48:34 Is there a channel for android things? Mar 06 02:48:49 'things'? Mar 06 02:49:24 https://developer.android.com/things/index.html Mar 06 02:50:49 <_genuser_> android of things? Mar 06 02:50:51 <_genuser_> aot? Mar 06 02:53:03 i guess here would be appropriate, not sure of a specific channel **** ENDING LOGGING AT Mon Mar 06 03:00:00 2017