**** BEGIN LOGGING AT Sun Oct 30 03:00:00 2016 Oct 30 03:13:23 Hullo ;-) Oct 30 03:14:11 Don't you love, when you solve the problem, just before you are about to go ask others for help? Oct 30 03:31:01 usually for me it's just after I open my mouth Oct 30 03:51:18 hi my friends Oct 30 04:28:14 so my layout file is getting quite large. Oct 30 04:28:45 can I put child views in the Layouts in other files, and reference them in the Layout element attributes? Oct 30 04:34:45 you can Oct 30 04:39:03 CedricBeust do you know, by any chance, if kotlin in action covers 1.0 or 1.1 ? seems 1.0 ? Oct 30 04:39:16 can't tell looking at the forums Oct 30 04:45:38 :( Oct 30 04:51:00 pfn: thanks Oct 30 05:28:08 I can't seem to update AS http://i.imgur.com/9GBF3bs.png Oct 30 05:29:48 huh... so ArrayList(size) does nothing to actually set the size Oct 30 05:46:03 hi my friends Oct 30 09:26:48 * thepoosh flips raoul11 off Oct 30 09:27:11 my man Oct 30 09:27:14 supyo Oct 30 09:59:30 heh, slackers, eh Oct 30 10:10:49 hi, can anyone help me in this: http://stackoverflow.com/questions/40320100/send-lat-long-of-the-marker-to-mysql-server-via-php Oct 30 10:13:08 Hi i need help in deciding my application architecture , anybody open to have a little discussion ? Oct 30 10:13:59 just ask your question ... Oct 30 10:15:29 Scenario is like this , i have to code a application where lot of sessions(instances) ( analogus/same but different ID's ) are required to be running in background so ofcourse i need services so i am confused should each session should have different service or one common service should somehow simulate existence of all the sessions. Oct 30 10:17:32 can anyone help me add my marker latitude and longitude to sql table via php? i tried to do that with this hi, can anyone help me in this: http://stackoverflow.com/questions/40320100/send-lat-long-of-the-marker-to-mysql-server-via-php but i faced an error which I found no solution for it. now if you know a sample or a resource that i WRITE ANOTHER CODE i WOULD BE THANKFUL. Oct 30 10:18:08 altumelix: break down the problem and ask a small question, rather than "how do i make this very long detailed process work" Oct 30 10:19:23 boodllebat: i don't understand what you're talking about a 'session', but if you have the same logic and the only difference is an ID, then you'll only need one service, make life easier for yourself Oct 30 10:22:18 bankai_: yes you are right same logic but different ID and i was also thinking about single service but i really wanted to consult an android developer, what i have in mind is single service processing all the sessions in a loop with same logic for each session Oct 30 10:23:23 bankai_: i just wanted to know , is it fine for a single service to do all the task or android prefer services with only small work load ? Oct 30 10:25:23 i think if you're going to have multiple, doing essentially the same thing, you're creating overhead for yourself and your app unnecessarily Oct 30 10:28:08 bankai_: so can i interpret that you are in favour of single service Oct 30 10:28:14 yep Oct 30 10:30:25 bankai_: thanks a lot i think i was right i just wanted to confirm from an android developer cause i'm not a professional android developer Oct 30 10:36:57 bankai_: I have implemented multiple markers. I can add marker by touch and remove it by second touch. All I want to do is to take longitude and latitude of each marker and send it to a 3 column table (id, longitude, latitude) in mysql by php. (I also prepared mysql codes and php codes too.) Oct 30 10:37:30 mysql and php are irrelevant technologies in this story Oct 30 10:37:41 you have markers you want to send to a web service Oct 30 10:37:51 yes Oct 30 10:37:56 so what's the problem? Oct 30 10:39:08 altumelix: click listeners -> getMarkerPos() -> JsonEncode -> HTTP request -> php (processor) -> php (write to DB) Oct 30 10:40:42 altumelix: nobody is going to code that for you Oct 30 10:41:06 altumelix: you have to do it yourself but i can tell you its not that difficult Oct 30 10:42:39 I need a sample code or a guidance on how to do this. look at this code: https://paste.fedoraproject.org/464636/23976147/ and this https://paste.fedoraproject.org/464638/47782411/ it give me error in addMarker(latlng); Oct 30 10:43:16 this was my code. I googled a lot but could not solve that error. Oct 30 10:44:13 what's the error Oct 30 10:44:45 error: cannot find symbol method addMarker(LatLng) Oct 30 10:47:42 boodllebat: bankai_ any suggestion? Oct 30 10:49:44 write the method you're calling Oct 30 10:59:59 bankai_: it asked me create the method in "parsertask in mapsactivity" or in "mapsactivity" . I tried both; error has gone, but when the app is running and I add marker in sql table I have " Your SQL query has been executed successfully. " but nothing is added. Oct 30 11:00:13 did I destroyed the logic? Oct 30 11:01:26 I guess I should write something in the method but do not know what. Oct 30 11:20:43 hi my friends Oct 30 11:24:18 boodllebat: how about you? may I ask whether you think this code is alright? Oct 30 11:26:54 altumelix: hi i really cannot tell you that because i'm not a android developer and i've just started android so wait for bankai_ 's reply but your problem is not really hard and you can easily solve it :) Oct 30 11:31:19 boodllebat: yes hope bankai_ comeback and give some possible solutions. you know, it's a little error but it is 2 days I am wrestling with it :p Oct 30 12:01:11 hello pplz! :) Oct 30 12:07:38 raoul11: sorry, didn't look at your response Oct 30 12:07:44 I'm in TLV today Oct 30 12:12:28 Hello Oct 30 12:12:46 whatcha doing in tlv thepoosh ? Oct 30 12:12:50 who let u in /: Oct 30 12:12:54 hi Melatonina Oct 30 12:12:58 hi hi Oct 30 12:13:07 going to google complex Oct 30 12:13:09 I'm using Thread.wait(timeMs) to throttle the playback of my video player. Is there any more precise method? Oct 30 12:14:15 why wasnt i invited thepoosh Oct 30 12:14:36 Melatonina: what are you trying to do? Oct 30 12:14:47 raoul11: because you're not cool enough, you know that Oct 30 12:14:55 am cool as it gets. Oct 30 12:15:33 whats on todays agenda thepoosh ? Oct 30 12:15:44 Android Mentor program Oct 30 12:16:02 naice Oct 30 12:16:08 mentor me thepoosh Oct 30 12:16:18 yeah baby Oct 30 12:16:41 I made this video player. It has it's decoding/rendering loop. If you let it go full freely the playback is faster than normal, so you have to throttle it to synchronize with real time. What I do now (what most people do) is computing the difference between media time and real time and, if necessary, sleep some time to keep the playback at the right pace Oct 30 12:17:01 The codec provides time in microseconds. The wait function works in milliseconds. Oct 30 12:17:18 I was wondering if there is some more precise synchronization method Oct 30 12:17:21 That's all Oct 30 12:18:00 you can wait for the decoder to notify Oct 30 12:18:14 instead of waiting for a time, wait for a notify Oct 30 12:18:18 the decoder doesn't "notify" Oct 30 12:18:47 you just push data into it and it publishes frames as soon as they are available Oct 30 12:19:50 it's your responsibility to feed the decoder and render frames at the right rate Oct 30 12:26:26 producer -> consumer Oct 30 12:27:47 Melatonina, irc is probably not suitable to the nature of the problem you're trying to solve, or you would need to give much more details and still you won't get a simple answer Oct 30 12:28:16 usually, thread wait & sleep are bad and lot of pitfalls if multiple threads Oct 30 12:29:08 just make your consumer blocking assuming your producer can produce much faster than the consumer consumes Oct 30 12:29:53 other than that, millisecond is more than enough to cap at a desired fixed framerate Oct 30 12:32:34 Melatonina, a blocking loop is your best bet Oct 30 12:32:42 The issue with sleeps is that they're not accurate at all Oct 30 12:32:51 (E.g. you say sleep 15ms and it'll sleep for 30) Oct 30 12:32:55 yeah, that's why I asked... Oct 30 12:32:56 So you can't use them for playback Oct 30 12:33:24 blocking loop as in...? Oct 30 12:33:35 wasting CPU cycles? Oct 30 12:35:58 Melatonina, yes. Oct 30 12:36:11 You can still sleep for small increments of time (e.g. 1ms) to offload the CPU Oct 30 12:36:32 But usually you really dont't want more than 1-2ms of jitter when displaying frames Oct 30 12:36:39 (25fps video = 16ms per frame) Oct 30 12:36:46 er, 40ms :) Oct 30 12:36:48 60fps is 16 Oct 30 12:36:58 Ok. I'll test that solution Oct 30 12:36:59 16.8 Oct 30 12:37:22 Thanks for the suggestion Oct 30 12:37:30 Melatonina, you could also take a look on the internet for ms-exact sleep in Java Oct 30 12:37:51 Melatonina, there's another approach too though Oct 30 12:38:00 you can store decoded video frames inside a queue Oct 30 12:38:21 and in the onDraw of whatever view you have (probably surface view) you just pop out all the frames that have passed and then render the top one Oct 30 12:39:38 I'll use that in another context Oct 30 12:40:33 this is a simple player but I'll need to insert video support in my rich text editor and I'll have to draw video frames in onDraw Oct 30 12:41:31 Ah, so use onDraw then to get the frame that should be displayed at that point Oct 30 13:09:32 my main.xml is http://kopy.io/H0VjO and my main activity is this http://kopy.io/ISV5u i need to show arraylist in listview but i get this error java.lang.IllegalStateException: ArrayAdapter requires the resource ID to be a TextView Oct 30 13:09:58 whats wrong with me? Oct 30 13:10:43 linuxlove, you're telling ArrayAdapter to use a whole activity layout XML for each row of the list Oct 30 13:11:10 and then pass the wrong ID for the text it should fill Oct 30 13:11:47 Mariu, what should i do then ? Oct 30 13:12:05 Mavrik, what should i do then ? Oct 30 13:12:25 read documentation / get better tutorial? Oct 30 13:12:48 Mavrik, i did that from a tutorial Oct 30 13:17:35 it is what i implemented http://www.learn-android-easily.com/2013/05/populating-listview-with-arraylist.html Oct 30 13:21:18 i created a list.xml http://kopy.io/AhgxE and passed id to adapter for each row but i still get error Oct 30 13:42:40 bankai_: hi again Oct 30 14:04:26 interesting: i have an activity with google sign in (no issues there), and while launching a new activity with startActivityForResult (with a custom request code), when returning from that activity the actual request code is the google sign in Oct 30 14:07:23 Hello what is this SettingsActivity thing. Even google doesnt use this on playstore app? Plus this is just one extra tap and clearly unnecessary... Oct 30 14:20:55 wut Oct 30 14:23:32 what's the most common way to write a visual Android app these days? Java in Android Studio? Or some sort of 'Cordova'-ish HTML/Javascript app? Oct 30 14:23:49 still java / as Oct 30 14:24:04 g00s thank you Oct 30 14:24:08 is that your preference as well? Oct 30 14:27:47 <}> Hey, I noticed when using the android emulator (Nexus_6_API_24) when you hold ctrl three circles pop up and you can drag them, what is that functionality? Oct 30 14:35:37 } I don't know but it's cool Oct 30 14:35:48 <}> :) Oct 30 14:37:29 multitouch? Oct 30 14:40:29 yes, it's multitouch Oct 30 14:40:48 try it on a map, for example Oct 30 14:41:05 <}> I see, that's going to be quite useful for testing Oct 30 14:41:43 it's illustrated in the video here: https://developer.android.com/studio/run/emulator.html Oct 30 14:41:49 at 1:57 Oct 30 14:42:23 I guess the added that feature exactly because it's useful for testing Oct 30 14:42:35 like all other features Oct 30 14:42:55 <}> I found it by accident when taking a screenshot (ctrl+s) Oct 30 14:49:37 I have implemented multiple markers. I can add marker by touch and remove it by second touch. All I want to do is to take longitude and latitude of each marker and send it to a 3 column table (id, longitude, latitude) in mysql by php. (I also prepared mysql codes and php codes too.) here is my code : http://stackoverflow.com/questions/40320100/send-lat-long-of-the-marker-to-mysql-server-via-php it has error in last parts in addmarker(la Oct 30 14:56:25 altumelix: what's actually your problem? Oct 30 14:57:03 Melatonina: it do not know addmarker method. Oct 30 14:57:29 altumelix: what addmarker method? Oct 30 14:58:40 are you joking? Oct 30 14:58:59 https://developers.google.com/android/reference/com/google/android/gms/maps/GoogleMap.html#addMarker(com.google.android.gms.maps.model.MarkerOptions) Oct 30 14:59:07 it's addMarker, not addmarker Oct 30 14:59:32 <}> addMarker adds a Mark Wahlberg to your project Oct 30 15:00:18 isn't that addMarky ? Oct 30 15:00:32 adq: In the codes id you focus you can see I have wrote addMarker. in here I typed it addmarker. Oct 30 15:01:01 ok ok, sorry then, what's the error anyway? Oct 30 15:01:08 altumelix: did you notice that your question was marked as needing improvement in StackOverflow? Oct 30 15:01:29 altumelix: that's is for the same reason people don't understand what problem you are having her Oct 30 15:01:30 here Oct 30 15:01:33 error: cannot find symbol method addMarker(LatLng) adq Oct 30 15:03:03 Melatonina: I have a little error on addMarker(latlng) this is the problem. but cause that my application can not do what it should do. Oct 30 15:03:16 :D Oct 30 15:03:23 altumelix: ah, you have a bug Oct 30 15:03:31 now everything is clear Oct 30 15:03:39 -.- Oct 30 15:03:42 not Oct 30 15:03:55 altumelix, have you a similar line in the build.gradle of your module using googlemap? compile 'com.google.android.gms:play-services-maps:(someversionhere) Oct 30 15:04:35 altumelix: http://stackoverflow.com/a/31189283 Oct 30 15:06:13 adq: Melatonina i used this link for my code http://wptrafficanalyzer.in/blog/storing-google-maps-android-api-v2-marker-locations-in-mysql/ Oct 30 15:06:14 anyway, if you don't you probably need it Oct 30 15:06:33 eclipse is not supported anymore Oct 30 15:06:59 it is old; did not have onmapReady(). I made changes in code. Oct 30 15:07:00 your article is from 2013 Oct 30 15:35:32 TacticalJoke looks like 'kotlin in action' doesn't cover 1.1 Oct 30 15:35:59 i can't decide whether its worth it lol Oct 30 15:38:06 Hmm, I wonder. Oct 30 15:39:30 Is the sample chapter good? I can't remember whether I read it. Oct 30 15:43:29 Anybody knows how to make the APK installation stage from Android Studio faster? Mine takes up to a few minutes, don't understand what it does. Oct 30 16:17:04 TacticalJoke do you recall when 1.1 is supposed to be out ? Oct 30 16:59:50 If I create an AnimationSet but don't keep any pointers to it, will it continue to take up memory when the animation has finished? Oct 30 17:18:38 g00s: Hmm, not sure. Oct 30 17:26:53 HactarCE: I wouldn't imagine so. And looking at the code ( https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/view/animation/AnimationSet.java and https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/view/animation/Animation.java ) seems to back that up. Oct 30 17:27:04 OK Oct 30 17:27:06 thanks Oct 30 17:54:59 Hi. I just changed my app from minSdk 23 to 21 and now i have the problem that in my Fragment the onAttach() is not being executed. any idea what could be the problem? Oct 30 17:58:54 Hey, Im looking for an online service for remote debugging on a moto g device... any suggestions? Oct 30 17:59:03 styler2go, are you using support fragments? Oct 30 17:59:22 Mavrik oh.. mhm could be that problem. i'll verify Oct 30 17:59:48 ha! that's it. oh god, thanks a lot! Oct 30 18:04:23 How would you call a service that extracts frames from your videos and caches them on a directory? Oct 30 18:16:32 where can i find documentation of anim files for translate? i can only find https://developer.android.com/guide/topics/resources/animation-resource.html which is the new format Oct 30 18:17:22 Melatonina: "The thumbnail service" or "thumbnailer" probably Oct 30 18:17:39 Dagmar: thanks! Oct 30 18:17:50 Melatonina: de nada Oct 30 18:19:21 Melatonina: Mind you that a sequence of thumbnails representing the video all lined up in a row is often called a "filmstrip" because it looks like one Oct 30 18:20:14 Dagmar: cool word. Thank you very much Oct 30 18:21:51 Hello, im getting this error http://pastebin.com/Wsu7f5ZG I checked for duplicates in my build.gradle project dependencies, but I cant find anything (http://pastebin.com/). This happens only when building apk file, for some reason I am able to install the app directly to my device Oct 30 18:22:00 but when building the apk for release I get the error Oct 30 18:32:19 ficolas: I am not sure if the whitespace in "android ads" is at fault, but it very well could be. If you're the one who named whatever that was like that, take out the whitespace, biCapitalize and give 'er a go Oct 30 18:35:50 ok, one second. The project is no longer even suposed to be named "android ads" just "android" but I was too lazy to change it Oct 30 18:36:57 I've gotten burned by whitespace so many times it's not even funny Oct 30 18:38:39 "I have used Firebase Crash Reporting tool as well, but won’t recommend it right now as it is in BETA and there are some serious issues with it." .. wonder what those serious issues are ... Oct 30 18:43:30 maybe it doesnt report its own crashes as good as app crashes Oct 30 18:45:25 still getting the same error after removing that whitespace Oct 30 18:46:27 Damn Oct 30 18:47:35 I dont get how it can install the app directly in my phone but it cant generate an apk for release :/ Oct 30 18:47:38 ficolas, you probably have same dependency with different version at different places Oct 30 18:47:53 just open all your build.gradle files & check Oct 30 18:48:07 I was about to suggest looking for more than one inclusion for google media services Oct 30 18:48:09 that usually happens to ppl blinding adding an external module Oct 30 18:48:13 blindly* Oct 30 18:48:23 aka 95% of developers Oct 30 18:48:27 http://pastebin.com/QbieRcTW I dont think so :c Oct 30 18:48:34 95.7% if more precise) Oct 30 18:49:24 ficolas, check build.gradle of BaseGameUtils Oct 30 18:49:27 compile everything Oct 30 18:49:30 i'm still suspecting what i just said Oct 30 18:49:50 basegameutils is an old boilerplate helper from samples of play games or something Oct 30 18:49:51 iirc Oct 30 18:50:24 ohhh Oct 30 18:50:27 see Oct 30 18:50:31 not just one but two Oct 30 18:55:23 can't get the series on this device Oct 30 18:55:24 still not building tho... Oct 30 19:07:03 now I cant even run it directly on my phone, and I used to be able to :c Oct 30 19:19:41 ok... back to only building directly on my phone but not building an .apk file... Oct 30 19:20:13 im right now just randomly commenting out dependencies to see if that works lol Oct 30 19:23:04 Hey, for a settings activity I call the method 'preference.setSummary' and the string I pass it doesn't get set as the summary. I have debugged it to make sure that the summary being passed in is correct. Oct 30 19:23:37 Does the method commit the change? Oct 30 19:24:23 Well, I've used code like that before and it appeared to have work. I can't see any other methods I'd have to call to make it update. Oct 30 19:26:47 There are two 'setSummary's that get called, in the circumstance that the first gets called then the other one updates... how odd. Oct 30 19:28:07 They were reusing the same string to build a string into, although the string was correctly being updated. I am utterly confused by that behavior. Oct 30 19:30:40 Even when using separate variables the other will only update if the other does. Oct 30 19:47:43 * capellaCastsAHex -> out Oct 30 19:51:58 on Linux there is an API to watch the filesystem. Is it exposed as Java? Oct 30 19:54:19 Yes, it called FileObserver https://developer.android.com/reference/android/os/FileObserver.html Oct 30 20:06:48 are you talking to yourself :? Oct 30 20:09:04 Yes. I feel lonely Oct 30 20:14:13 Is there a way to close the on-screen keyboard? I need to force it off when user presses "Back" button. Oct 30 21:40:42 My app installs 3 icons (why 3!?), if I start and restart it from one place it always continues where it left off but if i start it from another icon it restarts the app. Why is this and how can I fix it? It seems it runs more than one instance of the app which is bad. Oct 30 21:45:15 hey everyone Oct 30 21:45:56 how to make clickable link in textView, if i store link address in string-array as items? Oct 30 21:56:41 wow, this OAuth2 book is 375 pages ... is it that complicated :( Oct 30 21:59:11 to implement yourself from scratch, possibly. to use, not so much Oct 30 22:01:17 thanks dragorn Oct 30 22:01:35 g00s, when in doubt, tho, use a library Oct 30 22:01:51 g00s, just because anything w/ crypto and security is real easy to shoot yourself in the foot with Oct 30 22:02:12 dragorn sure. i was just looking at this https://www.manning.com/books/oauth-2-in-action/ Oct 30 22:02:28 thinking, hm, wonder i fi should pick it up and read it in case i have to use oauth2 soon Oct 30 22:02:53 there's probably quicker reads on implementing a client Oct 30 22:03:00 and hopefully you're not implementing a server Oct 30 22:03:07 dragorn crazy weather, getting warm again Oct 30 22:03:09 honestly, hopefully you're not implementing a client, either :P Oct 30 22:03:17 lol Oct 30 22:03:22 yeah no kidding. We got about 3-4 inches of snow the other day, today i was outside in a tshirt Oct 30 22:03:46 orly you guys got snow? i didn't think there was any around here yet Oct 30 22:04:07 g00s: what OAuth2 book? Oct 30 22:04:27 dragorn late part of winter is supposed to be lots of 'polar vortex' so brace yourself ... Oct 30 22:04:51 Melatonina the one i linked to lol Oct 30 22:05:31 g00s, yep https://goo.gl/photos/NUVv2ruxTtRdQJcx9 Oct 30 22:05:31 oh, sorry. I didn't see the link. Thanks Oct 30 22:05:42 yeah since the manning books are 50% i'm picking near future reading list. i still can't decide on kotlin. my heart want to go ceylon but adoption is glacial there Oct 30 22:05:46 g00s, oh great; just what we need. Guess I ought to get to splitting wood again soon. Oct 30 22:05:52 dragorn :D Oct 30 22:06:42 dragorn this looks pretty nice https://www.kickstarter.com/projects/340672218/solo-stove-bonfire-the-worlds-most-unique-fire-pit Oct 30 22:06:56 efficient burn == less smoke Oct 30 22:13:28 How do I get Android Signing Certificate SHA-1? Oct 30 22:14:04 I tried running the command in terminal and it say keytool command not found Oct 30 22:15:47 My app installs 3 icons (why 3!?), if I start and restart it from one place it always continues where it left off but if i start it from another icon it restarts the app. Why is this and how can I fix it? It seems it runs more than one instance of the app which is bad. Oct 30 23:06:16 Akuw: if you've got a question, you should probably ask it rather than waiting for someone to guess Oct 30 23:30:16 what? Oct 30 23:42:41 Akuw: really, Akuw, just ask. We are all waiting Oct 30 23:44:54 heheheh Oct 30 23:44:55 ok Oct 30 23:45:11 please wait i am ading SDK Oct 30 23:45:43 i am on linux, when try to debug i got "ADB not responding. If you'd like to retry, then please manually kill "adb" and click 'Restart'" Oct 31 00:01:07 Melatonina: my question is there Oct 31 00:02:37 I don't use Linux Oct 31 00:04:16 :S Oct 31 00:13:55 Akuw: sorry Oct 31 00:17:35 How do you guys deal with the awful fragment backstack? It's giving me hell. Oct 31 00:18:03 *hopes there is a secret that makes it slightly more reasonable* Oct 31 00:25:37 Exerosis: no secret. You burn in hell slowly. Oct 31 00:26:08 Exerosis: but if I were you, I'd ask a specific question about it Oct 31 00:30:30 * kbs just avoids fragments ;-) Oct 31 00:42:04 kbs, I would love to, but what else would I use? Oct 31 00:42:16 kbs, I could just abandon Android xD JK Oct 31 00:43:15 After replacing something like a framelayout with a fragment, what happens on configuration change? Will android automatically save that fragments state and bring it back? Or does it become a framelayout again? Oct 31 00:50:44 Exerosis: no particular suggestions, but I've found just using activities is generally sufficient for me Oct 31 00:51:11 What about tabs? and master detail? Oct 31 00:51:52 It blows my mind that google stands for such a convoluted system, I expected a much more clean, simple SDK. Oct 31 00:52:16 the right analogy is probably microsoft/backwards compatability Oct 31 00:53:35 fwiw, I'm not sure introducing fragments was the best way to handle "responsive" layouts (c.f. how the web deals with it) but it did increase the cognitive load for the programmer. thankfully, it can be treated as a "use if needed" rather than being necessary Oct 31 00:54:43 The thing that gets to me is all the reflection. It seems like it's going against everything OOP. Oct 31 00:55:36 reflection.. where? (just curious :) Oct 31 00:57:24 Like when an Activity gets recreated. Oct 31 01:20:47 How can I force users to login with their gmail again Oct 31 01:31:10 Hellooooo Oct 31 01:37:20 Kam: hi theeeeeeeeeeeeeeeeeeeeere Oct 31 01:37:29 hellooo Oct 31 01:37:33 hiiiiiiiii Oct 31 01:38:26 So I'm creating an app for my school. But I need everyone to use their school emails. Is there a way I can force them to login with the school emails just for the app? Oct 31 01:38:33 the school emails work with gmail Oct 31 01:39:01 how do they login in your app? Oct 31 01:39:11 Right now there is no option Oct 31 01:39:21 But I want them to be prompted with the gmail login Oct 31 01:40:44 I use Auth0 Oct 31 01:42:33 Would I incorporate it into android studio? Oct 31 01:43:17 what is "it"? Oct 31 01:43:36 nvm, there is sample code Oct 31 01:44:08 you are welcome Oct 31 01:44:14 Thank you very much Oct 31 01:44:23 But i'm almost certain I will have more questions very soon Oct 31 01:46:02 If you manage to make gmail authentication to work, I'll be the one to have questions for you Oct 31 01:46:36 I never did Oct 31 01:46:54 So good luck and report back if you are successful Oct 31 01:47:08 Will do. Oct 31 01:50:34 How much java do you need to know to make a basic app in Android Studio? Oct 31 01:51:13 An app using Auth0 is not a basic app Oct 31 01:51:22 it's a pain Oct 31 01:51:40 What if its only function was to ask user for email and then show the users Name? Oct 31 01:51:42 what programming languages do you know? Oct 31 01:52:21 C++ mostly Oct 31 01:52:33 it sound like homework. Anyway you don't need deep Java knowledge Oct 31 01:53:00 My teacher sucks at teaching. Hes making us make an app before we even learn java Oct 31 01:53:04 given your background you'll learn what you need on the road Oct 31 01:53:15 don't worry Oct 31 01:54:57 Lets see how this goes. Oct 31 01:56:33 What you told is the requirement of the homework? Oct 31 01:56:58 logging in with gmail and showing the name? Oct 31 01:57:17 No Oct 31 01:57:30 Ok Oct 31 01:57:30 The requirements are just making an app for the school Oct 31 01:57:36 like show the info and what not Oct 31 01:57:49 But I wanna add a login system Oct 31 01:57:57 ok Oct 31 01:58:04 Good luck Oct 31 02:10:45 Oct 31 02:26:10 Kam: I'll teach you some Java Oct 31 02:26:19 Java is an object-oriented language Oct 31 02:26:26 That'd be nice Oct 31 02:26:47 One of the points of an object-oriented language is having everything being an object, so there is no god object Oct 31 02:27:08 The Android team was unhappy with this so they created a god object called Context Oct 31 02:27:13 Like C++ Oct 31 02:28:05 Java and C++ are both Algol-derived languages so moving from one to the other is not that hard Oct 31 02:28:46 One of the main differences is C has data structures as structs, C++ can have classes, whereas in Java everything must be a class Oct 31 02:29:17 The data structures subsume the functions/methods. Methods are things that just hang off the data structures of the class. Oct 31 02:29:38 Probably the first class you want to learn about in Android is the Activity. Oct 31 02:30:48 for the design? Oct 31 02:31:22 You use Activities a lot Oct 31 02:31:30 You can read about design on the web site Oct 31 02:32:43 Ologn: can you teach me about everything? Oct 31 02:46:25 lol Oct 31 02:58:25 hey , I have a floating action button , but there is red outline surrounding the floating btton , that I can't figure out why http://pastebin.com/hxRt2wzK **** ENDING LOGGING AT Mon Oct 31 03:00:00 2016