**** BEGIN LOGGING AT Mon Oct 10 02:59:59 2016 Oct 10 03:38:03 hi Oct 10 03:38:20 when a new activity is opened, it sort of - from an animation perspective - comes at you Oct 10 03:38:43 sort of starts small in the middle, and expands until it takes up the full screen - i hope thats makign sense Oct 10 03:38:46 ... Oct 10 03:38:58 how do i change it so instead of doing that, a new activity slides in from the right? Oct 10 03:56:17 have a look at activity transitions Oct 10 04:00:00 @bankai_ thanks- this seems to explain what i had in mind http://stackoverflow.com/a/4807917 Oct 10 04:02:32 you don't need to '@' this isn't twitter... Oct 10 04:04:50 what does android:fromXDelta="100%p" mean, compared to just "100%" ? Oct 10 04:05:38 the docs say values from -100 to 100 ending in "%p", indicating a percentage relative to its parent, but what does that mean? Oct 10 04:05:54 what is the parent in this example? Oct 10 04:08:52 https://developer.android.com/training/material/animations.html this might be better for you Oct 10 04:09:25 Started playing with kotlin/anko, and gotta say, I like it Oct 10 04:15:45 yes please http://ausdroid.net/2016/10/09/opinon-dear-google-going-full-pixel-give-world-android-one/ Oct 10 04:16:59 bankai_ i think that article is from down under ! Oct 10 04:19:36 must be if they are saying 1k Oct 10 04:19:53 it's 200 AUD more than the currency conversion rate Oct 10 04:25:30 Android is a lot different from when Nexus devices were still important Oct 10 04:26:01 There are a good amount of Android OEMs that are making great devices that support developer end functionality pretty well Oct 10 04:30:37 otoh, i think Pixel is going to make life harder for existing OEMs , we'll see how many are around next year Oct 10 04:31:02 moto is almost dead, HTC was hurting too Oct 10 04:33:39 Moto has been dying Oct 10 04:34:41 I'm pretty sure Google siphoned off a good amount of talent from Moto before dumping them on Lenovo Oct 10 04:34:43 the margins among android phones is very slim, i think Samsung flagships are around 17% Oct 10 04:36:00 RIP Motorola. Oct 10 04:36:21 Since Lenovo bought them they've gone downhill. Oct 10 04:36:29 Hi..I'm getting two errors. The first one is a weird FirebaseUI-auth bug Oct 10 04:36:55 Where after successful login on my emulator and some platforms the activity closes, but on other people's emulators or their devices it doesn't close after login Oct 10 04:37:33 I followed the example on https://github.com/firebase/FirebaseUI-Android/tree/master/app/src/main/java/com/firebase/uidemo/auth Oct 10 04:37:36 LunarEclipse120, that's the thing, I'm sure Lenovo bought everything but the people Oct 10 04:37:50 seitensei: Moto X Pure was the last good phone. Oct 10 04:38:06 Now it's slowly going away from Vanilla Android and more towards marketing. Oct 10 04:38:14 and the example works but when I try to launch the authUI activity it launches and logs in but doesn't close afterwards Oct 10 04:39:07 My second bug is trying to use https://developers.google.com/maps/documentation/android-api/utility/marker-clustering Oct 10 04:39:33 I have a mapactivity. Adding the items works about 70% of the time (30% of the time nothing happens) Oct 10 04:39:41 And removing the markers *never* works Oct 10 04:40:13 My code is based on https://github.com/googlemaps/android-maps-utils/blob/master/demo/src/com/google/maps/android/utils/demo/ClusteringDemoActivity.java Oct 10 04:41:09 LunarEclipse120, I've got a Pure. I wouldn't say it' Oct 10 04:41:19 it's a good phone, but it's okay Oct 10 04:41:50 I have yet to look at the G4's, but I'd wager those aren't too bad either Oct 10 04:42:19 Moto Z's just a gimmick that adds an excessive amount of device specific functionality, which, as a dev, I find very uninteresting Oct 10 04:42:50 I meant the last good phone from Motorola. Oct 10 04:43:06 Now, I really want the OnePlus 3 but I'm on Verizon. So I guess I'm stuck with the Pixel. Oct 10 04:43:18 Unless I can convince my dad to go to T-Mobile which won't happen. Oct 10 04:43:56 are they carrier locked? Oct 10 04:44:16 They don't support CDMA. Oct 10 04:44:25 Which is stupid because they have the hardware for it. Just isn't enabled. Oct 10 04:44:46 i thought japan was the only country still using CDMA, well thar you go Oct 10 04:44:48 I just want all phones to be like the Nexus 6P/5X or Moto X Pure. They work on all carriers. Oct 10 04:44:59 They don't support the LTE bands on Veri/Sprint either Oct 10 04:45:13 Verizon, Sprint, US Cellular and their MVNOs use CDMA. Oct 10 04:45:27 It's weird though because it uses C-SIM so it kind of works like GSM. Oct 10 04:46:36 Actually it seems like 3G/1X might work. Oct 10 04:48:07 java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getVisibility()' on a null object reference at android.widget.LinearLayout.forceUniformHeight(LinearLayout.java:1380) Oct 10 04:48:26 Anyone has the idea why does it happens? (I don't have a device that I can reproduce it :/ ) Oct 10 04:50:45 LunarEclipse120, they use C-SIM since adding LTE. iirc, before then, they just burned subscriber onto device Oct 10 04:54:37 yoavst: chances are high you have an override method that returns null Oct 10 04:55:43 I'm using table layout Oct 10 04:55:49 not custom view Oct 10 04:56:55 getVirtualChildAt(i); returns null Oct 10 04:58:41 It says it has 23 children, but getChildAt(0) returns null Oct 10 04:59:13 sorry, getVirtualChildAt(0) returns null while getChildAt(0) not Oct 10 05:43:26 Hello. I'm trying to figure out how navigation drawers work. I made a fragment but I can' Oct 10 05:43:33 *can't figure out how to switch to that fragment Oct 10 05:43:49 Hello, wich is the correct way to query in a content provider for a unique row? pass pk id to "select, select args" or create a URI as content://provider/pk_id_number ?? Oct 10 06:29:51 hi guys, does somebody used this library for sqlite "http://satyan.github.io/sugar/index.html" ? is it good to handle in the long run ? Oct 10 07:29:50 Good morning everyone. Oct 10 07:29:53 :) Oct 10 07:37:12 wut Oct 10 07:55:38 boker thepoosh Oct 10 07:58:46 Guys I tried to root my device but it seems to be nothing different. I should hav get some kind of TWRP menu but I do not see it Oct 10 07:59:00 I am using Heimdall Oct 10 08:00:37 go to #android-root Oct 10 08:03:50 raoul11: what's news? Oct 10 08:04:08 got that api working Oct 10 08:04:23 no need to mess with firebase db's Oct 10 08:04:26 yet. Oct 10 08:04:27 who broke it? Oct 10 08:04:37 lazy coders Oct 10 08:04:41 who didnt update their docs Oct 10 08:04:47 assfaces Oct 10 08:04:55 but they were quick to respond and fix Oct 10 08:05:07 basically, it was a Void/void thingie Oct 10 08:05:15 and conflicting classes Oct 10 08:05:16 defaq?! Oct 10 08:05:59 now finishing up on my ads mediation Oct 10 08:06:23 should I be meditating? Oct 10 08:07:23 nah, you got direct line to heavns during "minha" Oct 10 08:07:38 think ill have to work during yom kippur thepoosh Oct 10 08:14:39 raoul11: oh noez Oct 10 08:14:41 why? Oct 10 08:14:53 coz am going to italy next week Oct 10 08:14:57 no time Oct 10 08:15:13 Italy?! Oct 10 08:15:15 noice Oct 10 08:15:30 mrs parents paying so it is nice /: Oct 10 08:15:39 and they're coming as well Oct 10 08:16:54 :S Oct 10 08:17:44 btw thepoosh, am sorry Oct 10 08:32:51 raoul11: what for? Oct 10 08:32:59 you are a saint for all i care Oct 10 08:33:14 except for that time you were more interested in fontain pr0n name Oct 10 08:33:31 why did you have to bring her name up ): Oct 10 08:33:43 it triggers me Oct 10 08:39:02 watching the debate, I am all triggers Oct 10 08:43:40 is there a generic notification service app? Oct 10 08:43:59 i want my generic application to use the generic interface of such an app to send generic notifications Oct 10 08:44:19 like growl/snarl but for android Oct 10 08:46:46 notify my android Oct 10 08:46:47 right Oct 10 08:46:48 thhx Oct 10 08:54:44 not sure if anyone responded to my last query as I got disconnected Oct 10 09:05:55 can i ask here about android studio and ndk? Oct 10 09:09:02 considering its android dev related, yes Oct 10 09:14:40 hello everyone. Oct 10 09:36:52 Why does on TableRow.LayoutParams, setting height to MATCH_PARENT cause it to crash on devices lower than 7.0? Oct 10 09:39:21 what does the crash say Oct 10 09:45:47 https://samebug.io/search/5977314/java.lang.NullPointerException Oct 10 09:45:52 java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getVisibility()' on a null object reference at android.widget.LinearLayout.forceUniformHeight(LinearLayout.java:1409) Oct 10 10:50:56 brb hithere Oct 10 11:07:48 I'm trying auth0 UI component. If I try to authenticate through google I get redirect_uri_mismatch. What does it mean? Match with what? Oct 10 11:17:51 I have a tableLayout with fixed header row (30dp height) and 10 rows that should have the same height while the layout takes the whole screen (therefore weight = 1) Oct 10 11:18:22 So the 10 rows are: TableRow { LinearLayout { TextView 1, TextView 2, ..., TextView N } } Oct 10 11:18:53 But it doesn't work: http://image.prntscr.com/image/b51d42b9110e499b9d440680c90876a7.png Any idea how to fix that? Oct 10 11:19:53 whats knovlich yoavst ? Oct 10 11:20:08 raoul11: Name of a teacher at my school :P Oct 10 11:21:40 so you want rows 3-8 to have the same height? Oct 10 11:22:11 why not use gridlayout btw? Oct 10 11:25:24 In the end I switched to LinearLayout Oct 10 11:25:28 same code, and it works :P Oct 10 11:28:42 How does your mapping.txt looks like? Can you pls give me example of "publicable" translation? Oct 10 11:35:57 ok I have found that variable names are somehow obfuscated - which is good Oct 10 11:36:38 I was expecting to get 2 versions of obfuscated files when I have two flavours of app Oct 10 11:38:35 How does mapping.txt is being created? Can it be affected by different flavour? Oct 10 11:40:12 Why would I want to save each and every mapping for each released app version - when that might be the same every time I build release from repo? Oct 10 11:45:03 bolovanos_, http://proguard.sourceforge.net/manual/usage.html#printmapping Oct 10 11:45:19 if just one line changes, you would need another mapping Oct 10 11:45:46 otherwise how do you think it's possible to map obfuscated code with the non obfuscated one Oct 10 11:49:26 adq, yeah - I was on that page, but I was not too wise from those informations Oct 10 11:49:46 adq, one line changes - you mean line of project code... Oct 10 11:49:53 just in case, if you believe obfuscating your app will make it more secure, you're wrong Oct 10 11:50:16 if yes - than my idea of rebuilding project from repository is applicable, is it? Oct 10 11:50:22 bolovanos_, of course project code Oct 10 11:50:35 adq, no I do not think - I was through that few months / weeks ago :) Oct 10 11:50:38 i really don't understand, you have too many questions too, sorry Oct 10 11:50:42 sry Oct 10 11:50:55 I will try to describe it more sharply Oct 10 11:52:35 I was having an issue with app - 3 days ago. As it was on testing device, I have reported that error - which lately appeared In Android dev console. There was advice box "Upload your ProGuard deobfuscation file in order to deobuscate future stack traces for this APK version." Oct 10 11:53:00 which brought me to closer look at mapping.txt Oct 10 11:53:15 and again to https://developer.android.com/studio/build/shrink-code.html#shrink-code Oct 10 11:54:07 has anyone here tried to get their android apps to run on chromebooks properly? - I'm running into a weird issue with webviews, that they take extra space on screen - as if they had an invisible top window bar Oct 10 11:54:58 if I go into immersive mode (with the full screen button on a chrome book) the extra space goes away, but then the webviews have a window bar with minimize/maximize/close buttons - and that bar affects the android app o_O Oct 10 11:55:43 where in passage https://developer.android.com/studio/build/shrink-code.html#decode-stack-trace is stated that I should save that mapping file in order to de-obfuscate my code, and that this file is being rewritten each signed build Oct 10 11:56:44 so I have checked how to save mapping for each signed build Oct 10 11:57:29 but - and here is and of my long story - I have found that my mapping file is somehow same for both of my flavours Oct 10 11:58:38 which brought me to thought that each build on same / unchanged code is being obfuscated same time Oct 10 11:59:58 - I was expecting that there might be some non deterministic algorithm which may scramble it each run even on same code Oct 10 12:00:58 oO Oct 10 12:01:23 bolovanos_, shrinking part is not related to obfuscation Oct 10 12:01:26 and if it is not there, that there might be possible recreate same mapping.txt when build from repository related to that used on play Oct 10 12:01:43 bolovanos_, if you have same mapping between your 2 flavors, maybe not much code changed at all Oct 10 12:01:52 and there is nothing wrong, and why do you even bother Oct 10 12:02:02 just always commit your mapping with your signed version Oct 10 12:02:27 why - because I do not know if it is sing of trouble or if it is ok Oct 10 12:03:11 but if you say so - ok Oct 10 12:09:09 Do you tend to use backward compatible classes? Oct 10 12:09:52 Like AppCompatActivity and other stuff from android.support Oct 10 12:11:16 I think answer would be yes - at least for me... Oct 10 12:11:27 hello, what is the best way to update the screen as fast as possible in android ? Oct 10 12:11:52 I want to encode a QR code with a given timestamp and draw it on screen as fast as possible Oct 10 12:12:15 or, maybe a better way of describing this would be to update the bitmap as fast as possible Oct 10 12:12:35 bolovanos_: Ah, okay :) Oct 10 12:13:22 Kake_Fisk, why do you thing otherwise? Oct 10 12:13:55 I didn't say I thought otherwise :) Oct 10 12:14:03 Just wondering if people were using them or not Oct 10 13:14:14 Kake_Fisk, yes Oct 10 13:14:27 because support libs often include latest bug fixes Oct 10 13:14:38 (also including some bugs sometimes too lol, but that's another story) Oct 10 13:25:47 hi guys Oct 10 13:26:43 hi, is there a way to update a view at 60/30 fps ? Oct 10 13:27:15 anyone here making 100k doing android development? Oct 10 13:27:33 emilsp, yes. Oct 10 13:27:50 (Should probably use something more appropriate for that though.) Oct 10 13:33:04 AndroidNewb: there is people making millions doing Android development Oct 10 13:33:14 DLSteve: hi! Oct 10 13:33:39 Hello Oct 10 13:33:46 hi Oct 10 13:33:47 torak: hello Oct 10 13:33:49 @Melatonina , yes, but is there anyone here present right now that is making 80-100k Oct 10 13:34:04 AndroidNewb: do you need a loan? Oct 10 13:34:29 @Melatonina , no, I just want to talk to that person Oct 10 13:34:31 Okay so I have an activity with posts showing up. How can i load latest posts automaticly and add them to the top? What kind of parameter should i use? Time? Oct 10 13:34:44 100k rubles? Oct 10 13:34:46 Per month? Oct 10 13:34:47 AndroidNewb, wrong channel then Oct 10 13:34:57 it's about android apps dev Oct 10 13:35:17 US 100k Oct 10 13:35:28 this is android apps dev too Oct 10 13:35:45 why is the 100k so important Oct 10 13:35:46 doesn't appear to be so Oct 10 13:35:52 you want to be good at android development because of money Oct 10 13:35:58 ... Oct 10 13:36:08 AndroidNewb: I don't think someone with that kind of money has time to chat on IRC. Probably working on your project with your team would be a better use of his/her time. Oct 10 13:36:20 There are only Android developers making 79.999$ or 100.001$. Sorry Oct 10 13:36:25 if you want to make money, find some other profession, this one's for people who care about product quality ;) Oct 10 13:36:35 hahaha Oct 10 13:36:40 thats a good joke :) Oct 10 13:36:45 half-joke Oct 10 13:36:51 product quality and Android in the same sentence? Oct 10 13:37:17 well I'm not saying there aren't a ton of people who are in the wrong profession Oct 10 13:37:26 adq: Ah, thanks :) Oct 10 13:37:35 i think programmers sometime forget just how lucky they are. They dont have to hunt deers by hand, they just sit behind a computer that generates them enough money to feed themself Oct 10 13:37:50 saying developers dont do it for the money is ignorant at best, dishonest at worst Oct 10 13:37:59 I don't do it for the money Oct 10 13:38:07 I do it because I'd be super bored otherwise Oct 10 13:38:15 you a millionaire that dont need income? Oct 10 13:38:20 good for you Oct 10 13:38:27 i dont care though, most peop,lke are not in that position Oct 10 13:38:33 no, I just live on a really small income Oct 10 13:38:45 I make 36k a year and that's too much for me Oct 10 13:38:48 ... Oct 10 13:38:49 but gotta go -> Oct 10 13:38:52 DLSteve: I managed to run the Auth0 sample application using Lock to login. I can login just fine using email and password against the auth0 database but when I login with google I get the redirect_url_mismatch message Oct 10 13:38:56 why are u stil talking when u have no point Oct 10 13:39:39 DLSteve: I added https://mydomain.eu.auth0.com/android/com.auth0.logindemo/callback where "com.auth0.logindemo" is the package name of the demo application Oct 10 13:39:50 DLSteve: isn't that the correct thing to do? Oct 10 13:40:12 You add it in the Google developer console? Oct 10 13:40:16 DLSteve: I added it to the "Allowed Callback URLs" entry Oct 10 13:40:36 Oh, right. I only added another test app. Thanks Oct 10 13:42:50 I don't have a point? Oct 10 13:43:16 this is my fault, I started the money thing Oct 10 13:43:55 Mavrik, you're saying I'd be better off doing immediate graphics with ogl rather than an async task that 'publishes' and update all the time ? Oct 10 13:43:58 I guess you just have to be happy with currenly what you have in life Oct 10 13:44:21 emilsp, SurfaceView is probably more performant than invalidating a standard view every 16ms Oct 10 13:44:22 Zharf, you dont. You just keep talking because you are starving for good communication. Its ok Oct 10 13:44:29 emilsp, OGL might be overkill :) Oct 10 13:44:51 I keep wondering why people desire so much money Oct 10 13:45:24 there's a lot of people who don't have any Oct 10 13:45:28 Hello everyone, I'm trying to animate a circle moving across the screen using the canvas. I can draw a circle, but I can't figure out how to move it. I've looked for hours on stackoverflow without any progress. I'm an experienced programmer, I'm just very new to Android. Oct 10 13:45:34 @Zharf, all people desire money, not some. Oct 10 13:46:44 AndroidNewb: I will become millionaire. I hope you will too. Oct 10 13:47:46 @Melatonina , true, everyone wants to make more money. Oct 10 13:48:01 its just basic human attitude Oct 10 13:48:05 AndroidNewb, but after you have enough for living, why would you need more? I don't see the point Oct 10 13:48:19 Zharf: to conquer the world Oct 10 13:48:36 I never once considered money when I chose to start writing software Oct 10 13:48:44 @Zharf, everyone want more, and more is not enough Oct 10 13:48:55 thats some BS Oct 10 13:49:02 I think the moneygrab attitude programmers are just shit grade Oct 10 13:49:40 @Zharf, its the attitude of all programmers, some just lie. Oct 10 13:49:43 I think you are very very naive Oct 10 13:49:49 I'm making a custom view for a game I'm making. How do I constantly redraw the view? I can't use onDraw because it's protected Oct 10 13:50:33 liefer, meh, people are just needlessly greedy Oct 10 13:50:55 and money doesn't work as a motivator to make quality Oct 10 13:51:12 only as one to make things fast Oct 10 13:52:29 DLSteve: I thought I understood something but now I'm more confused. Why do I have a "Client ID" from Google and another, different, "Client ID" in Auth0? I didn't remember such thing... Oct 10 13:52:31 to be happy with simple things is not enough, I know it sounds greedy but thats the truth Oct 10 13:53:54 Melatonina, because both Auth0 and Google are Oauth2 providers, they both need a client ID in order to authorize the app. Oct 10 13:55:23 Zharf, selfishness, greed and destruction is part of every living being. We can pretend its not, and say its needless sure, but that doesnt really change anything Oct 10 13:55:48 We wou,ld have not survived to this point without those things, so to shame them is wierd Oct 10 13:56:01 DLSteve: ok. I still get the same error when I try to login with google Oct 10 13:56:04 true Oct 10 13:56:13 shaming bad programmers is never weird Oct 10 13:56:17 AndroidNewb, it isn Oct 10 13:56:18 't Oct 10 13:56:21 you're just making stuff up Oct 10 13:56:35 if the moneygrab attitude were everyone, stuff like GNU wouldn't exist Oct 10 13:56:43 and neatly disproves your point Oct 10 13:57:01 still waiting about how it's android app dev related lol Oct 10 13:57:05 and how we can help Oct 10 13:57:14 (for free!) Oct 10 13:57:23 I don't know why I'm paid so much when most of the money will just end up sitting in my bank account Oct 10 13:57:31 adq: we could give him 80/100k$ Oct 10 13:57:52 @pfn GNU is funded Oct 10 13:58:15 eh, no, not really when you consider people that are salaried Oct 10 13:58:48 it's a modest living stipend Oct 10 13:58:58 Feel free to transfer any excess money you might have to me Oct 10 13:59:10 Im very comfortable with my own greed Oct 10 13:59:11 what would you use it for Oct 10 13:59:17 none of your damn business Oct 10 13:59:26 but really, hookers and blow Oct 10 13:59:47 you might as well just jump off a bridge instead Oct 10 14:00:02 rude Oct 10 14:02:59 guys, all people are greedy. Oct 10 14:03:06 period Oct 10 14:04:13 nope Oct 10 14:04:14 you are Oct 10 14:04:50 Do you really need both your kidneys pfn? That seems a bit greedy. You should give one away Oct 10 14:04:52 @pfn, if you find a 99M cash on the street, would you look for the owner and return it? Oct 10 14:05:07 most people would do this, yes Oct 10 14:05:27 only due to fear of punishment if they didnt Oct 10 14:05:45 "punishment" as if, it's cash in the street Oct 10 14:05:52 @pfn , but if it actually happen, they would do the opposite Oct 10 14:05:57 that's rather false Oct 10 14:06:05 they found it Oct 10 14:06:10 they did not steal it Oct 10 14:06:17 AndroidNewb: that's a stupid example Oct 10 14:06:20 anyway, delude yourself all you want Oct 10 14:06:27 I like my example more Oct 10 14:06:50 we are all inherently greedy and selfish. We have to be. We have always had to be to survive Oct 10 14:06:58 AndroidNewb: you didn't find a piece of gold in a cave in a mountain. That's money that someone lost and that loss can cause many troubles Oct 10 14:06:59 that's false as well Oct 10 14:07:06 I don't value human life enough to bother saving someone by giving thwm a kidney Oct 10 14:07:07 Its true Oct 10 14:07:07 society grew because we became less selfish and greedy Oct 10 14:07:30 humans should just die off Oct 10 14:07:32 anyone happen to use adcolony? Oct 10 14:07:32 if you mean as proto-animals, ok Oct 10 14:07:45 as single-celled organisms, yes Oct 10 14:07:51 Did it really? Or did we form society for selfish reasons, such as being sick and tired of being chased by jaguars, and could more easily defend ourselves? Oct 10 14:07:53 as humans, no Oct 10 14:08:19 There is no altruism here Oct 10 14:08:41 Hell, i even give to friends that need and charities when i can Oct 10 14:08:45 if you think so, ok, 2 more people to add to the ignore list, as they are not worthy of altruism, bye Oct 10 14:08:47 but i have no delusions of what is happening Oct 10 14:09:02 I ally myself with my friends. I feel good, when i give. If i didnt, i wou,kld never do it Oct 10 14:09:11 hahaha wow Oct 10 14:09:16 back to the safe space eh? Oct 10 14:09:24 After I upgrade the theme to Theme.AppCompat.Light.NoActionBar Oct 10 14:09:27 thought u were smarter and more mature Oct 10 14:09:32 @liefer, you only give little of your money, try giving all Oct 10 14:09:37 some of the text on buttons is UPPERCASE Oct 10 14:09:40 any idea of why? Oct 10 14:09:58 text on buttons is default uppercase Oct 10 14:10:03 has been since lollipop Oct 10 14:10:15 and all appcompat themes, likely Oct 10 14:10:29 oh well, the loss of a weak minded person *shrug* Oct 10 14:10:44 ignorance is bliss :) Oct 10 14:11:02 im just telling the truth of how bad human beings are Oct 10 14:11:33 im not talking to you Oct 10 14:11:35 assuming someone would have said "yes" to your original question AndroidNewb, what would be your next question? Oct 10 14:12:09 @adq, no more question. Oct 10 14:12:14 ........ Oct 10 14:12:16 I would just leave the channel Oct 10 14:12:42 i'm gonna just ignore you Oct 10 14:12:49 waste of time Oct 10 14:13:02 troll powers are strong with these Oct 10 14:13:18 recently, offtopic is growing on this channel Oct 10 14:13:25 I wasn't trolling though Oct 10 14:13:37 An idea opposing my own beliefs? That are not insulting me or being rude? Trolls! Oct 10 14:13:38 anyways will stop there Oct 10 14:13:48 how weak can an, assumed, grow adult be? Oct 10 14:14:03 someone needs to wake SimonVT up Oct 10 14:14:22 maybe u need to ta,ke a break from the computer pfn, you usually seem much more reasonable than this Oct 10 14:17:30 yes, too much time-wasting trolling Oct 10 14:18:30 funny how it wasnt time-wasting for you till you got scared :) Oct 10 14:25:44 DLSteve: in the Google/Gmail panel (auth0) what's the difference between the "Client ID" and the "Allowed Mobile Client IDs" fields? Oct 10 14:26:26 Melatonina, That I am not sure, I have not actually used Auth0. Oct 10 14:44:36 DLSteve: ok. Thanks anyway Oct 10 14:52:14 omg, my brain is dead Oct 10 14:52:27 thepoosh, wut? Oct 10 14:52:42 yes, that's because of android development Oct 10 14:55:14 pfn: it was a long day Oct 10 14:55:22 thepoosh, I mean, you rang? Oct 10 14:55:28 I resolved around 78 JIRA tickets today Oct 10 14:55:38 one at a time Oct 10 14:55:40 :S Oct 10 14:55:47 http://english.yonhapnews.co.kr/business/2016/10/10/33/0502000000AEN20161010004100320F.html Oct 10 14:56:06 78 LOL Oct 10 14:56:15 Hey, how do I set the min and max values for a SeekBarPreference in preferences.xml? Oct 10 14:56:28 gdrc: what are you loling about? Oct 10 14:57:54 thepoosh: copy change tickets? Oct 10 14:58:14 nah, old tickets that shifted versions for more than 5 months Oct 10 14:58:29 we had 180 tickets for the version Oct 10 14:58:34 You just lived through 5 months today? Oct 10 14:58:36 that were drifting along for a long time Oct 10 14:58:37 wat Oct 10 14:58:54 Oh backlog tickets Oct 10 14:59:02 yeah Oct 10 14:59:03 Gotta get your cleansing in some time Oct 10 15:00:12 had some free time towards end of version Oct 10 15:00:29 and was watching uncle bob videos about bugs and good development Oct 10 15:00:34 made me motivated Oct 10 15:01:01 technocf: seekbar preference seems to not be a native thing Oct 10 15:01:10 is it a library? Oct 10 15:01:15 or a custom preference? Oct 10 15:01:42 thepoosh: Oh, that's weird. I typed it in and it appeared in the preview... I'll see if we have any extra libraries I didn't know about Oct 10 15:02:01 Does the emulator get wonky for anyone else when switching video sources on Mac? Oct 10 15:02:02 what is the import line looking like for it? Oct 10 15:02:15 Wondering if there is already an open b.android ticket for it Oct 10 15:02:17 dunno, I use devices Oct 10 15:02:21 thepoosh, so nothing of importance for the ping... Oct 10 15:02:53 thepoosh: We have these if this is anything to do with it "compile 'com.android.support:appcompat-v7:24.2.1'" and "compile 'com.android.support:design:24.2.1'" Oct 10 15:03:09 pfn: I didn't ping you until you pinged me Oct 10 15:03:12 @_@ Oct 10 15:03:37 thepoosh, pfn: are you awake? Oct 10 15:04:05 that was hours ago, I don't remember Oct 10 15:04:09 sorry Oct 10 15:04:40 raoul11: I got tickets today for berlin Oct 10 15:15:55 hi all - is it possible to navigate in android studio from the lint messages to the code? i dont see a way to click... Oct 10 15:18:33 trying to implement a simple notification... I initialize the Builder object, I define the 3 .set options, I initialize the NotificationManager, I send the .notify, but I need to define a notification ID in the .notify call, where do I get this? Oct 10 15:18:59 or am I defining a notification id here? Oct 10 15:19:06 mNotificationManager.notify(notificationID, mBuilder.build()); Oct 10 15:19:49 you define it Oct 10 15:21:27 oh sweet, I should have realized this from testing, but I was overlooking the actual notification that was being produced, and was convinced it was because I needed to discover the ID before making the .notify call Oct 10 15:21:39 thx pfn Oct 10 15:23:12 read the doc Oct 10 15:27:56 is there a way to have declared flavor specific symbol, class / variable? Oct 10 15:28:02 according to https://developer.android.com/studio/build/build-variants.html#build-types yes Oct 10 15:28:14 but for some reason I am unable to do it Oct 10 15:28:36 In java? Oct 10 15:29:02 both java or xml Oct 10 15:29:07 build.gradle Oct 10 15:29:08 I failed in both Oct 10 15:29:27 I have flavor with string.xml where I have declared new string Oct 10 15:29:40 which is not declared in main string.xml Oct 10 15:29:52 android { productFlavors { yourFlavor { buildConfigField "boolean", "THIS_WILL_BE_IN_BUILD_CONFIG", "true" } } } Oct 10 15:30:04 Define how much you want and for whichever flavors. Oct 10 15:30:20 building app is ok - in both java / xml examples, but creating signed apk is a problem Oct 10 15:30:58 Mavrik, I have that in gradle - I am able to create needed build variants Oct 10 15:31:14 but problem is example above ^ with string.xml specific symbol Oct 10 15:31:44 Error:(130, 100) error: cannot find symbol variable app_name2 Oct 10 15:32:51 bolovanos, what you reference in main, should be available in all flavor XOR (or exclusively) in the main one Oct 10 15:32:54 http://pastebin.com/uiTMrBUB Oct 10 15:33:14 what you reference in one flavor, should be available in main XOR in the corresponding flavor Oct 10 15:33:37 most ppl are confused because they see inheritance behind the flavor, but it's not Oct 10 15:33:53 my builder object for notification has .setAutoCancel(true), but nothing happens when I click on the notification... Oct 10 15:34:34 adq, where did you get that? - because http://pastebin.com/PA4LjrQM Oct 10 15:34:36 bolovanos, you're are problably misusing the flavor if you are testing packagename Oct 10 15:34:53 because that would not be needed since you know which packagename you belong too inside any flavor Oct 10 15:35:04 adq, no - just still strying to resolve mapping.txt issue Oct 10 15:35:04 assuming you don't use flavor for architecture variants Oct 10 15:35:16 but more for separation between packagenames, like free/paid apps Oct 10 15:35:57 adq, "because it would not be needed..." - is that answer on that pastebin? Oct 10 15:36:13 no Oct 10 15:36:50 i was just stating 'if (getPackageName().equals("package.name")) {' is useless when you use multiple flavors separated by packagename Oct 10 15:37:40 adq, ok - what would you suggest to have one symbol /name ... used only in one flavored version only? Oct 10 15:38:01 if it is possible at all - according to what you write - no Oct 10 15:38:41 the applicationId field inside your flavor block in gradle, usually define the packagename Oct 10 15:38:57 which will be injected later on in the build process inside the manifest & tighed to the rest of the code Oct 10 15:39:27 so by essence, any flavor knows about its packagename Oct 10 15:39:35 so there is no conditional test needed Oct 10 15:41:00 I managed to make the login work on the auth0 database but not with google Oct 10 15:41:30 I guess I would have wasted less time if I took the protocols specification and implemented it from scratch Oct 10 15:43:03 adq, not sure whether you know what am I after. I need to prove that two created mapping.txt files are really flavor specific. One way to do this would be, if one flavored apk has some variable which other lacks... Oct 10 15:44:29 that's a weird thing to test Oct 10 15:45:01 add one additional method or some dummy code and you should see some diff Oct 10 15:45:10 but renaming a variable... not sure Oct 10 15:45:45 where should I add such method - considering my project structure main/f1/f2 ? Oct 10 15:45:55 in f1 or in f2 Oct 10 15:46:08 than how Oct 10 15:46:56 adding f1/java/com/example/FSpecCls.class does not work Oct 10 15:47:07 idk, take your main activity, add a "private void foo(final boolean bar) { bar = !bar; }" and call it somewhere to be sure the compiler does not remove it due to not being used Oct 10 15:47:49 then build both of your flavors, and compare the resulting mapping.txt files Oct 10 15:48:01 still i do'nt get why you want to see they will be different (or not) Oct 10 15:48:28 so If I understand it well - you suggest copying MainActivity.java to f1/java/com/example/ Oct 10 15:48:33 no Oct 10 15:48:38 omg no, not at all Oct 10 15:48:43 i'm loosing patience Oct 10 15:49:03 i just told you to alter one flavor so you will have a different proguard mapping.txt file at the end Oct 10 15:49:07 Hey everyone, I'm trying to continuously draw to a surfaceview, but it only redraws when I tap the screen. Here's the relevant code: http://pastebin.com/MBfHv02m Oct 10 15:49:34 Any idea what would prevent .setAutoCancel(true) to not work? Oct 10 15:49:41 bolovanos, main activity was just an example, take anything inside one of your flavor Oct 10 15:49:48 assuming, "anything" is being called at least Oct 10 15:53:50 well, it looks like I needed to call postInvalidate() Oct 10 15:55:39 palomer, you must be something wrong elsewhere because one of the purpose of surfaceview is to not depend on invalidate() or postinvalidate() to redraw its content Oct 10 15:55:52 you must do* Oct 10 15:57:48 adq, problem is that I do not understand what alter flavor means. As I wrote my project structure is main/f1/f2, where main consist all java files... So Take anything inside - points me to main which will at the end end up in all flavors automatically Oct 10 15:58:32 i meant, you take some code inside f1 or f2, and you modify it enough Oct 10 15:58:54 since your goal is to test the different (or not) mapping.txt files, if I understood you correctly Oct 10 15:58:56 adq: that's what I thought, but I've been trying for 4 hours and I can't figure it out Oct 10 16:02:00 so, i can see the lint red number in design view when my project is analyzed. and i now relize i can use Analyze | Inspect Code which allows me to navigate to areas with issues. Can anyone confirm, is there no way to navigate in Android Studio 2.2 from the Lint messages that are in design view? Oct 10 16:03:30 Is it possible to disable unit testing when creating an app in Android Studio? Oct 10 16:04:46 Kake: What do you mean "disable unit testing"? Oct 10 16:05:06 You can exclude tasks from over all tasks if that's what you mean Oct 10 16:05:11 By default it creates unit testing folder and file Oct 10 16:05:37 Oh, disable unit test code generation for new projects Oct 10 16:05:39 idk, maybe Oct 10 16:05:57 probably can modify the default project template somewhere Oct 10 16:06:12 Ah, was wondering if there was a less intrusive way :) Oct 10 16:08:05 hi. i've a problem with loaders. After i call the getSupportLoaderManager().initLoader method and my loader's constructor finishes its execution, my app crashes Oct 10 16:08:15 and i don't have any crash message Oct 10 16:09:19 winegoddess, i press "F2" to jump to next error/warning inside the same file Oct 10 16:09:42 you should search yourself the many keymap inside the settings Oct 10 16:10:21 but for jumping to next lint issue, not sure, maybe just the arrow while having focus on it ;) Oct 10 16:12:08 adq thank you that is helpful from within the files once i am on an error...im trying to find out about starting with the Lint messages from within the design view with the red number http://imgur.com/a/5IwLq Oct 10 16:12:25 morning ll Oct 10 16:12:33 all* Oct 10 16:12:49 morning orbyt_ Oct 10 16:12:50 orbyt_: Morning ill Oct 10 16:13:16 Morning Ill: Common sickness experienced by Americans the morning after a "debate" Oct 10 16:13:29 winegoddess, arrow down/up works for me there Oct 10 16:15:11 hi adq - yes up/down works to see the messages, but i wonder about navigating to the offending line of code Oct 10 16:16:14 does not seem possible due to how exclusive this lint window is to "design" view Oct 10 16:16:49 still, you will get same things (warning/error) in text view but on the side with little markers Oct 10 16:17:00 and there you can just iterate over all of them with F2 Oct 10 16:17:17 here the code: http://pastebin.com/wd2gXiee Oct 10 16:17:24 nothing so complicated Oct 10 16:17:30 maybe if you run analyse/inspect code, you might have another lint window referencing same thing Oct 10 16:17:37 instead of using the preview lint window Oct 10 16:17:48 and from there, you will be able to "go to code" Oct 10 16:17:52 adq yes, when i initiate the analysis in that way it is navigable from the log window Oct 10 16:18:08 i was wondering if there was any way to do it from the screen i pasted Oct 10 16:18:25 if there is one, i'm not aware of, simply Oct 10 16:19:21 i dont suppose anyone has a link to a good way to build a complete representation of a device contact Oct 10 16:19:40 hi Oct 10 16:19:52 I found this in Android Studio lisense Oct 10 16:20:02 2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries including the country in which you are resident or from which you use the SDK. Oct 10 16:20:15 ny person residents in Iran, Syria, Northen Koryea or Sudan may not use the SDK? Oct 10 16:20:21 *any Oct 10 16:20:57 technological export laws Oct 10 16:21:04 hello guys, im updating a recyclerview's adapter in a loop , deleted indexes are unordered e.g 3-5-1. Is there any other way to do this ? something like notifyItemRangeRemoved? Oct 10 16:21:06 people in those countries take those clauses seriously? Oct 10 16:21:19 missingno: some of them Oct 10 16:21:50 os_: those who are paying attention knows that North KOrea has their own Mobile OS :) Oct 10 16:22:01 and their own Linux distro (Red Start, I think) Oct 10 16:22:06 sci-fic: check the docs. there is exactly that method Oct 10 16:22:06 *Star Oct 10 16:22:28 xximjasonxx: yes Oct 10 16:23:03 but i am asking about developing android apps Oct 10 16:23:13 are you in one of those countries? Oct 10 16:23:17 yes Oct 10 16:23:49 Misfortunes of course Oct 10 16:23:54 well, legally, that would state that you shouldn’t be using it. However, it would be a huge effort for Google to come and enforce it Oct 10 16:24:26 ok Oct 10 16:24:32 Generally, the US forbids the export of certain technologies to those countries. That clause is Google acknowledging it Oct 10 16:24:43 ok Oct 10 16:25:09 weird is this just a way for them to check off that requirement without implementing a janky ip blacklist or something Oct 10 16:25:12 actually microsoft doesn't acknowledging it Oct 10 16:25:37 The US law couldn’t be used to punish you, but it could be used to go after Google if they really wanted to. In reality, they’re not gonna go after someone making dinky little apps, unless those apps were used in warfare or terrorism Oct 10 16:25:49 and if that’s the case, this law is the least of their worries Oct 10 16:26:13 i would say you’re pretty safe in ignoring Oct 10 16:26:41 safe :) Oct 10 16:27:30 Even if Google wanted to sue you, doing so in Iran, in an Iranian court would be a pretty huge ordeal Oct 10 16:27:49 in country like Syria, the least thing will make you "not safe" is a "Violation of a software lisense" Oct 10 16:28:14 ok Oct 10 16:28:18 not legal Oct 10 16:28:25 Going through Lint messages in a simple project. getting a message that is about Gradle, Missing Return statement in build.gradle - is it expected that we shoudl be modifying this file to add a return statement? Oct 10 16:28:38 thanks everybody Oct 10 16:28:46 sorry os_ that you have to deal with such things Oct 10 16:28:51 Now, you probably will not be able to put your apps in the Play store Oct 10 16:29:17 winegoddess: no problem Oct 10 16:29:52 people here hates law Oct 10 16:30:09 everything related to law Oct 10 16:30:38 law in general? or just US/European law? Oct 10 16:30:47 law in general Oct 10 16:31:01 yeah, there are a few pockets of those people here too Oct 10 16:31:04 i foudn others discussing, and they say to add return void. but even they are questioning why we woudl need this / origin of the warning. anyone have insight? http://stackoverflow.com/questions/29045372/gradle-warning-missing-groovy-return-statement Oct 10 16:31:25 because local and global law's are often against them Oct 10 16:31:45 if you really want to understand the root of modern law, should read Hobbs Leviathan theory Oct 10 16:31:48 fascinating Oct 10 16:32:15 s73v3r: thanks for making it clear :) Oct 10 16:37:18 it seems that it crashes only if i debug it Oct 10 16:37:25 very strange Oct 10 16:38:16 hmm, does anyone have any pointers on how to actually use a custom surfaceview ? I've got a class that extends it, but I can't seem to make it work - when the layout is beign inflated, Android can't seem to find it's constructor Oct 10 16:42:53 adq, back - I have created "public class FlavorSpecific" in f1, in main MainActivity I have initialized this class. Upon build for f1 - everything ok, for f2 logicaly "Error:(129, 9) error: cannot find symbol class FlavorSpecific" - pls do not tell me that you ment something else... Oct 10 16:43:30 does F2 have FlavorSpecific in it? Oct 10 16:43:35 right now, you need to learn how flavor works Oct 10 16:43:40 and how they are architectured i think Oct 10 16:43:49 you cannot call from main something inside a flavor Oct 10 16:44:00 you can call from a flavor what is inside main Oct 10 16:44:41 Hi all. I am starting a project that will consist of two Android apps. Both apps will share a lot of network and database calls but the rest of the logic/UI will be separate. Is it better to split the functionality into modules or have shared code in main for the flavor? Oct 10 16:44:49 flavors are agnostic to each other, and main is agnostic of what is inside any flavors Oct 10 16:45:37 liuwenhao, use flavor Oct 10 16:45:43 s73v3r, no it does not - that's why I am not that surprised with that error Oct 10 16:45:54 I don't forsee any of our other apps using the shared code so having a separate module/library maybe is overkill? Oct 10 16:45:54 Thanks @adq Oct 10 16:46:03 s73v3r: im reading Recyclerview.Adapter docs but i still could not find :/ Oct 10 16:46:04 liuwenhao: How much difference is there going to be between the two apps? Oct 10 16:46:06 adq, "you can call from a flavor what is inside main" - ok Oct 10 16:46:11 liuwenhao, however if your two apps are radically different but still use some code in common, you better create a lib/module Oct 10 16:46:18 than you import in both of your projects Oct 10 16:46:27 i was confused because you said "a project", not two or more Oct 10 16:46:32 sci-fic: read it again. there is a range version of notify changed Oct 10 16:46:36 usually a project contains modules Oct 10 16:46:49 it's close to a project is an app which will use some library Oct 10 16:47:14 @s7ev3r basically one app is client facing and the other is admin. The backend for each is the same, including (most) of the endpoints. There might be some shared UI elements but I'm not sure atm Oct 10 16:47:31 i wouldn’t use flavors for that Oct 10 16:47:46 yeah it really depends Oct 10 16:47:46 Modules then? Oct 10 16:47:47 do you mean notifyItemRangeRemoved(start,count) ? Oct 10 16:48:17 no, notifyItemRangeChanged Oct 10 16:48:30 no, wait Oct 10 16:48:56 yeah, that one Oct 10 16:50:02 but as i said my indexes are unordered like 3-5-1 Oct 10 16:50:04 huh, I geuess I just had to create another constructor that takes 2 arguments instead of 1 Oct 10 16:50:17 that shouldn’t matter Oct 10 16:50:22 really ? :O Oct 10 16:50:36 Android development seems to be very much about throwing things at a surface and seeing what renders Oct 10 16:50:48 i guess i have no idea what you’re referring to when you say indexes. there are lots of concepts of indexes Oct 10 16:51:11 things are always shown in the same order, are they not? Oct 10 16:52:55 they're always different Oct 10 16:53:10 then you’ll have to do them one at a time Oct 10 16:53:17 emilsp: That's generally how UI programming goes when you have a certain time frame to render all of your updated views yes Oct 10 16:53:46 so you’re saying that if i scroll down, and then scroll back up, things won’t be in the same order? Oct 10 16:54:16 @s73v3r Sorry I got disconnected from IRC. Why not use flavors for it? Since they are both part of the same product. Just curious. Oct 10 16:54:39 flavors are for if you have slight differences. Like changes in branding or ads/no ads Oct 10 16:54:40 emilsp: https://dzone.com/articles/hurry-you-only-have-16ms Oct 10 16:56:26 Makes sense. What's the best way to keep the shared code in sync then? Should I split it into three projects (frontend, backend, library) and then just import the library into both front/back? Oct 10 16:56:36 sounds good Oct 10 17:17:45 thanks yiati :) Oct 10 17:17:58 is there a way I can force my surfaceview to be invalidated 60 times a second tho ? Oct 10 17:20:16 Could a massive amount of bluetooth devices near me cause issues connecting to a specific device? Oct 10 17:21:17 orbyt_ probably. dragorn is the expert in RF stuff like that Oct 10 17:22:40 Well im in the office atm, and there's probably 400+ devices if I do a scan, and i cant seem to connect to the one right next to my phone. Oct 10 17:22:47 But in my apartment, it was working fine. Oct 10 17:23:19 yep Oct 10 17:23:49 one of the reasons why i still prefer usb keyboard / etc Oct 10 17:23:49 >=( Oct 10 17:24:20 ran downstairs and had the same issue...need to ask about the range on these things Oct 10 17:24:36 mechanical usb keyboard with macro keys is the best Oct 10 17:24:41 g00s: !!! Oct 10 17:24:54 I have a lot of obscure android studio stuff and random scripts bound to macro keys Oct 10 17:25:01 hey thepoosh Oct 10 17:25:19 Yea i cant wait to pickup a mech when i get a new setup Oct 10 17:25:26 clickity clack Oct 10 17:25:27 mechanical keyboard is evidence of douche essence Oct 10 17:25:27 rumor is next MBP will have a touchscreen replace the Fn keys Oct 10 17:25:44 g00s: bought flight tickets to Berlin Oct 10 17:25:48 thepoosh: what? why would you say that, mech keyboards are great Oct 10 17:25:49 for the firebase event Oct 10 17:25:56 thepoosh oh , cool Oct 10 17:26:39 oh nice, the ceylon guys have VS Code support now Oct 10 17:26:43 * g00s <3 VS Code Oct 10 17:27:01 g00s: you should try Sublime, so much better Oct 10 17:27:08 tried it, dumped it Oct 10 17:27:16 its fast, about it Oct 10 17:27:24 g00s: VS Code is built on electron <3 Oct 10 17:27:48 i actually don't like VS code Oct 10 17:27:52 VS Code is not as fast, but bast enough and has much more momentum in terms of developers working on it. expecting great things Oct 10 17:28:14 ST with Material Theme, or Brackets has been my choice as of late Oct 10 17:28:21 tbh i switch every few weeks lol Oct 10 17:28:29 orbyt_ lol Oct 10 17:28:47 i go between atom and VS Code, every year or so when ST does a release i try it too Oct 10 17:28:57 Atom is built on electron to =/ Oct 10 17:29:00 :D Oct 10 17:29:12 MS seems to have done much better job optimizing Oct 10 17:29:37 try AS and cry. Oct 10 17:29:40 :)) Oct 10 17:29:52 Funny enough, is Electron was the actual framework they used to build Atom, and they packaged it up and renamed it from Atom shell Oct 10 17:29:54 one can’t compare VS Code and AS Oct 10 17:30:05 you can compare VS and AS, and there you get about the same Oct 10 17:30:15 thepoosh what firebase thing were you most interested in ? Oct 10 17:30:28 Whats wrong the AS? It's literally intellij idea Oct 10 17:30:59 most of the issues I’ve had with it aren’t the IntelliJ parts, but the Google parts Oct 10 17:31:04 orbyt_ with bloat and bugs :D Oct 10 17:31:38 g00s: Well I guess the biggest issues i've had are non core intellij features Oct 10 17:31:45 Whats wrong the AS? It's literally intellij idea < !!! uh Oct 10 17:31:46 eg the damn file->new bug Oct 10 17:31:51 you do'nt want to start me on that Oct 10 17:31:59 adq: what why Oct 10 17:32:34 so, the way to make a surfaceview refresh is to call invalidate() from onDraw() Oct 10 17:32:37 woohhoo Oct 10 17:32:41 because i would not know where to start, and especially _when_ it would end even carefuly not being exhaustive Oct 10 17:32:58 ok Oct 10 17:33:31 g00s: instant run Oct 10 17:33:41 orbyt_, you wouldn't generally want to be right next to the device - especially depending on the antenna. I'd back off by 5-10 feet Oct 10 17:33:54 but for now, app indexing is my baby but FCM and config are the most interesting Oct 10 17:33:55 orbyt_, beyond that, you can turn on some wifi debugging in developer options, and you can watch logcat Oct 10 17:34:07 with 400 active APs visible, you're going to have a fairly crummy experience. Get on 5ghz if you can. Oct 10 17:34:08 thepoosh firebase instant run ? Oct 10 17:34:38 i think it's done as part Oct 10 17:34:48 i have no idea what that is Oct 10 17:35:28 https://developer.android.com/topic/instant-apps/index.html Oct 10 17:35:40 oh that Oct 10 17:35:44 yeah Oct 10 17:35:54 just learn dart .. prepare and be ahead of the wave ! Oct 10 17:36:15 flutter (& flutter) Oct 10 17:36:25 lol no Andromeda announcement last week but we know its coming Oct 10 17:38:31 dragorn: Are you talking about wifi? You mentioned wifi debugging and 5ghz Oct 10 17:38:44 im talking bluetooth devices Oct 10 17:38:49 orbyt_, oh, BT is far crappier Oct 10 17:38:52 gd it, Don't use if you're also using setProgress(int, int, boolean); they occupy the same location in the standard template. src: https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Builder.html#setSubText(java.lang.CharSequence) Oct 10 17:38:52 good luck with that Oct 10 17:38:57 this is not valid on "N" Oct 10 17:39:14 dragorn: yea, I was just curious why i could scan the device, but not create a connection Oct 10 17:39:22 in this office* Oct 10 17:39:24 apartment works fine Oct 10 17:39:49 orbyt_, you've likely got so much interference it can't negotiate the pairing. bluetooth is a very wacky, kind of crummy protocol. Oct 10 17:40:32 Make sense Oct 10 17:40:36 makes* Oct 10 17:40:43 ty Oct 10 17:43:35 .setContentInfo content is displayed on N, but not on M Oct 10 17:43:52 err the contrary, anyway Oct 10 17:47:45 that's ok, I cant get .setAutoCancel(true) to work either Oct 10 17:48:06 true, false, the notifications behave the same, they don't disappear unless I swipe... Oct 10 17:48:51 let me try quickly Oct 10 17:49:55 if i click the notif (where .setAutoCancel(true) is set ofc), notif disappears, on M and N Oct 10 17:51:18 azv4, maybe you forgot to set a pendingintent? Oct 10 17:51:39 if won't disappear without one set with setContentIntent Oct 10 17:55:15 anyone home? Oct 10 18:03:51 I need halp Oct 10 18:04:27 Has anyone been able to get mock location working with Android LocationServices.GeofencingApi? Oct 10 18:04:55 I've opened an issue on the Android Sample project that doesn't seem to work with mock location https://github.com/googlesamples/android-Geofencing/issues/7 Oct 10 18:05:14 I haven't played with geo fencing, sorry Oct 10 18:06:49 Is there a way to have users select an event via the Calendar Provider? Oct 10 18:07:18 Here's more context: http://stackoverflow.com/questions/39940175/user-pick-calendar-event Oct 10 18:26:06 hi all, what are your favorite battery benchmarking/profiling tools Oct 10 18:26:07 ? Oct 10 18:27:44 thebishop: Depends on what you want to benchmark or profile Oct 10 18:28:45 but generally the built in performance monitoring tools for DDMS are pretty nice Oct 10 18:29:22 thebishop: https://developer.android.com/studio/profile/android-monitor.html Oct 10 18:30:44 yiati, thanks, and the answer is both :) Oct 10 18:31:19 yiati, i want benchmarks for baseline battery performance with/without my app, as well as profiling to identify places to improve my app Oct 10 18:31:55 I wasn't talking about one or the other for benchmarking or profiling, I was talking about what to benchmark and/or profile which there are plenty things that can be evaluated (battery/ram/disk/gpu/cpu/etc) Oct 10 18:32:38 thebishop: For battery I actually like a separate project made by Google called battery historian https://github.com/google/battery-historian Oct 10 18:32:54 yiati, cool, yeah i'm looking at that one now Oct 10 19:04:33 hi, is it possible to have VT-100 support in Android Studio, in the Run (logcat) window ? I'm used to have a coloured log. Oct 10 19:04:43 it could also be a different set of colour codes, but what I have already implemented in my portable app is VT-100 & XCodeColors. Oct 10 19:05:05 you can color the log, but I don’t think you can get VT-100 Oct 10 19:05:52 i recall there being somewhere that you can set colors for the different log levels (debug, info, warn, etc), but I don’t remember where that setting is Oct 10 19:08:41 So weird. I can get mock location with work with raw LocationManger, and with Google Play Services LocationServices.FusedLocationApi, but I can't get it to work with Google Play Services LocationServices.GeofencingApi Oct 10 19:09:17 This Ray Wenderlich tutorial is event showing the settings to change to get it working which are the same I follow for LocationManager and FusedLocationApi https://www.raywenderlich.com/103540/geofences-googleapiclient Oct 10 19:09:49 This is driving me crazy, and I can't debug it because Google Play Services is closed source Oct 10 19:10:01 * yiati rage quits Oct 10 19:10:20 yay closed source Oct 10 19:11:15 i’m guessing that api was never meant to work with mock locations Oct 10 19:11:59 s73v3r: It would be crazy not too, and this tutorial shows them getting it to successfully work with it https://www.raywenderlich.com/103540/geofences-googleapiclient Oct 10 19:12:04 * yiati shrugs Oct 10 19:12:10 file a bug Oct 10 19:12:23 Would that go on b.android.com ? Oct 10 19:12:27 yes Oct 10 19:13:12 have you tried going through their tutorial with their stated versions of stuff? Oct 10 19:13:12 Hmm I thought b.android.com was for open source android stuff only, do play service tickets go there too? Oct 10 19:13:24 if they don’t, they’ll tell you were to put it Oct 10 19:13:34 Yep, they don't show any mock location on the Geofence tutorial page Oct 10 19:13:41 s73v3r, ok, it's in File->Settings->Editor->Colors->Logcat. It's quite limited (just the log levels, no grep feature), but thanks anyway. Oct 10 19:13:42 https://developer.android.com/training/location/geofencing.html Oct 10 19:14:11 the one you linked doesn’t show mock locations, but you said it did? Oct 10 19:15:48 s73v3r: The raywenderlich tutorial shows it Oct 10 19:15:55 The official Google one does not Oct 10 19:16:01 and have you gone through it and made sure it works? Oct 10 19:16:12 yep Oct 10 19:16:31 and now with newer versions of the play libraries it doesn’t Oct 10 19:17:59 s73v3r: I've tried with the latest, as well as the version they have listed in that semi-old tutorial for raywenderlich Oct 10 19:18:37 I can get mock location working no problem with FusedLocationProviderApi and LocationManager Oct 10 19:20:10 then put that in your bug report Oct 10 19:20:20 it probably was never meant to work with whatever you’re using Oct 10 19:21:15 Hmm looks like it could be an emulator image issue https://code.google.com/p/android/issues/detail?id=162606&q=mock%20location%20geofence&colspec=ID%20Status%20Priority%20Owner%20Summary%20Stars%20Reporter%20Opened Oct 10 19:21:33 anyways, the only thing you can do now is file a bug Oct 10 19:22:34 yeah I guess :P thanks s73v3r Oct 10 19:32:13 huh i thought these various quick charge schemes were more intelligent than just cranking up the C Oct 10 19:32:19 https://axelonet.wordpress.com/2016/10/10/quick-charge/ Oct 10 19:32:45 300 - 550 cycles is quite significant, especially if you don't have a rechargeable battery Oct 10 19:32:55 replaceable battery lol Oct 10 19:33:27 highschool physics cursus Oct 10 19:33:31 oh thats the discharge capacity ugh Oct 10 19:33:45 same options exist on battery car charger too Oct 10 19:34:13 g00s, the smarts are all about balancing it to not overheat the battery or overcharge it Oct 10 19:34:16 however the chemical tech is different than ion-lithium Oct 10 19:34:23 g00s, other than that it's just ramming more current in. roughly. Oct 10 19:34:41 yup Oct 10 19:52:53 Does anyone here have a favorite go-to library for oauth authentication Oct 10 19:55:21 adq, thank you for patience - test done Oct 10 20:37:33 hi, if an app uses the on-going status notification icon, if the status text within it needs to be updated, does the icon need to hide and show ? Oct 10 20:50:53 VS Code 1.6 \o/ Oct 10 20:51:13 ? Oct 10 20:51:25 Sep release has more stuff than ST gets done in a year Oct 10 20:55:49 sorry I thought that was a response to my question earlier Oct 10 20:56:26 god, I really don't understand why googlers have such a hard time pressing the jcentral->central sync button Oct 10 21:00:01 syncing sonatype maven central with jcenter? Oct 10 21:01:36 yes Oct 10 21:03:03 the last time someone pushed the button with his dirty fingers because he was eating a kebab and now nobody wants to touch the filthy button anymore Oct 10 21:03:12 that simple Oct 10 21:03:22 yeah, that's pretty much what "technical issues" means Oct 10 21:05:35 g00s: do you use Visual Studio Code for Android development? Oct 10 21:05:56 Melatonina no, there is no support for android. It does have basic Java support already though Oct 10 21:06:14 i doubt anyone would bridge that gap still though, lots of work Oct 10 21:06:18 java support is all you really need for android development, though Oct 10 21:06:33 there is support, but from MS not google Oct 10 21:06:43 adq the Java support is from Redhat actually Oct 10 21:06:46 they even got visual studio emulator running on hyper-v Oct 10 21:06:55 which is another alternative of the qemu image or genymotion Oct 10 21:07:19 g00s, yeah maybe, i just speak in general about android dev with ms tools Oct 10 21:07:37 still it was not convincing enough for me to switch ;) Oct 10 21:07:55 i think usable support would require, for example, XML files being able to autocomplete resources and attributes for example Oct 10 21:07:58 (except their emulator which i had overused from quite some time, despite even paying for gm) Oct 10 21:09:16 i think they focused a lot on xamarin due to the fact they bought it Oct 10 21:09:18 sadly Oct 10 21:09:41 if i was a bit smarter i'd seriously consider trying to implement it. as is i'd have to learn JS, electron, and a bunch of other stuff Oct 10 21:10:16 MS also has this https://github.com/Microsoft/language-server-protocol Oct 10 21:10:31 s/smarter/less lazy/ Oct 10 21:10:32 :p Oct 10 21:10:39 * g00s wonders how ceylon guys did it Oct 10 21:10:47 adq smarter & less lazy :D Oct 10 21:10:52 the lua support from MS in vs is absolutely a joke Oct 10 21:11:11 so i can imagine if they don't support half of the thing in android dev like completing res xml & other stuff it's dead Oct 10 21:11:53 adq all it has to do is build in less than 5 minutes => 100% conversion :D Oct 10 21:12:05 ahah that's fast indeed Oct 10 21:12:31 * ship bug faster, by building faster * Oct 10 21:55:39 It's cold here. I need to buy a Samsung Galaxy Note 7 Oct 10 21:59:25 or three Oct 10 22:09:57 Melatonina good luck trying to find one, i think they suspended production Oct 10 22:13:47 They suspended production and retired the products from the shelves of smartphone stores but they are still available in the best stores of weapons and stoves and heaters Oct 10 22:15:00 hi Oct 10 22:15:36 AlecTaylor: hi!! !! !! ! Welcome back Oct 10 22:16:59 :) Oct 10 22:20:15 I am including an XML layout from a separate file. It has `NestedScrollView->ViewSwitcher->{RelativeLayout->TextView, RelativeLayout->ListView}`. Demoting the NestedScrollView to NestedScrollView->RelativeLayout->TextView didn't work, because my Activity onCreate could no longer find my ViewSwitcher ID :( Oct 10 22:21:00 * AlecTaylor notes new scheme is: ViewSwitcher->{NestedScrollView->RelativeLayout->TextView, RelativeLayout->ListView} Oct 10 22:21:40 Only 1 row appears in my ListView, and reading online it appears that scrolling is implemented in a ListView anyways, so I'm trying to get that bit working Oct 10 22:31:10 how many rows your build.gradle has? Oct 10 22:31:22 rows? Oct 10 22:31:26 AlecTaylor: I didn't understand what is your problem. I hope other people is smarter than me Oct 10 22:31:37 bolovanos: what question is that? Oct 10 22:31:58 yes - wondering whether mine 140-+ is normal or not Oct 10 22:32:20 started with few rows and it grows each day Oct 10 22:32:21 bolovanos: they are usually called lines and their numbers depends on the content. It has as many lines as needed Oct 10 22:32:36 bolovanos: does you add stuff to it? Oct 10 22:32:43 AlecTaylor: It couldn’t find your ViewSwitcher ID because you didn’t have one. You can remove references to it in the activity Oct 10 22:32:47 bolovanos: or does it grows by itself? Oct 10 22:33:25 Melatonina, I am adding - no mystery behind :) Oct 10 22:34:15 bolovanos: so what's the problem? :D If your application is more complex than mine, it will probably have a longer build.gradle Oct 10 22:35:15 s73v3r / Melatonina: Hmm, was able to get a little further in troubleshooting. So my XML file looks like: ` So it can't find the ID when it's set on the outer XML element Oct 10 22:35:33 :( Oct 10 22:35:52 Melatonina, not sure if it is ok - it mainly grow because of tweaks (renaming files, moving files) Oct 10 22:36:20 AlecTaylor: the outer view is the one you have by reference, no need to find it by id... Oct 10 22:36:48 Melatonina: What do you mean? - How do I have it by reference? Oct 10 22:37:14 AlecTaylor: Sorry, I was confused with fragments Oct 10 22:37:26 * AlecTaylor is about to try => http://stackoverflow.com/questions/10803672/findviewbyid-not-working-for-an-include Oct 10 22:37:47 AlecTaylor: there you have an explicit view Oct 10 22:38:00 AlecTaylor: did you try using an id in the tag? Oct 10 22:38:23 That's what that stackoverflow told me to do, so I'm trying that now. Then will get the child Oct 10 22:38:31 Too bad I can't get it directly though... Oct 10 22:40:15 bolovanos: I didn't write complex app so far, only many small apps to test one feature or another. My most complex build.gradle is 34 lines long. Quite small. Oct 10 22:40:51 bolovanos: I tend to use many modules so I have lots of small build.gradle files. Oct 10 22:41:04 Melatonina, ok - thank you for anser - btw my app is also not complex, but I am just tweaking gradle in order to have easier deployment... Oct 10 22:41:48 Melatonina: Hmm, just tried that, but it couldn't find the ID when I started searching: `findViewById(R.id.outer).findViewById(R.id.inner)`, returned `null` Oct 10 22:42:04 Even though inner is clearly there. Is there another way to find it? Oct 10 22:42:21 I can't help you. Sorry Oct 10 22:43:04 How do I Oct 10 22:43:25 How do I list all IDs under a view? - (R.id.)? Oct 10 22:44:38 hi Oct 10 22:44:51 i am on ubuntu 14.04 Oct 10 22:45:49 how can i develop android app without IDE just with terminal and create files in gedit i have installed openjdk Oct 10 22:47:13 you can use gradle standalone Oct 10 22:47:30 however, developing Java without an IDE is pretty foolhardy Oct 10 22:47:32 AlecTaylor: http://android-wtf.com/2013/06/how-to-easily-traverse-any-view-hierarchy-in-android/?i=1 Oct 10 22:47:34 you can use gradle by itself Oct 10 22:47:39 sbt, maven, lein, etc. Oct 10 22:47:42 all can build android apps Oct 10 22:47:46 ant, even, but no aar Oct 10 22:48:08 AlecTaylor: http://stackoverflow.com/a/4872263 Oct 10 22:48:26 does exist an ide online? Oct 10 22:48:32 Using this I found the ID of my ViewSwitcher under the ID of my `include` 2131492978 => http://www.grokkingandroid.com/finding-all-view-ids-of-an-android-ui/ Oct 10 22:48:48 How do I convert that number to the R.id. equivalent? Oct 10 22:49:39 i need to develop and my system cant run android studio Oct 10 22:50:33 Melatonina: On that StackOverflow answer... hmm, what type should I cast my we’ve given you the options, but if your company needs you to do this, then they had better be giving you adequate tools to do so Oct 10 22:51:12 i develop for myself Oct 10 22:51:46 linuxlove: http://stackoverflow.com/documentation/android/85/getting-started/9496/android-programming-without-ide Oct 10 22:53:16 eh, this guy's been here in the months past, asks the same thing... Oct 10 22:53:18 * AlecTaylor thinks it's important to do it the CLI way at least once so you know what magic Android Studio is doing Oct 10 22:53:36 AlecTaylor: I guess that get substituted with the included content early and there is no trace of them Oct 10 22:53:53 Melatonina: So what type is the include? Oct 10 22:53:53 AlecTaylor: maybe there is no trace of them in the view tree Oct 10 22:54:10 AlecTaylor: so it has no type because it's not reified Oct 10 22:54:18 AlecTaylor: it's pre-processed Oct 10 22:54:32 AlecTaylor: I'm not sure. That's my guess Oct 10 22:54:36 So is the ID of the include applied to the first element of what it's including? Oct 10 22:54:36 I can't figure out how to add a Fragment in PopupWindow. No matter what I do, I always get a “No view found for id 0x7f0c0051 (com.example.android.submenuapp:id/fragment_container) error”. I think this is due to the fact that the view I’m trying to inflate my fragment in, is not completely inflated. But I’m not sure. I got better result adding the fragment directly in xml but this is not what I want since I need to use f Oct 10 22:54:47 AlecTaylor: I guess so. Oct 10 22:54:50 anyone got any github example? Oct 10 22:54:51 Cooooool Oct 10 22:54:52 AlecTaylor, really thanks Oct 10 22:54:54 :D Oct 10 22:54:58 AlecTaylor, the include type is the type of the root element of the included layout Oct 10 22:55:02 nps linuxlove ; happy hacking Oct 10 22:55:04 you are great Oct 10 22:55:06 :D Oct 10 22:55:15 AlecTaylor: I didn't read this anywhere. It's just my guess Oct 10 22:55:27 pfn Sweet Oct 10 22:55:34 what else could it possibly be Oct 10 22:55:35 pfn - then that would solve all my problems Oct 10 22:56:03 pfn: I thought it might be some sort of hierarchy above that, IncludeType->FirstXMLElementID->... Oct 10 22:56:13 has no type Oct 10 22:57:15 YAY it works Oct 10 22:57:17 :D Oct 10 22:57:29 Melatonina, don't be the blind leading the blind Oct 10 22:57:40 Okay cool, I can now refactor my code so that the ListView is no longer in a NestedScrollView Oct 10 22:57:54 pfn: what do you mean? I was blind but I told you exactly the same as you Oct 10 22:58:03 pfn: I told him Oct 10 22:58:47 I thought that deserved a compliment not a reprimand Oct 10 22:59:03 AlecTaylor: so it has no type because it's not reified Oct 10 22:59:04 AlecTaylor: it's pre-processed Oct 10 22:59:04 AlecTaylor: I'm not sure. That's my guess Oct 10 22:59:07 that's not quite answering anything Oct 10 22:59:31 it's answering the same as you answered, actually Oct 10 22:59:33 AlecTaylor, i need to sdk Oct 10 22:59:47 where can i download that ? Oct 10 22:59:55 not even remotely the same Oct 10 22:59:55 developer.google.com Oct 10 22:59:56 AlecTaylor, the include type is the type of the root element of the included layout Oct 10 22:59:57 has no type Oct 10 23:00:19 pfn: then you have understanding problems because it's actually the very same thing Oct 10 23:00:29 yay, another person to ignore Oct 10 23:00:30 developer.google.com is out of usage in Iran Oct 10 23:00:48 save so much time without having to help scrubs Oct 10 23:00:54 your misunderstanding, your rage, your ignoring, your problem Oct 10 23:01:10 linuxlove: you might be able to get it from apt Oct 10 23:01:20 s73v3r, how? Oct 10 23:01:33 apt-get install android-sdk, i think Oct 10 23:01:37 pfn: you are just being silly. Have a nice day Oct 10 23:01:53 you’re the second iranian to come in here today asking about developing android apps Oct 10 23:02:00 probably the same one Oct 10 23:02:17 no, they were going to use AS Oct 10 23:03:18 s73v3r, E: Unable to locate package android-sdk Oct 10 23:03:34 i’m not sure if that’s the actual name Oct 10 23:03:35 and developer.android.com Oct 10 23:03:39 not developer.google.com Oct 10 23:03:45 the former shouldn't be blocked... Oct 10 23:03:48 pfn, out of usage Oct 10 23:03:49 that too Oct 10 23:04:00 well, no point in writing android apps then Oct 10 23:04:05 you have no means of distribution Oct 10 23:04:21 pfn, is it justice? Oct 10 23:06:23 can someone give me a link for download? Oct 10 23:07:18 pfn: actually, you answer literally taken is WRONG Oct 10 23:07:30 pfn: mine was better worded Oct 10 23:08:24 Curious, how did you become confident with compatability in Android? I am trying to be sure I get it, and am jumping back and forth id documentation and APIs trying to understand all that is needed if supporting a minSDK of say 14, and which support libraries will be needed for which features. Oct 10 23:08:43 winegoddess: Just say `minSdkVersion 21`. Oct 10 23:09:14 That doesn't guarantee a simple life, but it definitely simplifies it. Oct 10 23:09:34 winegoddess: don't you get warnings when you use features that are unsupported on your minSdkVersion API? Oct 10 23:10:19 thanks TacticalJoke. I do get that would simplify things. But I have a tablet i want to create an app for my son, and it needs API version 14. Oct 10 23:10:41 winegoddess: at the moment I'm not very worried about compatibility but I sometimes get complaints by Android Studio about such things Oct 10 23:11:43 Melatonina thanks. i have seen that and also using Lint to get feedback in Android Studio. Just trying to get it clear in my head some example features that I wont be able to use, or which I woudl need v4, v7, vX compat library Oct 10 23:13:11 winegoddess: If the app is simple, it might not be too much of a pain to support API 14. What kind of app is it? Oct 10 23:15:16 TacticalJoke - i have a few ideas. right now I am just creating sample applications to practice and figure things out. I had hoped everyone might say, oh, if you go to this site, it explains it all very clearly. :) Oct 10 23:15:33 But if I want to even use certain parts of the Material theme, I assume I will import the Design support library. If I want to use Constraint Layout, will that make a difference? Which approach to the ActionBar shoudl I take... Oct 10 23:15:37 questions like that Oct 10 23:16:01 so I guess I will just go about it 1 at a time, i just fear I am going to repeat myself and not do things the right way. Oct 10 23:17:02 but that’s how you learn Oct 10 23:17:18 you can spend months overanalyzing what the “right” way is, and have absolutely nothing to show for it Oct 10 23:17:32 winegoddess: http://stackoverflow.com/questions/24445012/material-design-backward-compatibility Oct 10 23:18:17 s73v3r Amen to that. Ive been stuck in a loop Oct 10 23:18:35 doing stuff wrong is how you get it right Oct 10 23:18:40 I don't know of any site that concisely and comprehensively enumerates the SDK differences between Android versions, unfortunately. Oct 10 23:18:56 winegoddess: but yes, in the end just go ahead. You will have to adapt some details of your app and/or switch to an compatibility library from some source (there are also third-party backports, sometimes) Oct 10 23:19:15 I agree with s73v3r. Also, this is a good channel for help. Some of the more knowledgeable devs hang around in here. Oct 10 23:19:43 and also some of the more irascible Oct 10 23:20:30 Oh, definitely. That's the downside of IRC. Oct 10 23:22:33 Well, one of the downsides. Oct 10 23:22:45 it's because AS is making them crazy Oct 10 23:23:24 winegoddess, https://guides.codepath.com/android/ you have plenty of stuff here Oct 10 23:23:47 ##java used to be one of the worst. Anybody whose name wasn't well known who asked a difficult question was insulted in there. Not sure how it is nowadays. Oct 10 23:23:49 Thanks all, I appreciate it Oct 10 23:24:52 and thanks adq i hadnt seen that site before Oct 10 23:24:56 hey, when printing out stacktraces from Gradle errors, I get the “Caused by … at …. 86 more" Oct 10 23:25:16 how do I get it to print the entire stack trace, with the more lines Oct 10 23:31:28 Hey! I was hoping someone could point me in the right direction as to where to research how to implement a feature in my app. Bascially I am trying to have one user draw to the screen while another is able to watch on their device. It also has to be able to connect with android devices with this feature. Oct 10 23:31:44 I'm really just looking for things to google to begin research Oct 10 23:33:13 androidn00b: if you look at the Realm Mobile Platform demo you'll an application that works just like that. You'll also be able to develop a similar application using the Firebase real-time database Oct 10 23:33:20 s73v3r: Is it `--full-stacktrace`? Not sure: https://docs.gradle.org/current/userguide/logging.html#sec:choosing_a_log_level Oct 10 23:33:37 androidn00b: ...you'll see an application... Oct 10 23:33:56 i just tried that, and it gave me about the same Oct 10 23:34:31 androidn00b: look at the video in this page: https://realm.io/news/introducing-realm-mobile-platform/ Oct 10 23:35:36 Hi. I have an old Eclipse ADT project in Github, and I need to do some maintenance. Is the best practice to clone from github, and then import into Android Studio? Oct 10 23:36:35 Or should I use "check out project from version control"? Oct 10 23:37:03 Melatonia: I am actually using the Firebase Realtime DB currently. Would I just continously save the file with the drawing to the DB and have the other user recieve the drawing as it updates in the DB? Oct 10 23:38:54 androidn00b: you don't need to save the whole drawing. You can add, remove and update graphic items on the database, mirroring the changes in your visual objects Oct 10 23:39:13 androidn00b: I mean, save the whole drawing each time Oct 10 23:41:14 androidn00b: if a Firebase item at a given path represents the drawing and you add a child representing a circle or a pen stroke, the other clients, setup to listen to the changes in the children of that item, will receive the update about the addition of that item. Same with deleting or updating. Oct 10 23:42:27 Melatonina: I see so I would just save/update the individual changes. Do you know if the visual objects I would be saving to the DB would be compatabile with IOS devices? I am currently able to share text posts with IOS devices so i dont see why not Oct 10 23:42:49 Melatonina: That explaination makes sense. Oct 10 23:44:22 androidn00b: you choose a set of graphics primitives that you can render on all the platform you are interested to use and you'll be fine. Choosing the primitive will not be a problem. I'm sure all platform will be able to represent text, splines, ovals, rectangles, etc. Oct 10 23:45:21 Melatonina: Ok, that makes a lot of sense. Thanks for the help, I will look into it. Oct 10 23:45:32 androidn00b: your are welcome Oct 10 23:56:41 is anyone else seeing gradle fail in the extractReleaseAnnotations step? Oct 11 00:00:57 no Oct 11 00:29:28 Hey is anyone having the issue when compiling a library project about failing for task :extractReleaseAnnotations? Oct 11 00:32:16 yup Oct 11 00:32:36 no solution yet Oct 11 00:33:33 what are you guys using Oct 11 00:34:09 for us, it’s just building on the command line (and with Jenkins) Oct 11 00:34:23 yeah but you have to have some sort of gradle setup with the problem no? Oct 11 00:34:29 certain annotation processors or plugin version Oct 11 00:34:36 we haven’t touched that in a while Oct 11 00:34:41 it just started failing today Oct 11 00:34:49 sounds foreboding Oct 11 00:35:24 APT supposedly updated over the weekend, but I don’t know how to check the version, or know if mine updated Oct 11 00:40:04 you have to open the sdk manager to update it Oct 11 00:40:24 (or AS can update it, but it still requires interaction and acknowledgement of some sort) Oct 11 00:40:47 oddly enough, building through AS still works Oct 11 00:41:45 i’m not even sure what APT is, or what it does Oct 11 01:29:50 I have an AsyncTask with an interface whose callback method, overridden in the Activity, does a lot work (including the instantiation of other threads). Is it recommended to place AsyncTasks inside Fragments to mitigate the destruction of the Activity during rotations? Or is there a better way which doesn't require the passing around of lots of data, especially in the case of a more complex async task? Oct 11 01:55:18 adding 'gradle :app:uninstallAll' to the "before launch" of my Run/Debug Configurations no longer uninstalls my app from the device. Anyone else notice this? Is this a bug with AS 2.2? Oct 11 01:57:33 I mean I can manually clear the data on the device but that's a pretty crappy solution. Oct 11 02:19:51 "Samsung Galaxy Note 7 owners told to turn off device" Oct 11 02:21:09 i just read an article about that today.... i swear they've said this constantly for the last month Oct 11 02:49:09 bankai_ they should just package in a fireproof bag with each phone Oct 11 02:49:32 self-addressed so if something goes wrong, you just send it in :D Oct 11 02:50:27 but seriously, i think people now realize the value of being able to just go to apple store and get help / replacement in person **** ENDING LOGGING AT Tue Oct 11 02:59:58 2016