**** BEGIN LOGGING AT Sat Oct 08 02:59:58 2016 Oct 08 03:12:27 hi Oct 08 03:12:29 My ListView only shows one row. Hmm actually is my nesting overdone? - If yes, how should I solve this? - `CoordinatorLayout -> {AppBarLayout, ProgressBar, include, FloatingActionButton} -> include -> NestedScrollView -> ViewSwitcher -> {RelativeLayout -> TextView, RelativeLayout -> ListView}` Oct 08 03:12:42 orbyt_: It has 8 elements, I checked in the constructor Oct 08 05:37:54 Hey guys, writing an flashlight app for a project. Forsome reason, I can't open the camera. Please anyone have any tips suggestions? Code sample here -> https://dpaste.de/2hJj Oct 08 07:10:50 Hi, can I have an exported apk that supports API's 19 to 24 ? - Cause when I set API 24, it doesn't build for device having API 23 Oct 08 07:27:24 How does the rotation sensor gets its value and how can it be better than the compass? Oct 08 07:50:25 Come on, why creating new project with minimum API 23 is new even building the code :( Oct 08 08:40:23 is android bignerd ranch tutorial still great for beginners? Oct 08 09:09:25 Hi, anyone can answer this? I've created an Instance of a Class via Class.forName to find out where it is located, and the result in dexCache is a *.jar. Now i take this jar and open it to see the classes, but its only a 1KB jar without any classes. Anyone knows why? Oct 08 09:16:08 is there an open API to receive voice commands? Oct 08 09:16:30 like, in a plug-in manner - retaining the google voice thing Oct 08 09:34:00 Is there a way to limit permissions? Im getting an error that my process does not have the permission to access something, but i've added it Oct 08 09:39:23 Remember runtime permissions on 6.0+ Oct 08 09:44:07 Actually im trying to execute a method in a class by the huawei framework. The permission required is this: - I've added it, but when i execute the method i get : "Requires SELFBUILD_IR_SERVICE permission: Neither user 10121 nor current process has huawei.android.permission.SELFBUILD_IR_SERVICE." Oct 08 09:44:33 So I'm puzzled by this - does it mean, the System can deny access to some permissions for non-system apps? Oct 08 09:44:48 Yes Oct 08 09:44:52 Lots of permissions are system only Oct 08 09:46:32 Could there be a way to still call the method by circumventing there permission check via reflection? Or is it deeply integrated into the system Oct 08 09:46:47 Unlikely Oct 08 09:55:36 hm okay, another question. Id like to get the data folder of a system app. Is there a way to get this without root? Ive tried to use adb backup but it just returns a 1KB *.ab file Oct 08 09:56:48 Nope, app data is private Oct 08 09:58:56 But again this seems to be some kind of system thing right? Cause user-installed apps can be backuped it seems and there is the data in the *.ab file Oct 08 10:00:22 Oh, I thought it was an app dev question Oct 08 10:00:28 I have no idea what adb backup can back up Oct 08 10:34:46 When applying a RequestCode to a purchaseflow with IAB, can I assign it's value to whatever I want? Or does it have to be 1001 for some reason? As it says in the docs Oct 08 10:54:58 request code is just to compare against in onactivityresult Oct 08 10:56:04 so you know which thing you're getting a result for Oct 08 11:05:56 Ok Zharf thanks. Another thing though, I appear to have two IInAppBillingService's files. One is the AIDL which is located in the package described in the docs. The other one is a .java file located in generated->source etc.. and when I try to build an APK I get an error saying I have duplicate IInAppBillingService files, so which one do I remove? Oct 08 11:10:06 https://developer.android.com/google/play/billing/billing_integrate.html Oct 08 11:13:31 Zharf, well it only says exactly what I did, it doesn't say to remove any of the files after the generated one is created? Oct 08 11:14:10 nvm found the issue now Oct 08 11:14:16 do tell Oct 08 11:30:33 When building UI's do you guys prefer UI Designer tool or writing XML ? Oct 08 11:31:43 neredsenvy: XML Oct 08 11:32:07 neredsenvy: the Designer sucks and everybody knows it Oct 08 11:32:36 know Oct 08 11:33:02 second it Oct 08 12:21:48 Hi, someone knows how to use the laser sensor (of the camera) in my app? Oct 08 12:25:14 hi - have no idea - but laser sensor in camera - what phone? Oct 08 12:26:03 Hi Oct 08 12:26:56 I am wrapping requests and responses in a Response/Request object. I am using retrofit and need suggestions on how to structure my model classes: https://pastebin.mozilla.org/8916867 any ideas? Oct 08 12:27:42 bolovanos nexus 5x for example Oct 08 12:30:19 Hadar, thx Oct 08 12:32:15 bolovanos, thanks for response. I will try contact google to find solution Oct 08 12:33:41 it would be wise if nobody replies here Oct 08 12:40:16 ? Oct 08 12:52:00 hi Oct 08 12:53:15 How do I show more than one item in my ListView? - My CustomAdapter's `getCount` returns `2`. CoordinatorLayout -> {AppBarLayout, ProgressBar, include, FloatingActionButton} -> include -> NestedScrollView -> ViewSwitcher -> {RelativeLayout -> TextView, RelativeLayout -> ListView} Oct 08 12:53:24 CoordinatorLayout Oct 08 12:55:46 CoordinatorLayout[layout_width="match_parent", layout_height="match_parent", fitsSystemWindows="true"] -> {AppBarLayout, ProgressBar, include, FloatingActionButton} -> include -> NestedScrollView[layout_width="fill_parent",layout_height="match_parent"] -> ViewSwitcher[layout_width="match_parent", layout_height="match_parent", layout_margin="@dimen/text_margin"] -> {RelativeLayout -> TextView, RelativeLayout[layout_width="match_parent", Oct 08 12:55:47 layout_height="match_parent"] -> ListView[layout_width="match_parent",layout_height="wrap_content",layout_alignParentLeft="true",layout_alignParentStart="true",layout_alignParentTop="true",layout_centerHorizontal="true"]} Oct 08 12:56:01 * AlecTaylor >.< Oct 08 13:00:33 I am wrapping requests and responses in a Response/Request object. I am using retrofit and need suggestions on how to structure my model classes: https://pastebin.mozilla.org/8916867 any ideas? Oct 08 13:03:48 I have similar problem with ""Unfortunately app has stoped. Report | OK " descripbed here http://stackoverflow.com/questions/22285862/unfortunately-app-has-stoped-report-ok-dialog-opens-and-closes-immediately. Only difference is that I was able to press report, fill subject and send it. Oct 08 13:04:13 Problem is that on affected device this report cannot be find in send messages Oct 08 13:04:20 nothing is in dev console Oct 08 13:04:29 and nothing is in fabric console Oct 08 13:05:11 I am trying to recreate that crash - but it happened only once... Oct 08 13:05:46 Why am I not able to see that report in send messages? Oct 08 13:07:10 ok report was send by some system mailer app Oct 08 13:07:24 will I be able to see this report on dev console? Oct 08 13:09:48 bolovanos after hard search I found something: Camera.Parameters.getFocusDistances Oct 08 13:10:29 ahm Oct 08 13:10:41 Hadar, I would not call 30min hard :) - anyway congrats Oct 08 13:11:41 thanks, I search for this thing over one month :( Oct 08 13:20:52 How do I get the IDs and class names of all layout descendants? Oct 08 13:21:07 Attempt: final Resources resources = layout.getResources(); for (int i = 0; i < layout.getChildCount(); i++) System.out.println(String.format(Locale.getDefault(), "layout.getChild(%d) = %s", i, resources.getValue(layout.getChildAt(i).getId(), null, null);)); Oct 08 13:23:54 SUP everyone Oct 08 13:24:08 * DelphiWorld return again to pushing RSS feed to client... Oct 08 13:24:24 Melatonina ... ;) Oct 08 13:24:51 DelphiWorld: hello!!!! !! !!! ! Oct 08 13:24:58 YO! Oct 08 13:26:02 * DelphiWorld bomb Melatonina with pm Oct 08 15:10:55 pretty cool https://www.linaro.org/blog/core-dump/energy-aware-scheduling-eas-progress-update/ Oct 08 15:41:21 Mavrik around ? Oct 08 16:02:25 if an apk file is available on the file system of an android device, can i just open it inside it and install it? Oct 08 16:06:10 codepython777, yes Oct 08 16:06:37 maybe you'll have to do extra moves to allow installation from unverified sources Oct 08 16:31:06 crankslider: thanks Oct 08 16:34:47 this is cool: https://github.audio/ Oct 08 16:35:24 thepoosh quick Q, is there a high level guide to GMS location stuff? its missing from https://developers.google.com/android/ Oct 08 16:35:39 is it considered part of the Maps api ? Oct 08 16:35:55 look for FuzedLocation Oct 08 16:36:05 and it's not part of it Oct 08 16:36:21 yeah i see that class in the references (javadoc) but wondered if there are any guides Oct 08 16:36:27 sec Oct 08 16:36:33 looking for an overview of the whole location mess Oct 08 16:36:50 https://developer.android.com/training/location/receive-location-updates.html Oct 08 16:37:00 it's a mess Oct 08 16:37:07 and won't be simple Oct 08 16:37:25 meant to send this: https://developer.android.com/training/location/index.html Oct 08 16:38:08 thepoosh ah , part of the android site. i thought it would be in the GMS site Oct 08 16:38:10 thanks Oct 08 16:38:17 np Oct 08 16:38:40 thepoosh what do you think of the pixel stuff ? Oct 08 16:38:55 dunno, dislike the whole assistant thing Oct 08 16:39:04 but I'm sure all the tracking is already done Oct 08 16:39:08 hm yeah Oct 08 16:39:09 so why not benifite Oct 08 16:39:36 the only good Q i can think to ask it is "when will my dog poop next" Oct 08 16:40:49 ha Oct 08 16:41:06 thepoosh do you use the location stuff much ? i'm tempted to go with the legacy / built-in stuff Oct 08 16:41:16 we do use it Oct 08 16:41:21 not much though Oct 08 16:41:49 so in my app, i want it to track GPS breadcrumbs like every few meters, not sure if there is any gain to using the GMS stuff Oct 08 16:42:23 has to be high precision / frequent updates Oct 08 16:42:27 worst case scenario :D Oct 08 16:42:40 so why not locationprovider? Oct 08 16:43:22 i'd like to avoid depending on GMS if i can - since this is done from a service, i get the impression getting API client is pita Oct 08 16:43:31 doesn't it check the context for Activity ? Oct 08 16:44:37 in other words, doesn't 'this' have to be Activity: Oct 08 16:44:39 GoogleApiClient mGoogleApiClient = new GoogleApiClient.Builder(this) Oct 08 16:52:33 thepoosh also do you use SAF (storage access framework) ? Oct 08 16:53:03 no Oct 08 16:54:53 oh looks like location may not enforce instanceof Activity Oct 08 16:55:02 nearby messages does though Oct 08 16:55:05 hai thepoosh Oct 08 16:55:20 * thepoosh flips off raoul11 Oct 08 16:55:37 lol Oct 08 16:55:52 hope u didnt forget to do havdala Oct 08 16:56:08 no sir Oct 08 16:56:18 http://focustaiwan.tw/news/asoc/201610080009.aspx Oct 08 16:56:20 second time! Oct 08 16:57:28 they'll take yer bottle of water, but let you blow up a 747 with a note Oct 08 16:58:34 imagine a battery health API that communicated with its surroundings, so the plane crew knw in advance whos phone was about to blow up Oct 08 16:58:48 they could open up the door and kick that person out Oct 08 16:59:31 sounds like a startup g00s Oct 08 16:59:45 should we rip g00s's idea and make billions thepoosh ? Oct 08 16:59:50 lol Oct 08 17:00:26 imagine the lead manager for the note project Oct 08 17:00:36 and the kind of heat he's gettin over this Oct 08 17:00:50 MUHAHAHAHA Oct 08 18:10:21 g00s: I need mental support Oct 08 18:10:25 just read this: http://codereview.stackexchange.com/q/143227/29691 Oct 08 18:10:56 holy crap on a stick Oct 08 18:11:23 thepoosh you answered! i like your avatar Oct 08 18:11:26 XD Oct 08 18:11:52 yeah, I have rubberducky running with me since the happy BF2 days Oct 08 18:11:59 i've never used AsyncTask in my life lol Oct 08 18:12:06 I use it all the time Oct 08 18:12:08 not for this Oct 08 18:12:16 lolz Oct 08 18:12:19 Stupid question, should I ask questions here or create a post on SO first? Oct 08 18:12:33 g00s: the BitmapWorker sample code is very good use-case for asynctask Oct 08 18:12:46 Bennieboj i'd post a question on SO first asking if you should ask here or SO Oct 08 18:12:50 Bennieboj: search google, if no answers come ask on both Oct 08 18:12:59 g00s: HA Oct 08 18:13:02 ok :) Oct 08 18:13:34 g00s: that is such a terrible use of AsyncTask Oct 08 18:13:41 I'm shivering Oct 08 18:13:49 Bennieboj: what's the freaking question?! Oct 08 18:15:08 hmm ok here goes. I'm trying to make an app that takes pictures coniniously when an incorrect lockscreen password is entered and stops once it's done. Oct 08 18:15:22 ok Oct 08 18:15:35 not sure how that can be done without writing the entire launcher Oct 08 18:15:38 but sure Oct 08 18:15:53 adminreceiver works just fine, but I'm struggling to fit the camera2 api into that Oct 08 18:16:09 ne1: http://stackoverflow.com/a/19207942/1056359 Oct 08 18:16:40 Bennieboj: ^^ Oct 08 18:16:43 capella-5x: hi hi Oct 08 18:16:44 I tried to put the camera2 part in a service, but I cannot bind my adminreceiver to a service since it's a broadcastreceiver Oct 08 18:16:54 raoul11: have you seen the link i posted? Oct 08 18:17:06 negative Oct 08 18:17:17 thepoosh have you played around with any cool new libs? Oct 08 18:17:17 hello thepoosh Oct 08 18:17:31 nope, I'm now catching up on cool old libs Oct 08 18:17:37 which? Oct 08 18:17:40 like retrofit, gson, etc Oct 08 18:17:49 gson :P Oct 08 18:17:49 I found things like this: https://gist.github.com/RoundSparrow/142b840ca86ba7a46639f23c5c0d195b Oct 08 18:17:53 I like the interceptor concept of okhttp Oct 08 18:18:18 i haven't seen it. is it like GoD chain of responsability ? Oct 08 18:18:22 *GoF Oct 08 18:18:30 GoF?! Oct 08 18:18:44 GoF :D Oct 08 18:18:53 what is that? Oct 08 18:18:55 raoul11: http://codereview.stackexchange.com/q/143227/29691 Oct 08 18:20:11 why does he set sleep? Oct 08 18:20:18 I also tried to put the camera2 things into a separate object, but everything my adminreceiver function gets called my data is gone, I can save some state in the preferences, but saving an object in the db like that is just wrong... Oct 08 18:22:25 raoul11: what have I missed? Oct 08 18:22:41 why does he set sleep? Oct 08 18:24:02 because he sux Oct 08 18:24:25 \: Oct 08 18:25:24 what was the point in doing it, what is he trying to postpone Oct 08 18:25:44 wait for results? Oct 08 18:36:19 hi raoul11! :-) Oct 08 18:37:05 ohi Melatonina Oct 08 18:42:39 heh... http://www.breitbart.com/tech/2016/10/07/spanish-12-year-old-receives-100-000-bill-confusing-google-adsense-with-adwords/ Oct 08 18:44:36 lol Oct 08 18:48:58 the article confused me Oct 08 18:49:11 it says he got adsense but they're cancelling adwords balance Oct 08 18:50:09 ha, the original article is less confusing Oct 08 19:23:35 hey TacticalJoke Oct 08 19:24:55 Hey, g00s. How's Saturday going in g00sville? Oct 08 19:26:24 TacticalJoke i think this dolphin read David Benatar's book https://www.thedodo.com/dolphin-spares-baby-suffering-captivity-2033234153.html Oct 08 19:27:02 of course we could be anthropomorphizing the motives Oct 08 19:28:21 hm, i think this is due out next week, timing seems unfortunate http://shop.oreilly.com/product/0636920042228.do Oct 08 19:28:28 i'm guessing its only RxJava 1 Oct 08 19:28:34 Yeah, it might just be destructive behaviour in general. Interesting, though. Oct 08 19:29:34 Though it wouldn't totally surprise me if a dolphin could connect the dots like that. Oct 08 19:43:28 TacticalJoke we're all dolphins swimming around in the capitalism tank Oct 08 19:45:41 We are more goldfishes in the capitalism tank Oct 08 19:53:30 ok crash report appeared in dev console after 5+h - I probably know reason of it. Question is this latency normal? Oct 08 20:04:18 why would I need fabric - if there is crash report in dev console? Oct 08 20:04:48 bolovanos: i have found some people look at you funny if you don't wear [normal] clothes Oct 08 20:04:48 would I have that crash report eve if user does not use report button? Oct 08 20:05:42 hmm, is this a channel where I can do questions related to android apps development? Oct 08 20:05:54 ezdookie: that's this channel Oct 08 20:06:00 ezdookie: yes Oct 08 20:06:08 bolovanos there is also firebase crashreporter Oct 08 20:06:17 ezdookie: but only if you smile Oct 08 20:06:25 hello all - what's the fastest way to learn how to create custom views and viewgroups? Oct 08 20:06:51 hesperaux: pick a tutorial from the web and follow it Oct 08 20:06:58 and quick poll: on a scale of 1 to 10, how much of your apps views are defined by XML and how much by code? (10 being all code) Oct 08 20:07:08 hesperaux: follow it quickly Oct 08 20:07:13 Melatonina, lol Oct 08 20:08:53 hesperaux: depends on the content of the app. Lot's of logic? Lot's of code. Lot's of vector graphics and complex UI, different languages, different configurations? Lots of XML Oct 08 20:09:15 ok - my guess was right - "Your statistics don’t include crashes that aren’t reported by users." https://support.google.com/googleplay/android-developer/answer/6083203?hl=en Oct 08 20:09:18 thanks Oct 08 20:09:53 g00s, hi - thought it is for app testing, what would you suggest to use / what do you use? Oct 08 20:10:17 hesperaux: you are welcome Oct 08 20:10:30 I'm starting in android development and I got some doubts :( the first one is, should I use OAuth or OAuth2 for my app security between client and server? Oct 08 20:12:58 ezdookie: it has little to do with Android. It's your choice. Why not OAuth2? Oct 08 20:17:53 hesperaux: The last time I checked, there were no good "Create Your Own View/ViewGroup" tutorials. Oct 08 20:18:13 It's just a case of doing, unfortunately. Oct 08 20:19:06 About Java versus XML: I tend to avoid XML inflation in ListViews/RecyclerViews, personally. Oct 08 20:19:15 fair enough Oct 08 20:19:28 TacticalJoke, in this case, these would be things that are created in recyclerviews Oct 08 20:19:37 How do you not use XML for that? Oct 08 20:19:53 full disclosure, it's been about 12 months since I've touched this stuff Oct 08 20:20:02 You just instantiate the View in Java code. Oct 08 20:20:23 ok Oct 08 20:22:47 hesperaux: I guess most people would use inflation everywhere. Inflation makes some things easier. Oct 08 20:23:01 e.g., resolving theme attributes. Oct 08 20:23:38 ok I was just a little confused because I'm using FB authentication in my app and I understand that I should send the access token sent by facebook to my backend and then do all the regiter process in the backend, so finally I return my token to the android client Oct 08 20:54:34 Hey all Oct 08 20:54:37 Many about tonight? Oct 08 20:56:27 Hi!!! ! !! ! !!! ! ! Oct 08 20:58:17 I'm guessing there's a few. Oct 08 21:00:11 Hmm, I'm not getting AS 2.2.1 when I go Help > Check for Update. Oct 08 21:02:25 It's not in stable yet Oct 08 21:03:58 Yah. Weird, because this says "The release is available in all channels": https://sites.google.com/a/android.com/tools/download/studio/builds/2-2-1 Oct 08 21:04:44 The other post doesn't :p Oct 08 21:05:36 https://sites.google.com/a/android.com/tools/recent/androidstudio221isnowavailable Oct 08 21:06:03 Doh! Oct 08 21:06:43 Been a while since I have done work during the weekends Oct 08 21:06:51 guess I feel bad for being sick on Friday and not being in work Oct 08 21:09:56 Can you use Butterknife with FrameLayouts? Oct 08 21:10:46 is there a reason you're asking that Oct 08 21:11:20 If you can use findViewById, then you can use ButterKnife Oct 08 21:16:13 I'm having issues with it Oct 08 21:16:15 or proguard Oct 08 21:16:29 "error: cannot find symbol class Finder" Oct 08 21:20:04 Okay so butterknife works without me trying to bind the framelayout Oct 08 21:24:43 Yeah this makes no sense at all Oct 08 21:24:59 It works fine if I don't actually try and use @BindView Oct 08 21:27:21 Can anyone explain how to get it to work? Oct 08 21:27:38 I don't 2 hours technical interviews to do with algorithmns and data structures. nothing to do with android Oct 08 21:28:05 and its for an android job Oct 08 21:28:08 I've followed the example, set up gradle and it's giving the same error if I'm trying to bind a FrameLayour or TextView Oct 08 21:32:40 What the fuck Oct 08 21:32:50 You have to use lower case for class names? Oct 08 21:33:57 https://github.com/JakeWharton/butterknife/issues/507 Oct 08 21:35:27 markyosullivan2: Where does it say you can't use lower case for class names? Oct 08 21:36:52 It's also fixed Oct 08 21:38:24 s/can't use/have to use/ Oct 08 21:58:12 Notify : Kotlin-Conductor-Anko-RxJava-Dagger2 Oct 08 21:58:23 wonder if reddit flags posts with keyword spam :P Oct 08 22:02:57 I don't see why that person found 'BoringLayout' funny. Oct 08 22:03:14 It's hard to think of another name for that text layout. Oct 08 22:03:30 I wonder whether humour was ever intended. Oct 08 22:04:38 i'm looking forward to a boring release of any tools, "oh this just works, phew - thats boring" Oct 08 22:04:53 these days it "omg, is this going to work!?" Oct 08 22:05:53 Hi all, I'm trying to set up this scenario, could you give me pointers on my options? I would like to open my activity and display a recyclerview under the following conditions. If using a phone, display the list vertically (linear layout manager) using item layout A. If user rotates (or activity is opened in) landscape orientation while using a phone, display the same list of items using a horizontal scrolling list of Oct 08 22:05:54 cards C (perhaps fitting two at a time on the screen). If using a tablet, display a gridview of cardviews C for the items in either horizontal or landscape mode Oct 08 22:16:12 BinaryWaves do it ! Oct 08 22:17:02 what is the easiest way to get started with writing your own android app these days? Oct 08 22:17:50 codepython777 you just get started Oct 08 22:17:53 * g00s in on the roll Oct 08 22:18:15 g00s: book? up2date online tutorial? Oct 08 22:18:34 there are no books that are up to date (for android 7) Oct 08 22:18:53 android 7 = pixel? Oct 08 22:18:58 can i load 7 on my phone? Oct 08 22:19:02 no 7.1 is pizel lol Oct 08 22:19:25 7.0 is N. you can look at the official android online courses Oct 08 22:19:39 and commonsware has a subscription ebook, but its like 2000 pages Oct 08 22:20:16 probably easier to read the bible, even reading Numbers and Revelations twice Oct 08 22:22:38 https://developer.android.com/training/index.html Oct 08 22:22:42 g00s: will the samsung s6 run android 7? Oct 08 22:22:44 see the udacity course Oct 08 22:22:53 no idea Oct 08 22:25:04 codepython777: You can run Android 7 on the emulator right now. Oct 08 22:26:05 TacticalJoke: can i run android 7 on my samsung s6? Oct 08 22:26:50 Android 7? gah, seems like I just upgraded to KitKat Oct 08 22:27:46 codepython777: I'm not sure. Why are you asking? (Just curious.) Oct 08 22:29:49 TacticalJoke: I've a samsung s6 that i wanted to upgrade Oct 08 22:30:45 Try googling "s6 android n". Oct 08 22:35:09 "Hacker From Jakarta Faces 12 Years In Jail After Broadcasting Porn On a Billboard" Oct 08 22:35:11 omg lol Oct 08 22:37:39 that's style :D Oct 08 22:38:21 BinaryWaves gave up so quickly. Oct 08 22:39:27 lol romainguy asks why modern editors are so slow loading a large file Oct 08 22:39:41 Guys, why when I look for online material about authentication and web APIs I only find blogs or similar articles where they 1) show code (in this method of this class you set up this service like this, call that, pass that token, without describing the meaning of that service configuration or token, just vomiting code) or 2) talk in general terms? Oct 08 22:39:44 probably same reason android games require 2-3x more memory than their iOS counterparts Oct 08 22:41:20 Jesus Christ, I studied quantum mechanics in my life and I had fun. This subject is making me want to kill myself Oct 08 22:43:01 Melatonina, Whats your question? Oct 08 22:43:38 Do you know any book? Any source on the subject that is not of that kind? Can you lend me a gun? Oct 08 22:43:45 I guess those are the questions Oct 08 22:43:46 lol Oct 08 22:44:10 no,yes,yes Oct 08 22:44:41 Can you link that source? I'm writing my home address in private for the gun Oct 08 22:45:22 First question is the API something you are building or is it a 3rd party one? Oct 08 22:47:01 DLSteve: I'm writing the API in ASP.NET Core Oct 08 22:47:29 DLSteve: I know the basics of how to create an API. Wrote several demos. Oct 08 22:48:33 Hmm, okay. At work we use federated auth using Oauth2 and JWT tokens. Oauth2 is backed by AzureAD. Oct 08 22:48:39 DLSteve: I have to access the API from an Android application that I'm writing. I also know the basics of how to do this Oct 08 22:48:49 DLSteve: all but authentication Oct 08 22:49:34 Issue with Oauth2 is that you would need to create an Oauth2 service or use a provider like Auth0 Oct 08 22:50:05 I landed in the Auth0 site a hour ago Oct 08 22:51:08 Google and Facebook also provide Oauth services but that requires the user to log in with those credentials. Oct 08 22:52:26 I'll read the Auth0 documentation maybe Oct 08 22:53:09 Being a commercial service maybe they put more care of their documentation than a random blogger Oct 08 22:53:56 Will offer better performance and security most likely than rolling your own. Oct 08 22:54:27 DLSteve: what do google or facebook get from people authenticating on my web API using their service? Why do they offer that service? Oct 08 22:54:32 Free plan actually looks fairly full featured for a small app. Oct 08 22:55:13 Just so that people is incentivized to register on their sites? Oct 08 22:55:16 Melatonina, Because people have to log in with their google/facebook account and they get to data mine that. Oct 08 22:55:33 Ok Oct 08 22:55:58 DLSteve: Thanks for answering and the tips Oct 08 22:56:05 np :) Oct 08 23:08:16 Hi gents, integrating NDK with android studio 2.2 + Gradle exp is driving me nuts: I can't build my jni lib for arm64. Anyone seen this before? Oct 08 23:12:10 Hmm, I wonder whether Google Truth is better than AssertJ: http://google.github.io/truth/ Oct 08 23:12:18 Just found Truth. Oct 08 23:17:42 Okay, there is this: http://google.github.io/truth/comparison Oct 08 23:42:01 Hey.. anyone do a fresh install of android studios and find it never gets through gradle Oct 08 23:43:13 It's been running 15 minutes Oct 08 23:43:33 On a newly created project. Oct 08 23:46:57 I have to say.. development tools have fallen a long way in the past 15 years.. Oct 08 23:55:25 hello : D Oct 08 23:58:44 o/ Oct 09 00:00:05 Hey guys.. Oct 09 00:01:45 Just wondering.. I've a new project with not a line of code typed, and it seems gradle never stops Oct 09 00:02:02 Or rather never finishes. Oct 09 00:02:31 I'm also seeing a red R... are these things normal? Oct 09 00:09:12 Melatonina oauth is probably more complicated than quantum mechanics Oct 09 00:09:35 baash05 gradle never stops ... sounds normal :P Oct 09 00:10:55 I doubt it but how much? Twice as complicated? I guess I could learn it anyway. It's just that most sources are worthless. Oct 09 00:11:17 Melatonina and then a lot of android is spooky action kinda stuff Oct 09 00:12:50 Most of software development is learning arbitrary conventions established by someone else. Oct 09 00:15:08 baash05: Yes it wont find R while building Oct 09 00:15:29 Gradle can take awhile depending on the size of the project and your computer specs Oct 09 00:44:42 Just curious, how did all you folks get a job in Android dev? I'm graduating in 2 months. Would love to know how you got first first Android gig Oct 09 01:09:16 gopar go to all your on-campus career fairs :) Oct 09 01:09:29 this will be the easies time in your life to get a tech job Oct 09 01:20:18 g00s, I did but the only companies that were there were .net shops and goverment jobs. nothing Android related Oct 09 01:22:58 hm, back in 2010 - even though android is quite a narrow focus, the area was very hot. but its almost 2017 and even the pixel thing on Oct 4 hinted we are post mobile. so .. i think your are pigeon-holing yourself to only do android. you can always do it on the side if you want. Oct 09 01:24:03 mobile now is like web development. commodity skill, lots of competition Oct 09 01:24:44 and google committed to training 2M+ developers in India Oct 09 01:24:55 over the next few years, but still Oct 09 01:26:57 g00s, I'm not looking for an Android specific gig, doing android would be nice. I'll look around for entry positions \o/ just curious how ppl got their current android jobs was all :p Oct 09 01:27:17 many ppl get jobs through connections Oct 09 01:27:51 now you are fresh meat out of college, and hopefully get a good job - right away start building social capital Oct 09 01:29:04 gopar do you have any apps in Play yet ? Oct 09 01:34:25 g00s, Nope, I'm currently building an app for a book keeping company for my last semmester. They said they plan on releasing it, so we'll see Oct 09 01:34:50 yeah thats what you want to do , 2-3 apps in Play Oct 09 01:58:59 gopar, many of the companies I interviewed at asked to see an app I wrote all (or most of) on Google Play. Some of them asked to see its source code. Oct 09 02:03:54 Ologn, gotcha. \o/ Oct 09 02:08:08 it's a pretty oldschool protocol tool mostly just simple text parsing Oct 09 02:15:17 crap, that's it for SU Oct 09 02:16:23 s// Oct 09 02:39:32 orbyt_: I'm on a new mac pro and the project is one of the new ones generated.. I've not written a line of code.. Oct 09 02:40:01 gradle started building 2 hours ago. Oct 09 02:42:26 And R is still not found Oct 09 02:59:48 gopar: where do you live? **** ENDING LOGGING AT Sun Oct 09 02:59:58 2016