**** BEGIN LOGGING AT Wed Jul 13 02:59:58 2016 Jul 13 03:23:01 I need to feed an embedded library with gps and other google services, perhaps tcp can save my day? Jul 13 03:24:29 I can't for the life of me figure out the dimensions for launcher icons for material design! I know the grid is 48x48dp, but what is the padding beyond which I can't have the icon? Some templates show 5dp from the edge, others say 1dp from the edge, and yet another says 3dp from the edge! Jul 13 03:25:04 has anybody tried to make a launcher icon and can tell me what the offset is for the icon relative to the image edge? Jul 13 03:25:09 I'm trying to make a square icon Jul 13 03:27:46 right now I have a 48x48 grid for the image and my icon is offset by 1dp from the edge (i.e. the edge of the icon square is 1dp from the edge of the image in 48x48) Jul 13 03:38:01 this icon i have from google developers has 5px padding on left and right, 3 top, 4 bottom Jul 13 03:38:10 so i dont think its super strict set in stone Jul 13 03:44:21 nvm i think 8px is the correct answer Jul 13 03:44:42 8px left + 8px right or 4 and 4 each side? Jul 13 03:45:07 password store has 3px each side on 48x48 and so do a bunch of others Jul 13 03:45:19 8px felt a bit out of place Jul 13 03:45:29 thanks Jul 13 03:45:46 although you're right, asus icons are just out of proportion huge anyway Jul 13 03:59:38 the guy in the presentation says jsr-363 is nice but performs poorly on android, seems to be a reoccurring theme Jul 13 04:17:25 any one used Google's APK translation service. just wanted to know the price. Jul 13 04:19:10 t2mkn, yes Jul 13 04:19:37 t2mkn, it depends on how many words are being translated, and into what language Jul 13 04:24:31 Ologn: any where i can see the price list Jul 13 04:25:05 t2mkn, if you submit your string.xml and blurb etc. and select a language, it will show you a price list Jul 13 04:25:25 For popular languages you usually have at least two options of differing price and quality Jul 13 04:25:32 ooo ok Jul 13 04:26:50 t2mkn Klingon will be more expensive Jul 13 04:28:06 is that a language g00s Jul 13 04:28:38 In order to ensure that your ads continue to serve after September 15th, 2016, please upgrade to Google Mobile Ads SDK 7.0.0 or higher. Jul 13 04:28:55 Yay, Admob is forcing me to upgrade all my apps once again with two months notice Jul 13 04:29:04 \o/ Jul 13 04:29:14 Ologn just take the ads out :D Jul 13 04:29:48 g00s, I met a guy at a coffee shop who my friend knew who owned like a dozen 7-11s Jul 13 04:29:54 And he pirated all his Android apps Jul 13 04:30:01 t2mkn ha Jul 13 04:30:06 i m thinking of translating the top 7 languages listed in my app store for Active users. Jul 13 04:30:11 oops Ologn , ha ! Jul 13 04:30:37 t2mkn, usually people do the EFIGS languages - English, French, Italian, German and Spanish Jul 13 04:30:49 Korean might be up there as well Jul 13 04:30:51 E = Elvish Jul 13 04:31:15 For my Wallpapers app, I just added a hell of a lot of languages Jul 13 04:31:28 English i can do myself :P so 4 to go Jul 13 04:32:28 I have wallpaper blurbs in Amharic, Galician, Malaya, Basque, Catalan, Esperanto, Slovene etc. Jul 13 04:33:40 You can probably put Esperanto at the bottom of your list Jul 13 04:34:31 Ologn do you have Japanese, Korean ? Jul 13 04:34:34 I have ten Esperanto wallpaper descriptions Jul 13 04:34:45 im getting this warning. anyone know what it means exactly? Warning:Packaging for dependency com.viewpagerindicator:library:2.4.1 is 'apklib' and is not supported. Only 'aar' libraries are supported. Jul 13 04:34:51 it wont let me use the library Jul 13 04:35:02 g00s, Japanese 7, Korean 5 Jul 13 04:35:10 thornekey sounds obvious Jul 13 04:35:24 g00s, I have tried to launch apps in Japan many times, it is fallow ground for Android apps Jul 13 04:35:31 ya Japanese and Korean are important too Jul 13 04:35:31 I think they are iPhone crazy Jul 13 04:35:40 g00s, is there a way i can make it supported Jul 13 04:35:49 thornekey use aar :) Jul 13 04:36:08 I think it was the Duolingo people who told me that about Japan...or some company like that Jul 13 04:36:24 im not sure how :( Jul 13 05:13:18 kotlin in action is 50% off today , again ;) Jul 13 05:13:41 wow, almost all done 10/11 chapters Jul 13 05:17:24 is it possible to execute a shell script from the assets folder? Jul 13 05:19:43 lol Jul 13 05:21:38 what? Jul 13 05:22:04 Tims_Tech: I still don't understand your app. Jul 13 05:22:20 ... Jul 13 05:22:30 it is an: Jul 13 05:22:34 HID attack app Jul 13 05:23:10 >.> Jul 13 05:24:26 Ologn: rather iphone ;) Jul 13 05:24:29 in japan Jul 13 05:25:20 Ah yeah now I remember why we won't help you with it. Jul 13 05:26:03 how to use findViewById in a function inside a fragment? i know its gotta be something like view.findViewById but do i need to set the view as a variable inside the onCreateView? Jul 13 05:26:09 or is there a getter Jul 13 05:26:48 getView() ? Jul 13 05:26:52 looks like ~70% smartphones in japan are iphones Jul 13 05:27:13 g00s, ohk, i thought so... I just set my View as a variable and then called that.. Jul 13 05:55:57 My surface view subclass, which implements SurfaceHolder.Callbacks, never gets a surfaceCreated message. I do getHolder().addCallbacks(this) during construction, and it does get called, but the surface never gets created Jul 13 06:38:06 Hi all. I'm having some trouble testing getPurchases() with the Google Play Billing helper library. I uploaded my APK to alpha channel, do a test purchase, and then try to check purchased items but it always returns 0 owned items. Jul 13 06:38:19 A working code sample next to mine works just fine .. I do not understand!! Jul 13 06:38:21 Is there something special I have to do to test these in alpha? Jul 13 06:38:49 working sample: http://pastebin.com/bYPk8P6W Jul 13 06:39:32 broken sample: http://pastebin.com/XSWmU7N3 Jul 13 06:40:17 What's not working? Jul 13 06:40:59 Hi all. Does anyone know if its possible to use pixmap/bitmap fonts in the Android Studio IDE editor? Jul 13 06:41:03 if it's crashing post a stacktrace Jul 13 06:41:03 all i get is a black screen, but i do not start drawing anything. i start drawing in surfaceCreated, but that never gets called Jul 13 06:41:12 no crash, just "not doin' nothin" Jul 13 06:42:10 canurabus: in the editor? you mean as a preview? Jul 13 06:42:20 canurabus: if you mean as a preview, then no you cannot do Jul 13 06:42:23 I mean the actual text editor where you write your code Jul 13 06:42:31 oh Jul 13 06:42:51 idk, i only know of the dropdown where you can select system-installed fonts Jul 13 06:43:11 Yeah, unfortunately that dropdown doesn't show a bunch of the fonts I have installed on my system... specifically the pixmap ones :[ Jul 13 06:43:21 man font rendering is so awful with android studio Jul 13 06:44:15 but its autocomplete is so good Jul 13 06:48:58 linux canurabus ? Jul 13 06:49:05 Here is the project: http://explod.io/hosted/surface.tar.gz Jul 13 06:49:05 raoul11, yes Jul 13 06:49:53 yeah, i had the same with pycharm on linux Jul 13 06:50:52 has to do with the jdk Jul 13 06:50:54 LinesSurface is the view not working, SurfacePanel is the working view, although it is bad code I copied so it doesnt load in the app (freezes the device) Jul 13 06:51:00 not with AS Jul 13 06:51:55 so there's no way to use pixmap fonts? Jul 13 06:53:31 http://stackoverflow.com/questions/17510099/ugly-fonts-in-java-applications-on-ubuntu Jul 13 06:53:35 donno bout pixamp Jul 13 07:41:54 hi Jul 13 07:42:21 how do i get textviews from a view pager inside a fragment? currently i have something like mThingy = (TextView) rootView.findViewById(R.id.text_athingy); Jul 13 07:43:26 i have a native shared lib with plenty of files. through ./configure, i have generated Makefile. how do i compile it with Android.mk system? Jul 13 07:44:49 anyone? Jul 13 09:20:32 bytefire: Be patient if someone knows, they'll get back to you about it Jul 13 09:35:07 sometimes when i access my viewpager it just shows the background image and none of the 'screens' i made for it.. Can you check if there is anything wrong with my code? http://ideone.com/0xgPsy Jul 13 10:14:31 hello. everyone here and can helped me? Jul 13 10:14:50 Cannot resolve symbol 'AppCompatActvity' Jul 13 10:14:54 whats wrong? Jul 13 10:16:11 Have you imported it correctly? Jul 13 10:16:11 well it cant find can it Jul 13 10:16:41 xD Jul 13 10:17:47 I hate having silly errors in my app Jul 13 10:18:20 yes. i have found the error :) an i in Actvity ^^ Jul 13 10:18:46 Created a service for maintaining BLE connection and doing BLE stuff. Tried to connect to it and was wondering why the heck it wasn't working, didn't realise you had to add it to the Android manifest. Jul 13 10:19:07 snooky: Easily done Jul 13 10:19:32 i dont really good spean english. everyone can gcm? i have an ask over gcm Jul 13 10:19:42 snooky: Next time if it says "Cannot resolve symbol" first thing you should do is look for typos and then check to see if your imports are fine Jul 13 10:20:57 when i have the token for gcm. i must only store it in my database, right? the token doesnt saved in googles database. so, when i can read the token. i can send notifications. wirte? Jul 13 10:26:20 yes. ok, its runs :) so. now everyone can helped me? I became a push notification. so, the phone rings and i see a toast with "push notification is recived" Jul 13 10:26:45 but how i can see the push notification. what i must to so i can see the icon and works with it? Jul 13 10:31:57 no one can helped me? Jul 13 10:39:18 Hi guys, I have an issue with FragmentPagerAdapter where when the app is in the background, or several other screens are being used, then the views disappear from the FragmentPagerAdapter. The tabs are still visible, but they appear to be broken in that they no longer snap to a page. Jul 13 10:39:56 all of the data is available as I debug, just nothing showing in the adapter Jul 13 10:40:23 really need help on this one, spending forever on it Jul 13 10:46:00 aye Jul 13 10:46:13 anyone looking for a partner in a small commercial project? Jul 13 10:46:43 got the idea, got the market research and financial modelling, hate androidyjavawhateveritis Jul 13 10:47:00 Xin: You got the funding to pay for it? Jul 13 10:47:29 limited funding will be available, its a pretty damn easy app Jul 13 10:47:39 profit share is negotiable Jul 13 10:47:54 I certainly dont want 50% or anything crazy Jul 13 10:47:55 If it's easy why hasn't it been done before? Jul 13 10:48:02 Because the market is new Jul 13 10:48:09 Then it's probably not easy Jul 13 10:48:20 it most certainly is Jul 13 10:48:25 I can do it by hand right now Jul 13 10:48:32 but thats not practical obviously Jul 13 10:48:45 I need to do it many times per second Jul 13 10:49:05 Xin, topic: No bots, and no advertising please, jobs or otherwise Jul 13 10:49:21 I'm certainly not a bot, and to the latter.. what Jul 13 10:49:28 'no money pls' Jul 13 10:49:35 'take it to #android-money' Jul 13 10:49:55 Post it to /r/android-dev you might get someone there Jul 13 10:50:02 */r/androiddev Jul 13 10:50:09 https://www.reddit.com/r/androiddev/ Jul 13 10:50:24 Though I don't think they accept job posts either, not sure Jul 13 10:50:25 Well I just dont want to publically disclose what it involves because people can and will put 2 and 2 together Jul 13 10:50:47 I want to interpersonally negotiate it in real time Jul 13 10:50:58 All im really after is a spotters percentage Jul 13 10:50:58 What's stopping the dev from screwing you over and taking all the profits? Jul 13 10:51:46 The fact i'm very good at publicity, financial modelling and roadmapping, investor relations and connections, strict contracting, etc Jul 13 10:52:15 I already have a full limited liability corporate structure in place Jul 13 10:52:26 A finance pipeline Jul 13 10:52:32 I could go on and on heh Jul 13 11:10:29 i need a simple http function :( Jul 13 11:10:51 markyosullivan: thanks very much! you're my hero Jul 13 11:10:52 snooky: POST or GET request? Jul 13 11:11:05 GET Jul 13 11:11:10 bytefire: What did I do? Jul 13 11:11:33 snooky: You using any HTTP libraries? Jul 13 11:11:33 i must send the gcm token to my webserver. so i must send domain.tld/register.php?regtoken=............... Jul 13 11:11:38 no Jul 13 11:11:44 Okay one sec Jul 13 11:12:06 Try hitting the URL with postman Jul 13 11:13:05 actually I've only done POST requests :D Jul 13 11:14:03 snooky: http://androidexample.com/How_To_Make_HTTP_Get_Request_To_Server_-_Android_Example/index.php?view=article_discription&aid=63 Jul 13 11:14:06 That help? Jul 13 11:14:25 If not try this: http://stackoverflow.com/questions/20321799/android-http-get Jul 13 11:15:05 that dont runs Jul 13 11:15:44 i have all examples or howto tested Jul 13 11:15:47 no one runs Jul 13 11:16:00 What version of Android are you targetting? Jul 13 11:16:10 where i can see it? Jul 13 11:17:29 * Zharf sighs Jul 13 11:17:47 If I want to make a settings fragment I need to put my main content also into a fragment otherwise the settings will just render on top of my main content? Jul 13 11:17:52 is that correct? Jul 13 11:18:02 great job jetbrains, great job... now all (supposedly incremental) builds take 2 minutes Jul 13 11:18:36 * Zharf downgrades to 2016.1.1 Jul 13 11:20:29 all shit Jul 13 11:20:33 why android is so? Jul 13 11:21:07 snooky: Check your gradle file Jul 13 11:21:59 MainActivity.this.runOnUiThread(new Runnable() { Jul 13 11:22:03 HELP Jul 13 11:22:08 whats wrong in this line? Jul 13 11:22:13 my app works in debug but not in release Jul 13 11:22:20 here is the logcat: Jul 13 11:22:20 https://justpaste.it/w7n8 Jul 13 11:25:01 http://nopaste.linux-dev.org/?1119435 so i want it. but it dont runs. he says "its not en enclosing class" on line 188 Jul 13 11:25:56 and line 144 - 206 i want use in an seperated file. but i dont now how Jul 13 11:30:48 when i go to something else in my app and then go back to the fragment that has this viewpager, some of the 'screens' dont appear Jul 13 11:30:51 http://ideone.com/0xgPsy my code Jul 13 11:31:43 thornekey: That sounds like a familiar problem Jul 13 11:31:51 oh is it? Jul 13 11:31:52 bytefire: Had the same issue I think Jul 13 11:32:30 bytefire, mind helping me out if you had that issue? Jul 13 11:32:40 No wait Jul 13 11:32:42 he didn't Jul 13 11:32:43 sorry Jul 13 11:32:45 oh Jul 13 11:32:49 I confused the two of you up :D Jul 13 11:32:54 Realised you had posted earlier Jul 13 11:32:58 ohhh ahah, yea i asked earlier but got disconnected Jul 13 11:33:02 so wasnt sure if it was answered Jul 13 11:33:12 thanks for noticing though :) Jul 13 11:33:17 all fucking shit Jul 13 11:34:34 cannot resolve runOnUiThread Jul 13 11:34:35 -.- Jul 13 11:37:08 why android is so fucking shit badly? Jul 13 11:42:08 no it runs but i dont became an website request -.- Jul 13 11:44:18 snooky: It's not Android that's bad here Jul 13 11:45:00 The reason that you cannot reference the MainActivity on line 188 is that there is no reference to a MainActivity object in that scope Jul 13 11:45:47 so. now it runs. but its not fine so. i want the "http" in an seperated file. how i do it? Jul 13 11:47:51 http://nopaste.linux-dev.org/?1119436 Jul 13 11:47:54 so it runs Jul 13 11:48:29 but line 142 - 185 i want store in an seperated file. and i want use this function from all files in my android project Jul 13 11:50:03 Make websiteread a static method in a separate class with two arguments: 1. String url 2. A custom completion listener interface Jul 13 11:51:44 Declare and initialize a new Handler object in the first line of websiteread. Instead of runonuithread use post method on the handler to call the listener Jul 13 11:56:56 ah ok. i have nothing understand. Jul 13 11:57:05 i hope google helped me Jul 13 11:58:12 Take a few minutes to read up on the terminology. It will help you understand my hints, and also formulate a solution for yourself. Jul 13 12:02:38 pduin, you're going the wrong way about this Jul 13 12:03:14 if someone isnt willing to learn the basics of java, telling him about listeners and handlers wont do much good Jul 13 12:04:58 I was trying to give an answer without just throwing out a solution. I guess I took it a few levels of abstraction to high Jul 13 12:05:16 You are right though Jul 13 12:05:37 that would only lead to another basic question Jul 13 12:07:38 True, and I guess basic Java falls outside of this channel's scope Jul 13 12:08:22 tbh id rather ask java related questions here than in ##java Jul 13 12:08:36 last time i was there it felt hostile Jul 13 12:08:55 Ah, I see Jul 13 12:33:04 Hello Jul 13 12:34:43 I will like to know if it is possible to do the next app in Android, it is for improve organization. Jul 13 12:37:32 I start my app, then: between Monday and Friday, it has to show me a message from 16:00 to 19:00 (once between those hours) Jul 13 12:37:41 Is it posible? Jul 13 12:38:56 Is it possible to inspect/add breakpoints to native code on a thirdparty app? Jul 13 12:39:07 dammit Jul 13 12:39:35 Ashiren: do you remember off hand the shortcut for search write-access? Jul 13 12:40:07 thepoosh, hey I'm trying to add a simple PreferenceFragment to my app. So that when its called from a nav drawer menu item it shows up Jul 13 12:40:25 ok Jul 13 12:40:30 what seems to be the issue? Jul 13 12:40:49 thepoosh, I've followed androids official docs. All works fine. However it seems to draw the fragments right over my whole screen. I can see my MainActivity below. Jul 13 12:40:54 I can obviously read native code from lib/*.so in APKs, but that's not realtime. I am looking for a realtime solution where I can step through the program Jul 13 12:41:02 thepoosh, I don't actually have an activity for the preference fragment Jul 13 12:41:23 thepoosh, also when the fragment shows up there is no action bar or back button. Jul 13 12:41:49 thepoosh, I must stress that my app is basically the android studio template of nav drawer where in the mainactivity I load a webview Jul 13 12:41:52 still can't seem to understand the issue Jul 13 12:41:59 also, beep a little less Jul 13 12:42:47 well, the issue is that my preferences screen shows up and i have no way of going back since there is no action bar (button, title, nothing). Jul 13 12:43:11 followed these instructions: https://developer.android.com/guide/topics/ui/settings.html Jul 13 12:43:28 why not pop the backstack if this is a preference fragment? Jul 13 12:44:53 getFragmentManager().beginTransaction() Jul 13 12:44:53 .replace(android.R.id.content, new SettingsFragment()) Jul 13 12:44:53 .addToBackStack(null) Jul 13 12:44:53 .commit(); Jul 13 12:44:57 argh sorry Jul 13 12:45:09 that was supposed to be on one line Jul 13 12:45:33 .addToBackStack(null) <-- tried adding that in. Its not in the dev documentation example Jul 13 12:46:26 why would you do that? Jul 13 12:46:39 and why replace instead of add? Jul 13 12:47:38 both add and replace (and with and without null backstack) has the same effect Jul 13 12:49:08 without .addToBackStack(null) when i press android back button its stepping back trough my webview screens Jul 13 12:49:39 Also the android docs i linked to said to use replace thats why it wasnt an add Jul 13 12:51:29 kostodo: when you add and add the fragment (not null) to backstack Jul 13 12:51:48 clicking back will remove the fragment and show the previous fragment Jul 13 12:52:01 thepoosh, but i dont have a previous fragment Jul 13 12:52:10 thepoosh, i've just got a webview loading in my mainactivity Jul 13 12:52:41 wtf are you talking about Jul 13 12:53:04 im not quite sure any more tbh Jul 13 12:53:14 same here Jul 13 12:53:18 you have a navbar Jul 13 12:53:32 and there must be a main view (the one under the navbar) Jul 13 12:53:39 when clicking the preferences item Jul 13 12:53:48 you replace the main view with the prefs fragment? Jul 13 12:53:57 thats not whats happening Jul 13 12:54:04 it replaces everything. goes fullscreen Jul 13 12:54:23 what you described is what i would expect to happen Jul 13 12:55:45 After adding scrimVisibleHeightTrigger in CollapsingToolbarLayout, the app crashes with "Error inflating class android.support.design.widget.CollapsingToolbarLayout". I'm using 24.0.0 support libraries. Anyone came across this issue? Jul 13 12:55:47 then you're doing it wrong Jul 13 12:55:51 hehe Jul 13 12:55:55 * raoul11 pokes thepoosh Jul 13 12:56:03 pretty damn sure im doing it wrong ;) Jul 13 12:56:23 do i need to give the preferencesfragment its own activity? Jul 13 12:56:36 right now im loading it from mainactivity which also has my webview Jul 13 12:57:58 raoul11: sup Jul 13 12:58:08 melting Jul 13 12:58:18 not here dude, JLM is nice and dry Jul 13 12:58:20 hows your side of the desert? Jul 13 12:58:28 also, beer festival tomorrow Jul 13 12:58:31 so F yeah! Jul 13 12:58:39 ah nice Jul 13 12:58:54 guinness or gtfo for me /: Jul 13 12:58:57 raoul11: they even spoke about it in GLZ last night Jul 13 12:59:15 private breweries Jul 13 12:59:37 i actually had a nice israeli beer on friday Jul 13 13:00:25 bloody hell, cant for the life of me get facebook api key hashes to work.. ive located my debug.keystore file and tried everything.. Jul 13 13:00:32 still says its the wrong keyhas... Jul 13 13:00:35 hash* Jul 13 13:02:47 thepoosh, must i have an different activity to my main activity start my prefs fragment ? Jul 13 13:03:23 the prefs fragment does not respect any of my layout xml. it just draws full screen on top of my webview Jul 13 13:14:16 Has anyone used Firebase Authentication? Do you normally use it stand-alone? Do you use auth0 as well? Jul 13 13:17:13 raoul11: Shapira? Jul 13 13:17:22 aye Jul 13 13:18:53 does anyone have an idea about what to do about this...? Jul 13 13:18:57 Error:Execution failed for task ':app:processDebugGoogleServices'. Jul 13 13:18:59 > Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.2.0. Jul 13 13:19:21 I just switched to gms 9.2.1 Jul 13 13:31:57 hi, who here does android wear development? Jul 13 13:34:27 I just started yestetday! Jul 13 13:34:53 I'm planning to integrate my application for use on the moto 360 Jul 13 13:35:42 hello everybody. I've got a problem with Adndroid Studio 2.1.2. When I start it, everything's fine.. After working a while, i can't create new arrays anymore because "alt gr"+8/9 doesn't work as expected. It jumps to the beginning or end of the actual block and doesn't write a "[" or "]" any more. After a restart it works again as expected. Any ideas how to solve that problem without restarting Jul 13 13:36:00 I know about Android development but haven't used an Android wear device before. So far it doesn't seem that bad but again I just started last night Jul 13 13:36:13 GGMethos: cool! Jul 13 13:36:25 Never seen that error before Belenor :( Jul 13 13:36:35 is it any different from regular android? Jul 13 13:36:36 I'm on 2.1 though Jul 13 13:36:59 the IDE? I've already set action.system.force.alt.gr = true Jul 13 13:37:38 hi all Jul 13 13:37:50 everyone here from germany or can speak german? Jul 13 13:38:01 GGMethos thanks. I can't even reproduce that, it just happens on some occasion. Jul 13 13:38:11 yeah. its mostly the same but there's some stuff from Google's dev site you should read Jul 13 13:38:16 wear api Jul 13 13:38:33 it still uses activities and forms like android Jul 13 13:38:45 i cant get facebook api key hashes to work :( Jul 13 13:38:49 anyone know?? Jul 13 13:39:08 ive tried generating my own keystore file, ive tried using the default Jul 13 13:39:12 and none are working.. Jul 13 13:39:27 i need a script for my app. i pay for it Jul 13 13:41:42 raoul11: ^ ;-) Jul 13 13:42:15 \: Jul 13 13:42:31 would be entertaining to see someone taking the bait Jul 13 13:42:38 snooky: fiverr/upwork/elance Jul 13 13:42:54 snooky: No advertising, jobs or otherwise. Jul 13 13:45:40 sry Jul 13 13:46:55 ok, so everyone can helped me? i have an gcm intent. when i send an notification the phone rings and view the notification. how i "read" this notification? how i can view it on an activity? Jul 13 13:50:26 I'm looking forward to do authentication in my android app, any resources to read? Jul 13 13:55:11 Hey. I'm using a ObjectAnimator.offFloat(); on an ImageView to make it disappear when a object is dropped on it, but when the animation is finished and the imageview is gone, it can't reappear if a new object is being dragged to it. Do I need to re-create the ImageView when the animation is finished? Jul 13 13:58:34 Just reset whatever property you're animating Jul 13 14:01:24 hmm anyone know of a spec for the switch button that contains an image that google inbox uses? http://core0.staticworld.net/images/article/2014/10/google-inbox-100526293-primary.idge.jpg Jul 13 14:03:34 Do I want my model objects to be direct mirrors of what exists in my database. And I want my model to be immutable. How do you guys handle this? Jul 13 14:04:57 \q Jul 13 14:06:46 SimonVT, care to elaborate just a bit on the resetting part? http://pastebin.com/E2tEnYYG <-- I'm essentially shrinking it in Y & X axis, so how would I reset those values ? Jul 13 14:07:31 You animate scaleX to 0.. Set it back to its default value when you need to use it again Jul 13 14:08:19 Also, you should use ViewPropertyAnimator, view.animate().scaleX(0.0f).scaleY(0.0f) Jul 13 14:08:40 Then you get ViewPropertyAnimator#withEndAction Jul 13 14:08:45 SimonVT, so just feed the X value from the image into an int/float before animating, and then use that value again to img.setScaleX(value) ? Okey I'll go with that instead Jul 13 14:09:00 eghdk: If you find out the resource for that switch button let me know :0 Jul 13 14:09:01 * :) Jul 13 14:09:32 Or just look up the default value and set that.. For a float value I'd expect 1 to be the default Jul 13 14:11:24 SimonVT, oh yeah right. Thanks! Jul 13 14:15:03 markyosullivan: What? Jul 13 14:16:56 SimonVT, another question if I may, how low in the API level chain is it common to support? I saw the .withEndAction required API 16 and I target 14 at minimum. Is it overkill to support API 14 in todays world? Jul 13 14:17:19 Yes Jul 13 14:17:37 https://developer.android.com/about/dashboards/index.html Jul 13 14:17:58 min sdk at least 16 Jul 13 14:18:20 ok targeting 16 at a minimum seems reasonable then Jul 13 14:18:57 min sdk 19 covers about 75% of users Jul 13 14:19:26 well then, I've been coding lot's of exception code unnecessery then Jul 13 14:19:43 and min 21 gets you like 45% Jul 13 14:20:16 unless you have a need to access the entire demographic immediately, start with min 21 and decrease as you need to increase users Jul 13 14:20:27 I need to cut down on cannabis, I'm way to paranoid that people with old devices will be angry Jul 13 14:20:48 Thanks for clearing that up, this will remove a lot of headaches Jul 13 14:20:52 :'( heeeeeeeeelp Jul 13 14:21:00 Chances are, that for a new app, your users will probably have newer devices Jul 13 14:21:46 why would users with older devices be angry Jul 13 14:21:55 snooky: Ask your question and wait for an answer. If noone answers within 20-30 minutes, ask again. Don't start with the whole "heeeelp", "anyone?", etc. That's just annoying. Also consider other forums like stackoverflow if you don't get help here. Jul 13 14:21:56 why would they even know about your app Jul 13 14:22:22 Cause I have a big ego and think it will carry a high interrest lol Jul 13 14:22:48 it won't Jul 13 14:23:07 that was harsh Jul 13 14:23:20 it's the truth Jul 13 14:23:23 not harsh Jul 13 14:23:30 the truth is harsh Jul 13 14:23:55 unless you're spending a few million on marketing, or you go viral, no one will know about it Jul 13 14:24:17 i have an gcm. it runs fine. when i click on the notification its opend a new activity. its good, but when i two or three notifications receive then are stored everywhere. i dont now how i can clear it. Jul 13 14:24:56 that's what I'm aiming for pfn , but even with millions being pumped into marketing it still stands a very small chance. Jul 13 14:26:15 I like to be a combination of optimistic and realistic at the same time. Jul 13 14:27:56 you have a budget of millions for marketing? Jul 13 14:28:17 My PreferenceFragment is rendering right at the top of my screen. How do I make it show under my toolbar? Jul 13 14:30:41 Pokemon Go now working for Android Nougat, just a heads up for anyone who didn't know Jul 13 14:30:42 Add it to a FrameLayout that's under your Toolbar Jul 13 14:32:28 pfn, I didn't say that. But I'm aiming to do so. Jul 13 14:32:58 i dont know how i can clear the notifications. and i dont know where the notifications are stored Jul 13 14:40:02 so i have removed every single text relocation except 2 from my library and cant figure out the last two :/ Jul 13 14:42:09 thanks for help Jul 13 14:43:52 pfn, what sort of trick do you think the Flappy Bird creator used? Cause he didn't market shit did he? Jul 13 14:44:04 Bernzel, lucky viral Jul 13 14:44:10 pfn, hm okey Jul 13 14:44:16 that's one of those one in a billion things Jul 13 14:44:39 What am I even doing here behind my pc, I might as well go buy lottery tickets Jul 13 14:44:58 if you want to get rich off apps, that's about your chances Jul 13 14:46:01 I'm going to be a musican instead, I recon there's a greater chance there Jul 13 14:48:17 wow i never saw flappy bird before, its creator removed it from the store because its too addictive! Jul 13 14:48:40 I440r, I heard it was because some kid was trying to kill his brother Jul 13 14:49:08 wikipedia is the oracle of all knowledge, true and false :) Jul 13 14:49:12 thats where i got my info Jul 13 14:49:18 fair enough Jul 13 14:49:28 so you might be right is what im saying lol Jul 13 14:49:33 I440r, is false information "knowledge"? #PhilosophicalQuestion Jul 13 14:49:53 thebishop, there is a difference between "Facts" and "truth" Jul 13 14:49:57 it was a fact that the earth was flat Jul 13 14:50:05 it was a fact that the sun revolved round the earth Jul 13 14:50:39 I440r, does a submarine swim? Jul 13 14:50:50 i.e. facts are what we believe to be true and that changes over time. TRUTH is static Jul 13 14:51:01 thebishop, do you KNOW it does? Jul 13 14:52:30 actually the more i read the wikipedia article the more i like the guy Jul 13 14:53:04 he never gets argumentative about other peopls opinion, even when they accuse him of wrong doing Jul 13 14:53:25 I440r, does it say he's vietnamese atleast? Jul 13 14:53:32 yes Jul 13 14:53:35 good Jul 13 15:05:21 Bernzel: Yeah the guy who created Flappy Bird was really lucky Jul 13 15:05:28 I don't think he marketed it much Jul 13 15:05:43 indeed, good for him Jul 13 15:06:29 So what musical instrument are you going to play? Jul 13 15:08:44 they claim he used bots, he did not deny it, he simply didnt argue the point Jul 13 15:14:11 hei either increase my code size by an order of magnitude or i dedicate every register from r11 to r5 leaving only r0 to r4 as scratch Jul 13 15:25:48 I440r: He used bots? Jul 13 15:26:12 Did he come under fire for using them and then have to remove them? Jul 13 15:27:48 i'd like to download the newest version of android ISO Jul 13 15:27:55 Android 7.0? Jul 13 15:28:01 where is the link, please? Jul 13 15:28:04 Hey guys, I have an async UI update question Jul 13 15:28:31 You can access the beta for it, not sure about the ISO Jul 13 15:28:49 where can I find the beta? Jul 13 15:28:57 konk3r: Do you mean onPostExecute()? Jul 13 15:28:59 i'm trying to find, but i can't find Jul 13 15:29:52 I have some views that I want to swap every view seconds and was wondering what the best way to manage that would be. My initial thought was to just call postDelayed with a runnable every x seconds on my root view, then have it repost itself when it finishes but I want to make sure that's not going to cause any lifecycle issues Jul 13 15:30:50 I don't want to stack multiple instances of that runnable if the pauses then resumes the app Jul 13 15:31:33 I doubt I could help you there, hopefully someone else can Jul 13 15:31:45 I would assume I could just hold onto the runnable and try to remove it in onPause, but that hasn't always worked for me in the past Jul 13 15:32:00 rapier: https://accounts.google.com/ServiceLogin?service=androidconsole&passive=3600&continue=https%3A%2F%2Fwww.google.com%2Fandroid%2Fbeta&followup=https%3A%2F%2Fwww.google.com%2Fandroid%2Fbeta&authuser=0 Jul 13 15:32:14 markyosullivan: thanks for trying at least, appreciate it Jul 13 15:32:52 markyosullivan, thank you Jul 13 15:33:09 i've found here too >>> https://docs.google.com/uc?id=0B3KLffP5jSkVdHpjSHVxWGIyVHM&export=download Jul 13 15:33:33 konk3r: I don't have experience with what you're trying to do, if I did I'd share how I did it, sorry! Jul 13 15:33:47 Haha that wasn't sarcasm, I understand Jul 13 15:33:57 Oh okay, just making sure Jul 13 15:37:49 they accused him of it, he refused to argue that point Jul 13 15:40:42 Okay, I'm going to try creating a new runnable every time and storing it as mCurrentlyQueuedTask, if the activity pauses I'll called removeCallbacks(mCurrentlyQueuedTask) and then just create a new one in onResume, hopefully that will work. Jul 13 15:40:54 I'm not sure why removeCallbacks hasn't worked for me in the past Jul 13 15:42:54 No reason to create a new instance, just post and remove the same one Jul 13 15:43:09 hmm, iTunes team uses scala Jul 13 15:57:14 Hello, I tried to incorperate the same code from my lisactivity as list fragment however when my code runs it crashes and gives a nullpointexception on post execute Jul 13 15:57:37 here is the code: http://pastebin.com/jqTLMwWG Jul 13 15:57:48 here is the error: http://pastebin.com/gbLJ0g89 Jul 13 15:58:05 tlist is a custom row for listview whereas 1stposts is the listview itself Jul 13 15:58:15 I dont know how to fix the issue on postexecute Jul 13 16:03:02 is a SettingsActivity and a MainActivity a good design for an ssh app or should i use Fragments with just one Activity? Jul 13 16:07:43 hi guys, sorry for the OT but I have a problem, my friend tablet got stolen but he doesn't have the gps on and from the google manager I cannot trace it. Do you know any app that allows the GPS to switch on just by installing it? Jul 13 16:07:43 I just have access to google market. What could I do? Jul 13 16:11:03 so for some reason my build is putting one of my functions in the .rel_dyn section Jul 13 16:11:13 device manager should be able to do that, assuming he authorized it to begin with Jul 13 16:11:29 thats the one thats causing a text relocation Jul 13 16:11:39 two of them Jul 13 16:12:53 wyrdtrtle: the device manager says the access to position is disabled Jul 13 16:13:37 I'm searching if there's anythign I can install to enable this, just by installing it :\ Jul 13 16:13:45 then i would guess the tablet is powered off Jul 13 16:13:54 no no it's on Jul 13 16:14:01 we can see though whatsapp Jul 13 16:15:24 weird, i dont know of any app that can do that, especially from another device entirely Jul 13 16:17:18 wyrdtrtle: gps is off, I guess if it was on I could trace it Jul 13 16:17:48 i know on phones that gps can never truly be turned off, they require it that way for e911, but idk if tabs are the same or not. Jul 13 16:18:54 Anyone here that use GPGS for multiplayer? It is a bit weird that not one player creates a game and other join but both create and join... how would you decide what level to play? I want to randomize a level that the users should play against each other Jul 13 16:21:55 Hi guys Jul 13 16:23:14 If I've a localized app, and I want to use the same banner_ad_id for every locate, should I repeat the same value in each string.xml file, or sould I use only at the top strings.xml file, and then, on each localizable, when app can't find localized banner_id value, it reads from the main strings.xml file? Jul 13 16:23:19 Thanks and sorry for my english! Jul 13 16:23:39 just use the main strings.xml file Jul 13 16:23:46 thanks s73v3r Jul 13 16:26:02 Anyone have any thoughts on whether or not a Model class should use an Interface? Jul 13 16:31:58 i prefer my models to be as close to structs as possible, but there are times when an interface can make things easier Jul 13 16:37:00 i am using Android SDK Manager ro try to install Android SDK Build-tools 24 but everytime i tell it to download it says "Downloading Android SDK Build-tools, revision 24. Resuming Android SDK Build-tools, revision 24 download at 40223680 (81%). Download interrupted: Connection reset. Done. Nothing was installed." Jul 13 16:37:57 I have toggled the http over https thing.. and cleared the cache button Jul 13 16:38:07 And rebooted Jul 13 16:42:21 hi there. do you know how Google Now recognizes music player apps that it can use with the "play music in MyMusicApp" voice command? Jul 13 16:42:28 nice to see 500 people afk Jul 13 16:42:38 I already implemented the proper intent-filter Jul 13 16:42:57 and verified that everything is set up correctly. but it still doesn't work Jul 13 16:43:11 does my app have to be on the play store or something? Jul 13 16:54:11 i am using Android SDK Manager ro try to install Android SDK Build-tools 24 but everytime i tell it to download it says "Downloading Android SDK Build-tools, revision 24. Resuming Android SDK Build-tools, revision 24 download at 40223680 (81%). Download interrupted: Connection reset. Done. Nothing was installed." I have tried forcing http over https and have cleared the cache.. Jul 13 16:54:33 Does ANYONE know how to delete the partial download so it can complete? Jul 13 16:58:45 Does Gmae Services have a URL scheme to launch the app with? Jul 13 17:28:26 hi i don't understand how i can repeat this button https://www.dropbox.com/s/0hlvgkcvzcvka2x/original.png?dl=0 i create this https://www.dropbox.com/s/ffn0gcdtz7kkpt3/btrndblu.9.png?dl=0 but i have this result https://www.dropbox.com/s/f1zidolzi9l8nmu/resut.png?dl=0 Jul 13 17:30:25 Hello? Jul 13 17:33:51 ohai Jul 13 17:34:55 is GDB the best way to monitor native code (c/c++) running in my app? is there something built into android studio? Jul 13 17:35:05 I got some problems with my phone switching from KingRoot to SuperSU, but I decided that #android-root was a better place to discuss it Jul 13 17:36:31 thebishop, afaik gdb is the way to go Jul 13 17:38:03 dragorn, thanks. i'd settle for something that just confirmed at a high level that some native code was running without actively inspecting it. but gdb still seems like the most straightforward tool Jul 13 17:38:56 Damn nobody's helping, can I ask it here? Jul 13 17:39:07 DasGat: no Jul 13 17:39:12 this isn’t a root channel Jul 13 17:40:34 thebishop: it sounds like you just want logging Jul 13 17:41:44 thebishop, unfortunately most of the debug tools are oriented towards the java layer, gdb is still the way to go on native. ndk is a bit of a unicorn. Jul 13 17:42:36 dragorn: what's missing in this case? I'm pretty ignorant of all that Java above me Jul 13 17:43:00 danalbert, there's a fairly complete java debugger built into android studio Jul 13 17:43:20 danalbert, which isn't to say gdb is incomplete, but it's not nicely integrated into the UI Jul 13 17:43:27 I though lldb was though Jul 13 17:43:32 * danalbert is not actually an AS user Jul 13 17:43:34 oh, is it now? that would be nice Jul 13 17:43:41 danalbert, i have some logging now, which is why i'm going down the path. basically i have a native thread that continues running after the Java service which called it is destroyed Jul 13 17:44:09 thebishop, and you don't want it to? Jul 13 17:44:43 dragorn, right, i want that thread to die with the service, but i think i have to do this manually. i'd like to be able to monitor something to confirm that the native thread dies when i expect it to Jul 13 17:45:16 thebishop, i'd just add a native call to kill it and wrap it in the service shutdown Jul 13 17:53:33 dragorn, that's what i'm doing, but i was looking for tool suggestions to watch and confirm that it works Jul 13 17:53:40 dragorn, seems like gdb is it Jul 13 18:16:25 does anyone have an idea about what to do about this...? Jul 13 18:16:28 Error:Execution failed for task ':app:processDebugGoogleServices'.> Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.2.0. Jul 13 18:25:38 IrishGringo btw GMS got another update yesterday Jul 13 18:25:45 i think its 9.2.1 now Jul 13 18:26:35 g00s: actually, I think it was this morning... I did the change... and now I have the above issue when I am doing Firebase stuff... Jul 13 18:27:41 I have been playing with the gradle files... other files... but I get this error... I may switch back to 9.2.0 Jul 13 18:28:07 hm, dunno maybe clear caches , etc - never heard of google-services-plugin Jul 13 18:28:36 i have cleared and rebuild many times... no joy so far Jul 13 18:35:16 IrishGringo do you have that version string in the manifest ? Jul 13 18:36:26 Anyone here that use GPGS for multiplayer? It is a bit weird that not one player creates a game and other join but both create and join... how would you decide what level to play? I want to randomize a level that the users should play against each other Jul 13 18:37:22 g00s: compile 'com.google.android.gms:play-services-appindexing:9.2.1' Jul 13 18:37:30 that is what causes the problem Jul 13 18:37:44 and creates the above build failer Jul 13 18:38:56 I am doing an android firebase project... but htis is a test app where I am just attmepting to get email/password services running. Jul 13 18:40:35 g00s: but this works... no compile errors... compile 'com.google.android.gms:play-services-appindexing:9.2.0' Jul 13 18:40:54 g00s: and these are almost virgin new projects... nothing else going on... Jul 13 18:41:53 Maybe try pasting build.gradle, AndroidManifest, etc.. Anything related to setting up gcm/firebase Jul 13 18:42:21 Easier for people to help if they know what you're doing Jul 13 18:42:43 IrishGringo i was asking about this: Jul 13 18:43:00 Jul 13 18:43:25 in your AndroidManifest.xml, i don't recall its function though - it might just be for Play Jul 13 18:50:37 g00s: http://pastebin.com/cUuV41Ap Jul 13 18:51:02 those are the build.gradle files in AS Jul 13 18:52:39 hm, dunno. as long as you aren't mixing 9.2.0 and 9.2.1 stuff Jul 13 18:52:46 i don't have classpath 'com.google.gms:google-services:3.0.0' Jul 13 18:52:56 but i don't use much GMS Jul 13 18:57:38 related to Doze and background services... the service hasn't been stopped Jul 13 19:02:29 g00s: I am just switching back to 9.2.0 worked before... the docs call for it.... Jul 13 19:02:44 Hey, since some hours I am unable to see the user feedback and ratings in the developer console. There is only an error message with something like unexpected error and try again later Jul 13 19:02:53 does anyone have a similar problem? Jul 13 19:10:21 Probably server overload due to pokemon go Jul 13 19:14:42 I hope so ;) Jul 13 19:50:06 hi there. what's up with the developers console game services these days? basically when i try to add game services to a game, it duplicates most stuff :( Jul 13 19:50:19 is it independent from the play store or something nowadays? Jul 13 19:50:58 i have to provide a description again and all that stuff Jul 13 19:51:28 it's so confusing... i've lost a whole day trying to make sense of that crap Jul 13 19:53:30 google products recently have the worst ux i've ever seen... i couldn't do worse even if i've tried hard Jul 13 20:03:16 gross jack legacy multidex takes 9mins Jul 13 20:21:25 then don't legacy multidex with jack... Jul 13 20:21:27 that's rather obvious Jul 13 20:21:33 why do you even care, except for release builds Jul 13 20:21:47 which should happen like once every 2 weeks or longer at most Jul 13 20:25:36 If I have a scrollview of lots of images, does android 'recycle' the images that aren't visible on the screen? Jul 13 20:26:36 for instance, if you had just a long vertical list of contiguous images all in a scrollview, i'm assuming the app would crash due to memory management issues Jul 13 20:27:58 any advice on virtual keyboard library? Jul 13 20:54:06 So I have a text view inside of a screen overlay that I want the user to be able to type into. Unfortunately the keyboard does not appear when the text field is touched. Does anyone know what's going on/how to fix? Jul 13 20:54:44 Radio buttons seem to work just fine Jul 13 21:01:22 Hi all. Is there any way to get android logging statements to show up in JUnit tests? I'm using Android Studio 2.1. Currently I just don't get any output. Jul 13 21:03:13 @Dynasty TextView? Not EditText? Jul 13 21:03:36 Oh it's EditText Jul 13 21:03:40 sorry Jul 13 21:04:41 Is something else stealing focus from the EditText? i.e. when you click it do you at least get the cursor for inserting text?? Jul 13 21:04:42 Or nothing happens Jul 13 21:06:02 If nothing happens it's probably a different View stealing focus -- you can always try focusable:true and focusableInTouchMode:true Jul 13 21:06:29 If it's just the keyboard not appearing, then you should post code and what device you're testing on' Jul 13 21:07:53 okay I already tried focusable:true, but I haven't tried focusableInTouchMode yet Jul 13 21:08:34 I want to add an "upload file to server" feature to an app. The file to be uploaded could be any one of a number of formats, and I want to upload to a server I personally host, not something like dropbox or google drive. Does the android API support this? If so, what protocols does it use? Can it use something like SCP? I'd prefer to stay way from FTP since it is unencrypted. Jul 13 21:15:32 implement your own scp Jul 13 21:17:34 Hello, I tried to incorperate the same code from my lisactivity as list fragment however when my code runs it crashes and gives a nullpointexception on post execute Jul 13 21:17:38 here is the code: http://pastebin.com/jqTLMwWG Jul 13 21:17:44 here is the error: http://pastebin.com/gbLJ0g89 Jul 13 21:17:50 tlist is a custom row for listview whereas 1stposts is the listview itself Jul 13 21:17:57 I dont know how to fix the issue on postexecute Jul 13 21:26:34 liuwenhao: I got the keyboard to show up, but when I type nothing goes in the text field. Here is the code: http://pastebin.com/YRe6gpMw Jul 13 21:28:05 it does appear to be fundamentally a focus problem Jul 13 21:30:17 Can you post XML? I had to restart PC so if you posted before I didn't see it Jul 13 21:32:05 liuwenhao: http://pastebin.com/G91z9Nne Jul 13 21:40:36 Hmm, I just tried a clean project with that xml and it works fine. Jul 13 21:40:44 You don't need to manually call the keyboard in onClick Jul 13 21:40:57 Is it in an overlay though? Jul 13 21:40:59 Actually you probably shouldn't have onClick for your editText at all. Jul 13 21:41:07 You are using an overlay? That could be the problem Jul 13 21:41:18 Yes the text field is in an overlay Jul 13 21:41:38 it's a chat app that needs to be displayed above other apps Jul 13 21:42:05 actually more like a custom HUD for a game, but whatever Jul 13 21:42:20 Did you see this: might help http://stackoverflow.com/questions/27488569/unable-to-getfocus-and-start-editing-an-edittext-in-type-system-alert-window Jul 13 21:43:53 shit Jul 13 21:44:00 is there a hack to get it to work Jul 13 21:46:22 PM me the full class and I will look at it Jul 13 21:46:49 I've seen other apps that do the same thing you're trying to do so I'm sure there is an easyish fix Jul 13 21:48:20 you can also try a setOnFocusChangeListener to the EditText Jul 13 21:48:40 might help for debugging Jul 13 21:52:46 Hi, moved android project from windows machine to linux machine. Now my project won't build. I keep getting Error:'com.android.build.gradle.BasePlugin' does not implement the Plugin interface. Jul 13 21:52:56 Also Execution failed for task ':CordovaLib:compileDebugAidl'. > Executor Singleton not started Jul 13 21:53:07 What's going on? Jul 13 22:00:49 Same version of Android Studio? Jul 13 22:10:46 Hello, I tried to incorperate the same code from my lisactivity as list fragment however when my code runs it crashes and gives a nullpointexception on post execut Jul 13 22:10:52 here is the code: http://pastebin.com/jqTLMwWG Jul 13 22:10:58 here is the error: http://pastebin.com/gbLJ0g89 Jul 13 22:11:10 I dont know how to fix the issue on postexecute, can someone take a look at my code and help me Jul 13 22:12:24 trying to get help all day -_- Jul 13 22:16:54 trying to find virtual keyboard to use in android tv app. any advice? Jul 13 22:20:05 DarkChaoz: PageFragment2.java:110 Jul 13 22:20:11 tweets are null? Jul 13 22:20:56 DarkChaoz: // just eat the exception Jul 13 22:21:03 rly? Jul 13 22:30:20 can anyone help me with my problem? Jul 13 22:33:31 check the JSON you’re getting back Jul 13 22:33:45 and check that twits isn’t null before you use it Jul 13 22:37:03 DarkChaoz: log exceptions, do not ignore them Jul 13 22:37:14 yeah yeah, welcome =В Jul 13 22:50:20 Is it safe to reference application context in doInBackground of an AsyncTask? Jul 13 22:50:57 I'm trying to get the advertising id with AdvertisingIdClient#getAdvertisingInfo(context) which must be called in the background Jul 13 22:51:06 yes Jul 13 22:51:19 My current helper class is https://gist.github.com/caseykulm/2282908c72d5e224f5b1bd88ab04485c Jul 13 22:51:37 It seems to be working fine Jul 13 22:51:51 Just not sure if there's anything to worry about threading wise Jul 13 22:52:13 Chainfire: How could I figure out whether it is? Jul 13 22:52:29 s/figure out whether/learn how/ Jul 13 22:55:02 The rule of thumb is, if you're running any code, Application context is valid Jul 13 23:12:49 man multidex got super gross in build tools 24 Jul 13 23:13:00 at least I can remove this collectMultiDexComponents hook now Jul 13 23:20:58 what? Nothing changed Jul 13 23:25:59 interesting report http://www.sonatype.com/hubfs/SSC/2016_State_of_the_Software_Supply_Chain_Report.pdf Jul 13 23:26:11 "1 in 16 Java Components Have Security Defects" Jul 13 23:29:32 pfn: ping Jul 13 23:29:39 ? Jul 13 23:31:03 pfn: http://pastebin.com/XeWMqHDB Jul 13 23:31:17 sbt-android Jul 13 23:32:57 let me know if it's my fault Jul 13 23:33:56 vigilancer, make sure you're on all the latest versions and don't have any references to the old name, like in Global plugin config Jul 13 23:43:15 pfn: cleaning up .sbt/ seems to work, thanks Jul 13 23:54:26 yeah, you just needed to remove the instance you added in ~/.sbt/0.13/plugins/ Jul 14 00:07:49 it's been a while when I've touched sbt Jul 14 00:08:30 so, who knows what was in there Jul 14 00:15:22 should be very little and wouldn't matter, just costs a little bit of time to repopulate Jul 14 00:29:44 https://tech.slashdot.org/story/16/07/13/1713250/90-of-software-developers-work-outside-silicon-valley Jul 14 00:30:02 that's a hilarious headline Jul 14 00:34:25 I’ll bet 90% of that “talent shortage” is from companies not willing to pay for engineers Jul 14 00:36:25 "Why would I pay $3000/month to share a ROOM with four other people making $120K when I can BUY a four bedroom house on one acre of land in the country for $825/month on half that salary anywhere between the Rocky and Appalachian mountain ranges?" <-- this Jul 14 00:36:50 Because 1, you’re not spending that much, and 2). There’s nothing to do out there Jul 14 00:36:58 I should know, I grew up tehre Jul 14 00:37:40 s73v3r yeah, we need millions more developers to create that next disruptive innovation, apps like auto Meow which are Web 3.0 smart AI meow / cat picture sharing bots Jul 14 00:38:30 I don’t live in SV, but the reason people don’t want to live between the two mountain ranges is because there isn’t much to do Jul 14 00:39:07 You always want what you don't have Jul 14 00:39:19 Peace in the city, and something to do in the country Jul 14 00:39:27 One thing about the Bay Area is 100% of everything is about tech. It makes sense to live there if you're in the next Google or Facebook, not otherwise Jul 14 00:39:54 Ologn no way, its about disruption ! Jul 14 00:43:16 The way the money thing has been working is weird Jul 14 00:43:35 Because it causes next-to-nothing to launch a product nowadays...all you really need is talent Jul 14 00:44:16 Which creates weird financial changes...a lot of apps don't get built because they are so cheap to build, which is sort of contradictory but really isn't Jul 14 00:44:22 no, it’s still quite expensive to launch a product. you have to count marketing in there, cause if no one knows about your product, then no one can buy it Jul 14 00:44:36 Because I saw 1997 to 2000 when everyone who could code or admin a little bit was employed and paid well Jul 14 00:44:48 s73v3r yeah i thought it was like $3.50 per user now Jul 14 00:45:20 s73v3r, I am marketing my stopwatch right now, for less than $1 a day...all English language Jul 14 00:45:35 and how many users are you picking up? Jul 14 00:45:49 s73v3r i was reading here that macOS might get a dark theme :D Jul 14 00:46:00 it already has one, doesn’t it? Jul 14 00:46:05 well for everything Jul 14 00:46:13 not the hight contrast usability one Jul 14 00:46:21 which is really just inverse video Jul 14 00:46:27 no, there’s an actual dark mode Jul 14 00:46:34 On Adwords I spent 84 cents two days ago and got 22 installs from 36 clicks Jul 14 00:46:42 s73v3r for the top menu bar only Jul 14 00:46:48 or reverse video for everything Jul 14 00:47:05 Sunday was 17 installs from 32 clicks for $1.05 Jul 14 00:47:07 top menu bar + dock technically Jul 14 00:47:24 Ologn: those aren’t very big numbers. Not really sustainable numbers Jul 14 00:48:35 s73v3r, and I keep about 10-11 users a day...and analytics some come back...after some time, if people like the app, I'll move up the Google Play ranks some, and then onto Google.com itself for free Jul 14 00:49:06 at that pace, you’ll likely be retired before that happens Jul 14 00:49:17 People seem to like the app, 2418 current installs from 3425 total installs Jul 14 00:49:43 s73v3r, this is an app I'm not even paying attention to Jul 14 00:49:55 My Wallpapers app is what I am focusing on now Jul 14 00:50:48 I'm spending <$1 a day to see what ratings I get and current/total ratios I get, and what analytics interaction I get Jul 14 00:51:09 If it goes well, I'll translate into other languages, and up the ad spends in all languages Jul 14 00:53:30 The thing is, I get six cents an install right now, which I am comfortable with. To get more installs I'd have to raise that to seven cents. Jul 14 00:53:50 s73v3r http://appleinsider.com/articles/16/07/12/macos-sierra-may-expand-use-of-dark-mode-to-native-app-backgrounds Jul 14 00:53:55 Also the number of Android users looking for a stopwatch app in a day is not unlimited Jul 14 00:54:23 hopefully safari will pick that up, going from AS darcula to browser is painful Jul 14 01:06:55 I have a stopwatch widget, I should publish it some day Jul 14 01:07:53 https://imgur.com/3O7sVLh Jul 14 01:08:07 cool Jul 14 01:48:30 I need to send a POST request where one of the fields is base64 encoded file which might be really big. I'm using Retrofit. I'm not sure how exaclty shoud I pass bytes buffer or maybe I should use InputStream... Jul 14 01:48:56 I googled it but still a bit confused with the answers Jul 14 01:49:31 Hey guys, ButterKnife question, say I have a view that I create programatically Jul 14 01:50:06 And I @Bind its sub-views as instance variables, after I progrmatically create that parent view, I can call ButterKnife.bind( activity, programaticView ) Jul 14 01:50:10 To bind those children right? Jul 14 01:50:14 I can't seem to create folders. How can I create folders? Jul 14 01:50:54 I added read/write external storage permissions and I still can't read/write to the disk. Jul 14 01:51:25 Does anyone know how to include this script in my build? I copied and pasted and when I build with a + wildcard... it still builds =( https://gist.github.com/JakeWharton/2066f5e4f08fbaaa68fd Jul 14 01:52:56 Ok, I found the answer to my question/ Jul 14 01:56:02 Android won't let me create folders on the disk. Is there anyone who knows how to get the infernal thing to let me write to the disk? Jul 14 01:56:16 I need to save files. Where am I supposed to write them on the disk? Jul 14 02:05:48 IWishIKnew: You need the user to see them or you just need to save it? Jul 14 02:06:19 eghdk: My program needs to be able to read and write to the disk. Jul 14 02:07:10 That's very generic. But yeah, tons of docs for that. Jul 14 02:07:21 that's not generic. Jul 14 02:07:26 That's very specific. Jul 14 02:08:12 It seems aparent that android limits where on the disk the program can w/r to, so I would like to know the location. Jul 14 02:36:20 So how often does Clean Project have to happen before it actually runs the actual current app? ... It keeps on running old builds Jul 14 02:36:26 Unless I clean and rebuild Jul 14 02:41:40 I have no idea what I'm doing with Dagger 2 and I'm scared Jul 14 02:44:40 melancoholic its sharp, don't cut yourself ! Jul 14 02:48:54 Is it a bad idea to pass a View object to a Presenter in MVP? Jul 14 02:49:17 For navigation drawer, when item is clicked, I want to close the drawer, listen for when it closes, then execute the action Jul 14 02:49:31 But this should take place in the presenter, therefore the presenter needs to know when the drawer closes Jul 14 02:49:46 Actually, hmm nvm **** ENDING LOGGING AT Thu Jul 14 02:59:59 2016