**** BEGIN LOGGING AT Mon Jun 06 02:59:58 2016 Jun 06 04:21:29 i'd like to do an extended height toolbar like http://stackoverflow.com/questions/26491689/how-do-i-declare-an-extended-height-toolbar-action-bar-on-android-lollipop Jun 06 04:21:58 but when i try chris banes answer, all my stuff is centered vertically Jun 06 04:22:14 i was expecting the icons to be up top, title at bottom Jun 06 04:23:45 oops my mistake, forgot minHeight Jun 06 04:51:58 i have a problem with creating a list view to display my picture, please help Jun 06 04:53:18 help with what Jun 06 04:54:57 how the concept? maybe you have some tutorial link? Jun 06 04:56:00 d.android.com Jun 06 04:56:42 bankai_ has all the sweet links ! Jun 06 04:56:59 o/ Jun 06 04:57:00 bankai_ your bookmarks folder must be enormous Jun 06 04:57:25 i haven't bookmarked, or used bookmarks, in about 6 years Jun 06 04:57:41 bankai_ just reading the other day labs have predisposition to getting fat :( Jun 06 04:57:49 genetic pre* Jun 06 04:58:18 of course they do, they don't get full. they have hip/joint issues too -- probably related to weight Jun 06 04:59:39 g00s: https://goo.gl/01US7M the other day when i got home Jun 06 04:59:58 has anyone ever used TextToSpeech? I'm wondering where I should be creating the new object... doing it onCreate or onResume seems to cause a huge delay in showing my ui Jun 06 05:00:02 like it's blocking or something Jun 06 05:00:57 bankai_ haha, what was that :D Jun 06 05:01:02 their bed Jun 06 05:01:05 LOL Jun 06 05:01:44 i like the little dog house there Jun 06 05:02:16 oh onPostResume seems to work well Jun 06 05:33:44 hi guys Jun 06 05:34:06 I have a question in working with listview. Jun 06 05:34:50 I'm designing a listview which each row can have a different layout(like settings). Jun 06 05:35:42 but I wonder if is it ok to ignroe convertView parameter of adapter's getView() function or not. Jun 06 05:36:06 I know it is ok to completely ignore this parameter, but it will decrease performance. Jun 06 05:36:48 hero_biz how many rows ? Jun 06 05:37:17 probably 10-20 max Jun 06 05:37:27 i wouldn't worry about it Jun 06 05:37:50 I thought that I keep created row views in a class member parameter, and rather than using convertview,I use this view which is previously saved. Jun 06 05:38:43 @goos: but I want to know what is correct way to handle this situation anyway. :) Jun 06 05:39:13 see this: http://paste.ubuntu.com/17044036/ Jun 06 05:39:23 method 1 is normal way. Jun 06 05:39:36 method 2 is what I thought. Jun 06 05:39:49 i haven't used LV in a while Jun 06 05:39:52 I wonder is methos 2 can handle perfomance issues generally or not. Jun 06 05:40:05 pretty much 100% recyclerview Jun 06 05:40:55 i'm begginer in android, so this is first time I heard of recyclerview :P Jun 06 05:41:03 is it better? Jun 06 05:41:46 hmm Jun 06 05:44:10 I'm specially like to know which view is betetr for base of something like settings, which need different layout for rows. Jun 06 05:45:52 preferenceFragment is really junk.. Jun 06 05:45:54 <.< Jun 06 05:53:44 any suggestion? :) Jun 06 05:55:49 how many different rows could be possible in your screen Jun 06 05:56:25 hero_biz, is every row is Unique in design..? Jun 06 05:57:13 as I told, something like settings. some just text, some with switch beside,... Jun 06 05:57:21 thepoosh ! Jun 06 05:57:28 sup g00s Jun 06 05:57:44 another boring AW Jun 06 05:57:46 listening to a podcast with the CEO of stackoverflow Jun 06 05:57:51 who is an Israeli Jun 06 05:57:53 apparently Jun 06 05:58:44 probably 3-4 types or row... Jun 06 05:59:18 hero_biz: what have i missed? Jun 06 06:00:16 asking what is best LV for somethign like setting which each row can has a different layout. Jun 06 06:00:25 and how is best way to handle it. Jun 06 06:01:06 I'm trying to use expandablelistview. Jun 06 06:01:30 I wonder if somethign like recucler view will be better. Jun 06 06:01:52 and generally how is a good way to handle this different rows situation. Jun 06 06:02:00 hero_biz: that is a generally bad idea Jun 06 06:02:05 then why dont you inflate layouts for every unique design and add it into your own but it depends that how many items will exist in your screen Jun 06 06:02:06 thepoosh i haven't seen bottom nav expand beyond Photos and Google+ - have you ? Jun 06 06:02:08 since nothing can be recycled Jun 06 06:02:16 not really Jun 06 06:02:19 i dont know is it good or bad Jun 06 06:02:37 but google does this for nav panel Jun 06 06:03:20 @ thepoosh: I'm personnally keep inflated view in a memeber of class instance per row. Jun 06 06:03:31 then returning that instead of reinflating Jun 06 06:03:35 something like this: Jun 06 06:03:42 http://paste.ubuntu.com/17044036/ Jun 06 06:03:48 method 2 i mean Jun 06 06:03:54 if you are capable of recycling views you should use RecyclerView or ListView Jun 06 06:04:36 I'm keeping a class per row. which independently can create its own view. Jun 06 06:04:57 I don't understand what seems to be your issue Jun 06 06:05:29 I wonder if what I do(keeping view and returning it again), can handle pefomance issues? Jun 06 06:05:37 rather than using convert view? Jun 06 06:09:07 hello Jun 06 06:09:31 any wifi direct experts here? Jun 06 06:11:33 hero_biz: doing anything rather than convert view is stupid Jun 06 06:14:02 @thepoosh: but it creates irrigular behavior. because somethimes it send me a handle to a view with a for example switch for a control that it does not have. this can happen when you have different layouts for different rows. Jun 06 06:14:46 anyway, I checked recylerview quickly, and I'm not sure but it seems it can handle different views for rows internally,isn't it? Jun 06 06:14:48 that is why you should override getItemViewType as well Jun 06 06:14:54 you're wrong Jun 06 06:15:42 I have not used recyclerbview yet... :P Jun 06 06:15:53 now is the time to start Jun 06 06:15:58 yea Jun 06 06:16:04 createViewHolder(ViewGroup parent, int viewType) Jun 06 06:16:20 I will return correct type of view based on viewtype? Jun 06 06:17:01 yesir Jun 06 06:17:16 ty info :) Jun 06 06:19:30 I wil try to work on this from base. Jun 06 06:19:53 being begginer is somehow hard. it takes sometime to become expert. :P Jun 06 06:20:00 anyway, thanks a lot. Jun 06 08:37:16 is it possible to set the style of the toolbar on the fly? Jun 06 08:47:51 <_0xbadc0de> guys Jun 06 08:48:05 <_0xbadc0de> as far as I understand Jun 06 08:48:52 dude, you are missing a byte Jun 06 08:49:09 half a byte Jun 06 08:49:29 <_0xbadc0de> keystore files can be either stored within an HSM or software Jun 06 08:50:09 <_0xbadc0de> right? Jun 06 08:50:43 <_0xbadc0de> "Key material may be bound to the secure hardware (e.g., Trusted Execution Environment (TEE), Secure Element (SE)) of the Android device. When this feature is enabled for a key, its key material is never exposed outside of secure hardware" Jun 06 08:52:50 <_0xbadc0de> now my question is Jun 06 08:53:02 <_0xbadc0de> if the keystore is not managed by an HSM Jun 06 08:53:15 <_0xbadc0de> (thus a software based keystore manager) Jun 06 08:53:37 <_0xbadc0de> when the user roots the phone, what happens to the keys stored within the keystore Jun 06 08:53:38 <_0xbadc0de> ? Jun 06 08:54:06 <_0xbadc0de> (I am asking this because as a security measure, iOS cleans the entire keystore whenever the user roots) Jun 06 09:07:05 The sane way to handle something like that is the encryption is done entirely within buffers handed to hardware running in a separate memory space from the CPU/s. Jun 06 09:07:16 You know, a smart card. Jun 06 09:07:52 Do they actually place it inside memory the CPU can touch (assuming exploit/hardware debuggers/etc., touchable/dumpable)? Jun 06 09:08:11 Yes. Jun 06 09:08:18 Well, f*** Jun 06 09:08:20 Since by definition you don't have secure hardware in that mode. Jun 06 09:08:24 Doh? Jun 06 09:08:26 :P Jun 06 09:08:27 What did you expect? :P Jun 06 09:08:36 If you have secure hardware available, then it's not. Jun 06 09:09:04 Can't afford $2 keychip :P Jun 06 09:09:15 Hey, got margins to keep on that $600 phone. Jun 06 09:09:16 alphamule, pretty much all new Android devices have trustzone available. Jun 06 09:09:27 At least Qualcomm/nVidia/Exynos powered Jun 06 09:09:31 No idea for chinese crap. Jun 06 09:09:51 Don't need a NSL in China. Jun 06 09:10:03 They simply don't care to bother securing it right in the first place. Jun 06 09:10:07 :P Jun 06 09:10:29 Shipped with root Jun 06 09:10:31 etc. etc. Jun 06 09:11:18 I was more talking about AllWinner and MediaTek SoCs Jun 06 09:11:25 Not the noname chinese devices. Jun 06 09:11:25 Root ADB without RSA signing = Best infections ever Jun 06 09:11:47 Ah OK Jun 06 09:27:20 Those noname devices are security fail from the getgo :P Jun 06 09:38:59 Who needs backdoors for effectively 32-bit encryption keys? :P Jun 06 09:39:14 That was the problem with practices like measuring epoch. Jun 06 09:40:03 Randomizing based on this great Mersenne Twister? But using seeds based on 32-bit milliseconds since Jan 1st, 1970? heh Jun 06 09:41:26 Also, not like most computers are set to wildly different times when trying to do stuff that needs to be able to be revoked (SSL certs for example). Jun 06 09:42:03 But it's the method listed in all the intros to computer programming books. Jun 06 09:58:41 hithere Jun 06 10:04:41 Hello, I know it is possible to restrict the distribution of an APK to certain regions/territories. Is there a way to tell from which region the user came ? From within the application, I mean Jun 06 10:07:02 You should have their IP address if they contact your server but... There's no single way that works everywhere AFAIK. Jun 06 10:08:15 IMEI? Well, even if you could get and it's reliable, not every device has it (not everything is a phone). Jun 06 10:08:35 Also, only tells you where it was bought. Jun 06 10:09:15 alphamule: Thanks, I also know I can check with the global Configuration to get a Country, or with IMEI/phone number. But I'd rather like to use google distribution service. I understand they must be able to filter themselves, if one can restrict diffusion Jun 06 10:09:20 Same thing if there's a way to expose say, language settings, phone numbers, etc. Jun 06 10:09:50 Oh, they based it on geolocation (IP addresses) I'd imagine. Jun 06 10:10:04 Also, registered address of credit card holder? :) Jun 06 10:11:31 alphamule: Yeah I saw hacks to circumvent the store restrictions based on credit card registered address. So I guess this is it. But I'd rather rely on a service like GoogleStore/Wallet to identify the origin than on a sketchy phone/GPS solution Jun 06 10:11:40 If you're the device's owner, you can obviously rely on ADM, but that's not much use to others. Jun 06 10:12:14 ADM ? Jun 06 10:12:34 Also, I've never associated an banking account with my Google Play account/s. Because I can just buy a $15 card and top it off, and I'm not stupid. Jun 06 10:12:58 Android Device Manager. Jun 06 10:13:03 That phone-home thing. Jun 06 10:13:19 You can tell where a phone is, and even shut it down. Jun 06 10:13:23 Oh right Jun 06 10:13:44 Well, I thought I missed something but apparently there is no reliable way. Thanks Jun 06 10:13:57 Reliable enough if I was doing it for my own phone. Jun 06 10:14:04 Not so much for a 3rd party. :P Jun 06 10:14:17 Best way is through your app. Jun 06 10:14:31 Say, like the games that need to download extra content. Jun 06 10:15:55 What with the game that download content ? Jun 06 10:16:01 I don't see how it's related Jun 06 10:16:07 You create a URL unique to a player or new game (say, they start over), or both. Jun 06 10:16:25 Talking GUIDs Jun 06 10:16:30 that kind of thing Jun 06 10:16:55 This is trick advertisers use :) Jun 06 10:17:00 And spammers Jun 06 10:17:43 You can then aggregate the number of unique users by region. Jun 06 10:17:55 Or even how often people restart the game. Jun 06 10:18:32 You'd damn well better have that in the privacy notice, though. hehe Jun 06 10:48:04 I heard that ART totally replaced Dalvik Lollipop onwards Jun 06 10:48:17 Android 5.0 "Lollipop" is the first version in which ART is the only included runtime.[6] Jun 06 10:48:20 Is this true ? Jun 06 10:48:35 https://en.wikipedia.org/wiki/Dalvik_%28software%29 Jun 06 10:48:36 by default Jun 06 10:48:43 I find a lot of DEX files under /data/dalvik-cache though Jun 06 10:48:54 experimental version was in kitkat Jun 06 10:49:43 Is there any file in the filesystem that can tell me my build ? Jun 06 10:50:01 what do you mean Jun 06 10:50:23 android build Jun 06 10:50:24 version Jun 06 10:50:36 that would be something like settings -> information about phone -> build, compilation version, kernel version Jun 06 10:50:48 is there any file ? Jun 06 10:50:55 like /etc/os-release in linux Jun 06 10:50:59 GNU/Linix Jun 06 10:51:46 <_0xbadc0de> hi Jun 06 10:51:49 dunno Jun 06 10:51:56 uname -a says 3.10.49-cyanogenmod-ge303608 Jun 06 10:52:10 It is 5.something for sure Jun 06 10:52:14 => lollipop Jun 06 10:52:25 <_0xbadc0de> I just want to use a remote Dalvik debugging tool embedded in IDA Pro. For this reason I dont really care about having android studio installed Jun 06 10:52:29 still I see DEX files under /data/dalvik-cache Jun 06 10:52:38 <_0xbadc0de> I just want an emulator Jun 06 10:52:41 <_0xbadc0de> and adb.exe Jun 06 10:52:47 <_0xbadc0de> is this possible? Jun 06 10:52:53 _0xbadc0de, are you still using IDA ? Jun 06 10:53:02 <_0xbadc0de> ...why not? Jun 06 10:53:09 <_0xbadc0de> what other tool do you suggest Jun 06 10:53:11 there is a radarevolution Jun 06 10:53:19 radare2 <3 Jun 06 10:53:36 <_0xbadc0de> yeah... will radare allow me to remote debugg dalvik code? Jun 06 10:53:42 <_0xbadc0de> I thought so... Jun 06 10:54:03 <_0xbadc0de> I am not willing to run a debugger on a android emulated device that makes no sense Jun 06 10:54:11 <_0xbadc0de> and its nowhere near practical Jun 06 10:54:16 b3h3m0th, android recompiles the dalvik dex for art Jun 06 10:54:56 So it's dex->art and not class->art ? Jun 06 10:55:55 _0xbadc0de, so far, you get everything except a proper decompiler Jun 06 10:56:04 it's run on the devices so there's no class files to do it on Jun 06 10:56:23 <_0xbadc0de> b3h3m0th: are you sure? Jun 06 10:56:24 I thought it would do a class->dex during build Jun 06 10:56:31 yes Jun 06 10:56:32 _0xbadc0de, never tried Jun 06 10:56:36 <_0xbadc0de> last time I checked there was *NO* remote emulator support Jun 06 10:56:41 <_0xbadc0de> only local Jun 06 10:56:55 r2 does support remote sessions for sure Jun 06 10:57:00 and it does support dalvik Jun 06 10:57:38 it can handle remote gdbserver Jun 06 10:57:44 <_0xbadc0de> >_> Jun 06 10:57:46 <_0xbadc0de> derp Jun 06 10:57:53 <_0xbadc0de> that ida also can do it Jun 06 10:58:10 <_0xbadc0de> you can launch remote debugger binary from the rooted device Jun 06 10:58:16 <_0xbadc0de> and you hook from the outise Jun 06 10:58:18 <_0xbadc0de> outside Jun 06 10:58:32 <_0xbadc0de> obviously that only works for machine specific binaries Jun 06 10:58:34 <_0xbadc0de> not Dalvik Jun 06 11:00:13 you can hook to the process running the code, what else are you expecting ? Jun 06 11:00:15 I have an strange Nullpointer error calling Method "public void evaluateSearch(String query, Boolean forceSearch)" (defined in external class) from onResume method in MainActivity Jun 06 11:00:21 http://pastebin.com/Ed0Hce7h Jun 06 11:00:41 this is how i call that method userInteraction.evaluateSearch("test", false); Jun 06 11:00:59 nevermind - argh Jun 06 11:02:14 got it - "userInteraction" is not initialized in onResume Jun 06 11:02:36 https://bfimd.files.wordpress.com/2013/12/bang-head-on-wall.jpg Jun 06 11:49:53 Why is TextClock so awful at updating? Jun 06 11:51:39 tx: because nobody uses it except you Jun 06 11:54:11 when my activity starts, i want to get the coords of a particular menuitem. When can I be sure the menuItem has been inflated and has actual coords? Jun 06 12:04:46 thepoosh: makes sense Jun 06 12:05:14 also might be solved with styles and themes Jun 06 12:26:14 Hi folks, does anyone have any information on how Android/Google backups are encrypted and stored? Pretty much all android users have them turned on in settings by default. Are these end-to-end encrypted or not? Jun 06 12:44:09 sylon_: android is open source, just read the code Jun 06 12:44:52 thepoosh: the thing i am talking about isn't android its google backup, on their servers, probably part of play services not android itself Jun 06 12:46:23 if this is backed up on google servers, it's probably stored on their cloud and is secure just like every other google data Jun 06 12:46:30 so what wxactly are you asking? Jun 06 12:47:07 i am asking if anyone knows how its stored, is it end-to-end encrypted from device or can google server admins can get to it Jun 06 12:47:12 i am thinking its the latter Jun 06 12:47:30 how is this question relevant to this channel? Jun 06 12:47:43 Hey so i was kinda struggling with OpengGL es in Android. Should i learn the api and make games first, or learn all the deep linear algebra stuff Jun 06 12:47:58 because its the default android backup mechanism and its what API 23 automatically uses, so its _very_ relevant Jun 06 12:48:14 you might be storing stuff out there without realizing Jun 06 12:48:25 and? Jun 06 12:48:34 and what? Jun 06 12:49:02 You don't know the answer i get that. Doesn't mean its not relevant. Jun 06 12:49:07 I am not understanding what answer are you looking for, if this is a gms thing, no one knows but google people Jun 06 12:49:19 if this is a programming question, it's not very clear Jun 06 12:49:50 Its a data security/data sovereignty question. Jun 06 12:50:26 so this is the wrong channel for it Jun 06 12:50:47 Not according to me. As an android developer its very relevant. Jun 06 12:51:02 relevant how? in a programming way Jun 06 12:51:28 Read this: https://developer.android.com/training/backup/autosyncapi.html Jun 06 12:52:52 anyway i am out since you seem to be the only person responding here and not in a constructive way, Enjoy. Jun 06 12:53:15 "Unfortunately though, mobile devices in general and Android devices in particular have not been designed with privacy in mind. In fact, they've seemingly been designed with nearly the opposite goal: to make it easy for third parties, telecommunications companies, sophisticated state-sized adversaries, and even random hackers to extract all manner of personal information from the user." Jun 06 12:53:15 Probably more relavent in the main Android channel... Jun 06 12:54:21 alphamule: which is what I've been saying repeatedly Jun 06 12:54:27 dunno why he got so pissed Jun 06 12:54:30 but whatever Jun 06 12:55:41 https://blog.torproject.org/blog/mission-impossible-hardening-android-security-and-privacy Sorry, forgot to post link. Jun 06 13:02:39 Good morning. Jun 06 13:04:54 good evening Jun 06 13:09:46 Vietnam Jun 06 13:10:29 https://www.youtube.com/watch?v=Erf2iFHG44M Jun 06 13:14:44 How can you improve on a Serializable interface in Android? Jun 06 13:56:53 hey guys! how easy it is to repeat the timer? i just can not handle that with Timer nor with ScheduledThreadPoolExecutor Jun 06 13:57:15 i just want to re-init the timer to start it again Jun 06 13:57:53 at the end of your timer function, set the timer again on itself Jun 06 13:58:17 i only have a callback when i should stop the timer Jun 06 13:58:24 i have timer globally but still doesn't work. Jun 06 13:58:42 it start for the first time, it stops for the first time, but can not start on the second time Jun 06 14:02:30 from where are you starting/stoping your time sasos90 ? Jun 06 14:02:36 onCreate? a button? Jun 06 14:03:49 raoul11: a button Jun 06 14:04:52 do you create the timer on the button click or prior? Jun 06 14:05:53 do you want a resume functions or just a new timer everytime? Jun 06 14:06:25 on button click yes Jun 06 14:06:31 new timer or resume... anything Jun 06 14:09:09 raoul11: is that even possible? :S Jun 06 14:09:41 i know it is somehow but... there is just no straightforward solution Jun 06 14:10:13 Timer t = new Timer() | t.scheduleAtFixedRate(new TimerTask() {}? Jun 06 14:13:36 em.. t = new Timer() where t is global property Jun 06 14:13:50 then i tried t.schedule( and t.schedulAtFixedRate Jun 06 14:13:53 both... Jun 06 14:14:01 raoul11: and i just can not start it again. Jun 06 14:14:35 how do u cancel it? Jun 06 14:17:54 t.cancel Jun 06 14:18:03 also tried with .purge after .cancel Jun 06 14:19:50 is it possible to make it with runOnUIHandler? Jun 06 14:22:45 gs Jun 06 14:23:19 sasos90: here some implementation i have with Timer: http://pastebin.com/McspPZbf Jun 06 14:23:52 see if that helps u somehow Jun 06 14:27:16 raoul11: thanks. why are there nested threads? Jun 06 14:27:25 first timer, and inside timer there is run on ui thread.? Jun 06 14:28:22 im doing some stuff with that timer Jun 06 14:28:34 also, u can ignore the bool value there Jun 06 14:28:45 aa Jun 06 14:33:08 Hello everybody Jun 06 14:37:52 I want to create a simple compass, but I fail to do that correctly. I use HTC One M7 and Sensation as my test devices. The thing is, the compass doesn't move smooth like on an iPhone. Does anyone know of a good example how to get a nice compass? I use an ImageView to rotate the image (which is a compass). Jun 06 15:03:56 Hi, I have two Elephone P9000 (MTK6755) and wondering if will be safe to swap nvram via TWRP backup/restore feature? Will be IMEI and SN swapped permanently? Jun 06 15:13:55 Husar wrong channel Jun 06 15:14:11 I know, already joined to root :P Jun 06 15:20:27 cbeust https://github.com/reactor/reactor-core/issues/98 Jun 06 15:20:46 seems like david karnok is working on reactor core c# port Jun 06 15:23:37 AS 2.1.2 Jun 06 15:25:17 hello, anyone can explain me this ? http://paste.ubuntu.com/17063243/ Jun 06 15:26:08 if i remove @aar, second one works too, im confused :) Jun 06 15:28:34 sci-fic you want ext: 'aar' i think Jun 06 15:28:47 not all lumped in version: '2.5.6@aar' Jun 06 15:29:33 https://fabric.io/kits/android/crashlytics/install Jun 06 15:30:12 same thing for tweet composer Jun 06 15:31:47 the map says there is a mountain here, but there is none. what to do you ? Jun 06 15:31:51 *what do you do ? Jun 06 15:33:58 sorry, i didnt get what u say Jun 06 15:35:19 g00s: ? Jun 06 15:45:29 anyone know how to make menu items in a NavigationView "clickable"? Jun 06 15:45:48 like i can receive the click events atm but there is no ripple or touch feedback Jun 06 15:50:34 s Jun 06 15:50:51 ?attr/selectableItemBackground Jun 06 15:54:56 pfn: where? Jun 06 15:55:06 in the menu resource definition? Jun 06 15:55:19 for your item background Jun 06 15:55:31 ah app:itemBackground Jun 06 16:00:05 it should be default already... Jun 06 16:01:24 i think ur right, emulator was laggy showing the anim Jun 06 16:02:22 well more specifically: it only shows if you click and hold, regular clicks dont show a ripple Jun 06 16:05:08 hm, if i use 'withText' on my options menu item, there is no space between the icon and the text - looks like hell Jun 06 16:05:28 would expect like 8 dp or something Jun 06 16:07:57 g00s: http://stackoverflow.com/questions/15678467/how-to-add-padding-between-menu-items-in-android Jun 06 16:08:00 that work? Jun 06 16:08:59 orbyt_ the padding is fine without 'withText', and the padding around the entire action is fine, just the space between icon and text Jun 06 16:09:07 probably a fucking bug, will file Jun 06 16:09:11 ah mmk Jun 06 16:09:34 don't really see text + icon used often Jun 06 16:09:40 probably went unnoticed Jun 06 16:14:47 Made an activity that implements DataApi.Datalistener, how to run this activity in the background? Jun 06 16:15:13 Alright, so currently I have a main activity that contains a viewpager. Each fragment in the viewpager contains a recyclerview which should contain a list of music items of a particular genre Jun 06 16:15:28 The list of music mixes is kept in a local database Jun 06 16:15:54 I can query the local database to get items by genre Jun 06 16:16:10 how should I properly feed each recyclerview the appropriate items? Jun 06 16:33:28 crised: you dont.. activities dont run in the background. thats what Service's are for Jun 06 16:33:38 hey Napalm Jun 06 16:33:43 hey Jun 06 16:35:21 Can I package a file with my application which is in local storage? Do I have to put in assets? or is that read-only? Jun 06 16:38:44 orbyt_: https://gist.github.com/slightfoot/07cdc7c092fc503910aa365820ba66a7 < this should help Jun 06 16:40:11 minas114: you put it in assets (which is read-only) and then drop the file to disk using context.openFileOutput Jun 06 16:40:46 Napalm, thanks Jun 06 16:43:19 g00s: orbyt_: regarding the menu item icon padding did you try "android:drawablePadding"? Jun 06 16:44:43 Napalm no; i expected it to work without me having to go into the ActionButtonStyle Jun 06 16:45:03 well in material design you dont have icons with the text Jun 06 16:45:08 you know i have no patience for stuff that 'does't just work' so i'll leave it icon only ;) Jun 06 16:45:10 so i expect its turned off on those Jun 06 16:45:18 or set to 0dp by default Jun 06 16:45:25 g00s: thats the spirit Jun 06 16:45:27 yeah seems its set to 0dp Jun 06 16:45:35 which is correct for the parent theme then Jun 06 16:46:19 right im outta here, time for an early night Jun 06 16:46:30 Napalm is there some sane way of presenting a popup menu with icons ? i thought about using NavigationView but using for actions, not navigation :P Jun 06 16:46:52 annoying that toolbar overflow has no icons Jun 06 16:46:59 stupid ass decision Jun 06 16:47:02 g00s: did you check stack-overflow? Jun 06 16:47:22 Napalm yeah question has been asked since 2010 Jun 06 16:47:24 https://stackoverflow.com/questions/18374183/how-to-show-icons-in-overflow-menu-in-actionbar/22288914#22288914 Jun 06 16:47:37 my answer seems to be the most popular 68 up votes Jun 06 16:48:03 yeah, reflection, gross. again fuck that Jun 06 16:48:08 sorry Napalm :D Jun 06 16:48:27 well you might stay that.. but its reliable. since like APIv4 Jun 06 16:48:29 i swear so many dumb decisions in the android apis Jun 06 16:51:44 "This approach stopped working on the latest versions of the support library...override the onPrepareOptionsPanel() method instead..see this other answer" Jun 06 16:54:40 you don't need reflection for that Jun 06 16:54:56 it's package local, just make a simple class in the same package :) Jun 06 17:16:04 Happy Monday everyone Jun 06 17:19:46 konk3r lol, happy monday to you too :D Jun 06 17:20:46 happy Tuesday to Easterners Jun 06 17:27:46 What was the name of that Google RxJava alternative? Jun 06 17:31:07 Agera, and that is not an accurate description of it Jun 06 17:31:59 it's more knife-to-a-gun-fight alternative Jun 06 17:32:06 Accurate enough to get the name ;) Jun 06 17:32:31 Yeah, I was bringing it up to my coworkers, I wanted to look up the differences again. I'm trying to make the case for us including RxJava Jun 06 17:32:40 What was the name of those primitive tools apes used to feed themselves before we became homo sapiens and started using utensils? Jun 06 17:32:42 oh yeah, sticks Jun 06 17:32:52 Haha Jun 06 17:33:31 anyway. it's an interesting bit of code. very different approach. hope you win your argument! Jun 06 17:34:23 I think we should start gradually bringing it in. Too be honest I'm just tired of using for loops to convert lists when I could just be mapping them haha Jun 06 17:36:14 yeah Microsoft will sue android apps that use RX, because they invented RX Jun 06 17:38:06 If you leak a fragment, do you also leak an activity? Jun 06 17:38:18 hey, microsoft is the new good guy, haven't you noticed? Jun 06 17:39:11 Eplebit: yeah, real good with that shoving Windows 10 down everyone's throats Jun 06 17:39:37 you mean like what everyone else has been doing for ages? Jun 06 17:42:18 I don’t recal others doing anything to the degree that Win10 has done Jun 06 17:44:00 s73v3r yeah, sadly ... was just reading : Jun 06 17:44:03 "the team was on a mission to track and coordinate anti-poaching rangers in the field and in the middle of those efforts their computers were effectively shut down when Microsoft forced a 6 GB download of Windows 10 through the company’s slow satellite internet connection." Jun 06 17:46:00 and it will download that 8GB though your mobile phone's hotspot and eat up all your data plan Jun 06 17:46:12 when I checked it it was 8GB Jun 06 17:46:50 DataApi.DataListener, onDataChanged never gets called Jun 06 17:46:58 in wearable app with the same package name as the app Jun 06 17:47:44 "Beginning June 20, 2016, we’ll be making a change to test purchases for one-time in-app purchases (IAPs). Previously, test purchases for one-time IAPs generated order IDs. Starting June 20, 2016, one-time IAPs will not generate order IDs and will not appear in the Merchant Center. This behavior already applies to subscription IAPs. " Jun 06 17:47:59 so except waiting 14days.... which is obnoxious, no way anymore to cancel?? Jun 06 17:48:28 Resistance is Futile! Jun 06 17:48:30 could they make testing inapps any more complicated Jun 06 17:48:47 wtf (again) Jun 06 17:48:56 just build a simple sandbox for devs to play with inapps Jun 06 17:49:29 could they make testing inapps any more complicated < it's not really complicated atm Jun 06 17:49:34 Hi, pretty new to Android development. If I have a user of Android mobile app, who is experiencing crashes, how do I get their phone to make a crash report ? Jun 06 17:49:58 mayb complicated is too strong of a word, Jun 06 17:50:14 it's a bit annoying to have to publish in alpha/beta to test Jun 06 17:50:29 but that's not a big deal Jun 06 17:50:40 their phone usually generates an anr/crash report and u should see it on your dev console Jun 06 17:53:07 raoul11, does that need enabled? Jun 06 17:53:35 no, but afaik they need to approve sending the generate report Jun 06 17:56:29 Following this guide: https://developer.android.com/training/wearables/data-layer/data-items.html Can't communicate from an Activity in the App to an Activity in the Wearable. Jun 06 18:02:16 raoul11, hey to invoke sending the report? Jun 06 18:02:21 *how Jun 06 18:03:57 https://support.google.com/googleplay/android-developer/answer/6083203?hl=en Jun 06 18:04:54 Anyone know if Mosby is great at creating memory leaks? Jun 06 18:04:55 to generate one after, i think u might need root or at least use adb Jun 06 18:06:50 Hello all. Is there a simple way to execute JavaScript with an android application without inviting all the overhead of webviews and other browser related tech? Jun 06 18:07:19 uh Jun 06 18:07:24 to do what? Jun 06 18:07:48 If you want to run JS without a DOM Jun 06 18:08:22 you could use a java-based javascript library Jun 06 18:08:23 like rhino Jun 06 18:08:27 (not android specific) Jun 06 18:09:40 What is the advantage/disadvantage performance-wise to use class variables vs local method variables in android? Jun 06 18:12:02 oddalot, local method access should be better performance wise, assuming you access this variable more than thousand of times per second, otherwise you should not even bother and aim at code lisibility Jun 06 18:12:22 in any case, you should profile Jun 06 18:12:47 adq, woudn't it also create more objects to use a local variable? Jun 06 18:12:57 so that would be bad for memory performance.. Jun 06 18:13:19 If i only instantiate once class I only create one object per variable I take it. Jun 06 18:13:19 i don't think so Jun 06 18:13:22 oddalot: Don’t bother thinking about that until you’ve actually discovered you have a problem Jun 06 18:13:43 oddalot, it looks like you are mixing up static versus non-static Jun 06 18:14:05 a static var will be a unique object Jun 06 18:14:10 living in the heap of your app Jun 06 18:14:12 yeah, i think my code is really fast already, i don't have any problems. I just didn't want to shoot myself in the foot now, and have to go back later and refactor everything. Jun 06 18:14:21 don’t worry about it Jun 06 18:14:55 oddalot, it's really not a big deal to move a member to a local var or a local var to a member, except in some very particular cases, this is why i encourage you to profile and measure Jun 06 18:15:13 so s73v3r, I take it you aren't a big believer in writing tests? Jun 06 18:15:15 tx, afaik Rhino was a part of the Sun JVM? Jun 06 18:15:27 Does Dalvik support javax.script? Jun 06 18:15:31 adq what are good profiling toolds? Jun 06 18:15:35 tools even Jun 06 18:15:45 the one shipped with android studio and DDMS should be sufficient Jun 06 18:15:48 the ones* Jun 06 18:16:00 oddalot: what you’re asking has nothing to do with testing Jun 06 18:16:21 patarr, i don't think so Jun 06 18:16:57 s73v3r I know, I assumed you would reject a testing mentality for the same reasons of not having any problems you know about yet. Jun 06 18:17:06 no, that makes no sense Jun 06 18:17:25 i rejected your idea because it’s nothing but premature optimization Jun 06 18:17:36 s73v3r some people argue that about tests Jun 06 18:17:45 or at least test driven development Jun 06 18:17:48 well, knuth sentences sometimes does not apply :p Jun 06 18:17:55 you better plan a performant design in advance Jun 06 18:18:09 instead of refactoring everything because you fail to identify in advance there iwll be a huge bottleneck here or there Jun 06 18:18:18 yeah, premature optimization is bad, because of one catchy slogan haha Jun 06 18:18:23 Knuth* sorry :3 Jun 06 18:18:37 yes. however, quibbling over whether something should be a local variable or not is definitely premature optimization Jun 06 18:18:50 yeah i fully agree on that s73v3r Jun 06 18:19:10 this is why i asked if he access zillion of times per second the variable or if profiling shown a bottleneck Jun 06 18:19:12 :p Jun 06 18:19:13 don't see how it's premature, considering it took me over a month to write the entire app, and now I'm asking it. Jun 06 18:19:15 planning on performant design is going to be more stuff like what data structures are you going to use Jun 06 18:19:35 oddalot: have you profiled it and observed a problem? If not, then it’s premature Jun 06 18:19:58 profiling it could not be perfect either. Jun 06 18:20:01 Mockitooooo http://pastebin.com/nbrz3dk3 Wrong number of arguments; expected 0, got 1 at com.android.dx.stock.ProxyBuilder.callSuper Jun 06 18:20:11 there are all kinds of things tools can miss. Jun 06 18:20:19 or not plan for. Jun 06 18:20:38 traceview won't miss anything Jun 06 18:21:07 the only issue i have with traceview is the UX/UI of the tool and the overhead it creates (but we don't have dtrace on android lol) Jun 06 18:21:22 any bottleneck would probably be in my backend anyway. I just don't write java very often, so i'm not very confident i'm doing it correctly. Jun 06 18:21:24 there are some awesome paid profiling tool, but it's not free Jun 06 18:21:40 patarr: ah Jun 06 18:21:43 well, I am sure others exist Jun 06 18:21:46 Is there a way to disable optimization for tests Jun 06 18:21:54 and even then, there are probably other, lower hanging fruit that the profiler would find Jun 06 18:21:57 I guess, i don't just mean performance, i also want to make sure i'm writing good java code. whatever that means Jun 06 18:21:58 I mean, any and all, not just proguard Jun 06 18:22:47 i mean, if i could write the entire app in one giant method and that was faster, I would want someone to point out there are better ways to code it. Jun 06 18:22:50 So seems like Rhino might be a good fit. But what's concerning me is this article mentioning that it rain slower than in a webview. https://epxx.co/logbook/entries/jsandroid.html Jun 06 18:23:01 I wonder if he meant the execution was slow, or the passing of data between the webview and native Jun 06 18:23:14 webview isn't that bad Jun 06 18:23:22 if you're looking for performance then don't use JS Jun 06 18:23:26 go native. Jun 06 18:23:27 patarr: have you looked at React Native? Jun 06 18:23:36 s73v3r, no thank you Jun 06 18:24:28 ionic is ok i hear Jun 06 18:25:22 what is this... https://github.com/ericwlange/AndroidJSCore Jun 06 18:25:34 Does anyone have a good way to debug your main activity being recreated? Jun 06 18:25:36 I'm a web developer normally, and learning android/java is kind of exausting. Like 139298 lines of boilerplate just to click on something. Jun 06 18:25:56 Artichokeslam: rotate your device Jun 06 18:25:57 welcome to android dev lol Jun 06 18:25:57 Log.d in your on create meothod/ Jun 06 18:26:01 ? Jun 06 18:26:19 I have a bug when my main activity gets recreated (with the savedInstanceState) Jun 06 18:26:19 what's wrong with that Jun 06 18:26:22 it's still one line Jun 06 18:26:44 Hmm, let's see if that works Ashiren Jun 06 18:27:05 mostly activity recreates on orientation change Jun 06 18:27:23 you could be like 90% of devs Jun 06 18:27:27 and force an orientation :p Jun 06 18:27:40 nah, i tried my best to avoid that for this version of my app Jun 06 18:27:44 but yeah, i definitely used to Jun 06 18:27:47 nice Jun 06 18:28:09 I still know a lot of devs that don't use the lifecycle at all Jun 06 18:28:12 finish onStop Jun 06 18:28:33 it takes a decent bit of effort to really understand it and use it effectively Jun 06 18:28:43 Aye. Jun 06 18:28:47 yeah, there’s a reason they call them lolcycles Jun 06 18:29:03 s73v3r: haha never saw that, perfect Jun 06 18:29:06 the lifecycle isnt' that bad for activities. add in fragments and it starts to get complex Jun 06 18:29:07 You only really need to know about 4 of the.. Jun 06 18:29:14 30 of them or w/e Jun 06 18:29:22 I just hate that, because of that, a lot of devs lock the orientation in one spot, and don’t even allow upside down Jun 06 18:29:50 Ashiren: oh damn, my dev phone is updating. We'll find out in about 20 mins Jun 06 18:32:19 does Data Binding stuff slow down your builds ? Jun 06 18:32:43 so far i don't have multidex or annotation processors, and my builds are pretty fast ... don't want to kill that Jun 06 18:32:43 depends on how much data you're binding Jun 06 18:33:13 tx presumably it has to run some code gen tool during build, correct ? Jun 06 18:33:36 API_UNAVAILABLE Wearable.api from googleApiClient Jun 06 18:33:38 any ideas? Jun 06 18:41:05 http://prntscr.com/bd4ei8 anyone seen anything remotely close to this Jun 06 18:41:20 gson is spamming a ton of messages when making an api call with rx Jun 06 18:41:26 yeah Jun 06 18:41:38 check your field names Jun 06 18:41:51 if you have any non-primitives (except strings) Jun 06 18:41:58 check they can be deserialized properly Jun 06 18:42:00 dates too Jun 06 18:42:11 mmk gimme a sec Jun 06 18:42:14 found this pretty useful, kind of answers my question: https://source.android.com/source/code-style.html Jun 06 18:42:14 will check Jun 06 18:43:43 ok Jun 06 18:44:33 in my model object I have a RealmList that might be the issue Jun 06 18:44:42 commenting out seems to stop the spam Jun 06 18:44:56 but i dont know why its not being parsed correctly... Jun 06 18:45:19 are you reading in json Jun 06 18:45:22 or outputting Jun 06 18:45:25 Hey guys.... I am looking for a very good Backend service provider. Easy to use API etc ?Anybody have any ideas? Jun 06 18:45:36 cart_man: google Jun 06 18:45:45 tx: using retrofit, not sending anything Jun 06 18:45:59 tx: Yea I am looking for advice from people who use them daily -.- Jun 06 18:46:00 using retrofit to receive from an api? Jun 06 18:46:11 correct Jun 06 18:46:23 how the hell is it supposed to get a "realmlist" from json? Jun 06 18:46:28 is a realmlist just an array or what Jun 06 18:46:46 i use retrofit, and i've found it pretty good. i had to read a book on it, but it's pretty simple actually Jun 06 18:46:46 or is it a more complex child Jun 06 18:47:01 RealmList is just an abstractlist Jun 06 18:47:12 actually Jun 06 18:47:14 one moment Jun 06 18:48:01 in any case, http://stackoverflow.com/a/23071080 Jun 06 18:48:04 cart_man: Google is pushing Firebase. Jun 06 18:48:14 should help you deserialize nested objects Jun 06 18:52:32 cart_man: Backendless apparently has a pretty good setup, too Jun 06 18:56:29 can I emulate specific Android phone models, such as the Galaxy Note 5, in Android Studio? Jun 06 18:57:21 if not, is my best bet to target the OS Version? Jun 06 18:57:51 * azv4 isn't sure if he can target anything specific, he can only find certain Google brand phones in the Configuration Manager Jun 06 18:58:33 azv4: no Jun 06 18:59:01 you target the OS version, not the device Jun 06 18:59:21 ok Jun 06 18:59:27 thanks s73v3r Jun 06 19:00:35 User is telling me when the app crashes, there is no prompting to send an error report Jun 06 19:00:51 how do I get an error report from the phone when the person is 2000 miles away? Jun 06 19:00:52 hello everybody, I'm trying to show, on a android app, a cgi streaming from a IP cam(I can see the cam's straming via http). What function could be useful for this? Jun 06 19:01:22 delarge, you want to build one? there are many 3rd party available Jun 06 19:03:49 yes, I want to build one. Jun 06 19:04:27 I've tried several and noone makes me happy Jun 06 19:05:06 what is "cgi streaming"? Jun 06 19:05:34 ahh nevermind, I found some information Jun 06 19:06:57 may want to read up on RTSP and RTP protocols Jun 06 19:08:07 https://ijoshsmith.com/2014/01/25/video-streaming-from-an-ip-camera-to-an-android-phone/ Jun 06 19:14:25 Is it possible to use Google Play Game Services on Apple phones as well? Jun 06 19:15:03 i think yes Jun 06 19:15:08 and desktops even Jun 06 19:15:32 azv4: thanks, I'll check it. Jun 06 19:21:57 hi can you use any server for distributing your android app? Jun 06 19:22:50 guess you just add the ip address of your server to e.g. google play? Jun 06 19:23:13 whats the simplest least boilerplate method to read a resource file into a string on android? I want to read a .js file into a string variable Jun 06 19:24:12 it's java, there are no least boilerplate ways Jun 06 19:25:20 pfn, well if I put the JS in the strings.xml file, it's quite nice. R.string.foo Jun 06 19:25:24 lumidee: what do you mean Jun 06 19:25:29 Quite nice. But I want my IDE syntax highlighting! Jun 06 19:25:33 With a separate js file Jun 06 19:25:35 yeah, yuck Jun 06 19:25:39 lumidee: If you’re going through Google Play, then no. You upload it to their servers Jun 06 19:25:48 then add a build step that copies your js into a strings.xml Jun 06 19:26:05 ah i see, thanks Jun 06 19:26:28 if you’re distributing it yourself, outside of a store, then you just put the APK up as a file to download Jun 06 19:26:59 also my app has to communicate between clients, do you think any 1 gbit or even 100 mbit/s suffices for a messaging app? Jun 06 19:27:05 +server Jun 06 19:27:13 don’t know. probably? Jun 06 19:27:16 patarr: You can put it in res/raw and read it via getResources().openRawResources(R.raw.whatever) Jun 06 19:27:43 -s Jun 06 19:28:18 for websites i know you can serve many (like a million people/months) with just one 1gbit/s server, guess it'll do it then Jun 06 19:34:53 kroot, hm. I don't get autocomplete for R.raw Jun 06 19:36:35 i wouldn’t worry too much about it; you’re probably going to be editing the JS in another editor set up for it Jun 06 19:56:10 I have an activity that I've set the orientation to "portrait". I would like to set is for just landscape when it's tablet. Is there some way to do it ? Jun 06 19:56:50 I already made a tablet layout file for this activity, with a sw600dp-land folder Jun 06 20:02:41 hi, I need help generating release key for facebook Jun 06 20:03:19 i noticed that the command I'm typing is giving me some keyhash back no mattter wrong params I throw at it Jun 06 20:03:28 usually it doesnt even ask me for a password Jun 06 20:04:11 now I typed alias and path exactly like it's configured in android studio Jun 06 20:04:18 and it did ask me for a password Jun 06 20:04:25 however the hash that it gave me Jun 06 20:04:38 is not the same as the hash that I see in the release device error dialog Jun 06 20:04:45 what can I be doing wrong? Jun 06 20:05:20 is the facebook error rash that I get from a release device be the same hack for any device that I try? Jun 06 20:16:11 anyone know how to get the drawable in a compound drawable to be closer to its tex Jun 06 20:16:13 text* Jun 06 20:16:40 drawable padding Jun 06 20:16:57 yea im doing like -64dp Jun 06 20:16:59 just looks bad Jun 06 20:17:03 inside a linearlayout btw Jun 06 20:51:35 uh anyone familiar with realm Jun 06 20:51:55 trying to get all unique different values of a particular classes field Jun 06 20:53:51 Do I really need an android book or API guide would be just fine? Jun 06 21:11:54 is there any way in Android strings.xml to escape all ' chars without preceding them with \ ? Jun 06 21:12:05 no Jun 06 21:12:06 I tried using Jun 06 21:12:10 Damn. Wow. Jun 06 21:12:33 s73v3r, do you have any idea why my project does not a have a resources/raw folder? I can't access stuff with R.raw.somefile.js Jun 06 21:12:34 you’re asking if there’s a way to escape special characters without using the escape characters Jun 06 21:12:42 patarr: you just have to make it Jun 06 21:13:02 not many projects use it, so it doesn’t get created by default. Jun 06 21:15:13 s73v3r, I managed to somehow break my R. autocomplete. My IDE is flagging the R.foo expressions with a red R in my main activity. Do you have any ideas on how I dd this/ Jun 06 21:15:33 are you importing the R file? Jun 06 21:15:38 otherwise you’re going to have to rebuild Jun 06 21:16:26 s73v3r, ah, I had a broken strings.xml file Jun 06 21:16:28 Thanks Jun 06 21:22:48 With Google Play Game Services would it be possible to implement something like a title match? Jun 06 21:23:09 lol and now out of nowhere "You need to use a Theme.AppCompat theme (or descendant) with this activity" Jun 06 21:23:18 Android dev is off to a rough start for me Jun 06 21:23:31 patarr thats been like that for a while, but yeah, starting is rough Jun 06 21:23:52 lots of baggage and historical stuff that is difficult to reason about without historical context Jun 06 22:00:45 ugh, wish play store had a list of all the apps I ever purchased Jun 06 22:00:52 Can a game have 2 leaderboards? One for single player and one for multiplayer for example? Jun 06 22:01:12 oh, can filter by apps instead of all purchases Jun 06 22:01:14 that's useful Jun 06 22:11:50 http://stackoverflow.com/questions/37553519/shared-element-transition-with-floating-action-button-studders Jun 06 22:11:52 anyone Jun 06 22:16:54 hi people Jun 06 22:17:07 what is the easiest way to run windows forms c# application on android? Jun 06 22:17:23 some mono trickery? Jun 06 22:17:52 don’t, because the UI is going to be shit on a mobile device Jun 06 22:18:03 if you absolutely must, you’re probably going to be looking at Xamarin Jun 06 22:18:09 the ui is quite simple so i can live with it Jun 06 22:18:20 you shouldn't Jun 06 22:18:41 as in, the ui is shit on windows, i can live with it being shit on android Jun 06 22:18:56 if you’re gonna do something, do it well Jun 06 22:19:04 it's basically 4 buttons and one 4 list views Jun 06 22:19:16 as I said, Xamarin is what you’re gonna want to look at Jun 06 22:21:09 you can make native ui with xamarin Jun 06 22:21:11 and mix Jun 06 22:33:49 So Google PLay Game Services is not encrypted...so anyone could manipulate the games? this seems terrible...? Jun 06 22:35:59 the web calls? or the library? Jun 06 22:36:54 s73v3r: the web traffic i suppose Jun 06 23:32:02 hi there, how can I send an intent from mobile device to android wear? Jun 06 23:32:28 the sample wear notification activity provides a stub to generate an example activity but without any example on how to call that code from the mobile side Jun 06 23:33:46 wow, punctuation helps so much Jun 06 23:35:32 trtle: basically, run this code https://gist.github.com/alex88/c6c59600ec8da4d810ec9e41f987f7cf on the mobile side, so the wear broadcast receiver generates the wear notification Jun 06 23:37:48 I think punctuation was better this time Jun 06 23:38:03 lol, i figured it out, but had to reread it 3 times to do so. the second time i had to do it in Mr. Garrison's voice, from south park. Jun 06 23:38:18 it was indeed lol Jun 06 23:38:24 lol, never watched south park actually :D Jun 06 23:38:27 I'm trying to make a kanban board Jun 06 23:38:33 no offense intended btw Jun 06 23:38:40 so I was able to implement a recyclerview with draggable items Jun 06 23:38:56 now... how to make multiple lists with items that can be dragged between lists? Jun 06 23:39:29 maybe flatten my data so that it's one recyclerview that appears to be several separate lists Jun 06 23:39:36 trtle: sure, just wanted to be clear, I'm not an android developer, just wanted to get this done for a demo and I'm stuck on this wear/mobile interaction for a while :D Jun 06 23:42:25 trtle: maybe https://gist.github.com/gabrielemariotti/117b05aad4db251f7534, need to implement the messageApi Jun 06 23:43:13 RustyShackleford congrats, thats quite a bit of work Jun 06 23:43:14 RustyShackleford: Do they need to be displayed side by side? Or could you get away with a sectioned list Jun 06 23:43:16 i'm not either, i just idle here to pick up helpful tidbits of info, sadly most goes right over my head. seems a biology degree doesnt help me much in here. lol Jun 06 23:44:54 s73v3r, side by side Jun 06 23:45:19 can I make something like a gridview? Jun 06 23:45:20 that’s significantly harder. Maybe using a grid layout? Jun 06 23:45:28 err, grid layout manager Jun 06 23:45:29 with an extra list item for the heading Jun 06 23:48:29 trtle: lol not really :D Jun 06 23:51:55 sure am glad college was a blast, since all i got out of it otherwise is a pretty certificate i dont even use and almost 70 thousand in debt Jun 06 23:52:22 yikes. I had a little more than half that Jun 06 23:52:50 I forgot most of the math I learned in my math major :/ Jun 06 23:54:17 lol, wouldn't trade the experience for anything, but would luv having that 70 grand back Jun 07 00:16:51 I know that tests with network requests are really slow, but I want to find a reliable way to test that the comunication between the app and the server works. Jun 07 00:29:56 Nothing wrong with tests that actually make network requests Jun 07 00:52:16 if i have AppBarLayout with child toolbar app:layout_scrollFlags="scroll", is there any way to disable this when the View with app:layout_behavior="@string/appbar_scrolling_view_behavior" is empty ? Jun 07 00:58:56 I'm trying to use a fragment and recyclerview that was auto generated. The fragment has this line: recyclerView.setAdapter(new MyHistoryRecyclerViewAdapter(DummyContent.ITEMS, mListener)); Jun 07 00:59:28 mListener is declared in the fragment but the above line wants the recyclerview OnListFragmentInteractionListener. Is that right? Jun 07 01:00:00 mListener is private as generated so seems weird I would change that to make it work Jun 07 01:05:22 so i'm trying to implement a list of lists, with draggable items Jun 07 01:05:42 using a GridLayoutManager right now which kinda works Jun 07 01:06:35 but am I going to be able to implement vertical scrolling of one "list" independent of horizontal items Jun 07 01:06:52 if you know the Trello app, thats exactly what I'm trying to implement Jun 07 01:17:02 RustyShackleford fun times ahead :D Jun 07 01:17:47 I should just scrap this one lol Jun 07 01:18:07 g00s, you're no help :p Jun 07 01:18:23 i have no idea lol Jun 07 01:19:17 RustyShackleford: your best bet is to find a new god Jun 07 01:19:33 nested lists are very not-easy Jun 07 01:19:51 f this, i'm going to eat some dinner Jun 07 02:18:59 huh? nested horizontal and vertical scrolling is easy Jun 07 02:38:56 hi all. im trying to build a titanium app for android and it's asking for a keypair password. i can't find anywhere wtf that is. i've only ever had to put in a keystore password + alias before. Jun 07 02:39:02 any ideas? **** ENDING LOGGING AT Tue Jun 07 02:59:58 2016