**** BEGIN LOGGING AT Wed Apr 20 02:59:58 2016 Apr 20 03:00:39 hi there, how can I set the seekbar to a specific position ? Apr 20 03:01:22 hert: more code please. do you call getAdapterPosition() inside ViewHolder? Apr 20 03:02:38 sponge-tmp: 'android:progress' or setProgress(). or incrementProgress() Apr 20 03:02:56 vigilancer: thanks, setProgrss() did the job Apr 20 03:03:10 sponge-tmp: http://developer.android.com/intl/ru/reference/android/widget/ProgressBar.html Apr 20 03:03:26 this site kinda have that all ;) Apr 20 03:03:55 vigilance here's entire adapter http://pastebin.com/dHvGquhg Apr 20 03:06:50 hert: seems you trying to use it similar to ListView. your getAdapterPosition() unresolved because RecyclerView.Adapter do not have that method Apr 20 03:07:18 just put your onClick logic inside ViewHolder Apr 20 03:08:15 vigilancer GoF was an important book but its quite outdated Apr 20 03:08:42 there was a presentation from one of the GoF that was a revised treatment Apr 20 03:08:50 g00s: any updated replacement suggestions? Apr 20 03:09:06 hm, not really ... Apr 20 03:09:11 anyone here have experience with the storage access framework/documentsprovider? Apr 20 03:09:14 Emergent Design by Scott L. Bain Apr 20 03:10:35 Maziz: thanks, will take a look Apr 20 03:11:13 seems I'll go with GOF for now anyway Apr 20 03:11:50 it's a shame Safari Online client stores locally html only versions of books Apr 20 03:12:47 vigilancer its such an old book, it could be OCR'd Apr 20 03:13:07 vigilance i tried putting the same logic inside on bindViewHolder line #74 but still same error Apr 20 03:14:08 g00s: ah, yeah. I can can find in on torrents. prefer epub personally, but some important things nice to have offline in hardcover :) Apr 20 03:14:51 no source is going to be good, i think i have the official one from informit and it was terrible Apr 20 03:15:24 hert: I can only give you direction, sorry Apr 20 03:17:27 Alright, I'll just ask my question-- if you open up a URI picked with the file picker (or not-- just any content:// URI), is there a way to know when/if the file was modified between when you write to it and the next time you write to it? I'd like to avoid situations where a file changed and is getting overwritten Apr 20 03:17:37 (say a GDrive file) Apr 20 03:18:16 I tried writing and immediately grabbing the modified date, but sometimes this changes if a network save is cached and happens later (as w/Gdrive) Apr 20 03:18:31 I also tried a ContentObserver but it didn't seem to work. Apr 20 03:18:58 I see there's something in DocumentsProvider that's an onClose() listener, but I don't think that will tell me about "third party" file changes either. Apr 20 03:19:04 so if anyone knows... Apr 20 03:22:31 fattire: never had this kind of problem but maybe inotify will help Apr 20 03:22:35 http://developer.android.com/intl/ru/reference/android/os/FileObserver.html Apr 20 03:25:20 Hello. Does anyone use Android Studio on Linux with an NFS mounted home directory? Gradle in particular is slow as hell Apr 20 03:25:52 I mean it was no speed demon to begin with but now it takes forever sometimes Apr 20 03:26:07 vigilancer: will FileObserver work for a "remote" URI like google drive or dropbox etc? I guess it does use a ParcelFileDescriptor and FileOutputStream to write to so maybe it would work.. Apr 20 03:26:07 on nfs .. Apr 20 03:26:27 sounds like a bad place to put gradle cache Apr 20 03:26:51 yeah I owuld think that would be slow Apr 20 03:27:13 g00s: yeah. I think setting projectCacheDir to a local disk might be what I want? But how/where to set it? Apr 20 03:27:55 no idea, but if gradle has to scan project files for changes it would still suck Apr 20 03:27:56 fattire: not sure, just wild guess Apr 20 03:28:15 g00s: --project-cache-dir Apr 20 03:28:50 Ok so I have an app that creates new thread for each connected client, and I have it display a listview. What I want to do is that when I do onClick method, I want to communicate with that specific client, how would I achieve something like that? use hashmap or something? Apr 20 03:28:55 fattire: where does that go in Android Studio configuration files? Apr 20 03:29:58 vigilancer: I could try it... the thing is that the app seems to save the file correctly and instantly, even if the file is being "cached" (like if I save to GDrive but don't have an internet connection) I assume Google's DocumentsProvider is somehow locally caching it.. but th eproblem is that when it does get to uploading it, it modifies the file modification date-- so I have no way of knowing whether this was my original save or s Apr 20 03:30:17 jaldhar: I just found that here https://docs.gradle.org/current/userguide/gradle_command_line.html Apr 20 03:30:54 jaldhar: probably something you can set in build.gradle too Apr 20 03:30:57 let me look Apr 20 03:32:51 g00s: jaldhar maybe add it to GRADLE_OPTS env variable before running AS? Apr 20 03:34:17 fattire: Thanks I will try that Apr 20 03:34:56 jaldhar: also http://www.laurivan.com/android-studio-change-the-location-of-androidstudiobeta/ Apr 20 03:49:10 I just added Hugo into my project, but I don't see any output from it in LogCat. Configured as documented in the README. Anyone have an idea what I might be doing wrong? Apr 20 03:56:40 joshkovach: it suppose fires up in debug builds only Apr 20 03:57:17 yeah, the annotations are on my MockWebService, running in androidTest build, which is a debuggable one Apr 20 03:58:10 joshkovach: not sure if it should behave differently in tests or not Apr 20 04:10:49 hi there, is it possible to change the icons of the actionbar on runtime ? Apr 20 04:15:04 let say you are editing XML like android:title="@string/foo" and you realize you need a new string resource. is there a way to just have AS create the resource for you in strings.xml and take you there ? Apr 20 04:15:35 so that you can give it a value Apr 20 04:16:19 Well if you type a regular string it should prompt you to create a resource Apr 20 04:16:24 is that what your asking Apr 20 04:18:12 orbyt_ yeah ... Apr 20 04:18:22 i dont' get prompted though Apr 20 04:18:43 oh wait, now i see it - sorry Apr 20 04:47:40 anyone ever get "IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity." when you are using Theme.AppCompat ? Apr 20 05:06:41 what a joke Apr 20 05:07:45 the thing makes no sense Apr 20 05:07:53 khat Apr 20 05:08:41 rowan7: I've seen that before but it was always because a descendent wasn't using it... Apr 20 05:08:42 mounted rw and an installer complains ro Apr 20 05:09:03 scripts fail to start binaries Apr 20 05:10:01 it doesnt function as advertised Apr 20 05:10:18 how can I dispose of it Apr 20 05:10:37 I wouldnt give stones and serpants as gifts Apr 20 05:14:45 hello Apr 20 05:16:01 fattire, Thanks. I am not sure what happened on mine, but in the end a clean and rebuild fixed it Apr 20 05:16:12 cool Apr 20 05:17:14 u think? Apr 20 05:17:39 I barely think most days.. ho ho am I right or am I right? Apr 20 05:17:45 it is a choice between teo lying roms Apr 20 05:17:47 one says open Apr 20 05:17:59 the other not Apr 20 05:18:12 they both have some other binary Apr 20 05:18:31 a tv screen of bs piped tjrough morse code? Apr 20 05:19:04 willvyou give me a ride sobI can incinerate the phones? Apr 20 05:19:20 the locals go crazy Apr 20 05:19:32 they are like some sort of meep dronea Apr 20 05:19:40 drones Apr 20 05:20:04 police will come beat me and hurl insults if I start a fire Apr 20 05:26:13 you coneheads? Apr 20 05:26:35 you afraid of men with beards? Apr 20 05:26:53 the beard scare coneheads? Apr 20 05:27:09 we call police? Apr 20 05:27:33 Beardless_One: meep Apr 20 05:35:36 good day/evening y'all ... Apr 20 05:37:31 anyone familiar with transactions . through Firebase ... i am trying to run a transaction, within a getView Method after clicking a button, but something not write about it the stacktrace Apr 20 05:38:05 it jumps from line 49 to the end of the getView method to return convertView Apr 20 05:38:06 http://paste.ofcode.org/THugC9w7M4ZEG2cVF3zGcE Apr 20 05:39:30 is it because i am not allowed to execute something like that within a getView method ? with these parms (int position, View convertView, ViewGroup parent) Apr 20 05:40:44 the getView is inside and ArrayAdapter !? Apr 20 06:09:09 suggest pdf reader Apr 20 06:09:40 os? Apr 20 06:11:07 android Apr 20 06:11:09 :) Apr 20 06:11:27 reader/viewer to embed Apr 20 06:13:39 ach, no clue... Apr 20 06:19:35 for android use a pdf reader with support Apr 20 06:19:53 any where the dev responds to email or phone Apr 20 06:20:13 mobius or adobe Apr 20 06:20:54 if the dev communicates with you you still have a chance at lifr Apr 20 06:20:57 life Apr 20 06:21:22 to exchange something with the external world Apr 20 06:22:04 even if it were a criminal Apr 20 06:22:16 like a rouge irs agent Apr 20 06:22:41 at least the voice is interactive Apr 20 06:23:02 Rouge? As in... red? Apr 20 06:24:19 sure why not Apr 20 06:25:04 tag Apr 20 06:25:21 masqed irs agents Apr 20 06:28:18 squ you want to embed a pdf reader? Apr 20 06:28:23 there's that mozilla one Apr 20 06:29:26 https://mozilla.github.io/pdf.js Apr 20 06:29:45 squ: ^ Apr 20 06:30:57 throw that in a webview. you can use a minimized version as well. Apr 20 06:35:56 yes I want to embed pdf reader to app Apr 20 06:36:03 fattire: thanks I'll have a look Apr 20 06:36:28 also I need sdk to be able to fetch Table of Contents Apr 20 06:36:43 and thumbnails Apr 20 06:36:49 i have 2 card view which colors i change on click alternate, the issue i'm having once 1 is clicked it changes and i click on the other one the previous one cool does not change back http://pastebin.com/rsy3YynH Apr 20 06:36:50 standart stuff Apr 20 06:38:07 hert: you need to set background selector Apr 20 06:38:12 why edittext saving data when recreate() method is calling Apr 20 06:38:44 squ on the cardview? Apr 20 06:39:10 hert: do I understand that you are making programmatic click feedback Apr 20 06:39:23 if so, then there is a xml selector which does that Apr 20 06:39:52 and for 5 Apr 20 06:39:55 one that switch coardview one and off color whise? Apr 20 06:43:53 Hi Apr 20 06:45:20 I have created 2 activities. One is the mainActivity and second one is the afterLogin activity. In the afterLogin activity, I have created a custom listview but I am not able to set custom adapter. Apr 20 06:47:58 Here is my custom adapter: codepaste.net/6a3qja Apr 20 06:48:53 And I am setting the adapter by tasks.setAdapter (new CustomAdapter (this,id,model,hangar)); Apr 20 06:49:36 It says "attempt to invoke virtual method setAdapter on a null object reference " Apr 20 06:51:24 What wrong am I doing? Apr 20 06:52:09 you don't believe it? Apr 20 06:53:22 Squ, for me? Apr 20 06:53:54 yes Apr 20 06:54:29 I believe the error but I am not able to get my mistake. Apr 20 06:56:55 I did the same code on a single activity project and it works there. Apr 20 06:57:10 Whats wrong with this code in multi activity project? Apr 20 06:59:08 null object reference Apr 20 07:00:48 But why is it null object in this case? I also tried getApplicationContext and it also doesn't work. Apr 20 07:03:29 rudolf_: check where you call setContentView in your second activity, bet you you're not using the correct id Apr 20 07:04:19 http://stackoverflow.com/questions/29399066/attempt-to-invoke-virtual-method-void-android-widget-listview-setadapter Apr 20 07:05:32 Ping_2_Ur_Pong,but everything works if I remove the custom adapter. Apr 20 07:06:15 setContentView is correct. Apr 20 07:17:03 Anyone? Apr 20 07:21:44 I have a recycler view and when I slowly scroll down and scroll up again, the last element in the list comes at the top! I simply cannot understand this behaviour! Apr 20 07:24:17 read on quantum physics and observation effect Apr 20 07:27:52 bit_frankenstein: the viewholder are recycled Apr 20 07:28:00 are you updating the view in onBindViewHolder? Apr 20 07:29:15 @Ashiren yea i am Apr 20 07:35:41 I am trying to include a .jar file in my project. Error:Error converting bytecode to dex: Cause: java.lang.RuntimeException: Exception parsing classes - any ideas? http://pastebin.com/ebvENTtA (full gradle message dump) Apr 20 07:42:02 I've got a device specific crash happening in a included library. java.lang.NoSuchMethodError: No static method escapeXml10(Ljava/lang/String;)Ljava/lang/String; in class Lorg/apache/commons/lang3/StringEscapeUtils; or its super classes (declaration of 'org.apache.commons.lang3.StringEscapeUtils' appears in /system/framework/framework.jar) Apr 20 07:43:36 The method I am calling is actually in the library, and has been recently added to the API. The phone doesn't seem able to find this method. Is is possible that the phone tries to do something smart and tries to swap out the included library with a lower version in the system itself? Apr 20 07:43:53 Because that is the only thing I can think of why this happens. Apr 20 07:45:06 Hey Ashiren, can you please help on my problem? Apr 20 07:45:16 Hey guys, when I have multiple clients connect to my app it adds the newest connection to the list in listview, and (removes?) the old one. Even with notifydatasetchanged. Apr 20 08:23:41 answered my question about why android compilation failed with Error converting bytecode to dex. the specific error is com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) - the compiled jar was built for java 8, and android doesn't seem to support it yet. setting sourceCompatibility and targetCompatibility to 1.7 fixed the issue for me. Apr 20 08:26:26 Hi folks. Can one provide expansion APK files, e.g. plugin APKs? For example in a way that the 2nd APK provides .so files that are placed within the application storage of the 1st APK? Apr 20 08:27:19 dunno how those video players work in which you install player and codecs for specific device in separate apk Apr 20 08:27:26 you could try to search for that Apr 20 08:30:33 Ashiren, thanks. Ith's hard to find something, though. Because you get many collateral hits on search engines for this topic. Apr 20 08:46:31 Ashiren, gonna evaluate the concept of shared userID later Apr 20 08:46:32 cya Apr 20 09:01:24 Is there a way to get the path of the NDK's compiler in Android.mk at compile-time? Apr 20 09:10:41 Hello, someone can indicate me a good library for displaying images as grid which receives data from the web as json format? Apr 20 09:12:02 even if I am using notifydatasetonchange, is there any other reason why my listview keeps updating on one row, instead of going to the next row? Apr 20 09:27:28 people morning to you Apr 20 09:27:46 morning? Apr 20 09:27:55 can you tell me video-crop library for android Apr 20 09:28:19 square crop Apr 20 09:28:26 n shit Apr 20 09:29:50 by video crop you mean image crop or length crop/cut Apr 20 09:30:17 size crop Apr 20 09:30:23 resolution Apr 20 09:30:50 ahh i never worked with videos Apr 20 09:30:56 maybe ffmpeg but that sounds heavy Apr 20 09:30:56 me too Apr 20 09:31:05 yes it's heavy Apr 20 09:38:51 pfn, got a new work laptop, the build is about twice as fast now Apr 20 09:39:22 (with gradle) Apr 20 09:41:28 Zharf: specs? Apr 20 09:46:21 i5-6440HQ, 16G ram (2133MHz), some 250G SSD Apr 20 09:49:25 Zharf: can you upgrade the SSD? Apr 20 09:49:54 I have 250SSD also and I am constantly pruning to make space available Apr 20 09:50:54 AS and multiple emulator images take up a lot of space I find Apr 20 09:50:57 I previously had a 180G ssd, this is already an upgrade :p Apr 20 09:51:14 I'll whine about it to my boss if I run into space issues again Apr 20 09:51:30 :) Apr 20 09:51:38 but this time I haven't installed visual studio yet so I have several gigs free that I didn't have on the old one Apr 20 09:52:19 Yeah, I occasionally use Xcode with several simulators, that is a bit of a hog as well Apr 20 09:52:37 it is better to buy hdd for storage, because ssds have limited endurance Apr 20 09:53:00 depends on storage kind Apr 20 09:53:20 squ, I don't care, it's not my money Apr 20 09:54:51 Zharf: you loose data Apr 20 09:55:17 after 5 years, or when you hit total written bytes warranty limit Apr 20 09:56:09 5 years? why would anyone care then Apr 20 09:56:10 squ, 3 year leases Apr 20 09:56:23 people who use ssds plan to renew them after time and have backups Apr 20 09:58:58 anyway, not my problem, company leases these laptops from somewhere Apr 20 10:16:20 Hi, anyone know if it is possible to create a new app in the play store with the same name as an old one (for which I have forgotten the signing key password :/)? Package name differs, which I thought would be enough... Apr 20 10:20:22 different package name is completely different app Apr 20 10:20:31 even if it has the same name and icon Apr 20 10:21:45 Yes, and I can live with that. I just want to keep the name to make it searchable. But it seems I can't use the same name. Apr 20 10:23:09 oh? Apr 20 10:23:49 really? I was sure you could... Apr 20 10:28:56 Well I thought I could. Probably can if I use a different developer account which makes it even stranger. I have unpublished the old one, but it is still listed under "All apps" and it seems you cannot remove it entirerly. Apr 20 10:32:49 Hah! Found a solution, rename the old unpublished one to make the old name free. Not obvious, but I still feel a wee bit stupid :) Apr 20 10:35:12 :o Apr 20 10:46:29 http://imgur.com/h9g5yyO AS... . . . Apr 20 10:46:56 Hey guys, did android 2.0 drop maven support? Apr 20 10:47:03 android studio that is Apr 20 10:56:09 hey guys. I'm making an app that shows an ongoing notification. Will the notification get removed if I exit the app through task manager? Apr 20 11:00:25 hey guys! i'm developing an Android TV app and I'm using a GuidedStepFragment on top of the video player. Everything works the first time, but when I trigger it again it crashes. I think I should be removing the old one before adding the new one again. I'm adding it by calling GuidedStepFragment.add(getFragmentManager(), firstStepFragment); Apr 20 11:00:31 Any suggestions? Thanks a lot! Apr 20 11:32:42 how do i easily add a multilinecomment with android sdk? Apr 20 11:33:12 hmm /* */ Apr 20 11:34:29 doesnt grey out the code so i was skeptical Apr 20 11:35:49 never trust comments Apr 20 11:36:03 trying to add a toolbar to a fragmentactivity (maps from the example code), but having a hard time Apr 20 11:36:24 not using any theme in the manifest brings about an ugly bar with just the name of the app Apr 20 11:37:05 taub: you want to use a NoActionBar theme and then put toolbar in your activity content view if you want to use it Apr 20 11:37:20 Then use setSupportActionBar to add it to the activity as the action bar Apr 20 11:37:23 i read i gotta use AppCompactActivity instead of FragmentActivity, but then i dont know how to put the map display in a layout Apr 20 11:37:40 Yes you do want to use AppCompatActivity for sure Apr 20 11:38:05 It extends FragmentActivity so you should have no problems with managing your fragments as you do now Apr 20 11:38:10 can i still keep a fragment in the layout? Apr 20 11:38:15 Yes Apr 20 11:38:18 when testing it crashed on the device when thet screen came up Apr 20 11:38:48 Hi tilal6991 Apr 20 11:38:52 Probably not because of that - you might have fogotten to use tha appcompat theme and that induces a crash Apr 20 11:38:56 Made a stupid mistake last night Apr 20 11:39:01 Queenslayer: hi Apr 20 11:39:20 Total noob mistake Apr 20 11:39:42 I found a way using the bind feature to save space temporarilt Apr 20 11:39:50 Temporarily Apr 20 11:40:28 does that go into the themes.xml tilal6991 ? Apr 20 11:40:35 But then in my delight managed to delete system apps and then tried to factory reset it to get them back tilal6991 Apr 20 11:41:09 taub: well if you're using a custom theme then yeah you need to edit themes. If not then just change the manifest Apr 20 11:41:14 Queenslayer: ouch that sucks Apr 20 11:41:19 I know Apr 20 11:41:26 Factory reset does not touch the system partition Apr 20 11:41:35 No Apr 20 11:41:43 So unless you have the stock image somewhere then you are in trouble Apr 20 11:41:43 That's the thing. Apr 20 11:41:56 My mate has the same box Apr 20 11:42:01 Everything is the same Apr 20 11:42:17 He's backed his up using the inbuilt utility Apr 20 11:42:37 How much did you delete - can you still use adb on it? Apr 20 11:42:45 Can I not just restore the apps from his backup? Apr 20 11:42:53 And does it have a way to access recovery? Apr 20 11:42:55 I can still use other apps on it Apr 20 11:43:02 Ah so it actually works fine Apr 20 11:43:03 Yeah aosp recovery Apr 20 11:43:06 Yeah Apr 20 11:43:22 Just browser and play store Apr 20 11:43:24 Then you're golden - all you need to do is copy over the missing apps and setup the permissions correctly and you're fine Apr 20 11:43:32 And a few other standard apps Apr 20 11:43:39 I thought you deleted a lot more than that lol Apr 20 11:43:50 Yeah I wasn't totally stupid lol Apr 20 11:44:02 You don't have to be stupid to do that lol Apr 20 11:44:15 I've made that mistake many times myself and I hope I'm not stupid :P Apr 20 11:44:28 No you're definitely not mate Apr 20 11:45:04 I just wish you could have been available for last night's project proposal Apr 20 11:45:12 But still.... Apr 20 11:45:34 I'll have to give it a shot with what I know Apr 20 11:45:56 tilal6991: he's a noob Apr 20 11:46:25 Neither of us know where the backup is restored Apr 20 11:47:36 Queenslayer: /system/app Apr 20 11:48:04 Just copy and paste that? Apr 20 11:48:29 And install them one by one on my system? Apr 20 11:49:00 Yeah copy over the apks and odex files if they exist Apr 20 11:49:24 and the odex files are also in there? Apr 20 11:49:38 In system/app Apr 20 11:49:50 Cheers tilal6991. Lifesaver Apr 20 11:49:55 One in a million Apr 20 11:50:34 What do you do in your application development? Apr 20 11:50:56 You seem to knowl Apr 20 11:52:16 I know a bit Apr 20 12:00:46 tilal6991: will any system apps from a 5.1 do the trick? Apr 20 12:00:56 I.e. from another ROM? Apr 20 12:02:36 http://pastebin.com/uM99Yyyv is there something wrong in the fragment maybe? Apr 20 12:02:40 still crashing :/ Apr 20 12:03:11 you cant replace fragment from xml Apr 20 12:03:27 you have to intialize it programmatically Apr 20 12:05:05 yea i do that too, but dont you need the in the layout to give it an anchor point? Apr 20 12:06:04 could be framelayout Apr 20 12:06:10 or any viewgroup(?) Apr 20 12:06:46 Queenslayer: not necessarily Apr 20 12:07:10 Just standard wallpaper and browser, phone etc Apr 20 12:07:17 taub: would be better if we could see the browser Apr 20 12:07:17 It's a TV box Apr 20 12:07:25 Thought it wouldn't need all that Apr 20 12:07:45 Queenslayer: as I say not necessaily - some manifacturers will mod the apps and they require framework changes Apr 20 12:08:01 So not worth trying? Apr 20 12:08:07 * not browser logcat sorry Apr 20 12:08:23 Well you might just end up with constantly FCing box Apr 20 12:08:28 That's the worst that could happen Apr 20 12:08:32 Annoying more than anything Apr 20 12:08:48 Just make sure you have adb and you can use it and it can't do any harm trying Apr 20 12:12:46 http://pastebin.com/95D9QXWH dont think this helps much Apr 20 12:12:48 Sorry til Apr 20 12:13:07 Were you talking to me? Apr 20 12:13:35 Fcing? Apr 20 12:14:37 tilal6991: that's probably what is happening Apr 20 12:14:41 Pastebin Apr 20 12:33:01 hello Apr 20 12:33:23 hey karab44 Apr 20 12:33:28 any of you guys using android studio with glsl support? Apr 20 12:33:29 does anybody know if its possible to combine multiple directories in different places in to asset.dir in build.xml using ant? Apr 20 12:33:52 I have problem intelliJ plugin gives me parsing error Apr 20 12:37:09 I am running android 2.0 Apr 20 12:38:02 karab44: what error? Apr 20 12:47:33 After deploy a app with a package name, there is no going back right ? I would have to rename the package and deploy it again as a new app. It that it ? Apr 20 12:48:47 ok i got it Apr 20 13:02:19 Anyone using dagger 2 ? I have a pretty complex application architecture and I would like to see how is the object graph looking in a cute little graph, is there anything done or i have to do it myself by hand? Maybe a module or something? Apr 20 13:03:21 I see some extra space in my web view after loading an html. I tried changing scrollbars to insideoverlay but it is still the same. Can someone let me know how to fix this problem? Apr 20 13:08:58 anyone tried visual paradigm in Android Studio 2? Apr 20 13:19:38 Zharf, indeed, I guess dexing was just slow Apr 20 13:21:25 Twirl parsing error - it says to finish indexing I must restart AS Apr 20 13:22:11 and I don't know what extensions I have to use. I have .vert and it works pretty nice but .frag is not recognised. Apr 20 13:28:25 Rajveer, create your own copy task and add it as a dependency to the package task Apr 20 13:33:30 does android studio have an android emulator so I can test my apk? Apr 20 13:34:10 Getting pretty nervous about this final year project I have to submit, tried to make a restaurant booking system which shows in real time how busy a restaurant is but I feel there's a lot left out of it and worried I'll do really badly for trying to be ambitious with my project :\ Apr 20 13:34:49 markyosullivan: use heat sensors :) Apr 20 13:35:37 Ahiiru: What I did was just updating the amount of available free tables whenever a customer made a booking so they'd constantly get live information on how many free tables there is Apr 20 13:36:14 though there's an issue where I wasn't sure how to set up my database schema so I have 1 booking per table and I assume that there is 2 people per table, so if you book for 5 people it'll need 3 different bookings to cover this Apr 20 13:36:37 o.O Apr 20 13:36:45 lol Apr 20 13:36:49 I don't know how to delete all three easily and it looks messy in the fragment which I display all of the bookings from the user Apr 20 13:36:51 *cough* realm *cough* Apr 20 13:36:58 you'd need to check their system :( "table for two?" -writes down Apr 20 13:37:42 :\ Apr 20 13:37:42 hi Ping_2_Ur_Pong Apr 20 13:37:52 It's been pretty difficult, I didn't expect it to be this challenging Apr 20 13:38:04 markyosullivan: also, why do you care how many people are at a table? You care about the number of available tables Apr 20 13:38:09 * Ping_2_Ur_Pong waves to Ahiiru Apr 20 13:38:22 markyosullivan: Ping_2_Ur_Pong is trying to help with the suggestion of Realm lol Apr 20 13:38:25 markyosullivan: read "The Mythical Man Month" Apr 20 13:38:29 In case you missed it Apr 20 13:38:48 Ping_2_Ur_Pong: is Realm really worth going for BTW? Apr 20 13:38:58 Ping_2_Ur_Pong: I thought it'd be easier to organise if you could let the user specify how many users they're booking for Apr 20 13:39:11 I mean currently I'm using SQLite and it's working fine but it's ofc very boilerplaty Apr 20 13:39:18 No perf issues Apr 20 13:39:31 * Ping_2_Ur_Pong likes realm, the nosql model kind of takes the headache away of a lot of the BS with persistence. Apr 20 13:39:34 I've used Firebase for this project and I've never had any experience of using it or NoSQL based DB before Apr 20 13:39:40 That and I think the team there is pretty damn kickass. Apr 20 13:39:56 NoSQL is fucking glorious IMHO Apr 20 13:40:04 Fair enough Apr 20 13:40:12 Might play around with it just to see what it's like Apr 20 13:40:18 * Ping_2_Ur_Pong has a personal dislike of SQL as he does stupid ass threading issues. Apr 20 13:40:33 tilal6991: you can get it setup and running in like 10-15 mins. Apr 20 13:40:56 https://github.com/realm/realm-java/tree/master/examples/kotlinExample Apr 20 13:40:56 their docs are pretty nice, outside of that they are very open about their stack and how the parts work. Apr 20 13:40:58 Oh good Kotlin Apr 20 13:42:07 Wow RealmList allows easy One to Many Apr 20 13:42:09 That's nice Apr 20 13:42:17 Don't have to deal with stupid multiple tables Apr 20 13:42:26 markyosullivan: does it matter that I am looking for a table that can seat 5 or 10? If you only want to give an understanding of the busyness of the restaurant you only need a % of availability Apr 20 13:42:41 Yo homies tilal6991 Ping_2_Ur_Pong Apr 20 13:42:49 * Ping_2_Ur_Pong bows Apr 20 13:43:21 anyone knows a decent uml generator for android studio 2? Code Iris is not bad but the UI seems slightly broken and doesn't provide many desirable features Apr 20 13:43:28 Ping_2_Ur_Pong: Point taken but I thought for a business case scenario, if a family of 6 want a table at a restaurant, they don't want to book one table and find out it only fits 4 Apr 20 13:43:32 * tilal6991 waves to Cooleh Apr 20 13:44:03 It hasn't helped that my project supervisor has given me no feedback pretty much the entire year until 2 weeks away from submission he told me it wasn't enough Apr 20 13:44:43 tilal6991: uni coming along? Apr 20 13:45:29 markyosullivan: you're not making a real product, but in that case you have bigger fish to fry. The system needs to be updated consistently so that as soon as availability arrives your system is updated ie... there are 50 tables 4 that seat 10+ 30 that seat 3 and 6 that seat 5. How do you know to update the number of tables consistently and accurately. There is no way in hell the servers are going to Apr 20 13:45:30 do it. Apr 20 13:45:34 urf Apr 20 13:46:13 I really don't like database APIs that force the models to extend some DatabaseObject thing Apr 20 13:46:36 otherwise realm looks just like any other ORM from the outside Apr 20 13:46:40 Also, model out your table structure if thats the problem you'r working on. ie... know exactly how many tables each restaurant has, give each of them a unique iden and then when a booking is made adjust the availables. Apr 20 13:46:55 Zharf, I wonder if protify would be much faster for you now as well Apr 20 13:47:22 pfn, maybe, but I'm too busy to try for a couple of months or so Apr 20 13:47:45 Zharf, that's too bad Apr 20 13:47:54 I have two projects running at the same time Apr 20 13:48:22 Ping_2_Ur_Pong: ah major issues of Realm objects being mutable and constantly changing Apr 20 13:48:45 What I'm working on is Redux + React and immutability is at the heart of everything Apr 20 13:49:08 Otherwise looks nice Apr 20 13:49:18 I've been looking at ORM solutions recently for a personal project Apr 20 13:49:23 but I'm still leaning towards ormlite Apr 20 13:49:50 Meh I'm just using SQLBrite Apr 20 13:50:02 Working reasonably well atm Apr 20 13:50:11 Ping_2_Ur_Pong: Yeah that's why I've just assumed that the restaurant is one which has 2 customers per table, makes it easier for fitting in larger groups where you just combine the tables together Apr 20 13:50:22 if I can avoid writing any SQL, I'll go with that Apr 20 13:50:42 I really hate SQL :p Apr 20 13:50:56 I read an article which demonstrated to me why layering an ORM on top of SQL is counter productive Apr 20 13:51:00 And it resonated with me Apr 20 13:51:21 My system also assumes that the average customer will come into the restaurant and spend at max 2 hours, so I have to take that into consideration when allowing users to book tables Apr 20 13:51:34 So if they book for 13:00 their table wont be available again until 15:00 Apr 20 13:51:35 You're replacing what is essentially a DSL for accessing databases with a bolt on onto Java which doesn't give you the full power of SQL Apr 20 13:51:58 markyosullivan: that's highly inefficient. What if I am only there for 30 mins. Apr 20 13:52:12 my needs are relatively simple in most cases Apr 20 13:52:14 in a restaurant setting that's 1 1/2 hours of wasted resources Apr 20 13:52:31 plus you can still do SQL with (most) ORM frameworks Apr 20 13:53:00 Ping_2_Ur_Pong: this is why I hate him project supervisor, everyone else got a long discussion with theirs about their idea and how they would go about it, he barely spoke to me at all first semester and ignored my emails so he could just focus on his research instead Apr 20 13:53:05 markyosullivan: how good is your python, php, backend skills Apr 20 13:53:22 Ping_2_Ur_Pong: Not great, my backend is all done with Firebase Apr 20 13:53:29 markyosullivan: give it a second. Apr 20 13:53:35 https://github.com/square/sqldelight/ looks cool though Apr 20 13:53:57 Project is due on Friday at 12 noon, I doubt I'll be able to make many changes, I'm trying to add comments to my code because University people love that shit Apr 20 13:54:40 markyosullivan: most important lesson to learn is college is there is no such thing as not do-able. Apr 20 13:55:07 Lol in my group project last year made that mistake Apr 20 13:55:13 * Ping_2_Ur_Pong wrote an entire lexer, parser and static analyzer in 5 days in college. Coffee + inspiration == brilliance Apr 20 13:55:18 I wrote off a feature as not being possible Apr 20 13:55:28 Ping_2_Ur_Pong: I've got a 60 page report, I'm nearly finished the bulk of that, just started testing and that's why I was in here asking about Unit Testing / Instrumentation Testing last week Apr 20 13:55:30 Then realised the day before our presentation that we didn't have enough Apr 20 13:55:51 So I wrote what ended up doing the most important part of the project in 10 hours or so lol Apr 20 13:56:21 Instead of doing that 5 weeks before the deadline and making it a core part of the project Apr 20 13:56:46 It was criticised for being kinda not up to standard but still was decent enough :P Apr 20 13:58:12 * Ping_2_Ur_Pong wholeheartedly believes inspiration strikes when you are under the gun and have to produce or gtfo. Apr 20 13:58:25 * Ping_2_Ur_Pong is a huge procrastoner though. Apr 20 13:58:55 I think it does help if there's extra motivation Apr 20 13:59:09 Ping_2_Ur_Pong, every year I start doing my music for our demos 18-48 hours before deadline Apr 20 13:59:11 But right now I'm procrastinating revising for an exam on Monday lol Apr 20 13:59:16 Which is not good :P Apr 20 13:59:22 Ping_2_Ur_Pong: Yeah I've been working solidly on this but I don't have confidence in getting it fixed up, I tried earlier to sort out how I would display only one item for bookings with mulitple tables Apr 20 13:59:28 and every time I call it ready about 15-60minutes before deadline :p Apr 20 14:00:13 I should start making some music again, we have a demo deadline in a few weeks Apr 20 14:00:19 but there's still lots of time! Apr 20 14:00:40 I'm usually well organised which is why I'm probably so stressed atm Apr 20 14:01:21 plus I've got an assignment for Tuesday, tour round an office on Wednesday for a job, and assignment due on Friday as well Apr 20 14:01:45 markyosullivan: idea... make two apps. One that is the one users use. The other which has the tables implemented as some sort of toggle button that the restaurant uses. Its how you would control which tables are actually available. Where it updates your server in real time. So that as an example there are 50 tables, i as a restaurant manager could toggle on or off any tables to show a higher Apr 20 14:01:47 percentage of people in the restaurant. Bonus points for pushing a notification to the managers app to notify them that a user wants to set a reservation. Apr 20 14:02:14 That second app should essentially be a simple shell, it needs to pull info and push table status, but its what controls how many tables there are and their sizes. Apr 20 14:02:47 I've got admin section within the app, what I can do so far with it is that they can readjust the opening times, so you can specify opening time of 11 and closing time of 18:00 which means the last booking can be made for 17:00 Apr 20 14:03:54 Could I not just add the functionality where you can +1 / -1 a table being free? That's what I originally thought but then I wasn't sure how I'd do that without messing up some other section of the app Apr 20 14:04:09 allow them to set the number of tables and the size of each. If they can control how many available and of which size it completely removes that headache from your user side. Apr 20 14:04:49 but then it just creates an issue where you can have 1 table which has a capicity of 4 left but there's 1 user who wants a table for 2 Apr 20 14:04:55 *capacity Apr 20 14:05:04 You can but for it to be effective you should probably toggle it. ie. There are 5 tables, I can press on each table as they become available to notify the system there are more tables available. Apr 20 14:05:35 The major point is you want the system to update itself. And no restaurant would want to block out time if there wasn't someone's butt in a seat. Apr 20 14:06:09 that's why you push it to the manager, let them control that. also why I said push the notification to the manager, let them decide which reservations they take Apr 20 14:06:11 tilal do you want to be my lyft dtiver? Apr 20 14:06:45 yeah I had that concept of being able to update in by using essentially a free / not free switch but then I've sort of messed that up because I could make a table free if a customer is only 30min but that table would be most likely booked for the next 1hr 30 min, which limits the next customer coming into the restaurant Apr 20 14:06:46 markyosullivan: real world your app would be making too many assumptions about the business structure. Apr 20 14:07:09 why do you care about time? Apr 20 14:07:22 time shouldn't be a concept in your application, only available not available. Apr 20 14:07:25 [10:38] markyosullivan: also, why do you care how many people are at a table? You care about the number of available tables Apr 20 14:07:39 well, the restaurant could have some fancy seats Apr 20 14:07:52 Ping_2_Ur_Pong: I have to care about time because I want it to automatically make tables at a later time Apr 20 14:07:58 bar seating, those bid red sofas Apr 20 14:08:01 if I download lyft you can apply to be a driver and I can pay you instead of some stranger Apr 20 14:08:01 *make tables available Apr 20 14:08:03 big* Apr 20 14:08:22 tilal6991 Apr 20 14:08:34 markyosullivan: there is no clean way to do that. What if there is a birthday party for a party of 20, they are in the restaurant for 4 hours. You're now double booked. Apr 20 14:08:38 So if I just had an app which told you the time slots which you could book for and the currently available tables, it wouldn't make sense unless you have some sort of time function in place Apr 20 14:08:49 Ahiiru: yea, thats why I recommended the manager section. Apr 20 14:09:05 * Ping_2_Ur_Pong sees Apr 20 14:09:15 * Ping_2_Ur_Pong is thinking more real time booking. Apr 20 14:09:16 Ping_2_Ur_Pong: Parties would have to be the exception, where they would essentially just rule out the tables being used for 4 hours or so like you said Apr 20 14:09:28 I'll show you a screenshot Apr 20 14:09:55 http://imgur.com/ez1z1Zu Apr 20 14:10:28 So essentially, if you book table for 2 at 15:00 it'll lower the available tables for both 15:00 and 16:00 but 17:00 will stay unaffected Apr 20 14:10:48 it also allows you to book in advance, so if you wish to book for 2 weeks from now, you can do so Apr 20 14:11:02 tilal6991 Apr 20 14:11:06 markyosullivan: how lond would you think you take finish it? Apr 20 14:11:20 tila1991 Apr 20 14:12:23 If I want to go to the grocery store Apr 20 14:12:36 to buy food Apr 20 14:13:01 markyosullivan: for parties, they might reserve a specified spot? so you can calculate the ammount of tables left in the place... uh Apr 20 14:13:14 markyosullivan: how do you get table availability? You hit your backend? Apr 20 14:13:40 this way you and I can work together on some apps Apr 20 14:14:02 yaaic1: don't buy cookies tho Apr 20 14:14:36 Ahiiru: I'm not sure how long it'd take to finish it, there's so many things I want to include but not sure how to approach it which will take longer than if I knew what I was needing to do Apr 20 14:14:46 isually I don't Apr 20 14:14:48 markyosullivan: MVP Apr 20 14:14:58 Ping_2_Ur_Pong: No, don't tell me that now :( Apr 20 14:15:12 I got 2 days until submission lol I can't redo my app Apr 20 14:15:17 distill what you want into the core functionality and make that pristine. Apr 20 14:15:41 Ahiiru Apr 20 14:15:44 don't, throw out everything that isn't apart of your core idea. Apr 20 14:15:54 Ping_2_Ur_Pong: yeah table availablity is worked out by looping through all of the bookings from a particular date Apr 20 14:16:09 * Ping_2_Ur_Pong stabs markyosullivan for that shit Apr 20 14:16:15 :| Apr 20 14:16:17 do you want to guard the place while I pay tila1991 Apr 20 14:16:33 Hi all!!! Apr 20 14:16:53 the place os often intruded Apr 20 14:18:08 heh, was the nick yaaic taken? Apr 20 14:18:14 markyosullivan: I am going to reiterate to you what I think you're doing, what you want to do and then piece it together. Apr 20 14:18:22 my guess is to check skeleton keys invall of the computers with hidden black boxs Apr 20 14:18:43 yaaic1: do you have a place which sells bento? it's healthy, cheap and can be eaten as is Apr 20 14:18:43 sometimes they take money Apr 20 14:18:58 only when I have large amounts Apr 20 14:19:18 bento? no Apr 20 14:19:40 that's sad news Apr 20 14:19:44 great fig bars showed up Apr 20 14:19:45 Ping_2_Ur_Pong: Thank you Apr 20 14:20:08 4 dollors for about 1 lb Apr 20 14:20:32 better than 1 dillar for 2 peices Apr 20 14:20:42 You have created an application that allows a user to book a reservation at a restaurant, both in the present and x days in the future. You currently have a model of the table sizes and availablity in your application. You also keep the tables booked based upon predefined slots. The MVP of the application is making a reservation and freeing available tables? Apr 20 14:21:11 MVP? Apr 20 14:21:18 minimum viable product Apr 20 14:21:22 yeah Apr 20 14:21:34 Lol I thought you mean Model View Presenter Apr 20 14:21:36 have uziel guard the place Apr 20 14:21:37 And I was like what Apr 20 14:21:59 ahiiru you watch and record the cameras Apr 20 14:22:13 from a remote location Apr 20 14:22:39 but the thing is, I can book tables no bother, users can sign up, login. Admins can view all of the bookings (abeit showing all bookings which results in more than 1 item for bookings for more than 2 people) Apr 20 14:22:50 Users can view the bookings they've made Apr 20 14:23:00 same issue as admin though Apr 20 14:23:12 tilal991 almost readu? Apr 20 14:23:30 User can easily change their name in the settings which automatically updates the rest of the database, so if they got their name wrong when reserving a table they can adjust it Apr 20 14:23:48 MVP! Apr 20 14:24:02 I thought you wanted to play Ragnarok all again Apr 20 14:24:09 "do one thing and do it well" Apr 20 14:24:22 "most valuable player" Apr 20 14:24:40 My project supervisor said that's not enough Apr 20 14:24:47 He said there wasn't enough features Apr 20 14:25:05 asked why couldn't he delete bookings, why couldn't he adjust the hard coded menus Apr 20 14:25:08 tell him, he's a dumbass for advocating bloated products. Apr 20 14:25:09 (hard coded food menus) Apr 20 14:25:20 you're showing the food menus? Apr 20 14:25:26 markyosullivan: pirates of caribbean remix "that's not good enough" Apr 20 14:25:31 Yes, hard coded but I felt he'd be happy with it in Apr 20 14:25:40 instead he said "Why can't I update these" Apr 20 14:25:45 you might check it for your amusement lol Apr 20 14:25:53 why do you care about the menu? You're a reservation app. Apr 20 14:26:00 I don't think he understands how much work goes into setting up an app with Firebase Apr 20 14:26:13 he doesn't and shouldn't care. Apr 20 14:26:31 yeah he thinks it should be an all round package I think Apr 20 14:26:42 but I don't think he realises how much work we have from other modules as well Apr 20 14:27:02 markyosullivan: it doesn't matter. That's all part of the way it works. Apr 20 14:27:14 I'm just stressed to the balls because I have a real good chance of finally doing Android dev for a living and I feel my own project is going to screw me up from getting that opportunity Apr 20 14:27:24 Kinda ironic Apr 20 14:27:28 * Ping_2_Ur_Pong could give horror stories about writting 2 different features at once while going to shit loads of stupid ass meetings. Apr 20 14:27:58 markyosullivan: MVP. Features don't make, make your core product great. Apr 20 14:28:08 That sounds pretty horrible tbf Apr 20 14:28:14 You want your core functionality to show you understand what you're doing Apr 20 14:28:31 Ping_2_Ur_Pong: I understand MVP but my advisor marks my project Apr 20 14:28:50 markyosullivan: your advisor can't argue against great. Apr 20 14:29:22 its why MVP works, you strip out everything that isn't a part of the core functionality. It should be presented and respond as a single thing. Apr 20 14:29:43 ^ Apr 20 14:29:57 kev? Apr 20 14:29:58 Yeah but wouldn't displaying the bookings and being able to delete them not be part of the MVp? Apr 20 14:30:00 *MVP Apr 20 14:30:16 displaying booking yes, deleting them no. Apr 20 14:30:39 you can add that, but if you can show them deleting them is just another push to the server to update them Apr 20 14:30:55 * Ping_2_Ur_Pong kicks marky in the nuts if his booking live in his app and not on the server. Apr 20 14:31:04 Ping_2_Ur_Pong: Would it matter so much the way I have them displayed? Like they're all there, but just not the way I'd ideally want Apr 20 14:31:10 Anyone have any ideas why my list view keeps updating on the same line? http://stackoverflow.com/questions/36739500/listview-updates-but-not-on-a-new-row Apr 20 14:31:21 Yeah I can display the deleting works if I use the Firebase web dashboard Apr 20 14:31:43 I can delete a booking from the system and it actually updates the main screen which shows the live amount of free tables Apr 20 14:31:57 markyosullivan: the best way to think about building a product is you want something you would use. Be as big of a critique as you are with other people's products on your own. Apr 20 14:32:24 I'd use my product, that's why I came up with the idea, it's something I want to be made Apr 20 14:32:40 * Ping_2_Ur_Pong kicks marky Apr 20 14:32:40 Like I wouldn't care about deleting bookings so much if I could ring up and ask for them to be deleted Apr 20 14:32:52 what did I say wrong? haha Apr 20 14:32:55 * Ping_2_Ur_Pong kicks marky Apr 20 14:33:24 round one of building any product... see what the competition does. Apr 20 14:33:27 markyosullivan: "Ping_2_Ur_Pong kicks marky in the nuts if his booking live in his app and not on the server." Apr 20 14:33:42 go look at apps that do what you're doing. Apr 20 14:33:46 tilal6991: it's live in both Apr 20 14:34:17 Ping_2_Ur_Pong: None do exactly what I've done, the MVP is that the app is built for 1 specific restaurant and you can easily view in real time how busy the restaurant is Apr 20 14:34:47 compared with OpenTable, BookATable, Reserve, etc. These apps all allow customers to book a table but are forcing restaurants to compete with each other Apr 20 14:35:17 and it's not clear on how many free tables there when using it, so if they have 1 table left, you could end up missing out because you weren't quick enough Apr 20 14:36:34 does your advisor look at the code or the finished product? Apr 20 14:37:41 Looks at the report which describes everything regarding the project, code is included in the appendix and screenshots of important code in implementation, that's why I'm going over my code atm commenting stuff so it'll look better in the screenshots Apr 20 14:38:12 the whole idea of having a project methodology is bullshit for a final year project, nobody seriously uses one for it Apr 20 14:38:52 Honestly its not dude, part of building a real product is having the methodology on how you go about doing it. Apr 20 14:40:01 If I were you I would clean up everything that will be seen so that it looks great report wise, but simultaneously distill what you're doing. I am a product guy, so for me its all about the experience. Apr 20 14:40:21 * Ping_2_Ur_Pong kind of wants to write a competing product to opentable just for shits and giggles. Apr 20 14:40:53 Yeah I love having a good product but I'm frustrated with the way this has turned out Apr 20 14:41:07 its about learning Apr 20 14:41:10 if I wanted something easy I could have stored it all within the phone itself instead of in the cloud with Firebase Apr 20 14:41:28 Ping_2_Ur_Pong: I want to redo the entire app basically once I'm graduated Apr 20 14:41:32 from everything learn what you don't like and learn what you'd do again and do differently. Apr 20 14:41:41 Then you've learned. Apr 20 14:42:09 though I wont want to go near it if I don't graduate with the job I want, I'll be put off from doing Android stuff again, will be a bit confidence blow Apr 20 14:42:13 *big confidence Apr 20 14:42:26 shouldn't be Apr 20 14:42:45 fyi, you need to clean up what you're doing in the job interview you're going to have they are going to ask you about it. Apr 20 14:43:06 I've got everything stored on GitHub which is useful Apr 20 14:43:34 and if they don't you need to show it to them. This industry is all about showing, vs telling. Apr 20 14:43:47 Ping_2_Ur_Pong: Yeah from what it seems, I'm heading over to this place for seeing the office and them offering me a contract which I'm a bit worried because the apps I've published and I've shown them aren't anything special and nothing like how complex this app is Apr 20 14:43:56 * Ping_2_Ur_Pong has to get his ass to work. Apr 20 14:44:34 if you get the contract fuck it, you need experience. Real world is completely different from college. Apr 20 14:44:47 yeah that's true Apr 20 14:44:52 i can't wait until I'm finished with Uni Apr 20 14:45:00 I enjoyed working on placement Apr 20 14:45:05 * Ping_2_Ur_Pong wants to go back, college was fun. Apr 20 14:45:19 Lecturers are stubborn as hell Apr 20 14:45:21 well some of them Apr 20 14:45:35 Whenever we were doing Android dev 2 years ago, they were still using Eclipse for it Apr 20 14:45:37 * Ping_2_Ur_Pong wants to get a Masters, because of how great of a time he had in college. I like that... And wait until you get your first PM. Apr 20 14:45:44 I asked the lecturer why AS hadn't been installed Apr 20 14:45:53 and he sounded like he didn't know about it Apr 20 14:45:56 why didn't you install it Apr 20 14:46:12 don't think you're allowed to install software lol Apr 20 14:46:16 used my laptop instead Apr 20 14:48:07 JakeWharton: does Hugo's @DebugLog work in androidTest builds? it's a debug build, so based on docs it should, but I tried it last night and didn't see any logs for it (verbose was turned on) Apr 20 14:50:38 Hi, i have a class that extend HorizontalScrollView, but when i want to cast I have a classCastException... Apr 20 14:50:44 my class : public class SyncedScrollView extends HorizontalScrollView implements ScrollNotifier Apr 20 14:50:59 my cast : SyncedScrollView view = (SyncedScrollView) findViewById(R.id.scrollViewFixedHeader); Apr 20 14:51:30 Hello Apr 20 14:51:37 put it in your xml Apr 20 14:51:42 What's the latest on here? Apr 20 14:53:28 How do extract the image from my Android media box? Is it the same as doing it on a phone? Apr 20 14:54:12 I want to extract it and restore the system apps that I deleted Apr 20 15:00:56 i cant get icons to show up in my action bar, when i hit the settings buttons i get them as a text menu tho Apr 20 15:01:11 am i not using the right themes or something? Apr 20 15:04:57 hey guyz Apr 20 15:05:19 any body knows is there any way to detect a call drop ? Apr 20 15:06:00 Ping_2_Ur_Pong: You still here? I got a screenshot of how my app looks when I display the bookings Apr 20 15:06:11 yea Apr 20 15:06:30 markyosullivan: read, "the design of everyday things" Apr 20 15:06:34 Ping_2_Ur_Pong: http://imgur.com/HmkBNNe Apr 20 15:06:57 that's the admin view since they can see all the bookings Apr 20 15:07:13 whereas if it was just Mr Test logged in, he'd only see his own bookings Apr 20 15:07:29 Ping_2_Ur_Pong: I've heard of HCI? Apr 20 15:07:34 I think it's HCI, need to go check Apr 20 15:07:39 what's the point of the knife and fork? Apr 20 15:10:47 * Ping_2_Ur_Pong is trying to be super nice today and not as much of a dick as he normally is. Apr 20 15:13:41 Ping_2_Ur_Pong: Just something to make the layout look a bit more unique Apr 20 15:14:01 I'm thinking that if I had built this for a certain restaurant, the restaurant logo would go there Apr 20 15:14:32 Plus I know I was told before to try and make use of the space you have and not leave lots of white spaces Apr 20 15:18:33 markyosullivan, Make the date more human readable "July 6th", or "Tomorrow", not 15-04-2016. only add the year if it is a year in the future. For restaurant reservations the year is not too relevant Apr 20 15:18:36 anyone using any UML generators for android studio 2? Apr 20 15:19:25 The knife and fork should go I think. If you want to add personality, perhaps make the title "All Bookings" larger and add one knife and fork there. you dont need 10 of them on screen Apr 20 15:20:22 truckcrash: Thanks for the tips, I was just trying to do it quickly by displaying the date in dd-mm-yyyy format, it's stored like that in the database so meant there'd be no extra work converting it to display it Apr 20 15:20:43 I usually store dates in milliseconds Apr 20 15:20:49 Anyone else do that? Apr 20 15:20:51 also, it took me a moment to realize what the group size icon was for. Perhaps add "Group of 2 people" or Apr 20 15:20:54 drose379: Actually? Apr 20 15:21:02 drose379: yea epoch Apr 20 15:21:28 Seems best, can be converted to any format very easily Apr 20 15:22:04 Yes markyosullivan Apr 20 15:22:16 markyosullivan, yeah, thats fine for prototyping, but as a restaurant host, I would want a more readable date Apr 20 15:22:50 Yeah, I can understand that for sure Apr 20 15:25:53 markyosullivan: this is for a senior project? Apr 20 15:26:11 I have an long-lasting issue with SearchView widget in ActionToolbar pushing out other menuItems. up to now - I have not found better workaround than Google did - setting SearchView from state setIconified(false) to state true on each rotation. Apr 20 15:28:00 As a user I completely hate this behaviour, but without it - user is experiencing strange behaviour of menuItems being visible in same display orientation one time and on disp. rerotation not being visible even in overflow Apr 20 15:29:01 drose379: BSc final year project Apr 20 15:29:03 I have thought that it can be solved by changing width of expanded searchView but it cant Apr 20 15:29:12 Cool, is the code public markyosullivan Apr 20 15:29:31 I have it on GitHub but not public, not sure what I was going to do with it once I finish the project Apr 20 15:30:07 How do you get graded? Apr 20 15:30:15 code , report and demo I think Apr 20 15:30:34 I just hope I've got enough to get me at least a 2:1 in the project Apr 20 15:30:36 I have 3 menuItems - two of them are searchView and settings Apr 20 15:30:48 Whats a 2:1 Apr 20 15:30:54 60%+ Apr 20 15:31:04 You want a D? Apr 20 15:31:09 it's the degree classification we have Apr 20 15:31:14 it's the second highest you can get Apr 20 15:31:29 1st class classification is 70%+ Apr 20 15:31:32 there is no problem with settings because it has showAsAction set to never - which means it is always present - no matter what happen with searchView Apr 20 15:31:43 Oh I see Apr 20 15:31:56 Guessing the US must be different? Apr 20 15:32:11 third one is part of application that serves for work with collected data this one is set to showAsAction="ifRoom" Apr 20 15:32:35 I think so markyosullivan Apr 20 15:32:43 Just A B C D F Apr 20 15:32:46 I thought.. Apr 20 15:36:06 last option I see is to completely remove all menuItems except SearchView and move them to hamburger menu - this is the option I was always avoiding (it probably removes my app icon from ActionToolbar, all other discussed problems with hamburger menu...) Apr 20 15:36:19 pfn: worked <3 Apr 20 15:37:20 is there any solution I did not mention? Apr 20 15:38:08 where do you guys stick your action icons when there is not much place (keyboard is visible almost all the time) Apr 20 15:46:37 Anyone, please look at this pastebin. I have a question inside: http://pastebin.com/mY94YuXQ Apr 20 15:47:40 Just try it surf2b1 Apr 20 15:48:14 I have, it gets dismissed without calling dismiss()... Is this the default behavior now? I *thought* I had to call dismiss() in previous versions of Android Apr 20 15:49:59 surf2b1: AFAIK that's never been the "default" behaviour but I may be wrong Apr 20 15:50:05 Depends how far back you're thinking Apr 20 15:50:14 If older than Froyo I wouldn't knnow Apr 20 15:52:43 tilal6991, alright. Thanks. I won't worry about calling dismiss then. Apr 20 15:55:57 justJanne https://news.ycombinator.com/item?id=11534148 Apr 20 15:57:27 g00s: I know, I submitted one of the complaints to the EC that started this Apr 20 16:14:27 hey: https://i.imgur.com/yvkTkiI.jpg Apr 20 16:15:06 You took that? Apr 20 16:15:13 uh no Apr 20 16:15:28 im not in florida Apr 20 16:20:52 Does AS have an UML support plugin Apr 20 16:23:34 uml support? Apr 20 16:24:09 intellij ultimate can show classes in an uml-like diagram Apr 20 16:27:45 markyosullivan: not directly, it can generate class diagrams and ER diagrams, though Apr 20 16:27:51 it can not do anything else from the UMl Apr 20 16:28:12 I think VisualParadigm has a free edition with limited functionality, but I’m not sure Apr 20 16:30:38 justJanne: How can you generate class diagrams with it? Apr 20 16:30:38 justJanne did you add 'Help' to your app, and how did you go about it? self host html and point webview to that, etc ? Apr 20 16:30:55 yawkat: I've heard IntelliJ can do it which is why I'm wondering if it's possible for AS Apr 20 16:31:34 well, install android support in ij ultimate and there you go. Apr 20 16:32:01 probably won't be at the same level as android support in AS though Apr 20 16:32:09 so i guess you have to decide which is more important Apr 20 16:32:17 drawing pictures, or coding :) Apr 20 16:33:17 isnt it? Apr 20 16:33:25 ive never had problems with the android plugin Apr 20 16:34:29 AS will have the latest support Apr 20 16:35:03 so someone just hacked up one of our layouts, and duplicated it, becase “kitkat doesn’t support an indeterminate progress bar" Apr 20 16:35:36 i used indeterminate progress on kitkat Apr 20 16:35:39 what Apr 20 16:36:48 nope, you must’ve been mistaken. neither of us has used one, clearly. and we have to duplicate the layout so we have one to show with and one to show without Apr 20 16:37:39 hope s73v3r is being sarcastic Apr 20 16:38:00 not about what the coworker did Apr 20 16:39:06 why are webp images not previewable in AS Apr 20 16:42:43 g00s: for help the current solution is to link people to the IRC channel ;) Apr 20 16:42:59 justJanne: http://www.androidpolice.com/2016/04/20/eu-files-antitrust-charges-against-googles-use-of-android-contracts-and-agreements-to-stop-rivals-from-competing/ Apr 20 16:43:02 But otherwise every feature we have is made to work without having to search for anything Apr 20 16:43:03 Read the comments Apr 20 16:43:14 You and the top comment are the ends of the spectrum :P Apr 20 16:43:58 it sounded like those charges weren’t really related to what justJanne has been talking about, though Apr 20 16:44:21 this isn’t about stuff like GPS being the only thing able to wake up Doze, right? Apr 20 16:44:33 i think the thing that irks me most about licensing Play Service is that OEMs are then not allowed to make Android devices w/o Play Services Apr 20 16:44:34 s73v3r: yeah, that’s another case under discussion Apr 20 16:44:38 but the EC is talking about it Apr 20 16:44:42 current issues on Android: Apr 20 16:44:56 The user can NOT change the provider of search in recents screen in 5.0 and 5.1 Apr 20 16:44:56 and I really, really just want to punch people in the face who blindly compare this to apple Apr 20 16:45:15 which is unfair for competitors Apr 20 16:45:21 but the largest point is this: Apr 20 16:45:31 OEMs that wish to sell one phone with the play store installed, Apr 20 16:45:39 have to sell ALL phones with ALL google apps installed. Apr 20 16:45:44 yeah Apr 20 16:45:46 Which led to Amazon filing a complaint, Apr 20 16:45:57 a bunch of chinese OEMs filing complaints, Apr 20 16:46:01 thats kinda BS on google's part Apr 20 16:46:04 and led to these talks. Apr 20 16:46:15 The whole comments section is fanboyism lol Apr 20 16:46:18 wonder why it took this long justJanne ... Apr 20 16:46:20 What the EC wants: The user can replace ALL Google apps with their own at runtime Apr 20 16:46:31 The manufacturer can sell every device with a different oS Apr 20 16:46:33 *OS Apr 20 16:46:37 tilal6991: It IS AndroidPolice, after all Apr 20 16:46:41 A free market. Apr 20 16:46:51 That's true lol Apr 20 16:47:45 What I do love though is even through the readers are so incredibly biased, the non-opinion pieces on the site are really quite neutral Apr 20 16:48:01 Like the tone of that article does not come across as biased to me Apr 20 16:48:33 i glanced the article, as I had heard the news earlier. I was talking about the comment section Apr 20 16:48:46 Yeah the comments section is a mess Apr 20 16:48:55 As is any site's TBH Apr 20 16:49:15 Love to see /r/android's reaction to this lol Apr 20 16:49:44 Google’s response: http://googlepolicyeurope.blogspot.de/2016/04/androids-model-of-open-innovation.html?m=1 Apr 20 16:50:40 tilal6991, Apr 20 16:50:45 Same ol mate Apr 20 16:50:59 Google play services is the main culprit Apr 20 16:51:01 funny how there are similarities between oracle and google in some ways, when goal is to maintain control Apr 20 16:51:21 g00s: all companies Apr 20 16:51:25 indeed Apr 20 16:51:29 It's a feature of them Apr 20 16:51:41 we like free markets except when we're ahead ! Apr 20 16:51:55 then we lobby / sue :) Apr 20 16:54:40 g00s: exactly. Apr 20 16:54:57 It’s funny how users are pro free markets, unless they’re emotionally attached to those profiting from the monopoly Apr 20 16:55:19 Comcast, ATT and TWC: MONOPOLY! BAN THEM! We want a free market! Or even better, communism! Apr 20 16:55:31 Google: Free market is overrated, we love our corporate overlords! Apr 20 16:55:44 we're all just digital serfs :) Apr 20 16:55:48 users’ reactions to companies is... yeah Apr 20 16:56:06 accept your feudal lords :) Apr 20 16:56:09 Hm, when you set the dialog to cancelable - false, the back button doesnt even work Apr 20 16:56:10 Nice Apr 20 16:57:33 that’s kinda the point. there are dialogs you do not want the user to get out of without doing somethign Apr 20 16:58:42 TBH reddit is quite good Apr 20 16:58:49 No crazy bias going on Apr 20 16:58:51 It's pretty split Apr 20 16:59:00 give it an hour Apr 20 16:59:29 https://www.reddit.com/r/Android/comments/4fml1a/european_commission_antitrust_commission_sends/ Apr 20 16:59:37 There's a lot of comments already lol Apr 20 16:59:41 Also https://www.reddit.com/r/Android/comments/4fn1c5/my_app_was_stolen/ Apr 20 16:59:43 Why would a view not receive onTouch events? Apr 20 16:59:56 svm_invictvs: intercepted by parent/child Apr 20 17:00:03 hm Apr 20 17:00:11 Or one on top of it, eh? Apr 20 17:00:22 Yes Apr 20 17:00:29 I'll be onTouch is very hard to use right Apr 20 17:00:34 * I'll be honest Apr 20 17:00:41 hm Apr 20 17:00:48 Yeah Apr 20 17:00:53 THis whole view hierarchy is screwed up Apr 20 17:01:06 Well, not screwed up Apr 20 17:05:46 tilal6991 It's inside a list view, I bet it's intercepting the event. Apr 20 17:05:57 Oh yeah definitely Apr 20 17:08:11 Thoughts on how to get that touch event? Apr 20 17:09:17 svm_invictvs: do you just want a click event on the item in the list view or actual touch events Apr 20 17:09:23 I really hope it's not the latter lol Apr 20 17:09:27 The later Apr 20 17:09:30 Fun Apr 20 17:09:32 I need to know the coordinates Apr 20 17:09:50 tilal6991 It's a list view containing a video that I want to tap to play Apr 20 17:10:03 Then set the listener on the listview and figure out if the coordinate is in bounds for your item Apr 20 17:10:08 * the onTouch Apr 20 17:10:13 oh god Apr 20 17:10:37 Welcome to why I said it's not easy lol Apr 20 17:12:45 svm_invictvs: https://github.com/android/platform_frameworks_base/blob/master/core/java/android/widget/AbsListView.java#L3850 Apr 20 17:12:48 That might help Apr 20 17:13:23 Touch mode? Apr 20 17:15:02 I have a dialog that automatically gets dismissed on postiive button click Apr 20 17:15:11 Can I make it not dismiss? Apr 20 17:18:45 set on click listener Apr 20 17:18:57 googling would have found that Apr 20 17:19:19 I have a click listener Apr 20 17:19:19 justJanne quick Q about that nav stuff we discussed a while back, can I PM ? Apr 20 17:19:21 brb Apr 20 17:19:39 g00s: anyone can always PM me – just don’t always expect an answer ;) Apr 20 17:19:45 k thx Apr 20 17:26:28 Any ideas on stacking two imageViews on top of eachother? Apr 20 17:30:17 like how? Apr 20 17:31:06 g00s: I found a nice article about another example of Google extorting OEMs to prevent them from forking: http://arstechnica.com/gadgets/2012/09/google-blocked-acers-rival-phone-to-prevent-android-fragmentation/ Apr 20 17:35:51 "Back in ‘15, we unveiled the @Android M(arshmallow) dev preview at #io15" Apr 20 17:36:18 fast forward today, and M has 4.6% ! Apr 20 17:36:56 WOOOOO! Apr 20 17:37:00 * g00s claps with one hand Apr 20 17:37:04 http://static.javadoc.io/com.android.tools/sdklib/25.0.0/com/android/sdklib/repositoryv2/MavenInstaller.html Apr 20 17:37:11 \m/ Apr 20 17:37:15 looks like a future sdk manager update will enable installing individual versions to the maven repos Apr 20 17:37:32 WTF? Apr 20 17:37:34 Why... Apr 20 17:37:48 Why build a versioning system to version a versioning system? Apr 20 17:38:00 considering M wasn't officially released until around october, that isn't completely terrible Apr 20 17:38:02 I mean, the whole point of the maven repos is that they have a versioning system integrated Apr 20 17:38:07 roughly 7 months Apr 20 17:38:13 pfn: it is compared to most other OS adoption rates Apr 20 17:38:17 "most other" Apr 20 17:38:19 being iOS Apr 20 17:38:26 iOS, OS X, Windows, etc Apr 20 17:38:26 iOS doesn't really apply, single hardware vendor Apr 20 17:38:32 yeah, it does Apr 20 17:38:39 considering 90% of the world is still on windows 7 or older Apr 20 17:38:44 not a good comparison Apr 20 17:38:48 again, OSX, single hardware vendor Apr 20 17:38:55 single vendor is irrelevant Apr 20 17:39:27 consumers see iOS gets updated, android does not Apr 20 17:39:40 * pfn shrugs Apr 20 17:40:15 well Apr 20 17:40:23 I think what they see is their friends get android updates but they don't Apr 20 17:40:31 consumers usually blame the phone itself for everything Apr 20 17:40:34 or "android" as a whole Apr 20 17:40:39 Well, I use my own CyanogenMod builds Apr 20 17:40:45 And they get updated every time I want to :P Apr 20 17:41:31 neat, I can write my own sdk updater now... Apr 20 17:41:34 * pfn does so Apr 20 17:41:41 that was fast Apr 20 17:42:16 i'd like google to put support lib and GMS in maven only, having to d/l a new repo in the sdk manager is so lamesauce Apr 20 17:42:32 and obviously, they keep getting bigger by 10s of MBs with each release Apr 20 17:43:11 https://medium.com/@duhroach/smaller-pngs-and-android-s-aapt-tool-4ce38a24019d#.kp9att5dy Apr 20 17:43:20 g00s, link to maveninstaller as shown above Apr 20 17:43:27 movement is occurring in that area, not done yet, however Apr 20 17:43:38 another year or so Apr 20 17:43:40 and maybe Apr 20 17:48:58 Is it possible to have a ScrollView containing some ImageViews positioned outside of the screen? And then slide it in to the screen during a click event or something. Mostly, I can't figure out how to position it outside the screen Apr 20 17:49:02 Will anyone able to help me why whenever a new client connects it will add the new client to the same row as the previous client in listview instead of going to its own row? http://pastie.org/10805707 Apr 20 17:49:14 Yello Apr 20 17:49:16 I'm trying to build my project Apr 20 17:49:26 and I've got 2 projects in my project tree Apr 20 17:49:37 whenever I hit "Build -> Build APK" it builds the project i don't want to build Apr 20 17:49:47 I want to build the other one but i haven no idea how to select that one? I highlight it but still it builds the other one Apr 20 17:51:33 g00s: the HN thread has my "the actual complaint, as you can read in the official papers, is that OEMs can’t sell devices with kindle-android while also selling other devices with google android" now at -3 Apr 20 17:51:43 Hacker News obviously is very Google-centric Apr 20 17:51:45 nothing new Apr 20 17:51:57 :/ Apr 20 17:53:58 justJanne: link to HN? article's not on the front page Apr 20 17:54:09 hi guys... someone can help me with a layout? http://pastebin.com/uSBjHpPD Apr 20 17:54:29 i would like to move to button one to the left and one to the right Apr 20 17:54:36 the not to Apr 20 17:54:55 how can i set the layout_gravity programatically Apr 20 17:55:04 it is on the frontpage, ludocode Apr 20 17:55:37 HN is full of anarcho-capitalists who believe that anything a company does that makes money is ok Apr 20 17:56:00 hello Apr 20 17:56:22 I have a question regarding bootloader Apr 20 17:56:40 justJanne: really? not seeing it. you mean the eu antitrust story? because i don't see the acer/yunos story Apr 20 17:56:50 (bootloader) Device is LOCKED. Status Code: 2 Apr 20 17:57:02 is there anyway I can unlock it? Apr 20 17:57:15 uZiel: go to #android-root Apr 20 17:57:23 that’s kinda outside the scope of this channel. Try #android-root Apr 20 17:58:39 okay, another one which you guys might be able to help me with - Does adb work when in bootloader mode? Apr 20 17:59:02 uZiel: no Apr 20 17:59:09 only fastboot Apr 20 17:59:46 okay, so any other ways of interacting with the device when OS is curropt? Apr 20 18:00:38 or anyway I can increase the verbosity of fastboot to tell me why it fails to unlock the device? Apr 20 18:00:39 no akaik Apr 20 18:00:52 whats the message you got? Apr 20 18:01:04 and.. what device? Apr 20 18:01:17 s73v3r yeah Apr 20 18:01:20 ther terminal just show "OKAY", but nothing changes on th device screen Apr 20 18:01:25 nexus-6 Apr 20 18:01:30 s73v3r justJanne i'm reading this, pretty good http://www.amazon.com/How-Did-Into-This-Mess-ebook/dp/B00Z3E3OCO Apr 20 18:01:44 uZiel: but it doesn't boot right? Apr 20 18:02:15 it shows "Device is curropt and can't be used" when I try to boot it Apr 20 18:02:30 have u tryed to flash stock firmware again Apr 20 18:02:51 download stock image and flash them Apr 20 18:03:05 but I need to unlock it in order to flash, don't I? Apr 20 18:03:17 maybe its already unlocked Apr 20 18:03:36 try to download the twrp and try to boot it with fastboot boot twrp.img Apr 20 18:03:49 if it boots then bootloader is unlocked Apr 20 18:04:12 hmm i tested this "cruncherEnabled = false" flag, againt a rep of optimized and not optimized pngs, it made it worse, not sure the article i linked is relevant with the "new??" pngcrusher Apr 20 18:04:47 skin1980: ok, I'll try it Apr 20 18:05:00 skin1980: thanks, will be back with results Apr 20 18:05:00 let me know uZiel Apr 20 18:05:34 uZiel: i'm not good at java development but a bit better with other stuff Apr 20 18:06:25 skin1980: yeah, I'm not a dev at all actually, but good with systems :) Apr 20 18:09:02 Will anyone able to help me why whenever a new client connects it will add the new client to the same row as the previous client in listview instead of going to its own row? http://pastie.org/10805707 Apr 20 18:16:40 hey, so I have some inherited code with an Activity that was using a FragmentPagerAdapter (haven't used one in a long while) and was storing each Fragment in a variable instead of letting the adapter take care of it — I converted it to just let the adapter take care of it and for whatever reason, it's only showing the fragments the first time and leaves them blank thereafter — I've only implemented the base necessary getItem() and getCount() in the Apr 20 18:17:39 I've also validated that the fragments are attached via ADM view hierarchy watcher Apr 20 18:20:30 ah nvm, I think I know what's going on Apr 20 18:31:26 is there a primative datatype for TimeStamps... I just wanted to find the diference in time between two time stamps... how old is a record for example Apr 20 18:32:54 hey guys, how can i set the button layout gravity programmatically Apr 20 18:33:16 mybuttton.setgravity is not layout_gravity Apr 20 18:33:51 hmm? Apr 20 18:34:49 IrishGringo: the simplest: long lastTimestamp = SystemClock.elapsedRealtime(); .... long diff = SystemClock.elapsedRealtime()-lastTimestamp; Apr 20 18:36:07 IrishGringo, long Apr 20 18:36:23 Ashiren: yea... that looks interesting... Apr 20 18:40:48 at this point, i thoroughly regret naming all my layouts like activity_xxx fragment_xxx Apr 20 18:43:49 there is the plugin which will make AS show folders in the layout folder based on the prefix of the filename Apr 20 18:44:34 i should have used concept_type rather than type_concept Apr 20 18:45:39 g00s, hmm, why? Apr 20 18:46:17 when i'm working on concept or feature X, i think i'd rather see X_ all clumped together Apr 20 18:46:31 in my res/ folders Apr 20 18:46:44 activity, fragment, include, and item layouts Apr 20 18:47:02 x_activity, x_fragment, x_include, x_item Apr 20 18:47:53 Good point. Apr 20 18:48:22 guys i need a little help pls... can i have your attention? Apr 20 18:48:48 Attention everyone, skin1980 needs help. Apr 20 18:48:58 orbyt_: tnx Apr 20 18:49:06 anytime Apr 20 18:49:07 :( Apr 20 18:49:11 btw Apr 20 18:49:59 i am defining some button with a for cycle Apr 20 18:50:19 skin1980: ((LinearLayout.LayourParams)button.getLayoutParams()).gravity = Gravity.TOP Apr 20 18:50:20 now i want move the button one to the left and one to the right Apr 20 18:50:54 assuming the parent viewgroup is LinearLayout Apr 20 18:50:56 Ashiren: dont understand Apr 20 18:50:57 I am having a weird problem with expansion files.. I have a beta APK uploaded and it has an expansion file. When my moto g downloads the apk with expansion file, it works fine. When my samsung s7 downloads the apk with expansion file, it doesn't load the resources.. BUT if i manually add the obb file, everything works. I checked the file sizes, they are identical. What could be happening? Apr 20 18:51:06 yes it is Apr 20 18:51:29 http://pastebin.com/uSBjHpPD Apr 20 18:52:58 skin1980 , you need to get the LayoutParams of the button, modify some gravity field, and button.setLayoutParams(modifiedParams) Apr 20 18:53:34 skin1980: why do you set it ActionBar.LayoutParams? Apr 20 18:54:03 I tryed several way... it was linearlayout Apr 20 18:54:12 then i missed to change it Apr 20 18:54:59 so if i sue this ((LinearLayout.LayourParams)button.getLayoutParams()).gravity = Gravity.RIGHT i change the layout_gravity and not the gravity right? Apr 20 18:55:14 Ashiren: thats correct= Apr 20 18:55:16 ? Apr 20 18:55:28 and thanks also to besokare Apr 20 18:56:14 yes Apr 20 18:56:17 skin1980: or http://pastebin.com/dH6Lw94B Apr 20 18:56:45 ops not ActionBar but LinearLayout.. Apr 20 18:59:03 Ashiren: the issue is that all the buttons use the same layout Apr 20 18:59:17 not 1 right and 1 left Apr 20 18:59:18 Star ratings are so bad. Apr 20 19:00:08 Ashiren: http://pastebin.com/D4TFYfEZ Apr 20 19:00:19 i suppose you mean in this way Apr 20 19:00:35 but like i said all the button is on the same side Apr 20 19:01:46 dunno then Apr 20 19:04:35 what's the best way to unit test an observable that goes off the main thread? especially if I want to verify that the job is performed on another thread? Apr 20 19:06:07 I'm using RxJava+Retrofit in my app, and I want to make a request, save its response to SQLite using content provider, then make a new call and save its data as well. How can I do this cleanly? Apr 20 19:07:16 Ashiren: tnx anyway Apr 20 19:11:13 joshkovach, that's usually the wrong thing to test :/ Apr 20 19:11:42 Kinda the point of Rx is that you can test async observables in blocking manner. Apr 20 19:12:35 Mavrik: fair enough. using a TestSubscriber with toBlocking seems to hang. the mock service is getting called, but it just hangs after the return Apr 20 19:12:47 not sure what I might be doing wrong... Apr 20 19:12:58 hmm Apr 20 19:13:10 Did you try pausing the threads and seeing which one is stuck? Apr 20 19:16:53 Hi Apr 20 19:17:18 Will anyone able to help me why whenever a new client connects it will add the new client to the same row as the previous client in listview instead of going to its own row? http://pastie.org/10805707 Apr 20 19:17:49 I have a tabbed layout with 3 tabs with swipes. I have put a custom listview in it. Everything works properly except that the listview cuts the last item in the app :( Apr 20 19:18:07 I tried searching on stackoverflow but none of the answers solved the problem. Apr 20 19:18:21 This is my custom list view: http://pastebin.com/dNdaAbS2 Apr 20 19:18:25 Mavrik: I have no idea how to pause a thread... Apr 20 19:18:47 This is my first fragment (which contains the listView): http://pastebin.com/fhwE2ZLY Apr 20 19:19:39 joshkovach: Thread.sleep Apr 20 19:20:19 Can anyone please tell me which attribute in the xml have I put wrong? Apr 20 19:21:13 android:layout_width="wrap_content" Apr 20 19:21:13 android:layout_height="wrap_content"? Apr 20 19:21:15 Why? Apr 20 19:21:23 rudolf_: ^ Apr 20 19:21:37 Surely a listview would want to match_parent both Apr 20 19:22:00 Umm...yeah. Lemme try that. Apr 20 19:23:01 tilal6991: Still the same. Last element cut. Apr 20 19:23:27 It works if I give a padding but it does not look good at all. Apr 20 19:23:31 Uhhhh why is your item match_parent for height? Apr 20 19:23:38 Surely should be wrap_content? Apr 20 19:24:01 android:layout_toRightOf="@+id/textView2" Apr 20 19:24:07 That has no affect in a linear layout Apr 20 19:25:12 Forgot to remove it...done. But still the same. Apr 20 19:25:37 Huh Idk then Apr 20 19:25:46 I think it might be to do with your activity view Apr 20 19:25:52 You have all of that in a fragment right? Apr 20 19:25:59 Yes Apr 20 19:26:14 Wait...lemme show you the activity. Apr 20 19:26:49 http://pastebin.com/yfMiZ2v5 Apr 20 19:26:54 This is the activity. Apr 20 19:27:26 And I did not do any changes in this. This is the default one, created by studio itself. Apr 20 19:27:47 I directly used it. Apr 20 19:28:18 Huh I'm stumped Apr 20 19:28:34 Can you show a screenshot of what you mean when you say the bottom is cut off? Apr 20 19:28:46 Sure...wait Apr 20 19:29:36 http://stackoverflow.com/questions/32811121/listview-nested-scrolling-on-api21 Apr 20 19:29:37 Boom Apr 20 19:29:51 You really should switch to recyclerview if you're using coordinatorlayout Apr 20 19:30:03 ListView doesn't support nested scrolling on <21 Apr 20 19:30:08 Btw, does anyone know why Google's Android translation went to shit in German? Apr 20 19:30:14 tilal6991: http://imgur.com/1XnmFrU Apr 20 19:30:19 If you only want 21+ android:nestedScrollingEnabled="true" Apr 20 19:30:25 Random words in singular instead of plural, Apr 20 19:30:33 Yeah that link should explain everything Apr 20 19:30:40 Other words randomly changed leading to chaos in the order in the Launcher, Apr 20 19:30:42 Etc. Apr 20 19:31:10 Ok...lemme read it, Apr 20 19:31:37 isnt it that normal for german? Apr 20 19:31:39 * Ashiren hides Apr 20 19:33:18 tilal6991: Finally...it works. Thanks so much. Apr 20 19:33:26 You're welcome :) Apr 20 19:33:37 I really really really recommend recyclerview tho Apr 20 19:33:37 For now I have just enabled nested scrolling. Apr 20 19:33:40 You're missing out Apr 20 19:33:47 What? Apr 20 19:34:04 It's a much better component than listview Apr 20 19:34:15 http://developer.android.com/reference/android/support/v7/widget/RecyclerView.html Apr 20 19:34:24 I have never implemented it. I will read it and try it out :) Apr 20 19:34:33 http://stackoverflow.com/questions/28392554/should-we-use-recyclerview-to-replace-listview Apr 20 19:34:42 Btw how did you figure out that the problem is related to nested scrolling? Apr 20 19:35:22 Oh I've done Android enough to get an intuition of what might be the problem :P Apr 20 19:35:35 I saw that you were using a coordinator layout + view pager Apr 20 19:35:53 And then I remembered that list views have problems with it Apr 20 19:36:03 Googled that and that was the first link to come up :) Apr 20 19:36:24 Ok :D Apr 20 19:36:36 I will try recyclerView then. Apr 20 19:36:47 tilal6991: is this intentional? on Android M, with an SD-Card in FAT32-mode, MTP refuses to show any folders Apr 20 19:37:01 same in ext4-integrated-mode Apr 20 19:37:04 justJanne: not that I know of Apr 20 19:37:09 MTP shows "no folders on card" Apr 20 19:37:12 MTP works fine for me on my device Apr 20 19:37:16 but card in PC works fine Apr 20 19:37:24 Is a moto g google play edition Apr 20 19:38:00 Hmmm no idea - might be a bug Apr 20 19:39:11 Yeah just checked I see the SD card over MTP Apr 20 20:05:26 hi Apr 20 20:05:44 trying to compile AOSP Apr 20 20:05:44 frameworks/base/core/java/android/app/ContextImpl.java:2223: error 110: Method android.app.ContextImpl.getDisplayAdjustments returns unavailable type DisplayAdjustments Apr 20 20:05:51 do you know why ? Apr 20 20:19:08 Anybody built a CardBoard app? Apr 20 20:19:35 I'm trying to see if its possible to have a 3d scene and make the camera speed up/slow down inside the scene Apr 20 20:20:58 orbyt_: i think you can use unity engine. i tried once but hadnt enough spare time. Apr 20 20:21:35 Yes theres an SDK for Unity Apr 20 20:21:44 ech0s7_: wrong channel - try android-root - however, I do know how to compile AOSP so might as well help you. What device are you building for? Apr 20 20:22:59 no, keep it on android-root Apr 20 20:23:13 Lol Apr 20 20:32:52 is it possible to know for instance what type of phones android 4.2 runs on Apr 20 20:32:59 ? Apr 20 20:33:55 various Apr 20 20:34:07 lol Apr 20 20:34:11 like this: http://developer.android.com/about/dashboards/index.html Apr 20 20:34:20 you only can google the list of phones and their OS versions Apr 20 20:34:53 yes Apr 20 20:34:59 Is it true that you cannot swap modules inside of subcomponents for tests with dagger 2? Apr 20 20:35:00 in that link Apr 20 20:35:01 i dont know if there is fancy database of phones in which you can filter on OS Apr 20 20:35:12 I provide Apr 20 20:40:01 does junit instantiate an instance of the Test class for each test method it calls? Apr 20 20:40:40 joshkovach: yes Apr 20 20:40:48 joshkovach: no Apr 20 20:40:53 To prevent contamination Apr 20 20:40:59 Pyuruku: pretty sure it does ... Apr 20 20:40:59 this is why @Before and @After exist Apr 20 20:41:19 http://www.coderanch.com/t/504949/Testing/JUnit-create-instance-class-time Apr 20 20:41:23 http://martinfowler.com/bliki/JunitNewInstance.html Apr 20 20:42:15 Interesting... some android test framework doesn't then Apr 20 20:48:50 awesome, that's a real eye opener Apr 20 20:53:55 Does anyone here use dagger 2 with tests? Apr 20 20:54:24 I do for espresso tests Apr 20 20:54:33 do you use subcomponents? Apr 20 20:54:50 no, not yet at least Apr 20 20:55:01 :| Apr 20 20:55:19 Hello everyone, I am after a back-end developer to join our small communications startup as a partner. http://gettalkee.com/ if interested, please do pm and I am more than happy to give more information. Thank you. Apr 20 20:58:14 starz: “No bots, and no advertising please, jobs or otherwise” Apr 20 20:59:18 my apologies, i met my front-end dev here, I know its a solid community that is the reason why I am back. Apr 20 21:05:40 read the topic Apr 20 21:09:17 Does anyone here use dagger 2 with subcomponents? Apr 20 21:20:40 is there a sanctioned MDM solution for android (like there is for Apple) that eases secure management of remotely deployed android devices? Apr 20 21:25:30 I’ve heard there are a few MDM solutions for android Apr 20 21:25:46 although this isn’t the place to ask about it, I’m afraid. Apr 20 21:33:57 airwatch, and yes, not the place Apr 20 21:40:00 hi guys, does anyone have knowledge of webrtc? Apr 20 22:19:31 s73v3r: pfn: is there such a place? Apr 20 22:19:38 I've seen people make those apps you may find annoying where a person is viewing something on the phone, then they get a scare, and the app took their picture at that moment, is it possible to record video too in this manner? no i won't be makin one of them I'm just curious lol Apr 20 22:19:53 i don’t see why not Apr 20 22:20:02 I’ve also never heard of those apps Apr 20 22:20:17 hahahaha Apr 20 22:20:29 however, you’d have the light on, which might cue the person in that they’re being recorded Apr 20 22:20:42 wait so a light always comes on when the camera is in use? Apr 20 22:21:06 yup Apr 20 22:21:07 maguire: depends on the device, typically no Apr 20 22:22:55 does anyone know for sure if you can record a video without having any kind of preview or live footage being displayed on your phone at the time Apr 20 22:23:20 Well you need a preview present, doesnt mean it needs to be viewable though Apr 20 22:23:30 ahh Apr 20 22:23:38 I'm doing what you're asking, I just offset the preview off the screen Apr 20 22:23:39 sounds promising Apr 20 22:25:41 oh one more annoying question, i'm guessing being able to record a video while hiding the app in the background is a bit of a stretch, i'm assuming this won't be possible Apr 20 22:29:44 it really shouldn’t be Apr 20 22:30:11 i mean, if that was possible, there’d be no reason why unscrupulous apps would record everything while in the background and use it for nefarious purposes Apr 20 22:30:14 justJanne: http://www.androidpolice.com/2016/04/20/the-one-part-of-the-eus-antitrust-suit-against-android-i-can-actually-agree-with-opinion/ Apr 20 22:30:22 Further discussion :) Apr 20 22:33:18 hi Apr 20 22:35:29 i am new to android development, i just need an answer to a simple question :) if i base an app on WebView (using existing website as the app) is it possible to pass some properties from other services to that webview? For example i need LocationListener and i need coordinates in that WebView (the website) Apr 20 22:37:17 can anybody help me? :) Apr 20 22:37:26 pavstev: http://developer.android.com/reference/android/webkit/WebView.html#addJavascriptInterface%28java.lang.Object,%20java.lang.String%29 Apr 20 22:38:41 Friendly advice: please don't build an app which is just a website packaged up though Apr 20 22:38:52 It's terrible UX Apr 20 22:40:01 yeah that was my next question Apr 20 22:40:23 can you give me more details on why is it bad UX? Apr 20 22:40:44 Well the point is why? Apr 20 22:40:52 If you're just going to make a web app make one Apr 20 22:41:00 But don't just package it up like a native app Apr 20 22:41:09 maguire I'm not 100% sure but I think you may be able to run the camera off a service. So you could overlay a preview off screen, but you would need the "draw over other apps" permission Apr 20 22:41:14 Because users will expect a native experience and you're not giving them that Apr 20 22:41:40 yeah... actually i am fluent in php and web apps Apr 20 22:41:43 Use Chrome's add to homescreen feature + web app hooks to make it a webapp btw Apr 20 22:42:08 There are a lot of ways which you can make a web app seem like it is installed on the device without making a native wrapper Apr 20 22:42:17 and i need to make an android app now and i thought i could do it that way Apr 20 22:42:31 hmmm Apr 20 22:43:27 so those other ways can still provide the feel for users that they are using an app and not a website? :) Apr 20 22:43:43 camera2 lets you record without a visible preview Apr 20 22:43:52 Yes but then you don't fake being a native app when you are not Apr 20 22:44:10 https://developer.chrome.com/multidevice/android/installtohomescreen Apr 20 22:44:12 hmm i don't get it Apr 20 22:44:20 https://developers.google.com/web/updates/2014/11/Support-for-installable-web-apps-with-webapp-manifest-in-chrome-38-for-Android?hl=en Apr 20 22:44:27 https://developers.google.com/web/updates/2015/10/splashscreen?hl=en Apr 20 22:45:01 so it's like redirection to Chrome? (and opening http request in it) Apr 20 22:45:19 I'm not sure what you don't get - I'm just saying don't trick your users and fake being a native experience when you are just packaging up a web app Apr 20 22:45:37 It's a special mode of chrome where basically there is no URL bar - your website fills the content view Apr 20 22:45:58 Look at the gif in the last link for what I mean Apr 20 22:46:05 aha i get it now Apr 20 22:46:58 hmm so basically it will look like an app, and there won't be any sign that they are using Chrome? Apr 20 22:47:21 No but they would have "installed" the app originally through Chrome Apr 20 22:48:13 ah Apr 20 22:49:04 i think i'll just need to learn how to fully code a native app... Apr 20 22:49:22 That is another option :) Apr 20 22:50:10 thanks for helping :) Apr 20 22:50:23 Any time Apr 20 23:18:37 what should i use for communication with (SQL) database in Android Studio? Apr 20 23:18:50 is there any kind of ORM? Apr 20 23:23:04 pavstev: there is not right answer to that question Apr 20 23:23:10 There are literally hundreds of them Apr 20 23:23:16 * no right Apr 20 23:23:43 do you have any suggestions on which one i should get? Apr 20 23:24:01 Alternatively there is also Realm which is a NoSQL alternative which people suggest Apr 20 23:24:13 Uhhhh I don't have experience with any of them reall Apr 20 23:24:16 * really Apr 20 23:24:23 I just use SQLBrite and raw SQL :P Apr 20 23:24:26 what are you using? Apr 20 23:24:30 aha Apr 20 23:25:04 so ORM is not standard for db connections in android development? Apr 20 23:25:18 Oh it is Apr 20 23:25:18 or it's just you who don't like it? Apr 20 23:25:26 I'm just not fond of it :D Apr 20 23:25:34 ah :D Apr 20 23:25:34 Also noticed https://github.com/square/sqldelight Apr 20 23:25:46 Square has a record of making top-notch libraries Apr 20 23:26:16 Seems pretty lightweight and like the feel of the api too Apr 20 23:26:38 Not quite ORM but not massively far away as raw SQL Apr 20 23:27:01 no R Apr 20 23:27:02 it's an OM Apr 20 23:27:16 i'll need some heavy relation handling Apr 20 23:27:34 every ORM is ruined by trying to model relations in Java Apr 20 23:27:42 they're all garbage, even the server ones Apr 20 23:27:52 ^ totally agree with that which is why I've stuck with SQL Apr 20 23:27:52 huh Apr 20 23:28:05 so what do you suggest guys? Apr 20 23:28:17 As I've said there is no right answer Apr 20 23:28:27 You will need to look at what you need and figure out what fits for your app Apr 20 23:28:40 yeah it depends on what you want to do. if your model is simple enough an ORM will work fine and be super convenient Apr 20 23:30:28 well i am making a mix of matching users by their location in private chats, creating public events, something like dating app, lot's of categories and stuff... messy... i will have a pretty complex db structure Apr 20 23:30:58 and i am new to android Apr 20 23:31:01 so :( Apr 20 23:32:33 :/ unfortunate but it's worth spending some time figuring out your requirements and choosing something which fits rather than paying for it by making a quick bad decision now Apr 20 23:32:50 It's going to be a pretty integral part of your application considering what you say Apr 20 23:34:29 yeah Apr 20 23:34:34 thanks anyway Apr 20 23:34:51 so you always suggest using plain SQL instead of ORM Apr 20 23:34:53 ? Apr 20 23:35:14 Well personally I don't like ORMs past the small examples they come with Apr 20 23:35:18 They don't scale well Apr 20 23:35:24 But ymmv Apr 20 23:36:07 pavstev http://blog.codinghorror.com/object-relational-mapping-is-the-vietnam-of-computer-science/ Apr 20 23:36:57 in web apps, it's really a must, it's nonsence working without it so I can't even imagine what it would look like Apr 20 23:37:39 i'd be happy with something like jooq Apr 20 23:39:03 is this article related to java or android? Apr 20 23:39:29 its related to ORMs :F Apr 20 23:39:56 ah Apr 20 23:41:02 what about frameworks? what do you think about them? Apr 20 23:41:20 i prefer small composeable libraries Apr 20 23:41:42 but thats just my opinion Apr 20 23:42:03 pavstev: with what you're saying I would consider Realm as an option Apr 20 23:42:11 It seems to be reasonably suited Apr 20 23:42:30 anyone know how healthy that company is ? Apr 20 23:42:54 its the season for shit to drop dead, like robovm Apr 20 23:43:23 hehe Apr 20 23:43:26 thanks tilal6991 Apr 20 23:43:37 and others too Apr 20 23:43:56 i will take a look at it Apr 20 23:44:23 i am in serious trouble, it's all new for me... Apr 20 23:46:44 cya guys Apr 20 23:46:47 bye Apr 20 23:46:51 and thanks Apr 20 23:47:13 good luck Apr 20 23:47:34 GL and cya Apr 20 23:48:32 imagine realm guys went out of business, and you had to write migration code from that to sqlite - that would /suck/ ! Apr 20 23:49:13 * g00s has hard enough time writing sqlite to sqlite migration code :P Apr 20 23:49:22 Yeah that would be pretty damn awful Apr 20 23:49:29 Worst part would be the automatic updates Apr 20 23:49:49 You'd need to migrate to sqlbrite or the like and plumb everything through Apr 20 23:50:12 I'm nearing the completion of a 168 file refactor, feels good man Apr 20 23:50:25 Hope you're not going to make that one commit :P Apr 20 23:50:41 of course Apr 20 23:50:44 :D Apr 20 23:50:47 yolo ! Apr 20 23:50:52 yoco Apr 20 23:51:02 Code review (if you're doing that in a company) would be killer Apr 20 23:51:11 I had a hard enough time with 20 file refactors Apr 20 23:51:17 Had to get approval from like 5 owners Apr 20 23:51:38 it is at a company, working with a coworker on this, we've been reviewing each chunk of work Apr 20 23:52:17 Fun times Apr 20 23:52:41 TBH when I was doing mine the main pain was waiting for west coast to wake up Apr 20 23:52:45 When I was in London Apr 20 23:52:53 Most productive work was done at 7-9pm lol Apr 20 23:56:56 this is kinda cool http://www.gizmag.com/pictar-phone-camera-dock/42923/ Apr 20 23:57:19 wonder if there are any of these, thats a decent camera in itself, but then docks your phone for the brains / UI Apr 20 23:57:20 "Interestingly, the phone communicates with the device using inaudible high-frequency audio signals. The technology reportedly uses less power than Bluetooth. Apr 20 23:57:20 " Apr 20 23:57:23 Wow Apr 20 23:57:29 That's pretty cool Apr 21 00:08:12 isn't realm opensource? even if they went out of business... Apr 21 00:08:15 * pfn shrugs Apr 21 00:08:20 too much worry, not enough do Apr 21 00:10:32 it doesn’t seem like realm is open source Apr 21 00:11:04 Realm is open on Java Apr 21 00:11:11 they have an open source library for ios and android, but I don’t know if it has their secret db engine Apr 21 00:11:16 https://github.com/realm/realm-java Apr 21 00:11:32 I've never looked at them nor considered them Apr 21 00:11:36 yes, i’m looking at that now. Can I see their database engine? Apr 21 00:14:57 s73v3r: well it has a bytecode transformer and gradle plugin so I think it's all there lol Apr 21 00:15:33 they have some NDK stuff there too. I looked at the iOS repo, and it looks like they implement that from scratch on there? As in they don’t share the code between the two? Apr 21 00:16:10 I think each of their versions is from scratch Apr 21 00:16:17 Each of their products that is Apr 21 00:16:25 They share nothing more than a name, design and API Apr 21 00:16:32 i.e. no code Apr 21 00:16:41 that seems prone to error Apr 21 00:17:02 unless they specifically want to take different approaches on each platform Apr 21 00:19:33 Yes that is for sure a recipie for bugs Apr 21 00:19:49 But I guess there's no easy way to share code between iOS Android and JS Apr 21 00:20:03 Apart from writing everything in JS and making it for web apps only lol Apr 21 00:20:34 their website says only iOS and Android. Apr 21 00:20:44 writing stuff in C++ makes stuff easy to share Apr 21 00:20:46 and OS X, I guess Apr 21 00:20:51 DB engine is in C++ Apr 21 00:21:14 https://realm.io/docs/react-native/latest/ Apr 21 00:21:44 that’s react native, though. They just need to provide a JS wrapper for the iOS or Android lib Apr 21 00:22:02 i doubt they have a version of the db written in JS Apr 21 00:22:19 Huh is that how react native works? Apr 21 00:22:20 Fun Apr 21 00:22:43 that’s where the “native” part comes from Apr 21 00:22:57 Lol makes sense Apr 21 00:23:11 you write the stuff in JS, but it’s not running in a webview or anything; if you declare a button in React, it’s using the android Button Apr 21 00:23:12 Why aren't all the cool web devs using it instead of Java then? Apr 21 00:23:17 https://github.com/realm/realm-js Apr 21 00:23:35 it’s new, and it’s not exactly ironed out yet Apr 21 00:24:09 Fair enough Apr 21 00:24:41 I’m sure as React itself gets more popular, React Native will get more popular Apr 21 00:26:03 TBH I have been playing with a React Native of sorts Apr 21 00:26:07 Library called Anvil Apr 21 00:26:11 I like the principles Apr 21 00:26:28 I wish javascript would die and was replaced with something sensible Apr 21 00:26:48 people need to stop breathing into its embers Apr 21 00:27:38 TBH I really don't like the mixing of JS and Java Apr 21 00:27:46 Now I have to debug in two different langs Apr 21 00:27:48 That's not fun Apr 21 00:28:20 Zharf: people say the same of Java lol Apr 21 00:28:54 tilal6991, sure, but at least java's well defined Apr 21 00:29:15 ECMAScript 6 defines JS reasonably well right? Apr 21 00:29:29 (sorry playing devil's advocate here :P) Apr 21 00:29:34 :D Apr 21 00:29:47 I don't know, I haven't looked into it yet, fortunately Apr 21 00:29:52 I agree with the sentiment to a large part Apr 21 00:30:05 tilal6991, how do mate Apr 21 00:30:10 surprised they still don't have integers Apr 21 00:30:29 sure i saw tilal6991 g00s here this morning Apr 21 00:30:30 https://www.destroyallsoftware.com/talks/wat I like this Apr 21 00:30:39 What timezones are you guys in? Apr 21 00:30:49 Yeah it's 1:30am here Apr 21 00:30:52 I should really go to bed Apr 21 00:30:55 3:30am.. Apr 21 00:30:58 I should too Apr 21 00:30:59 UK tilal6991 Apr 21 00:31:03 Yup Apr 21 00:32:01 "if i want to fork chormium, how hard is it to rewrite it's user interface? or customize it to get rid of the big fat tabs, and make it look minimalist like dwb with vim key bindings" Apr 21 00:32:09 Just saw this question in #chromium Apr 21 00:32:11 I'm dying Apr 21 00:33:01 ugh, how do I inset the ripplebackground... it's insetting my content Apr 21 00:41:15 tilal6991: how so? you prefer emacs bindings? :) Apr 21 00:42:22 wyoung: lol no Apr 21 00:42:38 :) Apr 21 00:42:43 More at "how much effort would it take" lol Apr 21 00:42:56 Chrome is many many lines of code Apr 21 00:43:09 https://www.quora.com/How-many-lines-of-code-is-Google-Chrome Apr 21 00:43:19 Apparently >4mil lol Apr 21 00:43:33 It's quite hard to get stuff done and not break things Apr 21 00:44:06 OK apparently 9 mil now https://www.openhub.net/p/chrome Apr 21 00:44:13 close to 10 Apr 21 00:44:15 sounds reasonable Apr 21 00:44:24 it's bloated as hell ;) Apr 21 00:44:32 That includes a lot of COS code TBF Apr 21 00:44:57 tilal6991: I reliased that :) my attempt at humour Apr 21 00:45:05 Haha ok Apr 21 00:45:12 Sarcasm and internet lol Apr 21 00:45:22 In any case I should go to bed. Night all Apr 21 00:45:34 tilal6991: nn Apr 21 00:45:58 still 4 hours time left to sleep Apr 21 00:46:03 should probably sleep though Apr 21 00:46:21 wtf is my ripple mask shrinking my content... Apr 21 00:50:14 Zharf: Sleep is overated Apr 21 00:50:59 Zharf: but still, you better get some sleep(14400); Apr 21 00:51:42 or synchronized(zharf) { zharf.wait(14400000); }, what ever Apr 21 01:00:18 http://ezscreens.appspot.com/view/4b9e/ripple+artifact Apr 21 01:00:34 wtf is up with this ripple... it's extending outside the boundary and having some weird rectangular artifact... Apr 21 01:01:07 Somebody please help Apr 21 01:01:15 I'm going mad with this! Apr 21 01:56:38 Hello, I am developing an application for android wear. When I use API other than 6 "Marshmallow", I get resource errors : No resource found that matches the given name: attr 'android:breakStrategy'. Apr 21 01:57:38 by the way I use android studio. Apr 21 02:06:49 ugh. nothing worse than junking 2 days worth of work, except realizing that was indeed the right path forward :( Apr 21 02:10:11 sucker :p Apr 21 02:23:12 git reflow ftw Apr 21 02:23:15 *reflog Apr 21 02:31:40 nested fragments have gotten pretty killer Apr 21 02:31:51 i haven't had any problems at all since 23.3 Apr 21 02:44:28 "Apple, Google workers among top donors to Bernie Sanders campaign" interesting Apr 21 02:47:30 Right now there is only version 1.4.0 of com.google.android.support is installed on my system. how to install lower versions ? Apr 21 02:47:48 wut Apr 21 02:48:04 I want to install lower versions of com.google.android.support Apr 21 02:48:24 your question isn't making any sense Apr 21 02:49:21 g00s: do you what are dependencies ? Apr 21 02:50:00 right now I'm compiling 'com.google.android.support:wearable:1.4.0' Apr 21 02:50:37 and I don't have any other option beside 1.4.0 Apr 21 02:52:38 byt the way "do you know what are dependencies ?" * **** ENDING LOGGING AT Thu Apr 21 02:59:58 2016