**** BEGIN LOGGING AT Thu Aug 04 02:59:58 2016 Aug 04 03:43:04 Anyone here who could answer an RxJava question for me? Aug 04 03:43:41 Could I call Observable.from(methodThatReturnsArrayList()).subscribe(...)? Aug 04 03:46:55 cr5315: yea. couldnt u of just tried it? Aug 04 03:47:15 also, is there any way to see the date an app was first put on the play store? Aug 04 03:47:27 orbyt_, I'm not at my dev computer atm Aug 04 04:01:11 what do you think about using an engine like unity for making android apps? Even if its not a game, i feel like the app can look much more professional and unique when done in unity vs the android framework AS thing Aug 04 04:03:04 to where do I uhzip the ndk? Aug 04 04:03:18 AegNuddel, anywhere you want Aug 04 04:03:26 ok Aug 04 04:03:31 set ANDROID_NDK_HOME to point to it Aug 04 04:03:47 what? Aug 04 04:04:05 I use a cettain softwaew app fo dev Aug 04 04:04:27 software app for* Aug 04 04:04:53 not what you are thinking sorry Aug 04 04:05:31 that doesn't make sense Aug 04 04:10:45 hi, is anybody familiar with enabling google campaign measure in android? Aug 04 04:11:52 i'm currently looking to get app's referral source information only, and was wondering if including CampaignTrackingReceiver xml piece is enough to get this.. Aug 04 05:18:16 how do i stop android studio opening logcat when i run a build? i have distraction free mode turned on but it keeps chuking up that window Aug 04 05:18:36 ironically quite distracting Aug 04 05:20:16 ok found it, its an option in the run configuration Aug 04 05:20:42 under misc if anyone else cares to know :) Aug 04 05:28:11 i have three views followed by a recyclerview, and i want to have the three views scroll up as if they are part of the recyclerview. i'd rather not add them to the recyclerview; they are buttons while the recyclerview stuff is key/value pairs. any pointers? i've heard coordinatorlayout suggested but idk how to use that Aug 04 05:29:24 mathu try something like Aug 04 05:30:54 hi all Aug 04 05:31:29 guys, I need a suggestion about fragments. Aug 04 05:32:20 My layout contains 2 inner fragments and I need to update them from activity. Aug 04 05:33:11 I wonder what is best way to obtain a valid handel to fragment for updating it all the time(so when activity and its fragments will recreate,everythign works well) Aug 04 05:34:54 nothing is straightforward ;) Aug 04 05:36:38 I thought to use intrface callback for activitity, so when fragment creates, it will return its instance to activity. Aug 04 05:37:32 but I wonder if there is any more sutaible approach. Aug 04 05:59:36 i have an activity with a recyclerview of cardviews, i want it so that when you click on a card the card expands to fill the screen - should that be in a new activity? Aug 04 06:01:13 and if so, how do i pass the object of data displayed on the card in recyclerview over to the expanded card's activity? Aug 04 06:02:27 hm....,maybe a fragment will be better. Aug 04 06:03:15 would that be one fragment for the recyclerview (list) and one for the expanded view (detail)? Aug 04 06:03:30 yup Aug 04 06:03:51 but take a more experiences into consideration. Aug 04 06:04:25 I don't have that much experience,so maybe other person is better. Aug 04 06:04:48 and pass detail data as an object to other details view. Aug 04 06:04:54 but view iteself. Aug 04 06:04:57 *not Aug 04 06:11:39 what type of element should the fragment container be? Aug 04 06:30:36 greves: it seems it can be anything. but something like framelayout is better. you may even be able to use viewpager(with 2 views, 1 for recycler, 1 details) Aug 04 06:30:58 Hello. I have assigned the "Android back" button to do something in my app instead of leaving the window/closing the app. Works fine on Nexus, but causing problems with Samsung S7 - It seems to perform the action when the keyboard goes down for hiding. Any connection here? Aug 04 06:31:23 hero_biz, ok thanks, i am trying with framelayout first maybe i can switch to viewpager later Aug 04 06:38:12 any clue to why the contents of a TextView aren't visible with spans applied until one manually enters some text via the soft keyboard? Aug 04 06:54:39 Hello, anyone here got a good idea why template icons I made are wrong according to this android asset studio at https://romannurik.github.io/AndroidAssetStudio/index.html Aug 04 07:07:51 what does it mean "are wrong" Aug 04 07:15:16 well, you're as far along as I am in that regard Aug 04 07:15:32 This company is developing the software for us Aug 04 07:15:34 and simply said "wrong" Aug 04 07:16:10 Now, according to my google-fu and checking my own personal accounts. Notification icons are always white on transparent background, so what he said was "wrong" is right and he simply has no idea what he is talking about Aug 04 07:41:37 Does anyone know how I can give the arrow in a menu (indicating a submenu) a different color? Aug 04 07:42:14 Is there even any documentation as to which user interface uses which style attribute to color itself? Aug 04 07:45:42 user interface element, I mean Aug 04 08:02:16 hello Aug 04 08:03:35 http://paste.ubuntu.com/22149094/ error appears when i use notifyItemChanged(index), it updates view but logs this, when i use dataSetChanged it works ok. Aug 04 08:03:55 any idea ? Aug 04 08:18:18 Hi! I'm using SQliteOpenHelper to create a database in my android app. The constructor requires a version parameter, what version i am supposed to use? My min SDK level is 16 Aug 04 08:18:55 any number you want, usually it is 1 Aug 04 08:19:17 it is used for migration in onUpgrade if you change it in later versions of your app Aug 04 08:19:50 So it's not related in any way to which SQLite version is used? Aug 04 08:20:30 no Aug 04 08:20:38 nor the SDK Aug 04 08:23:38 Ashiren: Thanks! Made things a lot whole clearer for me Aug 04 08:27:55 Ikkyo: it's the version of your database schema Aug 04 08:31:54 Leeds: Understood! Thanks guys Aug 04 08:32:20 (And/or girls) Aug 04 08:42:33 Hello, i have a very simple application, with a custom background and 3 buttons. When i launch it, i see it uses 60Mb of RAM. Its pretty big for nothing no ? Aug 04 08:49:56 Is it all-right to update support library from 23 to 24 and NOT update compileSdkVersion and targetSdkVersion? As I understand it, the support lib is just a jar or set of jars(?) that are backwards-compatible and nothing bad can happen -- in fact, I might get a bugfix or two? Aug 04 08:53:14 if i update my 5x to nougat , will my datas be removed ? Aug 04 08:54:08 I have android studio, but I am unable to find adb.exe Aug 04 08:59:34 sci-fic: if you do the official release OTA, no - but there's no official release yet, unless I missed something Aug 04 09:00:09 nm, found it Aug 04 09:02:34 Hello. In my android manifest file, I have the activities listed. However should all of them be inside a finishing tag or a starting tag (starting <..> finishing <../> Aug 04 09:02:50 Or which other order? Aug 04 09:04:15 ZeNEX: in my Manifest.xml I have: Aug 04 09:04:52 sdousley, for all of them a finishing tag? Aug 04 09:05:27 so they're like self-closing tags. Aug 04 09:05:36 ZeNEX: I don't have a Aug 04 09:05:50 that's what the /> at the end of the "open" tag does. It's a "self closing" tag. Aug 04 09:06:19 is (as far as I'm aware) the same as Aug 04 09:06:53 Oh I see because this guy put all of them with a closing tag but he last one he did an opening tag and then added Aug 04 09:07:15 is it common to do this or does it make no sense? Aug 04 09:07:46 erm, the way I generally think is if you don't need anything between the open and closing tags, use self-closing. if you need to put something IN the tag, use the normal method. Aug 04 09:07:50 for example Aug 04 09:07:57 I need to put something here Aug 04 09:08:11 but since Activity doesn't need that, and it's all attributes, I use self-closing Aug 04 09:08:18 Aug 04 09:08:24 Makes sense, thank you sdousley Aug 04 09:08:43 I don't know quite how "correct" that is, as I've only ever done 1 app Aug 04 09:08:51 but it works, so it can't be "wrong" Aug 04 09:09:04 XML is pretty simplistic anyway Aug 04 09:09:07 yeah Aug 04 09:09:23 I guess I do it that way because of HTML etc, like
and Aug 04 09:15:25 If a user gives permission to use e.g. GPS, while the application is running, can the user go out of the application and disable GPS *permission* for that application? in other words, apart from checking if the GPS is enabled every time I make a call which uses that service, do I also need to check if I still have permission to use the GPS service? Aug 04 09:16:12 the permission can be removed, yes Aug 04 09:28:19 Hi all, did anyone here before work with urbain airship and android ? i'm having difficulties getting it connected and not sure what i'm doing wrong seeing as i get a airship ready and no errors Aug 04 10:03:39 Do applications reall go through the process of checking the API to decide if they should check for permissions on runtime to then check if they have permissions and later check if they GPS is enabled every time they make use of the location services? that is really overkill... Aug 04 10:07:44 Hey, I'm trying to put a simple fragment with a textview inside and activity, but it keeps crashing in the inflation step. Any idea why that happens? Aug 04 10:09:30 https://bpaste.net/show/e82e30698b12 here's the output Aug 04 10:23:57 What is the standard way to getting the Context of an application? Aug 04 10:30:51 ZeNEX: checking perms isnt actually that bad, the compat thing just returns true that you have hte perms if it is pre-marshmallow so you basically dont have to deal with that Aug 04 10:31:37 ZeNEX: and all the gps stuff was a ton of checking before so thats not really any different Aug 04 10:32:26 ZeNEX: as for Context, it depends on what you need it for, there are several (Activity context, Application Context, Base Context) Aug 04 10:32:48 ZeNEX: you can probably just use "this" most of the time tho unless its graphics related Aug 04 10:33:13 perfinion, well im getting this error from android studio saying that I need to check the API. Should I disregard this warning? Aug 04 10:33:37 ZeNEX: how are you checking if you have the perm? Aug 04 10:34:02 perfinion, checkSelfPermission Aug 04 10:34:56 ZeNEX: ZeNEX from Context? or ContectCompat? Aug 04 10:35:23 perfinion, if (checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) Aug 04 10:35:41 ZeNEX: do this instead: Aug 04 10:36:09 ContextCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED Aug 04 10:36:45 perfinion, seems to work, thanks :) Aug 04 10:37:25 ZeNEX: and later on you use this: ActivityCompat.shouldShowRequestPermissionRationale(this, Aug 04 10:37:56 ZeNEX: basically hte fooCompat ones check for you and do the right thing on pre-marshmallow Aug 04 10:39:19 oh okay Aug 04 10:44:39 hi guys? Aug 04 10:45:22 hello you?? Aug 04 10:45:32 could anybody explain how to pass data from parent fragment to child fragments? Aug 04 10:46:12 i have a radio button in parent fragment, on radiobutton change i need to pass values to child fragments(view pager). Aug 04 10:46:40 any body has anything mind? Aug 04 10:46:42 implement an interface in the activity that the fragment can call Aug 04 10:46:54 thn that one calls the other places and passes it on Aug 04 10:47:19 or you make a bunch of onChanged handlers and pass them to the first fragment Aug 04 10:50:59 hi guys but how does activity get refrences to view pager fragments at runtime? Aug 04 10:51:35 Is there any reason why building an app in intellij somehow is different than building it command line with the gradle wrapper? Aug 04 10:52:00 Intellij gives me the 65k+ method error, where the app just builds on the command line Aug 04 10:52:45 66k error is associated with memory Aug 04 10:53:23 https://developer.android.com/studio/build/multidex.html Aug 04 10:54:11 The dexcount plugin stated that my app uses about 56% of the method count Aug 04 10:54:43 And it builds fine when invoking gradle from the gradle wrapper on the command line Aug 04 10:55:19 And I'd like to avoid enabling multidex when it isn't really necessary Aug 04 10:59:26 Turns out instant run is the culprit Aug 04 11:00:20 Enabling instant run makes my app trigger the 65k limit. Disabling will make it run fine. Aug 04 11:27:57 Really now, I can't get even a blank fragment to work.... Aug 04 11:31:30 oO Aug 04 11:35:19 As in, it always gives me a fragment inflateException Aug 04 11:35:25 And I'm not even sure what causes it Aug 04 11:40:43 Hi folks Aug 04 11:41:17 I'm a bit stuck. Is it possible to call a method within a service from a broadcast receiver? Aug 04 11:42:18 Ashiren: any ideas? Aug 04 11:42:33 lg188: code and xml plx? Aug 04 11:43:09 reaxion: um, you should start service in broadcastreceiver and end it. broadcastreceiver should be short-lived Aug 04 11:43:30 The service is running already, as it performs other functions. Aug 04 11:43:55 I just need to call a method within the service then recycle the broadcast receiver Aug 04 11:44:56 Or would it be better to call the service and pass extras in the call, then have the service do the processing? Aug 04 11:45:55 if you start the already started service, the OnStartCommand with the intent will be called Aug 04 11:45:59 you can do things there Aug 04 11:46:14 Ashiren: main activity https://bpaste.net/show/3f8a33b43f01 Aug 04 11:46:19 Ok Aug 04 11:46:40 Ashiren: Thanks. Aug 04 11:46:55 lg188: so a problem with xml Aug 04 11:47:45 Hey guys I am trying to solve this "java.lang.IllegalStateException: Fragment already added: a{fa7f55 #0 id=0x7f0f00d8}" since yesterday but I am not sure where I am going wrong. Performing all the checks for isAdded() etc but still getting the error Aug 04 11:47:57 Ashiren: here's the activity xml https://bpaste.net/show/b28b2bb080a3 Aug 04 11:48:04 http://pastebin.com/P2iqcswi Aug 04 11:48:16 Notably, this crash is not happening always Aug 04 11:48:30 happens sometimes, usually when the app is opened after a long time Aug 04 11:49:22 lg188: it works without the fragment? whats fragment's xml Aug 04 11:50:09 Ashiren: https://bpaste.net/show/01942d31ab1c the fragment's xml Aug 04 11:51:03 so its quite simple hmm Aug 04 11:51:38 Yeah, I'm really astounded Aug 04 11:51:55 I tried changing the activity to extend frameactivity Aug 04 11:52:02 but it didn't seem to work Aug 04 11:52:39 WantToCode: with isAdded() you could also check if fragmentManager can find this fragment Aug 04 11:52:55 and/or try to always remove fragment before adding it Aug 04 11:53:19 I am using show/hide because i want to keep the states Aug 04 11:53:42 I am using isAdded() and using .show or .add accordingly Aug 04 11:53:52 can you take a look at the code? Aug 04 11:54:53 yes Aug 04 11:55:19 what about http://stackoverflow.com/questions/6250580/fragment-already-added-illegalstateexception Aug 04 11:55:21 Ah Ashiren, I'll post the fragment class, maybe I messed up anything there Aug 04 11:55:51 https://bpaste.net/show/b807fb00203a Aug 04 11:56:42 Ashiren, I cant "remove" the fragment because it fetches some data and it would be expensive operation if I do it on every fragment transaction Aug 04 11:57:13 I have tried commitAllowingStateLoss but it was difficult to judge if it worked or not because the bug itself comes up randomly Aug 04 11:57:48 lg188: everythign seems alright Aug 04 11:58:28 Ashiren, well that's what I think too, so that's why it's so agrivating that I can't find the error. Aug 04 12:04:28 what's weird is that I can't intercept the exception anywhere else than the main. Aug 04 12:05:46 Ashiren: At least so far I tried the constructor oncreate and oncreateview Aug 04 12:07:11 Ashiren: it's the xml. I need to specify an ID to the fragment Aug 04 12:08:06 oO Aug 04 12:08:41 it's appearently somewhere in the exception log. Must have missed it. Aug 04 12:08:53 Someone else pointed it out Aug 04 12:09:42 that was pretty nerve wrecking Aug 04 12:12:29 hey guys, can i catch notifications from other apps and manipulate them? i tried the notificationService but i can't change or delete specific notifications. Aug 04 12:13:40 no Aug 04 12:17:05 I think you maybe can if you're an accessibility service Aug 04 12:17:42 sounds shady to be honest Aug 04 12:28:09 Just started working at a new place. They want me to move their networking code into another module. I'm not sure whether this means package, or module or a library altogether, but I really don't know where to start. What do you guys recommend? Aug 04 12:30:14 I think I'm just going to take anything http related and break it out into another library. Though at the same time... it feels like overkill having to recompile an aar just for a networking/api layer update. Aug 04 12:41:44 Hey, I am working on an app and I am providing input with seek bar's but just in case the value needs to be entered more accurately there is a label next to the seek bar that when clicked on will open a dialog with a way to enter the value more accurately. My issue is what that input method should be, the value will be a floating point number between a min and a max with a step of .5 (i.e. 10, 10.5, 11, 11.5, ...). Aug 04 12:47:19 Currently trying to call a function on a Person object, but it doesn't seem to get recognised Aug 04 13:01:37 Hi, I am planning to install android studio freshly on my new arch linux set up. I was wondering if lib32-mesa, lib32-fontconfig, and lib32-xrender are required dependencies? Aug 04 13:10:36 X-tonic: How are you planing to install it from the AUR? Aug 04 13:10:40 Hmm. I've got my intents passing extras nicely through to the Service now. However, it's like none of the other methods in my service want to run except for what's stated in the onStartCommand method Aug 04 13:12:05 lignux: I felt the AUR installation was bloated for this reason. I was wondering why the AUR PKGBUILD has that dependency, but the .zip download on Android developers website doesn't mention the dependency. Aug 04 13:13:25 I have a delete button on a row in a recyclerview. when I press it, the row gets removed, with animation and all (using notifyitemremoved), there's a delay before the animation triggers Aug 04 13:15:24 hello Aug 04 13:15:44 hello devs Aug 04 13:15:51 what's up Aug 04 13:15:59 sky~ Aug 04 13:16:09 X-tonic: Even if the developers website doesnt mention that as a dependecy when you will be installing android studio it will install all of its needed dependencies with it. Aug 04 13:16:52 anyone knows what's the reason for that delay? Aug 04 13:16:58 Hi, I've got a ViewPager in my mainactivity but inside my Fragment.class I want to make it do pager.setcurrentitem(0) to go back to the beginning. How do I reference the pager which lives in mainactivity Aug 04 13:17:04 need a little help make a custom rom for G920R4 Aug 04 13:17:20 mshibo: #android-root :? Aug 04 13:17:53 all i need is to add more languages in the rom Aug 04 13:18:10 but i'm working on stock rom, not AOSP Aug 04 13:19:06 maybe i should tell you that i'm a beginner in building roms Aug 04 13:19:30 thats a job for #android-root Aug 04 13:19:31 lignux: If I just extract out the zip downloaded and execute bin/studio.sh, I do not see where these dependencies will be downloaded. Aug 04 13:19:38 here is more about developing apps Aug 04 13:20:22 aha, got you Aug 04 13:20:49 kostodo: ((yourActivity)getActivity()).methodTocall() Aug 04 13:22:09 raoul11, mViewPager is a view Aug 04 13:23:08 on that methodTocall call the pager.setcurrentitem Aug 04 13:23:26 X-tonic: i never downloaded a version of android studio where i can just extract it and run it without ever installing it or its dependencies Aug 04 13:23:58 raoul11, I see, thanks :) Aug 04 13:24:14 X-tonic: just download it from there if you don't want the aur one and see if you get "extra" dependencies Aug 04 13:25:17 you could compress an existing installation... Aug 04 13:28:22 raoul11, so something like private void setViewPager(int pos) ? Aug 04 13:28:59 make it public Aug 04 13:29:01 but yeah Aug 04 13:29:40 and on it, call the viewpager's setCurrent Aug 04 13:34:50 raoul11: HAI Aug 04 13:34:59 ohi Aug 04 13:35:06 someone finally showed up Aug 04 13:35:41 thepoosh its like 9488c here in tel aviv nao ): Aug 04 13:36:00 Is it possible to refresh a webview in a specific fragment inside a viewpager? Aug 04 13:37:06 guys, I need to update few fragment's content from activity. what is best approach to have a valid fragment instance in activity all the time?(for example after fragment recreation) Aug 04 13:37:07 raoul11: a guy from TLV said it's quite nice here today Aug 04 13:37:09 si suck it Aug 04 13:37:17 and come live in the holiest of holes Aug 04 13:37:23 am about to get to the beach Aug 04 13:37:33 play some matkot and sweat all my fatness out Aug 04 13:37:42 lame! Aug 04 13:37:49 work is for suckers Aug 04 13:38:04 thepoosh you watch Silicon Valley? Aug 04 13:38:11 yessir Aug 04 13:38:36 well minus the fact that im a shit coder, i can relate to a lot of stuff on the last season Aug 04 13:39:20 in the middle of the 3rd season Aug 04 13:39:27 first 2 were super close to home for m Aug 04 13:39:28 me Aug 04 13:39:50 it was actually painful to watch sometimes Aug 04 13:40:08 well, the other half of the 3rd season gonna kick you right in the gutts Aug 04 13:40:15 it did for me Aug 04 13:40:22 but i wont spoil it for ya Aug 04 13:40:46 CES? Aug 04 13:40:54 we went to CES twice Aug 04 13:41:02 I wasn't there or part of the effort Aug 04 13:41:23 but I remember it being a living hell to my co-workers Aug 04 13:42:00 i was suppose to do CES like 4 years ago Aug 04 13:42:06 mayb more Aug 04 13:42:37 it's a painful experience Aug 04 13:42:52 24/7 debugging and patching Aug 04 13:42:57 everything is a hotfix Aug 04 13:43:10 funny, all i do with my apps are hotfixes Aug 04 13:43:11 of a hotfix of a hotfix Aug 04 13:43:19 yeah those Aug 04 13:43:43 there are rare moments i actually try to rethink shit Aug 04 13:45:47 that is one of the main reasons i like working in a team Aug 04 13:45:51 code review is amazing Aug 04 13:46:44 i got two offers for a joint op thepoosh Aug 04 13:46:50 lately? Aug 04 13:46:52 pide piper style minus the money Aug 04 13:47:00 yer Aug 04 13:47:33 that would be a "hell no!" Aug 04 13:47:44 don't think I'll do a startup next time Aug 04 13:47:54 this is bad for my health Aug 04 13:47:55 dont leave ): Aug 04 13:48:00 ud die on corp Aug 04 13:48:01 still here Aug 04 13:48:04 literally Aug 04 13:48:12 dunno, still a mobile dev Aug 04 13:48:18 these stay fresh(ish) Aug 04 13:48:26 maybe I'll go to a app shop next Aug 04 13:49:05 remember your business plan Aug 04 13:49:14 :P Aug 04 13:49:39 http://1.images.southparkstudios.com/blogs/southparkstudios.com/files/2014/09/1801_Premiere.jpg?quality=0.8 Aug 04 13:50:06 i still got 5 years to do it thepoosh Aug 04 13:50:12 wut Aug 04 13:50:29 cash in, bro down Aug 04 13:51:10 yeah man Aug 04 13:51:11 if in 5 years im not exiting, am buying a house in goa and start fishing for a living Aug 04 13:51:14 I have until 67 Aug 04 13:51:25 no thanks, sounds hard Aug 04 13:52:54 ANyone familiar with DI and Dagger? Confused is I should treat calling static methods as a dependency. Example... Log.d/ Timber .d Aug 04 14:03:38 you can't, that's why static is bad Aug 04 14:10:21 hey guys, the dev console says my app does support 80 languages (the "Localisations" field in the apk details). but that is not the case, I only support a couple. will it show up with support for those 80 languages in the store listing or only with the ones where I also have a translated listing? Aug 04 14:21:17 derptank: i think it will show up for them, only in the main language Aug 04 14:21:27 and some countries where you have translations will have those strings Aug 04 14:21:33 confusing sentence Aug 04 14:21:53 pfn: So what should I do with simple static crap like Log/Timber littered all over my code? Aug 04 14:21:56 if you dont specifically say 'language x' it will default to the original language Aug 04 14:22:06 Wrap it in a class? Aug 04 14:23:46 it seems when I migrated an older project to 2.1.2 and Gradle, my color schemes became obsolete and some default theme was applied which I can't seem to adjust via layout editor, where should I look for this? Aug 04 14:24:31 right now I can make changes to color scheme in layout editor, but no matter what colors I define, when I run the app its black with dark grey text and a turquoise blue header Aug 04 14:24:39 but the changes show in the layout editor Aug 04 14:24:57 there has to be something overriding the color schemes I'm defining in the layout editor Aug 04 14:26:15 make sure that activity is using that theme, either in code or in the manifest. I believe you can define any theme you want in the AS layout tool but it doesn't actually assign it to the activity Aug 04 14:26:58 I can find the code generated by the layout editor in my layout's .xml though Aug 04 14:27:15 I can manually adjust colors for backgrounds and Tints in there and see the changes in the preview Aug 04 14:27:37 but at runtime something is overriding the definitions in the layout.xml Aug 04 14:28:20 hmm, I just noticed I have the same layouts for different targeted API versions Aug 04 14:28:39 I mean I have separate layout .xmls for the different targeted API versions Aug 04 14:29:11 I think I just need to start a new project and rebuild the dang thing from scratch Aug 04 14:29:21 TaboLayout.Tab#setCustomView seems to be bugged Aug 04 14:29:39 I was warned migrating this old Eclipse project to AS isn't a great choice, and I suspect this is the kind of problems I might experience Aug 04 14:35:01 How would i go about refreshing my recyclerview to show the correct list after pressing the back button on the phone? When i press the up button everything behaves corectly i can edit items in the list and then press up and it all shows good but when i press the back button it behaves strangely. Aug 04 14:35:15 i use SQLite database if that helps Aug 04 14:38:26 thanks xorgate I'll see how it goes and test it with a different language on my phone Aug 04 14:38:54 i think its because i am using notifyItemChanged and notifyItemRemoved and if i use notifyDataSetChanged it will all work good but also someone here said never to use notifyDataSetChanged so i don't know how to go with this Aug 04 14:40:57 yup. Everything works corectly when i use notifyDataSetChanged. Should i countinue using that or is there a better method for this? Aug 04 14:43:23 http://pastebin.com/5swbXy7a Aug 04 14:44:03 I can chance the android:background color, shows the change in Preview, but it loads some terrible unusable default every time I run the app! Aug 04 14:44:09 where else should I be looking for a def? Aug 04 14:44:28 eghdk, stop logging :P Aug 04 14:45:13 pfn: Bah =) Aug 04 14:45:49 pfn: A Logger wrapper makes sense to me. And then I just construct that class by passing in a Logger. Makes sense to me, but anyone with experience would be nice to hear from Aug 04 14:45:54 what does this line do? Aug 04 14:46:18 eghdk, no one cares about DI for a logger Aug 04 14:47:16 heart broken =/ Aug 04 14:47:36 I thought I was on the right path to understanding what DI should be used for. hahah Aug 04 14:48:01 well, one thing you could do with DI and a logger is inject variant logging classes based on your build flavor Aug 04 14:48:05 azv4: it defines a menu in xml. the xmlns is the namespace. standard android stuff in xml Aug 04 14:48:10 but it's pretty basic Aug 04 14:48:32 thx xorgate, that shouldn't have any influence on the theme right? Aug 04 14:48:49 azv4: menus by themselves have nothing to do with themes. Aug 04 14:49:03 azv4: this is just a description of what items are in it, conceptually Aug 04 14:49:15 how they are styled is another matter Aug 04 14:49:45 azv4: you will find the same xmlns in a layout file Aug 04 14:49:49 That was what I thought, I'm just at a complete loss where to turn in understanding why my TableLayout definitions aren't making it to runtime Aug 04 14:50:07 azv4: you could post a pastebin here with the tablelayout Aug 04 14:50:09 eghdk, i had an enterprise client that wanted every shit logged to its db AND the logcat, so we wrapped log calls Aug 04 14:50:51 xorgate, if I have more than one listed for a form, and my min and targeted API are the same, I should be looking at that version of the layout xml right? Aug 04 14:51:23 they wanted the app to have configurable log level Aug 04 14:52:34 but no one looked at the logs after the app had gone to production Aug 04 14:52:44 xorgate, http://pastebin.com/X7VNvKq3 Aug 04 14:53:44 that's a lot of xml Aug 04 14:54:10 try removing 'weightSum' if the children don't specify weights Aug 04 14:55:31 xorgate, sorry, I could have just pasted the tablelayout:*=( Aug 04 14:59:11 xorgate, that didn't work, this strange default theme with the blue headers and dark grey on black background persists! Aug 04 14:59:42 the date choosing dialogs have white background with black text, that is the only fields you can actually read ! Aug 04 15:03:02 I think I better just make a new project and start building one activity at a time Aug 04 15:03:16 and make sure I have a project that is fully in line with the newer APIs Aug 04 15:03:29 I might have enough knowledge at this point to do it successfully Aug 04 15:03:51 I wish they wouldn't even let users touch import tools when they are so bad in general Aug 04 15:04:00 it's very frustrating! Aug 04 15:08:37 I've got 3 espresso tests that each pass on their own but 2 of 3 fail when they are run together. I think it's a sync/wait issue. Anyone care to help? Aug 04 15:11:47 is any actual google people in here that gives answers? Aug 04 15:12:45 RagingTroll: Just ask a question. Some are. Some aren't. Aug 04 15:12:50 I don't think they offer any free real time support Aug 04 15:13:51 well i was wondering about a google play thing..i've read that you must not influence ratings in any way..and as an example is an image saying "rate our app 5 stars for X reward" Aug 04 15:14:02 are we allowed to put a "rate our application for x reward" Aug 04 15:14:08 without demanding any number of stars? Aug 04 15:14:27 just rate as you think we deserve.. and get a reward Aug 04 15:14:42 not to actually influence on their actual rating Aug 04 15:15:16 if they do.. they'd get x reward in-app Aug 04 15:16:11 xorgate: I fixed it by specifying my languages in the build.gradle file under "defaultConfig", add " resConfigs "en" " to only allow english Aug 04 15:18:00 Can an adapter have 2 types of views? I mean two different layout files? Is this even possible? Aug 04 15:18:51 I'm trying to emulate the whatsapp interface, where we have text messages, and sometimes there are pictures, so it should be a recycler view with 2+ types of elements... How should I achieve something like this/ Aug 04 15:19:05 amg this is so annoying, what is making these layouts default to this stupid theme that isn't even usable...!!! Aug 04 15:21:02 any tools to help quickly mock up an app's UI? Aug 04 15:21:14 parco, layout editor? Aug 04 15:21:25 i have a feeling my photoshop technique is not the best Aug 04 15:24:03 Can anyone help? Im trying to run an Instrumentation test on my app, Im getting a runtime exception: Can't create handler inside thread that has not called Looper.prepare() Aug 04 15:24:34 derptank: resConfigs strips other language strings from libraries you may use Aug 04 15:25:13 Zeuri, I think you have to call Looper.prepare() Aug 04 15:26:27 Inside the ApplicationTest constructor? Aug 04 15:28:13 public void run() { Aug 04 15:28:13 Looper.prepare(); Aug 04 15:29:51 Zeuri: the problem is that code is being run on the wrong thread Aug 04 15:31:03 I figured as much, Im struggling to understand how to handle the threads. stackoverflow is telling me to setup a handler in the UI but this doesn't seem to be working Aug 04 15:31:04 i had it the other day when trying to start a Dialog from inside a network callback Aug 04 15:34:20 How to setup an adapter with different type of views? Aug 04 15:43:06 Could anyone give me some guidance with this: Couldn't read row 0, col 4 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it. Aug 04 15:43:40 I've tried updating the database version and I've added an extra parameter for my user so it's now collecting 4 parameters and not 3 Aug 04 15:47:54 Is there a way in Espresso to verify an Activity's method was called? With Mockito, this is verify(myActivity).myMethod(); I'm wondering if Espresso has something similar? Aug 04 15:55:13 nvm Aug 04 15:55:16 I was being idiot Aug 04 16:00:58 MarkyC: I'm not sure if that's testing at the proper level for espresso Aug 04 16:01:32 It seems like it should be testing that a result physically happens on the device Aug 04 16:14:19 how do i get the style of the action_bar_title and then apply it to a spinner that I place in the actionbar? Aug 04 16:14:28 I wanna replace the title with a spinner basically Aug 04 16:14:43 but I want it to look as similar as possible and as simple as possible Aug 04 16:18:29 I'm trying to make an app that will notify you when you've reached a location that you set. You can have as many reminders as you like. However, for some reason I'm not getting notified until far after I get there (often once I pull out my phone and wake it up). I have the whole project on Github. Should I just post the code for the three or four relevant files? Aug 04 16:19:33 is it possible to get a File handle on a file on google drive? Aug 04 16:22:36 xorgate_: suspect maybe a conceptual mismatch :) what would you want to do with such a hypothetical File handle? Aug 04 16:23:47 kbs: i 'need' a file handle because i want to upload the file to a server, and i need to make a OkHttp RequestBody, for which the create method takes a File Aug 04 16:24:06 Here is all the code that should be necessary for sending notifications and detecting when the user has gotten to a location. https://gist.github.com/Sircular/a63d023072ab3bf931619145e76277e5#file-bootcompletereceiver-java-L4 Aug 04 16:25:58 xorgate_: you don't need a file Aug 04 16:26:00 xorgate_: I assume that library may have a way to stream content (rather than assuming it always takes in a File?) fundamentally - you may find using contentResolver()... to grab a stream rather than assume ACTION_PICK Uris are files are more general Aug 04 16:26:18 xorgate_: those are just for conveniences, you can create your own RequestBody and stream data from anywhere Aug 04 16:27:17 JakeWharton: ok makes sense Aug 04 16:27:59 let's see if the contentResolver has something useful.. i'm a bit out of my league here Aug 04 16:30:09 i'm guessing this fella https://developer.android.com/reference/android/content/ContentResolver.html#openInputStream(android.net.Uri) Aug 04 16:34:09 is there any Espresso ebook? Aug 04 16:35:06 fraktor: it's been a while since I did this, but iirc, you need to explicitly request location updates via the api, otherwise you just get cached information - is that correct? Aug 04 16:35:51 fraktor: afaict, the code is only requesting getLastLocation(), but I think there's some other apis to call to actually force it to wake up the various radios and start getting coarse/fine location Aug 04 16:36:22 MyWay: I'd love to find something on that as well, I feel like there's still a lot I'm missing on it Aug 04 16:36:25 fraktor: however, since you're already using google apis, also wonder if the geofencing support might more easily/better match what your app wants to do (haven't used it though) Aug 04 16:36:38 espresso? Aug 04 16:37:51 Maybe not an ebook, but a series of best practices/lesser known methods tutorials. Aug 04 16:38:55 yeah Aug 04 16:39:01 fraktor: look into FusedLocationProviderApi.requestLocationUpdates(...) possibly, also https://developers.google.com/android/reference/com/google/android/gms/location/GeofencingApi might be a simpler way to do what you want without worrying about alarms and the like Aug 04 16:39:06 Anyone familiar with Dagger? Curious to why the google docs say "Classes that lack @Inject annotations cannot be constructed by Dagger." Aug 04 16:39:55 kbs: I used requestLocationUpdates before, but the problem is that I cannot change the duration on-the-fly. I'll look into the geofencing APIs as well. Is there a way to force the radios to wake up just once, though? Aug 04 16:40:08 I currently have a Class thats being constructed by Dagger (I think) and I don't have any Inject annotation on that classes constructor. Aug 04 16:40:30 eghdk: ignore that Aug 04 16:41:15 JakeWharton: No! I just wasted a few hours trying to figure out what the hell that means! Aug 04 16:41:16 fraktor: I don't know any way (that's not to say there isn't) other than via requestLocationUpdates Aug 04 16:41:30 kbs: oops. Might as well link me to lmgtfy. I found a way to force a location update on StackOverflow. Thanks for telling me about an issue that I didn't know existed! Aug 04 16:41:36 well if you know @Provider methods are a thing then that sentence should immediately render as being false Aug 04 16:41:57 kbs: what made you say about the conceptual mismatch? rather, what did you know i didnt? Aug 04 16:42:14 JakeWharton: @Provider? Do you mean @Provides? Aug 04 16:42:22 sure Aug 04 16:43:10 xorgate_: nothing exciting - just that google drive files (the way I read the question) is more an idea as it's basically a reference to data in the cloud, whereas a java.io.File is a more concrete thing Aug 04 16:43:26 JakeWharton: Okay. Just making sure there wasn't some annotation I wasn't aware of. I guess I'm not going to read the Dagger 2 google user guide. It's confused me more than anything. Aug 04 16:43:42 kbs: ok Aug 04 16:43:42 im trying to work with android studio. someone shared a project that has a dependency not available unless you use canary. what is the cleanest way to proceed. can i indiate for this project to get the dependency? Aug 04 16:44:01 Provider is the mechanism, @Provides is the annotation Aug 04 16:44:23 but yeah, the Dagger 2 docs are... questionable Aug 04 16:44:32 there's a page on Android that's filled with lies and misleading statements Aug 04 16:44:54 multiple issues have been filed by actual Android engineers about it and they're ignored Aug 04 16:45:09 kbs: I spoke too soon. It turns out that that way doesn't work particularly well. How expensive is it to request and remove location updates frequently? That way I could change the duration on-the-fly. Aug 04 16:45:22 JakeWharton: Well then... thats kinda fucked. Why wouldn't they update it? Aug 04 16:45:59 kbs: JakeWharton: thanks fellas it works now (cleaner than before) using http://stackoverflow.com/a/25384793/867099 Aug 04 16:46:10 they're not android users and they're not proguard users Aug 04 16:46:17 fraktor: it's been a while tbh - as I recall, there are some options to requestLocationUpdates() that let you tweak the battery-vs-recency tradeoffs, but beyond that I'm not sure Aug 04 16:46:47 Anyway. JakeWharton I watched your Dagger 2 presentation, but it starts to get away from me about 20/30 minutes in, so I decided I would try to write an example... but it just raises so many more questions. Any good tutorials you recommend? Or do you just recommend getting my hands dirty and breaking things? Aug 04 16:47:23 i'm a hands-dirty person, but it doesn't work for everyone Aug 04 16:47:40 kbs: thanks for your help. I think you solved the problem. Aug 04 16:47:44 i've lost perspective on what's good introductory material at this point related to Dagger / injection Aug 04 16:48:10 fraktor: sounds like an interesting app, good luck Aug 04 16:48:16 JakeWharton: I have things working. I just wish someone could give me some validation of "Yeah... that's something we would ship at [INSERT BIG NAME COMPANY HERE]" Aug 04 16:48:57 have confidence in yourself and just be the person who says that Aug 04 16:49:19 worst case, shit breaks and you're now forced to learn more Aug 04 16:49:22 kbs: tbh, I'm mostly writing it for resume fodder. I want to get it done before I start applying to colleges. But I've also heard that you should build something you want to exist if you want it to be done well. Aug 04 16:49:33 +1 Thanks. I'll keep chugging JakeWharton Aug 04 16:49:54 there was a new set of intro articles that popped up on reddit recently Aug 04 16:50:26 https://medium.com/@isoron/a-friendly-introduction-to-dagger-2-part-1-dbdf2f3fb17b Aug 04 16:50:42 Oh. This guy looks good https://www.reddit.com/r/androiddev/comments/4w5e9n/playing_with_dagger_2di_for_the_first_time_today/ some similar questions that I have. Aug 04 16:51:56 Do you guys think it's worth the hassle to upgrade an existing application from Dagger 1 to Dagger 2, or should Dagger 2 just be the base for new apps using dependency injection? Aug 04 16:52:10 JakeWharton: Last question regarding DI. Do you only use it on the app layer? I'm going to be building a networking layer soon, and was curious if I should use dagger there as well. Any thoughts on that? Aug 04 16:52:15 I thought Dagger 2 had migration instructions? Aug 04 16:52:21 we use it everywhere Aug 04 16:52:43 konk3r: depends on the size of the app and whether there's actually things to gain Aug 04 16:52:55 i'm not going to upgrade because the version is one larger, but if i need something i'm not getting from 1 then i would Aug 04 16:53:23 How to implement a RecyclerView with different type of layouts? Aug 04 16:53:25 Yeah, I haven't experienced anything that's holding me up from dagger 1 right now at work Aug 04 16:53:42 JakeWharton: Is this even possible> Aug 04 16:53:44 Just started working at a new place. They want me to move their networking code into another module. I'm not sure whether this means package, or module or a library altogether, but I really don't know where to start. What do you guys recommend? Aug 04 16:54:36 crised: you gotta look at onBindViewHolder, investigate from there Aug 04 16:55:00 xorgate_: inside adapter class? Aug 04 16:55:29 crised: yes. the adapter is asked 'how do i draw item X' then you tell it Aug 04 16:55:52 eghdk: I'd assume they want you to pull it out of the app in some form, but I'd ask for clarification if they want it to be a completely separate library or just another module inside of your app Aug 04 16:56:05 xorgate_: I'm trying to create something similar to whatsapp chat interface, where most of the times you get a text message, but sometime you also get a picture Aug 04 16:56:17 crised: same here :) Aug 04 16:56:26 crised: yes Aug 04 16:56:29 it's possible Aug 04 16:56:32 xorgate_: Am I on the right track? Use a RecyclerView with different types? Aug 04 16:56:33 konk3r: It doesn't make sense that it could be reused somewhere... its fairly android specific Aug 04 16:56:34 i got messages, location, audio, video, image.. etc Aug 04 16:56:41 crised: that’s fine Aug 04 16:56:51 ok cool, thanks guys I'll dig into this Aug 04 16:57:09 crised: it's a bit outdated but for a primer on lists, look at https://www.youtube.com/watch?v=wDBM6wVEO70 the concepts are the same Aug 04 16:57:28 i'm a big fan of that vid Aug 04 16:57:42 It's like they want me to remove the OkHttp code and put that into a separate module. idk. Seems like over abstracting. Aug 04 16:57:46 crised: there’s an article from last year talking about using the delegate pattern for adapters when you have multiple layouts and cell types Aug 04 16:57:54 btw is romain guy now back on the android team? i thought he went on to do other stuff Aug 04 16:58:04 crised: http://hannesdorfmann.com/android/adapter-delegates Aug 04 16:59:22 xorgate_: Seems to be back yeah. Aug 04 16:59:28 s73v3r: thanks Aug 04 17:00:07 i fondly remember the days when we could ask google engineers questions in this chan :) Aug 04 17:00:40 It doesn't always need to be about reuse, sometimes it's just nice to keep things separate. Or maybe it's something they want to be able to be reused in future projects Aug 04 17:02:24 eghdk: It's fairly common practice to encapsulate 3rd party libraries, I don't know if I'd personally do it for OkHttp but I get where they're coming from Aug 04 17:02:47 konk3r: Okay. Thanks Aug 04 17:03:36 hi. is there a way to see what item i touch on my emulator? i want to add clicklistener but dont know what im clicking Aug 04 17:04:44 there must be a way... Aug 04 17:06:01 My camera supports 4k, and 1080p (1920x1080), but when I try to get the supported sizes for preview, I only get 1440x1080 and lower using StreamConfiguration.GetOutputSizes(surface.class), and recommendations? Aug 04 17:08:39 Question: the official Google Maps app's search results appear in something that looks a bit like a NavigationDrawer but eg: doesn't grey out the map view when it's open. What's the term for that behaviour? Aug 04 17:13:31 konk3r: hey sorry I left for lunch. Why is that not testing at the proper level? My goal of this test is to ensure that a listener is indeed hooked up to this button Aug 04 17:15:16 how do i get the style of the action_bar_title and then apply it to a spinner that I place in the actionbar? I want a title that is also a spinner Aug 04 17:18:08 can anyone tell me what is the difference between getid() , and gettokenid() in google sign in implementation ? Aug 04 17:18:14 how are they different ? Aug 04 17:18:23 i am unable to understand how are they different Aug 04 17:19:01 Oh JakeWharton do you know if this is necessary for Dagger? Some guides include it and some of them don't. // provided 'javax.annotation:jsr250-api:1.0' Aug 04 17:20:52 anyone please tell me what is the difference Aug 04 17:21:10 getID() and getTokenID() . in google sign in documentation Aug 04 17:24:57 Hello! Could anyone advise me on using shared libraries with NDK? Aug 04 17:25:22 jackhum: https://developers.google.com/android/reference/com/google/android/gms/auth/api/signin/GoogleSignInAccount Aug 04 17:25:56 getID returns the unique ID for the google account, whereas getIdToken returns an ID token that you can send to your server Aug 04 17:26:48 s73v3r: first of all thanks for coming for help in the pool of intelligent IRCians Aug 04 17:27:20 s73v3r: so , every profile of google has unique ID , and getID() return that , i am unable to understand that is this token thingy Aug 04 17:27:51 the token is something you can send to your backend server, that will separately validate the identity with Google Aug 04 17:28:01 s73v3r: so basicaly every google email has a unique ID , Aug 04 17:28:18 yes, but you don’t want to do that, because it can be spoofed if on a compromised device Aug 04 17:28:24 s73v3r: umm , is the token always unique/. Aug 04 17:28:38 new status https://developer.android.com/about/dashboards/index.html Aug 04 17:28:41 the token? No idea Aug 04 17:28:54 kitkat is going to be here for at least another year or 2 at this rate ... Aug 04 17:29:00 s73v3r: in my android app , i want to have some kind of shared preferences storing the way user has logged in Aug 04 17:29:19 if you want to store a link to a google account use an offline token Aug 04 17:29:45 why there is no option to see which view was clicked? that would make development a lot easier Aug 04 17:29:53 jackhum: if that’s it, you shouldn’t need to bother with ids or tokens Aug 04 17:29:59 Napalm: can you please elaborate your answer lil bit Aug 04 17:30:08 s73v3r: then what / Aug 04 17:30:13 MarkyC: Still there? Aug 04 17:30:17 s73v3r: should i store the email id instead? Aug 04 17:30:20 no Aug 04 17:30:32 what are you trying to do? what does storing the way the user has logged in mean? Aug 04 17:30:35 s73v3r: i have two buttons , one is sign in from google , and other is sign in from FB Aug 04 17:30:38 do you want to cache their credentials? Aug 04 17:30:51 when you authenticate a google user you can add the offline scope. your backend/service is then notified if the its been revoked and can reissue to get a new one Aug 04 17:30:51 or do you want to keep track of whether they used google or facebook? Aug 04 17:30:53 konk3r: yes Aug 04 17:30:56 That sounds like it's better set up for a unit test where you can open a single component and mock out methods to ensure that something was called Aug 04 17:31:07 Espresso is for bigger picture integration testing Aug 04 17:31:24 how do i get the style of the action_bar_title and then apply it to a spinner that I place in the actionbar? I want a title that is also a spinner Aug 04 17:31:33 s73v3r: yeah kind of , i have a navigation drawer , and on its header there is a imageview and textview Aug 04 17:31:46 intelfx: you' Aug 04 17:31:51 re going to need to be more specific Aug 04 17:31:51 it was an either/or question, not a yes or no question Aug 04 17:31:53 i want to have pfp on imageview , and email on textview Aug 04 17:32:17 danalbert: I just wanted to check if I'm at the right place to ask questions Aug 04 17:32:24 i want to track whether they used google or facebook Aug 04 17:32:35 intelfx: yes Aug 04 17:32:42 if that’s the case, then just make an enum and store that in shared prefs Aug 04 17:33:07 enum ,like fb or google. ? Aug 04 17:33:10 okay. Aug 04 17:33:20 if all you want to know is what they used, then yeah, do that Aug 04 17:33:25 lol, i just got confused why i am doing this thing Aug 04 17:33:45 it happens to a lot of people. they overthink things Aug 04 17:34:02 so, the question: how do I make a shared library (for usage via JNI in an Android app) which uses another shared library? Will the Android's dynamic linker see the latter shared library if I just put it along the first one? Aug 04 17:34:13 but still , getID or getTOkenID which among these can uniquely identify user ? Aug 04 17:34:22 intelfx: yes Aug 04 17:34:30 tokenID is returned by the server ? isnt it ? Aug 04 17:34:39 when the server establishes a connection ? Aug 04 17:34:40 jackhum: read their guide. if you’re sending the thing to your backend server, then use getTokenID Aug 04 17:34:42 am i right / Aug 04 17:34:57 okay , i will have a look on that . Aug 04 17:34:57 danalbert: In Linux, to make this work, I have to use LD_LIBRARY_PATH or (preferably) RPATH of `$(ORIGIN)`. So, in Android this happens automatically? Aug 04 17:35:05 your server can then use that token to validate the user Aug 04 17:35:06 intelfx: yes Aug 04 17:35:07 thank you very much for the rescue . Aug 04 17:35:22 danalbert: OK, thanks. Aug 04 17:35:34 i am using firebase as a backend for my app Aug 04 17:35:38 do i need this thing ? Aug 04 17:35:38 intelfx: for apps, anyway. If you're just `adb push`ing a binary you need `LD_LIBRARY_PATH` Aug 04 17:35:46 jackhum: no Aug 04 17:35:56 intelfx: (or rpath, but I don't think we supported that until M or N) Aug 04 17:35:56 firebase’s libraries should take care of all of this foryou Aug 04 17:36:15 so , do i need this thing , when i am creating my own server REST api ? Aug 04 17:36:36 that’s mostly when it’s used Aug 04 17:36:42 danalbert: got it. Aug 04 17:36:46 I would also suggest doing something like this: https://www.reddit.com/r/iOSProgramming/comments/4161ya/strategies_for_lessening_dependencies_on/ Aug 04 17:36:58 it’s using swift on iOS, but the ideas are the same Aug 04 17:46:40 exit Aug 04 17:46:44 whoops. Sorry. Aug 04 17:48:06 /exit Aug 04 17:48:08 oO Aug 04 17:51:23 stop it... all of you :/ Aug 04 17:52:29 hm? Aug 04 17:53:30 does anyone else find the DI annotations poorly named? "Component" and "Module" are so generic and meaningless I mix them up often. Aug 04 17:53:34 How about "Provider" and "Connector"? Aug 04 17:53:53 sure those are generic terms too, but they are relevant enough to easily differentiate the tow Aug 04 17:53:55 two* Aug 04 17:54:30 eh. probably not much point in complaining as the names are not going to switch now. :/ Aug 04 17:54:47 truckcrash submit patch :D Aug 04 17:54:53 lol Aug 04 17:57:23 s73v3r: great article! Aug 04 17:59:24 crised: the lessening the deps stuff ? Aug 04 18:00:07 Napalm: no, recyclerview with more than 1 view type Aug 04 18:00:21 oh Aug 04 18:00:26 well thats easy enough Aug 04 18:00:29 :) Aug 04 18:05:14 Napalm seeing anything new + exciting going on in android land? Aug 04 18:06:44 * g00s wondering about that RPi AOSP support Aug 04 18:07:36 Napalm: why do you say it's easy enough? is that easy? Aug 04 18:08:14 is there a way to simulate, via adb, what Android does to kill off an activity in the background? Aug 04 18:08:18 yes Aug 04 18:08:41 g00s: not really.. im been busy setting up cloud stuff atm.. not done much android work for the past 2 weeks Aug 04 18:09:04 Napalm cool, what cloud stack / technologies are you using ? Aug 04 18:09:09 Napalm, were you answering me, or someone before me? Aug 04 18:09:10 nice scalable container driven server clusters take a lot to get right Aug 04 18:09:21 BooeyOH: someone else Aug 04 18:09:25 bummer Aug 04 18:09:28 crised: yes Aug 04 18:09:41 BooeyOH: and yes, you can do what you want also Aug 04 18:09:42 :D Aug 04 18:10:13 Napalm can you give me a hint of what direction to take? Aug 04 18:10:24 adb shell am kill Aug 04 18:10:38 if your app is in the foreground it wont be killed.. thats standard Aug 04 18:10:42 so background your app Aug 04 18:10:47 and then run that Aug 04 18:10:59 Does that do the same thing as what the Android gremlins do when it reclaims resources and all that other magic? Aug 04 18:11:20 Napalm: I have this: https://firebaseui.com/docs/android/index.html?com/firebase/ui/FirebaseRecyclerViewAdapter.html How would you modify it to have 2+ view types? Aug 04 18:11:36 Just go to developer options and limit background processes, don't keep activities, etc Aug 04 18:11:38 Should do the same Aug 04 18:12:31 thanks Napalm and SimonVT Aug 04 18:13:14 SimonVT: depends on if you want to kill it at a specific time, ofc. Aug 04 18:13:27 Sure Aug 04 18:13:34 crised: you dont. you start a new adapter. Aug 04 18:13:46 crised: duiplicate theirs and modify where you need to Aug 04 18:14:59 crised: that javadoc is old i think Aug 04 18:15:06 crised: https://github.com/firebase/FirebaseUI-Android/blob/master/database/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java Aug 04 18:15:20 simple enough :) Aug 04 18:16:29 crised: just looking at that source.. it looks simple enough Aug 04 18:17:09 extend it with your base ViewHolder.. and then override getItemViewType with the layout id of each type depending on the position Aug 04 18:17:12 should suite you well enough Aug 04 18:18:50 Napalm: so the constructor should take 2 layouts instead of one? Aug 04 18:19:04 no Aug 04 18:19:13 just ignore that parameter Aug 04 18:19:17 look at the source Aug 04 18:19:28 Napalm: Class viewHolderClass this class? Aug 04 18:19:35 all it uses that parameter for is to store it so it can return it from getItemViewType Aug 04 18:19:47 crised: no idea what you mean Aug 04 18:20:17 Napalm: mAdapter = new FirebaseRecyclerAdapter(Chat.class, R.layout.chat_item, ChatHolder.class, dBRef.limitToLast(100)) Aug 04 18:20:47 Napalm: this line works when calling it, I'm passing a R.layout.chat_item, because I have one layout type Aug 04 18:21:08 :\ Aug 04 18:21:14 extend FirebaseRecyclerAdapter Aug 04 18:21:18 that's why I'm saying that it should accept 2 layouts at the constructor, why I'm wrong? Aug 04 18:21:23 with your own adapter Aug 04 18:21:42 and override the getItemViewType method Aug 04 18:22:14 Napalm: @Overridepublic int getItemViewType(int position) { return mModelLayout;} Aug 04 18:22:28 oh god Aug 04 18:22:30 go learn java Aug 04 18:22:39 Napalm: yes I got your point Aug 04 18:23:05 Napalm: so in my adapter, I should have the 2 layouts, right? Aug 04 18:23:22 e.g. 1 -> text.xml, 2-> img.xml Aug 04 18:23:40 when I override that method, it will know which layout to inflate, is that it? Aug 04 18:23:49 yes Aug 04 18:23:57 you dont inflate it Aug 04 18:23:57 Napalm: cool Aug 04 18:24:02 you just return the layout id Aug 04 18:24:06 Napalm: yes, Android would do it Aug 04 18:24:10 no Aug 04 18:24:18 the firebase adapter you override does it Aug 04 18:24:19 read the source Aug 04 18:24:24 hey, anyone know what I’d filter on in Logcat for Google Analytics stuff? Aug 04 18:24:25 https://github.com/firebase/FirebaseUI-Android/blob/master/database/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java Aug 04 18:25:00 Napalm: cool, I'll study this more in a while, but I got the idea Aug 04 18:25:42 guys, I need to update few fragment's content from activity. what is best approach to have a valid fragment instance in activity all the time?(for example after fragment recreation) Aug 04 18:26:56 nevermind, it’s just “GAv4”, at least for the newer stuff Aug 04 18:30:04 Napalm: oh damn, now I understand, one passed the R.layout.type1.xml to FirebaseRecyclerAdapter, it's just an int Aug 04 18:30:37 so when extending FirebaseRecyclerAdapter, I can manage as many R.layout.types I want Aug 04 18:32:21 correcty Aug 04 18:33:57 Napalm: as for convention... the ChatHolder class should be inside the adapter/ Aug 04 18:34:02 *? Aug 04 18:34:44 yes, assuming you want the same holder for all layouts you use Aug 04 18:35:35 i wouldn’t recommend that, by the way Aug 04 18:35:47 Napalm: if I want different Holders... how would I do this? since I need to define that in the class declaration Aug 04 18:39:44 you would create a abstract class that extends the base RecyclerView.ViewHolder Aug 04 18:39:49 crised: Aug 04 18:40:02 crised: then have your two view holders extend that Aug 04 18:40:31 crised: then in your Adapter when you put the type you extend it would be Aug 04 18:40:37 Napalm: ok I get that. Now this would look like what you said before: https://gist.github.com/crised/87f09203aac76713825e62f974ab69b6 Aug 04 18:41:32 Napalm: now I should pass only *1* layout_type to the super() constructor... which one should I pass there? https://gist.github.com/crised/87f09203aac76713825e62f974ab69b6#file-gistfile1-txt-L18 Aug 04 18:41:33 crised: public class MyAdapter extends FirebaseRecyclerAdapter Aug 04 18:42:00 crised: you dont Aug 04 18:42:07 arg.. is this really how you do it Aug 04 18:42:45 crised: show me how you construct this ChatAdapter Aug 04 18:43:00 and why is it abstract? Aug 04 18:43:16 Napalm: https://gist.github.com/crised/000de0ab291bdd54a55a3615f4d6bf70 Aug 04 18:43:57 Napalm: see the update version it contains the viewHolder, it's abstract because populateViewHolder is not implemented yet Aug 04 18:45:30 Napalm: I'm thinking that this strategy won't work. Because I need to pass an int modelLayout to FirebaseRecyclerAdapter constructor Aug 04 18:45:52 no you dont Aug 04 18:45:58 pass 0 Aug 04 18:46:33 Napalm: I see, it's only used on getItemViewType Aug 04 18:47:29 Napalm: excellent, you were right about being easy, only with your help though :) Aug 04 18:47:34 :) Aug 04 19:09:25 I have a question, and hopefully makes sense, i am using a listview to display information, and I made a second adapter to store a key for hashmap, that way when I click the position of the listview, its uses the same position in the second adapter to use the key for the hashmap, is this ok or how should I do it? Aug 04 19:11:33 hello Aug 04 19:19:13 this is bordering absurd. I can find no reason my app should be defaulting to this strange seemingly non-existent theme that doesn't seem to have a single reference in this entire app Aug 04 19:19:30 I dont know how many days in a row I can sit here and read the same exact articles and try the same exact crap Aug 04 19:23:34 Is it possible to edit an app to remove permissions? Aug 04 19:23:47 How so? Aug 04 19:23:56 Oh, you mean someone elses app Aug 04 19:24:01 yes Aug 04 19:24:03 AlexPortable, do you have the source code? Aug 04 19:24:04 yes Aug 04 19:24:14 then remove the permissions Aug 04 19:24:24 what kind of permissions? Aug 04 19:24:27 internet Aug 04 19:24:45 and some other things that i dont think are neccessary Aug 04 19:24:46 so there is an authentication step in order for the app to reach the Internet? Aug 04 19:24:46 android.hardware.telephony Aug 04 19:24:55 no Aug 04 19:25:22 have you considered just removing the code that is blocking the functionality? Aug 04 19:25:48 is that better than permissions? Aug 04 19:26:36 Honestly I don't even know what you are asking Aug 04 19:26:47 you're being too vague Aug 04 19:27:28 It seems like you just want to remove a permission to disallow the app to access the internet. Aug 04 19:27:29 AlexPortable: Not better than permissions, but the app may break if the code exists and the permissions ain't there Aug 04 19:27:42 ^^^ Aug 04 19:28:59 I'd remove it then start the app with logcat running. Run it until it crashes and then go to the line where it crashed to find out what it was doing/remove it Aug 04 19:41:29 hello, how do you ensure that after user updates your app, the new app will still understand the local data well? unit testing? Aug 04 19:41:59 Manually update and check it? Aug 04 19:42:25 but how will I recreate users data? Aug 04 19:43:44 app may have gone several updates, will I have to save all versions, build the db with each version and test with latest version? Aug 04 19:43:57 unit testing won't do it? Aug 04 19:45:53 wwwi, you can make unit tests to do what you are asking Aug 04 19:46:31 you will need to know the data structures of the previous versions, then create unit tests that bring in the old data structure to observe behavior Aug 04 19:47:22 question: what's the design term for the "slide in from the side" UI element that Google Maps uses to display search results? It's not a NavigationDrawer (wrong semantics) -- I'm pretty sure I can figure out how to use it but I'm not even sure on the terms (or is it a 100% custom thing I'll have to reimplement from scratch)? Aug 04 19:47:29 wwwi its imho by far the most unpleasant part of testing Aug 04 19:48:14 g00s: I see. Aug 04 19:49:27 i think cheese factory has 1 blog Aug 04 19:49:59 azv4: ok. Aug 04 19:50:49 hm, maybe not. who was that then ... Aug 04 19:50:51 azv4: so, test new data structures, and also old data structures Aug 04 19:52:11 Alter|W, are you talking about the thing that slides up from the bottom? Aug 04 19:52:50 seand: on my nexus9 device, when you tap the search bar, yes, a panel slides up from the bottom. Aug 04 19:53:16 Alter|W: oh, i thought you were referring to the search results panel Aug 04 19:53:21 yeah Aug 04 19:53:37 ok, looking at it again, it's two separate things.. I am actually more interested in the search results panel, yes Aug 04 19:53:57 that's a bottom sheet, i think Aug 04 19:54:09 seand: thank you! Off to google for me. Aug 04 19:54:13 wwwi i think it was this https://riggaroo.co.za/automated-testing-sqlite-database-upgrades-android/ Aug 04 19:54:35 sure Aug 04 19:54:48 seand: Yup, this is the thing I am after. Many thanks! Aug 04 19:54:49 wwwi and https://riggaroo.co.za/android-sqlite-database-use-onupgrade-correctly/ Aug 04 19:55:01 they have some support for them in the android design support library, Alter|W Aug 04 19:55:30 i really need to implement them in my app, right now i'm using that info window popup for pins Aug 04 19:56:43 its hard to tell if thats a bottom sheet , it may look like it , but you'll notice the action bar has interesting behavior Aug 04 19:57:00 it could just be a plain activity with transparent background, content drag up / down Aug 04 19:58:41 seand: Looks pretty easy from what I'm seeing in the design support library -- I've already got the content in a fragment so it's just a question of stuffing in the fragment and hooking it up. Aug 04 19:59:34 g00s are you talking about the screen that slides up when you type in the search bar? Aug 04 19:59:46 yeah Aug 04 19:59:48 because that does look like something else Aug 04 20:02:07 I suspect there may be extra Google Mojo in what Maps does. Aug 04 20:02:16 yep Aug 04 20:02:43 In general, I'm looking for something like the search results sheet though -- a thing that displays a list of things relevant to the map. Aug 04 20:03:59 I started with a fragment always to the start of the SupportMapFragment, but that's totally un-Android, style-wise (and doesn't generalize to smaller screens -- current target is Nexus 9s, but no reason to be limited. Aug 04 20:05:52 > a fragment always to the start of the SupportMapFragment, but that's totally un-Android Aug 04 20:05:58 i don't understand what you mean by that, Alter|W Aug 04 20:06:59 Two panes. Left one occupies about 1/3 of the screen in landscape; contains list fragment. Right one occupies about 2/3 of the screen, contains map. Aug 04 20:07:12 but there are so many things wrong with that.. Aug 04 20:07:26 oh Aug 04 20:14:06 yeah, sub-optimal. So now refactoring towards more flexibility. Aug 04 20:16:47 thanks Aug 04 20:28:39 g00s I didn't get what she did in the example of the first url, can you tell? Aug 04 20:29:59 what is she doing? Aug 04 21:37:22 hi Aug 04 21:38:51 I have seen several applications were a singleton-link pattern is used in a subclassed application. Is there a difference between a custom getInstance() method or getApplication()? Aug 04 21:39:18 oh, typo: singleton like Aug 04 21:41:13 e.g. https://github.com/AntennaPod/AntennaPod/blob/develop/app/src/main/java/de/danoeh/antennapod/PodcastApp.java Aug 04 21:53:19 so what happens when your app seg faults or a major error occurs when it's running on your phone? Aug 04 21:53:56 and why not just create webpages with php/js/css/html than create apps? webpages should handle at least 60% of the problems you want to solve. Aug 04 21:54:45 web pages suck Aug 04 21:55:49 pfn: I'm 80% sure you're wrong Aug 04 21:56:05 good for you, you're wrong period Aug 04 21:57:50 trolling in an attempt to get answers is unbecoming Aug 04 21:57:51 im having a problem with my device not showing up on one system but it shows up on the other both are Ubuntu 14.04 with Android Studio installed Aug 04 21:58:39 hey guys, so as android N is about to come out - does it require any specific changes in the app to be able to run with it Aug 04 21:58:52 or should my app work on it Aug 04 22:03:48 no specific changes Aug 04 22:03:53 other than whatever has been documented already Aug 04 22:08:42 kk thanks Aug 04 22:10:22 Also @pfn are you familiar with stacking notifications --- not sure if this is correct? http://pastebin.com/uB98DWbJ - I just added setGroup and setGroupSummary Aug 04 22:11:15 nope, haven't done any stacking notifications yet Aug 04 22:11:20 but I see I need to include a summary notification but not sure I understand what google does is saying, do I build the notification manager again Aug 04 22:11:39 ah kk Aug 04 22:14:23 If anyone has an idea --- http://stackoverflow.com/questions/38778249/how-to-stack-notifications-in-android-correctly Aug 04 22:41:27 after copying the rules file from the working machine for the third time i got it working now it seems Aug 04 23:32:18 Hi all. Quick question and hopefully this makes sense. I have a RelativeLayout with a button at the bottom and fullscreen EditText (think note taking). When I show software keyboard, I want this button to move up so it's always visible even when the keyboard is shown. I have the button set to layout_alignParentBottom="true". Is there something different I need to do? Aug 04 23:39:40 Nevermind, I didn't realize I needed to add android:windowSoftInputMode="adjustPan" to the manifest. Aug 05 01:09:12 i’m trying to make a nested recyclerview (with cardviews inside) to continue scrolling vertically down the entire activity. Is this something where I have to modify the scroll listeners? Aug 05 01:14:29 error.GitError: CyanogenMod/android rev-list ('^aaf63f67f765493dfc3dfddaa2fbd031f7b14a59', 'HEAD', '--'): fatal: bad object HEAD Aug 05 01:14:35 any suggestions? Aug 05 01:22:50 liuwenhao, adjustResize is usually better Aug 05 01:51:24 somehow when I add an item to my recycler view, picasso is sometimes loading an incorrect image into the new item view anybody experience something like this before? Aug 05 01:54:30 barodapride: are you cancelling the image loading? Aug 05 01:54:37 when a view gets recycled? Aug 05 01:56:06 I mean I have a list and you can add an item to it (via another activity). When I get the result back and add the item to the list sometimes its image is duplicated with another item already in the list. If I leave and come back it's fine. Aug 05 01:56:33 :| still doesnt answer my question Aug 05 01:56:46 barodapride: pastebin your recyclerview's adapter src Aug 05 01:56:53 I don't think I'm cancelling anything Aug 05 01:57:49 well if the loading request takes longer and the imageview is recycled then it might get displayed with the wrong image when finally the request completes Aug 05 01:58:21 http://pastebin.com/xatYhxvU Aug 05 01:59:55 barodapride: your imageView is fixed size in your layout right? Aug 05 02:00:06 yea Aug 05 02:01:49 If I go to the list it's fine, but if I add an item sometimes it will show a duplicated image. Aug 05 02:02:15 http://hastebin.com/juduwegiso.java Aug 05 02:02:20 add that Aug 05 02:02:39 oh okay, let me try Aug 05 02:03:15 you also are forgettnig to notify the recyclerview of the data changes Aug 05 02:04:15 nope, didn't work. I notify of changes in the listener activity Aug 05 02:04:24 thats the wrong place Aug 05 02:04:44 night light mode (nice ;) http://www.androidpolice.com/2016/08/04/exclusive-dual-pane-settings-ui-night-light-mode-ambient-display-double-tap-2016-nexuses/ Aug 05 02:04:50 I thought I read somewhere you need to notify in the parent activity Aug 05 02:05:20 http://hastebin.com/toceyotiru.java Aug 05 02:05:32 change those methods in your adapter Aug 05 02:05:40 and then remove the other notify code Aug 05 02:05:56 just to clarify you only need to notify the adapter not the recycler view right? Aug 05 02:06:10 the adapter tells the recyclerivew Aug 05 02:08:19 barodapride: correction.. http://hastebin.com/usojamonug.java Aug 05 02:08:31 hastebin looks nice Aug 05 02:08:37 thanks for the link : P Aug 05 02:08:41 anywhere you edit players.. you'll want to notify Aug 05 02:09:07 tx: yea. its nice.. just change the extension in the url if it guesses the language wrong Aug 05 02:12:32 still doing it...so weird. I'm sure it's just something silly with recyclerview managing the views Aug 05 02:18:21 Does anyone know the best way to implement a chat between several people? It's more like a post wall more than a chat, but the concept is the same, I've read about that xmpp protocol but what is the best way to do it in android? Aug 05 02:18:52 they should be able to post videos, photos, messages Aug 05 02:27:48 j4f-shredder: I'd imagine GCM would do it Aug 05 02:40:31 Leeds thanks!!! Aug 05 02:40:51 Leeds I'm using firebase Aug 05 02:41:03 Leeds I guess those services are connected Aug 05 02:41:05 j4f-shredder: like slack.com? Aug 05 02:41:37 wyoung more like a whatsapp group Aug 05 02:42:10 wyoung I want to open an activity and have a chat between members Aug 05 02:42:33 wyoung and they can share pictures, comments, audios, videos etc Aug 05 02:42:36 j4f-shredder: https://github.com/AppLozic/Applozic-Android-SDK Aug 05 02:42:38 how about that? Aug 05 02:43:32 ( For more awesome things: https://github.com/JStumpp/awesome-android ) Aug 05 02:43:43 tx can you share media on that? Aug 05 02:43:54 tx I need the chat to be between more than 2 people Aug 05 02:43:58 yes Aug 05 02:44:16 j4f-shredder: scroll down to "features" Aug 05 02:44:26 it does group and file/photo sharing Aug 05 02:44:45 wow Aug 05 02:45:21 tx do you know if I can share videos like whatsapp and the thumbnail of the video shown so you can click on it to be opened by your phone video app? Aug 05 02:45:37 I am sure that if it doesn't have it, it will be extendable. Aug 05 02:45:50 You're already given all of that for free. Aug 05 02:46:17 Try it out, there's a demo! Aug 05 02:47:02 you are the best Aug 05 02:47:09 thank you all my friends Aug 05 02:47:14 ciao. Aug 05 02:47:16 tx one more question Aug 05 02:47:28 tx what would you use, google cloud messaging or this one? Aug 05 02:47:51 tx does GCM has the same features as applozic? Aug 05 02:47:56 They are _entirely_ different things. Aug 05 02:48:04 Read up on what GCM is, do a bit of research. Aug 05 02:48:10 I will Aug 05 02:48:15 I just wanted a quick opinion Aug 05 02:48:22 cause I'm a noob Aug 05 02:48:38 (one is a chat library, one is a 'low-level' messaging framework / infrastructure by google) Aug 05 02:48:56 perfect, but can you accomplish the same with both? Aug 05 02:48:56 You often use it for phone notifications from remote servers / APIs. Aug 05 02:49:05 Accomplish what Aug 05 02:49:11 the chat Aug 05 02:49:21 between groups with media sharing Aug 05 02:49:39 GCM is not a "chat" library Aug 05 02:49:41 so no. Aug 05 02:49:51 don't assume "messaging" means something like facebook messenger Aug 05 02:50:00 perfect, I will have to use it for notifications as well Aug 05 02:50:03 it literally means data communication between devices :p Aug 05 02:50:07 could you give an example? Aug 05 02:50:07 you might, yes Aug 05 02:50:14 of the type of notification? Aug 05 02:50:20 you would give with gcm? Aug 05 02:50:22 Alright, someone sends you a message on facebook Aug 05 02:50:33 Facebook's internal systems will dispatch a GCM message to your device Aug 05 02:50:46 and the facebook app will receive that message and do something, usually show a notification on your phone Aug 05 02:50:58 ohhh Aug 05 02:50:59 çperfect Aug 05 02:51:01 (Facebook don't actually use GCM though iirc because it's too unreliable) Aug 05 02:51:15 yeah, I need to trigger a notification everytime a new event happens Aug 05 02:51:26 someone creates a post Aug 05 02:51:28 for example Aug 05 02:51:41 and you want to notify devices Aug 05 02:51:41 and I need to trigger a gcm right? Aug 05 02:51:43 why not via email? Aug 05 02:51:55 (depends on what kind of app this is) Aug 05 02:51:59 I was just asking to know my possibilities Aug 05 02:52:28 Yes, if you have a device UUID you can send data to it Aug 05 02:52:38 and your phone can magically pick this up and parse it / do what it wants Aug 05 02:52:49 how do I get that UUID? Aug 05 02:52:59 The app will need to send it to you Aug 05 02:53:00 do I need permissions? Aug 05 02:53:04 via an API usually ;) Aug 05 02:53:21 I think you just need internet perms. Aug 05 02:53:35 Wake lock maybe too. Aug 05 02:53:42 I have a user id, but not a "phone id" to know where to send the cloud message Aug 05 02:53:47 These are both implied permissions now as of 6 iirc. Aug 05 02:53:52 I guess I need to read about gcm Aug 05 02:54:13 j4f-shredder: so you need a devices table Aug 05 02:54:22 that links to the users table Aug 05 02:54:29 what if they log in on a tablet and phone at the same time? Aug 05 02:54:30 perfect Aug 05 02:54:47 yeah, that makes sense Aug 05 02:54:59 I would have 2 records in that table Aug 05 02:55:03 for that user Aug 05 02:55:25 going back to the chat.....I've read about xmpp, this library applozic uses that protocol? Aug 05 02:55:40 just out of curiosity Aug 05 02:55:52 no idea Aug 05 02:56:09 A google reveals: MQTT protoco Aug 05 02:56:11 l Aug 05 02:56:27 It's just a pub/sub model messaging system. Aug 05 02:56:33 cause I've been told that that protocol is the one used to push messages into a more than 2 people chat Aug 05 02:57:00 it seems to be well mantained Aug 05 02:57:07 XMPP is a protocol specifically designed for messaging in an era where MSN Messenger existed. Aug 05 02:57:19 messaging in this case means, human chat Aug 05 02:57:40 oohh I see, have you ever used applozic? Aug 05 02:57:46 on your projects? Aug 05 02:57:48 Not past demo. Aug 05 02:57:51 just to know if it's reliable or not Aug 05 02:57:53 I just know about it. Aug 05 02:58:03 Use it and find out, be adventurous. Aug 05 02:58:13 I have to put money on this project Aug 05 02:58:21 I want the best tool even if I have to pay for that Aug 05 02:58:36 if it's free even better Aug 05 02:58:45 but I don't want to sacrifice quality to save money Aug 05 02:58:53 you are going to have to invest time too Aug 05 02:59:01 so get crackin'. **** ENDING LOGGING AT Fri Aug 05 02:59:58 2016