**** BEGIN LOGGING AT Fri Nov 06 02:59:58 2015 Nov 06 03:03:22 what's the problem that it solves? Nov 06 03:03:34 (not at all versed in scala) Nov 06 03:04:03 layout dsl and functional side effect tracking Nov 06 03:05:17 pfn is it like anko ? Nov 06 03:05:46 no idea. what anko is Nov 06 03:05:56 lol, the one that came before Nov 06 03:07:39 I guess it solves a similar problem Nov 06 03:08:48 anko only aims to be a dsl, though Nov 06 03:09:39 the partial listener thing is useful though, I'll probably implement that Nov 06 03:10:43 the other interesting thing about iota is it's all macros, so everything is done at compile time Nov 06 03:27:54 pfn: anko if very similar to macroid Nov 06 03:27:59 s/if/is Nov 06 03:31:23 it's similar in that it's a layout dsl, it's not very similar Nov 06 03:38:32 yes, but there's plan for animations also Nov 06 03:43:06 yeah, it's the level of similarity, it's somewhat similar, not very Nov 06 04:33:30 i'm reading the Ceylon language spec, and i'm super impressed. lots of intellect involved here Nov 06 04:34:05 and its a good spec too Nov 06 04:34:20 Yup Nov 06 04:38:00 what kind of language is this ceylon? Nov 06 04:39:21 jim http://ceylon-lang.org/documentation/1.2/spec/html/introduction.html#languageoverview Nov 06 04:41:52 what do people mostly use it for? Nov 06 04:42:37 Anyway to colorize the default Chromecast graphic that shows up in the Menu? Nov 06 04:42:45 I don't think a lot of people use it today but beyond that, it's a programming language so... anything Nov 06 04:42:47 i dont think that many people are using it; but it seems a problem with marketing and Gavin's team not focusing on a specific platform/group like android, server, etc Nov 06 04:43:17 plus they have some catch up with tooling on intellij side Nov 06 04:43:46 and Android too. Pity it took Gavin a while to decide to support it, I warned him about that years ago Nov 06 04:44:03 I see "compiler" in some of those intro docs... so this is a compiled language? Nov 06 04:44:08 CedricBeust yeah, i tried to bring it up hmm 6-12 mos ago or something Nov 06 04:44:09 yup Nov 06 04:45:46 what target language? machine code? asm? c? byte code?any impressions having used it? if so what did you do with it? Nov 06 04:48:40 Multiple backends, bytecode being the primary. Read up the doc, they are very extensive Nov 06 04:49:35 ok, so that means a runtime is needed Nov 06 04:49:46 (at least for that back end) Nov 06 04:50:55 pfn http://pastebin.com/VmGajUKr Why... oh why? Nov 06 04:52:34 also interesting the runtime has existed for a good while now Nov 06 04:56:13 Does anyone know the dependency line to include CastCompanionLibrary? It's not on GradlePlease Nov 06 04:59:27 CedricBeust: btw, was there plan to run kotlin on llvm ? Nov 06 04:59:39 also I guess ceylon modules that were compiled with the java backend are suitable for android use, and can call the existing java classes Nov 06 05:00:04 (forgot until now which channel I find myself) Nov 06 05:00:10 gordon_: Join the slack channel and ask Nov 06 05:01:17 CedricBeust: ok Nov 06 05:09:57 any idea if you can get a ceylon dev kit for linux? debian? Nov 06 05:12:44 jim lol, did you even try googling 'ceylon download' ? http://ceylon-lang.org/download/ Nov 06 05:12:53 look right there, rpm and deb Nov 06 05:15:08 well I had been searching in debian's existing archives; since it's over (?) 2 years old, I figured there may have been some interest among debian maints, so I started there, no luck so far Nov 06 05:15:53 although, i dont really see the need for a package Nov 06 05:16:11 as simple as unzipping archive and and putting a bin/ in path Nov 06 05:16:11 why do you say that? Nov 06 05:16:27 because it's true ;) Nov 06 05:17:57 I was probably checking with him on his opinion Nov 06 05:18:05 guys, I'm using sqlitedatabase.insert and is returning the rowid, but why is then no results if I query the table afterwards? Nov 06 05:19:14 Adyrhan, using the same connection you used when creating the table or inserting into it? Nov 06 05:19:23 Adyrhan new to sqlite + android ? Nov 06 05:19:57 you may want to install stetho so you can interract with the db Nov 06 05:20:14 not new to android, and I have used the SQLite api that comes with android a few times without problems. This is the first time I'm facing the "yup, its inserted, but its not" kinda problem Nov 06 05:20:42 i'm sure its pebkac ;) Nov 06 05:21:19 I've tried to connect via shell and using sqlite3, doing a select also returns no rows Nov 06 05:21:41 I'm going to post the code somewhere Nov 06 05:21:43 Adyrhan did you disable autocommit or something ? Nov 06 05:21:59 hmm not that I'm aware of Nov 06 05:22:04 Adyrhan, show some code that pertains to your usage if you get bored Nov 06 05:22:10 or if in a transaction, forget to call setSuccessful or whatever Nov 06 05:25:09 g00s, I think that was bullseye :) I remember now that setSuccessful and yes I'm using transactions, yet I know I've not writen a call to that method anywhere xD Nov 06 05:27:39 I completely forgot it. Nov 06 05:27:57 Yup, that was it. Thanks g00s. Nov 06 05:28:02 yw Nov 06 05:28:46 I created a file inside /storage/sdcard0/Logs Nov 06 05:29:01 when I try to pull it, Nov 06 05:29:08 it says doesnt exist Nov 06 05:29:23 althought I can see it when I so ‘ls' Nov 06 05:35:44 suhas_sm, Logs seems like a folder name, are you trying to pull the folder? show your command Nov 06 05:35:54 why the hell when creating a new blank activity does android studio 1.4 create 2 layout files, 1 of which has things like a coordlayout already in it? Nov 06 05:36:04 like i wanted a blank activity wtf is this Nov 06 05:36:17 maybe try empty activity Nov 06 05:36:30 adb pull 'log-Fri Nov 06 10:46:18 GMT+05:30 2015.txt' Nov 06 05:36:37 oops Nov 06 05:36:39 lol Nov 06 05:36:45 sorry sorry Nov 06 05:36:53 suhas_sm depending on your command line tool, you may have to add in something for the spaces Nov 06 05:38:04 I forgot to type dir path Nov 06 05:38:04 canvs2321-: thanks, odd they changed the options to that.. Nov 06 05:38:37 orbyt_ did that give you what i wanted? i was just guessing, cause i too hate extra stuff when i just want a blank start :) Nov 06 05:39:29 canvs2321-: well yea b4 AS 1.4 blank activity was just that...a blank activity. Now an empty activity is what a blank activity was, and i guess a blank activity is now an empty activity with a appbar/coordlayout/fab setup -.- Nov 06 05:39:31 if you aren't wanting extra stuff, check gradle too cause appcompat and a few other things get added in Nov 06 05:39:56 yeah, they are trying to make it easier for those who like libraries. i don't :) Nov 06 05:40:19 i'm on 1.5beta, haven't checked the new project stuff yet with that Nov 06 05:40:41 i just remember empty and blank activity choice from 1.5 preview 2 Nov 06 05:40:51 canvs2321-: meh im fine with the option of setting it up for you, but they just named it terribly.... Nov 06 05:41:35 yea, weird choices for sure. atleast for a first time dev to guess what does what Nov 06 05:42:09 otherwise just trial and error and see what what gives ya and remember for future haha Nov 06 05:50:16 CedricBeust did you watch this yet ? https://www.youtube.com/watch?v=AhA-Q7MOre0 Nov 06 05:50:25 "Functional Programming with Kotlin" Nov 06 05:51:34 can android studio build jar files for java-only classes? Nov 06 05:52:33 i want to have a java library project and an android library project that depends on it. isn't that neat? Nov 06 05:54:14 java-only in the sense they're only use standard java packages and classes Nov 06 05:54:22 ll Nov 06 05:56:22 and you want to be able to distribute each, java by itself, and android pointing towards the java? Nov 06 05:56:53 yeah ideally, but they'll have open repositories Nov 06 05:57:09 rdnt: not sure about building jars but you can definitely add your java library as a dependency in Studio Nov 06 05:57:48 it looks like build the jar via command line and let studio manage the car Nov 06 05:57:51 aar Nov 06 05:58:02 fucking mac spell correction Nov 06 06:00:10 so I was banging my head on this all day Nov 06 06:00:25 I changed some strings in res/values/strings.xml Nov 06 06:00:49 but when I ran the app, it always showed the old value Nov 06 06:01:02 tl;dr Nov 06 06:01:04 cleaning the project should fix this right? Nov 06 06:01:36 are you in eclipse? i think i remember eclipse doing that Nov 06 06:01:41 tried uninstalling the app. Unless I am editing the wrong resource file (99% sure I'm not), I'm pretty stumped Nov 06 06:01:53 rdnt: yes! work hasn't moved to android studio yet Nov 06 06:02:07 another hunch I have is ClearCase Nov 06 06:02:08 wrong resource file? you said /res/values/strings.xml Nov 06 06:02:31 do you have other strings.xmls? Nov 06 06:02:34 RustyShackleford, clean and rebuild does it i think. Nov 06 06:02:38 well this project consists of 3 projects, lots of duplicate code so yeah Nov 06 06:03:01 but the problem comes up when there is an error in resources i think Nov 06 06:03:34 yeah eclipse spits out all kinds of errors which coworkers say aren't actually errors Nov 06 06:05:08 CedricBeust, eh, it's pretty reasonable to me, it's all pure function composition Nov 06 06:05:43 CedricBeust, ie flatMap all the things Nov 06 06:07:36 RustyShackleford, find the first error and that is probably all there is. Nov 06 06:09:33 and it looks like I typoed my sample Nov 06 06:09:57 Was going to say that, there's an >=> instead of >>= Nov 06 06:10:07 rdnt: er yeah... the code is kind of a mess Nov 06 06:10:51 I have no idea how they actually build the release apk Nov 06 06:11:00 RustyShackleford, then why come to here? refactor then come back with concrete questions Nov 06 06:11:33 developers have to mock things out, comment things out, and ignore certain files Nov 06 06:12:03 I guess you have a point Nov 06 06:13:55 CedricBeust, not that part, that's kleisli composition Nov 06 06:17:56 >>= takes M[A] and A => M[B] and gives you M[B] Nov 06 06:19:01 >=> takes A => M[B] and B => M[C] and gives you A => M[C] Nov 06 06:19:27 I know I was just messing with you Nov 06 06:20:56 :p Nov 06 06:31:01 man, chrome remote desktop has been so unreliable lately... Nov 06 06:33:44 does android studio have a internal browser like eclipse? Nov 06 06:36:02 no afaik Nov 06 06:36:05 why Nov 06 06:37:01 gordon_: just wanna browsing tutorial without leave workspace, maybe nothing plugin to can do it? Nov 06 06:45:59 hmm Nov 06 06:46:01 dont know Nov 06 06:47:38 Hi all. Nov 06 06:47:58 does anyone know some library for formatting international phone numbers ? Nov 06 06:48:53 I have written a gridView inside a ViewPager with ViewStatepagerAdapter. When I ran the View Hierarchy , I saw that the Viewpager showing 3 red dots Nov 06 06:49:11 Its taking time in the measuring, layout and drawing Nov 06 06:49:35 Can anyone please help in optimizing the Viewpager Nov 06 06:50:20 ? Nov 06 06:51:06 My Viewpager contains gridview showing all application icons Nov 06 06:51:25 Just like launcher horizontal view Nov 06 06:52:24 sunny_slls: show layout Nov 06 06:56:06 http://pastebin.com/59nwz9Em Nov 06 06:56:21 gordon_, this is the item in gridView Nov 06 06:56:25 each item layout Nov 06 06:57:28 what makes you think that is what is wanted? Nov 06 06:58:09 http://pastebin.com/b83jLduM Nov 06 06:58:25 gordon_, this is the gridView and the Viewpager code Nov 06 06:58:29 "When I ran the View Hierarchy , I saw that the Viewpager showing 3 red dots" what do you want that set to? Nov 06 06:59:30 http://pastebin.com/pBiJd19Q . This is the fragment which i am adding to the view pager Nov 06 06:59:46 canvs2321-, it should be green . Nov 06 06:59:57 the "if(viewGroup instanceof" code should be changed, that code is iffy Nov 06 07:00:10 ok Nov 06 07:00:26 what is with the "package com.android.launcher3" stuff... Nov 06 07:00:39 are you just trying to mod existing stuff, or what? Nov 06 07:01:12 if modifying and have 0 android dev work it doesn't sound like something to keep asking questions about here. Nov 06 07:01:42 canvs2321-, oh~! so then which channel should i ask ? Nov 06 07:01:47 a launcher is a more advanced project Nov 06 07:01:54 start smaller Nov 06 07:02:29 ask here, but don't expect to be told line by line on an advanced issue with your having no knowledge of even the basic of workings Nov 06 07:03:22 start with an app that uses PackageManager to retrieve a list of all installed apps and their icons, set the icons for high def Nov 06 07:05:15 android studio can add java library modules now Nov 06 07:05:22 build up your codebase from start. don't go so big as to just import an sdk example and expect to extend it unless you know what you are doing. and by what you are doing is able to diagnose issues with where you are, what you expect, and results you are getting Nov 06 07:05:31 sunny_slls: you really like instanceof, dont you ? Nov 06 07:06:22 gordon_, I know i should not be using it much Nov 06 07:06:50 but is it the reason for slow drawing of views ? Nov 06 07:07:29 the reason is the not knowing of what is going on. so it is just "your perception" that says slow Nov 06 07:07:42 can't question til your know how things work Nov 06 07:07:45 so debug Nov 06 07:07:47 test Nov 06 07:08:15 remove items to just basic singular drawing, then add and test to see who is the problem Nov 06 07:09:55 ok Nov 06 07:12:39 I have animation which changes layout's position/width and it all worked fine until I added listview in the layout which is being animatied. Is there any know reason for this? Found similiar case from SO without any answers: http://stackoverflow.com/questions/22453630/drawing-a-view-through-animation-is-very-slow-because-of-list-view-inside-it Nov 06 07:14:51 what are your timer recordings that show lag. or what is your unhappyness? Nov 06 07:15:08 I mean after adding listview the animation is not smooth any more Nov 06 07:15:29 it just jumps from one X position to another Nov 06 07:15:39 the time the animation takes is the same Nov 06 07:15:48 show some code, and maybe a screencast of the jaggy Nov 06 07:16:00 how are you animating Nov 06 07:16:42 do you have any custom adapters or custom code for your listview that does heavy processing on ui? Nov 06 07:18:10 https://paste.xinu.at/fbSP/ Nov 06 07:18:16 here is the animation Nov 06 07:18:43 if the listview is empty the animation is smooth Nov 06 07:18:58 so then you are doing work with your listview and or adapter Nov 06 07:19:07 what does the listview show? Nov 06 07:19:47 you are updating back to the ui too much to let the animation flow Nov 06 07:20:12 or there are conflicting invalidates that keep forcing an unnatural update ratio Nov 06 07:20:15 here is the adapter: https://paste.xinu.at/pVz5Dv/ Nov 06 07:20:48 the layout which is being inflated is just a textview and the data is List Nov 06 07:20:49 listview data is static then? Nov 06 07:21:21 yes, once is it loaded (which is before the animation is started) Nov 06 07:21:28 how many items are visible ? Nov 06 07:22:07 put a Log.d("","") in the getView, see how many times it is called during animation Nov 06 07:22:14 fill the "" with tags Nov 06 07:22:14 4 to 5 Nov 06 07:22:20 that's it? Nov 06 07:22:51 i'd say try to debug how often the listview is getting invalidated to draw during animation Nov 06 07:23:00 4 to 5 views visible when the views is animated but it helds 10 to 20 total Nov 06 07:23:12 okay, I'll do that next Nov 06 07:23:55 yea, come back after. because if listview is empty and animation smooth, then adding items to list and then laggy then check unneeded work Nov 06 07:24:11 maybe set listview to 1 item and animate etc... Nov 06 07:30:05 getView on the adapter gets called 77 times Nov 06 07:35:19 guys, i am facing a challenge of creating a mobile app for android and windows - so looking at a framework where i can write once and deploy multiple... and selected phonegap - buts its been rejected saying that it wil have a performance hit Nov 06 07:35:32 compared to native dev Nov 06 07:35:48 vompatti, that seem a bit high to ya? :) Nov 06 07:36:05 so the question now is, is there a write once deply many framework which works as close as native in terms of performance ? Nov 06 07:36:27 canvs2321-: do you know if there is a way to disable view inflating in listview? Nov 06 07:36:27 vompatti, solve the issue of parent layout being resized and having the listview not react to all that noise Nov 06 07:37:30 tamarind what does the app have to do ? Nov 06 07:37:32 well, that sounds much easier - thanks Nov 06 07:39:31 g00s: have to display a dashboard of some functions such as accelorometer, barking speed etc.. and involves voice as well Nov 06 07:39:56 barking speed :) Nov 06 07:40:31 g00s: sorry braking speed Nov 06 07:41:49 if it was a crud app maybe react or whatever, but if you are using sensors / etc i'd say best to go native Nov 06 07:41:54 g00s: and forgot to say that it has to continously update its position from GPS co-ordinates Nov 06 07:43:08 sounds like someone's paying you to do it, if they want 2 native apps, then charge accordingly and it's not a problem Nov 06 07:43:09 g00s: not even a slim chance to have "close" to native performance with frameworks ?.. sorry for emphasising it again, but then when i think about writing for android and windows seperately ! Nov 06 07:43:25 alex_PP: but the time ! Nov 06 07:43:43 tamarind: itll prob take longer if you try hybrid tbh Nov 06 07:43:44 time is the key factor here which forces me to think about write once and deploy many Nov 06 07:43:53 orbyt_: oh ! Nov 06 07:44:01 quality, price, speed - choose two Nov 06 07:44:29 orbyt_: you mean the hybrid native app or the framework ? Nov 06 07:44:47 tamarind: "hybrid native app" <-- what? Nov 06 07:45:09 alex_PP: i completely agree.. but how do you explain that to a manager who wants all three Nov 06 07:45:40 well, explain it all in writing and when the project's a disaster hope it can't be pinned on you Nov 06 07:45:41 three now ? Nov 06 07:45:55 lmao^^ Nov 06 07:46:00 g00s: all three, quality, speed, price Nov 06 07:46:26 orbyt_: i meant the one using the WebView API's compared to the frameworks which converts your code into native application code Nov 06 07:46:36 orbyt_: sorry if i have erred Nov 06 07:47:26 tamarind, how long do you have? how much experience do you have? Nov 06 07:47:30 tamarind: this has got to be the single most asked question on mobile dev Nov 06 07:47:34 alex_PP: so you are saying warn them in writing but proceed if they still insist ? Nov 06 07:47:48 even that you know that its going to fail ? Nov 06 07:48:01 tamarind, that would be my approach, but I have very little patience for office politics Nov 06 07:48:58 I would assume you're going to do some time estimation? send that and they'll see that x days is greater than y days Nov 06 07:49:13 they can't ask you to perform the impossible Nov 06 07:49:15 alex_PP: have ~10 weeks or so Nov 06 07:49:23 and if they do, and you fail, its not your fault Nov 06 07:49:29 got to start from scratch Nov 06 07:49:45 orbyt_: sorry about that Nov 06 07:49:49 shouldn't have asked that, the time isn't important really to this problem Nov 06 07:51:00 tamarind have you developed for android or windows mobile ? Nov 06 07:51:21 g00s: android have started but windows no Nov 06 07:53:15 good luck tamarind ;) Nov 06 07:53:24 g00s: thank you Nov 06 07:53:27 !logs Nov 06 07:53:29 .logs Nov 06 07:53:33 ,logs Nov 06 07:56:33 tamarind just saw this https://news.ycombinator.com/item?id=10518033 Nov 06 07:57:21 sorry, got disconnected, I suspect I need to pay my bill Nov 06 07:58:31 Flutter is designed to run on Android KitKat (or newer), and iOS 5 (or newer) Nov 06 08:00:26 alex_PP just posted https://news.ycombinator.com/item?id=10518033 Nov 06 08:01:18 tamarind oh sorry, ios and android only :D Nov 06 08:01:27 which is the same with react i think Nov 06 08:01:49 eh Nov 06 08:01:54 why not llvm Nov 06 08:02:18 but maybe dart compiles to native Nov 06 08:02:30 but it reminds me of polymer Nov 06 08:04:24 http://flutter.io/faq/#how-big-is-the-flutter-engine Nov 06 08:04:26 que!? Nov 06 08:05:17 :D Nov 06 08:05:34 no worries, facebook is 45 Nov 06 08:06:12 I hope I never have to use flutter Nov 06 08:08:11 Zharf you can't use Java 6.5 forever! Nov 06 08:08:23 I hope you wont Nov 06 08:08:24 ;) Nov 06 08:08:38 g00s, watch me! Nov 06 08:09:24 but then, I really don't want to be doing mobile crap for much longer anyway Nov 06 08:09:39 but doing something else would pretty much require moving out of the country Nov 06 08:09:48 I just wish to use the language, where I dont need to use all those support libraires, to make java8 work on android Nov 06 08:09:56 and which compiles fast Nov 06 08:10:23 something tells me, that I will die rather than it will come true Nov 06 08:12:52 Zharf yeah getting tired of mobile too Nov 06 08:15:39 i think desktop and mobile will converge, MS is first to be there with Continuum Nov 06 08:16:15 ubuntu! Nov 06 08:16:24 I'd be happy with gamedev or backend dev Nov 06 08:17:12 dont know why but for me gamedev seems like a lot of over working hours Nov 06 08:17:39 g00s: "i think desktop and mobile will converge" <--um, arent those opposites though...? Nov 06 08:17:50 what do you mean they'll converge Nov 06 08:18:17 orbyt_ have you seen Continuum ? Nov 06 08:18:28 just googled it but other than that no Nov 06 08:18:44 well, watch a recent demo Nov 06 08:18:44 g00s: no, post a link Nov 06 08:20:48 yeah, it's basicly the same thing which canonical's done with ubuntu phone Nov 06 08:21:12 except it works Nov 06 08:21:15 its literally just allowing you to use your phones apps on desktop... Nov 06 08:21:25 orbyt_ no, they aren't phone apps Nov 06 08:21:32 they are desktop apps (universal apps) Nov 06 08:21:43 thats why the 950 has liquid cooling :) Nov 06 08:22:30 g00s: ubuntu works too Nov 06 08:22:40 ah, so what you meant was you think theres gonig to be an emergence of "universal apps" Nov 06 08:22:48 @ g00s ^ Nov 06 08:23:21 that would be cool Nov 06 08:24:21 from what i remember about ubuntu touch, it was supposed to be like continuum but they abandoned the most ambitious parts of it Nov 06 08:26:46 most importantly, MS has invested a lot of time and work in order to create common platform between Desktop and Mobile without requiring you to compile for each platform separately... Nov 06 08:27:47 I wonder though how the design of small to very large screens will be handled with those apps Nov 06 08:28:30 g00s: https://www.youtube.com/watch?v=yJO5Q8P4hks Nov 06 08:28:46 orbyt_: afaik WPF allows for design similar to android's automatic layout selection Nov 06 08:29:01 but I haven't looked deep into universal apps yet Nov 06 08:31:25 p_l what do you think of the android + chromeOS merging rumors ? Nov 06 08:32:07 g00s: someone forgot the demo from previous Google I/O? Nov 06 08:32:30 then wrote in hazy alcoholic mist the limited recall he had of it? Nov 06 08:32:34 i probably forgot anything related to chromeOS :) Nov 06 08:33:01 they had demoed android + chromeos integration... *between devices* instead of merging OSes Nov 06 08:33:09 ARC is part of it Nov 06 08:34:30 p_l do you think this will change how we do android apps ? Nov 06 08:35:28 not really, it wasn't even doing anything to change layouts iirc Nov 06 08:35:31 at least not in the demo Nov 06 08:35:33 p_l: for now it's integration, but it will merge I think Nov 06 08:35:47 gordon_: doubtful, IMO Nov 06 08:35:54 significantly different architectures Nov 06 08:36:15 so maybe android will get some desktop UX Nov 06 08:37:07 g00s: np, thanks for the time Nov 06 09:12:22 hi, where do I find the external storage folder in the Android emulator/ Nov 06 09:12:24 ? Nov 06 09:12:38 *for the Android emulator Nov 06 09:12:45 I want to populate it with images.. Nov 06 09:17:43 the drawable folder? Nov 06 09:26:10 hello people, whats the best mobile application management tool ? Nov 06 09:26:13 it is not the drawable folder, which is app specific.. Nov 06 09:26:18 i am looking at maas360 but costs heavy Nov 06 09:26:23 anything cheaper ? Nov 06 09:26:57 kony management? Nov 06 09:27:10 though I dont think this is the right channel for this question Nov 06 09:27:41 amincd I think you can just drag and drop files to your emulator to save them locally, not really sure though. Nov 06 09:28:53 jvrodrigues: just drag them and drop them in any activity of the emulator? Nov 06 09:29:04 works with genymotion Nov 06 09:29:11 so idk Nov 06 09:34:00 is Android M UI kit (mocks) available somewhere ? Nov 06 09:35:00 Hello, World! Nov 06 09:36:20 hey does anyone use the latest canari AS, and if so can you tell me if you can see your app in the logcat window (I see "No Debuggable Applications") ? Nov 06 09:40:21 it used to work fine so I'm guessing it's a regression with that update... Nov 06 09:42:52 BoD: go to Tools->Android->Enable ADB Nov 06 09:42:54 is that checked? Nov 06 09:43:29 BoD: what does adb devices tell you? Nov 06 09:43:46 do you have android device monitor turned on? Nov 06 09:43:55 can anyone route me, how can I set up a gstreamer based player in kitkat 4.4.2 Nov 06 09:44:20 why does "float third = 1/3" and "double third = 1/3" return 0.0 ? Nov 06 09:44:37 vegetablesalad19: because they are integers Nov 06 09:44:51 try "float third = 1l/3l" Nov 06 09:45:07 In anyone's wondering, this is how you push files into your Android Virtual Device's SD Card: https://www.youtube.com/watch?v=BDackt6yYHI Nov 06 09:45:12 *In case Nov 06 09:46:24 orbyt_: yes it is checked Nov 06 09:46:49 jvrodrigues: adb devices sees my device. In fact logcat works in AS, it's just the filtering by app that doesn't Nov 06 09:47:09 is your app running in debug mode/ Nov 06 09:47:15 jvrodrigues: yes :) Nov 06 09:47:33 is the app running? Nov 06 09:47:34 if you create a custom filter with your app package, can you see its logs? Nov 06 09:47:44 also if I use genymotion, lots of apps are debuggable there, and I used to see all of them in this combobox Nov 06 09:47:54 but now I see No Debuggable Applications in red Nov 06 09:48:05 orbyt_: yes Nov 06 09:48:46 so I'm guessing you guys don't have this problem (can you confirm you're using AS 1.5 beta) Nov 06 09:49:17 I use the stable build (I'm not insane) Nov 06 09:49:31 jvrodrigues: yes if I make my own filter, it works Nov 06 09:49:54 then its most likely an AS issue Nov 06 09:50:17 nobody's using the beta here? Nov 06 09:50:39 I guess I'll just file a bug :) Nov 06 09:52:44 jvrodrigues, is this just a Android thing, don't remember this from little Java I have done Nov 06 09:53:50 its a java thing yea :) 1 - integer, 1l - float, 1d - double Nov 06 09:54:20 disregard that actually, 1l is long, 1f is float Nov 06 09:54:25 :( Nov 06 09:54:29 not enough coffee today Nov 06 09:54:49 l or L Nov 06 09:56:32 I've created a jniLibs folder in my android studio project on the same level as my java folder. I loaded the library but when I run the project I get a java.lang.UnsatisfiedLinkError that the .so file cannot be founded. Anyone an idea? Nov 06 09:59:10 "UnsatisfiedLinkError" - I think this was the exception all my past relatoinships threw Nov 06 09:59:59 lol :D Nov 06 10:00:39 So let me know if you find a fix for it! Nov 06 10:11:56 hi when using a an preference header, is it possible to include a checkbox preference instead of a fragment or it is mandatory to create a fragment and somehow not display it Nov 06 10:15:45 jvrodrigues found the problem. By convention the lib prefix is added so I had to remove the word lib in the loadfunction Nov 06 10:15:56 if you need more info http://stackoverflow.com/questions/33563962/unsatisfiedlinkerror-when-adding-so-files-to-android-studio Nov 06 10:17:15 Interesting Nov 06 10:20:08 Java or Corona for performance ? Nov 06 10:20:29 LUA* Nov 06 10:22:04 writing plain java code to create an app is called native application and anything beyond is either an Hybrid or Mobile web appilcation is it ? Nov 06 10:22:13 getting confused Nov 06 10:23:43 got it thanks Nov 06 10:31:12 I'm getting java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider when trying to pick an image from the gallery, despite having in the manifest. Any suggestions? Nov 06 10:31:53 amincd: android 6? Nov 06 10:32:14 jvrodrigues: umm, not sure Nov 06 10:32:18 android studio, not finding java 1.8 on el capitan.. how can i fix this ? Nov 06 10:32:21 i'm using play services games to make a turnbased game. I'd like to have the option to let players chat with eachother, any way to do this without writing my own backend? Nov 06 10:32:47 jvrodrigues: yes Android 6 Nov 06 10:33:08 amincd: http://developer.android.com/training/permissions/index.html Nov 06 10:33:22 permissions changed, having them in your manifest is not enough now Nov 06 10:33:31 check if you have it, and if not ask for them Nov 06 10:34:58 I've done as the guide instructs: http://developer.android.com/training/permissions/declaring.html I have the in there. It should let me read from the SD card Nov 06 10:36:42 in my experience Nov 06 10:37:00 it does not work like that and permissions are disabled by default for some reason Nov 06 10:37:14 but I havent explored it long enough, just had the exact same problem Nov 06 10:37:20 had to ask for permissions to fix it Nov 06 10:37:50 I don't ask for permission! What do you want me to do, beg!? Nov 06 10:37:52 jk.. Nov 06 10:37:56 ok I'll check it out Nov 06 10:39:02 rabbi1: in my experience intellij works best using java for mac Nov 06 10:39:53 osxorgate: You can use a push notification service like parse or something along those lines Nov 06 10:40:48 i don't need too much, just for android dev Nov 06 10:40:53 jvrodrigues: ^ Nov 06 10:41:19 android doesnt support java 8 Nov 06 10:44:18 hello, i have made a dir via adb shell with mkdir. i can see it with ls, but I can not move files inside, ls inside, cd or even rm -rf it as root Nov 06 10:44:21 any ideas? Nov 06 10:46:00 brita_work: what error do you get? Nov 06 10:46:32 rm foldername: No such file or directory Nov 06 10:47:33 but its there when you ls? Nov 06 10:47:34 by removing the parent directory, it deletes everything, but for that one it says that and then parentdir: Directory not empty, so it can internally list the thing, but not delete it Nov 06 10:48:09 yes, and when attempting to remove the parent directory it looks like it sees it and then not Nov 06 10:49:36 looks like a weird permission thing Nov 06 10:49:45 try chmod'ing it see what happens Nov 06 10:50:30 Unable to chmod foldername: No such file or directory Nov 06 10:51:03 ls reports permissions as drwxrwx--- Nov 06 10:51:15 now its just making fun of you :/ Nov 06 10:52:00 oh well.. not really funny. i am now logged in as root and can't remove the thing Nov 06 10:53:54 jvrodrigues: all working, i installed only jre, instead of jdk ... Nov 06 11:01:48 hithere Nov 06 11:03:43 is there a way to icons in settings http://developer.android.com/guide/topics/ui/settings.html? Nov 06 11:09:10 jvrodrigues: you're right, Android 6 is different, you need to ask for permission explicitly each time you need 'dangerous permission' Nov 06 11:16:55 jvrodrigues: managed to delete it after restarting the device. my best bet is that it somehow got a lock Nov 06 11:22:42 given a couple of so libraries how can I use them? Nov 06 11:26:46 huh Nov 06 11:44:06 is there anyone who has S4 or s5? i need someone to test an apk. Nov 06 11:44:21 I implemented the singleton pattern from http://www.androiddesignpatterns.com/2012/05/correctly-managing-your-sqlite-database.html for my database helper Nov 06 11:50:59 However, if I kill the app, it seems the database is still locked (I/O error 1802) Nov 06 11:51:14 Is there any way to ensure the database is closed even though the app dies? Nov 06 11:59:50 Hi guys, I registered a receiver on the manifest file, will the receiver start receiving events if the app is not started? Nov 06 12:00:25 Now it is not receiving I just want to make sure if a reciever can receive broadcasts when app is not started. Nov 06 12:01:58 I want to start app when a specific event is fired. Nov 06 12:07:17 Hm! Upon closer inspection, this seems to be related to me deleting the database file Nov 06 12:07:42 It seems the file is automatically re-created after deletion the first time I run the app, but not the second? (?) Nov 06 12:15:45 Problem solved by closing the database prior to deleting the file :) Nov 06 12:39:11 hi, i create a custom AutoCompleteTextView, but in andorid 4.1.1 i lost the styles of AutoCompleteTextView Nov 06 12:39:37 http://pastebin.com/FkdSGSkk Nov 06 12:40:06 in android 4.1.1 it apears without the line of textview Nov 06 12:47:18 does anybody know if continous requests to 'connectivitycheck.android.com' (from production) may result in any consequences, bans, etc.? Nov 06 12:59:29 What is the proper way to filter on something else than a charsequence? Nov 06 12:59:44 I'd like to filter on the value of a property of objects Nov 06 13:00:00 I am tempted to just switch(cs) to figure out what to filter on, but it feels a bit.. odd Nov 06 13:00:21 can anyone route me, how can I set up a gstreamer based player in kitkat 4.4.2 Nov 06 13:15:42 I have a bit of a question. If in my onCreate() method i register a request for location with new listener object and then (for example) rotate my phone so onCreate() gets called again. does that mean i now how 2 registered listeners or is the first destroyed? Nov 06 13:33:02 easy to test this yourself, isn't it? Nov 06 13:44:42 hi , does anyone use Retrofit? Nov 06 13:45:14 I have to send a photo from the user profile to the server and I use Retrofit's TypedFile to send it Nov 06 13:45:48 however the file that the camera saves is usually non-optimal for upload , it's too large Nov 06 13:45:58 this is giving me some problems. so the question is... Nov 06 13:47:04 ... so I noticed Retrofit also has TypedByteArray... should I process my file and make it a lighter TypedByteArray to send it with Retrofit Nov 06 13:47:31 I'd welcome advice from more experiencied users.. I want to learn the good pratices Nov 06 13:50:37 i solved here, need extends AppCompatAutoCompleteTextView Nov 06 13:51:18 JFlash, you could just shrink it w/ an image library and still send the shrinked version as a typedfile Nov 06 14:20:46 hi when using getsharedpreference(name , int) intead of getsharedpreferences; how does the activity/fragment know the mapping beetween the value et the config file ? Nov 06 14:21:07 is it automatic ? or non default shared preference have to be mapped manualy ? Nov 06 14:52:58 dragorn: thank you. I am trying to do this but is been very frustrating. At evry step there seems to be a new thing to learn Nov 06 14:53:11 dragorn: including convert from bitmpa to bytearray Nov 06 15:01:16 so what about that Flutter Nov 06 15:22:29 please tell me that I`m mad Nov 06 15:22:51 I have been looking for a way to load a file to a bytearray Nov 06 15:23:22 I'm in my 5th stack overflow topic and cannot find a decent answer Nov 06 15:23:45 lots of ppl telling to use libs like apache nio and guava Nov 06 15:24:39 so... do that? Nov 06 15:26:08 hello i need to save the items when changing portraid mode to landscape mode.how can i use onSaveInstanceState() ? Nov 06 15:29:08 Hi all, I'm using Crosswalk, a native library which has a special view which acts like a WebView. But I got an issue with it. After a clean install, the initialising isn't working of the library. But when I kill the app, start it again, it works fine. Any suggestions on that? Nov 06 15:33:10 how can i find out what the latest version is for classpath 'com.android.tools.build:gradle:1.3.0' ? Nov 06 15:33:51 search.maven.org Nov 06 15:34:37 i thought we were supposed to use jcenter Nov 06 15:35:40 jcenter mirrors maven central Nov 06 15:35:54 The artifacts are pushed to maven central Nov 06 15:36:54 yeah ok Nov 06 15:37:06 jcenter search really sucks.. i'll use maven from now Nov 06 15:38:57 so i have AS 1.5, and the top buildtools version seems to be 1.3.1 . When i want to create a vector asset it complains i should use build tools 1.4 Nov 06 15:39:12 so i'm confused Nov 06 15:39:40 1.3.1 is the latest stable, 1.4 is in beta.. Betas are only available on jcenter Nov 06 15:40:46 okay so then i'm kinda fucked since jcenter wont show me proper results :/ Nov 06 15:41:01 at least i guessed correctly Nov 06 15:42:27 cheers Nov 06 16:21:36 Hi all. I have an AsyncTask (inside a lib actually). The doInBackground isn't called when I start the task after a clean install. But when I kill my app and open it again, the task works fine. Any suggestions? Nov 06 16:21:45 o/ Nov 06 16:22:13 this is how the task is executed: new XWalkLibraryLoader.ActivateTask(listener, activity)).execute(new Void[0]) Nov 06 16:22:42 Can anyone help me with an obscure issue with a webview? Basically on some websites the links on the page work incorrectly, such as the basket/checkout on https://www.johnlewis.com/ Nov 06 16:23:40 If I want to save an array of id's in a sqlite db... what should I do? Just make a comma separated list? Nov 06 16:23:50 Behaviour: 1) add item to basket | 2) open basket | 3) Click "Continue securely" | 4) Enter an email and click "Continue securely" with "No" selected Nov 06 16:24:00 Expected behaviour at this point is to proceed to checkout delivery details Nov 06 16:24:17 But it returns to basket page instead Nov 06 16:24:43 Can't figure out why, tried all sorts Nov 06 16:24:57 Works fine in normal chrome browser, just not webview in app Nov 06 16:26:20 NoirAvlaa: What WebSettings are you using? Nov 06 16:26:48 .setJavaScriptEnabled(true); Nov 06 16:26:48 .setLoadWithOverviewMode(true); Nov 06 16:26:53 has anyone used the Realm database solution on Android? Nov 06 16:26:54 .setUseWideViewPort(true); Nov 06 16:27:09 That's it Nov 06 16:27:22 Try `settings.setDomStorageEnabled(true);`. Nov 06 16:27:34 Not sure whether it'll fix it (who knows), but it fixes some sites. Nov 06 16:27:45 Tried already, same thing Nov 06 16:52:30 I’m writing to you regarding your Open Source license request for JetBrains product(s). Nov 06 16:52:33 yay, updated for intellij 15 Nov 06 16:53:18 what is bundle Nov 06 16:56:07 I googled that: "a collection of things or quantity of material tied or wrapped up together." Nov 06 16:56:18 Password reset token just mailed to pf******@****bm.com Nov 06 16:56:24 damnit, that's annoying Nov 06 16:59:47 I don't remember trying intellij that long ago... Nov 06 17:04:04 dragorn dont know how much of it is true, always thought linux was super secure. but linus attitude seems worrying. http://www.washingtonpost.com/sf/business/2015/11/05/net-of-insecurity-the-kernel-of-the-argument/ Nov 06 17:04:38 i'd probably be good at security, having the paranoid mindset - just don't have the brains :) Nov 06 17:09:01 I cant be the only one who constantly types Lod. instead of Log.d right? Nov 06 17:09:15 g00s, no more secure than other things really, everything has bugs. microsoft has actually been really on the ball getting things fixed lately, while with all the distros theres lag fixing kernel bugs - plus all the embedded devices, android, etc. towelroot was just the futex() kernel bug, for instance. Nov 06 17:09:15 How do you guys do Pair Programming? I feel like a screen sharing program would be best. thoughts? Nov 06 17:09:36 eghdk: screensharing Nov 06 17:10:00 i think theres programs to be able to see where the other user is akin to google docs though Nov 06 17:10:08 that would probably be much more efficent Nov 06 17:10:21 dragorn quick question, i see Android 6 is using 3.4.0 but latest is 3.4.111 - how good is Google at merging kernel security bugs from upstream Nov 06 17:10:40 if anyone knows a program like that... let me know. SOunds awesome. Nov 06 17:11:00 well, 3.4.110 is the latest in the 3.4 series, but 3.4 is pretty old Nov 06 17:12:57 eghdk, there's lots of screensharing stuff, hangouts is an obvious immediate answer Nov 06 17:15:51 pfn: Yeah, I was kinda more regerring to DadFoundMy google docs type of workflow. Nov 06 17:16:14 so you want editor-sharing Nov 06 17:16:17 not screensharing Nov 06 17:17:01 lots of those if you google... dunno what has language specific support though Nov 06 17:17:19 eghdk: http://stackoverflow.com/questions/7617527/is-there-a-way-to-use-google-docs-for-collaborative-programming Nov 06 17:18:02 Hi, I'm trying to make a query that return all the value where the text contained starts with a string Nov 06 17:18:10 I'm using s + "%" Nov 06 17:18:14 but it's not workin Nov 06 17:18:16 lets all make an app! https://public.etherpad-mozilla.org/p/android-dev Nov 06 17:18:25 What am I doing wrong ? Nov 06 17:21:02 well that was fun! Nov 06 17:21:30 Noone ? Nov 06 17:22:19 pfn: Thanks. Yeah, just making sure there was some industry standard that I should know about. Nov 06 17:22:42 Tuly-: You could be asking about anything. You're not giving any context. Nov 06 17:23:36 TacticalJoke: this is the code http://pastebin.com/hvqPp22T Nov 06 17:23:45 It's simply returning nothing Nov 06 17:26:39 Tuly-, you want a LIKE query, not an = query Nov 06 17:27:02 so with a LIKE and % query I'll obtain it ? Nov 06 17:27:47 change line 11 to something like COLUMN_NAME_ROLE + " LIKE?%"; Nov 06 17:28:06 sry. this: COLUMN_NAME_ROLE + " LIKE ?%"; Nov 06 17:28:52 or maybe it must be " LIKE ?" and you need to add the % as arg in the String[]. Im not sure Nov 06 17:42:36 "BlackBerry can bypass carriers to deliver Android security fixes" Nov 06 17:43:38 that would be an impressive feat, considering Samsung can’t seem to do that Nov 06 17:44:12 Everything's so verbose on Android. Copying text to the clipboard: ClipboardManager clipboard = (ClipboardManager) getSystemService(CLIPBOARD_SERVICE); clipboard.setPrimaryClip(ClipData.newPlainText("foo", foo)); Nov 06 17:44:37 unless they’re not selling through carrier stores, in which case they probably won’t sell much outside of big companies Nov 06 17:44:46 s/so // Nov 06 17:47:03 s73v3r seems they can even do it with carrier locked devices O.o Nov 06 17:47:29 are they updating the base Android software, or just their apps? Nov 06 17:55:53 s73v3r http://www.engadget.com/2015/11/05/blackberry-priv-speedy-security-updates/ Nov 06 17:56:09 what is inflater.inflate() Nov 06 17:56:24 a method call on the inflater instance Nov 06 17:56:48 g00s: I really hope they license that technology out to every other company Nov 06 17:56:50 then what is inflater? Nov 06 17:57:08 s73v3r if BB can do it, any other company would have - if they cared Nov 06 17:57:09 a variable object that points to probably an instance of Inflater object Nov 06 17:57:11 asdasd, https://support.google.com/websearch/answer/134479?hl=en Nov 06 17:57:14 * Napalm giggles at canvs2321- obvious sarcasmsarcasm Nov 06 17:57:26 Inflater is the class which handles creating views from XML Nov 06 17:57:36 unless carriers gave BB free reign because they have a long track record Nov 06 17:58:07 As a german I think its rediculous that carriers have something to do with updates in USA Nov 06 17:58:13 it seems weird, because generally carriers want to exercise complete control over devices on their networks Nov 06 17:58:14 thank you for your helps :) Nov 06 17:58:29 even the Nexus devices sold on Verizon have to go through Verizon for updates Nov 06 17:58:43 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.fragment_add_todo, container, false); Nov 06 17:59:02 in europe the phone is 100% independent of carrier Nov 06 17:59:03 i did not understand the code segment Nov 06 17:59:05 asdasd: Is this the "Learn Android One Question at a Time" approach? :D Nov 06 17:59:13 danijoo as a gernan, you would find many ridiculous things about the USA :D Nov 06 17:59:14 asdasd, and you clearly didnt read the docs Nov 06 17:59:22 g00s, i do.. :p Nov 06 17:59:59 asdasd: What tutorial/book/site/class are you going through to try and learn Android? Nov 06 18:00:11 docs are boring for me.i cannot understand them :( Nov 06 18:00:24 http://developer.android.com/reference/android/app/Fragment.html Nov 06 18:00:34 then get a book, or try one of the Android online courses Nov 06 18:00:40 for example this Nov 06 18:00:57 the udacity courses are nice Nov 06 18:00:58 do they help Nov 06 18:00:58 hi all. is it possible to access drive files on android that have not been created by the app accessing the drive api? Nov 06 18:01:06 they do Nov 06 18:01:32 and while we’re happy to help with problems, most of us have better things to do than to try and handhold someone Nov 06 18:01:40 especially if we’re not getting paid for it Nov 06 18:02:20 thank you for your advice :) Nov 06 18:02:29 pulse00, i think so Nov 06 18:02:49 but can you tell me quickly what does it mean Nov 06 18:03:06 i have homework Nov 06 18:03:10 :( Nov 06 18:03:10 asdasd, it means the inflater inflates an inflateable resource :) Nov 06 18:03:19 onCreateView is where you inflate and connect to your views in a fragment, similiar to onCreate of an Activity Nov 06 18:03:39 but there is an false parameter Nov 06 18:03:42 danijoo: any idea how to do it? cause the documentation states something different: "The Android Drive API only works with the https://www.googleapis.com/auth/drive.file scope. This means that only files which a user has opened or created with your application can be matched by a query." Nov 06 18:03:46 what is that Nov 06 18:03:59 asdasd, fragment also has onCreate, but that is more for intializing instance objects, onCreateView is used to just build the UI Nov 06 18:04:02 pulse00, no sry Nov 06 18:04:03 attachToRoot? Nov 06 18:04:16 asdasd, read the docs, then come back Nov 06 18:04:17 all these MVP articles on /r/androiddev - i think this is an indictment of the maturity of the android dev community as a whole Nov 06 18:04:30 asdasd: The docs tell you what the parameters mean Nov 06 18:04:43 g00s: Positively or negatively? Nov 06 18:04:50 negatively Nov 06 18:05:01 why so? Nov 06 18:05:04 can you give me a link that i can understand better ? Nov 06 18:05:06 I think a lot of those people are new to programming. Nov 06 18:05:09 s73v3r immaturity Nov 06 18:05:30 i mean why do you think that? Nov 06 18:05:32 Imagine Android being your first platform. Gawd, that must suck. Nov 06 18:06:05 asdasd, find the link yourself. This is very general basic, widely available stuff Nov 06 18:06:29 i'm not aware of any other platform whose forums extol the virtues of MVS on a daily basis Nov 06 18:06:35 Android development lesson #1: learn to google Nov 06 18:06:35 come back when you have specific issues, you are just asking general stuff Nov 06 18:06:36 *MVC Nov 06 18:06:56 you could learn to Bing if Google doesn't work for you... Nov 06 18:07:26 although you might find every result has a huge PORT THIS APP TO WINDOWS banner on it Nov 06 18:07:37 adblock dat Nov 06 18:07:37 Bing? isnt that this porn search engine? Nov 06 18:07:40 This has been a paid presentation by Microsoft Plc. Nov 06 18:07:50 duckduckgo works great Nov 06 18:07:55 Oops, "Corporation". :D Nov 06 18:08:36 I’m still not following. Are you saying that MVP itself is a sign of immaturity, or that constantly talking about it is? Nov 06 18:08:39 DDG doesn't seem able to read my mind in the way Google is. Nov 06 18:08:55 i cannot understand them :( Nov 06 18:08:56 s73v3r MVP has been around for decades, no qualms with that ... Nov 06 18:09:08 i am new to android Nov 06 18:09:17 asdasd, do tutorials Nov 06 18:09:18 asdasd: You’re gonna have to Nov 06 18:09:21 and read blogs Nov 06 18:09:26 that’s what’s in the future for you Nov 06 18:10:43 g00s: Ok. I guess I still don’t see the problem Nov 06 18:11:10 asdasd, are you just asking how things work, or are you having issues with things working? Nov 06 18:12:22 right now seems like a small child asking why about everything Nov 06 18:12:40 i did not understand how things work Nov 06 18:12:51 do you need to know right now? Nov 06 18:13:16 no way to stuff you with full how the things work stuffing. just get your code working, then dial in the how if so curious Nov 06 18:13:17 asdasd, http://developer.android.com/guide/components/fragments.html did you read that? Nov 06 18:14:21 thank you i will read it :) Nov 06 18:14:27 anywho asdasd, just learn what you can, test all, then come back if issues Nov 06 18:14:30 -.- Nov 06 18:15:02 another rtfm Nov 06 18:16:03 seems english may not be his best language, or language of choice. so makes it bit error in translation Nov 06 18:16:19 informit ebook deal of the day: sedgewick's algorithms 4e Nov 06 18:16:51 you can watch youtube videos too Nov 06 18:17:02 if you dont like reading wall of texts Nov 06 18:17:21 me? ty, i hate walls Nov 06 18:17:30 ktwo, I tried that at the beginning but they are to time consuming imo Nov 06 18:17:54 we have nothing but time Nov 06 18:18:06 i can gather much more information in the same time when reading Nov 06 18:18:07 well i have plenty of time during work :E Nov 06 18:18:21 all thats limited is time :) Nov 06 18:18:50 danijoo, it all boils down to viewing/reading things that are relevant. gotta dial in specifics when programming to find your answers Nov 06 18:18:52 i like that bill gates said he wished he had more time to read :D Nov 06 18:20:02 sometimes you can speed up youtube videos Nov 06 18:20:28 s73v3r, I used to do that with the videos of my university courses Nov 06 18:20:37 4x speed biochemistry :D Nov 06 18:21:17 shmooz what's your deal? Nov 06 18:21:59 canvs2321-: what you need bro ? Nov 06 18:22:22 I got everything Nov 06 18:22:26 nothing, just bored and directing traffic towards the newcomer :) Nov 06 18:23:00 asdasd, shmooz has everything you need Nov 06 18:25:04 Hey guys... is it a good idea to use the Gimbal SDK with a service if I would like to keep it alive even if the user is not in the app? Is that not how Gimbal should be used anyway? Nov 06 18:25:33 wth is Gimbal ? Nov 06 18:25:53 and yes, services can be used to run outside activity access Nov 06 18:25:55 https://docs.gimbal.com/android/v2/devguide.html Nov 06 18:26:22 what does it do? Nov 06 18:26:50 Proximity aware Nov 06 18:26:53 SDK Nov 06 18:27:38 then sure, keep it in service, next Nov 06 18:47:19 hey Nov 06 18:47:30 With RxJava's combineLatest, what happens if a null value is emitted from the Observable? Nov 06 18:47:37 Does it cause an NPE Nov 06 18:47:44 Or does the Observable just stop Nov 06 18:50:13 Anyone know of an article where someone investigates references in android? Nov 06 18:52:11 WeakReferences and SoftReferences? Nov 06 18:52:16 explodes you could just try it. i would guess nothing at all Nov 06 18:52:24 explodes: and phantom etc Nov 06 18:52:40 i mean, you would get a null. its not the same as onCompleted or anything Nov 06 19:01:33 Another security question here: When/if downloading an app that utilize the VPN interface offered by Android, would the app see everything, and would it be able to inspect downloaded apks (or are the downloads encrypted)? Nov 06 19:02:58 kjeldahl: the app essentially gets a stream representing a tun device Nov 06 19:03:31 and a separate network namespace that avoids its traffic getting sent to itself Nov 06 19:03:54 p_l: Yes, this much I've figured. But any apk downloaded by Play Store would typically (and any other sensitive downloads) would be encrypted to the listening app, right? Nov 06 19:05:10 (I'm speculating, haven't tried checking myself yet) Nov 06 19:06:06 a vpn app handles all the packets. It can see anything the network can see. Nov 06 19:06:56 If those packets represent an encrypted connection, you can't see what's going on in them. If they're not encrypted, you can. It can also do anything a hostile router / AP could do - it could attempt to degrade encryption or block and hope apps fall back to unencrypted connections, it could also rewrite connections and attempt to present false certificates. Nov 06 19:07:33 A lot of apps do a shit poor job of actually validating certificates. Google apps, of course, use cert pinning and do it right. Other apps? eh. Depends. Security is hard, and there's a lot of shitty advice out there with regards to handling SSL. Nov 06 19:07:37 Is it possible to access any hardware/driver related feature using NDK without root? Nov 06 19:08:10 depends what you mean by feature. You can talk to /proc in some ways w/out even the ndk. All depends if whatever you're trying to configure is considered restricted. Nov 06 19:08:24 you can also talk to usb with a userspace API by requesting permission to access the device Nov 06 19:09:08 Looney: The kernel is still there enforcing stuff, so if you needed root to get it in Java, you’ll probably still need root to get it in C++ Nov 06 19:09:56 This is what I said to a client Nov 06 19:10:14 yes, that - NDK is in no way a magic privilege boost Nov 06 19:10:38 He was thinking that I do not understand what it would involve and can/do not want to do project efficiently witfout root Nov 06 19:10:42 *without Nov 06 19:11:07 Time to drop them as a client, I guess Nov 06 19:11:20 what are they trying to do Nov 06 19:11:58 According to this, apps are encrypted until their apks end up in /data/app. http://nelenkov.blogspot.no/2012/07/using-app-encryption-in-jelly-bean.html Nov 06 19:13:48 Well, honestly he was a prospective Nov 06 19:14:03 kjeldahl, that's nothing to do with data encryption or ssl on the download Nov 06 19:14:20 Moreover, some people think that 200 is a fair amount to develop next killer app Nov 06 19:14:34 $200/hour is fair Nov 06 19:15:08 Hahaha, s73v3r good one Nov 06 19:15:29 although probably not for someone who clearly does not respect my opinion as an expert in the field Nov 06 19:15:35 oh lawdy Lawd... My Nexus 6p shipped. :D Nov 06 19:24:29 dragorn: So you believe it's downloaded unencrypted, then encrypted locally before being decrypted locally again, or do you mean what the website says is wrong? Nov 06 19:25:08 Hi I have a question regarding integrating +1 button Nov 06 19:25:12 kjeldahl, it's irrelevant for the purposes of a vpn app Nov 06 19:25:44 dragorn: Yeah, sure, unless that VPN app claims to be able to scan/inspect downloaded apks! ;-) Nov 06 19:25:50 the button shows up and works but the appearance is that of the old +1 button not the new one Nov 06 19:26:00 no, it's irrelevant - because hte play store uses pinned SSL Nov 06 19:26:08 you're not going to be able to mitm that particular connection Nov 06 19:26:24 how do I change the appearance to the new design ? Nov 06 19:26:46 by being anointed by the google play store. Nov 06 19:26:53 And the lady in the lake. Nov 06 19:27:41 dragorn: Excellent, thanks. Nov 06 19:27:41 Ephemeral, neither - but google understands security and does cert pinning so you can't spoof the ssl connection. it's blessed simply because the google play store apk is soruced from the app-priv directory in the firmware, you could bless any other store/installer the same way if you were making custom firmware Nov 06 19:28:38 so while play MAY encrypt the apk file itself and then transmit (but I'm not sure it actually does), it definitely wraps the connection in cert-pinned SSL, and while nothing is 100% absolutely never ever going to be broken... for any reasonable definition, that's not going to be broken by a malicious router/vpn app/access point Nov 06 19:28:47 any ideas ? Nov 06 19:30:48 so if you're intercepting network traffic, the play store download is going to be strongly obscured. you could make it fail, but you're not going to expose the data. If you're rooted and are intercepting writes to flash, well, game is over, and of course you can just pull the apk - but rooted hostile devices break all the rules to the point that it's a fail no matter what Nov 06 19:36:18 Have you guys seen this? Advancing Android Development with the Kotlin Language -- https://vimeo.com/144877458 Nov 06 19:47:09 hey Nov 06 19:47:14 Looks good. (Though he wrote "boolean", not "bool", in the code demonstrating C# extension methods. :D) Nov 06 19:51:43 got a question if anyone wouldn't mind sending me in the right direction. I'm trying to write a app that will basically just simulate a bunch of swipes then restart the phone after a sleep function has completed, and continue doing the same thing once the phone has restarted. I know in ADB you can simulate touch actions using "adb shell input touchscreen swipe", is there a simple way to make a app do these types of events? Nov 06 19:51:43 (.sh, etc - doesn't matter to me) to do it? Would it be easier to use SL4A or something of the likes? I'm a fairly novice programmer but have taken some classes in C and Java and understand the fundamentals of OOP Nov 06 19:52:54 Use Espresso Nov 06 19:53:09 i'm not sure an app can generate system touch events Nov 06 19:53:18 or look into Accessibility Nov 06 19:53:26 yeah maybe via accessibility Nov 06 19:53:51 you might also look into Tasker to achieve what you want, without having to simulate touch events Nov 06 19:54:03 What are you trying to do? Nov 06 19:54:36 I’m guessing it’s not for an app of your own Nov 06 19:55:14 so a client of mine basically has this ad program that he has and he runs tasker or something of the likes to click the play button on his phone once x seconds/minutes, and he makes a little bit of money for every ad he watches. but the problem is the phone locks up after awhile so he wants to reboot it after x hours Nov 06 19:55:32 heh Nov 06 19:55:34 i'd like to have the program handle the swiping/clicking of the program, and reboot after x hours Nov 06 19:55:42 I can guarantee that is against the terms of service of that ad program Nov 06 19:55:49 believe me i've told him there's probably easier ways to make money Nov 06 19:56:03 i wouldn't doubt it >_> Nov 06 19:56:07 maybe he just needs a better phone Nov 06 19:56:19 yeah, it's some huawei junk xD Nov 06 19:56:59 does espresso come with a library that will let me emulate the touching/swiping? Nov 06 19:57:02 tell him it’d be cheaper for him to buy a decent phone, even a used one, than to pay you to do this Nov 06 19:57:20 Espresso does, and if it doesn’t, then there’s always Appium or Calabash Nov 06 19:57:26 well he has more than one of these phones >_> Nov 06 19:57:36 they’re testing frameworks, so you might have to keep it tethered to a computer Nov 06 19:57:45 figured Nov 06 19:57:49 but if this is what he’s doing, then he’s probably not using them day to day Nov 06 19:58:00 well, his idea is to farm his phones Nov 06 19:58:10 it should also be pointed out that this is fraud, and is extremely unethical Nov 06 19:58:20 which from what he's told me everyone else under the sun is already doing... Nov 06 19:58:25 yeah i think he's aware of that Nov 06 19:58:35 no, I mean you Nov 06 19:58:48 you helping with this is extremely unethical Nov 06 19:59:08 well that's definitely one way of looking at it Nov 06 19:59:46 i can’t really see a way to look at it which does not come to that conclusion Nov 06 20:00:52 I'm definitely not debating the ethics on it, not even sure if I'll write the program. he make a good point though, the company providing the app doesn't care as long as the ads are being clicked. Nov 06 20:01:32 I doubt that. Sooner or later their customers are going to wonder why they’re getting so many clicks, but no return Nov 06 20:02:36 wonder if the ad reward is even worth the power costs of charging the thing :p Nov 06 20:03:03 yeah the kid who wants the program is the son of some hedge fund manager and was babbling to me about marketing and all this stuff that I could honestly care less about, however he's offering me a good chunk of money I could really use at the moment Nov 06 20:03:22 @TheSchaf that is exactly what i was wondering Nov 06 20:03:42 But if you’re gonna do it, you’d want to basically write automation tests. Either use Espresso or Appium or Calabash, combined with some scripts running on the computer Nov 06 20:04:00 gotcha. Nov 06 20:04:03 and make sure you get the money up front Nov 06 20:04:09 it'll be locked to the computer at that point Nov 06 20:04:22 i know he's good for his money. that's how we met he found my IT services ad on CL Nov 06 20:13:16 JakeWharton: This is really good talk. Nov 06 20:15:09 Hello. My app crashes because of "D/AndroidHttpClient(32515): [NALSECURITY EXCEPTION] isMmsRequest() : CoreProtocolPNames.USER_AGENT = MyApp Android/1.0" from what the client says is a Galaxy S5. Anyone have any idea what that is? Nov 06 20:15:29 Googling "NALSECURITY EXCEPTION" yields less than a page of result with no solution at all Nov 06 20:16:26 I use no Azure services nor C#, all pure native Android Java, and it's been working flawlessly for a year on every other device so far Nov 06 20:16:49 dragorn: Thanks again, really helpful. It's more or less what I thought, with added useful details, which means somebody is bullshitting about their products (which I was asked to look into anyway). Nov 06 20:20:22 oh yeah, is there any patch for stagefright yet? Nov 06 20:22:21 seems to be a new stagefright patch each week, which one are you referring to ? Nov 06 20:23:34 i'm on a custom rom i understand CM fixes it supposedly but i'm not on CM, however I was wondering if there was a app that would fix it? Nov 06 20:23:44 or at least add some defense against it. I've got avast mobile installed Nov 06 20:23:47 ask the CM guys Nov 06 20:23:58 ^not on cm Nov 06 20:24:21 then ask your custom rom guys, this channel is app dev Nov 06 20:25:03 eh, just wonderin if anyone knew off the top of their head Nov 06 20:28:37 honest question: does *anyone* actually use the android emulator + haxm? Nov 06 20:28:49 it's completely unusable Nov 06 20:29:51 what is the difference between an intent service and a service? Nov 06 20:29:52 I never had any problem with the emulator, smooth and stable Nov 06 20:30:11 Max-P: Well not that smooth and somewhot unstable for me... crashes quite often Nov 06 20:30:13 If you have a data structure with many dimensions that need to be persisted what's the best pattern to manage this with? Nov 06 20:30:25 I've created half a dozen images, and I simply cannot get any API 23 image to work -- most of the time it won't even boot, sometimes it partially boots but freezes mid-boot, sometimes it will boot but it freezes on the home screen Nov 06 20:30:41 For example, you have a map. It has different overlays, tags, etc. Nov 06 20:31:09 what a shit show Nov 06 20:31:15 this emulator is quite an embarrassment Nov 06 20:31:26 The emulator sucks. HAXM makes it slightly less bad, but it still sucks. Nov 06 20:31:30 argentum are you on windows ? Nov 06 20:31:35 I've always heard it really sucks on Windows tho, you might want to give Genymotion a try Nov 06 20:31:35 mac os x Nov 06 20:31:43 yeah try geny then Nov 06 20:31:50 oh, Geny is an absolute must Nov 06 20:31:54 cart_man: intent service runs on a background thread, sequentially executes whatever it is told to do a stops. Nov 06 20:31:56 I run it all the time Nov 06 20:31:58 Linux is pretty much the only platform where it runs properly Nov 06 20:32:00 service is wahtever a service does Nov 06 20:32:05 you *have* to if you want to get any work actually accomplished Nov 06 20:32:18 lasserix: But when I close my app then the timer I have in my Intent service stops also Nov 06 20:32:20 except their API 23 support is in beta Nov 06 20:32:22 I want it to carry on Nov 06 20:32:28 even when the app is shutdown Nov 06 20:32:30 which is why I went back to emulator Nov 06 20:32:32 cart_man: if you exit your app then youkill your process Nov 06 20:32:39 again, wasted 2+ hours of time fucking with it Nov 06 20:32:48 Android tools team needs to fix this shit Nov 06 20:33:12 The problem is not the Android team but more like the qemu team Nov 06 20:33:13 but if you start an app and it kicks off an intent service with a while(true) it'll run till the phone turns off or the os kills it Nov 06 20:33:59 qemu's support for non-Linux is terrible, and Google would have to write their own virtualization thing for it to work better Nov 06 20:34:05 lasserix: Ok soo how do apps broadcast a message to the user...you know like when you get a message a little preview of it comes up on top of the screen... Accept some apps can show stuff there also... How do they do that without keeping something from the app alive? Nov 06 20:34:36 you have a broadcast reciever that injects a window with the window manager and window permission Nov 06 20:41:59 lasserix: Do you know of any good tutorials to broadcast messages to user the way you just told me? Nov 06 20:42:12 what do you want to do? Nov 06 20:42:18 you can also use alarmamanager service Nov 06 20:42:24 basically you need a context Nov 06 20:42:30 you can get that many ways Nov 06 20:45:47 how can i save data in the list view fragment while changing portraid to landscape mode Nov 06 20:46:17 What data does the ListView contain? Nov 06 20:46:39 * meoblast001 (~meoblast@91.240.64.19) has joined ##programming Nov 06 20:46:49 I am gonna make a final attempt to prove a conspiracy theory. If I fail I will just become a normie and live out the rest of my life Nov 06 20:46:56 Re on the emulator topic: https://d.max-p.me/temp/irc/android-dev/VID_20151106_153752.mp4 :P Nov 06 20:47:00 i write something edit text then click add button. the ones i write added to the list view Nov 06 20:47:19 TacticalJoke: thanks Nov 06 20:47:40 lasserix: Well basically if the person saved an object in my app to remind him off it in a certain amount of time...now the time has come to remind him so now I just want to make a little injection like you explained that tells him "This app just wants to remind you of ....." Nov 06 20:47:54 asdasd: You can use Bundle.putStringArrayList (or similar) in Activity.onSaveInstanceState. Nov 06 20:48:25 okey i will try TacticalJoke Nov 06 20:49:21 In many cases like this, people will already be disk-caching the data, and therefore they don't have to worry about this so much (they can just read from the cache in Activity.onCreate). Nov 06 20:49:29 But for really simple stuff using that Bundle seems fine. Nov 06 20:49:35 do i need sth in fragment class also ? Nov 06 20:50:16 cart_man: yeah alarmmanagerservice is probably what you want Nov 06 20:50:32 you register for asystem alarm service that will for the time you register do some action Nov 06 20:50:34 lasserix: Ok thanks Ill quickly check into that Nov 06 20:50:41 asdasd: Oh, I had forgotten you were talking about Fragments. You should be able to use Fragment.onSaveInstanceState. Nov 06 20:50:47 do i write Bundle in Activity onCreate() Nov 06 20:51:08 Do it all in the Fragment if the ListView is in the Fragment. Nov 06 20:51:47 my fragment is empty Nov 06 20:51:52 does it matter ? Nov 06 20:52:04 Where is the ListView? Nov 06 20:52:21 * sir_galahad_ad waves Nov 06 20:52:26 * sir_galahad_ad hides Nov 06 20:52:38 Zomg, it's sir_galahad_ad from Programming:2. Nov 06 20:53:02 actually no where Nov 06 20:53:09 what's Programming:2 Nov 06 20:53:10 it is list fragment Nov 06 20:53:35 <3 Nov 06 20:53:36 It was a Yahoo! Chat room. Nov 06 20:53:58 The antisocial people hung in Programming:1; the cool cats, Programming:2. Nov 06 20:54:32 i only remember irc.microsoft.com. Nov 06 20:54:42 i made my first internet gf there! Nov 06 20:54:50 (and the last one) Nov 06 20:54:58 squirrel: tfw... Nov 06 20:55:37 ;_; Nov 06 20:55:39 squirrel: back in the days, posing as a girl is a common trolling technique Nov 06 20:56:00 don't rob me of a sweet lie pls Nov 06 20:56:03 Could someone help me with this programming problem? *bats eyelashes innocently* Nov 06 20:56:16 squirrel: well okay Nov 06 20:56:20 she is 100% a stacy Nov 06 20:57:00 sir_galahad_ad: I wonder what happened to those old people. Nov 06 20:57:07 I think r0gue_code is in ##csharp. Nov 06 20:57:23 my sweet fantasy is jet fuel can't melt steel Nov 06 20:57:37 TacticalJoke: i've always assumed you are the smartest guy on the channel, what help could you possibly need Nov 06 20:57:48 No way. :s Nov 06 20:57:52 TacticalJoke: so you are from the computer golden era? Nov 06 20:59:13 how can i save data in list while using fragments Nov 06 20:59:15 From the 90s, I guess. Not sure how golden that era is. Nov 06 21:00:01 the computer golden era is pre PHP Nov 06 21:00:14 asdasd: where does your data come from Nov 06 21:00:46 g00s: the golden era is when software developer is respected and people are actually willing to pay anyone that has some IT knowledge to work Nov 06 21:00:47 i added to edittext than click add button. it adds to list Nov 06 21:00:49 like the 80s Nov 06 21:01:06 asdasd: Should be able to save to the Bundle in Fragment.onSaveInstanceState. Nov 06 21:01:15 asdasd: why on earth would you want to save that Nov 06 21:01:34 asdasd: setRetainInstance(true) until you know better Nov 06 21:01:36 horny-sama you are confusing things with the uber economy Nov 06 21:01:48 which cuts across all things Nov 06 21:01:50 g00s: how so... Nov 06 21:01:51 when i change portraid to landscape mode Nov 06 21:02:14 TacticalJoke which fragment? Nov 06 21:02:17 tfw, your work is outsourced Nov 06 21:02:21 asdasd: The one containing the ListView. Nov 06 21:03:47 i don't have list view Nov 06 21:03:54 array list you mean ? Nov 06 21:04:15 You said you have a ListView whose contents is cleared on screen rotation. Nov 06 21:04:35 squirrel i have to use saveInstanceSatate Nov 06 21:04:54 are* Nov 06 21:05:33 actually not a listview Nov 06 21:05:44 listfragment but contains nothing Nov 06 21:06:20 A ListFragment has a ListView. I don't see the point of using ListFragment, though, personally. Nov 06 21:06:28 In fact, I wonder why you're even using Fragments for this. Nov 06 21:06:51 It is homework Nov 06 21:07:35 inside list fragment should i use oncreate then inside saveInstateState ? Nov 06 21:08:04 Anyone know which chipset lg-h631 uses for wifi? Nov 06 21:08:53 asdasd: go and watch the first 100 videos in https://www.youtube.com/watch?v=hzrGAZnMOMQ&list=PLonJJ3BVjZW6hYgvtkaWvwAVvOFB7fkLa Nov 06 21:09:05 Or how to find out? lspci returns nothing whats the android equivalent for lspci Nov 06 21:09:59 asdasd stop asking us your homework questions Nov 06 21:10:13 Hey! I'm trying to fix a vertical line after an edittext field(with java code and not xml) but the line is at the wrong place(after the button instead of after the EditText field). I tried randomly commenting out line 22 here: http://pastebin.com/9vXc6x8j and then the line showed up. Do anyone know why? Nov 06 21:11:07 g00s you can help then i won't ask Nov 06 21:11:26 who can i ask ? i have noone to help me Nov 06 21:11:34 your teacher Nov 06 21:12:14 asdasd: i gave you a link with nice tutorials, go learn something first Nov 06 21:13:01 squirrel: thanks but it is about activity i asked about fragments Nov 06 21:14:00 they have tutorials about fragments as well, sheesh Nov 06 21:15:07 95% of programming is looking up stuff, you'll have to google 100s times a day and you better start now Nov 06 21:15:52 just read the source! Nov 06 21:16:13 Zajt: Try using Color.RED somewhere. Nov 06 21:16:22 Also, you might as well use XML for this. Nov 06 21:16:26 asdasd: http://www.catb.org/esr/faqs/smart-questions.html https://stackoverflow.com/help/how-to-ask Nov 06 21:17:09 TacticalJoke: why should I use Color.RED? I did this small design in xml but I wanna do it in java code as well Nov 06 21:17:57 Zajt: Why not? Red is good for debugging. :D Nov 06 21:18:06 What if you have two blacks? Nov 06 21:19:02 yeah true I changed to Red but there is no difference of course Nov 06 21:23:19 Zajt: Only had a quick look, but maybe commenting out that `setY` call will fix it. Nov 06 21:27:31 I am getting an error when i try update with Android SDK Manager, it say don´t have URL to "Android Auto Desktop Head Unit Emulator, revision 1.1" Nov 06 21:27:34 Downloading Android Auto Desktop Head Unit emulator, revision 1.1 Nov 06 21:27:38 Download interrupted: URL not found. Nov 06 21:27:52 how fix it? Nov 06 21:29:03 http://i.imgur.com/hWZjPl6.png Nov 06 21:38:41 anyone got a tutorial on setting it so your app starts with android? Nov 06 21:39:32 nvm think i found one Nov 06 22:10:43 Got my 6P, who jelly? Nov 06 22:10:53 I am jelly of your usb c cable Nov 06 22:11:41 i don’t think you’re ready for this jelly Nov 06 22:12:19 * dharrigan was told by Google today that my order for the 6P was delayed, but should be here next week, so have £20 off your order. Nov 06 22:12:25 So I can wait :) Nov 06 22:13:52 refunded, or as play credit? Nov 06 22:13:58 refunded Nov 06 22:15:06 To quote: "As a courtesy, we’ll expedite your order at no charge and also give you a £20 refund on your purchase, which we’ll process soon after your phone ships." Nov 06 22:16:45 explodes,Lucky i was thinking of get the same phone.How big it is? Nov 06 22:17:18 perlsyntax: People were saying it was HUGE, I went from a G4 to the 6P and it ain't even a thing. Nov 06 22:17:44 Going from the Nexus to the LG G3/G4 was a dramatic difference, but I'm very much comfortable with these phones Nov 06 22:17:51 From the Nexus 5 ** Nov 06 22:18:00 explodes,How much gb you get? Nov 06 22:18:05 It's SUPER thin. I was blown away. Nov 06 22:18:07 64GB Nov 06 22:18:34 explodes,So it better then the nexus 6:D Nov 06 22:18:52 perlsyntax: yup. I strongly dislike the feel of the nexus 6 Nov 06 22:19:27 explodes can you bend it in half ? Nov 06 22:19:35 explodes,I got the nexus 6 but i was thinking of 6p for my android prgramming. Nov 06 22:19:37 Gonna try in a minute here Nov 06 22:19:43 lol don't Nov 06 22:19:54 Will it blend? Nov 06 22:20:04 perlsyntax: honestly programming with stock android could bite you, things should work just work. test on a Samsung because they're very much problematic Nov 06 22:20:26 perlsyntax: Samsung G3. Nov 06 22:20:31 All the problems ^ Nov 06 22:20:40 explodes,I don't like my nexus 6 it take forever to get android 6.:( Nov 06 22:20:48 Stock Android enables us to step into framework code, though. It's really handy. Nov 06 22:20:49 perlsyntax: dude, sideload it Nov 06 22:21:16 i got from att i was told it was locked. Nov 06 22:21:34 if that true. Nov 06 22:21:46 I don't know how much I believe that. You probably know, but: https://developers.google.com/android/nexus/images?hl=en Nov 06 22:22:17 explodes,That att for you. Nov 06 22:22:23 debugger -> oem unlock enabled -> `fastboot oem unlock` -> ./flash-all.sh done Nov 06 22:22:36 s/debugger/developer options/ Nov 06 22:22:50 i see Nov 06 22:27:31 Max-P: man, I've tried probably a dozen times now to get 6.0 to even boot ... I just give up Nov 06 22:28:00 I can boot a 6.0 image on Windows 7 with HAXM. Nov 06 22:28:44 I'm on OS X El Capitan and it just gets stuck Nov 06 22:29:14 Does it say that HAXM is running? Nov 06 22:29:25 previous APIs would have spurious animation / redraw latency that would result in the screen becoming frozen for 5-10 seconds randomly Nov 06 22:29:29 yes Nov 06 22:29:46 explodes, is the Nexus 6p a lot better than the g4? Nov 06 22:29:56 I love the HELL out of my G4. Nov 06 22:30:07 But I love this 6P Nov 06 22:30:28 I wanna buy a phone and the 6P will take a month to get to europe ._. Nov 06 22:30:55 Worth the wait. Nov 06 22:31:21 Alright Nov 06 22:31:32 I want the Z5 Compact, but it'll take a few years for the price to become sensible. Nov 06 22:31:45 Only negative thing I could say about it is that I regret choosing white a little bit Nov 06 22:32:00 By then we'll all be using Kotlin and living the high life. Nov 06 22:32:12 TacticalJoke: Are you high on Kotlin right now? Nov 06 22:32:13 or dart :| Nov 06 22:32:22 or Xamerian :D Nov 06 22:32:32 Just kicking, please don't ban me Nov 06 22:32:33 I'm ~7.5. Nov 06 22:32:40 kidding* Nov 06 22:32:53 g00s: Yeah, I don't like the sound of that. If we're gonna change VM and everything, we want, at the very least, a statically typed language. Nov 06 22:33:28 unless it's python. i'll settle for that Nov 06 22:33:32 your app can be static typed language; the part thats on the cloud :P Nov 06 22:34:27 Why would they even bother with "optional typing". Makes no sense to me. Nov 06 22:34:32 Static typing has won. Get with the times. :D Nov 06 22:34:49 g00s,You use the cloud for your app i take it? Nov 06 22:35:32 perlsyntax no, we're just playing around with chromedroidOs Nov 06 22:36:01 g00s,oh i thought you where use it.i bad Nov 06 22:36:32 brb Nov 06 22:37:45 hey, so I'm pretty new at Android. Basically right now I'd just like to have a application that when ran displays a alert with a OK option. That's all I want the program to do, no foreground application presence or anything. Just a simple alert when the application is ran. anyone know a good tutorial for this? Nov 06 22:38:27 angrytortoise just start reading the training stuff on d.android.com Nov 06 22:38:42 explodes,Let me how good your app run on it:) Nov 06 22:39:00 this program is going to have minimal user interaction, basically it'll run on start up and prompt the user if it wants to cancel the program from running, and if not after 15 seconds then it will run a serious of input commands Nov 06 22:39:52 series* Nov 06 22:40:40 g00s that's what I've been doing I've been fussing with hello world and buttons and so forth but basically I want *no* foreground presence of the application Nov 06 22:40:57 click app -> alert box Nov 06 22:42:03 angrytortoise theme the activity as a dialog Nov 06 22:42:50 ah! okay. I'm used to C and a simple main function and running whatever subs below it in a consecutive order. I'm a baby with OOP xD Nov 06 22:42:55 omg Nov 06 22:43:09 i seriously was just passed on a job that I thought the interview went exceptionally well Nov 06 22:43:13 and I was really excited Nov 06 22:43:24 Sarah maybe try #jobs Nov 06 22:44:02 g00s: what's there? Nov 06 22:44:20 this is android dev, not jobhunting stories ;) Nov 06 22:44:28 https://www.dropbox.com/s/kg9r7xksmmljx20/Screenshot%202015-11-06%2016.44.10.png?dl=0 Nov 06 22:44:32 ah, that explains it Nov 06 22:44:33 not seeing a "dialog" activity in the android studio under "add an activity to mobile" Nov 06 22:44:49 angrytortoise you have to add the theme to the manifest Nov 06 22:45:03 google it, at least 5 years worth of blogs you can find Nov 06 22:45:05 Dat "NS" naming convetion doe. Nov 06 22:45:14 convention* Nov 06 22:45:15 so, start with a blank activity and add the theme to the manifest yeah? Nov 06 22:45:27 g00s: well, it was for an android development job, i was going to discuss the android stuff they asked, but ok Nov 06 22:50:03 Sarah: > getting a job instead of welfare Nov 06 22:50:03 lol Nov 06 22:50:14 angrytortoise: What you’re trying to do is rather unusual Nov 06 22:50:54 yeah s73v3r so my plan is the following. the dude is already using freps to automate his clicking so my app is just going to handle rebooting phone and clicking a few *non-related ad things(yes it's still unethical)* Nov 06 22:51:33 i was referring to the “pop a dialog without having an activity underneath" Nov 06 22:51:37 basically, app runs at startup, a few su input swipes, then a timer for reboot Nov 06 22:52:01 angrytortoise what in gods name are you doing, that sounds really weird Nov 06 22:52:03 when the app starts with the phone it'll prompt the use "do you want to run this program it will run automatically in 15 seconds" then begin the automation process Nov 06 22:52:06 Is there some idiom for doing some kind of static operation that requires some object for concurrency? Nov 06 22:52:21 requires some object on the stack to execute, but doesn't need it past the scope Nov 06 22:52:26 that is concurrent but also fast Nov 06 22:52:31 i don’t think an app is the right way to do what you’re trying to do Nov 06 22:52:31 android starts -> prompt dialogue -> if yes then automate swipes & start reboot timer Nov 06 22:52:33 for instance, often you have to pass in a rect to something Nov 06 22:52:53 but i want that rect to be invisible inside the class doing the execution Nov 06 22:53:56 so you want a class to operate on an object, but not know what that object is or refer to it? Nov 06 22:54:07 no Nov 06 22:54:14 I could bash script this in a matter of seconds but bash seems to throw issues if it runs in the background, and I've found that if I use "Runtime.getRuntime().exec("input swipe x y"); that'll work nicely Nov 06 22:54:19 i just want to safely reference some object when doing a transformation Nov 06 22:54:34 what's the best way to do that, like init some private pool inside that util class Nov 06 22:54:36 angrytortoise: Use the stuff used for automated UI testing Nov 06 22:54:44 for instance, take some string transformation where you need a stringbuilder Nov 06 22:54:53 but you want it to be thread safe Nov 06 22:55:05 you could do new StringBuilder eachtime the transform method is called Nov 06 22:55:07 OR pass in one Nov 06 22:55:18 but i'd like this util class to be self consistent Nov 06 22:55:22 the program needs to be able to run by itself. I've looked at monkeyrunner etc. but I'm thinking from a C standpoint where I could literally have one main function and a while loop do the whole thing >_< Nov 06 22:55:30 so the stringbuilder will live statically inside, and I don't want to block on it Nov 06 22:55:33 IE, not connected to a computer Nov 06 22:55:42 lasserix are you thinking about ThreadLocal or something ? Nov 06 22:55:45 angrytortoise: There’s not really any good options for on the device itself Nov 06 22:56:02 I’m telling you, you want to use something like Appium or Espresso Nov 06 22:56:11 as I understand it the Runtime.getRuntime().exec("input swipe x y"); will handle all my needs as though it we're running as a script Nov 06 22:56:14 g00s probably Nov 06 22:56:16 kay Nov 06 22:56:20 just i meant a general pattern for this Nov 06 22:56:35 like init a pool where you have pool size = max simaltaneous thread count Nov 06 22:56:37 is espresso going to be dependent on a computer or will it be able to operate stand alone? Nov 06 22:56:40 or something? Nov 06 22:56:42 err + 1 Nov 06 22:56:53 it would be dependent on a computer, but based on what you said eariler, it shouldn’t matter Nov 06 22:57:14 you could control it with bash scripts which could issue ADB reboot commands every so often Nov 06 22:57:21 it will because the person who will be using my program couldn't reinstall windows or reset his own bios Nov 06 22:57:40 shouldn’t matter, just set it up as an appliance or server Nov 06 22:57:45 they wouldn’t have to touch it Nov 06 22:58:37 well the problem it has to be stand alone, no computer interaction, hence why I was originally thinking SL4a might be an option Nov 06 22:59:10 that's the job description heh. stand alone program to automate a few swips, start freps and reboot phone Nov 06 22:59:25 what is freps Nov 06 22:59:26 which makes absolutely no sense, as having it tethered to a computer would make it much easier Nov 06 22:59:52 this guy is going to be running the application on much more than one phone Nov 06 22:59:58 he's got like 10 of this huawei crap phones Nov 06 23:00:13 right, which makes controlling it with a computer much more attractive Nov 06 23:00:41 adb shell doesn't even work when I try and use it with more than one device connected to my computer, am i missing something here? Nov 06 23:01:01 if you have more than one device, you have to specify the device you’re talking to Nov 06 23:01:15 hmmmmmm Nov 06 23:01:26 plus, now the battery issue isn’t a problem Nov 06 23:01:47 frep = finger replayer ? Nov 06 23:02:09 well the thing is, in the event this guy doesn't have a computer in his posession he wants to be able to run the program Nov 06 23:02:26 i want a lot of things Nov 06 23:02:33 "Frep" sounds like a Reddit term. Nov 06 23:02:35 let's say espresso isn't an option, what's the next best solution. and yes g00s Nov 06 23:02:43 from what he told me, i've never used it. Nov 06 23:02:47 and considering you would only need a crappy PC to do it Nov 06 23:03:28 the next best solution would be looking into accessibility stuff. LIke things for the blind, and those with other disabilities Nov 06 23:05:14 s73v3r I've already got the concept completed. I use the Runtime class(?) to execute input commands just like a bash script Nov 06 23:05:41 and the apk would run in the background just like a system service, the only interaction that would ever transpire would be a dialogue on boot Nov 06 23:06:06 so just have that in an activity. trying to display a dialog with no backing behind it doesn’t really make sense Nov 06 23:06:26 that's what g00s recommended is a dialog activity Nov 06 23:06:35 run dialog activity at start up go from there Nov 06 23:07:32 I set my activity to retained with setRetainedInstance(true) and now this fragment refuses to die! Nov 06 23:07:52 When I use back button then start the fragment again, its the same fragment Nov 06 23:08:14 I meant, I set my fragment to retained Nov 06 23:08:33 I want to kill this fragment when I leave the activity Nov 06 23:09:05 i think you don’t want it to be retained, then Nov 06 23:09:25 if I set setRetainedInstance(false) in my onBack() method, then when I recreate the activity it crashes Nov 06 23:09:49 I do want to retain the fragment on screen orientation changes, but when the activity is left, I do not want it retained anymore Nov 06 23:11:34 TacticalJoke i notice in landscape, some GApps still have tabs in the Toolbar, presuming they didn't use NavigationMode=tabs, they must have just put the TabWidget as a child ? Nov 06 23:11:43 smallfoot-: Hmm, I would expect it not to retain after Back. Nov 06 23:11:59 i mean, a normal height toolbar (not extended height with tabs on the bottom) Nov 06 23:12:04 g00s: I haven't done much tab stuff on Android. :s Nov 06 23:12:20 TacticalJoke, me neither. But after back, the activity gets left. Then I create the activity again, and it has retained it... Nov 06 23:12:44 How do you know it's retained it? Nov 06 23:12:59 is there anyway to do function pointer in java without objection creation>? Nov 06 23:14:41 TacticalJoke, because the state seems to be there, everything inside that was entered is still there Nov 06 23:17:22 lasserix, what? Nov 06 23:17:31 lasserix_: I don't think there is a way in normal Java code. But sometimes we can reuse the object (rather than instantiate every time). Nov 06 23:18:02 canvs2321-: i just want functional pointers Nov 06 23:18:04 like i have an enum Nov 06 23:18:14 and each element has a set of transform methods (that are static) Nov 06 23:18:46 one way is to do like class Transform then abs transf which then points to that static then in the enum constructor... Nov 06 23:18:57 are you able to show an example? Nov 06 23:18:58 but that mixes the emum with an implementation detail Nov 06 23:20:55 uh Nov 06 23:20:59 no Nov 06 23:21:04 not right now i really got to just work Nov 06 23:21:08 not enough brain power Nov 06 23:21:48 i guess if using static methods, there is no need for object creation Nov 06 23:22:55 no there is need if you have subtypes Nov 06 23:24:35 not subtypes i mean Nov 06 23:24:37 just sets Nov 06 23:24:53 when you get it figured out come back Nov 06 23:28:03 canvs2321-: http://pastebin.com/j7naxA5e Nov 06 23:28:11 no i have it figured out just working off 15 minutes of sleep Nov 06 23:28:27 and the api for this app is bad and the UI is very, very inconsitent Nov 06 23:28:46 so i have to hande like n! edge cases where n is the number of cells killed by answering idiotic questions Nov 06 23:30:02 oh that should be new TriangleArea Nov 06 23:30:07 etc etc Nov 06 23:30:12 in the enum constructor parameter Nov 06 23:30:15 *as the enum arg Nov 06 23:32:10 can GoogleAuthUtil be used for my own SSO keys, or does it only work with Google's keys? Nov 06 23:35:35 http://hardware.slashdot.org/story/15/11/06/2120235/report-google-wants-to-design-its-own-smartphone-chips Nov 06 23:35:46 google learns if you care about sw, you have to design your hw Nov 06 23:36:11 how innovative! Nov 06 23:36:43 ClipData.newPlainText takes a label and some text. Is the label important? (Google isn't showing much, and grepping the source isn't helping much either.) Nov 06 23:36:46 it's brilliant! Nov 06 23:37:00 On a side note, I hate grepping the source. Nov 06 23:38:00 k, so I'm making a method: public Execution() throws IOException{ Runtime.getRuntime().exec("su"); } what type of return type should I use, it's just going to run a series of execs. Total OOP noob here, been years since I've played with it >_> Nov 06 23:38:40 what would you return in a non OOP language? Nov 06 23:38:46 0 Nov 06 23:39:09 0? Nov 06 23:39:11 ^guessing i answered my own question? Nov 06 23:39:12 lol Nov 06 23:39:22 Returning 0. #justcthings Nov 06 23:39:45 cant tell if serious or not Nov 06 23:39:45 lol Nov 06 23:40:09 well, if you already are throwing an exception, then you could jsut return void Nov 06 23:40:20 angrytortoise: Isn't `void` returnable in any modern C? Nov 06 23:40:26 yeah Nov 06 23:40:46 Your question had me thinking: what if we return IOException? `public IOException execute() { return new IOException(); }` Nov 06 23:41:16 Okay, don't take that seriously. It's that crazy time of night. Nov 06 23:41:23 xD Nov 06 23:42:44 TacticalJoke: then developers who are used to 0 meaning failure will break your code Nov 06 23:43:28 TacticalJoke: or is that not standard in java? Nov 06 23:43:36 Doesn't `0` usually mean success. :s Nov 06 23:43:45 i don’t believe it is standard in java to do that Nov 06 23:43:59 why would you return an error code when you could throw an exception? Nov 06 23:44:05 I knew I should have never used public static property in my class, it always fucks things up and retains things Nov 06 23:44:09 Yeah, that's an ancient practice. Definitely not suited to Java. Nov 06 23:44:12 java is -1 for errors (indexOf, streams...) Nov 06 23:44:20 I thought it was my fragment that was retained, it was not. It was the static property that was retained Nov 06 23:44:24 TacticalJoke: I don't know, it depends on who you ask I guess Nov 06 23:44:34 proq: No, it's an ancient practice. Nov 06 23:44:35 static properties are weird as fuck on Android Nov 06 23:44:46 People using int return values for errors in Java are getting it completely wrong. Nov 06 23:45:11 smallfoot-: They have process lifetime. They should be predictable. Nov 06 23:45:16 smallfoot-: I don’t see what’s weird about them. That is the behavior I would expect Nov 06 23:45:47 hmm, true thats how they should behave... Nov 06 23:45:56 its just me being dumb Nov 06 23:46:07 and abusing static properties, so I can reach them outside the class without instantiating it Nov 06 23:46:18 then whining when the data is still there after i create a new instance Nov 06 23:46:25 smallfoot-: not static properties, static methods Nov 06 23:46:29 smallfoot-: What data are you keeping in a static field? Just wondering. Nov 06 23:46:37 TacticalJoke, a WebView Nov 06 23:47:03 *canned laughter plays* Nov 06 23:47:04 No, really. Nov 06 23:47:15 and why do you need to access it outside the class? Nov 06 23:47:56 heh, after googling a few of my mistakes all my OOP knowledge is slowly coming back xD Nov 06 23:48:15 90% of my class was C and 10% was java lol Nov 06 23:48:15 s73v3r: so he can taint the rest of his app with web vulnerabilities? Nov 06 23:48:27 has the Android team ever mentioned the desire or interest in supporting languages other than Java (i.e., Go, Dart, whatever) Nov 06 23:48:45 android team themselves? no, they’re staunchly in the Java camp Nov 06 23:48:51 I know JVM-compatible languages are supported Nov 06 23:48:54 s73v3r, no good reason, just me being dumb Nov 06 23:49:00 Sarcasm aside, it's generally really bad to do that. If you don't clear that field then the WebView stays in memory until the process dies. Nov 06 23:49:03 the teams that work on those languages have worked on getting android compatibility Nov 06 23:49:04 just wondering if first party interest is there Nov 06 23:49:29 And I think the WebView holds onto its containing activity. Nov 06 23:49:29 they haven’t even expressed interest in newer versions of Java Nov 06 23:49:36 right Nov 06 23:49:46 i.e., java8 = never gonna happen Nov 06 23:50:59 which is terrible, because the newer versions of Java have some pretty awesome stuff Nov 06 23:51:17 value types FTW Nov 06 23:51:34 the relationship between android and java is very intersting Nov 06 23:51:38 *interesting Nov 06 23:51:53 given the oracle lawsuit Nov 06 23:52:30 <-- probably reading too much into it Nov 06 23:52:51 Oracle is essentially Microsoft's henchman Nov 06 23:52:57 Sun was not. Nov 06 23:53:16 Sun had nowhere near the money nor the power to take on Google. Oracle does Nov 06 23:53:47 Oracle does because Microsoft pays them to :P Nov 06 23:53:54 no they don't Nov 06 23:54:11 Oracle has buttloads of money on their own Nov 06 23:54:40 besides, Microsoft makes more money from patent licensing to Android OEMs than they do on Windows Phone sales Nov 06 23:54:40 yeah, so Google should just throw out Java in favor of C# and JVM in favor of CLR Nov 06 23:55:01 no. Nov 06 23:55:18 that's pretty dumb to get sued over a language like java when you have so many modern languages to choose from Nov 06 23:55:44 at least with Java, there are good IDE choices available on all platforms. With C#, there’s either VS on Windows, or go fuck yourself Nov 06 23:56:12 there is MonoDevelop Nov 06 23:56:24 and Xamian Studio Nov 06 23:56:34 i said GOOD IDE choices Nov 06 23:57:09 well google could patch up Android Studio to deal with C# Nov 06 23:57:27 I don’t believe that would be an easy task Nov 06 23:59:33 this is also ignoring the fact that they wouldn’t be able to introduce a C# native runtime until the Android N, and developers wouldn’t be able to really use it for a while, as they’d still have to support older versions, which would require Java Nov 07 00:00:15 true Nov 07 00:00:54 but coding Android with Java 6.5 is boring Nov 07 00:01:33 Java 6 mostly, if explicltly only targeting recent Android versions, then Java 6 with parts of 7 Nov 07 00:04:26 Is it possible to disable lint in Android Studio for the asset directory Nov 07 00:04:28 ? Nov 07 00:07:18 Anyone have a merge bitmap utility function for me? Nov 07 00:09:16 s73v3r VS Code is actually pretty nice (on OSX & linux) Nov 07 00:09:33 but it’s just an editor. It’s not an IDE Nov 07 00:09:40 i kinda prefer it to the bloat of eclipse / intellij Nov 07 00:09:49 s73v3r it has IDe features, like git integration and project view Nov 07 00:09:57 and debugging Nov 07 00:10:04 there’s more to an IDE than git and project view Nov 07 00:10:13 not much for me ;) Nov 07 00:10:44 maybe not for you, but for many of us Nov 07 00:10:48 s73v3r and autocomplete, etc Nov 07 00:10:59 i doubt it’s a semantic autocomplete Nov 07 00:11:09 s73v3r what does an ide give you over project view, VC integration, debugging, autocomplete ? Nov 07 00:11:18 s73v3r sure it is, because it asks the compiler Nov 07 00:11:19 much better autocomplete, for one Nov 07 00:11:35 most of the tools inside of AS Nov 07 00:11:58 it gets all of the analysis from rosylyn Nov 07 00:12:11 is there a numberic keyset map where if keyset is like { 1, 5, 10) i can go like 1.3 and it'll give me mapof(1) and if give it 5 it'll give me mapof(5) etc? Nov 07 00:12:11 and the stuff while it’s running? Nov 07 00:13:04 I wish they gave us the real Visual Studio on Linux instead of VS Code Nov 07 00:13:25 that would never happen. Nov 07 00:13:44 i dont know - i wouldn't rule it out Nov 07 00:14:35 always strange things going on, like MS & Red hat inking deal Nov 07 00:15:27 true Nov 07 00:20:15 MS & Canonical too Nov 07 00:20:20 MS & Xamian Nov 07 00:20:40 MS contributing to Mono, MS open sourcing parts of .NET, CLR, Roslyn Nov 07 00:21:19 todoAdapter = new ArrayAdapter(this,android.R.layout.simple_list_item_1,this.todoItems Nov 07 00:21:32 what is wrong with this code? Nov 07 00:22:10 it says cannot resolve the constructor Nov 07 00:22:40 no closing parenthesis? And I believe you’re supposed to give the ID of the thing in the view that it can put the string into Nov 07 00:22:53 * p_l recalls reading some older books and finding evidence of how MS used to be "the cool company" and spearheading important quality-increasing approaches like daily (nightly) builds Nov 07 00:23:37 i guess you could look at the ArrayAdapter constructors and compare yours to those listed Nov 07 00:23:38 todoAdapter = new ArrayAdapter(this,android.R.layout.simple_list_item_1,this.todoItems); Nov 07 00:24:10 closing paranth. Nov 07 00:24:14 sorry Nov 07 00:27:09 Basically, your problem is that you’re not passing the right type of arguments, or the right amount, or both, to the constructor Nov 07 00:28:00 yes i got it.but i cannot solve it Nov 07 00:31:55 you’re giving it a Context, an Int (a ResId), and an array Nov 07 00:32:24 do you see a constructor on ArrayAdapter that takes those three arguments? Nov 07 00:33:37 yes Nov 07 00:34:03 ArrayAdapter(Context context, int resource, List objects) Constructor Nov 07 00:35:56 what is idiomatic for deleting items from a list on Android? Nov 07 00:36:29 swipe Nov 07 00:36:30 or button Nov 07 00:36:58 gdgdgd: You are calling that inside of an Activity, right? Nov 07 00:37:07 yes Nov 07 00:37:19 noo Nov 07 00:37:24 in fragment Nov 07 00:37:26 lasserix_, what widget does swiping? Nov 07 00:37:29 that’d be your issue Nov 07 00:37:34 use getActivity() Nov 07 00:37:40 but make sure to check it for null, first Nov 07 00:37:43 there is some guide to implementing it prety easy with recycler view Nov 07 01:21:50 the three-dot menu is the best on android, imo Nov 07 01:22:07 swiping not good because of widespread viewpager use Nov 07 01:45:59 well swiping is implicit Nov 07 01:46:05 your users have to know about it Nov 07 01:46:16 most do because that is how most g apps work Nov 07 01:46:30 so implicit swiping is fine, but you still want explicit control Nov 07 01:46:34 eg dots or what have you Nov 07 01:51:01 looking at the top apps in Play Store is depressing Nov 07 01:51:05 all garbage Nov 07 01:53:31 robolectric doesn't find my resource String ids when it runs my tests, what's the best way to handle this? i.e., the code i'm testing does a getString(R.string.something) ... and it throws a Resources$NotFoundException Nov 07 01:59:55 i want to declate that my abstract class returns an object that extends AbstactListViewDialog. How would I do that? Nov 07 02:01:32 Does this work? public abstract T newInstance(); Nov 07 02:13:24 anyone know if libstagefright can be used to gain root ? Nov 07 02:15:19 whats the call to make just a bitmap with nothing in it? **** ENDING LOGGING AT Sat Nov 07 02:59:59 2015