**** BEGIN LOGGING AT Sun Jan 24 02:59:59 2016 Jan 24 03:35:43 if i install my app via android studio/adb, and then try to install the same app from the play store where I uploaded it, it will say the app is already installed right? beacause same package name Jan 24 03:57:08 if you were using the same signing keys yes Jan 24 04:01:09 i think i use the debug key for my app for testing Jan 24 04:01:36 ahh so if they have different key they can have same package name and both install Jan 24 04:08:43 I think the play store would uninstall the old one in that case but I'm not positive Jan 24 04:19:33 cool, jasta released stetho 1.3.0 Jan 24 04:46:05 weird that there is no way to "lock" a slifingPaneLayout Jan 24 04:46:13 to either open or closed Jan 24 04:46:22 seems like a big oversight Jan 24 04:48:01 CedricBeust, I bought a bottle of Kirkland XO to try, https://plus.google.com/+PerryNguyen/posts/R3Q4ExaPZVL Jan 24 04:48:21 Oh, he's not here, that's no fun Jan 24 04:48:21 Looks yummy Jan 24 04:48:26 I'm always here. Jan 24 04:48:36 er, weird, it didn't highlight at first, but it did Jan 24 04:48:47 I confused myself Jan 24 04:49:24 (nicks show up in white if they're not here in my client) Jan 24 04:52:23 I wouldn't be surprised if it's Camus, though, bottle on the right sells for 80 in the markets here, 48 for the Kirkland sounds about right for Costco Jan 24 07:25:08 I'm letting users reference an image they have, and using the content:// to grab it, but when I restart the app, that content:// uri no longer works Jan 24 07:25:18 is it necessary to copy the image they reference, or is there some way to concretely reference it Jan 24 07:28:42 Do I have to download the whole android sdk to be able to produce programs for android 4.0 + ? Jan 24 07:29:02 There are too many stuff to download which made confused. Jan 24 07:29:14 *made me Jan 24 07:30:06 Is there anybody over here? Jan 24 07:32:01 h0m1x I think you can just download android studio Jan 24 07:32:26 Is that enough? Do I have to download additional packages? Jan 24 07:32:52 android studio has a download manager in it where you download other things Jan 24 07:33:22 I have seen a tutorial which has guided the programmer to download extra packages. My question is, is it possible to make programs for Android 4.0 + without those additional packages? Jan 24 07:33:54 az0z4 The problem is those files might be large and I don't have high speed internet. Jan 24 07:35:50 afaik you either initially download the android studio package, which includes the sdk, or you download the sdk only, which lets you use other ide's Jan 24 07:36:00 after that, there might be additional things, but some are optional Jan 24 07:38:25 az0z4 thanks Jan 24 08:09:03 Does anyone here use JRebel + Android Studio? Is it a good solution for instant running code? Jan 24 08:12:48 can someone help me with my issue? http://pastebin.com/dw4h0ZRi Jan 24 08:15:34 Are you multi-dex your app fillefilip8 Jan 24 08:15:54 i.e. multiDexEnabled true Jan 24 08:15:56 yeah i tested using that beacuse my libaray i made is very big Jan 24 08:16:14 with alot of depencenys (in the libaray) Jan 24 08:18:02 Hmm. I had the same issue when I hit the method limit but addding multidex to my project fixed it Jan 24 08:20:05 what version of android studio you have? Jan 24 08:20:17 do you think the lastest version will change anything? Jan 24 08:21:03 No, since it's a java problem, not Android Studio problem Jan 24 08:21:21 You probably just didn't set up multidex correctly, if I had to guess Jan 24 08:21:40 i removed all "multidex" stuff Jan 24 08:21:44 now i get this Jan 24 08:22:46 Did you remove some dependencies too? How many methods does your project have? Jan 24 08:24:40 i removed "multidex" Jan 24 08:24:42 and i get http://pastebin.com/iGGxpu9S Jan 24 08:25:04 Yeah Jan 24 08:25:08 because you are over the 65k method limit Jan 24 08:25:21 so you need to multidex or else you will get that error. Either that or get rid of some dependencies Jan 24 08:26:33 If you hit the limit you probably should take a hard look at what dependencies you truly need anyways. Stuff like guava is nice but it has over 18,000 methods (crazy) Jan 24 08:26:53 the xmpp libary is also big :P Jan 24 08:26:58 + guava :D Jan 24 08:27:06 + my libaray Jan 24 08:27:28 you definitely need to multidex then. no way around it Jan 24 08:27:53 i enabled multidex again Jan 24 08:27:57 gonna try now :D Jan 24 08:28:13 You should check how close you are to the limit. Because you can manually chop guava up and just take the parts you need Jan 24 08:28:30 so if you are at like 67k methods its worth it to cut up the guava .jar yourself Jan 24 08:29:11 is there a limit of methods in dex? Jan 24 08:29:18 like "maximum" Jan 24 08:29:25 when multidex is on Jan 24 08:29:25 65k Jan 24 08:29:27 oh Jan 24 08:29:30 no limit with multidex Jan 24 08:29:55 your app will be too big for google play before you run into any limitations Jan 24 08:30:18 rip :P Jan 24 08:30:33 but i have seen app that are many gigs Jan 24 08:30:37 apps* Jan 24 08:31:24 what do i need to have multidex on? Jan 24 08:31:26 i added Jan 24 08:31:30 multiDexEnabled true Jan 24 08:31:37 under defaultConfig Jan 24 08:31:53 and that xml thingy in my manifest Jan 24 08:32:13 That's all you need to add (if I remember correctly) Jan 24 08:32:19 might wanna check stackoverflow if you still have problems Jan 24 08:32:35 because everyone else here is sleeping i think :) Jan 24 08:32:39 haha Jan 24 08:32:43 but you are here :D Jan 24 08:32:54 i have to get on a plane soon so i'm staying up all night -.- Jan 24 08:34:07 if i remove my jar everything works Jan 24 08:34:10 XD Jan 24 08:36:36 if i google the error i get i dont get anything "useful" Jan 24 08:50:49 what's the best way to go about doing a group indicator thing for a custom expandablelistview header layout? Jan 24 08:51:46 did Google ever solve the problem where logcat stops working (with "logcat read: invalid argument") if a logcat message is too long? Jan 24 08:58:56 can you use java 8 in android? Jan 24 09:03:45 android hates me.... Jan 24 09:03:52 everytime i fix one error Jan 24 09:03:56 10 new errors comes up Jan 24 09:11:28 fillefilip8: yes, kinda.. Jan 24 09:12:09 fillefilip8: https://github.com/evant/gradle-retrolambda < will give you backwards compatable lamda's Jan 24 09:15:23 i get :app:createDebugMainDexClassList Jan 24 09:15:25 now Jan 24 09:15:27 rip Jan 24 09:15:37 any idea? Jan 24 09:15:45 fillefilip8: what? Jan 24 09:15:57 Error:Execution failed for task ':app:createDebugMainDexClassList'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_55\bin\java.exe'' finished with non-zero exit value 1 Jan 24 09:16:26 fillefilip8: what version of Android Studio you using? Jan 24 09:16:35 1.2.2 Jan 24 09:16:40 fillefilip8: update it Jan 24 09:16:44 :P Jan 24 09:16:46 kk Jan 24 09:16:52 fillefilip8: before you do that Jan 24 09:17:01 yea? Jan 24 09:17:02 what? Jan 24 09:17:03 you can always run your build in debug mode to get more info Jan 24 09:17:12 i just did Jan 24 09:17:17 i didnt get anything useful Jan 24 09:17:25 yea, update studio Jan 24 09:17:32 and your build tools Jan 24 09:17:44 check your sdk manager Jan 24 09:18:00 lastest version: 1.5.1 Jan 24 09:18:02 :D Jan 24 09:18:05 you might also check what api you are compiling against in your gradle script Jan 24 09:19:22 fillefilip8: if you want streaming api from Java 8 in your android app you can use this http://sourceforge.net/projects/streamsupport/ Jan 24 09:24:10 is there anyway to remember the state of an expandable list view? like if i had one group expanded and went to another activity can i automatically expand that group when i get back? Jan 24 10:19:38 anyone here using mac ? Jan 24 10:19:47 android studio on mac Jan 24 10:21:26 If you ask the actual damn question you might even get an answer. Jan 24 10:21:35 Don't ask to ask ;) Jan 24 10:21:59 How do you open two instances of android studio. Jan 24 10:22:17 Need to work on two projects blood new to OSX Jan 24 10:25:49 Hi, Anyone knows how to mock Base64 encode function? Jan 24 10:50:13 Error:Execution failed for task ':app:createDebugMainDexClassList'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_65\bin\java.exe'' finished with non-zero exit value 1 Jan 24 10:50:19 anyone got an idea? Jan 24 10:54:44 fillefilip8, did you try to clean your project? Jan 24 11:00:20 ktwo how? Jan 24 11:07:53 i did clean the project now Jan 24 11:07:57 no differents Jan 24 11:19:39 Is there a way to unset a TabLayout Jan 24 11:20:53 I have 2 AppBar views which I inflate depending on what user does, tablayout of 1 one appbar has more tabs than other so I get IndexOutOfBoundsException when I change page to say 3 if other TabLayout has only 2 Tabs Jan 24 11:21:55 But I don't want to discard that TabLayout completely, as I'd have to inflate a new one at any point, so I just reuse the previous one Jan 24 11:37:12 anyone? Jan 24 12:06:32 is there a way to get @IntDef from int? Jan 24 12:13:17 m? Jan 24 12:13:47 hi Jan 24 12:14:28 so I'm working on a small app that uses the phone's accelerometer. I'm going to do some processing with the accelerometer's x, y and z values. Are the x, y, z values, when I retrieve them from the phone's sensor and get them in my app guaranteed to have been measured at the point in time? I mean, it'd be very important for my purposes not to have acceleration_x measured in t=1.002s and acceleration_y measured in t=1.050s for example, but Jan 24 12:14:28 both at t=1.050s (for example) Jan 24 12:14:33 strange question i know Jan 24 12:42:51 Hey all.. Jan 24 12:43:05 I'm trying to get a Jni hello world working Jan 24 12:43:31 I get this message.. Android/Sdk/extras/android/support/v7/appcompat/libs/android-support-v4.jar: Permission denied Jan 24 12:43:54 Any thoughts? (oh on l linux box) Jan 24 12:44:15 wut Jan 24 12:44:22 where do you get that message Jan 24 12:45:08 baash05: your linux file permissions are wrong Jan 24 12:45:40 I'm logged in as the only user.. with full admin Jan 24 12:46:23 It could be though.. any suggestions on how to fix it? Jan 24 12:46:52 Ashiren: When I attempt to run the javah from the terminal in android studios. Jan 24 12:46:55 dirty solution - chmod -R 777 the-android-sdk-path Jan 24 12:47:26 Ashiren: why not +x? Jan 24 12:47:36 which is much better Jan 24 12:48:03 :c Jan 24 12:50:21 well the chmod (as strange as it was to need it) did give me progress I suppose Jan 24 12:50:54 no main manifest attribute, in ...libs/android-support-v4.jar Jan 24 12:53:21 I sometimes forget how hard it is to get up and running in a new environment. :) Jan 24 13:16:40 hi guys Jan 24 13:17:12 does anyone know a good tutorial foe facebook sdk integration with android? Jan 24 13:17:21 i'm pretty new in android Jan 24 13:17:34 can use any help i get Jan 24 13:18:55 isnt the official documentation enough? Jan 24 13:19:15 i would use that, using a tutorial or other source you can never be sure that its the latest api revision Jan 24 13:20:22 actually i get confused Jan 24 13:20:37 i started doing android like one month ago Jan 24 13:21:08 i'll give the official documentation another try Jan 24 13:21:18 thanks @ktwo Jan 24 13:22:02 integrating a thrid party api is probably not the easiest task for a beginner Jan 24 13:39:35 Hey is there an easier tutorial on making a Share button? The http://developer.android.com/training/sharing/shareaction.html gives me an error Jan 24 13:39:45 besides I do not have an action bar on my app Jan 24 13:40:00 So I should get it to work with a button Jan 24 13:45:35 I am using an application that send an upstream message to GCM. Now I want to handle the upstream message on my application server. However, how does google know where my application server is? Jan 24 13:49:20 you don't send messages to your server using gcm Jan 24 13:49:29 google knows everything Jan 24 13:53:06 pfn, well the XMPP connection server from google does. But how does it know where my application server is? Jan 24 13:53:51 you don't send messages to your server using gcm Jan 24 13:54:28 So why does upstream gcm exist? Jan 24 13:58:00 Oh, that feature, your server has to register am xmpp connection of course Jan 24 13:58:06 how else would it know Jan 24 13:58:23 How would I do that? Jan 24 13:59:52 by reading the documentation on how to set it uo Jan 24 14:32:55 Is there a way to send data Via a shareIntent that the receiving user can not see but my app can still work with ? Jan 24 14:33:27 cart_man, that makes no sense Jan 24 14:33:41 danijoo: The question or my phrasing Jan 24 14:33:42 ? Jan 24 14:33:54 the question Jan 24 14:34:21 if you send an intent to your app, its up to you to show the user whatever content of it you want to show Jan 24 14:34:38 a user does not ´see´ intents. he sees what your app displays Jan 24 14:35:05 danijoo: Ok but if I add it as text/plain and share it with say ... Hangouts .. Then it actually shows up Jan 24 14:35:10 you can see the text Jan 24 14:36:57 that's because hangouts is showing the text Jan 24 14:37:19 why don't you ask what you want to do, and not what you think you want to do Jan 24 14:37:37 you need to use a key that hangouts dont look for Jan 24 14:38:25 ie dont use Intent.EXTRA_TEXT but ¨this_is_my_private_extra¨ Jan 24 14:38:57 or if you dont want other apps to be able to handle your intents, dont send them to them Jan 24 14:39:07 pfn: Ok soo if I send my intent via Whatsapp ... and they click on it I want my app to open up and use the data. IF they do not have the app they will receive a URL Jan 24 14:39:11 register custom intent action and send them only to you Jan 24 14:39:33 huh, be more specific Jan 24 14:39:49 if you send via whatsapp, then whatsapp will open Jan 24 14:40:09 your app is completely uninvolved Jan 24 14:40:36 i guess he wants something like http://myapp.com/user/12341 and if user clicks on it his app opens Jan 24 14:41:02 and be able to send this via whatapp to other users from his app with a share intent Jan 24 14:41:03 assuming what you're saying is that you want to send a uri for your app to open, then encode the text in your uri Jan 24 14:41:13 yep Jan 24 14:41:33 the fact that it's an intent or not is irrelevant Jan 24 14:42:17 ok that sounds like what I want Jan 24 14:43:22 cart_man, what you want is called 'deep linking' Jan 24 14:43:25 http://developer.android.com/training/app-indexing/deep-linking.html Jan 24 14:43:45 you register an intent-filter that tells android to open your app for a given url Jan 24 14:43:58 and then parse the url in your app to extract its content Jan 24 14:45:09 that app indexing part is irrelevant Jan 24 14:48:10 but I guess that page doesn't really talk about indexing much Jan 24 14:49:13 the following does. this one is only about register your apps intentfilter and what url sheme you want Jan 24 14:53:18 I don't like app indexing vs the old global search Jan 24 14:53:33 I remember when global search was a selling point of android Jan 24 14:58:48 now it's all app indexing, meh Jan 24 14:59:05 there's no way to global search private content Jan 24 15:42:25 how can I get reference to a clicked item in recyclerview, and I am not talking about the position, but reference to the object Jan 24 15:43:23 set your click listener on bind view Jan 24 15:44:36 pfn: How would that helpt? Are you talking about the holder parameter? Jan 24 15:45:07 you have all the information you need at that point in time Jan 24 15:45:27 Hello! I bought Nexus 6p. In box i have special card. 90-days of free play music subscription. How to enable it? When i open google play music app on device - i have 30-days discount. Sorry for offtop guys. Jan 24 15:46:04 I think I get it, thanks pfn Jan 24 15:46:39 I can answer on android dev question in exchange for the answer to my question Jan 24 15:46:41 ^) Jan 24 15:53:23 xgear: https://www.google.com/nexus/terms/playnexus90/ Jan 24 15:55:31 xgear: If you are already a subscrieb to GPM last 12 months you can't use that 90 days free offer Jan 24 15:56:05 thanks Jan 24 16:12:48 Hello Jan 24 16:13:09 Hi Jan 24 16:13:24 I'm just starting to learn MVVM pattern on Android Jan 24 16:13:34 I hope it's not too late to dive into it Jan 24 16:18:36 I don't even know what it is Jan 24 16:19:51 br0mahn i think that train has left, next will me MVMVVMP Jan 24 16:20:10 Lol Jan 24 16:20:23 Yea i thought so too Jan 24 16:20:34 It's only hyped Jan 24 16:21:37 I'm just curious though, does it make things easier or make it worse than having a standard approach Jan 24 16:22:12 choosing a pattern is making it your standard approach Jan 24 16:22:21 there is no standard approach in Android Jan 24 16:22:30 unless you call winging it standard Jan 24 16:22:56 * g00s wings it :( Jan 24 16:23:22 I know Jan 24 16:23:36 I'm just gonna let myself fall into the hype Jan 24 16:23:51 Who's joining? Jan 24 16:24:09 br0mahn for testability, MVP, MVVM can help - but they can also make the code a bit more complicated. for UI, i just prefer to keep it as simple as possible (but its not very testable? or I just don't know how to do it well yet). but yeah, your model stuff should stand alone and be testable Jan 24 16:24:38 TBH, I've never done any testing on any of my app yet lol Jan 24 16:24:48 i can drive most of my app from intents, command line Jan 24 16:36:28 I've yet to use MVVM or one of those patterns :( Jan 24 16:43:20 pfn do I have to set onclicklistener on onBindView to get reference for the object? Jan 24 16:49:30 Is there a way to wait for all requests to complete in Glide? Is there a global queue or something? Jan 24 16:58:22 ok, those of you who actively develop for android, how much ram do you have on your computers? Jan 24 17:02:23 16 Jan 24 17:06:13 12 Jan 24 17:06:29 6 Jan 24 17:06:33 i3 Jan 24 17:06:44 HDD Jan 24 17:07:04 Gradle build is slow on this setup Jan 24 17:07:15 I need an upgrade tbh Jan 24 17:07:22 you need a SSD Jan 24 17:13:19 16 too Jan 24 17:18:18 cpu is the #1 thing Jan 24 17:18:43 ram all depends on what else you do, I bet you can do lightening fast builds on 4gb if you're not running anything else Jan 24 17:20:57 Offline gradle build helps make it faster on a slow computer Jan 24 17:53:02 how can i make testng work with kotlin in android? Jan 24 17:53:29 i *think* it's compiling now, but it keeps erroring in fun places like at test runtime Jan 24 17:53:42 with missing test dependencies or missing the tests themselves Jan 24 17:56:40 how i miss maven... Jan 24 18:04:12 https://community.oracle.com/thread/1552704?start=0&tstart=0 Jan 24 18:04:21 is this really a good way to return streaming data with JNI? Jan 24 18:04:42 I'm opening a socket in JNI and want to return a bytearray to java Jan 24 18:09:11 anyone know how google implements the icon with number (30)? http://apptrigger.com/files/2015/05/New-Google-Calendar-App.jpg Jan 24 18:12:46 Do you mean the app icon that says 31? That's just a static icon Jan 24 18:13:37 no, the icon that shows the current date on the toolbar Jan 24 18:13:51 right of january Jan 24 18:14:20 Probably just a custom Drawable class Jan 24 18:15:00 so 31 unique drawables..? Jan 24 18:15:08 lol Jan 24 18:15:28 A https://developer.android.com/reference/android/graphics/drawable/Drawable.html that draws 31 different numbers Jan 24 18:39:49 in this blog , https://lab.getbase.com/introduction-to-coordinator-layout-on-android/ , i want to make my layout depend on this library , can anyone tell me how to make this Jan 24 18:51:48 what library Jan 24 19:02:20 https://github.com/orhanobut/dialogplus Jan 24 19:03:57 danijoo: https://lab.getbase.com/introduction-to-coordinator-layout-on-android/ , this blog has a method , layoutDependsOn() , in this they are using snackbarlayout , i want to know how can i make this for dialogplus https://github.com/orhanobut/dialogplus Jan 24 19:06:01 Zalabinsky, no, just a custom Drawable class. Jan 24 19:06:07 Render an image and render numbers on it. Jan 24 19:06:42 Mavrik, SimonVT, thanks Jan 24 19:07:20 @Override Jan 24 19:07:21 public boolean layoutDependsOn(CoordinatorLayout parent, FloatingActionButton child, View dependency) { Jan 24 19:07:21 return dependency instanceof SnackbarLayout; Jan 24 19:07:21 } Jan 24 19:07:50 what should i replace SnackbarLayout with , i want it to depend on dialogplus https://github.com/orhanobut/dialogplus Jan 24 19:12:53 mmm Jan 24 19:12:53 https://d262ilb51hltx0.cloudfront.net/max/1600/0*nFIHNhRdBI1jChkH. Jan 24 19:13:00 This would be a fun exercise to implement. Jan 24 19:14:36 Oops! Error 404, unable to process image Jan 24 19:14:37 heh. cool. Jan 24 19:15:03 SimonVT, dot it for some reason part of the URL Jan 24 19:15:13 Textual kinda seems to ignore it :) Jan 24 19:15:23 no device I’ve ever had has been able to rotate that smoothly via the OS. Jan 24 19:15:23 ohh Jan 24 19:16:15 And yeah, that's kind of cool Jan 24 19:16:46 anyone can help me with this my problem please Jan 24 19:16:54 I think with something like that you'd lock the orientation and handle rotating yourself Jan 24 19:16:55 i am stuck on this for hours . Jan 24 19:17:13 Yeah, maybe do "configurationChanges=orientation" Jan 24 19:17:31 Gotta try something like that to see just how many crazy cornercases you meet. Jan 24 19:18:02 I think you'd be fighting against the OSs rotation Jan 24 19:18:23 Ah, the notification drawer moves as well.. Jan 24 19:18:37 right. I guess the app must be handling the rotation on its own. Jan 24 19:19:18 Will be fun to see what you come up with at least Jan 24 19:22:44 that rotating image is cool, but real life is usually not as trivial . they didn't adapt any of the positions, sizes. or content going from landscape to portrait Jan 24 19:22:50 is there any way to check if a permission was granted to an android app at runtime? Jan 24 19:24:43 Ologn: what's this about a meetup in nyc? Jan 24 19:25:08 That's what 6.0 is alla bout, morenoh149: https://developer.android.com/training/permissions/requesting.html Jan 24 19:26:42 SimonVT: so you can't CHECK a permission before 6.0 as well? Jan 24 19:27:26 Well, if you requested them, they're granted at install time Jan 24 19:27:39 looks like v4 or api 23 https://developer.android.com/reference/android/support/v4/content/ContextCompat.html#checkSelfPermission%28android.content.Context,%20java.lang.String%29 Jan 24 19:28:07 err no definitely api 4 Jan 24 19:28:30 Before api 23, PackageManager has APIs for checking Jan 24 19:28:45 And ContextCompat will check that :) Jan 24 19:28:46 Unless you're a library, there's really no reason to use that tho Jan 24 19:28:52 danijoo: you there / Jan 24 19:29:14 I'm writing a library of sorts yes Jan 24 19:29:37 * standing in the queue * tell me if anyone of you is ready to answer my simple problem Jan 24 19:29:54 jackhum: I didn't see it Jan 24 19:30:18 morenoh149: you want to know what my problem is? Jan 24 19:30:23 jackhum, i dont know Jan 24 19:30:59 https://lab.getbase.com/introduction-to-coordinator-layout-on-android/ , acording to this blog , layoutDependsOn() , Jan 24 19:31:51 * jackhum instanceof Snackbarlayout, now instead of snackbarlayout i want to use dialogplus library , https://github.com/orhanobut/dialogplus Jan 24 19:32:27 should I prefer packagemanager.checkpermission() or contextcompact.checkselfpermission() ? Jan 24 19:32:56 Compat version. Jan 24 19:38:09 how to create a listview with section headers? Jan 24 19:40:31 help me out guys Jan 24 19:47:25 hey Jan 24 19:47:35 Google Play added promo codes to the console... how new is this? Jan 24 19:48:59 Doesn't look like they added promo codes in download links yet. That's dumb. Jan 24 19:58:09 would someone be able to point me in the right direction with animating a imagebutton? Jan 24 19:59:57 i had raised my question on stackoverflow but the answer that i was given doesn’t work the way i want, any ideas? http://stackoverflow.com/questions/34957583/android-animation-increase-height-of-imagebutton Jan 24 20:05:40 idk Jan 24 20:05:42 the answer i was given on stackoverflow scales the button, whereas I just want to scale the button but only from the top, in other words stretch it , not scale, if that makes sense Jan 24 20:05:43 i use cordova Jan 24 20:06:21 In other words, you want to move it up Jan 24 20:07:16 Think of Views as having a left, top, width and height attribute.. The first two are where it's positioned on screen, the other two are just sizes.. Changing one does not change the other Jan 24 20:07:19 kinda, i want it to stretch, i dont want the button to move at all, just stretch the button up but remain in the same place, does that make sense? Jan 24 20:07:49 You're animating the height.. That does not change where the top of the View is Jan 24 20:08:31 yeah i’m kinda lost on how to do it, every way i try just scales the button top and bottom Jan 24 20:09:04 the stackoverflow solution i was given just scales it top and bottom aswell Jan 24 20:09:13 You need your animation to do two things.. Make the view larger, and move it up Jan 24 20:10:11 Moving Views are most commonly achieved with view.animate().translationY(...) Jan 24 20:10:16 Or translationX Jan 24 20:10:36 Alternatively, use the scale animations Jan 24 20:10:51 but when i do translationY its not what i am looking for Jan 24 20:10:54 That might actually achieve what you want in itself Jan 24 20:11:34 lemme make sure i’m explaining myself right, so if i click on my button, the height increases by say 10%, the bottom posiition of the button does not move at all Jan 24 20:12:17 As I said, Views have left, top, height and width attributes Jan 24 20:12:21 bottom = top + height Jan 24 20:12:31 If you change height, and don't want bottom to change, you need to change top as well Jan 24 20:13:12 are there are tutorials on how to achieve this? Jan 24 20:15:23 Probably somewhere Jan 24 20:17:44 k, i’ll digging, or can you help me out? Jan 24 20:18:55 Hey I'm having problems with rendering issues when previewing an XML layout. See log here : http://imgur.com/3odn6Af Thanks Jan 24 20:19:49 I've tried updating, rebuilding, cleaning, clearing caches and I've made sure the theme is an appcompat theme. Jan 24 20:20:25 Well, it sounds like you already found out how to make your view larger, and I just told you how to move it Jan 24 20:23:21 no probs, i’ll go looking to see how to do it, was able to do it quite easily in IOS using transforms but this is turning out to be a bit tricker Jan 24 20:39:43 i’m lost, so are you saying that if i am increasing the height of the button at the top i must also dcrease the height at the bottom so the button doesn’t move? Jan 24 20:45:03 left == x coordinate, top == y coordinate, height (there's only one of these), width (there's only one of these as well) Jan 24 20:45:12 There are no "top height" and "bottom height" Jan 24 20:46:38 I wish wifi client isolation mode could be circumvented somehow Jan 24 20:47:22 I really want to write an app that can use wifi infrastructure for p2p but in isolated networks Jan 24 20:48:54 Mercurial's creator (and project lead) is packing his bags: https://www.mercurial-scm.org/wiki/mpm/transition Jan 24 20:49:13 hey guys can anyone answer my question from earlier? Jan 24 20:49:38 Is there any way to use a promo code with a download link yet? Jan 24 20:49:46 or is it separate still? Jan 24 20:49:55 (i mean a google play download link) Jan 24 21:01:00 ok so if i’m getting there, if i use view.settop that increasees the height, but how do i implement that in an animation? Jan 24 21:01:10 TacticalJoke :O Jan 24 21:02:55 <_genuser_> mercurial!!!!!!!!!!!!!!!!!! Jan 24 21:03:04 <_genuser_> do'nt tell me our only choice it git. Jan 24 21:03:06 Kinda sad, but I'm not surprised. #mercurial is so quiet now. Jan 24 21:03:13 <_genuser_> because that alone is cause for quitting software development. Jan 24 21:03:19 _genuser_: I think the project will continue. Jan 24 21:05:50 I think the world needs a better VCS (than Git or Mercurial) anyway. There are so many issues with both. Jan 24 21:05:51 <_genuser_> TacticalJoke: hope so. I am learning git slowly for TFS and VS201{3,5}, but I much prefer mercurial. Similar power and much much higher simplicity. Jan 24 21:06:26 wow, 11 years Jan 24 21:06:29 <_genuser_> so far mercurial has been fine for my personal project and work projects. but I'm moving work ones to git, so we put everything inside TFS2015 Jan 24 21:06:51 _genuser_ TFS2015 doesn't support hg ? Jan 24 21:07:02 <_genuser_> g00s: it supports tvcs and git. Jan 24 21:07:13 That's a shame, _genuser_. Git os a step down, IMO. Jan 24 21:07:17 is* Jan 24 21:07:41 <_genuser_> phew, ok, I feel the same way. I just wasn't sure if I voiced mercurial support, if people will start getting upset. Jan 24 21:08:00 You'll have the same power behind a less-nice CLI. Jan 24 21:08:30 <_genuser_> I like the idea of git but I think in typicaly linux/linus fashion it's gotten super complicated for the sake of it. Jan 24 21:09:39 anyone? Jan 24 21:09:45 Is there any way to use a promo code with a download link yet? Jan 24 21:10:55 eh, that feeling when you put a ton of work into something, and can't decide if its good or not Jan 24 21:11:19 it's* Jan 24 21:11:50 g00s: Third parties might need to decide. Jan 24 21:12:24 <_genuser_> g00s: lot of my edm songs. Jan 24 21:12:45 <_genuser_> g00s: 20hrs later, I feel it sounds more cheesy pop than electrohouse. then it sits for months. Jan 24 21:14:37 i have one activity, with nav drawer (left), content=SlidingPaneLayout, and actions in right-hand drawer Jan 24 21:14:48 but there are ... many sliding things Jan 24 21:14:58 can anyone at least say "no, there is no way to use a promo code with a download link yet"? Jan 24 21:15:04 It's like an echo chamber in here Jan 24 21:15:15 so if i click on my button and on the listerner i set view.settop it does what i want, so how do i animate that? Jan 24 21:15:30 <_genuser_> typically how it works is you ask a question and whoever KNOWS something will respond. Jan 24 21:15:42 Agamemnus: I have no clue. Would you like me to say it anyway? :D Jan 24 21:15:46 Yes Jan 24 21:15:47 <_genuser_> nobody might have the definitive answer to say yes or no. you'll just have to wait. Jan 24 21:16:04 Someone saying "I don't know" is better than silence Jan 24 21:16:06 it's scary Jan 24 21:16:21 <_genuser_> g00s: I find sliding drawers on boths sides to be difficult to work with. ES File Manager has that and it's becoming harder to use. Jan 24 21:16:25 KK, thanks guys.... probably not possible yet, going by what I read about the promo codes Jan 24 21:16:33 <_genuser_> g00s: you have to carefully slide things just enough not to trigger a drawer Jan 24 21:17:02 my right drawer is stuffed with tons of stuff to control the bt device ... not sure where i would put it Jan 24 21:17:16 i could make a BottomSheet kind of thing, but thats stuff sliding in again Jan 24 21:17:42 ideas is it can be pulled out at any time Jan 24 21:17:57 basically i would describe my UI like Google Drive app Jan 24 21:18:21 <_genuser_> thankfully I don't use google drive. Jan 24 21:18:26 :D Jan 24 21:18:33 <_genuser_> but I do use Youtube app. and boy is it a mess. Jan 24 21:18:40 <_genuser_> it changes UI EVERY week pretty much. Jan 24 21:18:47 omg that thing is a steaming pile Jan 24 21:18:59 they have a nav drawer in one of their tabs Jan 24 21:19:05 <_genuser_> and then the tips pop up, "did you know you can do this?" "pfft, I do'nt care. I just want to play an hour long EDM set and drive!!!" Jan 24 21:19:38 <_genuser_> the only bigger enigma is Google Hangouts app. Jan 24 21:19:39 surprised to see Google+ app still has that bottom navigation bar Jan 24 21:19:59 i think the google iOS apps are better :) Jan 24 21:20:11 <_genuser_> so there's Google Play, and Google Music (music bought from play). And Google Books (books bought from Play) Jan 24 21:20:24 <_genuser_> then there's a google+ app? there's a hangouts app. Jan 24 21:20:38 <_genuser_> it's a huge mess. doesn't show a clean vision at google over what they should offer. Jan 24 21:20:50 <_genuser_> the hangouts app not only changes UI every week, but also features and functionality. Jan 24 21:21:57 i thought they were getting rid of hangouts Jan 24 21:23:10 <_genuser_> were they? Jan 24 21:23:18 <_genuser_> so what's going to be google "chat"? Jan 24 21:23:31 something new Jan 24 21:23:38 read about it last week Jan 24 21:23:46 <_genuser_> I just liked the google talk. Chat in the browser, on the phone, on the desktop. All to the same connections. Jan 24 21:23:58 <_genuser_> Hangouts were a huge desperate move to be facebook. Jan 24 21:24:00 how can i use view.settop in an animation? Jan 24 21:24:04 <_genuser_> didn't work. <---- notice the period. Jan 24 21:24:19 <_genuser_> google+ was a huge effort to be facebook. didn't work>.< Jan 24 21:24:29 They should just buy Telegram and integrate it Jan 24 21:24:33 <_genuser_> but now we have another social media site to post crap to. Jan 24 21:24:37 The only chat software that doesn't have ass UX Jan 24 21:24:47 <_genuser_> Mavrik: telegram? it's a chat app? Jan 24 21:26:02 <_genuser_> Mavrik: hmm, the play store pictures look pretty ok. Jan 24 21:36:15 could someone let me know how to use view.settop in an animation please? Jan 24 21:50:03 heya guys, i have a problem trying to use a Long in Android studio Jan 24 21:50:53 in my MainActivity.java, i tried to use "public final static Long PHONE = 5555555555; "and it says the number is too big to be an integer, so i tried to just use 555 and it said it required a long, but i was giving it an int Jan 24 21:51:48 tripknotix, yes, number literals are int by default. Jan 24 21:51:55 how do i use a long Jan 24 21:52:05 google just says a long should work, but doesnt tell me how to implement it any differently Jan 24 21:52:24 tripknotix, put L at the end. Jan 24 21:52:33 also, don't store phone numbers as integers. Jan 24 21:52:34 Ever. Jan 24 21:52:48 http://developer.android.com/reference/java/lang/Long.html Jan 24 21:52:56 how should i store it Jan 24 21:54:43 the user is going to clikc a "Call" button that has the number Jan 24 21:55:04 i was worried i would have to parse the string, and that the android phone wouldnt understrand "555-555-5555" Jan 24 21:55:49 It will. Jan 24 21:56:26 Thinking that all phone numbers you'll handle are something that fits into long (or that's an integer) is terribly misguided :) Jan 24 21:58:00 ok no problem Jan 24 21:58:05 #java is saying the same Jan 24 21:58:07 but i hav eto ask, why Jan 24 21:58:31 Why what? Jan 24 21:58:44 Not all phone numbers in the world are the same as local american calls :P Jan 24 21:58:47 why wouldnt i store a phone number as a long Jan 24 21:58:59 o.O Jan 24 21:59:23 Because they're not an actual number. Jan 24 21:59:32 You know things like letters in them, length and leading zeroes. Jan 24 21:59:50 How will you store a phone number that starts with zeroes as a long? Jan 24 21:59:56 wtf Jan 24 22:00:01 How will you store one that starts with a star_ Jan 24 22:00:02 ? Jan 24 22:00:03 woah Jan 24 22:00:09 i assumed u didnt need to put the zeroes Jan 24 22:00:15 *1*0005845894 is a valid phone number. Jan 24 22:00:17 that modern phones understood not putting zeros vs putting zeros Jan 24 22:00:27 004485947548584 is a valid phone number for germany. Jan 24 22:00:37 so it doesnt understand 1 584 5894 ? Jan 24 22:00:45 +4485947548584 is also the same valid phone number. Jan 24 22:00:56 jesus, phone system needs an upgrade Jan 24 22:00:59 4485947548584 is nothing that AT&T handles :P Jan 24 22:01:00 -_-'' Jan 24 22:01:36 im assuming this is so we dont have duplicates of "1" and "0004" Jan 24 22:02:22 could someone help me with animating view.settop? Jan 24 22:06:34 anyone that know googles multiplayer system well? i want a system where you have a title holder and you need to earn your reputation to be able to play him. can this bi implemented on the side of the multiplayer api? Jan 24 22:20:04 is it possible to animate using settop as i want to increase the height of a button? Jan 24 22:27:49 Hey fellas, how's everyone doing? Jan 24 22:29:41 or can i use padding? Jan 24 22:33:30 Guys How can I open an .AIA file on Android studio Jan 24 22:33:42 could some give me some help on animation? Jan 24 22:34:33 is it possible to use settop in animation on a view? Jan 24 22:47:42 IS IT ALLOWED TO ADD INGAME PURCHASES after the game has been published? Jan 24 22:50:05 can I use setpadding if settop is not possible Jan 24 22:54:35 does anyone know how to animate view.settop? Jan 24 22:58:11 krippykripkrip: Is your Shift key broken? :p Jan 24 22:58:33 yeah sorry lol Jan 24 22:59:11 :) Jan 24 23:00:29 Is there a way to access InstrumentationRegistry.getInstrumentation() inside an activity? Jan 24 23:00:46 AnYoNe AbLe tO hElP wItH AnImAtiON? better tactical hehe Jan 24 23:01:05 I'd try a margin or some padding. Jan 24 23:01:46 the thing is i can use setTop, thats excatly what I am looking for, but am trying to figure out how to animate this? Jan 24 23:02:00 I don't think you're supposed to use View.setTop. Jan 24 23:02:19 can i animate Padding? Jan 24 23:04:03 even if i can use padding it moves the bottom of the button which is no good, i just want the button to be stretched from the top?Any ideas? Jan 24 23:10:20 ive been stuck on this for a week, :( Jan 24 23:10:54 Hello, I really need your help. I run my coverage tests with gradlew createDebugCoverageReport but it ignores all tests wit the UiThreadTest annotation. What could be wrong Jan 24 23:11:41 Is it possible to get an Instrumentation inside of an active app activity instance, not a test? Jan 24 23:14:16 morenoh149, The February 9th Android Developers meeting in downtown Manhattan http://www.meetup.com/android-developers-nyc/ Jan 24 23:22:46 does anyone know how to animate a button increasing in height without the button moving, i asked on stackoverflow but the answer given just scales, any ideas Jan 25 00:04:20 is IntentService an implementation of Command Processor Pattern? Jan 25 00:05:58 In affirmative case, why some Android MVP implementations explicitly implements its own executor instead of using the one provided by the framework? Jan 25 00:11:20 Darth SimonVT has any opinion about this subject? Jan 25 00:17:21 Is there a way to add click behavior to an imageview that I am using as a button Jan 25 00:17:45 drose379, set an onclick listener and u are done Jan 25 00:17:56 True I guess Jan 25 00:18:53 Is there something else you meant by "click behaviour"? Jan 25 00:19:11 + a selector image maybe (for the ui effect) Jan 25 00:19:16 or foreground ripple Jan 25 00:19:49 Yeah I meant the ripple that you get from the default button Jan 25 00:20:11 imageView.setForground(new RippleDrawable(...)) Jan 25 00:20:48 It's `?attr/selectableItemBackground` (in AppCompat), IIRC. Jan 25 00:20:48 danijoo, TacticalJoke: http://stackoverflow.com/questions/34982695/is-intentservice-an-implementation-of-command-processor-pattern Jan 25 00:21:04 But the imageview has a custom background already Jan 25 00:21:12 So not sure if I can use the ?attr Jan 25 00:21:28 Wait, it's probably `?android:attr/selectableItemBackground`. Jan 25 00:21:31 ventura, dont make urself unpopular ;) Jan 25 00:21:41 drose379: You could put it in a FrameLayout. Jan 25 00:22:03 Wouldnt just setting the foreground to a new RippleDrawable on click work? Jan 25 00:22:48 yeah Jan 25 00:23:10 Will try that, thanks a lot guys Jan 25 00:23:15 but an imageview has no foreground :p Jan 25 00:23:20 God damn Jan 25 00:23:31 or does it? im not sure actually Jan 25 00:23:34 So each imageview needs to be wrapped in a framelayout? Jan 25 00:23:36 I will look Jan 25 00:23:49 danijoo, if I wish to be popular, i would have stayed on UFC Jan 25 00:24:08 You're a UFC fighter? Jan 25 00:24:17 ventura, and if I or TacticalJoke have wished to answer your question, we would have done without you poking us with it Jan 25 00:24:43 no, sanda fighter. but know i need a bionic knee Jan 25 00:25:56 danijoo, no problemo. sorry bout i Jan 25 00:26:42 if I answer something about 'design patterns' theres a 99% chance someone which more knowledge of design theory jumps out of the bush and correct me :p Jan 25 00:26:45 so i dont Jan 25 00:34:00 danijoo, seems likes ancient one wrote and really understood design patterns disappeared. them someone find a book and try to understand a tiny little page Jan 25 00:34:44 i think i am trying to find this answer for one year Jan 25 00:42:07 Just curious of why. Jan 25 00:47:32 is there a bluetooth headset you like for hands free phone calls? Jan 25 00:47:35 headset or earpiece Jan 25 00:47:47 reading reviews is enfuriating Jan 25 00:48:03 oh this one gets 4 stars, except this guy complains about battery life Jan 25 00:48:24 TacticalJoke how is the new computer treating ya Jan 25 00:50:51 It's great. I can finally use the emulator, which makes me way more productive. Jan 25 00:51:29 Previously, I had to use a device, and it was annoying. I'd sometimes just not bother doing Android stuff when I had a spare half an hour. Jan 25 00:52:11 I prefer an actual android device any day of the week Jan 25 00:52:24 especially if you only have 30 mins Jan 25 00:52:26 TacticalJoke i have to use a device, because of bluetooth :( Jan 25 00:52:35 I prefer physical devices for some stuff (especially design), but the emulator is great for quick little changes. Jan 25 00:53:34 g00s: Building is also way faster on here. My project is taking a second to build after a few changes. Jan 25 00:53:46 Unit tests run almost instantly. Jan 25 00:53:57 nice Jan 25 00:53:58 actual devices are too slow :/ Jan 25 00:54:10 (for adb install) Jan 25 00:54:26 i think it takes AS > 1s to keep up with my typing 50% of the time Jan 25 00:55:03 the next intelliJ is supposed to be much better with no-lag editing Jan 25 00:55:12 that got bumped from 15 though Jan 25 00:55:17 so i guess 16 Jan 25 00:55:23 g00s: The difference is amazing. On this computer, Android Studio feels fairly lightweight. Jan 25 00:55:29 I never thought I'd be saying that. Jan 25 00:55:42 I'm jelly Jan 25 00:55:54 Even the emulator is fast (with HAXM). It's about as fast as my device. Jan 25 00:56:08 is 8 gigs still alot of ram? Jan 25 00:56:28 I'm at like 90% all day when working on android Jan 25 00:56:38 I think 8GB is still enough. I use like 5-6GB with Android Studio, the emulator, loads of Google Chrome tabs, etc. Jan 25 00:56:39 RustySha1kleford, its the minumum for AS Jan 25 00:57:07 Even with two emulators running I was struggling to hit 8GB. Jan 25 00:57:39 i prefer 16 but moslty because i have a ton of stuff open Jan 25 00:57:46 I hate my work computer situation Jan 25 00:58:05 people have even offered to buy their own machines Jan 25 00:58:26 lol Jan 25 00:58:47 my team lead is responsible for building our daily apk Jan 25 00:58:49 Anyone been able to successfully use an ARM emulator with good sppeds? Jan 25 00:58:52 2 hours, no joke Jan 25 00:58:56 every day Jan 25 00:58:57 speeds rather Jan 25 00:59:27 Blaster: doubtful. HAXM is pretty good though Jan 25 00:59:33 well, better Jan 25 00:59:44 Blaster, not possible because its arm Jan 25 00:59:47 Would an ARM emulator run fast in the cloud on an ARM dedicated server? Jan 25 00:59:50 Hello, I'm monetizing a game it asks me to edit my ProGuard configuration. I've enabled per this guide, http://developer.android.com/tools/help/proguard.html but cannot find the proguard-rules.pro file it says to add custom rules too. Help? Jan 25 00:59:51 slow by definition :p Jan 25 01:00:02 unless you run it on a real arm processor Jan 25 01:00:19 Yeah there is providers that offer 4 dedicated ARM cores on a dedicated server. Jan 25 01:01:20 why would u need that? ndk? Jan 25 01:02:20 Yeah Jan 25 01:02:39 if you authenticate someone with GoogleSignInApi - what's the best way to ensure they're logged in on each activity? Jan 25 01:04:38 can you store a "GoogleSignInResult" as a global that every activity can access? or do you have to pass it to the intent? Jan 25 01:05:41 cant you just assume hes signed in for the lifetime of your app Jan 25 01:05:56 and only check again if the app is restarted or was in background Jan 25 01:07:16 that is an option Jan 25 01:08:07 yeah I guess KISS is the way to go Jan 25 01:10:00 i wonder - with recyclerview getting wrap_content, if makes sense for segmented lists Jan 25 01:10:26 instead of putting everything in 1 RV and letting god sort out the adapters Jan 25 01:10:47 g00s, i think if you set a recyclerview to wrap_content it will go 0dp Jan 25 01:10:59 scrollview* Jan 25 01:10:59 danijoo its getting wrap_content support Jan 25 01:11:08 oh? Jan 25 01:11:40 src? Jan 25 01:12:16 https://www.reddit.com/r/androiddev/comments/4289gc/recyclerview_will_finally_get_wrap_content/ Jan 25 01:12:21 but we knew this for a long time Jan 25 01:12:47 but, now its 'next release' :D Jan 25 01:13:01 god i hope they dont eff up RV in some other way, i use it all over the place Jan 25 01:14:08 this will be one of those release where 1 week later the revision increases by 0.1 :D Jan 25 01:21:20 danijoo hopefully its "just" one week :D Jan 25 01:49:01 anyone familiar with adcolony? Jan 25 02:20:33 do you say "demon" or "daymen" Jan 25 02:20:39 when pronouncing daemon Jan 25 02:28:07 RustySha1kleford: demon Jan 25 02:31:27 daymen Jan 25 02:31:52 I was made fun of for saying daymen Jan 25 02:32:30 I tend to say daymen in my head, and demon out loud Jan 25 02:32:44 also pronouncing url as earl Jan 25 02:33:00 exorcise the daemons Jan 25 02:33:56 how about some url graey tea? Jan 25 02:35:15 hmm, there must be a way to interact with NAF elements in UiAutomator? Jan 25 02:41:49 yeah I guess nobody but me says url Jan 25 02:54:15 huh ... SlidingPaneLayout is reporting isOpen() == true, when its not open :| Jan 25 02:59:37 maybe i need a layout listener for it, but that seems weird **** ENDING LOGGING AT Mon Jan 25 02:59:58 2016