**** BEGIN LOGGING AT Thu Jan 28 02:59:59 2016 Jan 28 03:00:16 Anyone here into social type apps? Jan 28 03:00:16 HenriettaSalt that sounds vaguely like this article i read a few days ago http://hannesdorfmann.com/android/adapter-delegates/ Jan 28 03:02:40 g00s: Thanks, I'll take a look. Jan 28 03:19:37 I keep seeing exceptions thrown, and a message printed from com.android.ddmlib.PropertyFetcher#handleException - is anyone available to help me find a solution? Jan 28 03:20:47 i'm using android studio, and this exception keeps spamming the logs Jan 28 03:31:44 Do you guys keep a separate branch of your project for developing features? Jan 28 03:32:10 *git branch Jan 28 03:37:32 I don't Jan 28 03:37:42 Everything in master Jan 28 03:38:19 And I think I really should start learning how to separate by branch Jan 28 03:44:28 br0mahn: Not much need, unless you are multiple developers and you have long-running developments that can't be merged into mastr once it's done Jan 28 03:48:14 I haven't had experience working with multiple developers yet, but how does a dev team collaborate using branches? I mean does the project structure is splitted into a backend and frontend, for example? Jan 28 03:48:20 depends, for the most part, no Jan 28 03:48:32 for personal projects, just about never Jan 28 03:49:27 for some client projects, yes Jan 28 03:49:30 for big teams, always Jan 28 03:51:30 * loke_ creates a branch once every few months on my personal projects. Usually when I want to try something completely new that implies rewrite of a large part of the application, which I might eventually want to drop if the experiement fails. Jan 28 03:56:20 for dayjob-website, I've got master, and one branch for a major redesign I've been working on since June or so Jan 28 03:56:33 when I say working, it's more like 'working' Jan 28 03:58:22 Hello l33dz0r. Jan 28 03:58:29 (look how 31337 I am) Jan 28 04:01:15 01-27 19:59:45.081 8729-8729/com.hanhuy.android.irc.lite W/ResourceType﹕ No known package when getting name for resource number 0x7e00000e Jan 28 04:01:20 ugh, wtf am I seeing this spammed in logcat Jan 28 04:01:42 loke_, that's easy, just rebase it out, or check it out later and turn it into a branch Jan 28 04:02:43 I never use rebase (I have idealogical opposition against it) Jan 28 04:02:55 lol, i love rebase :D Jan 28 04:03:06 I rebase regularly Jan 28 04:03:24 Good for you. :-) Jan 28 04:04:23 I find rebase distasteful only if I've been using svn forever Jan 28 04:04:34 I never allow any modification of history. Once it's in the repository it's fixed. Othrwise, repository archeaology becomes impossible. Jan 28 04:05:06 you never rebase anything you share with others Jan 28 04:05:32 but while it's your own private thing, rebase as much as necessary to clarify and cleanup Jan 28 04:05:52 if you dont do some cleaning up of history, it winds up reading like twitter timeline Jan 28 04:05:53 and rebasing doesn't eliminate history inspection Jan 28 04:06:04 pfn: Right, but I generally push to master as soon as the damn thing runs :-) Jan 28 04:06:53 And if I want to work on an individual change for more than a couple of committs, I create a branch and push that branch to master Jan 28 04:07:35 whatever works for you loke_ Jan 28 04:08:08 g00s: It does work for me. I just explained what I do. Jan 28 04:14:51 Looks like more than branching I need to follow some MVP so that the code remains clean and well organized. Jan 28 04:18:43 sudhirkhanger are you familiar with SOLID / clean architecture ? Jan 28 04:21:51 g00s: No I am not. I recently started watching a video from Uncle Bob. Jan 28 04:23:08 yeah this was posted today https://vimeo.com/43612849 Jan 28 04:24:40 hmm Jan 28 04:24:45 Yep that's the one. Jan 28 04:25:36 i got a relativelayout for showing a popup. if i tab on this layout, i press on button "under" this layout.. how to make it not "through-clickable"? Jan 28 04:43:05 KoalaB: You have to return true from the handler, otherwise it gets sent to the one underneath Jan 28 04:58:05 hi there. question. i have a android app that plays music streaming thru the internet via mediaplayer and audiostreams Jan 28 04:58:25 however my music stops when i turn off the screen. how to keep it going while the screen is off? Jan 28 04:58:44 i put the musicplayer function inside a doInBackground thing. and still it stops Jan 28 04:58:52 doInBackground/Asynctask Jan 28 04:59:45 music also stops when i press home button Jan 28 05:06:25 oh, yay, I fixed a concurrency bug Jan 28 05:14:41 I'm using an adapter to display a bunch of CardView objects. The objects follow a few sublcasses from a common Item (e.g. some of the cards show a picture, others don't). Is it bad practice to use the same layout XML file for this, and just keep some of the views hidden when not used? If so, what's the better option? Jan 28 05:36:20 Hey guys: http://imgur.com/a/b4WuF My searchview doesn't like getting smaller when there are less suggestions than before. Jan 28 05:36:32 it just becomes an ugly mess Jan 28 05:36:54 (if you backspace or whatever) Jan 28 05:55:53 g00s: what's news? Jan 28 05:56:09 a form of information Jan 28 05:56:47 tx: thanks a buch Jan 28 05:56:55 now I can continue my ignorant life Jan 28 05:57:21 thepoosh, <3 Jan 28 05:59:00 thepoosh, are you good at the android? Jan 28 05:59:25 that is a strange question Jan 28 05:59:36 You're quite welcome. Jan 28 05:59:41 hows israel thepoosh? :) Jan 28 05:59:45 I've been professionally programming for android in the past 3.5 years Jan 28 05:59:53 squ: a bit more relaxed this week thanks Jan 28 06:00:10 Perhaps you could assist me in my endeavor then? Jan 28 06:00:28 thepoosh, http://imgur.com/a/b4WuF Jan 28 06:00:34 how do you like v6 permission mechanism Jan 28 06:00:52 My searchview's dropdown list (for suggestions) doesn't resize when there are less results than previously listed. Jan 28 06:02:14 squ: we haven't even started dealing with this Jan 28 06:02:18 which is kinda stupid Jan 28 06:02:29 why? Jan 28 06:02:30 we are seeing security exceptions popping up Jan 28 06:02:43 exceptions? what do you mean Jan 28 06:02:58 tx: never dealt with those, but you should check the Filter and make sure it invalidates the view Jan 28 06:03:16 squ: if you revoke a permission the app throws an exception Jan 28 06:03:21 no Jan 28 06:03:21 if you run an app with a target SDK < API 23 Jan 28 06:03:36 I am assuming the apps still work yeah? Jan 28 06:03:41 thepoosh: if you revoke permission Activity which requested it pop away Jan 28 06:03:42 using the old permissions system Jan 28 06:03:46 the app works no matter what Jan 28 06:03:48 thepoosh: without crash Jan 28 06:03:57 or exc Jan 28 06:04:05 squ: that's why I started with us not touching that yet Jan 28 06:07:02 it is probably wise to wait half a year, because everything they released had bugs Jan 28 06:07:17 that sounds... normal Jan 28 06:07:29 yes, that's how android is Jan 28 06:08:03 they never test what they release Jan 28 06:10:34 I'm sure they do, it's just that if there's a bug it will surely appear multiple times Jan 28 06:12:04 no they don't Jan 28 06:33:40 My new Iconia Tab 8 is messed up, boo-hoo Jan 28 06:33:45 I guess I'll exchange it Jan 28 06:36:31 hey thepoosh Ologn Jan 28 06:36:38 hello Jan 28 06:36:45 iconia tab? Jan 28 06:36:53 what is that? Jan 28 06:36:53 Acer Iconia Tab 8 Jan 28 06:36:59 ewww Jan 28 06:37:09 sup g00s-man Jan 28 06:37:13 Only $99...maybe that's why it has ghost taps Jan 28 06:37:21 phantom taps Jan 28 06:37:27 sounds almost like the OPO Jan 28 06:38:02 thepoosh not much, by you ? working on full screen support in my app Jan 28 06:38:14 fullscreen support? Jan 28 06:38:20 kitkat immersive mode Jan 28 06:38:45 hmmm Jan 28 06:38:47 mmmkay Jan 28 06:38:54 i put minSdk=19 :D Jan 28 06:39:03 I'm working on some sort of new gamification feature I hate Jan 28 06:39:05 yolo Jan 28 06:39:05 yes, do it Jan 28 06:39:14 it's not like you have millions of users to piss off Jan 28 06:39:16 :P Jan 28 06:39:16 g00s: not hardcore Jan 28 06:39:39 I am not averse to setting minSdkVersion to 16, 19, 21 or 23 as appropriate Jan 28 06:39:41 true if you put minSdk=21... Jan 28 06:39:45 thepoosh lol, did the marketing droids decide to gamify ? Jan 28 06:39:59 product drones Jan 28 06:40:19 after I was in a winning team in a company hackathon Jan 28 06:40:40 and my group made a different gamification disgusting hack of shit Jan 28 06:40:59 but there's a nice dinner in it for me and my SO so... Jan 28 06:41:44 i hope you guys are coming up with a business plan in the meantime :D Jan 28 06:42:00 I need to start understanding how get better control over the SoftInput Jan 28 06:42:03 and it's something better than IoT fridge Jan 28 06:42:16 gordon_: lol Jan 28 06:42:26 we are also working on some IoT projects Jan 28 06:42:36 2 at the moment Jan 28 06:42:48 so send your team this: https://twitter.com/internetofshit you will laugh :) Jan 28 06:42:52 thepoosh so your company is branching out ? Jan 28 06:43:32 not really, everything is getting back to video messaging in the end Jan 28 06:43:46 gordon_: lolll Jan 28 06:46:33 thepoosh i hear they are making hamburgers out of unicorns now, is that kosher ? Jan 28 06:47:24 is it the reason why github wasnt working today ? Jan 28 06:47:49 gordon_: they are competing with bitbucket Jan 28 06:48:07 not only they were down yesterday, but their status page returned a 503 Jan 28 06:48:11 in which category ? fails per month ? Jan 28 06:50:41 I dont complain Jan 28 06:50:47 there's always gitlab ;) Jan 28 06:51:22 lol Jan 28 06:51:26 I think bitbucket has better pull request support Jan 28 06:51:27 yep, github was down Jan 28 06:51:32 didn't notice until the aftermath gitlab ftw Jan 28 06:51:41 we user bitbucket at work Jan 28 06:51:53 we use gitlab ee Jan 28 06:51:55 in the action bar, when you long press an action, you get a tip ... can you add that to arbitrary views ? Jan 28 06:52:31 g00s: you can probably make it yourself Jan 28 06:52:41 with some sort of TooltipView Jan 28 06:52:48 and an onLongClickListener Jan 28 06:52:53 was hoping for something obvious like android:tip="..." Jan 28 06:53:33 hmmm Jan 28 06:53:45 that will require custom xml attributes Jan 28 06:53:53 but can be done in your custom view :P Jan 28 07:47:13 devil gave us java syntax, god gave us IDEA Jan 28 07:48:47 vigilancer: obviously you never wrote code in perl or COBOL Jan 28 07:50:13 cobol no, perl yes Jan 28 07:51:29 well, they are the devil Jan 28 07:51:46 they are the foosball of languages Jan 28 07:53:20 vigilancer: Java Syntax isn't even that bad after you start writing annotation processors for everything. Jan 28 07:53:21 nice. can't imagine how anyone can be happy with perl. but it was quit popular few years ago Jan 28 07:56:19 in defence, package manager on openbsd written on perl, and it do not suck Jan 28 07:56:55 justJanne: missed that part in my evolution sadly Jan 28 07:57:11 *does not Jan 28 08:00:57 anyone tryied Quasar on android? Jan 28 08:02:50 why don't you be happy with perl? Jan 28 08:04:29 guys can anyone tell me should this pom work with dependencies? https://github.com/woorlds-sdk/android-sdk/blob/master/com/woorlds/woorldssdk/1.0.3-SNAPSHOT/woorldssdk-1.0.3-20160128.072306-3.pom Jan 28 08:04:51 $, @ , % , type-safety and so on Jan 28 08:06:01 vigilancer: ios objc adopted same syntax Jan 28 08:06:12 for lists and maps Jan 28 08:06:31 squ: and I always found it confusing Jan 28 08:06:46 so what Jan 28 08:07:35 you can create an object with new or with syntax sugar @… Jan 28 08:07:56 this is what java add for anonymous functions Jan 28 08:08:07 readability is measurable property of languge. with "wtf" as unit Jan 28 08:08:09 perl is unrelated to that Jan 28 08:09:00 are you happy with new java syntax () -> {} Jan 28 08:09:20 pretty much, yes Jan 28 08:09:33 so why you are unhappy with same thing in perl Jan 28 08:12:11 () -> {} saves few lines and looks.. comprehensive. @ looks like special character and add nothing except the posibility to use it Jan 28 08:12:28 what were changed from 4.* to 5.* and to 6.* version from app developer point of view ? were there new features added that one can use when writing an app ? and doesn't it mean that if programm uses new feature from 5.* it will render it incompatible with 4.* ? or app itself will recognize what version it runs on and will not use that feature if Jan 28 08:12:33 its not available ? Jan 28 08:13:04 waressearcher2: 42 Jan 28 08:13:45 :) waressearcher2 : http://developer.android.com/intl/ru/training/backward-compatible-ui/index.html Jan 28 08:15:06 squ: but most desirable feature to me is type-safety Jan 28 08:15:30 it could be checked when you enable warnings or run check Jan 28 08:17:44 perl is popular because it is good Jan 28 08:17:48 why my build doesn't include the dependencies? Jan 28 08:18:02 android & java is popular because it is cheaper than ios Jan 28 08:18:05 how can i see which pom is used during the build process? maybe its stale? Jan 28 08:18:22 squ: is perl popular? :) Jan 28 08:19:19 plz! :) Jan 28 08:20:23 squ: I mean about 4 years ago, my friend moved to python/ruby because there is no jobs for perl programmer, except legacy code support Jan 28 08:20:54 is there roadmap for new android version anywhere ? Jan 28 08:20:57 yes, python got popular Jan 28 08:21:26 vigilancer: I will take it to #perl Jan 28 08:21:59 yes, and imho mostly because of simple syntax Jan 28 08:22:54 you may write as simple as you like in any language Jan 28 08:23:31 mov ax,dx Jan 28 08:23:36 can you do it simpler ? Jan 28 08:23:40 wait Jan 28 08:23:44 inc ax Jan 28 08:24:00 final boolean showMessage = false; Jan 28 08:24:01 final boolean isPermission = Preview.permission(this, showMessage); Jan 28 08:24:01 if (isPermission) { Jan 28 08:25:08 https://www.youtube.com/watch?v=VS5-uYLiKmw Jan 28 08:25:18 :) time to do some work Jan 28 08:34:35 waressearcher2: eh, mov is already turing complete. So, yes, it can be simpler. Jan 28 09:21:00 What is the default background color for the Light AppCompat theme? Jan 28 09:26:10 See http://stackoverflow.com/questions/26583780/where-can-i-find-the-default-styles-for-theme-appcompat-light Jan 28 09:27:48 barq, thanks for answering. I have done that but strangely it doesn't match the actual color Jan 28 09:28:12 following styles shows the background color should be #fffafafa Jan 28 09:28:13 http://pastebin.com/bUrgn4rw Jan 28 09:28:31 however, Jan 28 09:29:12 I created a hello world app, added an id to the "hello world" TextView and wrote the following code: http://pastebin.com/HYgzdiKu Jan 28 09:29:28 the real background color is #FFEEEEEE Jan 28 09:29:39 logcat: Jan 28 09:29:40 D/MainActivity: AppCompatTextView->RelativeLayout->CoordinatorLayout->ContentFrameLayout->FitWindowsLinearLayout->FrameLayout->LinearLayout->DecorView->getBackground() = #FFEEEEEE Jan 28 09:34:42 hmm.. interesting. On my Nexus 9 the background color is #FFFAFAFA (as expected) but on my Moto X Style the color is wrong (#FFEEEEEE) Jan 28 09:44:25 hi, im using loopj for my rest api requests, and i'd like to change it with different http library.im thinking to use retrofit. any suggestions or tips about retrofit and other libs ? Jan 28 09:51:05 hi. how do you handle payments in your apps? I've read about: http://developer.android.com/training/in-app-billing/index.html but it talks about product. I need to process payments that depend on what do you select, so i don't have "fixed" product, simply because i don't know what the user will select. Any ideas? Jan 28 09:51:11 I've read about the paypal sdk and stripe sdk, what do you think about them? Jan 28 09:54:37 Never used to payments. Jan 28 10:04:58 I am trying to put a FragmentTabHost into Fragment.. I am having all kinds of problems with it… One of the problems is that I have used android.app.Fragment in many places and it seems to need android.support.v4.app.fragment.. Jan 28 10:05:29 If I change the API levels in the Android manifest… wil that help..? Jan 28 10:06:23 regan, so change your imports from android.app.Fragment to android.support.v4.app.Fragment Jan 28 10:08:42 I have writen 13068 lines of code in the two weeks I’ve been on the project and I’ve got almost all the web service stuff working …If change the imports the other code that references it breaks.. Jan 28 10:09:11 regan, you will need to use getSupportFragmentManager instead Jan 28 10:09:40 KLOC was always a good method of testing productivity Jan 28 10:09:42 NOT Jan 28 10:10:36 This is a gist of the code I am attempting to fix… https://gist.github.com/pymblesoftware/9fda66b1f1316c354c1f Jan 28 10:11:41 Oh, some of that code is freaking beautiful, java reflection to map attributes to columns and stuff but I have been banging away hard trying to keep this dumb ass job. Jan 28 10:12:09 I am kind of panicing and not thinking striaght Jan 28 10:13:48 regan: https://gist.github.com/pymblesoftware/9fda66b1f1316c354c1f#file-gistfile1-txt-L10 Jan 28 10:13:49 ?!?!?! Jan 28 10:16:17 If I change the fragments to support.v4 fragments it breaks the FragmentTransaction replace code… in this gist … https://gist.github.com/pymblesoftware/9d50171ee1ae5983159f Jan 28 10:16:58 regan, use act.getSupportFragmentManager() Jan 28 10:17:13 ^^ Jan 28 10:17:37 I don’t understand the revisions.. hang on one second and I will head back to Android Studio.. Jan 28 10:19:30 regan, not trying to be nosey, but "stock options" in a start-up is generally not a good idea https://gist.github.com/pymblesoftware/68222ece21041ac7ccac Jan 28 10:20:54 surf2b1: Oh, those guys were funny as… but there are up near where I surf… but anyways… I am shtting bricks over this Fragment host issue… brb.. Jan 28 10:25:39 I wonder when android will support percentage dimensions in xml Jan 28 10:25:51 it sorf of does. Jan 28 10:26:15 layout_weight=“.35” is 35%... Jan 28 10:26:31 Thats the way I use it. Jan 28 10:27:59 it doest support Jan 28 10:28:02 Hey Think you guys might have saved me… I think the act.getSupportFragmentManager() is going to work…its having issues.. but I think I can sort them out myself. Jan 28 10:28:04 you need to add support library Jan 28 10:28:19 and use PercentageLayout Jan 28 10:28:25 that was it's name again ? Jan 28 10:28:48 http://developer.android.com/tools/support-library/features.html#percent Jan 28 10:30:20 oh, didn't know this Jan 28 10:30:32 the framework changes faster than I can keep up Jan 28 10:31:20 regan: .35 is not 35% on a nested view in a linearlayout, for example Jan 28 10:38:46 oh, well live and learn… (about the .35 ) I think I have a heap of issues with the fragment tab host but I think I can maybe figure it out over the weekend. If I get stuck I am coming back.. thanks guys.. Jan 28 10:39:11 best of luck regan Jan 28 10:39:37 thanks… and good night (here)… Bye. Jan 28 10:41:48 Hi, I'm new to Android and am currently Testing my app. On my two devices everything works fine but on some other devices there seem to be some issues I cannot replicate. Is it somehow possible to emulate those devices within android studio? I googled a lot but cannot find anything helpful :/ I don't know how to fix those issues without actually seeing them Jan 28 10:42:15 are they android version specific Jan 28 10:43:38 like the bug occurs only in 4.1 Jan 28 10:45:36 not really, different android versions and different devices have different bugs :/ Jan 28 10:45:59 you think it's more depending on the android version than on the device type? Jan 28 10:46:32 depends on issue itself Jan 28 10:46:52 if this is device specific, you cant emulate it Jan 28 10:47:08 so emulating only works with different api versions? Jan 28 10:47:11 if this is android specific, it might occur in emulator as well Jan 28 10:47:19 okay Jan 28 10:56:36 Jamal, do you use any crash reporting tools? Jan 28 10:56:47 Anyone knows why is this happening? --> http://imgur.com/DKEwmYi Jan 28 10:56:59 surf2b1, yes Crashlytics Jan 28 10:57:04 I mean the whitespace around the Toolbar, im using MaterialDrawer lib Jan 28 10:57:32 probably the layout margin Jan 28 10:57:56 Jamal, Crashlytics will give you a breakdown of Android versions the crash occurs on. Jan 28 10:59:08 Ashiren, totally missed that -thnks Jan 28 10:59:30 surf2b1, yes i already analyzed that. And I just figured out how to change the api version of my emulator...it seems like the bugs are depending on the api version, thanks guys, i will investigate further Jan 28 11:20:53 csst0111: it seems like your xml layout has some padding on the root view Jan 28 11:21:01 can you add the layout.xml? Jan 28 11:23:14 You are correct - I removed the padding and now its ok Jan 28 11:23:20 omg! Jan 28 11:23:23 yay me!!! Jan 28 11:23:30 :) Jan 28 11:24:09 :) Jan 28 11:24:35 squ: I'm actually happy because I found a logical error in our code and fixed it Jan 28 11:24:41 but this is also good Jan 28 11:24:58 double penetration :) Jan 28 11:25:09 hmmm Jan 28 11:25:10 hmmmm Jan 28 11:25:17 I don't do devil's threeway Jan 28 11:25:21 but sure... Jan 28 11:25:44 I'm adopting camera2 + permissions Jan 28 11:26:25 * danijoo checks title Jan 28 11:26:28 http://developer.android.com/samples/Camera2Raw/index.html Jan 28 11:26:30 yay for you! Jan 28 11:26:35 google code crash on api 23 Jan 28 11:26:37 yes.. im still in android-dev, not #bdsm Jan 28 11:26:39 squ: http://imgur.com/0Npi6g9 Jan 28 11:26:39 but I am not surprised Jan 28 11:26:54 danijoo: sometimes the feeling is too close Jan 28 11:27:01 haha yeha Jan 28 11:34:43 android studio preview 8 is out Jan 28 11:35:30 preview? Jan 28 11:35:44 not usable? :) Jan 28 11:36:10 ph 2.0 has become pretty useable Jan 28 11:36:14 -ph Jan 28 11:37:06 android studio is such a shit software Jan 28 11:38:26 feel free to uninstall :) Jan 28 11:39:48 now is the time for VIM Jan 28 11:40:02 that's what pfn does Jan 28 11:40:22 the cool guys use `echo` Jan 28 11:41:36 thepoosh: http://i.imgur.com/YRTyh8g.png Jan 28 11:42:31 squ: you are an ikky person Jan 28 11:42:42 I actually vomited a bit in my own mouth Jan 28 11:42:53 ^^ Jan 28 11:42:56 now is the time to ESCAPE q! ENTER Jan 28 11:42:59 ? :) Jan 28 11:43:03 that is the way to leave your cult Jan 28 11:43:13 ??? :) Jan 28 11:43:59 relevant xkcd: https://xkcd.com/378/ Jan 28 11:44:58 this one is old Jan 28 11:45:12 hello, I need help to make work a software that should show the result of a json request: https://github.com/xpheres/AndroidAnalyticalTranslator/blob/master/app/src/main/java/com/example/root/analyticaltranslator/MainActivity.java Jan 28 11:45:56 This is the javascript code of the same json request working: https://github.com/xpheres/analyticaltranslator/blob/master/assets/javascript/atranslator.js Jan 28 11:46:16 i accidently clicked Jan 28 11:46:20 what is the problem Jan 28 11:46:22 im blind now... Js Jan 28 11:46:54 I'm not very good at java, I'm not able to receive the Json text and write it in the interface Jan 28 11:47:02 it is simply not working Jan 28 11:47:06 I need guidance Jan 28 11:47:06 receive? what do you mean? Jan 28 11:47:12 receive by internet? Jan 28 11:47:22 from the server Jan 28 11:47:37 so you need a connection to download a file? Jan 28 11:47:43 here is an example Jan 28 11:47:44 or make api call? rest call? Jan 28 11:47:48 rest call Jan 28 11:48:09 let me show you an example Jan 28 11:48:09 does receiver of the rest call specify how to make request Jan 28 11:48:14 don't :) Jan 28 11:51:22 http://lingoworld.eu/lingoworld/translator/website/php/translatorGET.php Jan 28 11:51:44 please write a text there and submit it, you will see the exact result that should be parsed to android with JSOn Jan 28 11:52:02 the result is basically a text divided by words Jan 28 11:52:15 I just want to write that result into an android text box Jan 28 11:52:46 it is a simple function but I'm not very good with java and I don't know how to proceed Jan 28 11:53:49 it shows an empty white page when I click send :D Jan 28 11:54:02 you should write a text in the first input box Jan 28 11:54:08 I did Jan 28 11:54:09 then you will see the same text splitted Jan 28 11:54:19 might require javascript that I dont have Jan 28 11:54:38 ok the click here instead Jan 28 11:54:38 http://lingoworld.eu/lingoworld/translator/website/php/translatorfunctionGET.php?text=test Jan 28 11:55:07 that result should be parsed to android Jan 28 11:55:12 this works, yeh Jan 28 11:56:10 I just managed to make the app work in android as a web app Jan 28 11:56:25 I want to make it work as native with java Jan 28 11:57:15 use retrofit. it does all that stuff for you Jan 28 11:57:39 hello guys, does soeone can help me please about this answer -> http://stackoverflow.com/a/17820461 Jan 28 11:58:29 I'll be back Jan 28 11:58:33 I need to reset the router Jan 28 12:01:45 Tweaking app theme. I would like to have same colours for checkbox, progressBar, radiobutton, basics... Some of those elements works in API21+, problem is with lower API's. I have found some guides (for example http://stackoverflow.com/questions/10135499/android-checkbox-style), but I am not sure which way to go. How do you tweak those elements in your apps in APIS < 21? Jan 28 12:02:23 i manage to get the pack how i can forwared the packet to their destination ? when i try to do this on tcp packet port80 i get bad HTTP REQUEST Jan 28 12:02:54 thepoosh: learn it while it is not too late Jan 28 12:03:11 I don't need to, I already know how to quit Jan 28 12:05:00 I'm back Jan 28 12:05:13 https://github.com/xpheres/AndroidAnalyticalTranslator/blob/master/app/src/main/java/com/example/root/analyticaltranslator/MainActivity.java Jan 28 12:05:35 I will be happy if anyone give me an idea of how and where to correct the code Jan 28 12:05:56 xpheres: ask Bored he makes http request Jan 28 12:06:07 ok Jan 28 12:06:08 thanks Jan 28 12:06:58 squ lol i am trying to forward packet and i dont manage to do this :\ Jan 28 12:08:14 Bored: ask pragma- he has done this https://github.com/pragma-/networklog Jan 28 12:08:31 squ thx Jan 28 12:08:44 Bored: and help xpheres Jan 28 12:10:07 Bored: did you manage your thing? Jan 28 12:11:17 thepoosh its not finished, i can capture the packet and send them outside the vpn, but i try this only port 80 for http request but i get bad response Jan 28 12:12:06 bad response? Jan 28 12:12:22 HTTP BAD RESPONSE 400 Jan 28 12:13:33 that means you're misusing the api Jan 28 12:14:08 sory its: HTTP/1.1 400 Bad Request . i probably didnt analyze the packet as i need to or i am missing something :/ Jan 28 12:14:45 this guy here -> http://stackoverflow.com/a/17820461 managed to forwared packets but he didnt explain how to do it. just short note Jan 28 12:18:23 Bored: have you seen https://github.com/kghost/ics-openvpn Jan 28 12:18:24 ? Jan 28 12:18:57 nope ill look now Jan 28 12:30:06 Ethical question. If I've made an application that I would like to publish on my github, but it takes advantage of some API's that aren't easily accessable (found them by reverseenginering). What would be the 'good' way of publishing such a project? Simply just remove the URIs? ..though that would mean the application would no longer work Jan 28 12:32:35 Troffel, If you dont have permission to use those apis, dont use them. thats the ethical answer Jan 28 12:34:32 I know that part. I suppose a better question is what would be the better way uploading the project? My initial thought it to simply put all URIs in an external file, and not uploading then. Just came for some feedback danijoo Jan 28 12:34:54 that was my feedback :) Jan 28 12:35:04 you are harming others by using their stuff without their permission Jan 28 12:36:05 true, which is why I would never publish with said URIs. But I would still like to showcase some of the logic. Cheers for the feedback :) Jan 28 12:52:10 adb logcat | grep _wtf Jan 28 12:52:10 01-28 13:43:32.900 1359 1373 W DropBoxManagerService: Dropping: system_server_wtf (939 > 0 bytes) Jan 28 12:52:10 01-28 14:43:32.880 1359 1373 W DropBoxManagerService: Dropping: system_server_wtf (939 > 0 bytes) Jan 28 12:52:41 emulator now comes with dropbox? Jan 28 13:06:36 hey, is there a way to react to input from a hardware keyboard with directional keys? the emulator doesn’t send keycodes for the arrow keys of the hardware keyboard at all Jan 28 13:09:18 I have Android build tools v 23 installed ( shown by sdk manager) , but the gradle scripts give error - Error:No installed build tools found. Please install the Android build tools version 19.1.0 or higher. How to debug this? Jan 28 13:10:05 in gradle setting, app module, check for buildToolsVersion Jan 28 13:11:23 Ashiren,there are 3 gradle scripts - 2 for cordova module and 1 for android module Jan 28 13:12:14 then check all Jan 28 13:16:32 iamkhush, in your gradle you have set to use build tools 19.1.0 Jan 28 13:16:43 either install that via sdk manager or change gradle to use v23 Jan 28 13:16:59 the 'or higher' is misleading Jan 28 13:21:29 whats cdvBuildToolsVersion ? Jan 28 13:21:49 oh looks like its just a var :) Jan 28 13:28:02 Ashiren, there is a method written - getAvailableBuildTools , here -http://pastebin.com/ryLWRsZ1 Jan 28 13:31:08 can I put break points in gradle? Jan 28 13:31:32 i doubt Jan 28 13:32:06 how can I debug , I am trying println , will I see it in the log file? Jan 28 13:32:30 I can see the code where the error is being raised Jan 28 13:32:45 iamkhush, no idea but I think #gradle is a better place to ask that Jan 28 13:33:06 oh okay , thanks Jan 28 13:41:06 So a sync in android studio shouldn't take around 20 minutes, right? Jan 28 13:41:31 In a project that requires multi-dexing Jan 28 13:41:33 right Jan 28 13:41:47 unless you build on a toaster Jan 28 13:42:17 3.1ghz i7 Jan 28 13:42:24 dual core i think Jan 28 13:42:44 so i would say that's a decent macbook pro. Jan 28 13:43:56 macbook -> cpu throttling Jan 28 13:44:14 but 20 min iss still not normal Jan 28 13:45:39 could it be related to build variants and tests? Jan 28 13:45:46 I just noticed that it goes through them all Jan 28 13:46:02 and flavors. Jan 28 13:46:37 you said its a sync right? so its not building Jan 28 13:47:00 yes, but the background task displays that it's doing it for all variants anyway Jan 28 13:47:10 yes Jan 28 13:47:21 this is normal but quick Jan 28 13:47:29 not for me Jan 28 13:47:45 neither for my coworkers Jan 28 13:48:37 we have 4 variants (debug, alpha, release, releaseDebug), 2 flavors resulting in 8 actual variants. and then unit and instrumentation tests. Jan 28 13:51:15 it's reasonably fast when doing it in gradle offline mode, but takes 20 minutes in online mode. the connection is rather fast though. Jan 28 13:52:31 as in ~240Mbps Jan 28 13:53:40 Make sure you have a local maven mirror. Jan 28 13:53:47 Instead of hitting jcenter all the time. Jan 28 13:54:00 (Local - office hosted or something) Jan 28 13:59:02 Hello guys, I'm new to FABs, although I do understand when to use them. I want to show a FAB per fragment. So what I was thinking is to add a FAB in the fragment layout. Examples I've seen are added in the MainActivity's layout. But is my idea to add a FAB in a Fragment layout nothing wrong with it? Jan 28 13:59:04 hell, even if i can get it local on my machine it would be fine Jan 28 13:59:06 so I'm trying to make fragment transaction with a shared element... am I going too complex if I'm trying to move from FragmentA that has a viewpager which contains n FragmentC instances each containing a recyclerview with lists of images and I want to move to FragmentB which has the same image? Jan 28 13:59:37 I'm failing to do this and most things I'm finding have FragmentB as an activity instead Jan 28 14:01:29 hi! regarding android expansion files, can someone give me some hints on using the brotli algorithm (http://google-opensource.blogspot.fr/2015/09/introducing-brotli-new-compression.html) with android expansion files (obb files) Jan 28 14:09:14 I'm using an adapter to display a bunch of CardView objects. The objects are all subclasses of a common Item superclass (so, some of the cards show a picture, others don't, etc). Is it bad practice to use the same layout XML file for this, and just keep some of the views hidden when not used? Jan 28 14:26:37 Mavrik: according to the gradle documentation, gradle checks each repository in the order that they're specified for the requested library. However I just changed the order of my repositories and received an error that a library could not be found in maven central (which is now the first repo) Jan 28 14:26:42 any idea why this might happen? Jan 28 14:36:16 Using the activity monitor, can you monitor activities launched that are part of a different application (instrumentation tests)? Jan 28 14:40:35 Hello guys, how do I know if a fragment is unplugged from a FrameLayout? Because in one fragment I perform a request, but if the user decides to chose another fragment, the result of the previous fragment can't be displayed as the fragment is unplugged, which than results in a crash. Jan 28 14:40:47 as far as I can see only android studio uses performance. Especially considering that I'm not even building, just running a sync Jan 28 14:41:22 Using the activity monitor, can you monitor activities launched that are part of a different application (instrumentation tests)? Jan 28 14:42:28 Number5: https://gist.github.com/Syzygy2048/1593d96675ba050e6d12 something similar to this might work for you Jan 28 14:43:35 we use a basefragment which implements this method Jan 28 14:43:52 Syzygy, is this really the only solution? Jan 28 14:44:01 this is the one we're using. Jan 28 14:44:23 Syzygy, thnx. Do you perhaps know some other methods? Jan 28 14:45:00 none come to mind except writing a manager that knows which fragments are active. Jan 28 14:45:48 how do i show user list in this channel? Jan 28 14:46:30 safinn: if you intend to message individual users with your questions, you don't. Jan 28 14:46:59 Syzygy, hmmm too bad. I thought if the view needs to be updated, it will only be updated if it is connected to the message looper of the main thread. Jan 28 14:47:00 also, I don't know the answer, but I assume it doesn't show up as an individual process Jan 28 14:48:23 Number5: dunno, but I guess callbacks can remain active even if the fragment isn't active anymore Jan 28 14:49:11 Syzygy: No, I just want to see how many people are in here. Jan 28 14:49:26 Syzygy, thnx for your link, although I see this as a workaround. I really appreciate your help my friend. Jan 28 14:51:45 safinn: I don't have a way to count, but a lot. Jan 28 14:55:32 I’d like to exec a process from java, but keep the stdout / stderr streams of the java process. Runtime.exec() won’t allow me to do that. Is there a good way? Jan 28 14:57:19 (ideally not from native code in this case) Jan 28 15:08:22 hi i m using findFragmentByTag inside a fragmentactivity but this one returns android.support.v4.app.Fragment while Fragment bla is of type android.app.Fragment Jan 28 15:08:26 what should i do in this case ? Jan 28 15:09:18 use either the appcompart lib or the native framework, can't do both at the same time Jan 28 15:09:31 appcompat* Jan 28 15:10:50 wakelock, is there something similar to getSupportFragmentManager().findFragmentByTag without using fragmentactivity from appcompat ? Jan 28 15:13:16 no idea honestly, I don't really use appcompat Jan 28 15:15:15 ok thanks Jan 28 15:16:07 hi. im using soundpool and loading the sounds in a thread however my app hangs a little if I comment the load method it doesnt Jan 28 15:16:18 what am I doing wrong? Jan 28 15:17:03 im using 10 sounds in the sound pool Jan 28 15:17:20 Syzygy, thnx for your help buddy. Fragment.isVisible() is enough :) Jan 28 15:17:33 alrught Jan 28 15:17:36 the load method is not running async even in a thread? Jan 28 15:17:42 im not understanding Jan 28 15:18:11 anybody seen Chainfire around lately? Jan 28 15:24:57 already got it Jan 28 15:25:04 thks Jan 28 15:31:07 troulouliou_div2, no, what you asked makes no sense whatsoever Jan 28 15:31:37 pfn, yeah i used getFragmentManager Jan 28 15:31:53 pfn, misunderstood getSupportFragmentManager Jan 28 15:32:37 [OT] Which CI most you guys use for your Android apps? Jan 28 15:34:00 s/most you/you Jan 28 15:35:58 hah, got the shared element transitions working Jan 28 15:39:03 Hi, I have a fullscreen DialogFragment with a ListView in it but each cell has a black bottom border. Anybody knows how to get rid of that border? Jan 28 15:56:11 well this is interesting Jan 28 15:56:43 if I use a fade transition in a fragment transaction, my toolbar disappears while the fade is ongoing and then comes back afterwards -.- Jan 28 16:03:22 hm, something I did seems to have fixed it Jan 28 16:04:05 oh no, now it's broken again Jan 28 16:04:06 -.- Jan 28 16:17:54 Is there any way to store preferences in a way that rooted users cannot easily read them? Jan 28 16:18:43 cannot, and cannot easily are two very different things Jan 28 16:18:49 and 'easily' is very subjective Jan 28 16:19:15 let's drop the 'easily' Jan 28 16:19:21 then no Jan 28 16:20:00 you could store them online Jan 28 16:20:30 but on-device the best you can do I guess is encrypting them somehow Jan 28 16:20:46 but with an exposed module it probably wouldn't be that hard to read it before you encrypt or after you decrypt, etc Jan 28 16:21:20 what are you hiding, and why Jan 28 16:21:24 OK, thanks. Jan 28 16:21:50 Some value that's meant to be incremented via in app purchases Jan 28 16:22:37 Which is tracked through a user account on our server, but is also needed locally offline. Jan 28 16:22:56 gradle build running Jan 28 16:23:08 Hello everybody, am facing a quite ambigiuos problem, why does Enviroment.getExternalStorageDirectory() never works, all what am trying to do is create a file on the root of the SD Jan 28 16:23:26 I think I have enough to explore my options. Thanks for your help Chainfire Jan 28 16:23:34 if my game has blood do i have to put a rating on it before publishing it to play? Jan 28 16:24:21 pduin well without online verification its hard keeping something offline out of willing hacker's hands. most just obscure it enough so it isn't trivial to decode (i.e. takes effort on the rooters part), or refuse to work with root Jan 28 16:27:03 I have an app running an AsyncTask in the background. I've been building it to my phone to test stuff out. Now, I just tried running it in the emulator, and it didn't seem to execute the task at all (it just showed the progress bar forever). Any ideas? Jan 28 16:27:19 Online verification will be a step too far, and will pose more restrictions on the user than necessary. I Jan 28 16:27:22 ' Jan 28 16:27:43 I'll take a look at obscuring my settings. Jan 28 16:27:44 gradle build running Jan 28 16:29:37 Do AsyncTasks not work properly in the emulator? Jan 28 16:30:03 HenriettaSalt i'm sure they do ;) Jan 28 16:30:37 g00s: I've been testing my app on my phone, but now I'm trying it in the emulator and it's just showing a progress bar forever (whereas on my phone, it completes the task quickly) Jan 28 16:31:44 more likely that your work is blocking on one, and not the other Jan 28 16:32:17 unless you are testing on gingerbread or the older platforms where they changed aynctask behavior Jan 28 16:32:42 can't help much, i've never used it Jan 28 16:37:59 everything works correctly on the emulator Jan 28 16:38:06 except hardware Jan 28 16:39:17 HenriettaSalt: so you're doing something wrong Jan 28 16:39:26 gordon_: Yeah, that's what it seems like. Jan 28 16:39:41 why do you need asynctask anyway ? Jan 28 16:40:02 To download some JSON in the backgorund Jan 28 16:40:05 *background Jan 28 16:40:19 to load into cards that display information Jan 28 16:40:21 why not use okhttp ? Jan 28 16:40:22 Hello, i have a little state problem with the FragmentManager, can i ask here? Jan 28 16:40:31 with or without retrofit Jan 28 16:40:43 or volley , or was it glide ? Jan 28 16:40:55 always forget which one is which Jan 28 16:40:57 TheArtist, yes Jan 28 16:41:03 So, i have a view pager that i populate using a pagerAdapter dynamically in onCreateView of a fragment, Jan 28 16:41:04 I guess because I'm trying to understand the Android SDK better. I'll check those out though Jan 28 16:41:05 and on orientation change i was waiting that it would be recreated as it does using the onCreateView Jan 28 16:41:07 the thing is that after onCreateView the FragmentManager somehow tosses the old pageradapter Jan 28 16:41:09 and creates a new one by instatiating the fragments itself Jan 28 16:41:11 The problem is, that by this way it misses the parameters i pass in after constructing the Fragment object by hand Jan 28 16:41:13 What can i do? Jan 28 16:41:16 Code here: http://lpaste.net/7223807758313717760 Jan 28 16:41:17 That means that after orientation and after the new onCreateView, somehow the viewpager recreates its pagerAdapter Jan 28 16:41:23 Any ideas?(Sorry for the copy paste i have been writing this in the wrong chanel before) Jan 28 16:41:52 could've just psstebinned the question then :p Jan 28 16:42:32 Yeah that would have been better Jan 28 16:43:03 This is driving me crazy, i've dug the sdk source too but i do not know what is the proper solution Jan 28 16:44:37 TheArtist: Isn't this what Fragment.setArguments is for? Jan 28 16:44:59 yes, it is Jan 28 16:45:28 Yes, but it takes a bundle only.. Jan 28 16:45:38 and? Jan 28 16:45:45 You have to implement Parceable. Jan 28 16:45:50 How will i pass an onClick listener that is assosiated with the action like this Jan 28 16:46:12 you dont Jan 28 16:46:12 You set that in onCreateView. Jan 28 16:46:44 If you check the code, you will see that i have a viewpager that each one has an action (a fancy button) Jan 28 16:47:00 and i make an action list and pass it to the tabfragment by a setter Jan 28 16:47:21 and when the onCreateView arrives it finds these data (titles, descriptions and click listeners) in the mActions list Jan 28 16:47:38 Hi everyone, I have a question. I wrote an app but im having some issues with the installation.... Jan 28 16:47:45 i do set this in onCreateView, but when changing the orientation Jan 28 16:48:00 when I build a signed apk and install it manually, the app recreates some old sql DB Jan 28 16:48:03 the FragmentManager recreates the adapter itself (after onCreateView) Jan 28 16:48:09 or maybe the phone is doing this? Jan 28 16:48:22 by instantiating the TabFragment class Jan 28 16:48:31 why would an app that has been deleted from the phone, and then installed again, restore some old DB? Jan 28 16:48:33 but this way i cannot pass the actions.. Jan 28 16:48:38 http://developer.android.com/training/basics/fragments/communicating.html Jan 28 16:50:53 have you seen anyone using data binding api with rxjava? Jan 28 16:51:10 TheArtist, you can ask for the actions via getParentFragment Jan 28 16:51:48 Hello guys, I have a listview cell with 3 buttons and one checkbox. Buttons react on click accordingly, but the DAMN checkbox doesn't react at all. It's really crazy! Sounds this familiar? I tried OnClickListener as well as CompoundButton.OnCheckedChangeListener(). It's as if there's no checkbox at all. Jan 28 16:51:53 Zharf: that is a nice suggestion! Jan 28 16:52:44 so, whats normally used for crash reporting? Jan 28 16:53:00 is there a recommendation from google or is everyone using their own thing? Jan 28 16:53:20 TheArtist, but just keep in mind that fragments can quite easily be used in a generic fashion so you should create interfaces for anything you might want from parents Jan 28 16:53:38 like demonstrated in the page I linked Jan 28 16:53:54 Ok ok i'll check it out and i'll tell back Jan 28 16:58:09 how much does a beginner android developer earns in your country per hour? Jan 28 16:58:18 0 $ Jan 28 16:58:54 danijoo: com'on , how much? Jan 28 16:59:02 0 $ sounds about right Jan 28 16:59:25 For real Jan 28 16:59:32 That's assuming you can get an internship Jan 28 16:59:38 50k Jan 28 16:59:42 it also depends on what you consider "beginner" Jan 28 16:59:43 $ Jan 28 16:59:46 maybe $150 per hour Jan 28 17:00:02 hi wi is my textview still null when doing this in onActivityCreated : TextView tv_password = (TextView) getView().findViewById(R.id.edit_password); Jan 28 17:00:07 Are you talking about employed or freelance? Jan 28 17:00:13 also depends on if you want to freelance or not Jan 28 17:00:15 freelance Jan 28 17:00:36 and if you publish your own apps it can vary between 0 and 99999999999999$ Jan 28 17:00:50 troulouliou_div2: before setContentView? Jan 28 17:00:55 rule#1 of freelancing is to ask at least what you require to live on (which is usually more than you think!) and nothing less Jan 28 17:01:00 Leeds: HAI Jan 28 17:01:02 too long Jan 28 17:01:10 thepoosh: hey Jan 28 17:01:19 how's the island? Jan 28 17:01:26 can a freelance android developer , who has skills can earn 50$ an hour . remotely ? Jan 28 17:01:33 warm and wet Jan 28 17:01:34 Easy Jan 28 17:01:45 taht sucks Jan 28 17:01:51 over the past 5 years of android development, I've made 0€ from the stuff I've published Jan 28 17:01:58 Leeds, i musing inflater.inflate in onCreateView Jan 28 17:02:08 Zharf, but you haven't wanted to make money, I assume :P Jan 28 17:02:29 jackhum, as an independent publisher, probably not Jan 28 17:02:32 that's totally irrelevant! ;) Jan 28 17:02:38 jackhum, working for someone, sure Jan 28 17:02:44 i am unemployed student , i dont know what should i do to earn money , Jan 28 17:02:45 * pfn works 99% remote Jan 28 17:03:27 What country are you looking for work in? Jan 28 17:03:48 if you are a student, the amount of time you have available will also factor in Jan 28 17:04:10 thepoosh: last weekend, there was snow and ice here... coldest weather in 60 years or so... Jan 28 17:04:23 we had our storm as well Jan 28 17:04:31 i am thinking of working completely remote , i can use skype , emails and slack , to work , Jan 28 17:04:44 last week it was -30C Jan 28 17:04:50 -30? Jan 28 17:04:55 Ew, you from Canada? Jan 28 17:05:00 finland Jan 28 17:05:03 jackhum assuming you have some skills and something to prove that you do, the big thing is finding someone who wants to hire you to do freelance work Jan 28 17:05:09 jackhum: the problem is, you need to establish a reputation Jan 28 17:05:39 Leeds: yeah , you are kind of right Jan 28 17:06:21 but the problem is where from should i start, i have knowledge of frontend programming , just common html , css and js stuff . i also know python , and flask Jan 28 17:06:32 jackhum: Often you need to work on site for a couple of weeks and then continue remotely Jan 28 17:06:46 Depends on company. Jan 28 17:06:50 jackhum so you're saying you know nothing of Android ... hard to get hired that way Jan 28 17:06:52 We never expected people to actually come on-site. Jan 28 17:07:00 jackhum: write an app and publish it - doesn't matter if it does anything particularly important, but do it well Jan 28 17:07:32 Mavrik, that's nice Jan 28 17:07:52 * pfn prefers working remote Jan 28 17:08:01 remote sux Jan 28 17:08:01 I come on-site once in a blue moon Jan 28 17:08:13 i like working with a team Jan 28 17:08:20 100% remote sucks, partial remote can be cool Jan 28 17:08:21 We have a meetup once per year (on company expense) Jan 28 17:08:31 i am learning android developement , but , i already know web developement , i am not saying i am super in it , but still i have experienced it Jan 28 17:08:34 Usually people opt to come to the main HQ every 6 months or so Jan 28 17:08:35 Mavrik, pretty much, come in for the parties Jan 28 17:08:42 well, i *can* work remotely if needed Jan 28 17:08:57 i just don't like contaminating my home with work Jan 28 17:09:09 I keep my work hours strict and I have a separate building for my office Jan 28 17:09:10 :p Jan 28 17:09:13 right now for me 100% remote is awesome , but i can work on really low price as low as 15$ an hour maybe Jan 28 17:09:19 I'm never at a computer before or after work hours Jan 28 17:09:45 o.O Jan 28 17:09:53 Yeah, I actually rent a coworking space to have workplace separated. Jan 28 17:09:59 But in my local city. Jan 28 17:10:10 I'm never not at a computer Jan 28 17:10:35 Mavrik I've considered this.. how are you liking it ? Jan 28 17:10:46 Mavrik, I prefer to have 0 commute Jan 28 17:10:50 isn’t -30 the point at which you don’t need to specify C or F? ;-) Jan 28 17:11:00 duboisj, -30C is only like 0F Jan 28 17:11:03 pfn, true, but I live in a city where "commute" is 15min with bike :P Jan 28 17:11:04 that's not cold at all Jan 28 17:11:05 jackhum: What country are you talking about? Jan 28 17:11:11 Mavrik, that's rather reasonable Jan 28 17:11:23 barq: think it about as asia Jan 28 17:11:29 -40C is the same in F Jan 28 17:11:36 Chainfire, it's fine because I know people and I actually like the common lunch / coffee breaks. Jan 28 17:11:40 barq: i am thinking of going like full nomad , Jan 28 17:11:41 I don't know much about hourly rates there Jan 28 17:11:51 I have an occasional desk on an informal basis in someone else's office, in a room full of 3D people rather than the 2D (and text-only) people on screen Jan 28 17:11:52 Some other people prefer not to socialize all that much so I guess for them it wouldn't work as well. Jan 28 17:11:56 ah, you’re right: the lines cross a bit below -30 Jan 28 17:12:07 jackhum, indian rates for independents are rock bottom for remote contract work, you probably can't get more than like $10/hr Jan 28 17:12:09 it's good for me to get my arse in there and spend time in the real world Jan 28 17:12:18 i dont like to sit on office or do 9-5 desk job Jan 28 17:12:20 jackhum, and that price probably has infected most of remote aisna workers Jan 28 17:12:23 Mavrik> you knew these people beforehand, or you got to know them because all the people there are loners put together? Jan 28 17:12:42 Chainfire, I knew/worked with before and we actually rented the office space together Jan 28 17:12:49 ah ok like that Jan 28 17:12:58 (When we found out that that's way cheaper than proper "coworking" public spaces in the city.) Jan 28 17:13:01 coworking space for people around here: starbucks Jan 28 17:13:40 jackhum: where in Asia? It's a very large continent... Jan 28 17:13:57 I have freedom to work from home if I want, but I'll go to the office on most days Jan 28 17:14:07 sri lanka , india , thailand Jan 28 17:14:20 1h commute though... Jan 28 17:14:36 pfn, ugh, I really dislike trying to work at coffee shops Jan 28 17:14:39 Too much noise Jan 28 17:14:54 you're in 3 different countries? Jan 28 17:15:08 reminds me of punch agency, they have an awesome fringe benefit Jan 28 17:15:15 send you to work from phuket for 1mo/year, all expenses paid Jan 28 17:15:24 Leeds: i am thinking of going nomad , people who travel and work Jan 28 17:15:26 I really have no idea how people get proper work done in coffee shops Jan 28 17:15:36 Leeds: thinking of planning some trip , and working Jan 28 17:15:39 jackhum: where *are* you? not where might you be at some point in the future? Jan 28 17:15:55 phuket is way too warm for me to be able to think Jan 28 17:16:25 eh, the temperature is tropical Jan 28 17:16:30 never been to Phuket proper, just Khao Lak up the coast Jan 28 17:16:42 I like coffee shops OK actually. It’s less lonely and a little more stimulation than being at home alone, if you want it, but the other patrons aren’t making any demands on you, so you’re free to concentrate / ignore them. Jan 28 17:17:08 Plus you can select one with good coffee, better than I can make at home or the office ;) Jan 28 17:17:14 eh, I should go to bed... here in Asia, it's sleepytime Jan 28 17:17:15 man, com.android.tools.build has been rock stable, they have not worked on 1.5.x at all (no fixes or anything, everything going into 2.0.x) Jan 28 17:17:18 right now , i am in india Jan 28 17:17:24 I make better coffee at home Jan 28 17:17:26 visiting my parents Jan 28 17:18:27 * pfn prefers the taste of espresso from home vs. pulled at coffee shop Jan 28 17:18:35 same beans Jan 28 17:19:16 my pourover sucks. I use the same beans they do. theirs tastes like flowers and sunshine. mine like dirty boots and a kick in the teeth. Jan 28 17:19:18 Jan 28 17:20:05 Leeds: you asian/ Jan 28 17:20:20 nope, I just live here Jan 28 17:20:24 use a proper kettle and technique :P Jan 28 17:20:26 Leeds: you must know about how developers work there Jan 28 17:21:01 I know some things, yes Jan 28 17:21:09 like 'Asia' isn't a place Jan 28 17:21:09 I’ve got a burr grinder, fancy paper filters, weigh the beans, use a timer, etc. just no dice for me. Jan 28 17:21:32 rinse your filter Jan 28 17:21:40 yeah Jan 28 17:21:44 set the proper temperature Jan 28 17:21:51 Leeds: where are you living right now? Jan 28 17:21:56 Leeds: thailand? Jan 28 17:22:05 temp may be a problem. I’m probably not that precise about that Jan 28 17:22:24 kettle has a built-in theremometer but it’s probably not accurate Jan 28 17:22:47 temp is the biggest factor Jan 28 17:22:59 outside of grind Jan 28 17:26:08 no, not Thailand Jan 28 17:26:50 Leeds: india? Jan 28 17:27:38 I really am going to bed, and you really do need to be more specific - and probably more realistic... saying 'Asia' could cover Tel Aviv, Tehran, Taipei, Shenzhen, Singapore, Bangalore, Colombo, Saigon, etc. etc. Jan 28 17:29:07 in this part of Asia, it'a 1:30am, and my missus is already snoring away in the next room, so I'm out - g'night all :) Jan 28 17:34:10 the middle east isn't considered asia, at least I've never thought of it that way Jan 28 17:41:21 hmm Jan 28 17:42:22 any smart suggestions are most welcome Jan 28 17:42:50 i need a name for company that suggests 1) bringing ideas to life 2) web and mobile devleopement Jan 28 17:43:52 jackhum you need to study up on branding ;) Jan 28 17:43:57 i create a socket connection @oncreate to an IRC Server. if i turn off the display.. the connection stays alive. if i turn on the display, he calls oncreate again and open another socket -.- Jan 28 17:43:58 * g00s suggestion :D Jan 28 17:44:11 how to check if there is a connection open? Jan 28 17:44:23 KoalaB read about Services Jan 28 17:44:34 g00s: still any name that you can come up with? Jan 28 17:44:45 not really Jan 28 17:44:58 no its not a service Jan 28 17:45:17 its a game. it connects to an irc channel at start. i want to prevent double connections Jan 28 17:45:24 why oncreate is called if i turn on the display? Jan 28 17:45:30 KoalaB your irc connection should be in one Jan 28 17:45:32 it should be onresume? Jan 28 17:46:32 nice, services looks great. Jan 28 17:46:36 thanks Jan 28 17:47:26 can i add 2 services? i need one thread for reading and one for sending Jan 28 17:47:36 * s73v3r tries putting on his ideation hat Jan 28 17:47:50 KoalaB: You can have as many services as your little heart desires Jan 28 17:47:53 KoalaB put them both in one service, as 'session' Jan 28 17:47:58 Death Metal Apps Jan 28 17:48:06 your service could babysit multiple sessions to other irc servers Jan 28 17:49:03 i cant put both in the same thread Jan 28 17:49:03 yeah, any time now would be great for some support library bug fixes google :D Jan 28 17:49:10 are they still on vacation :P Jan 28 17:49:23 because read thread blocks, if noone else send something. so i have to send with another thread Jan 28 17:49:43 g00s: what about codepandavas ? Jan 28 17:49:56 KoalaB so your session has a rx and tx thread Jan 28 17:53:47 lol http://chickenwing.software/scratches/programming/annoying-apis Jan 28 17:53:52 Annoyance #6 Jan 28 17:55:48 I'm trying to give it a different fontFamily to the popupTheme, but doesn't seem to work. How do I change the font of the popup that appears when you tap the overflow menu? (I don't mean to use a custom font, just one of the already bundled in android) Jan 28 17:59:00 hmm Jan 28 17:59:16 a service is created and started in oncreate too Jan 28 17:59:34 that will be start 2,3,4 instances too? Jan 28 18:00:01 if i just turn off display and turn it on to resume playing Jan 28 18:01:46 KoalaB you really need to read the docs :) Jan 28 18:03:07 new to android development. Trying to import a cyanogenmod rom into android studio. Can't find good tutorials online. Anyone help / point me in the right direction? Jan 28 18:03:33 Is there an android.R.String id that correspond to an mpty string ? Jan 28 18:05:11 devman_, build the rom then # mmm development/tools/idegen ; then ./development/tools/idegen/idegen.sh Jan 28 18:05:26 I don't think so, but why would you want that? Empty strings aren't locale-dependent. Jan 28 18:05:31 devman_, just open then the rom source folder in android studio Jan 28 18:07:54 TacticalJoke, i m using a function to set Textview text using id and i m saving the id for resume/pause in save bundle Jan 28 18:10:06 my structure is : system folder, META-INF folder, boot.img. Jan 28 18:10:23 android studio isn't opening any of them Jan 28 18:10:30 tried import and open Jan 28 18:10:46 troulouliou_div2: I don't think that's a good idea. Then, if the user changes language, your app won't reflect those changes after the Activity is recreated. Jan 28 18:11:07 system has a directory structure of hte phone (user, vendor, framework, etc.) Jan 28 18:11:11 Actually, I take that back. I misread. :D Jan 28 18:12:35 devman_, red this https://newcircle.com/s/post/1720/aosp_sources_in_the_ide Jan 28 18:15:30 thanks troulouliou_div2 for the information! Jan 28 18:19:55 is ondestroy called, if i turn off the display? Jan 28 18:24:33 KoalaB: No. Jan 28 18:26:53 Hey, short question: Jan 28 18:27:16 is it normal that ****ing CatLog truncates lines to 4096 characters? Jan 28 18:28:51 justJanne yes Jan 28 18:29:22 it's not catlog Jan 28 18:29:25 it's the logcat msg size Jan 28 18:32:43 Whats the difference between BaseContext and ApplicationContext? Jan 28 18:33:13 cart_man https://possiblemobile.com/2013/06/context/ Jan 28 18:33:44 which action is called if i leave the app? not close, just go to menu or something like that Jan 28 18:34:43 KoalaB: You need to learn the Activity life-cycle. Probably best to Log.e all the callbacks mentioned in the documentaiton. Jan 28 18:34:45 documentation* Jan 28 18:38:03 Hmm, on the 6.0 emulator I'm seeing a "Logger buffer sizes" setting in Developer Options. Not sure whether that affects LogCat or not (too lazy to try right now). Jan 28 18:41:18 cart_man, 1 word Jan 28 18:41:41 Hello, not sure if this is the place to ask but I have search everywhere and cant figure this out. I am using the getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); but the on fire tv its closes the app after 1hr 15min, it used to stop after 30 miutes, so it is sort of working, just need it to never switch off, any help would be apprciated? Jan 28 18:42:59 I am a web developer so bit rusty on java but got this far, just trying to build a web wrapper for fire tv so I can throw up a dashboard I have built. Jan 28 18:44:37 pfn: That is? Jan 28 18:51:22 cart_man: the base context is bound to the current components’ lifecycle, the application context is bound to the lifecycle of the process Jan 28 18:51:57 so the basecontext gets destroyed when your component (service, activity, fragment) is onDestroyed, the ApplicationContext continues to exist as long as the process runs Jan 28 18:52:19 justJanne: Ahh ok makes sense although I would have thought that BASE would be the ..well Base of the app meaning the entry point Jan 28 18:52:37 http://developer.android.com/reference/android/content/Context.html#getApplicationContext%28%29 Jan 28 18:53:24 justJanne: But I get the difference.. Thanks Jan 28 18:53:33 At least according to the documentation. Doesn’t mean it has to be that way Jan 28 18:55:53 Hello, I am trying to build Android app on 4.4 to revive data from Bluetooth LE device. I did this in past with other device when it was paired. This time I was told that I can read data (no requests at this point) from device with our pairing. I was not aware that you can do this. My question is can you actually do it? And if how. If you could give sudo code so I am read documentation and modify my code. Thank you Jan 28 19:00:59 I guess I should ask first if this is a proper channel for Android Developers vs Android OS itself? Jan 28 19:02:57 Android app developers, mostly Jan 28 19:03:27 Some OS questions, as it pertains to app development, are entertained, but most of us are not experts on the internals of the system itself Jan 28 19:14:13 Hey Jan 28 19:14:16 All Jan 28 19:24:35 using retrofit, i'm trying to consume an api that returns json. json can be returned like this: { "foo": ["bar", ["baz", "bull"]] } Jan 28 19:24:44 is there any way to manage that with retrofit? Jan 28 19:25:05 variable types in the foo: object array, either a string or an array of strings. Jan 28 19:30:35 nevermind, i think i found an example: http://stackoverflow.com/questions/5377827/using-gson-to-parse-array-with-multiple-types Jan 28 19:35:54 gradle is telling me that applicationIdSuffix was not found. I’m guessing that it is new-ish? What was it’s predecessor? Jan 28 19:53:06 Anyone have experience drawing on bitmaps? I keep getting a black bitmap when I'm setting text through a canvas Jan 28 19:53:22 probably missing something obvious Jan 28 19:55:18 you’re using canvas.drawText()? Jan 28 19:55:28 yeah Jan 28 19:55:42 looked through 3 different examples now still getting a black square Jan 28 19:56:24 You get a black square where you think your text should be, or no text is showing up? Might you be just painting the text black on a black background? Jan 28 19:56:24 I'm using a FileProvider to share the image to other apps if that could somehow have something to do with it, but I don't think so Jan 28 19:56:42 the whole image turns black, and I'm using white text Jan 28 19:58:46 if I uncomment the canvas code I get a profile image as it should be, as soon as I put it in the whole image is black Jan 28 19:59:45 can you pastebin the relevant code Jan 28 19:59:54 might be paint meh Jan 28 20:00:39 will do, sec Jan 28 20:05:06 http://pastebin.com/5krLkjFK Jan 28 20:05:20 this is not giving me the black image, but it's not working either Jan 28 20:06:33 can i use jpeg @drawanle? Jan 28 20:06:58 have you tried just new Canvas() then canvas.drawBitmap()? Jan 28 20:07:33 i think you can have jpeg drawables Jan 28 20:07:45 at least there was bug long time ago with eclisep Jan 28 20:07:59 can or can't have? Jan 28 20:09:02 I will try with drawBitmap Jan 28 20:09:33 my background is 160kb in jpg. png is 900kb -.- Jan 28 20:09:50 why dont you check. i think you can work with jpegs Jan 28 20:11:36 no difference when I load it with drawBitmap Jan 28 20:12:06 I don't get the jpg thing Jan 28 20:12:22 I'm trying to put dynamic text onto the bitmap Jan 28 20:14:20 hmm Jan 28 20:16:56 JitanRo: you say the code you pasted isn’t give you the black image, but isn’t working either. what is the problem with it? Jan 28 20:17:08 the text doesn't show at all Jan 28 20:17:20 btw. isnt glide.load(..) asynchronous Jan 28 20:18:09 KoalaB, yes you can use jpg. But this wont fix your out of memory issues Jan 28 20:18:24 a jpg image will have the same size as a png once its loaded Jan 28 20:19:26 I'm doing .get which makes it sync Jan 28 20:19:36 "Waits if necessary for the computation to complete, and then retrieves its result." Jan 28 20:19:50 ah ok Jan 28 20:23:43 Something weird is going on.. now I'm trying to just draw another drawable and it doesn't show either... I think I'm having caching issues with Glide Jan 28 20:24:36 I don't know, time for a break, bah :) Jan 28 20:24:46 thanks for trying to help guys/girls Jan 28 20:52:54 hi, I'm writing a small xposed module that changes a resource every 1 or so and with the way xposed work, using a service/alarm isn't really an option, so im suck with handler... Jan 28 20:53:10 or am i? is there another/better way to do this? Jan 28 20:53:46 My jenkins build fails after tests in espresso/spoon fail? There has to be a flag for this right? Jan 28 21:09:36 how can i track a user clicking a link to the google play store from my website, and then determine that same user actually did install the app? Jan 28 21:11:22 I have an app that just runs in the background as a service with no GUI. I want to control the service to do basic things like start, stop, etc. I would like to use USSD codes (ie user enters *123# and it stops the service). How can I tell when a particular USSD code is entered? Jan 28 21:14:06 hello guys, what is the current best recommended busybox app? Jan 28 21:14:20 I have LoginActivity where in case of success I finish() it Jan 28 21:14:52 How do I call onCreate() of the previous activity? Jan 28 21:15:08 It seem to be using the savedInstanceState Bundle Jan 28 21:19:41 you dont call onCreate() directly Jan 28 21:20:11 lame https://support.google.com/gmm/answer/6333516 Jan 28 21:20:19 I know, would maknig savedInstanceState = null help? Jan 28 21:20:34 "My Tracks no longer available after April 30, 2016". maybe they will open source the app again before its shitcanned Jan 28 21:21:06 what for Jan 28 21:21:38 I think recreate() inside onCreate() might help Jan 28 21:21:39 you finish activity so its gone Jan 28 21:21:41 :^) Jan 28 21:22:00 I finish LoginActivity it's gone Jan 28 21:22:03 I am happy Jan 28 21:22:20 When I return to the activity from where I reached LoginActivity Jan 28 21:22:47 I see that it seems to resumed from old state Jan 28 21:23:37 Please someone help me with GridLayout, i want to have a grid with 2 columns and infinite rows (added programatically), with 2+ childs it works perfectly, the childs take half width normally, but when i a add a single child it does not take half width, instead it fills parent :/ here's my code: https://gist.github.com/YuriHeupa/8e09c8983dbf3cfeefc1 Jan 28 21:23:39 *have resumed Jan 28 21:25:26 yuriheupa: have you tried weight Jan 28 21:25:48 yes Jan 28 21:25:54 in this code my child have weight Jan 28 21:29:29 i updated the gist with pictures.. Jan 28 21:29:30 https://gist.github.com/YuriHeupa/8e09c8983dbf3cfeefc1 Jan 28 21:31:12 what if you dont specify weight Jan 28 21:31:35 To make a column stretch, make sure all of the components inside it define a weight or a gravity. To prevent a column from stretching, ensure that one of the components in the column does not define a weight or a gravity. Jan 28 21:31:39 https://developer.android.com/reference/android/support/v7/widget/GridLayout.html Jan 28 21:32:22 if i dont specify weight i need to set layout_width to wrap_content, and the result is the same Jan 28 21:32:47 oh Jan 28 21:38:25 Making the bundle = null in onSaveInstanceState seems promising Jan 28 21:38:33 code building as I type here :-) Jan 28 21:39:12 uh Jan 28 21:41:33 Didn't help :'( Jan 28 21:44:06 Ashiren duboisj for some reason the coordinates 0, 0 were not putting the text in the top left corner but I had to offset it manually for some weird reason, still figuring it out but now I'm getting the text to show Jan 28 21:44:46 ah Jan 28 21:44:58 the y is the bottom of text Jan 28 21:45:15 so youd have to draw in at least text's height Jan 28 21:45:21 in y Jan 28 21:45:22 really? well then it makes perfect sense Jan 28 21:45:52 and easier to calculate.. Jan 28 21:45:53 canvas.drawText(gText, (int)(x - (x/2) - ((x/2)*0.12)), (int) (y - (y/2) - ((y/2)*0.82)), paint); Jan 28 21:45:54 lol Jan 28 21:47:09 I was slowly backing off the middle Jan 28 21:47:21 I posted a question about GridLayout in stackoverflow, can someone help me? http://stackoverflow.com/questions/35072584/android-gridlayout-single-child-does-not-consider-weight-while-using-columncount Jan 28 21:51:32 is there a built in class for miles <> km ? Jan 28 21:54:33 unlikely, its just one multiplication or division Jan 28 21:56:18 okay I thought so Jan 28 22:10:48 'facebook is closing parse' Jan 28 22:11:05 http://blog.parse.com/announcements/moving-on/ Jan 28 22:11:42 eww, I know people who built their infra off of this Jan 28 22:11:59 sucks for them Jan 28 22:28:11 yup. Looks like the talk I’ve been working on about moving Parse, et al to the perhiphery of your app is going to be pretty relevant :D Jan 28 22:41:14 s73v3r: what talk? Jan 28 22:42:38 I’ve been working on a talk about how to design your apps to lessen the reliance on things like Parse. Jan 28 22:42:58 I haven’t actually given it yet, i was thinking about doing it in February or March Jan 28 22:43:17 s73v3r: ah, you just mean around abstracting away your usage, yes? Jan 28 22:43:24 Would love to hear it. I've used Parse quite a bit but never liked how locked in to their infrastructure you have to get Jan 28 22:44:30 yeah. Like, instead of having your objects inherit from PFObject or PFUser, you’d just make plain objects, and write converters to go back and forth. But these would be behind interfaces that wouldn’t really refer to Parse objects Jan 28 23:00:33 Is it normal that Android Studio crashes with a SIGSEGV in the SWT Thread every few minutes? Jan 28 23:01:04 no. Jan 28 23:01:25 well, then something is broken. Jan 28 23:01:50 the over a dozen bugreports on my desktop are starting to annoy me, every time I delete them, I get a dozen more within the day Jan 28 23:02:05 justJanne SWT thread? O.o Jan 28 23:02:27 Android Studio uses no SWT Jan 28 23:02:54 i wonder if some of the existing tooling stuff was grafted into AS (with SWT) Jan 28 23:03:05 AWT, not SWT Jan 28 23:03:23 ok, AWT is understandable, as swing is based on it Jan 28 23:03:27 https://gist.github.com/justjanne/0afc40651b06ed1ab36a Jan 28 23:03:56 every crash in a different library, all in the AWT EventQueue thread Jan 28 23:04:40 does IntelliJ Ultimate support android projects Jan 28 23:04:45 or do you need android studio specifically Jan 28 23:05:11 tx: there is a plugin, but recently Google tried to move features out of the plugin and make them AS exclusive Jan 28 23:05:25 :( Need two installs of IntelliJ. Jan 28 23:05:28 y u do this. Jan 28 23:05:29 justJanne orly Jan 28 23:05:39 I’ve been complaining about that for a long time now Jan 28 23:05:59 there are no features that are AS exclusive Jan 28 23:06:00 the android plugin from the latest AS previews doesn’t even work in IntelliJ anymore Jan 28 23:06:03 what are you talking about Jan 28 23:06:26 simply being able to take the plugin and drop it in another version of intellij is a different matter Jan 28 23:06:31 you have to use the same platform version Jan 28 23:06:46 AS is intellij 14, no, you can't just drop the android plugin from it into 15 Jan 28 23:06:59 well, even using the same platform version it doesn’t work anymore, as AS is still customized Jan 28 23:07:07 * pfn shrugs Jan 28 23:07:12 it will get merged upstream at some point Jan 28 23:07:55 tx, no, you can use intellij to develop android Jan 28 23:08:04 tx, there is absolutely no need for android studio Jan 28 23:08:10 unless you specifically want features from android studio Jan 28 23:08:34 A few weeks ago people told me otherwise, and that they’d never get merged upstream Jan 28 23:08:37 This channel... Jan 28 23:08:40 * justJanne shrugs Jan 28 23:09:19 "people told you" unless it's word from google or jetbrains, take it with a grain of salt Jan 28 23:09:27 1 hour trying to change the font of the toolbar title until a happy idea crosses my mind: what if I can't see the font applied on the title because of the theme of cyanogenmod? Fuck my life xD Jan 28 23:09:40 Well there is bunch of AS exclusive features :) Jan 28 23:09:43 pfn, good Jan 28 23:09:56 Mavrik, they are exclusive until they get merged upstream Jan 28 23:10:01 which is about a year Jan 28 23:10:05 if the only thing intellij ultimate lacks over AS is the 'android' menu, giving you quick access to the SDK manager, ADV manager and whatnot Jan 28 23:10:09 I don't need that Jan 28 23:10:12 tx, false Jan 28 23:10:14 I have a command line for that Jan 28 23:10:26 Well, there you go. Jan 28 23:10:26 :P Jan 28 23:10:28 intellij has an android menu Jan 28 23:10:33 tx, there's also missing memory and GPU profiler Jan 28 23:10:36 it just lacks a few features from android studio Jan 28 23:10:40 tx: currently, the exclusives are more in the monitors and instant run features Jan 28 23:10:44 tx, and lack of the new hot deploy Jan 28 23:10:46 there's a memory and cpu profiler Jan 28 23:11:04 pfn: didn’t you have an alternative to instant run? Jan 28 23:11:10 justJanne, yes Jan 28 23:11:25 gpu profiler... I haven't really written much to need Jan 28 23:11:51 haha, OpenGLES junkie here Jan 28 23:11:56 I have used the GPU profiler plenty. Jan 28 23:12:13 AS also has a network bandwidth monitor Jan 28 23:12:19 yeah Jan 28 23:13:01 if you plan on using the latest version of the gradle plugin, its probably safest to use AS Jan 28 23:13:08 Well, we need someone from Google to blame this on. Jan 28 23:13:19 Blame what on? :) Jan 28 23:13:23 There's always the tools team. Jan 28 23:13:31 Which should slowly learn to use unit testing. Jan 28 23:13:57 o.O Jan 28 23:13:59 > java.lang.NullPointerException: Attempt to invoke virtual method 'AssetManager Resources.getAssets()' on a null object reference at android.app.LoadedApk.getAssets(LoadedApk.java:528) Jan 28 23:14:18 wtf is wrong, ART crashes itself now? Jan 28 23:14:43 Dalvik got upset and broke ART for you. Jan 28 23:14:49 Don't cheat on dalvik, you monster. Jan 28 23:15:48 blame what on?> Jan 28 23:16:57 > INSTALL_FAILED_DEXOPT Jan 28 23:16:57 > DELETE_FAILED_INTERNAL_ERROR Jan 28 23:17:05 great work, Android... Jan 28 23:17:39 yeah, INSTALL_FAILED_DEXOPT is the worst, in certain situations, it can leave that package ID permanently busted Jan 28 23:17:43 and you can't install over it Jan 28 23:17:56 dunno if google ever fixed it Jan 28 23:18:16 https://code.google.com/p/android/issues/detail?id=58748 Jan 28 23:18:35 and the error messages it gives you are always so helpful Jan 28 23:18:42 error in line #7 of binary xml. Jan 28 23:18:48 doesn’t tell you which xml file it was, Jan 28 23:18:49 that's not bad Jan 28 23:18:53 it does tell you normally Jan 28 23:19:01 or which typedattribute it couldn’t find Jan 28 23:19:13 android.view.InflateException: Binary XML file line #7: Error inflating class Jan 28 23:19:25 or looking at your code referenced in the stack Jan 28 23:19:42 that one, ran into that recently, different versions of android say different things Jan 28 23:19:44 it references a non-existing line in my activity Jan 28 23:19:57 can't use ?attr in drawable Jan 28 23:20:04 was the case where that happened to me Jan 28 23:20:11 yeah, looks like here, too. Jan 28 23:20:14 Just that it used to work Jan 28 23:20:23 what used to work Jan 28 23:20:30 this exact code Jan 28 23:20:30 can't use ?attr in drawable, except in v21+ Jan 28 23:20:50 I only changed one color in the theme, but it’s still valid Jan 28 23:20:52 also, ChatActivity.java:-1 is NOT a line I want to see in my stacktrace Jan 28 23:20:57 no idea what your exact code is, ok Jan 28 23:21:04 sounds like your compiler fucked up :P Jan 28 23:22:02 lol, I've had some interesting stack traces from some apps :P Jan 28 23:22:10 "SendUserTrackingInfo.java" Jan 28 23:22:14 come on mang Jan 28 23:22:30 over http as well, not https. :( Jan 28 23:22:51 yeah, it’s also always funny to see the thousands of lines of "failed to connect to ..." in logcat, half of which are the every-60-seconds thing from Google that uploads your location Jan 28 23:22:54 pretty funny Jan 28 23:24:23 (If you live in a place where Google hasn’t indexed the WiFi networks yet, your phone tries to do so) Jan 28 23:24:40 logcat is pretty crazy, when i watch it sounds like everything is blowing up constantly Jan 28 23:25:10 Testing on Samsungs? :P Jan 28 23:25:36 Amazon Kindle is always doing crap Jan 28 23:25:40 and failing Jan 28 23:26:49 even worse is that AS can’t deal with custom names of output files. Jan 28 23:27:13 I have the build number in the filename, so it’s like Appname-release-0.2.0-build2171.apk, Jan 28 23:27:32 and AS always insists to use the first build that it created after I opened AS Jan 28 23:30:14 And even more interesting: I usually then just symlink build2170 to build2173. But then it cleans the build folder, and I have to recreate the link Jan 28 23:30:22 I feel like AS has dementia... Jan 28 23:44:13 anyone knows if there is a way to animate border radius? Jan 28 23:48:43 as in shape border radius Jan 29 00:30:58 cant get rid of out of memory -.- Jan 29 00:52:37 KoalaB: what OOM? Jan 29 00:54:01 Hello, anyone knows whether I can use android studio to make apps for previous android versions like android 2.3.4 ? Jan 29 00:55:36 yes Jan 29 00:55:48 all you need is to have the proper SDK installed Jan 29 00:56:06 oh, perfect, thanx :) Jan 29 01:24:51 dorei probably won't be long before those SDKs disappear from the SDK Manager though ... Jan 29 01:25:28 So i got these 2 edittexts: http://lpaste.net/3779181435018018816 Jan 29 01:25:39 Is there a way to make them look the same? Jan 29 02:19:23 can anyone recommend some good sites for ui/ux inspiration? I've been checking out androidnicities and pinterest but havent found what im looking for. Jan 29 02:26:52 orbyt_ Plaid app has a material channel for dribble; most of it is crap but Jan 29 02:27:17 g00s: ya ive checked out dribbble as well, not a whole lot there Jan 29 02:52:47 Which orm do you guys prefer to use? Jan 29 02:53:16 none :) Jan 29 02:54:15 the android query methods are kinda confusing Jan 29 02:54:33 I'm not a pro at sql but I find that easier almost Jan 29 02:59:20 Hi there! I want to make a simple application that allows phones to communicate over wifi (or bluetooth, I suppose), and send messages back and forth. One device would create an ad-hoc connection, then other phones would connect to the same network. I've found this peron's example, here (http://codeoncloud.blogspot.ca/2014/06/android-tcpip-client-server-socket.html) which uses java sockets. I'm also looking at the Android Wifi p2p api. Jan 29 02:59:54 huck5 google nearby messages does that for device in close proximity **** ENDING LOGGING AT Fri Jan 29 02:59:59 2016