**** BEGIN LOGGING AT Tue Nov 10 02:59:59 2015 Nov 10 03:05:48 still havent heard anythign about the hookups on the lpwan shit =( Nov 10 03:13:43 anyone mind taking a look at this: http://pastebin.com/bfzD4MX7 Nov 10 03:14:06 basically it's supposed to swipe the screen down, and it works fine when i launch it through adb shell but not through the apk Nov 10 03:16:53 you can't just pipe commands to su like that Nov 10 03:17:13 every command must be separately executed with su -c Nov 10 03:18:13 it works just fine on a emulator Nov 10 03:18:26 what is 'it' Nov 10 03:18:26 and i copied it directly from an example on stackoverflow Nov 10 03:18:36 the user commands Nov 10 03:18:47 for example, at the end of that method the reboot command works just fine Nov 10 03:19:18 * pfn shrugs Nov 10 03:20:00 do you think that might be what's mitigating the sendevent from working? Nov 10 03:20:11 as stated it works perfectly from adb shell to the device but not running from the apk Nov 10 03:20:18 no idea what you're talking about Nov 10 03:20:34 as I've said, each command must be run individually with su -c Nov 10 03:20:38 i open up command prompt and manually enter all the sendevent commands right Nov 10 03:20:52 read what I said Nov 10 03:21:03 you can't just write commands to a stream Nov 10 03:21:08 so you're suggesting I append su -c to each of the sendevents in the method? Nov 10 03:21:22 not suggesting Nov 10 03:21:26 telling outright Nov 10 03:21:51 so instead of su.getOutputStream().write("sendevent /dev/input/event7 3 57 0\n".getBytes()); Nov 10 03:21:56 do su.getOutputStream().write("su -c sendevent /dev/input/event7 3 57 0\n".getBytes()); Nov 10 03:22:06 or "su", "-c", "rest of command" Nov 10 03:22:08 NO WRITE Nov 10 03:22:23 Runtime.exec then? Nov 10 03:22:27 each command must be executed INDIVIDUALLY Nov 10 03:22:29 yes Nov 10 03:22:46 curious, considering at the end of that method the reboot command works just fine. I'll give it a shot Nov 10 03:23:21 race condition Nov 10 03:25:56 Hi, HttpURLConnection keeps connection alive by defaut right ? How can I verify this ? Nov 10 03:26:02 How does it do it ? Nov 10 03:26:14 Can anyone here help me with it ? Nov 10 03:26:20 Understanding it Nov 10 03:27:40 okay, pfn Nov 10 03:27:44 so like the following then: Runtime.getRuntime().exec("su -c sendevent /dev/input/event7 3 57 0\n"); Nov 10 03:29:05 getRuntime().Exec give yous command line access from applicatiom ? Interersting Nov 10 03:29:28 yeah, it's fun stuff Nov 10 03:29:35 especially when you know next to nothing about OOP >_< Nov 10 03:37:11 So... stupid question(s). I've never had a reason to put an "up" button in the action bar. I'm being required by designs to put them up there. Yet, there's so many apis around it. menuItemHomeAsUpEnabled(), NavUtils.something, Manifest parentActivityName declaration and such. What the hell do I do to just get it to behave like the back button? Nov 10 03:56:03 I'm trying to use "Manifest.permission.CAMERA" but its not found. I have it in my Manifest. Is there something I'm missing? Nov 10 03:57:10 eghdk, catch R.id.home and call onBackPressed Nov 10 03:57:16 eghdk, in options menu Nov 10 03:57:34 pfn: Should I both with parentActivityName stuff in manifest? Nov 10 03:57:42 or that NavUtils crap? Nov 10 03:57:54 should i bother* Nov 10 04:01:07 cmendes0101, http://developer.android.com/reference/android/Manifest.permission.html#CAMERA Nov 10 04:07:26 Well I guess I mean the symbol is not found. I have had camera permission working before but trying to get M changes in but when I try and use Manifest.permission.CAMERA as all the examples show and not resolving. This is in something like requestPermissions() Nov 10 04:08:39 Error:(680, 41) error: cannot find symbol variable CAMERA Nov 10 04:08:45 How would I pass in an Intent extra of an Intent or a class? Essentially, I want to call startActivity and pass in an extra telling that activity which activity to start when its done. Nov 10 04:14:12 intent is parcelable Nov 10 04:14:45 cmendes0101, android.Manifest Nov 10 04:15:03 anything else is incorrect Nov 10 04:27:20 Is there a way to get battery percentage immediately on service start ? Nov 10 04:28:11 I am using broadcast receiver and it takes a bit longer time to receive intent than my liking. I want percentage lvl at the start. Nov 10 04:49:08 guess Fb keeps a shadow profile of not-users after all Nov 10 05:16:05 suhas_sm, tried this https://stackoverflow.com/questions/15746709/get-battery-level-only-once-using-android-sdk Nov 10 05:18:28 Oh wow. This is a cool trick. Never knew you can register to stikcy broadcast with null broadcastreceiver. Nov 10 05:27:00 hi guys...where can I download the latest ADB (Android Debug Bridge) ? Nov 10 05:30:02 it's part of the SDK Nov 10 06:08:48 1.4+ gradle plugin still in beta :/ whats going on with that. 1.4 AS release almost a month ago and the plugin is still riddled with bugs Nov 10 06:09:12 they're skipping a stable 1.4 eelea Nov 10 06:09:21 release and going straight to 1.5 Nov 10 06:09:31 uh ok but thats in beta too xD Nov 10 06:10:21 yeah, it's not done Nov 10 06:10:30 wasn't gmail in beta for like 6 years? Nov 10 06:10:39 if you want stable use 1.3.1 Nov 10 06:10:56 basically all i needed was the automatic vector graphic conversion^^ Nov 10 06:11:15 it's not stable Nov 10 06:11:22 i tried 1.4-beta5 or something, it was quite disaster Nov 10 06:11:31 ran back to 1.3.1 :) Nov 10 06:13:24 hey everyone. i am new to android app development. can anyone suggest some good video tuts for a beginner Nov 10 06:13:56 beginneragain if you want video, try free udacity course Nov 10 06:14:26 * g00s remembers megadeth angryagain Nov 10 06:15:09 lots of I/O videos, but not necessarily for beginners... there are videos from conferences all over the world, e.g. droidcon UK... and there's the upcoming developer summit Nov 10 06:15:24 oh yeah, you can start with 2013 IO videos, they are relevant now Nov 10 06:15:47 wish i could go to developer summit Nov 10 06:15:48 heh Nov 10 06:15:54 cynical, but accurate :) Nov 10 06:16:02 cant everyone go? just pay the fee^^ Nov 10 06:16:44 I'm going (the dev summit is free btw) Nov 10 06:17:07 ktwo lol fee ~= free Nov 10 06:17:28 uh? Nov 10 06:17:42 well then you just need to travel there xD Nov 10 06:17:59 better start walking now from east coast :D Nov 10 06:18:12 I'll get my swimming trunks out Nov 10 06:18:22 * g00s does forest gump thing Nov 10 06:19:10 :D Nov 10 06:19:46 i just want to know when jack and jill & java 8 will be done. not sure what they can talk about at this point ... thats all everybody cares about ! Nov 10 06:20:11 i think we have enough material talks Nov 10 06:21:33 they didn't even really have much to talk about at this I/O Nov 10 06:21:58 they might have if they could keep pase with MS, they seem to do more in a month with their platform than google can do in a year Nov 10 06:22:20 by the time they come out with java 8 , 9 will have been out probably Nov 10 06:22:41 And who knows how long Material will last until Google decides we're now doing a totally different kind of UI Nov 10 06:23:04 and if its taking them this long to write a java compiler good thing they used oracle's javac, or android would probably never have happened :P Nov 10 06:23:27 yes metaMaterial UI :D Nov 10 06:24:39 ok i had to get that out of my system, back to coding ;) Nov 10 06:25:22 g00s: Hopefully building your Android apps with kobalt in 5 seconds :) Nov 10 06:26:44 i'm kinda grumpy because my beloved labrador retriever is getting old and i'm watching him decline fast now Nov 10 06:27:24 g00s: i see you pushing windows mobile in here alot. Do you think their platform is gonna make a comeback? Nov 10 06:27:37 or at least improve their market share? Nov 10 06:27:45 "come back" would imply it was here at some point in time Nov 10 06:27:59 Maybe call it a "come" Nov 10 06:28:17 ... Nov 10 06:28:26 i am beginner in android app. can anyone help me. is there anyone to whom i can ping personally? Nov 10 06:28:36 beginneragain just ask the channel .... Nov 10 06:29:10 hmm, can someone name. an android listener interface with multiple methods and non-void return types? Nov 10 06:29:32 orbyt_ yeah i don't know. you may have heard MS in talks with redhat - i wonder if their enterprise business is starting to hurt now Nov 10 06:30:36 I can't think of any listeners off the top of my head with multiple methods and required return values Nov 10 06:31:16 pfn http://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder.html Nov 10 06:31:21 oh listener Nov 10 06:31:27 g00s, interface Nov 10 06:31:34 not abstract class as well Nov 10 06:44:55 google open sourced an AI library today .... Nov 10 06:45:09 it had application to mobile but I only saw downloads for desktop Nov 10 06:45:16 A good friend of mine works on it Nov 10 06:49:47 "The flexible architecture allows you to deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device with a single API." Nov 10 06:49:58 i'd like to see how the mobile piece works Nov 10 06:50:37 but yeah sounds awesome Nov 10 06:51:39 Has anybody worked with GIMBAL SDK before? Nov 10 06:52:12 maybe ron_frown has Nov 10 06:56:01 "that feeling when you realize your experimental patch fails due to someone elses pre-req large experimental patch" Nov 10 06:56:28 * capella *sighs* ... there goes my deadline Nov 10 06:59:25 capella this last FF had some nice privacy features Nov 10 06:59:36 would be nice though if google obeyed DNT Nov 10 06:59:43 Yah! The mobile version is getting pretty good too Nov 10 07:00:07 Feds just ruled nobody has to follow DNT Nov 10 07:00:18 some do though, like twitter Nov 10 07:00:34 out of the goodness of their data mining hearts Nov 10 07:01:56 that sucks, chris date's new sql book is paper only Nov 10 07:02:12 never seen oreilly put out paper only books Nov 10 07:03:31 i never did get to the bottom of this - is it possible to write user defined functions against sqlite on android ? Nov 10 07:04:07 thats a talk i'd listen to; i'm guessing one would have to bundle their own sqlite, but then you couldn't use the android java bindings Nov 10 07:04:58 "Killing Reagan" ? Nov 10 07:05:12 capella lolwut Nov 10 07:06:04 * g00s loves how the republicans hold reagan as high priest but then do so many things against reagan's philosophy Nov 10 07:07:12 any1 wanna look at this Nov 10 07:07:13 http://pastebin.com/wJ5ALyRx Nov 10 07:07:22 for some reason share intent is not working Nov 10 07:08:14 g00s: You mentioned O'reilly and paper books Nov 10 07:08:16 locale yeah, you can't do that Nov 10 07:08:29 I thought "Bill" :p Nov 10 07:08:36 gOOs why is that? Nov 10 07:08:45 android 1.3 it worked no problem Nov 10 07:08:59 and i can share from resource without issue.. elaborte? Nov 10 07:09:07 locale you are trying to pass a Uri to a file, in your intent, that points to a privatre app file Nov 10 07:09:23 you need to use a content provider, or put the file in a a public place Nov 10 07:09:26 change permissions or move to sd card? Nov 10 07:09:31 ah Nov 10 07:09:33 wow Nov 10 07:09:38 ok Nov 10 07:09:40 actually i think the support lib has a file provider thingy now Nov 10 07:09:53 links or docs on it? Nov 10 07:11:10 i got it thanks gOOs Nov 10 07:11:22 that would be so awesome if the search thingy on d.android.com uses FZF or something like it Nov 10 07:30:21 g00s: Does this ron_frown still chat among us? Nov 10 07:30:56 g00s: Does this ron_frown still walk our realm? Nov 10 07:31:47 sometimes Nov 10 08:37:20 I have an acitivty which has an object which runs a rimer Nov 10 08:37:22 timer* Nov 10 08:37:34 instance variablel basically Nov 10 08:37:49 cool Nov 10 08:37:56 heh Nov 10 08:38:14 If my acitivty is destroyed, would timer be destroyed too? Nov 10 08:38:32 That is what I expect Nov 10 08:38:49 not necessarily if seperate thread, but any reference to previous activity may leak Nov 10 08:39:17 hmm Nov 10 08:39:28 Right I think thats what is happening Nov 10 08:40:05 so upon timer ending, or a progress check, if activity==null, cancel Nov 10 08:40:11 or write to disk Nov 10 08:41:36 oh ok Nov 10 08:42:46 but since the timer runs in another object which is instane variable of activity, that object has reference to this activity (delegate) Nov 10 08:43:37 So when activity is destroyed the delegate variable in the other object will not be null right ? Nov 10 08:51:06 what i'm saying is timer = new Timer(activity) if you after or during your timer it checks/modifies anything in activity, if activity was destroyed during that timer run, then you need to check the objects in your timer to make sure that activity wasn't destroyed by checking null Nov 10 08:59:12 hi, has somebody used lzma files (compressed) in an android app? Nov 10 09:01:08 FrancescoV, if lzma is a legit thing, i'm sure somebody somewhere has yes. What is the real question Nov 10 09:02:51 canvs2321, I use a lib aar file, which contains a file with .lzma extention but it's not included in my apk Nov 10 09:05:11 is there a fastlane alternative focussed on android or is fastlane/supply good enough? Nov 10 09:05:45 FrancescoV did you by chance look up what lzma is? Nov 10 09:05:58 Darkwater what? Nov 10 09:06:06 people Nov 10 09:06:28 yes, it's for compressing files Nov 10 09:06:34 i have recyclerview inside recyclerview, and cannot scroll inner recyclerview Nov 10 09:06:36 canvs2321: https://github.com/fastlane/fastlane Nov 10 09:06:41 also https://github.com/fastlane/supply Nov 10 09:07:09 I'm just worried that this project doesn't treat android as a first-class platform and that there might be something better Nov 10 09:08:21 FrancescoV, you should read more Nov 10 09:10:38 i can scroll it but sometimes after few touches on it Nov 10 09:11:44 i mean recyclerview holds items. Item has image and comments recyclerview. Comments recycler view is inside linearlayout and it all inside another linearlayout Nov 10 09:13:28 hey does anybody know face recognistion library for android Nov 10 09:13:37 Abyss_ for real? Nov 10 09:13:50 google man Nov 10 09:39:49 does somebody how you can support tls 1.2 in an WebView on pre kitkat? Nov 10 10:41:36 Is there a way to prefetch/precache data with ormlite? Nov 10 11:08:14 is there standard sticky headers in sdk? Nov 10 11:08:32 HTTP headers ? Nov 10 11:08:39 no ) Nov 10 11:08:45 heh ok :( Nov 10 11:08:53 listview | recyclerview Nov 10 11:09:00 what are these things ? aah Nov 10 11:09:04 ok got it Nov 10 11:09:12 No idea anyways Nov 10 11:09:35 i have items in recyclerview and on scroll i whant to show current item header Nov 10 11:33:30 I'm struggling to get renderscript to work with Android Studio. I've added "renderscriptTargetApi 19" and "renderscriptSupportModeEnabled true" to my build.gradle, however I'm getting "V/RenderScript_jni: Unable to load libRS.so, falling back to compat mode" "V/RenderScript_jni: Unable to load libRSSupportIO.so, USAGE_IO not supported" "E/RenderScript: Couldn't load libRSSupportIO.so" in the logcat Nov 10 11:34:14 in AS when i do find in files, i get a bunch of results in R.java ... howcan i disable this? Nov 10 11:35:20 skfax: are you testing on the simulator? Nov 10 11:35:51 badlogic: No, with an Android 5.1.1 Sony Xperia Z3 Nov 10 11:36:49 minSdkVersion 17, targetSdkVersion 23, compileSdkVersion 23. Also same issue when using renderscriptTargetApi 18 Nov 10 11:37:28 looks like that device doesn't have the necessary shared libs Nov 10 11:38:14 can you get any of the sample rs apps running skfax? Nov 10 11:39:52 Huh changing the targetSdkVersion to 17 seems to have worked: "V/RenderScript_jni: Unable to load libRSSupportIO.so, USAGE_IO not supported" "V/RenderScript: Successfully loaded runtime: libRSDriver_adreno.so" Nov 10 11:42:01 Got an RSIllegalArgumentException when executing a script now.. progress :D Nov 10 11:42:32 Is there a standard view pager indicator? like the ones google uses in their chromecast app? https://goo.gl/photos/KySjxAp2SbZ11dLY8 Nov 10 11:43:13 hithere Nov 10 11:45:14 "java.lang.SecurityException: Permission Denial: starting Intent" anything new to this problem? Nov 10 11:45:44 since I was dealing with it 2 months ago? Nov 10 11:46:51 in short - nothing changed in code, just "run" and AS says that it cannot run app on device Nov 10 11:47:32 does ART/dalvik have jvm style options that can be specified somewhere (assume emulator target device)? Nov 10 11:47:34 las time, I was sepparating project directories belonging to AS, but at the end of testing it started to work Nov 10 11:47:42 without proper reason Nov 10 11:48:18 skfax, this is a normal warning message Nov 10 11:48:36 adq: Which one? Nov 10 11:48:37 it means it does not use the renderscript native lib but the compat one, as stated Nov 10 11:48:48 all i think Nov 10 11:48:49 adq: Yeah, but the first one I pasted was an error Nov 10 11:49:00 ahhh you need to use latest buildtools Nov 10 11:49:09 and gradle 1.5-beta1 or above iirc Nov 10 11:49:19 I'm using 23.0.1 Nov 10 11:49:21 or otherwise you need old gradle 1.3.1 and buildtoo 22 Nov 10 11:49:23 not sure about which gradle Nov 10 11:49:35 there is an issue with packaging .so, it's not even specific to RS Nov 10 11:50:15 so either you use old gradle & buildtool 22, or buildtool 23.0.2 and gradle 1.5.0-beta1 (or 1.5.0-beta2) Nov 10 11:50:40 My gradle version is listed as 2.4 :o Nov 10 11:50:59 That might be the android studio gradle plugin version or something Nov 10 11:51:46 yeah i'm talking about gradle version in AS Nov 10 11:52:20 "File" "Project Structure" "Project" "Gradle version" is 2.4 Nov 10 11:52:22 is there a way to have a LinearLayout use a bitmap as background and have it behave like fitCenter in an ImageView would? Nov 10 11:53:26 or maybe you hit another bug, i just saw: https://code.google.com/p/android/issues/detail?id=193491 Nov 10 11:54:06 also just saw this morning: https://code.google.com/p/android/issues/detail?id=71347 (unrelated to your issue but related to RS) Nov 10 11:54:34 Maybe. I'm doing very basic renderscript stuff. Only instantiating a script and setting some properties, then calling a function in the script Nov 10 11:54:55 "The missing "dot" function for x86 should be fixed with https://android-review.googlesource.com/#/c/179305/1 (which I just merged into AOSP). Unfortunately, I think that the only way to work around this is to write your own dot() function (since that patch won't fix devices that already shipped and aren't updated." << i don't understand why they cannot ship a dot function in the RS compat lib Nov 10 11:55:22 and should we, dev, track all the missing stuff based on version & arch?? Nov 10 11:55:45 Yeah I'm trying to use https://gaipaul.wordpress.com/2014/12/12/arbitrary-sized-matrix-multiplication-using-renderscript/ now just to get started Nov 10 11:56:25 hmm Nov 10 11:56:52 you're not starting with the easiest example, also he uses RS from ndk/jni land instead of java land Nov 10 11:57:09 it's possible but pretty new too (so probably buggy for some part) Nov 10 11:58:04 yeah but the API for this part seems to be identical Nov 10 11:58:24 oh and keep in mind you won't have anything to debug RS Nov 10 11:58:33 except basic logging Nov 10 11:58:54 need to go, good luck skfax :p Nov 10 11:59:01 cheers ^^ have a nice day Nov 10 12:20:05 Hi, how about Gradle Android plugin versions? What's up with all Beta versions since 1.4.0 and no stable? Is there any official advisory on what to use now? Nov 10 12:21:14 da3m0n22: https://www.reddit.com/r/androiddev/comments/3rm9tw/no_stable_gradle_build_plugin_140/ Nov 10 12:22:28 TacticalJoke: well thanks, so using AS 1.5 beta should go with latest 1.5.0-beta2 gradle plugin, nice :-) Nov 10 12:49:09 I am sending an email from my server, that contains a link. How do I make it so that my app opens on link click? Nov 10 12:50:42 Is it ok to reassign a list that has been set to the source of an arrayadapter? Nov 10 12:51:02 like i want to clear the list and show new entries without recreating the adapter Nov 10 12:51:35 array adapter doesn't have a source list Nov 10 12:53:57 I extended arrayadapter, and it takes a arraylist as a parameter to create it Nov 10 12:54:42 and set the collection to the this.objects property of the adapter Nov 10 12:54:53 it displays the data but crashes without any exception when i change the list Nov 10 12:55:11 donguston: `list = new ArrayList();` does not affect the ArrayAdapter, which still has a reference to the *old* list. Nov 10 12:55:22 You'd have to clear the list that the ArrayAdapter has and then add the new data. Nov 10 12:55:30 Better yet, avoid ArrayAdapter entirely, since it's kinda lame. Nov 10 12:55:44 ah ok Nov 10 12:56:03 I always subclass BaseAdapter directly. It's simpler and more flexible. Nov 10 12:56:48 I guess its doing what i want, I just want it to show the first 10 or so entries in the list instead of all 6500 Nov 10 12:56:54 (Then you could create a method `setNewList(List list) { this.list = list; notifyDataSetChanged(); }`.) Nov 10 12:56:58 might be a way around doing that witout changing the list Nov 10 12:57:36 You can return 10 from getCount if you want to show only 10 items. Nov 10 12:57:49 so just override getCount in the adapter? Nov 10 13:01:34 Yeah, but you might need to say something such as `return Math.max(10, list.size());`. Nov 10 13:02:21 I mean `Math.min(10, list.size())`. Nov 10 13:05:00 TacticalJoke: would that switch look janky at all? Nov 10 13:05:13 Which switch? Nov 10 13:05:24 Swithing the lists? I'm guessing donguston wants to show the first 10, and then show the next ten or something. Nov 10 13:05:31 instead of all 6k+ entries. Nov 10 13:05:56 the list entries are the nearest speed cameras Nov 10 13:06:26 some will be hundreds of miles away, when they only would care about the nearest ones Nov 10 13:06:40 so i thought just display closest 10 (which the list is sorted in that order anway) Nov 10 13:08:07 Hm. Well I'm solving a similar issue. I have a list of notes. I pre filled it in the db with 5k notes to perf test it. And it's slow, but then I realized, I don't need to show 5k. Just need to show 100, but I want to be able to load more when the user reaches the end. Nov 10 13:08:28 eghdk: ListView already does this kind of pagination. Nov 10 13:09:12 TacticalJoke: Whaaaat? Nov 10 13:09:19 enlighten me oh great one Nov 10 13:09:39 I was here a couple of weeks ago and got mixed answers. Nov 10 13:09:57 What I mean is that ListView loads as quickly whether getCount returns 100 or 100,000. The only difference there will be the initial size of the scroll bar. Nov 10 13:10:17 ListView (more or less) creates as few Views as needed, regardless of the size of the data set. Nov 10 13:11:10 Changing the size of the data set, though, could make a difference. Loading 100 items into memory will be way faster than loading 100,000. Nov 10 13:11:36 TacticalJoke: Oh. Well, so to me it's the query and loading the query into objects that takes long. Nov 10 13:13:14 eghdk, freezing up the UI or just taking a long time to load? Nov 10 13:13:29 you could try writing a new method to do pagination with a shorter list Nov 10 13:13:35 and put a next/previous button on Nov 10 13:13:45 Taking a long time to load. I'm doing the DB reads async. Nov 10 13:14:47 Well, yeah, that kinda my question, what's the best way to do pagenation. I don't want button. I can get scroll position, so when I hit halfway in the list, I want the next to be queried. I just don't know if theres a standard way to do it. Seems like it should be a fairly common pattern. Nov 10 13:15:16 I think the only way is to watch the ListView's current scroll position. Nov 10 13:15:41 Unless you're happy for them to have to scroll to the last item to load more, in which case the mere fact that the last item is requested can be the trigger. Nov 10 13:16:28 That actually makes things quite easy, because the last item can be a ProgressBar. Nov 10 13:16:31 Hi all, does somebody have experience with ndk stuff like. so files for different processors (arm / x86)? Nov 10 13:18:00 (Although even in the case you're talking about the last item can be a ProgressBar, in case the load is taking a long time and they get to the bottom of the visible list.) Nov 10 13:18:54 hi, anyone here who has experience with Xposed? I have this issue where calling 'invokeOriginalMethod' still executes the hooks.. Nov 10 13:21:07 #android-root Nov 10 13:22:26 pfn: thx Nov 10 13:24:24 morning Nov 10 13:46:04 hi, does anyone know where I can find some documentation how to use the RxBinding library? Nov 10 13:57:44 my view opens a cursor. where should I close it when the view is no longer needed? Nov 10 14:00:04 onDestroy of activity Nov 10 14:02:12 so basically an onDestroy class for my view Nov 10 14:02:16 *function Nov 10 14:05:40 I think View's equivalent is onDetachedFromWindow. Nov 10 14:18:24 hello! Nov 10 14:18:54 I have 2 app versions, one for Mobile / Tablet and another one for TV. My question is, can I link the in-app products of that 2 versions, so the users of both version can only buy subscription once. Nov 10 14:19:16 Not one for Mobile/Tablet and another purchase for TV Nov 10 14:19:33 Just have a single app listing, but serve different apk's for mobile and tv Nov 10 14:19:57 Other than that, I don't believe so Nov 10 14:20:35 so I can upload more than 1 app to Production, right? Nov 10 14:20:44 Yes Nov 10 14:20:50 Okay, let me try! Nov 10 14:20:51 As many as you want Nov 10 14:20:55 thanks a lot @SimonVT Nov 10 14:21:11 There are articles on it on d.android.com Nov 10 14:21:32 http://developer.android.com/google/play/publishing/multiple-apks.html Nov 10 14:29:36 http://www.heypasteit.com/clip/29WJ Nov 10 14:29:48 ive got this layout i am using with a dialog fragment Nov 10 14:29:58 (i want the x button to be slightly outside the box at the top right) Nov 10 14:30:10 the display works out nice, but the first frame layout isnt transparent, its gray Nov 10 14:31:48 that might be the background/window color of the dialog Nov 10 14:32:18 Hey guys, I have a ViewFlipper in each of my cards in a ListView, and for some reason whenever the view changes in the ViewFlipper, onScroll is called on the ListView Nov 10 14:32:20 http://pastebin.com/qm1mgZXi Nov 10 14:32:35 Is there an explanation for this? Nov 10 14:32:40 danijoo: sure, if thats the case how do i change it? Nov 10 14:34:07 ahhh Nov 10 14:34:10 found my own solution Nov 10 14:34:12 thanks to your hint Nov 10 14:34:23 thanks danijoo Nov 10 14:35:21 http://pastebin.com/bjgNGVmr if your interested... that goes in oncreate Nov 10 14:42:47 I have an activity that switches its content between three fragments depending on the chosen item in a menu. Each fragment can have states such as filtering queries. I implemented onSaveInstanceState for these fragments, but it doesn't seem to be called on screen rotation, but only for the activity Nov 10 14:43:33 Do I have to save and load the fragment states in the activity? Nov 10 15:06:56 meow Nov 10 15:18:43 mikedg: Are you feline okay? Nov 10 15:19:54 lawl Nov 10 15:23:42 Would it be bad form to send a Fragment as a intent extra to another acitivty to be able to call setter and getter methods on the fragment? Nov 10 15:23:57 i would send it as a string using gson Nov 10 15:26:11 On first hearing, that doesn't sound like good design. Nov 10 15:26:25 What are the getters and setters? Nov 10 15:28:52 i want to fade my toolbar's background color to a certain color over time, how ? .animate() seems to be specific to movement Nov 10 15:30:24 there's a ValueAnimator or somethin like ObjectAnimator isn't there? can't remember Nov 10 15:31:48 TacticalJoke: getters and setters for a list Nov 10 15:32:03 so in the other activity i have a dialog to add something to that original list Nov 10 15:32:10 Can't you just pass the list to the activity? Nov 10 15:32:28 but i need to refresh the adapter Nov 10 15:32:37 i guess i can do that every onResume() Nov 10 15:32:41 You can get a return value from an activity via onActivityResult. Nov 10 15:32:54 i was also going to try that Nov 10 15:35:39 A really simple way to do this is to have a public static List field somewhere. Though it's not necessarily a clean solution. Nov 10 15:36:05 It's a plain old evil global variable. Nov 10 15:37:17 ew global variable Nov 10 15:48:46 a fragment cannot be sent as an intent extra Nov 10 15:49:29 and certainly not as a string using gson Nov 10 15:58:20 is there an easy way to make a SearchView retain its state (expanded with the previous query) when screen is rotated? Nov 10 15:59:55 I'm saving the query and expanding the search menu item, but apparently expanding it will clear the query I've set. So I need to use an OnActionExpandListener, but even that isn't working, and it's already so many lines of code just for this Nov 10 16:05:40 Hello Nov 10 16:05:49 hi Nov 10 16:06:59 I have created a graphics engine with ndk, and now I'm getting some error from EGL : EGL_BAD_ACCESS when I'm doing an eglMakeCurrent Nov 10 16:07:41 When I'm creating a project using directly the source of the lib (then no .so used by another project, but a project on its own, with a MainActivity), I'm not getting this error Nov 10 16:08:17 Do you know if android has some problem with SurfaceView created from another libs ? Nov 10 16:08:52 I'm using the SDK 15 (android v4.0.3) Nov 10 16:11:23 i do not know Nov 10 16:11:46 i have a SearchView but it only opens when i click the magnifying glass icon, not when i click the rest of the view. How can i enable this? Nov 10 16:15:33 Hi all, I have a memory issue because of hardware acceleration. I use a simple viewPager with a container and a imageview inside. When I detach all the view in my destroyItem everything is fine. But I want to preserve my view hierarchy... I try to recycle bitmap and detach my imageview (and not my container) but a reference is keeped. Nov 10 16:16:01 With the same example, I can turn off Hardware acceleration and it works like a charm. Nov 10 16:16:17 Any idea? #desesperate Nov 10 16:16:43 ............ How adding Nov 10 16:16:53 can solve EGL_BAD_ACCESS error ? oO Nov 10 16:33:43 Library kobalt (Compile) has broken classes paths:   C:\Users\yoavs\.kobalt\repository\com\android\support\support-v4\23.1.0\support-v4-23.1.0.aar Nov 10 16:33:56 How to make Intellij IDEA recognize aar on android project (non gradle) Nov 10 16:35:45 yoavst: Isn't Kobalt pre-pre-pre-Alpha right now? Nov 10 16:36:46 TacticalJoke: It is, but aar support is something general. I do use kobalt for my non-android projects. Nov 10 16:58:58 Is there a working way in 2015, to restrict tablets installing my app? The screen size check described in docs in effect prevents high density devices like s6 from installing my app. Nov 10 16:59:24 app is distributed only through play store Nov 10 17:00:12 pirates use aar Nov 10 17:00:23 dont be a pirate Nov 10 17:01:51 don't use jaars either Nov 10 17:06:21 Ologn https://www.thoughtworks.com/radar Nov 10 17:07:00 Does anyone know if in GCM 3.0 I should be saving the token that I send up to my server? Nov 10 17:24:48 Does anyone know if in GCM 3.0 I should be saving the token that I send up to my server? Nov 10 17:25:14 saving it* locally on my app. Of course I'm saving it on my server. Nov 10 17:38:35 In a ListView, would it be bad UI to have a FAB load the next set of items? Nov 10 17:38:51 Maybe with like a next icon in it or something Nov 10 17:44:57 drose379: I'd say that's bad in my opinion. Nov 10 17:45:09 Mostly just coming from not seeing any other app load more in that way. Nov 10 17:45:17 Hmm Nov 10 17:45:17 Ok Nov 10 17:45:22 Suggestions? Nov 10 17:45:46 drose379: I'm working on a similar issue. Nov 10 17:45:52 Oh yeah? Nov 10 17:45:59 I have two things working... not sure what to go with though. Nov 10 17:46:13 Yeah, I'm not keen on that idea either. Nov 10 17:46:22 What do you have eghdk Nov 10 17:46:23 Essentially, when you scroll half way through the list, I load more. or when I hit the bottom of the list I load more. Nov 10 17:46:26 Imagine if someone kept pressing it. They'd be loading more without even seeing scrolling down to see the new stuff. Nov 10 17:46:44 Does anyone know if in GCM 3.0 should I be saving the token in SharedPreferences that I send up to my server? Nov 10 17:46:58 TacticalJoke, I was loading more when they hit the bottom of the current list, but for some reason my onScroll gets called even when the user is not scrolling Nov 10 17:47:10 It gets called whenever my ViewFlipper iinside the CardView changes Nov 10 17:47:10 drose379: There's an easier way of doing that. Nov 10 17:47:15 What is it? Nov 10 17:47:33 Just show a ProgressBar as the final item, and when you get getView for this final item, start loading extra data. Nov 10 17:47:51 Or, if you want something clickable instead, show a clickable TextView or Button as the final item. Nov 10 17:47:53 Or I could show a button type of item for the last item Nov 10 17:47:59 And when that is clicked, load Nov 10 17:48:01 No? Nov 10 17:48:06 Yeah, that's one way. Nov 10 17:48:19 You could have a FrameLayout which hides the button and shows a progress bar on click. Nov 10 17:48:34 Or two extra view types (one the button; one the progress bar). Nov 10 17:48:35 So in the getView... when the item is equal to the size of the array -1, then show the button Nov 10 17:49:32 Awesome, I'll try that out Nov 10 17:54:15 TacticalJoke, if Im doing this from the getView.. I have to manually add an item to the bottom of the list? Nov 10 17:54:53 Or I could just have a button at the bottom of the listview that I set to VISIBLE when the list is at the bottom, and gone whenever else Nov 10 17:54:59 You can just return `list.size() + 1` from getCount. Nov 10 17:55:17 Why would that help? Nov 10 17:55:19 hmm, gesturedetectorlistener has multiple methods and non-void returns, but it's not added using add/set listener Nov 10 17:55:19 drose379: That last idea is terrible. :s Nov 10 17:55:24 what other listeners are there Nov 10 17:55:33 Why Terrible TacticalJoke ? Nov 10 17:55:39 drose379: The "load more" button is an extra item in the list. It's `list.size() + 1` (or whatever). Nov 10 17:55:49 Showing or hiding a button depending on ListView-scroll position sounds awful. Nov 10 17:56:09 ah, there we go, searchview onquerytextlistener Nov 10 17:56:10 A button just magically shows up all of a sudden? Imagine how that'd look. :D Nov 10 17:56:21 Much better to have the button in the list if you're gonna go with a button. Nov 10 17:56:36 Reminds me of how a FAB shows and hides depending on scroll position TacticalJoke Nov 10 17:56:55 Anyways, how would I go about attaching this button to the end of the ListView though? Nov 10 17:57:06 any cocos2d x guy here ? Nov 10 17:57:29 drose379: You are subclassing BaseAdapter, right? Nov 10 17:57:31 Yes Nov 10 17:58:03 drose379: cocos guy ? Nov 10 17:58:14 It's easy to do. Just change getCount, getViewTypeCount, and getView. Nov 10 17:58:22 Oh, and getItemVieType. Nov 10 17:58:23 View* Nov 10 17:58:32 So getCount will return array.size() + 1 Nov 10 17:58:37 To account for the extra item Nov 10 17:58:40 Yes? Nov 10 17:58:59 If there are five items in the array, the list view needs to show six items. Nov 10 17:59:12 Yep, so itll return size() + 1; Nov 10 17:59:45 Then in the getView(), I need to check if it is a regular item ( item < array.size() ) Nov 10 18:00:04 else it is the last item, in that case return the button as the view Nov 10 18:00:21 Hi doesent android-studio show the values-localised folders Nov 10 18:00:22 You also have to use multiple view types for this. Nov 10 18:00:44 Ok what do you mean by that TJ Nov 10 18:03:02 getItemViewType Nov 10 18:03:09 I dont even use that method Nov 10 18:03:17 Why is it necessary? Nov 10 18:03:36 SO the recycled view knows what view to give back Nov 10 18:04:03 My recycled views are having no issues as of now Nov 10 18:04:18 I'm guessing your recycled views aren't currently Buttons. Nov 10 18:04:24 No Nov 10 18:04:46 If the view is supposed to be a button, I just wont use the recycled view, Ill create a new view and return that Nov 10 18:05:33 You'd still have to override getItemViewType (and return Adapter.IGNORE_ITEM_VIEW_TYPE). Nov 10 18:05:57 Otherwise ListView will try to use your Button for other rows. Nov 10 18:06:28 ah yes youre right Nov 10 18:06:29 Yeah, it makes a "little" less sense here, but ideally that method is used for when you have two different types of views. Lets say you made a chat, you'd have an OUTBOX and INBOX view type. Nov 10 18:06:43 No I see the issue Nov 10 18:07:10 Does anyone know if in GCM 3.0 should I be saving the token in SharedPreferences that I send up to my server? Nov 10 18:07:11 Its because after the button is shown, it will be passed as recycle, then I will try to grab the elements in my other view from the button, then error :P Nov 10 18:09:34 So I return the type of view from getItemViewType().. so either 1 or 2? Nov 10 18:11:05 Documentation first; humans second: http://developer.android.com/reference/android/widget/Adapter.html#getItemViewType(int) Nov 10 18:11:12 (Though it's often "source code first".) Nov 10 18:12:11 Ok so my regular card view will be type 0 Nov 10 18:12:29 And my second one will be 1 Nov 10 18:12:35 But I need to use that in my getView() Nov 10 18:12:44 Why would the second one be 1? Nov 10 18:13:04 Because the first one is 0 Nov 10 18:13:08 So the second will be 1 Nov 10 18:13:24 You said you're manually handling the Button, in which case the second should not be 1. Nov 10 18:13:42 Unless I'm misreading. Nov 10 18:13:42 What do you think it should be? Nov 10 18:14:16 drose379: Gotta read the documentation first. It's a waste of time even asking humans when you haven't read that. :D Nov 10 18:14:24 drose379 you know there are full examples of using multiple view types with adapter all over the place Nov 10 18:14:44 why do you guys prefer for 2d game programming ? Nov 10 18:14:53 cocos or libGDX Nov 10 18:15:06 I have read it Nov 10 18:15:17 what* Nov 10 18:17:06 drose379: You said you're handling the Button's recycling yourself. In that case, returning 1 would be a mistake. Nov 10 18:17:15 That'd be asking ListView to handle it too. Nov 10 18:18:07 I was just thinking, the regular card will be type 0, the button will be type 1. In getView() before I do anything, I run getItemViewType( item ) and see which type of item I need to inflat.. then go from theree Nov 10 18:18:12 Am I \confused? Nov 10 18:19:54 man my life will be immeasurably improved when the gradle/NDK integration is finalized Nov 10 18:21:51 Wavesonics, indeed. Nov 10 18:22:02 When that will be is another guess alltogether. Nov 10 18:22:11 There's bunch of alpha stuff out there and Google doesn't seem to be doing much. Nov 10 18:28:14 in "listPreferredItemPaddingLeft", what does "preferred" mean? Nov 10 18:29:15 I think it's system defaults Nov 10 18:31:33 It's hard to create a dark material theme that doesn't look awful. :\ Nov 10 18:33:11 that's racist Nov 10 18:34:31 TacticalJoke: yep Nov 10 18:35:26 g00s: Hey what is that name that you told me earlier ..the guy that might know anything about Gimbal? Nov 10 18:35:47 The moment I stray from grey, black, or white, I find myself struggling to make things fit together. Nov 10 18:35:59 Blue grey isn't so bad, but no accent colour seems to play well with it on a dark background. Nov 10 18:36:07 Thanks for the help earlier TacticalJoke, forgot to mention that Nov 10 18:37:10 That's okay. Did you end up figuring it all out? Nov 10 18:37:23 Getting there :D Nov 10 18:42:24 TacticalJoke: I think the second you go all black, you can't win. Always has to be some sort of shade of gray. even if its really dark. Nov 10 18:42:50 Yeah, I'm avoiding all black outside of a potential AMOLED-friendly theme. Nov 10 18:43:19 TactcialJoke got another quick question for you if you got a second Nov 10 18:43:39 Best to just ask (everyone), drose379. Nov 10 18:43:52 Say the Load More is clicked, and 25 new items populate the list, I want to get rid of the button Nov 10 18:44:02 Trying to think how to do that Nov 10 18:44:23 You want the button never to appear again? Nov 10 18:44:39 I only want it to appear when the user hits the bottom of the list Nov 10 18:44:57 Once it is clicked, new data loads, list populates, and button is not there anymore, its below the new data Nov 10 18:45:02 When you add more items and say `notifyDataSetChanged();`, the button won't be visible anymore (since they'll not be at the bottom of the list anymore). Nov 10 18:45:16 Does anyone know if in GCM 3.0 should I be saving the token in SharedPreferences that I send up to my server? Nov 10 18:45:48 Ahh makes sense thanks TJ Nov 10 18:46:26 Later Nov 10 18:48:05 For Chromecast Companion Library, the MediaAuthService doesn't accept any parameters about the current video being authorized. How am I supposed to figure that out? Nov 10 18:55:49 adq: got renderscript working now :D reaaally fast compared to doing stuff in java Nov 10 18:56:10 in a popup dialog in android studio there are letters with lines below them to jump to the option, how do i activate the option? Nov 10 18:56:19 like in for example 'find in path' dialog Nov 10 18:56:40 osxorgate: On Windows, it's Alt+letter. Nov 10 18:56:45 This is a standard Windows thing. Nov 10 18:56:49 ah for me it's fn+alt Nov 10 18:56:50 thanks Nov 10 18:58:19 Does anyone know if in GCM 3.0 should I be saving the token in SharedPreferences that I send up to my server? Nov 10 19:00:23 in AS, can i find the "source" of an entry in R.java? Nov 10 19:02:20 squirrel: From what I've seen, a "find references" action will show you the entry in R.java. Nov 10 19:05:03 find usages you mean (alt-f7)? that thing doesn't find stuff in the libraries Nov 10 19:05:23 eghdk, if you need to keep the token then yes save it. otherwise where else are you gonna keep it, in memory? i mean you have to check the token to make sure it's valid still right. so if you don't save it, and you don't keep it in memory, where else are you gonna keep it? Nov 10 19:06:44 canvs2321: well I send it to my server, and it seems like the docs dont want you to save it but they dont say it flat out. Nov 10 19:06:59 then don't save it Nov 10 19:08:33 https://github.com/pfn/android-sdk-plugin/issues/224#issuecomment-155417772 Nov 10 19:08:36 another happy customer :) Nov 10 19:13:17 I'm surprised none of you asshats here really want to speed up development :p Nov 10 19:16:58 can i import a file from a previous android studio project into another android studio project ? Nov 10 19:17:52 ctrl-c ctrl-v Nov 10 19:18:38 that wont break any of the generated files in the new project ? Nov 10 19:19:03 Hi everyone. I'm trying to download the build tools using the Android SDK Manager for Linux, but it's downloading at 1KB/s. Any solutions ? Nov 10 19:19:22 sbt is for buttheads Nov 10 19:19:32 anything generated will get regenerated upon build. may have to fix package name in class, if that file is a class Nov 10 19:19:51 k thanks canvs2321 Nov 10 19:27:28 scala butthead tol Nov 10 19:30:14 mikedg, best build ever and you know it :p Nov 10 19:32:13 shower thought: what if android is really a 20% project Nov 10 19:33:07 mikedg what have you been up to Nov 10 19:34:23 mikedg taking too long for you to come up with some smartass comment Nov 10 19:36:09 That feeling when you accidentally close Android Studio on a 4GB RAM machine. Nov 10 19:36:36 if you start it back up now, could be ready by tomorrow :) Nov 10 19:36:44 mine runs fine w/ that ^ :p but i've also got a i5 Nov 10 19:36:44 g00s: Hey what is that name that you told me earlier ..the guy that might know anything about Gimbal? Nov 10 19:37:01 g00s: i birthed a youngling Nov 10 19:37:04 cart_man ron_frown, not sure if he used it. you can ask him Nov 10 19:37:33 g00s: Yea hes just never online though... but will keep a look out! Thanks allot! Nov 10 19:37:39 mikedg a minidg ? Nov 10 19:39:37 yes! Nov 10 19:43:10 i have edittext button add button on the screen.i write something and click add button.then it adds to the list fragment below.but i cannot add empty.f edittex is empty,then it is not added to the list fragment.what can i do Nov 10 19:45:42 gyupro: Given how generic your description is, the only answer I can give is "Change your code so that empty strings get added". Nov 10 19:45:45 gyupro, hard to read, but if click "add" button and editttext length ==0 then don't add Nov 10 19:46:07 Oh, is that what he meant? I thought he wanted empty strings added (or something). Nov 10 19:46:13 i'm not sure Nov 10 19:46:31 hard to read/understand so far :) Nov 10 19:46:43 i want to add empty strings to the fragment Nov 10 19:46:51 sorry for mess Nov 10 19:46:57 gyupro: What is stopping you? :D Nov 10 19:47:22 my app does not let me Nov 10 19:47:22 ahh, then yes change the code to add empty string, and if empty, how do you know it isn't getting added, are you adding empty then something not empty to check? Nov 10 19:47:35 show your code Nov 10 19:47:39 you should add that feature Nov 10 19:47:47 it sounds like your user really wants it Nov 10 19:48:10 Is anyone looking for an open source project? I know of an old Palm app in need of porting, it's an english to japanese dictionary. Nov 10 19:49:24 electroreactive: Why would that be suitable as an Android app, though? Isn't something like that more of a web thing (which may or may not be consumed by an app on whichever platform). Nov 10 19:50:04 This app couldn't be a web thing, it needs a touchscreen due to the Kanji recognition, pronunciation, and mobile user interface. Nov 10 19:50:10 Oh, I see. Nov 10 19:50:15 https://paste.kde.org/pldro6tm8 Nov 10 19:51:11 Though, once ported I am planning to see if I can hack it to use google translate if search fails. Nov 10 19:51:35 gyupro, what is the deal with the checkbox, and the mAcceptEmpty Nov 10 19:51:57 if i want to add empty i check checkbox Nov 10 19:52:23 show your fragment code Nov 10 19:52:30 why would you want to add an empty todo? Nov 10 19:52:32 https://paste.kde.org/p6ezipx8v Nov 10 19:52:35 cause guess doesn't matter you are always setting the empty flag to true Nov 10 19:52:43 and show the adapter. that’s what’s going to decide what gets shown Nov 10 19:53:51 s73v3r: it is part of my app. Nov 10 19:53:54 and you’re always adding the item at index 0 Nov 10 19:55:32 i still don’t get what adding an empty todo would get you Nov 10 19:55:51 but if you could show your adapter, that would help Nov 10 19:56:02 There is also an online version, it just lacks the Kanji recognition, deconstruction into radicals, and pretty much every feature of importance. As the entire database is fairly small, 2.4MB, looks like, better to distribute it as a file than maintain a server. Nov 10 19:56:25 that code is a circlejerk between the activity/fragment Nov 10 19:56:28 if you add a normal item, with text, does it get added? Nov 10 19:57:13 s73v3r: yes Nov 10 19:57:29 my adapter is in the first link Nov 10 19:57:41 It uses the same database that powers JWPce, the current best Japanese language text editor with a built in dictionary. Nov 10 19:57:41 https://paste.kde.org/pldro6tm8 Nov 10 19:57:58 i see that. I thought you were using a custom adapter Nov 10 19:58:42 so what all does the fragment contain? Just the edittext for adding a thing? or does it have the listview too? Nov 10 20:00:13 Does anyone know if in GCM I should be storing the token locally? Nov 10 20:00:19 first one has edittext, and button.second one has checkbox and first fragment sends added lines to second fragment Nov 10 20:00:52 eghdk, jesus man, save it if you need it locally, otherwise don't Nov 10 20:01:09 you've been goin on about this same uniformed question forever Nov 10 20:02:33 I don't know if I need it. Nov 10 20:02:38 The docs go in circles Nov 10 20:02:41 then how can you proceed Nov 10 20:02:50 you know you need it or not if your app fails Nov 10 20:02:58 Well, it works now. Nov 10 20:03:03 success, next Nov 10 20:03:07 gyupro: when you try to add an empty string, do you know if your onTodoAdded method gets called? Nov 10 20:03:12 The issue is the tokenrefreshreceiver can get called at any time. Nov 10 20:03:19 .... Nov 10 20:03:32 eghdk: you probably do not need to cache it locally Nov 10 20:03:34 At that point I should refresh the token, but my app won't make network requests if the apps session is invalid. Nov 10 20:03:36 so keep the token on the device, check it for validity Nov 10 20:03:38 just send it to your server Nov 10 20:03:48 It seems like it might be a security issue to store it as SharedPrefs Nov 10 20:04:10 see, get your details of concern out of the way Nov 10 20:04:16 quit asking simple questions Nov 10 20:04:30 gyupro: The only thing I can think of is either your onTodoAdded is not getting called, or the ArrayAdapter doesn’t accept an empty string Nov 10 20:04:52 if the latter, then you might have to make your own adapter, extending BaseAdapter Nov 10 20:04:53 Well, it is simple if someone goes "Don't store it, it's a security issue". Then I'm done. Nov 10 20:05:02 But there doesn't seem to be an answer regarding this. Nov 10 20:05:20 google’s docs are crappy like that Nov 10 20:05:21 no it's simple if your app will not work if you don't have a token. so you need to decide how you want to save that token Nov 10 20:05:32 but I’d side with the others and say don’t store it Nov 10 20:05:38 The token comes from GCM Nov 10 20:05:41 don't let others decide if you can't figure it out from docs, use your brain Nov 10 20:05:42 I send it to my server Nov 10 20:05:49 It'll work. Nov 10 20:05:57 stop being a dick Nov 10 20:06:06 Don't be a dick. I'm asking a question where others would have the same issue. Nov 10 20:06:16 over and over and over Nov 10 20:06:20 it's simple Nov 10 20:06:26 Ah, looks like it got even easier, the original port is Java which was then ported to C++/Palm and improved. Nov 10 20:06:47 electroreacitve: Do you have the repo? Nov 10 20:07:27 "An Android application needs to register with GCM connection servers before it can receive messages. When an app registers, it receives a registration token and sends it to the app server. The client app should store a boolean value indicating whether the registration token has been sent to the server." So it seems like a boolean is good enough, but what if I need to refresh, and because of my auth mechanism, I can't at that tim Nov 10 20:07:56 I'll just guess and solve it when it blows up. Nov 10 20:08:15 if they’re not authed, then the server doesn’t need the token Nov 10 20:08:54 but then when they actually come back and they do auth, they will need the token. But now it doesn't know that it should have a new token. s73v3r Nov 10 20:10:07 http://www.cs.arizona.edu/projects/japan/JavaDict/ This is the original java version. http://sourceforge.net/projects/padict/ This is the palm pilot port, which I think is much improved. A good first step would be to get the original running on Nov 10 20:10:39 android, once it boots I think it will be easier for people like myself to contribute. Nov 10 20:13:01 eghdk: after they’ve authed, your device knows whether or not it has a new token. so you can send it after auth Nov 10 20:13:19 or, if you want to be safe, always request the token after auth, and always send it Nov 10 20:15:43 s73v3r: b.putBoolean(ARG_ACCEPT_EMPTY, false); ft.replace(R.id.add_todo_fragment, AddTodoFragment.getInstance(b)); is not working.why ? Nov 10 20:15:59 not working is too damn broad Nov 10 20:16:08 what is it doing, and what should it be doing Nov 10 20:18:29 s73v3r: my AddTodoFragment takes mAcceptEmpty parameter, when i change its value from false to true. i can add empty lines, so i created getInstance static method of AddTodoFragment. i pass bundle to that method so i want to replace it with new instance Nov 10 20:19:01 https://paste.kde.org/pk8bfmpto Nov 10 20:19:18 and what do you mean by “it’s not working" Nov 10 20:20:23 your newInstance method is wrong Nov 10 20:21:32 s73v3r: i use bundle to change arguments of fragment in activity so b.putBoolean(ARG_ACCEPT_EMPTY, false); ft.replace(R.id.add_todo_fragment, AddTodoFragment.getInstance(b)); i use this but it doesnt affect anything on it Nov 10 20:21:54 first, you have both newInstance and getInstance. You don’t need both. get rid of one Nov 10 20:22:51 Hey I have a short question. I wannt to build an app with Material Design. I was thinking of an Activity with 3 Tabs , which represent the workflow of the app ( Step 1, Step 2, Step 3) ! The question is: Is there a way to disable some Tabs so that the user only can switch to Step 2 tab if he did something on Tab 1 ? Nov 10 20:23:33 grees: it’s possible, but I’d rethink your design Nov 10 20:23:41 tabs are not meant to be sequential Nov 10 20:23:47 suppose i want to create an AlertDialog with a list. i can do new AlertDialog.Builder().setItems(), and it works fine. but suppose i want to color one of items red or something. do i *have* to manually create the layout in this case? or can i use whatever the layout the system provides somehow? Nov 10 20:24:37 gyupro: why are you replacing the fragment? Why not just call a method which would set the acceptEmpty flag? Nov 10 20:24:49 s73v3r: so what should i use instead? Nov 10 20:25:05 is it a sequential set of screens? Nov 10 20:25:26 if so, then just use a set of fragments, and transition between them normally. have next and previous buttons if you need them Nov 10 20:25:43 yes .. it's like first you have to take a picture with the cam, than insert some text, then choose some options Nov 10 20:25:56 yeah, don’t use tabs. Nov 10 20:25:59 any1 else had IP issues Nov 10 20:25:59 ? Nov 10 20:26:17 feel like google play on my case even though i have authorization to use materials Nov 10 20:26:19 intellectual property, only if you stole an idea Nov 10 20:26:27 keep suspending me and wont re enable even after sending proof Nov 10 20:26:44 s73v3r: how can i do that method ? what do you mean Nov 10 20:26:53 locale, take it up with them, show your code Nov 10 20:27:05 well i am quoting a book and the company says you can do this Nov 10 20:27:06 legally Nov 10 20:27:12 if you cite the copyright Nov 10 20:27:13 gyupro: just make a setAcceptEmpty method Nov 10 20:27:18 like any other setter Nov 10 20:27:25 locale, here isn't the place to ask Nov 10 20:27:34 s73v3r: thanks Nov 10 20:27:40 here there response Nov 10 20:27:46 no Nov 10 20:28:00 dealing with Google definitely falls under Android development Nov 10 20:28:22 would think so Nov 10 20:28:26 they are nazi monarchy Nov 10 20:28:35 take it up with them, show us your code Nov 10 20:28:43 heres what they said Nov 10 20:28:57 After further review, we’re unable to reinstate your app as it looks to be the same as an app that was live on Google Play under another developer account named, [xxxxxxx]. The account was terminated due to multiple policy violation including the IP infringements. Nov 10 20:28:59 what is wrong with you Nov 10 20:29:03 so they saying it looks like another app Nov 10 20:29:05 show us your code, or go away Nov 10 20:29:08 locale just forget about using other people's media, magazines, movies, music, ebooks, etc. it won't end well Nov 10 20:29:17 canvs2321: stop being a dick Nov 10 20:29:25 so I recently hired a junior android dev to be working with me. Does anyone have any good tips or resources on effective peer code review or other best practices for small dev teams? Nov 10 20:29:38 well they said, "oh its not an ip violation, but it looks like this one app from another account, so you're banned anyway" Nov 10 20:29:53 g1bbs, just double check lifecycle code, and object creation/release Nov 10 20:29:55 g1bbs: use something to automate setting it up, like Bitbucket pull requests or something like that Nov 10 20:29:58 locale oh dmca ? Nov 10 20:30:10 well i sent them a reprint policy saying i can use it Nov 10 20:30:19 locale, stop Nov 10 20:30:19 then they said "well it looks like this one app.." Nov 10 20:30:42 did they say that account was terminated due to policy violations? Nov 10 20:31:00 canvas2321: ideas can't be copyrighted, and a shared idea can be patented by, say, IBM under 'first to file', do not share ideas, implement them or get a signed nondisclosure. Also, be aware of lawful reverse engineering and fair use. In short, ideas can't really be protected, except by never sharing them... ever... XD Or fully implementing them and protecting them with copyright.. Nov 10 20:31:04 i have the rights to use this material Nov 10 20:31:06 every checkin though? More effective as frequent micro checks or weekly sitdowns? Nov 10 20:31:12 they need to succumb Nov 10 20:31:24 locale: google doesn’t have to do shit Nov 10 20:31:35 thats why they need to go bankrupt Nov 10 20:31:38 and they will Nov 10 20:31:40 g1bbs first priority should be making sure lifecycles are adhere'd to, and no excessive objects Nov 10 20:31:52 /kickban locale Nov 10 20:32:22 electroreactive: exactly, but the policy of the company actually says you can use it with proper citation.. so google is being a little power tripper Nov 10 20:32:36 locale it sounds like they’re thinking that, because your app looks similar to someone else’s who was banned for multiple IP violations. So they’re thinking that you’re just the same guy that opened another account Nov 10 20:32:48 they may be right Nov 10 20:32:51 l9l Nov 10 20:32:51 and they’re not going to go bankrupt because they don’t let you publish your dinky little app Nov 10 20:32:52 l0l Nov 10 20:33:07 Oh, you're talking about your app being removed from the Google Play Store. Nov 10 20:33:09 anyone get this when trying to query a cursor: Could not create CursorWindow from Parcel due to error -12. ? Nov 10 20:33:23 g1bbs: Not every checkin, but every task Nov 10 20:33:25 right Nov 10 20:33:41 have them create a branch for the task they’d do in the bug tracker, and then when they’re done with it, review it Nov 10 20:33:45 duboisj surely someone has, did your google request not give you anything? Nov 10 20:34:01 I'll see if there is an IP law chatroom, give me a minute to look. Nov 10 20:34:05 * OverCoder blinks Nov 10 20:34:06 not really. gave me the error in the code, but not responses Nov 10 20:34:17 /kickban canvs2321 ur shit lame dud3 Nov 10 20:34:17 where should I put my xposed_init in Android Studio? Nov 10 20:34:23 I can't find assets folder Nov 10 20:34:31 create it Nov 10 20:34:40 locale: don’t you start either Nov 10 20:34:47 I tried, but the module does exactly nothing Nov 10 20:34:59 and question should be, i don't have /assets/ how can i create it Nov 10 20:35:14 then redefine your question Nov 10 20:35:25 Let me try, Nov 10 20:35:25 go to res folder and make it Nov 10 20:35:26 locale, if you keep being rude you will likely be banned before we get a chance to talk, you are looking for help, please be polite about it and respectful of the fact that this is a channel full of non-lawyers who mostly know code. Nov 10 20:35:35 ah wait, inside res folder? Nov 10 20:35:39 * OverCoder pranks Nov 10 20:35:43 "I can't find assets folder" and "i tried, but module does exactly nothing" are not helpful Nov 10 20:35:51 oh goodness Nov 10 20:35:57 assets have been around forever Nov 10 20:36:10 okay okay :p Nov 10 20:36:29 quite the influx of uneventful questions Nov 10 20:36:41 OverCoder: http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Project-Structure Nov 10 20:37:15 locale, what kind of app? Nov 10 20:37:25 I think I read that at some point of my life Nov 10 20:37:34 cool Nov 10 20:37:54 s73v3r: Ah that seems solid. I enforce that with git flow anyway so that should work well Nov 10 20:38:19 locale, I have also joined the ##law channel... I cannot give legal advice, but I can read the TOS and try to help you figure out why they removed your app. (Eg: I can look at policy but not the legal issues behind that decision). Please also join the channel ##law Nov 10 20:45:39 the last guy who complained about his app being removed had books in his app, they were public domain in the US but still copyrighted in the EU/UK :p Nov 10 20:46:30 Anyone use Icons8 for icons in their app? Nov 10 20:46:41 seems very obscure Nov 10 20:46:58 icons8.com? and what is the purpose for your code? Nov 10 20:47:12 What do you mean canvs2321 Nov 10 20:47:19 what do you mean Nov 10 20:47:30 Ok Nov 10 20:47:37 you are saying "Icons8" like it is world known Nov 10 20:47:43 s73v3r: What do you mean my device knows? Stepping through the logic, there isn't anywhere were I can just ask gcm "hey do I need a new id", without actually making the getToken call from gcm Nov 10 20:48:05 I was asking if anyone has ever used that website canvs2321, if you are not interested in talking about it, please do not answer Nov 10 20:48:25 drose379 stay topical with some code Nov 10 20:48:40 Was he informed of that when his app was removed? Was he able to re-submit it excluding the UK? Nov 10 20:49:10 It's fine to ask where people get their icons from... Nov 10 20:49:20 Thank you Nov 10 20:49:36 electroreactive: the reasons why his app was removed was clear in the emails he showed, i dont know if he republished it (or if his acc got too many strikes) Nov 10 20:49:37 drose, if the license on those icons are free, use em for your app Nov 10 20:50:31 TheSchaf: Too many strikes, that sounds pretty scary... do they have an appeals process for that? Nov 10 20:51:04 drose, if you are simply asking if those "icons" are appealing, that is subjective Nov 10 20:51:10 electroreactive: i dont know :D Nov 10 20:51:17 canvs2321 do u really want to help or do u just steal code Nov 10 20:51:23 canvs2321 all u say is share code, give code, show code Nov 10 20:51:32 show your code Nov 10 20:51:37 exact Nov 10 20:51:40 Would it make sense to ever send a LocalBroadcast from a BaseAdapter? Nov 10 20:51:43 not trying to rag Nov 10 20:51:52 In this case, I need to pull more data from the API Nov 10 20:51:59 drose, some ppl don't like LocalBroadcast Nov 10 20:52:11 they have their reasons, but you'd have to vet it Nov 10 20:52:18 Ok would a Callback interface be better Nov 10 20:52:36 I just need to trigger an API call from a BaseAdapter Nov 10 20:52:42 Dont know if that is a problem in itself Nov 10 20:52:47 it's just the interaction with LocalBroadcast they don't like, seems like it isn't in a correct manner Nov 10 20:53:02 hi guys ! Nov 10 20:53:08 What is stopping you from sending a system wide broadcast? Nov 10 20:53:41 Im just trying to go with best practice Nov 10 20:53:53 Maybe a Callback interface would be cleaner Nov 10 20:53:55 read up on LocalBroadcast Nov 10 20:53:59 Ive used it before Nov 10 20:54:10 I was just wondering if anyone has any input on which is better Nov 10 20:54:19 I would like to make my app search for new content (in background) every 2 hours, and create a notification if new content exists. I would like the "search" to be perfomed only if the application is in background. What should I use to do this ? Nov 10 20:54:22 which? Nov 10 20:54:29 (background task, and notification) Nov 10 20:54:42 Callback interface, or LocalBroadcast Nov 10 20:54:57 Im thinking LocalBroadcast Nov 10 20:55:01 blusky, you'd have to assume your app is "still" in background after 2hrs Nov 10 20:55:11 canvs2321: background, or closed Nov 10 20:55:20 blusky what about GCM Nov 10 20:55:37 then you'd need to register for an intent to rerun your app if closed Nov 10 20:55:37 I would like to avoid that Nov 10 20:55:39 Send a GCM every 2 hrs from server, app receives it no matter what state it is in Nov 10 20:55:45 Oh, alright Nov 10 20:56:39 blusky use a service Nov 10 20:57:03 canvs2321: what is it ? Nov 10 20:57:11 what? Nov 10 20:57:31 i'll class case it, use a Service Nov 10 20:57:54 otherwise, need more details on why you need updated Nov 10 20:58:15 what is happening to where you app needs to run Nov 10 20:58:34 it's an app where you can perform searches, and register some favorite search. If there's new content for your search, I want the user to have a notification Nov 10 20:59:07 Use AlarmManager to start a service every 2 hours Nov 10 20:59:08 then it's not a search, it's a notification of an updated search hit. Nov 10 20:59:28 Hmm, anyone worked on 6.0 a lot yet? Nov 10 20:59:36 canvs2321: the search will be performed every two hours to see if there's new content Nov 10 20:59:45 Is it true that WakeLocks don't prevent the phone from entering Doze_ Nov 10 20:59:50 ah, then yah do what SimonVT is sayin Nov 10 21:00:52 ok then, i'll make some research about AlarmManager :) Nov 10 21:00:54 thx ! Nov 10 21:00:57 Mavrik: yep. There's a permission that lets you suppress doze Nov 10 21:01:08 Hmm, can you ask for it? Nov 10 21:01:19 That Google actively checks to decide if you're worthy Nov 10 21:01:54 https://m.reddit.com/r/androiddev/comments/3s9ggu/psa_declaring_request_ignore_battery/ Nov 10 21:01:56 Hmm, so essentially now I can't rely anymore that process started after I'm granted wakelock will complete Nov 10 21:02:38 SimonVT: what about Sync Adapters ? (instead of Alarm) Nov 10 21:03:06 Sure, SyncAdapters can be used for periodic sync as well Nov 10 21:03:12 Just more annoying Nov 10 21:03:26 how to chose ? Nov 10 21:03:38 Mavrik: Not sure exactly how it works Nov 10 21:03:44 (trying to be the less dirty I can :D) Nov 10 21:03:55 blusky: avoid SyncAdapters if you can Nov 10 21:04:00 That's how you decide Nov 10 21:04:07 blusky, you decide based off your readings Nov 10 21:04:53 Hehe, what's wrong with sync adapters? Nov 10 21:04:58 how did you even find SyncAdapter after SimonVT suggested AlarmManager? Nov 10 21:05:24 I currently have CoordinatorLayout>AppBarLayout>CollapsingToolbarLayout>TabLayout, when the Toolbar is fully collapsed, the TabLayout is not clickable. What might be the cause? Nov 10 21:05:33 I have initialized the TabLayout from a ViewPager Nov 10 21:06:13 Mavrik: Because you also need accounts and stuff like that.. Just personal preference I guess, I prefer alarms :p Nov 10 21:06:31 I find them much simpler Nov 10 21:10:21 Yeah the account part sucks. Nov 10 21:10:35 And if I see it correctly, you can't query if syncadapter exists. Nov 10 21:10:51 Which is a very annoying common theme with Android APIs Nov 10 21:12:32 so solved your own question Nov 10 21:13:40 I wonder how Google does the permission vetting. Nov 10 21:24:19 How might I write a view matcher to get a subview of an item in a recyclerview? I have a working Matcher, but I don't really know how I can do an `onView(withId())` of a subview of that viewholder's view... Nov 10 21:39:43 I've got two very similar fragments - one displays a list of items, another displays a list of items but with a title Nov 10 21:39:58 Should I have two separate fragments, or somehow try to toggle the title programatically? Nov 10 21:40:07 There will be a lot of code duplication if I have two fragments Nov 10 21:40:33 but I always seem to introduce weird bugs when doing too much programatically Nov 10 21:51:19 Could the title be made part of the activity? Nov 10 21:51:49 think they are deprecating title Nov 10 21:51:54 if i am correct Nov 10 21:54:15 not Activity title, I meant whatever they were using as their title field Nov 10 21:56:03 what does "marquee" mean in android:ellipsize? Nov 10 22:02:40 squirrel: I believe it means that the text will scroll if its longer than the view length Nov 10 22:05:14 oh Nov 10 22:12:32 hi guys. I am trying to write some code to enable the hotspot on my phone. I got the code working on a nexus 6, but the same code gives me an InvocationTargetException on my galaxy s6. I am at the end of ideas. do any of you have ideas? I will place the method up if anyone wants to see it. Nov 10 22:13:49 did you make sure that they were both running the same version of Android? Nov 10 22:14:06 cause without telling us what’s actually happening, we can’t really say anything more than that Nov 10 22:16:47 s73v3r yes. both running android 5.1.1. here is the method where I am working with, http://pastebin.com/0RWp5uyq Nov 10 22:17:05 what’s actually throwing the exception Nov 10 22:19:43 I get an invocationtargetexception the line that the exception comes from is : result = (Boolean) enableWifi.invoke(mWifiManager, myConfig, true); Nov 10 22:20:54 http://stackoverflow.com/questions/30527188/android-lollipop-wifi-hotspot-setwifiapenabled-get-invocationtargetexception Nov 10 22:21:06 there’s a set of permissions that you might want to check Nov 10 22:24:12 s73v3r yeah, I read that page. I have all of those perms set. Nov 10 22:24:50 s73 Would you take a look at a output of my logcat? maybe I am missing something. Nov 10 22:24:59 sure Nov 10 22:25:12 s73v3r let me paste it into pastebin Nov 10 22:25:19 please do Nov 10 22:25:42 Well, I guess he's using reflection because hotspot API is not public. Nov 10 22:25:56 And because it's not public the OEMs can just move the fields around. Nov 10 22:26:09 exactly. that’s the only other thing that I can think of, that Samsung changed the method name because fuck you Nov 10 22:26:37 you also have the permission “WRITE_SETTINGS” on, right? Nov 10 22:33:11 s73v3r I had to share it from dropbox since pastebin didn't like putting the entire log into the page. https://www.dropbox.com/s/1ixt4pzzvfjxx3w/mylog.log?dl=0 look for line 18647 Nov 10 22:33:32 you don’t have to share the whole logcat Nov 10 22:33:42 s73v3r yeah, but I'll pastebin my android_manafest give me a second. Nov 10 22:33:51 just the stack trace and just a couple of lines above it Nov 10 22:35:03 I have added 2 .java files to an android project. Now the path and one .java file has a jagged red underline. what causes this ? i have synced and rebuilt, and googled and do not find how to remove these Nov 10 22:35:59 PhoenixFyre: Line 18666 has your answer Nov 10 22:36:16 s73v3r here is my android_manifest, http://pastebin.com/TJAGSfjd Nov 10 22:37:25 what kind of app are you working on? Nov 10 22:38:48 s73 I am building a app to work a piece of hardware for my company. it is for people who are blind. I need to be able to control the hotspot on the android devices so I can make the pairing process of the device with the phone very simple. Nov 10 22:40:00 well, a cursory search seems to indicate that the permission CONNECTIVITY_INTERNAL might not be allowed for non system apps Nov 10 22:41:35 s73 ok. do you have any ideas why my method I showed earlier would work on a google nexus 6, but not on the galaxy s6? Nov 10 22:41:56 it seems as if that depends on the device Nov 10 22:42:19 so a Nexus, straight from Google, would allow it, whereas a phone coming from AT&T would have had that changed Nov 10 22:43:32 s73v3r yeah, that is what it is looking like. Nov 10 22:44:01 and I’m guessing you guys have tried bluetooth as a means to communicate, and found it wanting? Nov 10 22:56:05 does STRICT_HOSTNAME_VERIFIER exist anymore in the latest Android SDK? It doesn't appear to be and the stackoverflow post is 4 years old, but I'm a novice Android dev. http://stackoverflow.com/questions/2012497/accepting-a-certificate-for-https-on-android Nov 10 22:56:52 and it doesn't appear in SSLSocketFactory.java Nov 10 23:04:35 oh, I see. different SSLSocketFactory Nov 10 23:04:47 nevermind :P Nov 10 23:06:25 s73v3r yeah, our hardware needs a wifi connection to work. Nov 10 23:07:06 s73v3r we are transporting video from the device to the mobile phone. bt just doesnt work well. Nov 10 23:09:31 understand. would it be possible for you to provide the phone, or is it expected that a person should be able to bring their own phone? Nov 10 23:15:01 and... that socket factory is deprecated Nov 10 23:20:07 s73v3r at this time the user will provide their phone. but I might suggest we providing the phone. otherwise the app would have to run rooted to gain system access to use CONNECTIVITY_INTERNAL Nov 10 23:29:06 I read that android.permissions.CONNECTIVITY_INTERNAL can be used if the app is installed under /system/priv-app? if I install my app the normal way, can the app then move itself into that directory and run from there so I can use the CONNECTIVITY_INTERNAL perm? Nov 10 23:30:56 Of course not. Nov 10 23:31:16 The whole point of those permissions is that the apps not part of the system image CANNOT get them. Nov 10 23:31:31 mavrik I thought so, but I just had to ask. Nov 10 23:32:28 this is going to suck for my company. our hardware will only work with nexus devices because the code I've developed only runs on nexus devices, not on the galaxy s5/s6 Nov 10 23:32:46 damn. damn samsung. Nov 10 23:34:47 PhoenixFyre, you didn't answer why aren't you using bluetooth Nov 10 23:35:45 mavrik I did. because we can't transport video over bluetooth. Nov 10 23:36:11 Of course there's also Wifi Direct made for those use-cases. Nov 10 23:36:23 Which also doesn't need access to private APIs. Nov 10 23:36:51 mavrik yeah, I am already developing a backup solution for that. my boss will just have to deal with it. it just can't happen they way he wants with us controling the hotspot via our app. Nov 10 23:37:26 I like wifi direct. well thats bosses for ya :) Nov 10 23:51:16 gharh! I'm having trouble with Activity transition animations. I want my second Activity to simply fadein *on top* of the previous Activity. I've added overridePendingTransition(R.anim.fade_in, R.anim.fade_out); in both Acitivty's onCreate(...) and after startActivity(...); and in onBackPressed Nov 10 23:51:35 Still the SecondActivity slide in from the left. It also does fade in, though. Nov 10 23:51:44 But I don't want the slide. Nov 10 23:52:13 Why does it happen? And how do I fix it? Nov 11 00:03:48 Ah, got it. Nov 11 00:04:09 Found this in my style.xml: @android:style/Animation.Translucent Nov 11 00:04:10 =) Nov 11 00:39:07 CedricBeust this was pretty interesting from today (C/C++/Go/Rust/D) https://www.reddit.com/r/programming/comments/3sa6lf/d_has_no_vision_go_is_out_of_its_depth_rust/ Nov 11 00:39:24 I saw that, yes Nov 11 00:41:19 In the Go thread, someone tried to argue that Go doesn't need generics because of interfaces. lolwat Nov 11 00:43:22 Never mind -- those comments have been downvoted now. They had been upvoted when I looked an hour ago. Nov 11 01:19:09 Hey there. I'm seeing a blank space below admob's smart banners. is it normal? Nov 11 01:19:30 there's no padding or margin, I'm not getting why it has that space Nov 11 01:22:40 Did you turn on “Show Layout Bounds” Nov 11 01:32:10 I got to Settings->Storage and there is an entry for 5.5gb of miscellaneous files Nov 11 01:32:15 this is, actually pretty good http://www.fastcodesign.com/3041374/3-rules-of-app-design-according-to-yahoos-marissa-mayer Nov 11 01:32:36 I explore further and only see a few folders that are using kilobytes Nov 11 01:33:01 how can I clear that? Its using an outrageous amount of space and now I'm running out Nov 11 01:34:31 RustyShackleford hm, maybe reflash the device :D Nov 11 01:35:02 yeah I could do a factory reset I guess Nov 11 01:35:08 but then I have to set up my phone again Nov 11 01:36:55 s73v3r, good idea. I'm going to do that Nov 11 01:39:38 yep, I just checked. the AdView has a height of something like 100dp, and the banner itself is just 70dp Nov 11 01:39:48 so it is at the top border of the adview Nov 11 01:48:50 is it bad form to put username/password details in the log? Nov 11 01:49:55 I use text-to-speech to announce it. Nov 11 01:51:36 also, I want to use ssl certs, how am I supposed to do it? most tutorials' code comes up as deprecated Nov 11 02:14:40 why do peolpe think that an example app is a suitable substitute for documentation? Nov 11 02:17:13 CedricBeust have you followed ward cunningham's federated wiki project? i'm wondering if it would be neat idea if they offered the d.android.com website as a fed wiki, and others could then fork it to add / fix things Nov 11 02:51:37 what Icons should I use for free/paid Nov 11 02:53:06 ? **** ENDING LOGGING AT Wed Nov 11 02:59:58 2015