**** BEGIN LOGGING AT Wed Oct 01 03:00:00 2014 Oct 01 03:02:01 bros you mean something like http://www.cert.org/vulnerability-analysis/tools/cert-tapioca.cfm Oct 01 03:02:39 g00s: yeah but I can't get Android to route through it Oct 01 03:02:58 O.o Oct 01 03:05:24 well thats lame, google won't let me veryify an account using my skype # Oct 01 03:05:30 oh haha, i see what they did there Oct 01 03:11:19 does android have something like dynamic libraries in Dalvik? Oct 01 03:22:33 Hi, there are various devices in the market. For testing purpose what are recommended AVD configurations (of course more than 1 AVD) should I use? Oct 01 03:24:17 Maybe you categorize them become old-common-large, old-common1-common2-tab, etc... Oct 01 03:27:47 karex you need to figure out what devices you're going to support, but in general i focus on galaxy nexus, nexus 5, and nexus 7 avds, running both 4.1 and 4.4 Oct 01 03:33:07 JacobTabak: so you focus on common devices in the market? Oct 01 03:33:24 all of our layouts are designed to work on any device Oct 01 03:34:01 but the general idea is old device, new device, tablet Oct 01 03:34:20 and testing on 4.1 and 4.4 because theres the most diversity between those two Oct 01 03:34:27 and if there are problems on 4.2 or 4.3 you'll see them on 4.1 as well Oct 01 03:34:33 JacobTabak: of course, but I'm looking for the recommendation / best practice to categorize them (screen size, screen density, ...) Oct 01 03:34:51 screen density shouldn't affect your layout unless you're not using DPs Oct 01 03:35:35 JacobTabak: I see, so varying screen size and OS version is enough? Oct 01 03:35:56 varying = make variation :D Oct 01 03:36:08 you can see what the most common devices running your app are in google play if your app is there Oct 01 03:36:10 I'm sorry with my english Oct 01 03:36:15 you can emulate those configurations Oct 01 03:37:06 as long as you follow best practices when it comes to layouts, and avoid certain pitfalls, you'll be fine Oct 01 03:38:19 karex make sure you measure your layout with a chicken Oct 01 03:39:09 so you can set up your avds like ics_2chickens Oct 01 03:39:46 JacobTabak: I take variation in OS version (4.1 and 4.4) and variation in screen size (? and tablet) as your recommendation Oct 01 03:40:16 g00s: what kind of chicken is it? Oct 01 03:40:28 :D Oct 01 03:40:29 karex depends if you have layouts specific for other configurations Oct 01 03:40:57 like in one app i have configurations for min-width and min-height, so i need devices that meet those configurations Oct 01 03:41:15 when I create a new android studio project I notice there is no drawable folder in /res. Should I create it manually? or is there some "create drawable folder" option somewhere? Oct 01 03:42:03 yes res/chicken-xxlarge Oct 01 03:42:29 JacobTabak: does using AVD with smallest screen size instead of the average make sense? Oct 01 03:49:11 karex you need to do some research, nobody really has the smallest screen size Oct 01 03:51:53 JacobTabak: Thanks Oct 01 03:52:01 determine what type sof devices your users have Oct 01 03:52:16 theres no 1 size fits all solution Oct 01 03:54:15 g00s what up h0lmes Oct 01 03:54:27 hey JacobTabak how are you Oct 01 03:54:36 you seem drunk on chickens Oct 01 03:54:43 just making new google accounts to transfer my apps to Oct 01 03:54:51 why did they get sut down Oct 01 03:54:52 shut Oct 01 03:55:10 can i see one of your apps Oct 01 03:56:20 nah i was using my personal account, but it really should be a separate account Oct 01 03:56:51 i did it the wrong way a long time ago (2010?) just fixing now Oct 01 03:57:16 How do I get a radial time picker like the one in the KitKat clock app? Oct 01 03:57:45 Every stackoverflow link I've found asking this question has been deleted O.o Oct 01 03:57:58 and i just had some chicken Oct 01 03:58:17 frankdrey the clock app should be AOSP ... Oct 01 03:58:30 frankdrey im not sure theres been a good port like there was for betterpickers Oct 01 03:58:32 you should do it Oct 01 03:58:52 Ive been looking at AOSP Oct 01 03:59:01 It references com.android.datetimepicker Oct 01 03:59:03 Which I can't find Oct 01 03:59:38 Oh Oct 01 03:59:39 Wait Oct 01 03:59:57 Aha! Oct 01 04:00:07 frameworks/opt/datetimepicker Oct 01 04:00:09 \o/ Oct 01 04:00:51 Sweet Oct 01 04:02:49 i hate when android trolls me Oct 01 04:03:07 like by deprecating imageview.setbackgrounddrawable Oct 01 04:03:19 like who sets min API to 16 Oct 01 04:03:28 that this warning would apply to Oct 01 04:03:35 ...I do :P Oct 01 04:03:47 o really? Oct 01 04:03:54 4.2? Oct 01 04:03:59 4.1 Oct 01 04:04:25 hey, i want to run an application from the command line using "dalvikvm" to query ConnectivityManager. how would i give that application a "Context"? Oct 01 04:05:48 anyone know where I could find some info to make a backwards listview similar to hangouts when you are in a message. Oct 01 04:06:04 pieces029 wat Oct 01 04:06:34 pieces029, I got dis Oct 01 04:07:12 do u mean like the profile pics and text? Oct 01 04:07:32 Set stackFromBottom to true Oct 01 04:07:33 You know when you are you in hangouts the list view scrolls bottom to top, and adds more data to the top? I have the bottom to top portion but when I add more data to the adapter the whole thing freaks out. Oct 01 04:07:40 Oh Oct 01 04:08:00 Define freaks out Oct 01 04:09:09 It's like it looses the place it's at so for example I'm at item 5, which is enough to trigger a pull for more data. It will load in more, then still be at 5. Oct 01 04:09:41 I've tried with transcript mode normal and disabled and neither seem to help. Oct 01 04:10:03 frankdrey: and if it's still at 5 it triggers to load more data. Oct 01 04:12:32 Listview dynamic loading is hard :| Oct 01 04:12:40 And that's all I can say on that unfortunately Oct 01 04:15:45 yeah, the infinte scroll doesn't seem to be to bad, it's making it upside down... Oct 01 04:15:51 why is it hard? Oct 01 04:17:38 When I scrool up it hits the minimum amount to trigger a refresh, which loads more data, but the visible element stays the same so it triggers another refresh and so on Oct 01 04:18:09 ok so assuming your adapter has stable IDs Oct 01 04:18:45 stable ids? Oct 01 04:18:52 you're using a listview right? Oct 01 04:19:12 yup Oct 01 04:19:14 http://developer.android.com/reference/android/widget/BaseAdapter.html#hasStableIds() Oct 01 04:19:42 what type of adapter are you using? Oct 01 04:19:54 a custom one that extends base Oct 01 04:20:00 and do you set hasStableIds Oct 01 04:20:02 ? Oct 01 04:20:09 nope Oct 01 04:20:12 what does that do? Oct 01 04:20:33 as I look at the docs Oct 01 04:20:51 oh, I should set that. Oct 01 04:21:03 yea look at how listview sourcecode interacts with it Oct 01 04:21:53 I am entering a 50/50 partnership on an app, anyone know of online legal template for drafting a contract for that kind of thing? Oct 01 04:22:09 lets make it 33% Oct 01 04:22:12 i'm in Oct 01 04:23:02 (no i don't know) Oct 01 04:23:19 JacobTabak: What does stable id cause to happen? Is the id refer to the position in the list view? Oct 01 04:23:44 pieces029 it maintains scroll state when dataset changes for one Oct 01 04:23:59 lasserix: I dunno, but 'member, any of these things are always based on trust Oct 01 04:24:08 regardless of what the document says Oct 01 04:24:28 yeah Oct 01 04:24:56 the guy was asking about storyboard where the code is embedded, not sure if he had in mind getting me to code it then just using the story board to take it over himself Oct 01 04:25:43 JacobTabak: if I am looding data backwards though, if item 5 is on the top and I load 10 more, item 15 should be at the top, that would be unstable right? Oct 01 04:26:00 pieces029 no Oct 01 04:26:14 Anyone know any good libraries for doing p2p connection? Oct 01 04:26:41 JacobTabak: I mean either way it didn't change anything or is there another method that directly effects? Oct 01 04:27:08 ok from a high level, if your listview loads more content at the top Oct 01 04:27:27 the only thing that changes is the item positions of your items that are currently on screen Oct 01 04:28:13 correct, so how does this stable id thing effect it? Oct 01 04:28:40 do I need to do something special in the getItemId? Oct 01 04:29:30 well... assuming each item has a unique ID ... Oct 01 04:29:34 you need to return that iD :O Oct 01 04:29:41 can you show me a gif of whats happening or something Oct 01 04:30:41 I can try I have no idea how to make gifs Oct 01 04:30:47 so might be a minute Oct 01 04:30:53 mac? Oct 01 04:30:58 Fedora Oct 01 04:31:01 oic Oct 01 04:33:35 so, I can do it in the command line with image magic... haha Oct 01 04:35:15 im having a painful time applying a color filter in a state list drawable Oct 01 04:41:32 how come half the time i can see the sdk source code and half the time i can't Oct 01 04:41:33 raaage Oct 01 04:41:51 Eclipse? Oct 01 04:42:01 AS Oct 01 04:42:12 actually in one of my projects i can Oct 01 04:42:15 Hmm Oct 01 04:42:43 i just made my first android app :D Oct 01 04:43:23 it toasts the result of ConnectivityManager.getActiveNetworkInfo.getType Oct 01 04:43:37 break out the champagne! Oct 01 04:43:40 ya Oct 01 04:43:49 well it just helped me realize why tethering isn't going over wimax Oct 01 04:44:10 because this crappy proprietary wimax service doesn't update what the system thinks is the active network interface Oct 01 04:49:21 JacobTabak: you need to attach the sources, might be beacus eyou are swiching from different projects that use different sdk versions? Oct 01 04:49:41 Or are some using maven and some using gradle? Maven seems to give me that issue a lot Oct 01 04:49:50 pieces029 they're all using gradle and have same compile/target sdk Oct 01 04:50:01 i wish i could attach sources... Oct 01 04:50:05 theres no place in the ui to do that Oct 01 04:51:18 any idea how to communicate to android/connectivitymanager that the active network interface has changed? Oct 01 04:51:23 eg. from hipri to wimax Oct 01 04:51:46 er, TYPE_MOBILE to TYPE_WIMAX Oct 01 04:52:19 JacobTabak: when you ctrl click into something doesn't it ask in the upper right hand corner? Oct 01 04:52:50 pieces029 for 3rd party libarries yes but not the sdk for some reason Oct 01 04:53:01 is there a way to do it manually.. Oct 01 04:53:30 yay for beta-quality software! Oct 01 04:53:31 :p Oct 01 05:03:29 we talking about oracle ? Oct 01 05:08:03 probably, alpha quality would be google Oct 01 05:09:50 figured out my source issue Oct 01 05:10:07 need to have all modules with compilesdkversion of an sdk you have the sources for... apparently Oct 01 05:11:24 anyone play with wifidirect? Oct 01 05:14:29 lasserix, there was someone in here a few days ago that did Oct 01 05:20:15 hmm Oct 01 05:20:23 i guess i will go pull out my time machine Oct 01 05:20:24 thanks ;p Oct 01 05:21:33 How do i import android sdk sample projects into android studio? Oct 01 05:30:18 lasserix: is doing it "the normal way" not working? Oct 01 05:30:26 whatever the normal way is. Oct 01 05:44:35 I am reversing an app. The app sometimes kicks back a "checkpoint", telling the app to open up the URL it sends. Would this request be made with the User-Agent of the device's browser, or the app's "user-agent"? Oct 01 05:52:55 lasserix, apparently he only concluded wifi direct doesn't work well on L Oct 01 05:53:02 so... not much really :) Oct 01 05:54:04 bros, reverse engineering is not welcome here Oct 01 05:57:05 ravilov: What kind of User-Agent does a SimpleWebViewActivity Intent use? Oct 01 06:10:26 lasserix wifi direct is one of those 'problem areas' Oct 01 06:20:19 g00s what do you mean? Oct 01 06:20:23 its not reliable? Oct 01 06:20:36 what other options do i have for p2p networking (for sending like text)? Oct 01 06:20:44 bluetooth? :) Oct 01 06:21:10 Agamemnus: yeah Oct 01 06:38:21 g00s what's "problem areas" mean? Oct 01 06:38:30 as in should not be used? Oct 01 06:40:36 mornin Oct 01 06:45:55 hi Oct 01 06:46:13 time for show & tell, who wants to give some feedback Oct 01 06:47:37 oh youtube why you so slow right now Oct 01 06:52:01 Hello All Oct 01 06:52:22 Does anyone has any idea on RotateAnimation Android API Oct 01 06:53:03 I wanted to rotate the needle as soon as RPM value change but it is not working as expected Oct 01 06:53:12 oh here we go if anyone's bored, https://www.youtube.com/watch?v=ApKLcyaZbGo Oct 01 06:53:27 sanjeevsharmaeng yes i have experience Oct 01 06:53:32 sanjeevsharmaeng i have made a clock Oct 01 06:53:56 is your needle on a tachometer or something? Oct 01 06:54:37 JacobTabak nice to hear that you have an experince in same area Oct 01 06:55:09 JacobTabak I am using it on Android gauge image Oct 01 06:55:33 stock control? im not familiar with it Oct 01 06:55:37 are these custom images? Oct 01 06:57:08 JacobTabak I am using gauge as background image and on it using needle Oct 01 06:57:20 whats not working as expected? Oct 01 06:58:40 JacobTabak I wanted to rotate needle as per input value change for example if i gave 1000 then 1000 shuld show in gauage and needle should move to 1000 value Oct 01 06:59:09 sanjeevsharmaeng so whats the problem? Oct 01 06:59:37 JacobTabak my code is not working as expected Oct 01 06:59:45 lol, so whats the problem? Oct 01 07:01:42 JacobTabak my code is not working as expected? Oct 01 07:02:08 JacobTabak can I share you the image of gauge what i wanted to achive Oct 01 07:02:22 what do you mean its not working as expected Oct 01 07:02:31 its not rotating? Oct 01 07:03:06 It is rotating but not upto the value I have passed in RotateAnaimation API Oct 01 07:03:55 try multiplying by 3.14159265359 Oct 01 07:03:58 just a guess Oct 01 07:05:19 JacobTabak For example I have gauge to measure speed in KM/H and on my gauge I have scale from 0 to 160 and interval is 20 and If I passed 50 then it is not showing 50 on scale Oct 01 07:06:36 are u using a 3rd party gauge class? or just an image of a gauge and using rotating the needle ? Oct 01 07:06:40 hey guys. does anyone know a good book for starting android development Oct 01 07:07:11 Image of an gauge and using rotating the needle Oct 01 07:08:11 so what are you talking about scale and interval? Oct 01 07:09:12 JacobTabak Let me share sample image Oct 01 07:11:09 JacobTabak any idea how i can share image with you Oct 01 07:11:23 imgur? Oct 01 07:21:09 JacobTabak http://imgur.com/share/i/Mkg5viU Oct 01 07:21:26 JacobTabak Are you able to access it Oct 01 07:21:45 yes Oct 01 07:21:48 your gauges are asymmetrical? Oct 01 07:22:33 JacobTabak Take an example of gauge where KM/H is written Oct 01 07:23:22 JacobTabak my intention is to rotate needle based on Input i passed and for example If I passed integer 160 then needle should move to 160 Oct 01 07:23:59 sanjeev what is the resting position of the needle? Oct 01 07:24:26 JacobTabak Let me share the code also Oct 01 07:24:39 do you have a layout file? Oct 01 07:25:00 yes Oct 01 07:26:15 http://pastebin.com/6xs0RCaT Oct 01 07:26:59 JacobTabak This is sample code i am using to rotate needle Oct 01 07:27:24 whats your min SDK sanjeevsharmaeng Oct 01 07:29:01 JacobTabak 11 Oct 01 07:29:17 and targetSDK is 16 Oct 01 07:30:18 JacobTabak I feel input paramter in RotateAnimation API is not correct Oct 01 07:30:44 your pivots? Oct 01 07:31:17 well you can't hard code the pivots as pixel values Oct 01 07:31:35 JacobTabak my Pivot are 30 and 97 and can you access the pastebin where I have mentioned the pivot value Oct 01 07:31:45 how did you come up with those numbers Oct 01 07:32:22 by setting the needle positioon in center of gauge Oct 01 07:32:45 JacobTabak I refered some example Oct 01 07:32:54 no not center Oct 01 07:32:59 you need pivot on the needle Oct 01 07:33:01 hi everybody... can anybody tell me if it's possible to start an android emulator withough using HAX? I mean I don't want to uninstall all the HAX stuff, just want to start an emulator without using it... is there a command line option? Oct 01 07:33:15 ie, somewhere opposite of the tip Oct 01 07:33:22 JacobTabak I thnink from degree and current degree matters Oct 01 07:33:26 imagine an axis coming out of the moniter Oct 01 07:33:38 and hold your right hand in front of you Oct 01 07:33:43 pointing the thumb towards you Oct 01 07:33:50 the animation will rotate in the direction your fingers curl Oct 01 07:33:55 (or the other way if negative) Oct 01 07:34:09 you want that axis to coincide with the center of the base of the needle Oct 01 07:34:35 JacobTabak For all the gauge I have set it to 30,97 Oct 01 07:34:44 sanjeevsharmaeng: ^^ Oct 01 07:34:55 does it rotate? Oct 01 07:34:57 he still hasnt said what his problem is Oct 01 07:34:59 (at all)? Oct 01 07:35:10 just that its not working as expected Oct 01 07:35:23 can you take a video of it and upload it to yourtube? Oct 01 07:35:25 yes It rorate and If I passed 50 value then it shows 80 in gauge Oct 01 07:35:28 use your labtop camera or something? Oct 01 07:35:40 evident there's no way to start without HAX unless you change your emulator to ARM Oct 01 07:35:52 sanjeevsharmaeng: what is the problem? Oct 01 07:35:58 it doesn't rotate to the right values Oct 01 07:36:01 or the rotate is wrong? Oct 01 07:37:08 asserix The problem is it is not displaying correct value for example I wanted to give input value 100 then needle should show 100 in gauge Oct 01 07:37:30 lasserix It doesn't rotate the right value Oct 01 07:37:42 but it does rotate the right way, just not to the right values? Oct 01 07:37:57 yes Oct 01 07:38:12 whats the normal way to have listView items scroll past standard ui overlay bits like actionBar … view Padding ? Layout margin ? adding header footer ? Oct 01 07:38:18 double toDegree= 50 * 2 * Math.PI / 360.0; Oct 01 07:38:27 you're rotating to a constant value every time Oct 01 07:38:44 lasserix looks like the problem is from degree and to degree being passed to RotateAnimation API Oct 01 07:39:26 you probably don't want a linear interpolator btw Oct 01 07:39:43 not related to this problem but Oct 01 07:39:50 JacobTabak yes because i wanted to test to make sure it works correctly and If I passed 50 then why it is showing 80 on gauge Oct 01 07:40:08 sanjeevsharmaeng: you probably want to use http://developer.android.com/reference/android/view/animation/AccelerateInterpolator.html Oct 01 07:40:36 san you need to post more code Oct 01 07:40:46 lasserix,JacobTabak my intention is to diaply the same value being passed in input value Oct 01 07:41:04 lasserix More code of what ? Oct 01 07:41:11 the view code Oct 01 07:41:18 whatever the snippet is Oct 01 07:41:21 coming from Oct 01 07:41:37 sure Oct 01 07:41:58 san so 0 degrees = 4k RPMs? Oct 01 07:42:55 whats the resting position of the needle? Oct 01 07:43:11 sanjeevsharmaeng ^ Oct 01 07:43:22 hes posting more code Oct 01 07:44:47 JacobTabak Please refer 2nd gauge i.e KM/H not RPM Oct 01 07:45:17 how come nobody has suggested that it's probably better drawing the needle and maybe the whole thing yourself ? Oct 01 07:45:41 Hi Oct 01 07:45:43 so 0 degrees = 80 km/h? Oct 01 07:47:03 JacobTabak yes Oct 01 07:47:12 and does that work? Oct 01 07:47:17 when rotate to 0? Oct 01 07:47:20 does it go to 80km/h? Oct 01 07:47:30 FennyFatal: Are you there? Oct 01 07:48:08 JacobTabak I passed 50 value as input then it start from 0 to 80 Km/H and come back to 0 degree Oct 01 07:48:49 lasserix pastebin server is busy and I will post as soon as I will get change Oct 01 07:48:52 sorry chace Oct 01 07:51:28 JacobTabak is to Degree calculated by me is correct formula Oct 01 07:51:56 no? if you put 0 for value, you get 0 degrees Oct 01 07:52:16 looks like 0 should give you -90 degrees? assuming 0 degrees is 80 kph Oct 01 07:52:19 toDegree is coming to .87266 and i.e it is showing 80 Km/H Oct 01 07:53:18 JacobTabak I didn't get youo Oct 01 07:53:21 when your input is 50.... it's showing 80km/h Oct 01 07:53:25 you're saying? Oct 01 07:55:37 yes Oct 01 07:55:52 so change the formula so input 50 = 50km/h Oct 01 07:55:55 you can do this math Oct 01 07:55:56 ya Oct 01 07:56:31 how ? Oct 01 07:57:05 is toDegree formula is not correct ? Oct 01 07:57:26 toDegree = input * 8/9 - 90 Oct 01 07:58:14 Will this work for all values ? Oct 01 07:58:15 or maybe (90 - input) * 8/9 - 90 Oct 01 07:59:11 actually i think its input * 9 / 8 - 90 Oct 01 07:59:20 Let me try Oct 01 07:59:23 either way its basic math and if you're developing an app you should be able to figure it out Oct 01 07:59:42 50 * 9 / 8 - 90 = -33.75 Oct 01 07:59:50 which looks correct to get 50 KPH Oct 01 08:00:04 can't you do math sanjeevsharmaeng ? Oct 01 08:00:10 thats what im saying lol Oct 01 08:00:13 no Oct 01 08:00:14 yet im still doing it for him Oct 01 08:00:16 he cannot Oct 01 08:00:23 or she Oct 01 08:00:24 I can do now Oct 01 08:00:33 in his code hes multiplying by 2 * pi * 360 Oct 01 08:00:35 :O Oct 01 08:00:43 seems like lack of basic understanding Oct 01 08:01:00 hmm, yeah Oct 01 08:01:06 In my earlier code i was doing some calcualtion but that was not correct Oct 01 08:01:08 2pi = 360 Oct 01 08:01:15 my formula works for all values 0 - 160 Oct 01 08:01:25 input * 9 / 8 - 90 Oct 01 08:01:25 (in a different coordinate system) Oct 01 08:01:38 input 0 = -90 deg, input 160 = 90 deg Oct 01 08:02:10 input 80 = 0 deg Oct 01 08:02:14 JacobTabak I am sure that will be applicable to other gauge also Oct 01 08:02:27 it won't be ... they have different numbers... Oct 01 08:02:31 and diffferent start/end points Oct 01 08:02:49 u will have to use that little brain of yours Oct 01 08:03:16 JacobTabak seems like and need to change accorngly Oct 01 08:03:25 yes Oct 01 08:03:36 JacobTabak Thanks and Let me try now Oct 01 08:03:43 Thnaks everybody for support Oct 01 08:05:30 sanjeevsharmaeng: startDegree + input * (endDegree-endInput)/maxInput Oct 01 08:05:35 for all your gauges Oct 01 08:06:12 hello i am using gson in my android project. I had to add SerializedName annotation in order to export the app without crashing Oct 01 08:06:48 the problem is when i use reverse engineering i can export a lot of information due to the annotation Oct 01 08:07:00 Is there any way to hide this information? Oct 01 08:08:14 oh hey resu Oct 01 08:08:37 you're talking about proguard? Oct 01 08:09:36 whats the normal way to have listView items scroll past standard ui overlay bits like actionBar … view Padding ? Layout margin ? adding header footer ? Oct 01 08:10:18 StingRay_ padding with cliptopadding=false Oct 01 08:12:34 JacobTabak that doesn't work on last item Oct 01 08:12:55 what do you mean? Oct 01 08:14:36 I mean I'm a d*ck Oct 01 08:14:42 its ok Oct 01 08:15:04 0,200,0,0 the opposite is not 0,0,200,0 Oct 01 08:15:09 thats how much of a d*ck Oct 01 08:15:41 ha Oct 01 08:15:44 hey heres my thing now Oct 01 08:15:46 https://www.youtube.com/watch?v=ApKLcyaZbGo Oct 01 08:15:54 tell me how awesome it is Oct 01 08:16:47 JacobTabak i am using proguard and i have set some exceptions for gson Oct 01 08:18:29 resu01 you can use your own FieldNamingStrategy http://google-gson.googlecode.com/svn/trunk/gson/docs/javadocs/com/google/gson/FieldNamingStrategy.html Oct 01 08:18:59 ie come up with some secret algorithm Oct 01 08:19:28 JacobTabak thanks a lot Oct 01 08:19:36 its not worth it tho Oct 01 08:19:44 JacobTabak: I love the name of the app xD very relevant Oct 01 08:19:57 lol Darklust thanks just implementing the android version of the ios app Oct 01 08:20:43 Did you write the ios app? Oct 01 08:21:09 no Oct 01 08:21:19 just doing it for some dollars Oct 01 08:21:34 JacobTabak not a fan of that style, but ok… but if I accept that style there is one thing that doesn't site well with the flow of it Oct 01 08:21:40 the specify meal prep. Oct 01 08:21:45 indeed StingRay_ Oct 01 08:22:00 i agree with you on both counts Oct 01 08:22:01 hello guys, want to ask if you know a list of devices compatible with android L ? Oct 01 08:22:08 bark3x nexus 5 and nexus 7 Oct 01 08:22:10 is nexus 4 supported? Oct 01 08:22:28 https://developer.android.com/preview/setup-sdk.html Oct 01 08:22:35 i know the preview right now is on nexus 5 and 7 Oct 01 08:22:47 that's all anyone knows really Oct 01 08:22:50 yup, already read that Oct 01 08:22:51 they'll support 2 years back probably Oct 01 08:22:57 on nexus devices Oct 01 08:23:14 StingRay_ thx i will tell them they need to redesign this sht Oct 01 08:23:22 is the 2 years support happens only on nexus devices? Oct 01 08:23:32 Unofficially they're likely to bring L to the 4 Oct 01 08:23:37 do you know any brand which supports like 3-4 years? Oct 01 08:24:03 like for example a kitkat version which supports a 3-4 year old phone model? do you know of any? Oct 01 08:24:09 hmm is this app dev related? looks like this is more suitable for #android Oct 01 08:24:14 bark3x: Nope Oct 01 08:24:17 actually it is Oct 01 08:24:36 No manufacturer has supported OS updates for that long of a period as far as I can think Oct 01 08:24:47 ok thanks Oct 01 08:24:49 bark3x you can always get a cynogenmod Oct 01 08:25:05 i was also thinking about that one Oct 01 08:25:19 JacobTabak well it's a small screen design consideration on a predominately large screen device…some things just…. dont work as well as they would on tiny phone Oct 01 08:25:19 has anyone installed a android L preview on nexus 4? Oct 01 08:25:48 yea and its even worse in landscape Oct 01 08:25:56 bark3x: I'd google it :x Oct 01 08:26:31 bark3x: Thing is, if developers are going to support the material design, they're likely to use an AVD or a Nexus 5/7 Oct 01 08:26:40 afaik it was never rrleased outside google internal, so no Oct 01 08:27:09 Darklust i agree, but i disagree, what a waste of devices. i got like 7 nexus 4 in here Oct 01 08:27:15 just sad Oct 01 08:27:26 whys that a waste Oct 01 08:27:31 nothing device-specific actually belongs in here, bark3x ;) Oct 01 08:27:32 bark3x why do you need L ? Oct 01 08:27:35 install 4.0, 4.1, 4.2, 4.3, 4.4 Oct 01 08:27:51 ravilov ;) Oct 01 08:27:51 you can test for ages ! Oct 01 08:28:00 ok thanks for the insights Oct 01 08:28:04 bark3x: Remember, the market is consumer-driven and is constantly improving. No manufacturer is going to make a device and let it sit, because sales would decrease as competitors released better specs Oct 01 08:28:10 wait, so if a device is not running the latest and greatest, it's a waste and is useless? Oct 01 08:28:13 such weird logic Oct 01 08:28:19 its true ravilov Oct 01 08:28:27 riiiight Oct 01 08:28:30 im going to throw away my nexus 5 when the nexus 6 comes ou Oct 01 08:28:30 t Oct 01 08:28:34 as long as it doesnt bend Oct 01 08:28:43 ravilov the codebase support is the issue, time is money Oct 01 08:28:46 always remember that Oct 01 08:28:53 I don't follow Oct 01 08:29:02 JacobTabak: he Oct 01 08:29:03 JacobTabak: Now THAT is a waste, but then I hoard android devices Oct 01 08:29:14 JacobTabak, in that case they should pump out new devices every month, let me see you keep up then :p Oct 01 08:29:21 np Oct 01 08:29:58 When the next google device comes out, I'm keeping my Nexus 5 for development purposes Oct 01 08:30:15 well yea i'll keep my nexus 5 on 4.4 i think Oct 01 08:30:24 when the next google device comes out... I'll keep not caring :) Oct 01 08:30:34 ravilov such a buzzkill ! Oct 01 08:30:40 youbetcha Oct 01 08:30:40 will try now to dispose these asap Oct 01 08:30:41 lol Oct 01 08:30:59 ok Oct 01 08:31:02 i guess its bed time Oct 01 08:31:08 actually... Oct 01 08:31:13 anyone use robolectric + dagger? Oct 01 08:31:16 and apt? Oct 01 08:31:17 it's 10:30 am Oct 01 08:31:48 says who? Oct 01 08:31:52 GER Oct 01 08:31:52 maybe your clock is flawed Oct 01 08:32:09 seriosuily rav Oct 01 08:32:17 eclipse, screw the next nexus Oct 01 08:32:31 did something tragic happen to you as a child involving an android robot? ;p Oct 01 08:32:44 in soviet russia, the ravioli eats you Oct 01 08:32:48 heh Oct 01 08:33:05 lasserix: ravilov is secretly John Connor Oct 01 08:33:17 ahh Oct 01 08:33:25 lasserix, I'm just very much against mass craze and frenzy that surrounds any new release of anything Oct 01 08:33:25 oh Oct 01 08:33:33 ravilov: let me ask, do you use git? Oct 01 08:33:40 not on a regular basis, no Oct 01 08:33:41 ravilov its some excitement Oct 01 08:33:49 ahh i could have guessed Oct 01 08:33:51 life is boring, new toys are fun Oct 01 08:33:55 JacobTabak, if you need that kind of excitement, you have it way too good in life Oct 01 08:34:00 lasserix, why? Oct 01 08:34:02 honestly i dont know how anyone who has used git cannot develop without it Oct 01 08:34:16 it is like the greatest programming tool ever Oct 01 08:34:17 ... that did not compute Oct 01 08:34:33 Dafuq Oct 01 08:34:46 I don't know, I'm more used to older tools (not by choice), git is just too confusing to me Oct 01 08:35:00 just have to use it with a pro for a week Oct 01 08:35:05 ^^ Oct 01 08:35:08 and you'll be rebasing and making pull requests right and left Oct 01 08:35:24 seriousily it is like the greatest tool a coder can have for any project Oct 01 08:35:26 lasserix, http://i.imgur.com/MjHVsLP.jpg Oct 01 08:35:37 its so cool to be able to collaborate and contribute to open source projects too, its like a social network for geeks Oct 01 08:35:42 hehehe Oct 01 08:35:42 nah, vim is the greatest tool for a coder ;) Oct 01 08:36:09 I prefer emacs Oct 01 08:36:15 Google is the greatest tool for a coder Oct 01 08:36:24 someone was saying something about how eclipse has a great interactive ui for rebasing Oct 01 08:36:33 ... i like vims interactive ui for rebasing.... Oct 01 08:36:59 Lol vim and interactive UI in the same sentence Oct 01 08:38:39 it is interactive, it's no longer ed or teco in batch mode... Oct 01 08:45:10 Is there something special when using navigation drawer on HTC one? Oct 01 08:48:26 does somebody here have experience with crashlytics? Oct 01 08:48:52 karrboloaded I have been using it for a long time Oct 01 08:49:04 but would not say I have experience :) Oct 01 08:49:12 haha Oct 01 08:49:25 well, I just integrated and left it Oct 01 08:49:33 works fine for me Oct 01 08:49:39 StingRay_: can you tell me how you see the logs for all crashes/instances of an issue? Oct 01 08:49:47 do you use logging? Oct 01 08:49:56 ah no Oct 01 08:50:03 oh :( fair enough Oct 01 08:50:21 I use custom tag/keys Oct 01 08:50:28 to show flow and states Oct 01 08:50:37 though I should probably use logs :) Oct 01 08:52:28 StingRay_: that should work the same, shouldn't it? Oct 01 08:53:05 suppose, let me read your question again Oct 01 08:53:12 you mean all at once ? Oct 01 08:53:33 Morning All Oct 01 08:53:34 you can't currently, there is no view for that Oct 01 08:53:42 can you see the tags associated with each crash? Oct 01 08:53:42 does it aggregate the values for each key? Oct 01 08:55:07 you know an issue has mutli crashes and you can skip forwards and back just like android dev console with the arrows around the date in the blue bar Oct 01 08:55:10 header bar Oct 01 08:56:31 is that what you mean ? Oct 01 08:56:50 @ karrboloaded (off to get more coffee) Oct 01 09:17:30 how do you in java set the spinner dropdown menu type? Oct 01 09:57:16 I have a table layout that is inflated with table rows that are made inside java. Now, each row will have to have a radiobutton. I have a button that adds a table row every time it's clicked. on adding the rows, one and only one radio button has to be checked . and the radiobuttons as you see are added on the fly on runtime. so what i ask is how to keep my radiobutton selection unique ? Oct 01 10:01:30 what I am afraid of is that the radiobuttons won't be grouped. so that's what I am looking for. grouping them. Oct 01 10:02:41 sounds funky Oct 01 10:02:54 just have to design a way to track and keep states Oct 01 10:06:08 StingRay_, ok. Oct 01 10:06:21 I was thinking about it like that too. Oct 01 10:09:57 Hi, so my app sets a layout when the user has won a game. However, this layout returns to the old one when orentation is changed. I set it back using onRestoreInstanceState, but it never seems to be called. Suggestions? Oct 01 10:10:56 call it Oct 01 10:11:33 pass it the bundle from onCreate Oct 01 10:11:56 Oh, I tought it was called after onCreate by default? Oct 01 10:12:26 so I need to check if savedInstanceState is not null first, right? Oct 01 10:12:57 well that method should be called in an activity Oct 01 10:13:15 but if not as you say, you can have any method restore the bundle Oct 01 10:13:39 hmm.. still nothing Oct 01 10:14:23 lol, if you call it it's not getting called ? Oct 01 10:14:29 then yeah, you have serious probs Oct 01 10:15:00 It just returns to the previous layout Oct 01 10:15:20 I'm looking if I'm missing something ;o http://pastie.org/9609807 Oct 01 10:16:34 GrecKo ping Oct 01 10:16:43 pong Oct 01 10:17:06 Nindustries well probably a logic issue with if else Oct 01 10:17:11 debug and see Oct 01 10:17:24 you suggested sanjeevsharmaeng: startDegree + input * (endDegree-endInput)/maxInput for all gauge Oct 01 10:18:01 GrecKo can you elobrate in little detail regarding the paramteres Oct 01 10:18:40 For example my next gauge is RPM as per http://imgur.com/share/i/Mkg5viU Oct 01 10:19:32 /(maxInput-minInput) Oct 01 10:20:02 startDegree is the degree at the start of the gauge Oct 01 10:20:08 so -90 for rpm ? Oct 01 10:20:24 endDegree is 90 Oct 01 10:20:35 -90 will be the same for the all the gauge i guess Oct 01 10:20:36 minInput here is 0 Oct 01 10:20:39 and maxInput is 8 Oct 01 10:21:00 then use -90 for all the gauges Oct 01 10:22:19 so correct formula is startDegree + input * (endDegree-endInput)/(maxInput-minInput) correct Oct 01 10:24:13 yes Oct 01 10:24:32 enDegree - startDegree sanjeevsharmaeng Oct 01 10:25:54 Are you trying to say it should be endDegree-startDegree/(maxInput-minInput) Oct 01 10:29:28 yes Oct 01 10:30:39 Thanks Grecko Oct 01 10:40:51 Woops Oct 01 10:40:51 Sorry guys Oct 01 10:40:55 Did I miss something? Oct 01 10:41:31 [11:17:06] Nindustries well probably a logic issue with if else Oct 01 10:41:32 [11:17:11] debug and see Oct 01 10:44:09 Changing the orientation never triggers onRestore/onSave-InstanceState. wt f Oct 01 10:45:13 whats in your android manifest Oct 01 10:45:27 GrecKo ping Oct 01 10:45:35 just ask Oct 01 10:45:47 Ashiren, all default stuff Oct 01 10:46:20 For example PSI Tyre Guage what would be starting degree http://imgur.com/share/i/Mkg5viU Oct 01 10:47:04 I don't know Oct 01 10:47:08 Ashiren, http://pastie.org/9609982 Oct 01 10:47:09 try some and see Oct 01 10:47:32 how it was -90 for RPM ? Oct 01 10:48:14 I don't know Oct 01 10:48:20 someguy said that earlier Oct 01 10:48:24 where is your 0 ? Oct 01 10:48:42 just try some value and you can figure it Oct 01 10:48:56 just set rotation to 0, -90 and then you can figure it out Oct 01 10:49:33 Nindustries pass it to a method restoreFromRotation(Bundle) Oct 01 10:49:44 if not null in onCreate Oct 01 10:49:57 Where to set rotation to 0 Oct 01 10:51:12 StingRay_, already doing that with onRestoreInstanceState Oct 01 10:51:24 oh, well job done then Oct 01 10:51:26 :) Oct 01 10:52:06 Nope :/ Oct 01 10:52:09 never gets called.. Oct 01 10:52:22 then onCreate is not being called Oct 01 10:52:29 I set breakpoints in both onRestoreInstanceState and onSaveInstanceState Oct 01 10:52:57 if (savedInstanceState != null){ onRestoreInstanceState(savedInstanceState); } Oct 01 10:53:05 wait Oct 01 10:53:16 do I have to do super.onCreate(); first or at the end of the method? Oct 01 10:54:27 You want to call the superclass first Oct 01 10:54:29 its standard to go first Oct 01 10:54:40 Nindustries what seems to be the problem? Oct 01 10:54:50 well either way (first normally) where you do that will not change the bundle being null Oct 01 10:57:05 jvrodrigues my app sets a layout when the user has won a game. However when rotating the screen, the layout gets reset again. I set the layout again in onRestoreInstanceState and call it in onCreate, but it never gets called. Oct 01 10:58:18 I'm assuming you save it in onSaveInstanceState Oct 01 10:58:22 right? Oct 01 10:58:28 I must have included android.demon; in some way, because this doesn't make sense to me Oct 01 10:58:43 jvrodrigues, I save my variables using Parcelables yes Oct 01 10:58:53 And load them again in onRestoreInstanceState Oct 01 10:59:14 And all your view have an id? Oct 01 10:59:24 views* Oct 01 10:59:51 did you already make sure to check if onSaveInstanceState is being called? Oct 01 11:00:20 hi, where should I ask questions about including a jar in Android.mk for building an app? Oct 01 11:00:30 VnM, I'm not sure what you mean by that. Oct 01 11:00:31 i copied some files into my src (IInAppBillingService.aidl)… should android studio automatically recognize that as a package? Oct 01 11:00:43 jvrodrigues, Isn't it called by default? Oct 01 11:00:59 Your views, in your layout file, they all have a unique android:id property? Oct 01 11:01:06 i import com.android.vending.billing.IInAppBillingService but it can’t be resolved, i think i have to somehow tell android studio that it’s a package Oct 01 11:02:15 VnM, There are IDs that are the same from one layout in the other layout. Is this bad? Oct 01 11:03:59 Nindustries, onSaveInstanceState doesnt save state of views without id, but since you're saving manually this wouldnt be a problem Oct 01 11:05:33 Woot! It works when using android:configChanges="orientation" in the manifest file Oct 01 11:05:39 But this is evading the problem tough Oct 01 11:10:34 hi, how can i open a db from a helper class, like SQLiteDatabase db = new DbHelper(this).getWritableDatabase(); Oct 01 11:18:00 did you read the logs on sqlite db? Oct 01 11:18:08 logs = documentatation Oct 01 11:18:21 JacobTabak ping Oct 01 11:29:16 Anyone know how to listen to the title in the actionbar? Oct 01 11:29:39 It does not appear on "onOptionsItemSelected" when I use the debugger Oct 01 11:45:20 Hi guys, I'm using AndEngine with shader program, I change sprite to grayscale, now I want trun his orginal color back over time. Oct 01 11:50:39 <_3mpty> Dudi: you should ask on #AndEngine Oct 01 11:50:53 this # is dead Oct 01 11:51:06 <_3mpty> ouch Oct 01 11:51:14 yea :( Oct 01 11:51:15 <_3mpty> s. happens Oct 01 11:51:19 true Oct 01 11:51:32 <_3mpty> Mrdarknezz: why do you need to listen 'title'? Oct 01 11:52:15 _3mpty: Because on higher versions of android you can press the title to open the drawerlayout Oct 01 11:52:22 _3mpty: but on lower it doesn't Oct 01 11:52:26 _3mpty: But I figured it out so nvm Oct 01 11:52:55 <_3mpty> ok. Oct 01 11:53:14 hi Oct 01 11:53:36 if my app is to encrypt a folder, would it be a good idea to 7zip the whole folder? would that be an overkill? Oct 01 11:54:49 kate_r you want to compress it too ? Oct 01 11:55:23 StingRay_, no, compression isn't required Oct 01 11:55:35 package it ? Oct 01 11:55:39 StingRay_, just encryption/decryption Oct 01 11:55:42 I mean why 7zip then ? Oct 01 11:56:02 StingRay_, hmm packaging would be nice Oct 01 11:56:43 StingRay_, i just thought 7zip could give me fairly good encryption and packaging in one Oct 01 11:57:13 well depends on purpose … but pretty much all common sense Oct 01 11:57:33 <_3mpty> standard anwser when it comes to dev questions 'it depends' :D Oct 01 11:58:15 _3mpty problem is people ask questions where the answer is an opinion Oct 01 11:59:18 basically i just want to encrypt a folder or a set of files on some condition and decrypt it on another Oct 01 11:59:32 compression isn't important here Oct 01 11:59:50 well I do a similar thing for pictures and mediia Oct 01 12:00:08 well any files really Oct 01 12:00:17 <_3mpty> StingRay_: 'Opinion is like an ass everyone has one' :P Oct 01 12:00:49 _3mpty not really and not always true Oct 01 12:00:52 <_3mpty> kate_r: you can always search for tar like lib and do your own encryption Oct 01 12:01:42 <_3mpty> or use Cipher etc. Oct 01 12:02:50 _3mpty out of interest what does that sentence mean ? Oct 01 12:03:23 hmm Oct 01 12:03:49 _3mpty, you mean just tar them all up then encrypt the tar? Oct 01 12:07:32 <_3mpty> StingRay_: strange sentence of my friend - really context related, it's paraphrase from A. Sapkowski book - it means that everyone can have their own opinion (sometimes right, but not always politically correct) but it's not always best idea to share it with peple around Oct 01 12:08:05 ah, no I know that :) I mean "or use Cipher etc." Oct 01 12:08:18 <_3mpty> kate_r: depends, you need to consider safety and performance ratio Oct 01 12:08:23 <_3mpty> StingRay_: oh, sorry then Oct 01 12:10:13 StingRay_, hmm i thought that meant archive it up and then use Cypher to encrypt it? Oct 01 12:10:14 <_3mpty> javax.crypto if i remember correctly this class can be used for encryption Oct 01 12:10:36 <_3mpty> javax.crypto.Cipher* Oct 01 12:32:16 <_3mpty> kate_r: you should also check zip you can use it without additional libs Oct 01 12:34:56 _3mpty, thanks Oct 01 12:37:16 Is there no way to get wifi on android emulator? Oct 01 12:37:27 stackoverflow says no Oct 01 12:40:33 How to make sure that screen resizes (instead of panning) when the softkeyboard is opened. Basically I have buttons at the bottom that should be visible even when the keyboard is visible Oct 01 12:45:49 vedu, android:windowSoftInputMode="adjustResize" in your Manifest for the concerning activities Oct 01 13:14:06 Why doesn't this work? http://pastebin.com/yCtV4Br7 Oct 01 13:14:34 I'm trying to change the *background* color of a RelativeLayout when I click it. Oct 01 13:14:54 But nothing happens. Oct 01 13:15:00 i wouldn't expect a layout to be able to own focus Oct 01 13:15:27 Hm.. Oct 01 13:15:44 just add a clicklistener Oct 01 13:15:46 and toggle it that way Oct 01 13:15:51 xml sucks =( Oct 01 13:16:02 Or wrap it up in a new MySomethingView. Oct 01 13:22:15 asfdd: Ah! Oct 01 13:22:22 I need to register an OnClickListener before it works. Oct 01 13:23:31 are there android tv's that I can build embedded apps for? Oct 01 13:23:40 I am more of an iPHONE developer Oct 01 13:24:47 <_3mpty> embedded apps ? Oct 01 13:24:57 <_3mpty> what do you mean? Oct 01 13:27:02 My app is currently in alpha. From time to time, after I publish, it will crash iwth a java.lang.ClassNotFoundException, but the app works fine on my devices before I sign and upload it. Oct 01 13:27:26 what class is it Oct 01 13:27:28 I can always fix it by changing a few things, but I'm not sure what causes the issue. anyone else ever see that issue? Oct 01 13:27:42 my main class. Oct 01 13:27:59 mh Oct 01 13:28:06 <_3mpty> eyd: show your stacktrace Oct 01 13:28:12 maybe a proguard issue... ok Oct 01 13:28:12 I've seen that issue years ago but I can't remember much of it Oct 01 13:28:18 lemme upload it to a paste site. Oct 01 13:28:46 http://pastebin.com/N3rmgyAX Oct 01 13:29:10 I'm not at my production PC, so just have the error I emailed myself. Oct 01 13:30:48 I'm using eclipse...if that helps. :) Oct 01 13:31:38 http://stackoverflow.com/questions/16610296/android-unable-to-instantiate-activity-class-not-found-exception-after-upgra possibly Oct 01 13:31:58 but I'm just guessing here Oct 01 13:32:10 looking. thanks Oct 01 13:32:48 frustrating, as it happens about once every 4 or 5 updates, when I haven't changed things that I would think would cause that type of issue. Oct 01 13:35:06 I then tried to pull the bad apk from production, but can't do that due to 'it is forbidden to downgrade devices which previously matched version.... ' bah Oct 01 13:35:26 yep Oct 01 13:35:42 The whole beta/alpha process is ... odd. Oct 01 13:35:53 assuming I don't get this resolved once I' Oct 01 13:36:19 I'm out of alpha/beta, I'll probably upload the new versions to one of those channels so I can test it without causing issues for users. Oct 01 13:36:30 look at a few lines of logcat prior to the exception Oct 01 13:36:50 that's not a typical ncdfe Oct 01 13:36:51 it only happens on the app after upload. works fine locally Oct 01 13:37:07 <_3mpty> even for signed, release installed locally? Oct 01 13:37:23 you said you don't test the actual release build Oct 01 13:37:28 probably not that _3mpty, but before I sign it Oct 01 13:37:33 yeah Oct 01 13:37:53 works fine. I sign it and upload it, then when I dl it from the play store I get the error. Oct 01 13:38:15 you can install the signed one manually without the store, you know Oct 01 13:38:32 yeah, but I didn't. I will from now on. Oct 01 13:39:06 try it without proguard too :p Oct 01 13:41:08 I will. I have a feeling that has something to do with it, but I generally don't change anything having to do with that unless I get this type of error. I certainly didn't change anything with it yesterday. Oct 01 13:43:37 thanks for the ideas :) Oct 01 13:46:29 hello. I'm using actionbaractivity. In activity I get reference to map (http://paste.ubuntu.com/8472826/). How can I show this map on other fragment? Oct 01 14:04:10 So, Windows 10, everyone hyped I bet! Oct 01 14:04:27 <_3mpty> meh Oct 01 14:09:04 hi Oct 01 14:10:23 if the Google's Bluetooth LE SDK is used to scan for nearby devices, would it be able to scan for only Bluetooth LE devices? If so, would it drain less power? Oct 01 14:10:44 <_3mpty> kate_r: yes Oct 01 14:11:04 <_3mpty> api 17>= if i remember correctly Oct 01 14:11:39 <_3mpty> there is method Oct 01 14:11:44 kate_r, api 18 actually Oct 01 14:11:45 <_3mpty> startLeScan in adapter Oct 01 14:11:48 <_3mpty> etc Oct 01 14:11:48 _3mpty, ^^ Oct 01 14:12:01 <_3mpty> kate_r: true, 4.3+ Oct 01 14:13:06 <_3mpty> I have beacon scanning feature in my app but I didn't do any power usage stats Oct 01 14:13:19 kate_r, yeah, remember, Bluetooth 1-3 and Bluetooth LE have practically nothing in common but name :) Oct 01 14:13:42 _3mpty, but, given BLE is backwards compatible, using the old bluetooth SDK would still be able to scan for BLE devices, right Oct 01 14:14:08 <_3mpty> not with ble api Oct 01 14:14:14 _3mpty, how often do you poll? Oct 01 14:14:45 <_3mpty> every 10secs I'm doing 5s of scanning Oct 01 14:15:05 <_3mpty> but as above I don't give a s. about power usage Oct 01 14:15:16 it's not. backwards compatible... Oct 01 14:15:34 if BT is switched on on a device, that alone would ocassionally scan for devices, right? but does that use the BLE SDK or the old SDK? Oct 01 14:15:53 it seems to be draining quite a bit of the battery Oct 01 14:16:28 <_3mpty> BT shouldn't do scan in background, just only when you want that Oct 01 14:16:36 <_3mpty> in your service Oct 01 14:16:49 <_3mpty> with ble Oct 01 14:16:52 <_3mpty> api Oct 01 14:17:04 _3mpty, you mean, with bluetooth switched on, it shouldn't be doing any scanning at all in the background? Oct 01 14:17:14 and, as a result, there shouldn't be any battery drainage Oct 01 14:17:53 <_3mpty> not without your or other app commands Oct 01 14:18:15 right Oct 01 14:18:22 <_3mpty> I'm not sure about standby battery drain Oct 01 14:18:36 <_3mpty> but it's not same as constantly scanning Oct 01 14:19:16 <_3mpty> http://android.stackexchange.com/questions/2535/will-constantly-having-bluetooth-on-drain-my-battery-too-fast Oct 01 14:19:43 Bluetooth 2.0 and BLE chips have different power consumption rates in standby Oct 01 14:20:06 <_3mpty> true Oct 01 14:20:42 <_3mpty> but even on 2.0 it's not siginificant in my opinion Oct 01 14:21:40 okay Oct 01 14:23:26 <_3mpty> biggest problem imho with ble is people thinking "I will keep bt off because it's killing my battery" Oct 01 14:24:07 _3mpty, i agree Oct 01 14:25:41 the impact of bluetooth on battery is pretty negligible. Oct 01 14:26:29 Bluetooth killed my family Oct 01 14:27:54 man, why hasn't the Elvis operator made it into Java yet Oct 01 14:30:38 dragorn, in a connection? Oct 01 14:30:40 mattblang: Optional is the best alternative we might have for some time. Where we == all the lucky bastards that can use Java 8. Oct 01 14:31:40 Hey guys, so I have a framelayout… and I’m trying to overlap 2 pictures by just a little bit but they are overlapping completely... Oct 01 14:32:05 using layoutParams.gravity = Gravity.CENTER | Gravity.TOP Oct 01 14:32:30 i want the bottom of one image to overlap the top of another.. but only by 8 pixels Oct 01 14:33:02 use margins Oct 01 14:33:10 layout params etc Oct 01 14:33:15 So place them underneath eachother and use margins Oct 01 14:35:19 ok thank you very mych Oct 01 14:35:47 tricknology you asked the same question yesterday and got the same answer Oct 01 14:35:54 no i did not Oct 01 14:36:04 i asked about how i would overlap them Oct 01 14:36:08 got framelayout Oct 01 14:37:12 well, it's the same answer :) but yeah, can break it down into segments, context and even words :) Oct 01 14:37:36 ok generally, yes but I was missing some details Oct 01 14:38:11 well, if you want an exact pixel overlap then you should just use an absolute static layout Oct 01 14:39:20 I did say 8 pixels Oct 01 14:39:31 but it doesn’t reaaally matter.. as long as it’s close enough Oct 01 14:41:14 hmm, I disabled proguard, but that didn't help. bah Oct 01 14:44:40 java8 yuck :p Oct 01 14:44:56 and "we" = no one on android Oct 01 14:45:08 how can I show same googlemap object on different fragment Oct 01 14:47:27 So when I’m seeting these margins.. setMargins(x,x,x,x) is in pixels, won’t that do funny things to different scren sized? should I use getResources().getDisplayMetrics().density and multiply each by x? Oct 01 14:49:31 ah.. dp = px * 160f / density Oct 01 14:49:39 tricknology well you said pixels Oct 01 14:49:45 1 pixel = 1 pixel Oct 01 14:50:11 I assumed there was some detail in the image that was 8 pixels that needed overlap Oct 01 14:50:24 yeah, pixels in the senso of what was rendered on the computer Oct 01 14:50:33 yea Oct 01 14:50:46 you assumed correctly Oct 01 14:50:50 You can also just add android:layout_marginTop="-8px" to the layout file for your bottom image Oct 01 14:51:21 ah I am adding the the framelayotu programmatically Oct 01 14:51:43 hi Oct 01 14:51:52 as of now.. there is nowhere to do that in the xml Oct 01 14:52:11 i am testing an app in my device, how i can access the data of mysql sqllite in my app? Oct 01 14:53:16 what do you mean access Oct 01 14:53:42 do you want to pull it to your computer and look at it? or use the data stored in a database Oct 01 14:53:46 did you create the database Oct 01 14:53:59 yes Oct 01 14:54:04 i need access my data Oct 01 14:54:14 i create a database and the app Oct 01 14:54:23 t0th_-_: Intellij Ultimate edition has an sqlite browser Oct 01 14:54:26 using what? Oct 01 14:54:33 i install it in my device, i need access this data Oct 01 14:54:36 i am using android Oct 01 14:54:43 where did you make the databse.. Oct 01 14:55:08 t0th_-_: You need to either get Intellij Ultimate Edition or pull the raw sqlite file form the device and browse it with a compatilbe sql program Oct 01 14:55:20 did you make the database on the computer and put it onto your android device? Oct 01 14:55:33 no Oct 01 14:55:55 * tricknology confused Oct 01 14:56:39 you used android to create the database? Oct 01 14:57:20 http://sourceforge.net/projects/sqlitebrowser/ Oct 01 14:57:27 this will let you see what’s in your database once you get it Oct 01 14:57:52 yes Oct 01 14:57:57 i am getting this Oct 01 14:57:58 thanks Oct 01 14:58:12 depending on how you got it onto your phone.. your database is located in data/data/… Oct 01 14:58:54 I’m wondering if the db is in your assets folder or if you created the database with your android app.. Oct 01 14:59:04 like didi you package the DB with your app? Oct 01 14:59:16 whatever, break time. Oct 01 15:14:50 join $bots Oct 01 15:14:54 o, o sorry Oct 01 15:19:32 I've a weird behaviour guys. I'm doing a sync operation when a GCM message arrive, this works great when the app is running. but when the service is launched and the app is not, I'm getting a: "Failed to invoke public MyModelHere with no args" Oct 01 15:19:42 any idea? I'm baffled Oct 01 15:20:36 um Oct 01 15:20:47 I don't think that's enough information for debugging :) Oct 01 15:25:39 hi anybody around that has xp with genymotion Oct 01 15:26:33 xp :o Oct 01 15:26:43 as windows xp or experience Oct 01 15:26:49 has anyone done TV apps here? Oct 01 15:26:56 why dont you ask direct question Oct 01 15:27:09 I am an iPHONE developer... but looking at doing smart tv apps... Oct 01 15:27:25 Still no question, IrishGringo. Oct 01 15:28:07 the question was if anyone has done them... I am just looking for trends... to see if this is a serious platform. Oct 01 15:28:36 next question was I want to do a kiosk type of system... is SmartTv a candidate solution Oct 01 15:28:38 xp as rpg style expierence Oct 01 15:30:05 Mavrik, it's not enough information for debugging, but I'm asking just in case I'm missing something. maybe the way in which services are executed is not the same when the app is running or something. the connection with the db probably? I've no idea! Oct 01 15:30:08 OK... another way to post question, I want to do a high res Kiosk project, and thinking of using smartTV... any oppinions sugestions on if this is a good idea to go android? Oct 01 15:30:23 oh, that could be the case, the connection with the database.. am I initializing ActiveAndroid? haha Oct 01 15:30:52 What's new in Android L? Oct 01 15:31:29 the name Oct 01 15:32:00 Gatis some activity transition stuff, but not much thats erm…groundbreaking Oct 01 15:32:17 Is it easier than C++? Oct 01 15:32:43 is a OS easier than a Programming Language ? think you are in the wrong channel Oct 01 15:33:02 ops Oct 01 15:33:25 dont quite know what channel …but 100% sure it aint this one ;) Oct 01 15:33:27 StingRay_ so what is activity transition stuff? Oct 01 15:33:40 Gatis watch the keynote and use google search Oct 01 15:34:05 hi guys Oct 01 15:34:07 that was it, ActiveRecord wasn't initialized! Oct 01 15:34:12 Don't want to explain? Oct 01 15:34:24 by the IntentService I mean Oct 01 15:34:43 I'm trying to integrate to my code the Google Play Service to my project, and the document says "Copy the library project at /extras/google/google_play_services/libproject/google-play-services_lib/ to the location where you maintain your Android app projects." Oct 01 15:34:47 Gatis not really worth it… this channel is not really for that Oct 01 15:35:02 so I'm wondering, in what directory will I copy this on my projet ? Oct 01 15:35:08 project* Oct 01 15:35:17 ok Oct 01 15:35:20 bye Oct 01 15:36:10 I found it here http://developer.android.com/google/play-services/setup.html Oct 01 15:37:36 zoraj have you searched google for how to use libs ? Oct 01 15:37:49 worth a shot, there could be some info there :) Oct 01 15:38:15 ok, no I have not Oct 01 15:38:16 and it will depend on what your build system is and possibly the IDE you are using…so would google that in the search terms too Oct 01 15:38:30 I'm using Eclipse ADT Oct 01 15:38:51 I just want to know where will I put this to my project folder Oct 01 15:39:07 woop, animatin workign nicely.. thanks fellas Oct 01 15:39:13 and ladies, if you’r ein here Oct 01 15:39:23 my goal is to add a map on my project, Oct 01 15:39:58 look up google maps apiv3 Oct 01 15:40:01 and fragments Oct 01 15:40:31 its best to start off on the current verson of maps or you’ll have to redo the thing in a couple months to a year Oct 01 15:41:23 v3 ! I didn't found that anywhere on developers.google.com Oct 01 15:41:35 I'm using the API V2 now Oct 01 15:41:56 sorry, v3 is javascript Oct 01 15:42:33 I used v1 when v2 was comign out.. I had to change everything :( Oct 01 15:43:45 :) Oct 01 15:44:02 do you know if google map can be tested on emulator ? Oct 01 15:44:21 I guess no Oct 01 15:45:17 zoraj these are all google worth questions Oct 01 15:45:25 and quick to find answers to Oct 01 15:45:56 okok, I better not to ask and do some search Oct 01 15:46:26 I thought it's also a place to hang out, Oct 01 15:47:05 http://hanhuy-acra.appspot.com/public/com.hanhuy.android.irc.lite/22980d9b87b1e0f517dbc24b1d63dffe58521aa9#report-6262969629409280 Oct 01 15:47:11 ugh, I wish I could figure out wtf this user is getting this crash Oct 01 15:47:56 pfn YAY I'm famous Oct 01 15:49:57 ? Oct 01 15:50:23 although on the 1 screenshot you need to either crop or get rid of Oct 01 15:51:27 pfn the emu screenshot Oct 01 15:51:38 yeah, I don't really care that much Oct 01 15:51:39 heh Oct 01 15:51:54 programmers …pppfffftt Oct 01 15:52:15 Hi. I want to share this Article with you. I asked about it today. I solved it my self. Oct 01 15:52:48 StingRay_, please i'll be happy if you read it. Oct 01 15:52:57 http://stackoverflow.com/questions/26139553/how-to-regroup-all-radiobuttons-added-programmatically-to-a-programmatically-add/26145323#26145323 Oct 01 15:53:09 yeah, I really don't see how this is failing on 2.3.4 "generic/generic" Oct 01 15:53:13 doesn't happen on my emulator Oct 01 15:53:22 asshole's probably doing am start random-activities or something Oct 01 15:53:35 The title of the question: "How To ReGroup All RadioButtons Added Programmatically To A Programmatically Added TableRow On Runtime? Must have 1 RadioButton per TableRow" Oct 01 15:54:05 neat, I even made it look good on 2.3 Oct 01 15:54:42 http://ezscreens.appspot.com/view/c297/qicr+on+2.3 Oct 01 15:55:03 * pfn barely ever tests on 2.3 Oct 01 15:55:11 superlinux-hp: Seeing // TODO Auto-generated method stub always translates to Eclipse user who doesn't care about his code enough to remove these comments for me. You do know you can just switch them off forever, right? Oct 01 15:55:30 300 users on 2.2-2.3, heh Oct 01 15:55:43 flan3002, I don't know when I will be using them. Oct 01 15:55:50 that's why i keep them Oct 01 16:05:22 does re-instancing an object erase the first object? for example; Player player1 = new Player(); player1.name = "tree"; Player player1 = new Player(); Oct 01 16:16:05 can someone tel me how to remove all the objects from a layout? Oct 01 16:16:29 removeallviews() Oct 01 16:16:33 got it. thanks Oct 01 16:22:33 treeson still here? Oct 01 16:25:57 I'm trying to use log4j2 inside an Android app... It's calling ClassLoader.getResource("log4j2.xml"). Where do I put that file so that it can see it? Oct 01 16:29:13 i changed the email contact on my play listing a dayago and it still hasn't taken. play console shows the right one - whats up with that ? Oct 01 16:30:07 djMax, why are you using an external logging framework? Android has one built in already Oct 01 16:30:22 that's not a real logging framework Oct 01 16:30:37 Assuming you mean logcat? Oct 01 16:30:56 Log.d Log.e etc Oct 01 16:31:31 yeah. not a real logging framework Oct 01 16:32:03 I don't see what you would need a "real" logging framework for, though honestly Oct 01 16:32:55 To rephrase: What does a "real" logging framework do that you need in your app that can't be done with android internal logging? Oct 01 16:33:07 probably using a /library/ that uses log4j Oct 01 16:33:16 and now he needs to configure it to output to a.u.L Oct 01 16:34:18 as for finding the resources Oct 01 16:34:29 just put it somewhere in your classpath Oct 01 16:34:34 include it as a file in some library jar Oct 01 16:34:36 socket connections Oct 01 16:34:37 and it'll get packaged correctly Oct 01 16:35:09 flexible log level/component mappings, object layout, multiple appenders, rolling logs, etc. Oct 01 16:35:10 what? you want your app to keep a socket open to write its logs to an external server? Oct 01 16:35:19 at times, definitely Oct 01 16:35:49 anyhow, the issue is that it calls ClassLoader.getResource, and I can't seem to put the file in my Android Studio project in a place that it likes Oct 01 16:36:01 I've tried in res/raw, in assets, in the src... no joy Oct 01 16:38:15 djMax there is slf4j-android Oct 01 16:38:29 someone please tell me how to unit test an rxjava observable Oct 01 16:38:36 assertions don't do anything within the callbacks Oct 01 16:38:42 i mean, rxjava eats them Oct 01 16:38:48 yeah, that works too but log4j2 is nicer and faster. Just having trouble getting it setup. Oct 01 16:38:52 djMax http://tony19.github.io/logback-android/ Oct 01 16:39:06 ah, l Oct 01 16:39:08 *ok Oct 01 16:39:21 I think it's mostly that I'm not Android-y enough to translate "put it in your classpath" to what to do in Adnroid Studio Oct 01 16:40:25 djMax "Log4j 2 contains next-generation Asynchronous Loggers based on the LMAX Disruptor library." Oct 01 16:40:34 lmax disruptor doesn't work on android Oct 01 16:40:49 * g00s tried already ;) Oct 01 16:41:03 When would that fail? Oct 01 16:41:19 you would never get it to compile, it uses stuff like misc.sun.unsafe Oct 01 16:41:35 or if you ha dthe jar it would blow up on runtime Oct 01 16:41:38 Ok, well it definitely compiles and runs on my device Oct 01 16:41:44 so perhaps that's an optional enhancement Oct 01 16:42:03 it even works and logs to console, but I'm just trying to get it to log to logcat during development Oct 01 16:42:14 so I need to configure the damn thing, but it can't find the json/xml file Oct 01 16:43:30 hacky but you could do this.getClass().getClassLoader().getResource(“…”) Oct 01 16:44:46 Hey Oct 01 16:45:26 so does this code: mUserText = (EditText)findViewById(R.id.OKEditText); Oct 01 16:45:26 mEnteredText = mUserText.getText().toString(); give me the EditText's user input text? Oct 01 16:46:00 cbot`: looks like it Oct 01 16:46:08 alright tyvm Oct 01 16:46:17 wtf was that g00s? Oct 01 16:46:32 it's calling ClassLoader.getResource("log4j2.xml") now, but where in my source tree should that go? Oct 01 16:46:43 For retrofit, when you chain calls (.flatMap) does it go through for you guys? Things worked for me when I used blocking from rxjava, but .flatMap().subscribe() doesn't seem to go off. Oct 01 16:46:54 RedWraith works fine for me Oct 01 16:46:58 pastebin/ Oct 01 16:47:07 djMax so InputStream in = this.getClass().getClassLoader().getResourceAsStream("res/raw/my.xml"); Oct 01 16:47:17 flatMap is not Retrofit Oct 01 16:47:32 res/ Oct 01 16:47:41 ok. Let me see if I can change what it's looking for. Oct 01 16:48:01 djMax ^ Oct 01 16:48:10 True. It's rxjava. But I do retrofit calls inside as returns. Maybe I'm using RxJava incorrectly. Oct 01 16:48:15 JacobTabak: I found the solution to my problem. http://stackoverflow.com/questions/19320214/adding-items-to-listview-maintaining-scroll-position-and-not-seeing-a-scroll-ju in case you wanted to know. Oct 01 16:48:43 hm, my dog barfed up a potato from 2 days ago Oct 01 16:48:49 getResources().openRawResource(resourceName) will point to /res/raw/ Oct 01 16:48:52 awesome g00s Oct 01 16:49:04 gotta make sure he doesn't eat it again Oct 01 16:49:08 is it an Irish setter? Oct 01 16:49:14 chocolate lab Oct 01 16:49:14 The same potato? Oct 01 16:49:18 yeah Oct 01 16:49:33 Basically, when using RxJava and Retrofit, I was chaining calls with flatmap and then ending on a .subscribe. Am I missing something to get it to run? Oct 01 16:49:46 RedWraith... pastebin Oct 01 16:50:00 hrmph. Not easily. I see that it works as assets/log4j2.xml, but don't see a way to do that Oct 01 16:50:05 Ah, good point. Oct 01 16:50:08 One sec. Oct 01 16:50:24 how woudl one align a button below a framelayout inside a relative layout? Oct 01 16:50:52 foler /res/ in your directory tree? Oct 01 16:51:13 …/res/log42j.xml Oct 01 16:51:48 otherwise try res/raw/file.xml and use openRawResource(“file.xml”) Oct 01 16:51:48 tricknology: put both in a linearlayout, framelayout = height: 0, weight = 1, button = height: wrap Oct 01 16:52:01 tricknology oh nm you said relativelayout Oct 01 16:52:01 I can't modify that getResource call directly Oct 01 16:52:04 tricknology you maybe should do some layout tutorials…but it would be with a rule Oct 01 16:52:05 aah buit that’s not all I have in there Oct 01 16:52:22 (It looks like I could copy some code to get this to work, but just trying to find the lowest friction way) Oct 01 16:52:48 If an adapter doesn't call getview even if the size is greater than 0 Oct 01 16:52:52 then where do I look? Oct 01 16:53:19 look at what you mean by "the size" Oct 01 16:53:33 you mean getCount() returns more than 0 Oct 01 16:54:21 oh wlel.. i have anothe rbutton in there.. i can alignparentbottom and then stick the other button above that one Oct 01 16:54:43 jsut ws wondering if there was a way.. compiler is arguing with me Oct 01 16:55:06 tricknology I answered you Oct 01 16:55:15 with a "relative" rule Oct 01 16:55:19 io did not understand “with a rule” Oct 01 16:55:22 ah thanks Oct 01 16:55:23 ooh - I may be able to set a system property. Android have an equivalent? Oct 01 16:55:32 tricknology thats why you should learn a bit more Oct 01 16:55:38 about layouts etc Oct 01 16:55:49 I will btu today is not the day.. Oct 01 16:56:02 I have a lot to learn Oct 01 16:56:25 I only find out what I need to learn when I try to do something and it doesnt work Oct 01 16:56:32 should I just go and read all the docs? Oct 01 16:56:39 on developer.android.com Oct 01 16:56:41 Ah, looks like it's on my home pc unfortunately. I'll have to ask later. Oct 01 16:57:11 tricknology well if you are doing layouts, you kinda want to know what/why etc Oct 01 16:57:27 or I think you may end up wasting more time than sitting down and learning Oct 01 16:57:59 layout_below does not work with the fframelauyout Oct 01 16:58:02 buttone below framelayout Oct 01 16:59:41 djMax log4j was stagnant for so long - lots of projects moved off it. wonder what happens next Oct 01 17:00:25 log4j2 seems newish, but fair point Oct 01 17:00:34 i'm going to have to try to get lmax running again Oct 01 17:02:02 it's certainly a pain in the arse to get started. The properties file route also calls getResources, and that's a fixed string so I'm screwed. Oct 01 17:02:49 once you use something like log4j though, its not enjoyable using android's log crap Oct 01 17:08:00 if i use alignParentBottom will padding work? or margin? Oct 01 17:08:23 djMax does slf4j2 have some kind of network adapter ? Oct 01 17:08:56 probably :) Oct 01 17:09:09 margins work.. to answer my own question Oct 01 17:09:57 so just to double back - there is NO way to get a file to resolve as classLoader.getResource("file.txt") Oct 01 17:10:32 is there any way to give a url to someone on a phone that links to the google play store for that app. but then if they already have the app, it just opens automatically Oct 01 17:10:44 if so, what is the name. Im happy to google it but im not sure what to google Oct 01 17:11:24 that nexus 6 is pretty huge ... Oct 01 17:14:34 isn't that the general trend anyway? bigger is better? Oct 01 17:15:16 I for one can't understand that at all, but judging by the industry I'm (yet again) in the minority here :p Oct 01 17:16:13 * StingRay_ remembers back when mobile phones were, well, the size they are today :) Oct 01 17:16:28 * StingRay_ loved his razr Oct 01 17:16:47 if they shrunk a phone down to the size of a credit card that would be my favorite Oct 01 17:17:08 g00s is that not putting one in a wearable Oct 01 17:17:48 at credit card dimensions it can go in my wallet and be forgotten :) Oct 01 17:17:49 I think something bigger than iphone 4 and less than galaxy nexus Oct 01 17:18:11 so maybe the size of sgs2 with better profile Oct 01 17:18:19 and aspect obviously Oct 01 17:18:26 does anyone know which files store the list of contacts on a phone? i'm trying to back them up Oct 01 17:18:57 its in a database, not sure you would have access to it Oct 01 17:19:12 android already has backup functionality Oct 01 17:19:21 kate_r yeah you would need the content provider to read and write to Oct 01 17:19:33 g00s, well i'm trying to go a bit further and encrypt them Oct 01 17:19:35 and it's quite multi layer too Oct 01 17:20:04 turn system wide encryption on :| Oct 01 17:20:42 g00s, well i'm trying to control encryption to just the phone contacts Oct 01 17:20:58 good luck with that :) Oct 01 17:21:07 kate_r bad idea Oct 01 17:21:15 StingRay_, oh? Oct 01 17:21:19 yeah Oct 01 17:22:29 StingRay_, i'm trying to encryp the contact list only on certain condition, e.g., when battery is beginning to run flat or similar Oct 01 17:22:39 does the kernel config file exist on an android phone where I can see if CONFIG_CAN for example has been built? Oct 01 17:22:42 like I said, really bad idea Oct 01 17:22:54 contacts are not something to do that with Oct 01 17:23:03 for many many reasons Oct 01 17:23:09 StingRay_, how come? Oct 01 17:23:44 how is that not totally obvious ? Oct 01 17:24:09 how about i backup the contact list to a flat file, encrypt it then wipe out the existing list Oct 01 17:24:31 it's a content provider you have access to Oct 01 17:24:37 not a file or a list Oct 01 17:24:53 many tables linked via a content provider Oct 01 17:25:10 RAW, Phone, etc.. all the diff types too Oct 01 17:25:36 you would have to wipe someones google account too in 99% of cases Oct 01 17:25:41 so no, really bad idea Oct 01 17:26:03 when you can just turn encryption on phone wide Oct 01 17:26:16 in a button press …actually android L has it on by default now Oct 01 17:26:24 so more a case you would have to turn it off Oct 01 17:26:38 oh god does that mean mandatory lock screen ? Oct 01 17:27:33 hmm Oct 01 17:36:51 so.. removeAllViews() is not workign like I’d expect it to Oct 01 17:37:23 aha - I figured out log4j2. You need a resources folder, NOT the res folder, and then the log4j.xml goes in there. Oct 01 17:38:04 nice one djMax Oct 01 17:38:13 a folder called “resources"? Oct 01 17:38:20 where is it in the tree? Oct 01 17:38:33 under main (sibling of "java") Oct 01 17:38:46 Figured it out from reading gradle android plugin docs http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Android-tasks Oct 01 17:39:02 like like home/java/? Oct 01 17:39:42 for me it's "app/src/main/resources" Oct 01 17:40:03 compared to app/src/main/java Oct 01 17:41:09 mean.. Oct 01 17:42:45 hi Oct 01 17:42:49 hello Oct 01 17:43:21 I'm wondering about something and if it's possible and how to approach it. Oct 01 17:44:38 that's cool, keep it up Oct 01 17:44:41 I'd like all SMS sent by the default SMS app to be routed by my class Oct 01 17:45:08 johnnny22-afk by 3rd party apps too ? Oct 01 17:45:24 yeah. Oct 01 17:45:25 ... that would most likely be a no Oct 01 17:45:41 and I'd like to disable MMS all together :P Oct 01 17:45:52 that is a 100% no and even more than 100% on kitkat …well from just an app anyways Oct 01 17:46:09 johnnny22-afk whats the point of this if you dont mind me asking ? Oct 01 17:46:20 http://pastebin.com/bKpa5rdX Oct 01 17:46:32 anyone care to help out with the removeallviews() not working? Oct 01 17:46:52 StingRay_: the point is to support the SMS api from my voip service provider, which uses Data for delivery and reception. Oct 01 17:47:27 StingRay_: and to basically not use my cell providers phone number at all. So to not get charged for those services. Oct 01 17:47:57 your best (and probably only) bet is to use/make a specialized app just for that Oct 01 17:48:18 well you cant stop others from using it, but should your app not have any requirement on anything else ? like whatsapp etc ? Oct 01 17:48:21 ravilov: that's what I'm guessing after looking around. Oct 01 17:48:32 johnnny22-afk if you could do that, im sure google would ahve with google voice Oct 01 17:49:16 JacobTabak: not sure what you 100% mean by that. Oct 01 17:49:24 if you could do that, I'm sure google would patch that gaping security hole by now Oct 01 17:50:05 StingRay_: well, i wouldn't want to interfeer with whatsapp, thats for sure. It doesn't send SMS over the cellprovider's sms service. Oct 01 17:50:15 johnnny22-afk i mean google has always had a 3rd party app (google voice) to avoid paying for sms Oct 01 17:50:37 JacobTabak not outside of US Oct 01 17:50:44 exactly.. not outside. Oct 01 17:50:51 and US != world :) Oct 01 17:50:51 so, ya, I'm on voip.ms. Oct 01 17:50:53 you're missing the point though Oct 01 17:51:03 i'm saying if they could intercept outgoing sms with a 3rd party app Oct 01 17:51:13 then they wouldn't force you to use google voice for outgoing sms Oct 01 17:51:14 now calling frame.invalidate(); but no use Oct 01 17:51:24 (and yes, i realize that it's now integrated into hangouts) Oct 01 17:52:21 johnnny22-afk but yes, you would never be able to intercept Oct 01 17:52:31 I guess my best bet is to build my own default SMS app and if possible modify some internal network setting to disable sms all together. Oct 01 17:52:32 you just need a standalone app like people have said Oct 01 17:53:04 there is only 1 thing to disable sms, turn the radio off Oct 01 17:53:12 lol, really ? :( Oct 01 17:53:30 so no, doubt you could do that either, since many carriers send settings and info broadcast pdu format sms's Oct 01 17:53:33 yes Oct 01 17:53:41 that dont get charged but do use sms Oct 01 17:54:06 johnnny22-afk, you could also build your own ROM if you prefer Oct 01 17:54:10 couldn't i remove the MMSC value in my access point settings ? Oct 01 17:54:25 johnnny22-afk you could… be me as a developer… i can't Oct 01 17:54:50 80% of the time since JB or maybe even ICS APN data has been locked Oct 01 17:55:18 due to corporations using clear password storage in APN's database… you can read the commit from back then Oct 01 17:55:24 not that I agree with it :) Oct 01 17:55:35 i seem to be able to change some access point settings here. Oct 01 17:55:54 as a user ? Oct 01 17:55:58 ya Oct 01 17:56:01 obviously Oct 01 17:56:06 you own the phone Oct 01 17:56:17 ya Oct 01 17:56:47 well as a developer I can neither change or read it…without getting a permission that is reserved only for system apps Oct 01 17:56:59 I could release the app on the app store and let people live with still getting SMS over their service provider, but at least they could send SMS with his voip service provider too if they use that app. Oct 01 17:57:36 StingRay_: right, and i could maybe mention how to manually disable SMS for users that care to know. If legal. :P Oct 01 17:57:52 can't disable it afaik Oct 01 17:58:05 it comes along with….making phone calls :) Oct 01 17:58:11 well, maybe screw with it,so that it doesn't work :P Oct 01 17:58:21 can't do that either Oct 01 17:58:27 though if you are talking about mms then yeah Oct 01 17:58:31 i'll have to digg into those Access Point settings and try to understand what each do. Oct 01 17:58:41 aah, mms vs sms.. i see. Oct 01 17:58:44 however mms is also part sms Oct 01 17:58:49 i could disable mms, but not sms Oct 01 17:59:05 i get what you are trying to say. Oct 01 17:59:07 so you can disable it all you want though asking user to screw his her settings Oct 01 17:59:26 but it will still get an sms with pdu saying that there is an incoming mms Oct 01 17:59:50 the default sms app then will deal with that how it sees fit I guess Oct 01 18:00:22 Guess i'll just build a standalone app :P Oct 01 18:00:36 And maybe one day a whole ROM (i'm kidding myself here) Oct 01 18:00:38 troubles removing views.. anyone? Oct 01 18:00:48 http://pastebin.com/bKpa5rdX Oct 01 18:01:34 Thanks StingRay_, JacobTabak and ravilov for your input! Oct 01 18:01:42 tricknology what exactly is wrong ? Oct 01 18:01:54 removeAllViews() is pretty…well. basic Oct 01 18:03:35 tricknology your prob maybe elsewhere ? so log getChildCount() before and after removeAllViews() Oct 01 18:03:44 or debug it and look at the childViews Oct 01 18:03:50 k thnaks Oct 01 18:05:10 yep.. child count 0 both times. Oct 01 18:05:31 I am using frame.addView(view) Oct 01 18:05:37 so then, problem elsewhere Oct 01 18:05:45 glad I could help :) Oct 01 18:05:48 lol Oct 01 18:05:52 merde.. Oct 01 18:07:25 so children not getting attached to frame view Oct 01 18:07:28 parent Oct 01 18:12:17 do i have to frame = (FrameLayout) findViewById(R.id.frame_layout); every time? Oct 01 18:12:36 does not seem right Oct 01 18:13:32 so.. FrameLayout.add(view) does not attach to the FrameLayout parent? Oct 01 18:13:39 it is attaching to main view? Oct 01 18:13:52 why would that be beneficial? Oct 01 18:14:02 so contrary to.. every other view. Oct 01 18:15:31 you mean frame.add(view)? Oct 01 18:17:06 uh, twitter question - In Play, if my app name=X and package=Y and developer name=Z, what would be a good twitter schema for this? @x name=Z ? Oct 01 18:17:17 i dont really understand twitter :) Oct 01 18:17:38 tricknology you lost me and making no sense Oct 01 18:17:43 i can add views.. btu the childcount of the view remains at 0.. it’s addind to some other view Oct 01 18:17:55 i see i twitter there is a user name, and profile->name(Enter your real name, so people you know can recognize you.) Oct 01 18:17:56 myViewGroupParent.addView(someChildView) is about as simple as it gets Oct 01 18:18:19 are you sure your R.id.frame_layout actually belongs to the FrameLayout Oct 01 18:18:20 StingRay_ that si “working” i see the images on the screen but when i call frame.getChildCount() i get 0 Oct 01 18:18:20 ? Oct 01 18:18:35 furthermore frame.removeAllViews() does nothing. Oct 01 18:18:45 frame.getChildCount() still == 0 Oct 01 18:18:45 then you are not working with the same instance ? Oct 01 18:18:54 I am not instantiating it anywhere else :( Oct 01 18:18:59 jsut once Oct 01 18:19:04 in oncreate Oct 01 18:19:04 tricknology, you do understand if this is true, it is true only for you and nobody else, right? Oct 01 18:19:13 ha yea Oct 01 18:19:16 i told it to do that i guess Oct 01 18:19:32 nobody else has or has had any similar issues Oct 01 18:19:47 tricknology to test if it's you, frame.addView(new View()) then get count Oct 01 18:20:14 or you are simply removing them all some place else ? Oct 01 18:20:35 many reasons for this, all probably down to misplaced logic maybe? Oct 01 18:21:03 I too am tempted to blame faulty logic on his end Oct 01 18:22:08 nope jus tthat one function is where they get added and removed.. nowhere else Oct 01 18:24:04 guh.. maybe i forgot to clean my project.. now childcount is 2 without doing frame.addView(new View()) Oct 01 18:25:20 but the images are stil there bouncing around Oct 01 18:26:27 so does it make sense to have a twitter handle for an app or for your dev account? for example, if people only want tweets related to a particular app, seems like my handle should be the app name ? Oct 01 18:26:51 gah i hate this crap Oct 01 18:27:01 makes sense, g00s, yeah Oct 01 18:27:15 but I think I would do it.. same handle for groups of apps Oct 01 18:27:20 depending on their category Oct 01 18:27:41 tricknology ok thanks Oct 01 18:27:43 but idk.. you might not be able to remove your views correctly if you do that.. Oct 01 18:27:49 lol Oct 01 18:28:28 also - the gorups of apps thing will increase visibility of the other apps to auser who might have just 1 under the same category Oct 01 18:28:36 if they happen to tweet you Oct 01 18:29:43 tricknology ah i see, thx Oct 01 18:30:06 np, goign to lunch.. gonna walk away from the views for now.. Oct 01 18:30:14 cya guys in an hour or so. Oct 01 18:30:20 i would have thought a twitter handle could have multiple channels like x/y/x Oct 01 18:32:35 since this is basically pub / sub , right ? Oct 01 18:33:02 so people could subscribe to g00s foo/bar or foo/* or bar/ Oct 01 18:33:12 maybe thats too complicated :P Oct 01 18:34:39 you can.. http://www.labnol.org/internet/one-email-for-multiple-twitter-accounts/9492/ Oct 01 18:34:49 link 1 e-mail to bultiple accounts Oct 01 18:35:22 erm, any way to give padding to scroll indicators on listView ? Oct 01 18:36:31 hi Oct 01 18:36:37 i have a question about in-app purchases Oct 01 18:37:29 android:scrollbarTrackVertical? Oct 01 18:37:35 android:scrollbarTrackHorizontal Oct 01 18:37:39 so, google doesn't provide a way to serve new content with in-app purchases? Oct 01 18:37:54 I'm not entirely sure how to add content with in-app purchases Oct 01 18:37:59 Reading http://developer.android.com/google/play/billing/billing_overview.html Oct 01 18:38:26 tricknology not sure thats what I want Oct 01 18:38:30 or here StringRay_ not sure if this  is what you need: http://stackoverflow.com/questions/6594100/reposition-scroll-bar-of-listview-with-padding Oct 01 18:38:40 Agamemnus what does "new content" mean ? Oct 01 18:38:44 aight cya guys in a bit Oct 01 18:38:44 Well Oct 01 18:38:57 I would need to modify a bunch of files, and send new ones. Oct 01 18:39:08 tricknology " each account must have a unique email address associated with it" Oct 01 18:39:17 Agamemnus thats updating Oct 01 18:39:22 not new content Oct 01 18:39:26 I know Oct 01 18:39:26 But Oct 01 18:39:38 In app purchases provide new content.. that's what I mean Oct 01 18:39:47 So I want to know how sending that content is done Oct 01 18:39:54 still not sure what you mean or what the question is Oct 01 18:39:55 :) Oct 01 18:40:07 Ok so let's say you have a jigsaw game Oct 01 18:40:10 in-app purchases have nothign to do with content Oct 01 18:40:11 And it's free Oct 01 18:40:15 ... Oct 01 18:40:29 You have 18 images let's say Oct 01 18:40:38 And there's an in-app purchase that lets you have 48 instead. Oct 01 18:40:46 How are those 48 images sent? Oct 01 18:40:54 well, 30* Oct 01 18:41:03 you would get the app to download them ? Oct 01 18:41:15 so just download, from my own server? Oct 01 18:41:20 you dont attach them to a purchase Oct 01 18:41:26 huh? Oct 01 18:41:30 like I said, iap nothing to do with content Oct 01 18:41:30 Are you drunk? Oct 01 18:41:41 App has 18 images Oct 01 18:41:43 actually dont drink Oct 01 18:41:46 User purchases 30 Oct 01 18:41:51 Where do the 30 come from? Oct 01 18:41:59 wherever you want Oct 01 18:42:07 the users purchases an ident Oct 01 18:42:10 So the question is, how is this done? Oct 01 18:42:14 NICENEW30IMAGES Oct 01 18:42:24 you then do what you want with that Oct 01 18:42:29 dunk my arse Oct 01 18:42:30 ;) Oct 01 18:42:31 Ah, and is that indent sent to my server somehow? Oct 01 18:42:56 Do I have a way to specify where these purchase "idents" are sent? Oct 01 18:43:06 (i don't want to give content to just anyone) Oct 01 18:43:09 well it's the ident/purchase string you get from billing service query Oct 01 18:43:10 Is that how it works? Oct 01 18:43:30 so I can specify a URL for Google to ping? Oct 01 18:43:44 to send that data. Oct 01 18:43:49 you are selling strings/idents, what you attach to that and the conditions it has with it are down to you Oct 01 18:44:10 Ok let me backtrack a little Oct 01 18:44:52 Paypal lets me specify a URL that they will send purchase information to. This way I know that a user's purchase is legitimate Oct 01 18:44:59 Is it the same deal with Google Play? Oct 01 18:45:15 or does it work some other way? (not sure how else?) Oct 01 18:45:29 have you never purchased an app on play ? Oct 01 18:45:36 Yes... Oct 01 18:45:37 I have Oct 01 18:45:43 thats how it's done then Oct 01 18:45:47 Are you serious? Oct 01 18:46:05 Have you ever implemented IAPs? Oct 01 18:46:10 yes Oct 01 18:46:19 Why can't you answer then Oct 01 18:46:28 erm…. Oct 01 18:46:33 Anyone, I want to create a floating activity with a form on it. A user hits, 'Create new' and a floating activity appears for the user to fill the form and then press Create. Oct 01 18:46:36 Can I get Google to send me information about purchases? Oct 01 18:46:41 Can someone point in the right direction? Oct 01 18:46:50 Agamemnus it goes to merchant account Oct 01 18:46:52 AKK9 that would be a dialog with activity theme i think Oct 01 18:47:00 this is all info that you should read up on Oct 01 18:47:05 oops, activity with dialog theme :D Oct 01 18:47:20 g00s: Oct 01 18:47:25 * StingRay_ now wants to make a dialog with activity theme :) Oct 01 18:47:36 oh you just corrected yourself Oct 01 18:47:37 So the merchant account gets the indents? Oct 01 18:47:39 jhaha Oct 01 18:47:47 I mean idents? Oct 01 18:48:04 g00s, ah thanks so simple than I thought it would be. Oct 01 18:48:06 Agamemnus ok, I'm done attempting to explain now, all the info is there if you read Oct 01 18:48:32 ....... Oct 01 18:48:57 Thanks for trying, but I think we're talking in different languages. Oct 01 18:49:02 indeed Oct 01 18:50:02 uh, i've been thinking for a long period of time, i can't get out with an idea, what kind of app i should make Oct 01 18:50:15 who here told me about just use padding for ui elements (like actionbar) that go over a listView ... Oct 01 18:50:29 I will kill you! o.o Oct 01 18:50:34 is something like OCR that read text and save it is cool? Oct 01 18:50:56 OverCoder as cool as all the others Oct 01 18:50:58 :) Oct 01 18:51:07 * OverCoder became happy :) Oct 01 18:51:26 there are loads on playstore right ? Oct 01 18:51:30 OverCoder, is it useful to you? Best thing is to make something useful to you so you'll have the passion to actually develop it. Oct 01 18:51:32 have a look at downloads Oct 01 18:51:35 g00s, wow it makes everything look very ugly though Oct 01 18:51:47 g00s, evetything looks like Gingerbread or something Oct 01 18:51:51 AKK9 make sure you are using holo stuff i guess Oct 01 18:51:59 yeah it would be Holo.xxx Oct 01 18:52:00 lyles, very useful to me, but actually i want to release it to the market Oct 01 18:52:24 Anyone other than StingRay_ ever implemented in-app purchases (with server verification?) Oct 01 18:52:27 g00s, ah yeah got it cheers Oct 01 18:52:47 OverCoder, might want to read http://paulgraham.com/startupideas.html it applies here lol Oct 01 18:53:09 k :) Oct 01 18:53:24 StingRay_: you aren't using your server to send any data, are you? Oct 01 18:53:29 no Oct 01 18:53:33 no wait Oct 01 18:53:36 i won't read all this o.o Oct 01 18:53:40 Right then... so it's not secure at all, is it. Oct 01 18:53:43 that's even longer than google docs Oct 01 18:53:55 Agamemnus well I query play services so I would hope so Oct 01 18:53:57 :) Oct 01 18:54:25 it loks beitiful Oct 01 18:54:27 well, as secure as you can get I suppose Oct 01 18:54:30 Ok Oct 01 18:54:33 So that's the difference Oct 01 18:54:47 You have all the content in the app already Oct 01 18:54:55 But that's not secure at all Oct 01 18:55:01 well no Oct 01 18:55:04 I have themes Oct 01 18:55:11 served from my server Oct 01 18:55:29 How does your server know if an IP should get themes or not? Oct 01 18:55:39 but anyways, I really cant be bothered with this :) the convo will go wayward again Oct 01 18:55:48 nothing to do with ip Oct 01 18:55:56 lyles: nice article Oct 01 18:55:58 who are you sending the themes to?/ Oct 01 18:55:58 to do with purchaseState Oct 01 18:56:03 http Oct 01 18:56:11 in the app Oct 01 18:56:17 ... Oct 01 18:56:26 Your server.. where does it send the themes? Oct 01 18:56:28 To the user? Oct 01 18:56:40 the app yes Oct 01 18:57:00 And that's after Google Play says everything is ok. And then your app sends a request... Oct 01 18:57:12 look I'm pretty much done with this… read the docs it's there Oct 01 18:57:21 Well, that's not secure at all, unless Google Play is sending your server purchase information. Oct 01 18:57:21 thats all I did Oct 01 18:57:36 so that is what I am trying to figure out Oct 01 18:58:09 oh oh, tried updating my play store listing and got An unexpected error occurred. Please try again later. (-32600) Oct 01 18:58:18 Is there a way I can split all my java classes into sections or folder or something? Oct 01 18:58:30 g00s: open a new browser or something? Oct 01 18:58:44 Instead of a massive long list inside app.nameof.myapp? Oct 01 18:59:16 AKK9: I guess that's packages... Oct 01 18:59:22 but I knnow very little about Java Oct 01 19:00:08 I just want a way to organise it visually in the IDE, dont want to change anythign about the app itself Oct 01 19:00:15 ill google Oct 01 19:08:27 That's what packages are for Oct 01 19:09:36 StingRay_: I found it Oct 01 19:09:47 The first item here. http://developer.android.com/google/play/billing/billing_best_practices.html Oct 01 19:09:56 But it says nothing about how to actually implement it Oct 01 19:11:59 Whend rawing to a canvas, is it cleared completely each time? could you redraw only part of the canvs? Oct 01 19:12:20 My rendering function takes 33ms max, avg 6.5ms. Seems long. Oct 01 19:12:36 But it could be that it gets blocked Oct 01 19:14:24 troned, you don't ever draw *to* canvas Oct 01 19:14:25 is there any way to control fragment in out anims so that the view they were in is never transparent at any point ? Oct 01 19:14:28 you only draw *through* canvas Oct 01 19:14:40 it is always backed by a bitmap Oct 01 19:19:36 if i render the same stuff everytime (but something could be in a different position) shouldnt it take equal time each time? or it is the because of the OS that it doesnt? Oct 01 19:19:54 i do some locking however, that could be a problem...trying to remove it now Oct 01 19:25:17 showerthoughts ... when apple releases a new phone, its always new HW and new SW, so 2 pieces of newness. unless its a nexus device, a new android phone is usually just new HW. so its only 1 piece of newness Oct 01 19:25:44 its probably easier to get jazzed by 2 pieces of newness than 1 Oct 01 19:26:14 I have a large application with a lot of Strings in the xml and the java source. What's the best way to find all of the strings in my java source as the xml doesn't have any shortcut I guess. I'm up for suggestions. This is for providing support for a second language. Oct 01 19:26:18 hi Oct 01 19:26:28 what it the best way to time your program? I want to know how much time my rendering takes, now i do system.nanoTime() in the beginning and end of the onDraw method but dont know how accurate that actually is Oct 01 19:26:52 how can I startForeground service when all activities disappear? Oct 01 19:27:10 troned you could try https://code.google.com/p/caliper/ Oct 01 19:28:24 or use the android tools Oct 01 19:37:06 i still see a lot of paid apps that don't have physical address Oct 01 19:37:16 basic stuff like weather underground, etc Oct 01 19:40:43 my proj is kind of a mess right now. i'm using apt to run dagger-compiler, and when i have syntax errors in my java, the only error i get from gradle build is this: > dagger.internal.codegen.Util$CodeGenerationIncompleteException: Unknown type returned as . Oct 01 19:41:11 just say x = new MyClass() :D Oct 01 19:41:20 in this case i know where my syntax errors are, so i can fix them, then everytrhing works fine Oct 01 19:41:40 but ugh, i'm trying to pull androidannotations out of my project right now, and i guess dagger and AA are not playing nicely together Oct 01 19:41:53 so i have to find these compliation errors manually.. Oct 01 19:41:58 10-01 21:39:01.366 25466-25470/com.sj.mazerace D/dalvikvm﹕ GC_CONCURRENT freed 1965K, 48% free 9454K/17852K, paused 2ms+3ms, total 35ms Oct 01 19:42:10 2MB Oct 01 19:42:27 paused2+3 and then total 35ms? what does it mean Oct 01 19:44:32 question - right now i have background/foreground service with websocket on and listening to incoming messages Oct 01 19:44:51 so i have partial wakelock all the time when it is connected Oct 01 19:45:12 is there a better, less-draining battery approach? Oct 01 19:45:52 Ashiren haven't worked with this directly, but the hipchat app for example disconnects after 5 minutes of inactivity Oct 01 19:46:41 Ashiren when the phone sleeps, incoming data on a socket will wake it up without a wakelock Oct 01 19:46:50 but then right away, you need to grab a wakelock and process the data ;) Oct 01 19:46:59 and release it and go back to sleep again Oct 01 19:47:00 no they wont Oct 01 19:47:03 do I have to invalidate() every time I remove and add a series of views? Oct 01 19:47:15 what does the total mean? does it pause 2+3=5ms or does it pause my game 35ms (OMG)? Oct 01 19:47:22 Ashiren ? its not working for you ? Oct 01 19:47:36 my app disconnects after few minutes unless i do constant wake lock Oct 01 19:47:51 well, the tcp connection could die Oct 01 19:47:57 your carrier could be doing that Oct 01 19:48:07 its websocket. from tyrus Oct 01 19:48:20 ah, websockets. don't know about those, sorry Oct 01 19:49:06 tcp / mobile is tricky business :) Oct 01 19:53:51 troned: 2ms was taken in order to make a preliminary pass over the heap and 2ms at the end for the final pass Oct 01 19:54:02 the other 30ms was done concurrently (while the program was running) Oct 01 19:54:32 so it is not blocking my other threads for30ms in a sequence Oct 01 19:54:34 ? Oct 01 19:55:07 correct Oct 01 19:56:06 How can you tell what version a method was added to google play services Oct 01 19:56:11 mDisappearingChildren .. Views which have been hidden or removed which need to be animated on their way out Oct 01 19:56:14 without just changing it and trying over and over Oct 01 19:56:19 specifically http://developer.android.com/reference/com/google/android/gms/auth/GoogleAuthUtil.html#clearToken(android.content.Context, java.lang.String) Oct 01 19:56:24 so if i dont call stop() on the animation the view will go into limbo? Oct 01 19:56:32 as it is removed Oct 01 19:58:39 "Garmin announces new flagship $450 Forerunner 920XT sport watch" thats expensive, crap Oct 01 19:58:59 garmin still makes stuff? Oct 01 20:00:26 Is it possible to overide android.R.attr.fastScrollTrackDrawable ? Oct 01 20:00:39 johnflux yes, its a reference Oct 01 20:00:43 In the API: http://developer.android.com/reference/android/R.attr.html it is listed as: public static final int fastScrollThumbDrawable Oct 01 20:00:49 doesn't "final" mean that I can't change it? Oct 01 20:00:55 its a reference to your current theme Oct 01 20:01:04 JacobTabak: hmm, how do I change it? Oct 01 20:02:27 johnflux whats your base theme? Oct 01 20:03:05 im going to tell you how to solve this problem and all problems like it in the future Oct 01 20:03:12 JacobTabak: sorry I don't know - I'm fairly new to android development. I just created a new project Oct 01 20:03:14 i'm assuming you're using holo light, because you haven't answered and im not waiting Oct 01 20:03:20 are you in android studio? Oct 01 20:03:22 JacobTabak: yes Oct 01 20:03:33 go to Navigate->File Oct 01 20:03:48 check the box for 'include non-project files' Oct 01 20:03:59 and type in themes.xml Oct 01 20:04:12 you want the one inside of your sdk/platforms directory Oct 01 20:04:21 you're looking for the themes.xml in the android SDK Oct 01 20:04:31 this shows you what properties you can override on the theme Oct 01 20:04:50 I see Oct 01 20:04:59 cmd+F for 'fastScrollTrackDrawable Oct 01 20:05:05 or whatever you use for searching within a file Oct 01 20:05:25 in your manifest, you define a theme for your app or activity Oct 01 20:05:29 JacobTabak: okay I see it Oct 01 20:05:34 is it like @style/AppTheme or something? Oct 01 20:06:14 JacobTabak: @android:drawable/fastscroll_track_holo_dark Oct 01 20:06:24 johnflux... what is your theme in the manfiest Oct 01 20:07:26 JacobTabak: yes, what you said Oct 01 20:07:33 android:theme="@style/AppTheme" > Oct 01 20:07:44 ok Oct 01 20:07:50 (cmd/control)+click on that Oct 01 20:07:55 it should take you to a file within your apps resources Oct 01 20:08:06 yes Oct 01 20:08:07 what is the parent theme of your theme? Oct 01 20:08:19