**** BEGIN LOGGING AT Sun Nov 03 02:59:58 2013 Nov 03 03:07:09 ok. this is driving me crazy. I am using the support v7 actionbar and enabling it as a up button and all that works fine. But i'm later trying to allow it to be disabled and not receive clicks (not look like a button) but it wont work that way if i ever enable it as a button. is there a way to disable it from behaving like a button completely if you enabled it prior? Nov 03 03:07:53 Long shot but anyone still around this weekend? I'm having issues with a list view on top of a surface view. The list view doesn't redraw unless the activity is paused/resumed. Works fine when its not on top of a surfaceview Nov 03 03:09:07 just to be clear, disabling up/home button functions works on new instances. Clicking has no effect.. but once i do enable it ...I can not disable it's clickability within a given instance (i'd have to restart the activity) Nov 03 03:41:02 u Nov 03 03:41:03 Nov 03 03:41:03 Nov 03 03:41:08 Nov 03 03:41:12 Nov 03 03:45:26 Leeds is making more sense then ever Nov 03 03:59:26 lol Nov 03 03:59:52 anyone use jetty on android? Nov 03 04:14:58 anyone use google drive api and updated their app for kit kat ? Nov 03 04:17:34 sorry folks... cleaner, who is under strict instructions *not* to move stuff around on my desk, decided to clean up, including the keyboard Nov 03 04:18:43 Leeds the cleaner took your keyboard O.o ? Nov 03 04:19:02 she cleaned the keyboard - which means running a cloth across it a couple of times Nov 03 04:19:26 heh, i always put electronics in my cabinet before leaving Nov 03 04:20:07 well, it was company police (at that time) you couldn't have any work stuff on your desk once you left Nov 03 04:20:11 *policy Nov 03 04:20:50 um... I'm at home Nov 03 04:21:23 how do I ask for a permission in manifest only with x api level ? Nov 03 04:21:25 my friend's laptop got destroyed by the cleaner , doing something by mistake Nov 03 04:26:00 i wish i had a cleaner at my home... besides me. >.> Nov 03 04:28:47 hi Nov 03 04:28:59 romainguy_, are you there? Nov 03 04:29:03 she's a little Chinese lady who speaks no English whatsoever - which is fine, except that my (Chinese-speaking) girlfriend has to go take care for her mum at the moment, at the same time as the cleaner is here Nov 03 04:29:21 Leeds, are you there? Nov 03 04:30:08 do you know how to refresh a textview Nov 03 04:30:17 i can only say thank you in chinese, and I probably say that wrong Nov 03 04:30:31 i do speak Japanese, but yeah. compeltely different Nov 03 04:30:38 pokkerface: take it to the spa? Nov 03 04:30:49 deargodpickanick Nov 03 04:30:50 UsakoChan: I think Japanese is much easier than Chinese Nov 03 04:30:59 Leeds: it is. it definitely is. Nov 03 04:31:27 I always assumed japanese would be much harder than chinese Nov 03 04:31:49 also chinese is actually not a language technically. mandarin or cantonese are the languages. both are hard because they are tonal. japanese is not tonal. Nov 03 04:31:50 no tones for a start, AIUI Nov 03 04:31:53 ^ Nov 03 04:31:55 due to many regional differences Nov 03 04:32:15 Japanese also uses less of the complex chinese characters (kanji) Nov 03 04:32:44 there are dialects in japanese, but most people will understand you in any dialect Nov 03 04:32:44 also, Japanese food is better, and the trains are great... but this isn't the place for comparisons of Asian powers :) Nov 03 04:32:52 ^ Nov 03 04:39:08 wat, Best Buy priced the n5 for $799 ? Nov 03 04:39:27 for the 16 GB model ? Nov 03 04:39:35 ... wat Nov 03 04:40:33 <^cheeky> has to be a mistake Nov 03 04:40:56 http://www.theverge.com/2013/11/2/5058086/best-buy-charging-799-for-nexus-5-off-contract Nov 03 04:43:41 Leeds did you get an n5? Nov 03 04:43:58 you're usually on top of the newest stuff :) Nov 03 04:44:04 nope, still happy with my One Nov 03 04:44:26 i think they sait One gets kitkat in 90 days Nov 03 04:44:30 within 90 days Nov 03 04:45:09 they said 15 days for the Google Edition, 30 for the dev edition, 90 for carrier versions - in the US. I haven't got the 4.3 update yet, on my non-carrier Asian phone Nov 03 04:46:52 and I believe the 4.3 update for Verizon has been pushed back a couple of times already... it's a good promise to make, if you can follow through Nov 03 04:48:06 I have something twice as good as the n5 Nov 03 04:48:25 2 of them :( Nov 03 04:48:53 what is it ? Nov 03 04:48:54 2 G2s? Nov 03 04:49:05 2 nexus 5's Nov 03 04:49:11 by accident Nov 03 04:49:22 lol Nov 03 04:49:22 oh send me the extra ! Nov 03 04:50:43 that was mine! my case came empty ! Nov 03 04:51:38 <^cheeky> Dam it !!!! its raining so badly i want to test my GPS location thingy!!!!!! Nov 03 04:52:49 Hello, I'm trying to understand the different between the home-button-as-up option vs. the back button? Particularly in regards to Activity lifecycle. Nov 03 04:53:28 when you quit the app with backbutton you kill the app with finish() Nov 03 04:53:36 <^cheeky> blah what the hell its 1 Am here, might as well step out from my stupid programming dungeon Nov 03 04:53:39 looking at adb, having a few Activities chained together, I see the stack of Activities. Nov 03 04:53:51 when you hit Home it pauses the app and you can resume it later Nov 03 04:54:04 when the back button is pressed the user is taken back to an existing instance of the activity, but when the home button is pressed it seems a brand new instance is created? Nov 03 04:54:50 @shmooz, sorry, not that home button. I meant the home button in the title bar. Nov 03 04:55:24 or "action bar", sorry still new to Android Nov 03 04:55:52 oh Nov 03 04:58:34 <^cheeky> hey guys .. Nov 03 04:58:37 <^cheeky> ummm how would i get ... readings from my hear monitor .. to my droid device ... Nov 03 04:58:47 it's messing with me. :) When the user presses the back button the instance variables of the parent activity are saved (using retain instance), but when the user hits the home button, they're gone Nov 03 05:00:04 <^cheeky> townsfolk: instance variables of an activity should be saved in SavedInstance bundle, and if you have setRetainInstance to be true in our fragments it will save them.. but an activity .. destroy everything so save them in the bundle Nov 03 05:00:54 @cheeky, I am using fragments Nov 03 05:01:02 I tried overriding onSaveInstance Nov 03 05:01:06 and onActivityCreated Nov 03 05:01:14 but the bundle is null in onActivityCreated Nov 03 05:01:55 townsfolk: then it's either starting for the first time or you have .setRetainInstance(true) somewhere Nov 03 05:02:39 <^cheeky> setRetainInstance increate.. and have your variables are private.. public .. etc ? Nov 03 05:02:40 @StringRay, thanks. I do have setRetainInstance(true) in the fragments also. is this incorrect? sorry trying to understand what I'm doing wrong Nov 03 05:03:02 that means the bundle will always be null Nov 03 05:03:15 comment it out and you will then get something Nov 03 05:03:30 @cheeky, correct. my fragments have setRetainInstance(true) in their onCreate methods. Nov 03 05:03:31 i just made a microsim :) Nov 03 05:03:46 @StringRay. haha. Thanks. I'll try that. Nov 03 05:03:46 with a knife ! Nov 03 05:03:50 <^cheeky> sup StingRay_ :) Nov 03 05:04:21 so if I override the onSaveInstanceState, then I shouldn't use the retain instance correct? Nov 03 05:04:30 correct Nov 03 05:04:37 otherwise it does nothing Nov 03 05:04:44 well it always get null bundle Nov 03 05:04:54 StingRay_: you added a microsim slot to the Nexus 5 ? Nov 03 05:04:57 <^cheeky> but why would you ... if your using fragments wouldn't it be better just to use setRetainInsatance .. Nov 03 05:05:08 shmooz: no it has one Nov 03 05:05:11 and I didn't Nov 03 05:05:28 ripped it a new one eh Nov 03 05:05:29 normal sim + knife = microsim = nexus 5 can make phone calls Nov 03 05:07:08 oh FFS!!! Nov 03 05:07:20 is google pissing with all of their web framework at this moment ? Nov 03 05:07:46 I keep getting crash reports from my beta testers, re: google drive auth Nov 03 05:08:02 I just got it few minutes ago, now it's fine having done NOTHING! Nov 03 05:08:05 ugh! Nov 03 05:12:46 <^cheeky> StingRay_: i haveeee question for yoooouuuuuuuuu Nov 03 05:13:33 <^cheeky> pls :P Nov 03 05:14:03 why me? Nov 03 05:14:40 <^cheeky> its about gfx .. Nov 03 05:14:41 <^cheeky> its cool Nov 03 05:14:47 pm then Nov 03 05:14:48 <^cheeky> if you don't feel like it Nov 03 05:14:50 <^cheeky> yay Nov 03 05:14:54 <^cheeky> awsomenesss Nov 03 05:17:13 @StingRay, thank you. That works now, but it has lead me to another question. Nov 03 05:17:34 The documentation states that my fragment can use onSaveInstanceState to save state Nov 03 05:17:52 and then retrieve it in onCreate, onCreateView, or onActivityCreated Nov 03 05:18:06 I have onCreate and onActivityCreated Nov 03 05:18:12 but the bundle in onCreate is null. Nov 03 05:18:32 so, is onActivityCreated a better place to reload state? Nov 03 05:22:53 suppose it depends what it is really Nov 03 05:22:57 and when you need it Nov 03 05:23:03 as to where you would restore it Nov 03 05:23:41 it's an entity id of a network resource for the view Nov 03 05:23:57 I need to pass it to a Loader to get the data from the network Nov 03 05:27:32 Wait, actually. I have commented out the setRetainInstance(true) call, and the bundle in onActivityCreated is still null. Nov 03 05:29:10 :| so confused and frustrated.. Nov 03 05:34:04 pretty much the only app i wanted to use on my n7, beside the browser, is the Kindle app, but it seems totally busted. Nov 03 05:34:25 Works For Me[TM] Nov 03 05:47:13 I think I'm about to give up with this path and just use shared prefs. @StingRay_, if you're curious about my issue, I uploaded an example application to github: https://github.com/townsfolk/testroids. Thanks for the help. Cheers. Nov 03 05:49:40 <^cheeky> i wish my hear monitor used bluetooth :/ Nov 03 06:14:27 wants is up yall Nov 03 06:23:29 @StingRay_, I figured out the issue. I needed to set the launchMode on the activities to singleTop instead of the default multiple. Now it works with onSaveInstanceState. Thanks for the help. @shmooz too. Cheers Nov 03 06:38:04 Hello! I'm having some troubles with nine patches... In one device they look one way, and in another one they look different... it seems like the "resizing" parts are different in each one... has anyone has had any issues like this with nine patches? Nov 03 06:38:28 screenshots ? Nov 03 06:38:43 cause that is somewhat…. interesting to see :) Nov 03 06:40:43 I am almost tempted to order a Nexus 5 even if I can't use it as a phone Nov 03 06:41:04 Just so I'll finally have a freakin' phone-sized device to test with Nov 03 06:42:34 why would you not be able to use it as a phone ? Nov 03 06:43:22 I'm on Verizon. Nov 03 06:43:38 I ain't giving up my family's family plan just for a new phone. Nov 03 06:44:00 oh so they operate on a different band/freq ? Nov 03 06:44:11 They're CDMA Nov 03 06:45:50 Specifically, a CDMA that Google doesn't like Nov 03 06:47:13 uhh Nov 03 06:47:38 i think google would put VZWs CDMA bands of verizon wasnt evil Nov 03 06:47:46 if not of Nov 03 06:48:19 Still not sure I understand what you just said. Nov 03 06:50:52 If verizon was not evil, I think Google would have supported their CDMA bands on the Nexus 5. Nov 03 06:52:23 I don't think Google cares one iota about evilness with respect to Verizon. Nov 03 06:53:24 You think if verizon would let nexus exist on their network as they do on the others, google would still not make a vzw nexus 5? Nov 03 06:54:43 I have no idea what you're asking. Nov 03 06:55:40 i gave up my vz; phew felt like chains fell from around my neck Nov 03 06:56:11 You'd have a hard time convincing me to ditch a family plan for something else when I'm mostly broke. Nov 03 06:56:23 oh sure, that makes sense Nov 03 06:56:24 g00s, what phone did you have? Nov 03 06:56:31 mystupid :D Nov 03 06:56:36 hehe, a droid-1 Nov 03 06:56:43 oh Nov 03 06:56:59 i have a verizon gs3 with CM 10.2 its great Nov 03 06:57:13 I might go with an Android phone for my next one just because I need something phone-like for dev, but I really don't like the idea of actually using an Android phone Nov 03 06:57:16 in the next week or so i plan on picking up a lumia 521 to try out something different Nov 03 06:57:42 I like developing for it, but it kind of sucks to be a user. Nov 03 06:57:47 Nilium yeah, i didn't want another android phone, especially on vz jesus Nov 03 06:57:51 Nilium, android is actually very good now. at least ones with close to stock UI Nov 03 06:57:53 can some1 just check for me that Telephony.Sms.getDefaultSmsPackage(this) called in on resume does not return null on api 19 ? Nov 03 06:57:58 Nilium why not a nexus 7 ? Nov 03 06:57:59 I'm going crazy here Nov 03 06:58:14 I have a Nexus 7, but that's not an accurate representation of a phone display. Nov 03 06:58:17 Nilium, what OS do you prefer? Nov 03 06:58:21 mystupid: Android _is_ good now. The apps, however, blow. Nov 03 06:58:34 I like most of the apps. they are great Nov 03 06:58:37 I prefer my iPhone for a phone. Nov 03 06:58:50 I cant think of an app i need that is bad Nov 03 06:59:06 I can think of apps I want that either don't exist or do exist but are very poorly made. Nov 03 06:59:15 example? Nov 03 06:59:24 Skype is awful, i use i a lot Nov 03 06:59:33 works fine on my 3rd gen iPod touch still Nov 03 06:59:37 Any writing app with basic analysis tools ala' Phraseology: doesn't exist. Nov 03 07:00:00 new skype app isnt bad Nov 03 07:00:12 I blame this partly on Android not providing any linguistic tools that I know of, whereas iOS at least has NSLinguisticTagger. Nov 03 07:00:16 mystupid it was slaying my battery Nov 03 07:00:23 Skype's freakin' terrible, but that's Skype, not Android. Nov 03 07:00:25 It's awful everywhere. Nov 03 07:00:44 Also still haven't found a good twitter client for Android, oddly enough. Nov 03 07:00:53 I'm actually not sure how to explain that one Nov 03 07:01:15 Like, there should be good Twitter clients, but finding anything on the market is kind of a pain. Nov 03 07:01:16 Samsung got twitter to tablet optimize for their tablet only; at least initially Nov 03 07:02:32 i played with a Surface 2 and would love to have one of those to run Lr Nov 03 07:02:36 but thats tablets Nov 03 07:02:46 I get along fine with Plume for twitter Nov 03 07:02:52 i have heard about falcon pro twitter app Nov 03 07:02:54 StingRay_: screenshoots from me? Nov 03 07:02:58 looks good, but i dont use twitter Nov 03 07:02:59 I would like a Surface 2 but I have no idea what I'd do with it, since I don't have a Windows install to develop Windows apps Nov 03 07:03:23 Gavilan3: yes Nov 03 07:03:33 that was a while ago :) Nov 03 07:03:50 I dunno. For me, Android is just the platform I like to develop for (partly because I get to use Scala and IntelliJ). I don't feel like I get anything out of it as a user. Nov 03 07:04:06 i feel that way exactly Nilium Nov 03 07:04:23 StingRay_: I don't have screen shoots, tough I think I have one of the nine patches Nov 03 07:04:39 Also need to look at Plume now. Nov 03 07:04:44 so interesting these opposite sides of spectrum, i cant even imagine using an iphone Nov 03 07:05:08 Yeah, it's a personal preference thing. Nov 03 07:05:19 I like both OSes just fine, I just don't like Android apps. Nov 03 07:05:33 So I'm sort of hoping I eventually make all the Android apps I want. Nov 03 07:05:54 Leeds: Is the gaudy striped background in Plume optional? Nov 03 07:06:25 Nilium i take it you dont like obj-c much Nov 03 07:06:36 erm... there's an optional striped background to highlight mentions, if that's what you mean Nov 03 07:06:38 I love Obj-C. Nov 03 07:06:44 That's what I meant. Nov 03 07:06:46 just install the bloody thing and have a look Nov 03 07:06:50 Nilium: http://getfalcon.pro/ Nov 03 07:06:55 My connection is slow tonight >:| Nov 03 07:07:07 looks really good, but i dont have twitter, cant say for myself Nov 03 07:07:15 video shows good featrues Nov 03 07:07:31 I'll see if it's on the Play store. Won't get it if it's not. Nov 03 07:07:40 isn't Falcon the one which has been blocked a couple of times because it ran out of twitter API tokens? Nov 03 07:08:20 its not on the play store Nov 03 07:08:21 Looks like they require you to provide your own token Nov 03 07:08:24 Leeds, yes Nov 03 07:08:37 whats is your problem with non play store apps? Nov 03 07:08:52 I'm a very paranoid person. Nov 03 07:09:59 its the same app as it was when it was on the play store -_- Nov 03 07:10:14 Why should I trust that? Nov 03 07:10:30 I'd be more paranoid running a closed source device like an iphone :) Nov 03 07:10:56 the play store has a lot of fake trojanish spammy apps as well Nov 03 07:11:11 Yeah, but at least they'll get pulled off a device once found Nov 03 07:11:14 well those are obvious not to downloads Nov 03 07:12:12 imo your problem is not real Nov 03 07:12:28 Also, I don't really care that iOS is closed source. Large chunks of what people actually think of as Android are as well, even if they don't fall under the AOSP. Nov 03 07:13:19 google apps are closed source Nov 03 07:13:21 OS is open Nov 03 07:13:33 There are things I can control and can't control. I can control where software on my device comes from, so I choose to limit it to a source I can more reasonably trust. Nov 03 07:13:40 I don't even know why you're arguing about this with me. Nov 03 07:13:52 Does my choice offend you? Nov 03 07:14:10 No, it confounds me. Nov 03 07:14:25 imo your problem is not real Nov 03 07:14:27 mystupid the baseband firmware is closed source; doesn't matter how much else is open; in the end you can't trust the phone ;) Nov 03 07:14:52 fighting crazy with crazy Nov 03 07:14:55 :) Nov 03 07:15:04 everything you do is also going through your carrier Nov 03 07:15:13 no, i dont have a carrier :) Nov 03 07:15:27 you have an isp, proof: you just sent that to me Nov 03 07:15:31 * Nilium will refrain from furthering this discussion Nov 03 07:16:15 mystupid isp != carrier; but i guess at the end of the day nsa is everywhere; touché Nov 03 07:16:22 :) Nov 03 07:16:37 Oh, nice, Plume lets me give every tweet its own colohgodthiswasabadidea Nov 03 07:16:56 explain please Nov 03 07:17:18 what does this part mean? "coloh" Nov 03 07:17:22 cool oh? Nov 03 07:17:37 anyone able to test what I asked ? cause I'm dead in the water here Nov 03 07:17:45 and quite frustrated tbh Nov 03 07:17:46 what did you ask? Nov 03 07:17:57 can some1 just check for me that Telephony.Sms.getDefaultSmsPackage(this) called in on resume does not return null on api 19 ? Nov 03 07:18:28 understanding that is beyond me :D Nov 03 07:18:41 if you could tell me how to check, sure Nov 03 07:18:59 you have a kitkat ready test environment ? Nov 03 07:19:08 okay Nov 03 07:19:12 target kitkat and run that as a line Nov 03 07:19:16 does it return null ? Nov 03 07:19:19 simples Nov 03 07:19:26 target kitkat? Nov 03 07:19:27 StingRay_: why not work with SmsManager? Nov 03 07:19:48 how do i target kitcat? Nov 03 07:19:53 new kitkat enforcement Nov 03 07:19:59 @thepoosh Nov 03 07:20:16 its the kitkat police ! Nov 03 07:20:44 what do you mean kitkat test env? like a device running it? Nov 03 07:20:52 or the source code? Nov 03 07:20:55 if you won't have a break, we'll give you one ! Nov 03 07:20:58 being able to run that line and get a result Nov 03 07:21:08 run it in what? D: Nov 03 07:21:10 StingRay_: any source for this? Nov 03 07:21:11 an app? Nov 03 07:21:16 I'll need to do some changes myself Nov 03 07:21:20 ok dont matter :) Nov 03 07:21:33 http://android-developers.blogspot.fr/2013/10/getting-your-sms-apps-ready-for-kitkat.html Nov 03 07:21:37 @thepoosh Nov 03 07:21:46 oh wait i can make an app quickly to test if you want Nov 03 07:22:01 or you got it? Nov 03 07:22:06 StingRay_: this is right only for SMS apps right? Nov 03 07:22:14 indeed Nov 03 07:22:18 well no Nov 03 07:22:19 if I just send them from within my app this has nothing to do with me? Nov 03 07:22:25 it's for apps that want to be default Nov 03 07:22:30 oh Nov 03 07:22:31 ok Nov 03 07:22:36 I just send SMS invites Nov 03 07:22:37 StingRay_, do you still want me to test? Nov 03 07:22:38 and need to WRITE to cp Nov 03 07:22:40 thank god Nov 03 07:22:44 cp? Nov 03 07:22:50 contentProvider Nov 03 07:22:56 hmmmm Nov 03 07:22:57 ok Nov 03 07:22:59 SMS/mms/smsmms Nov 03 07:23:14 can still read etc Nov 03 07:23:19 will old permissions Nov 03 07:23:26 and can still send with smsmanager et Nov 03 07:23:29 cetc* Nov 03 07:23:31 offs Nov 03 07:23:42 * StingRay_ is flustered Nov 03 07:23:42 yay!!! Nov 03 07:24:04 StingRay_, do you want me to test what that returns still? Nov 03 07:24:12 yeah if yo ucan Nov 03 07:24:15 okay Nov 03 07:24:37 would simplest way to do that be write a quick app and run it? Nov 03 07:25:07 single activity no simple, run that line in onResume Nov 03 07:25:45 well maybe do an if(thatline==null){log.e('yep","api is fked");} Nov 03 07:25:51 onResume is a method in the main activity? Nov 03 07:26:02 mystupid: your not an android dev ? Nov 03 07:26:09 maybe dont do it then lol Nov 03 07:26:10 not that much :D Nov 03 07:26:34 i made a hello world app with a button that makes a toast lol Nov 03 07:26:49 i know some java though Nov 03 07:27:18 i can run that line, just i dont know what onResume is. im a big noob Nov 03 07:27:59 wait, i would need a 4.4 phone anyway, not an tablet right? Nov 03 07:28:16 dont matter :) Nov 03 07:28:25 I will figures something Nov 03 07:28:30 figure* Nov 03 07:28:57 *starting eclipse* Nov 03 07:38:56 uh Nov 03 07:40:55 wtf adb wont run Nov 03 07:40:59 in eclipse Nov 03 07:43:42 :/ Nov 03 07:45:58 oh cool now eclipse froze Nov 03 07:47:08 okay how should i get the logcat from that app? adb logcat? Nov 03 07:49:00 I thought of new business model of utility app Nov 03 07:49:16 The user pays once, and coul Nov 03 07:49:20 StingRay_, how do i create a logcat object Nov 03 07:49:42 you said do {log.e('yep","api is fked"); Nov 03 07:50:27 well it's Log class Nov 03 07:50:27 And could "return app" immediately with 100% payback. And while time passes the "percentage of payback" is decreasing. Nov 03 07:50:29 but forget it Nov 03 07:50:33 oh capital Nov 03 07:50:46 honest, I'm attempting to sort/look at it Nov 03 07:50:56 yeah i tried it, says its messed up Nov 03 07:51:20 bluesm_: thats been talked about, and considerd and is something that may be introuduced Nov 03 07:51:31 in the subscription model Nov 03 07:51:50 if you read the plans for subscriptions Nov 03 07:51:53 i made an app with a button that tests it, because idk wtf the onResume thing you are talking about is, im not sure if that matters though Nov 03 07:52:06 dont matter at all Nov 03 07:52:13 so it comes back null ? Nov 03 07:52:15 yep Nov 03 07:52:17 D: Nov 03 07:52:19 and you are testing on api 19 ? Nov 03 07:52:22 correct Nov 03 07:52:27 ffs google Nov 03 07:52:28 on a nexus 7 Nov 03 07:52:32 oh wait Nov 03 07:52:39 ?? Nov 03 07:52:45 is it a mobile data n7 ? Nov 03 07:52:57 do me a fav, go into settings Nov 03 07:53:01 k Nov 03 07:53:05 network > Nov 03 07:53:13 do you have set default sms app option ? Nov 03 07:53:15 oh its not a mobile data one Nov 03 07:53:18 D: Nov 03 07:53:23 you said it doesnt matter before Nov 03 07:53:24 lol Nov 03 07:53:52 wait, i would need a 4.4 phone anyway, not an tablet right? Nov 03 07:53:52 * Gavilan3 has quit (Ping timeout: 248 seconds) Nov 03 07:53:53 dont matter :) Nov 03 07:54:12 i was meaning "dont matter, I will look at it" Nov 03 07:54:18 oh Nov 03 07:54:36 unless i can get 4.4 on my gs3 (probly not) i can not test that Nov 03 07:56:00 well can in an emulator Nov 03 07:56:12 want me to? Nov 03 07:58:21 StingRay_: it is not exactly "subscription" Nov 03 07:58:39 im starting VM i can try that if you want Nov 03 07:59:00 bluesm_: well the model is the same Nov 03 07:59:05 I wonder if android's internals use reflection much Nov 03 07:59:13 decreasing term assured refunds Nov 03 07:59:17 it seem like it does Nov 03 07:59:20 StingRay_: its more like a way to asses the app . Nov 03 07:59:43 bluesm_: then thats a trail period on a subscription Nov 03 07:59:54 x amount of days before 1 charge Nov 03 08:00:11 coupled with the decresing partial refunds that they will eventually get round to doing Nov 03 08:00:24 damn AVD manager thing is SLOOWWWW Nov 03 08:01:11 lol im eating kitkats right now Nov 03 08:02:18 has anyone here succesfully compiled and run kitkat? Nov 03 08:02:28 my ota zip will not flash Nov 03 08:04:24 tes Nov 03 08:04:25 test Nov 03 08:04:34 . /system will not flash. even with fastboot flash system Nov 03 08:08:05 so confusing, no reason it shouldnt work Nov 03 08:12:04 StingRay_: "trail period"? Nov 03 08:16:05 StingRay_: could you link to any of those "discussion"? Nov 03 08:16:15 oh i dont have the drivers -_- Nov 03 08:16:22 give me it google! Nov 03 08:17:28 bluesm_: they are not discussions Nov 03 08:17:34 they are mentioned in all the iap docs Nov 03 08:18:55 StingRay_: in app purchase docs of android ? Nov 03 08:19:02 yay!!! I can now be the default sms app in kitkat Nov 03 08:19:08 bluesm_: yes Nov 03 08:37:57 android has no package-info ? Nov 03 08:38:10 <^cheeky> what Nov 03 08:38:15 <^cheeky> StingRay_: niice Nov 03 08:39:54 pacakge-info.java Nov 03 08:46:11 <^cheeky> strange .. i can register a BroadCast Receiver in a Fragment . Nov 03 08:46:40 <^cheeky> maybe i am missing something thought it only can be sent to an activity Nov 03 08:47:44 can be registered off anything with access to context ? Nov 03 08:47:53 and private filter I would think Nov 03 08:48:01 dont know 100% but seems logical that way Nov 03 08:48:43 <^cheeky> i get the with contaxt part .. Nov 03 08:49:08 <^cheeky> nvm i thought i saw, it in the docs somewhere Nov 03 08:49:14 <^cheeky> sorry perhaps i am just tripping Nov 03 08:50:28 <^cheeky> nvm Nov 03 08:50:47 <^cheeky> It can't interact directly with your user interface. To put its results in the UI, you have to send them to an Activity. Nov 03 08:51:01 <^cheeky> and i pass the context of the activity to my fragment Nov 03 09:08:29 Are there any plans for the android framework to support optional permissions? for example, I am working on an app that sends an sms for purchasing parking tickets. It is very convenient than typing the sms oneself but i am concerned some people may not want to give that access to me, for them I'd like to simply open the SMS app with the body filled with my message. Nov 03 09:14:45 sulaiman: http://www.androidsnippets.com/send-sms-via-intent Nov 03 09:16:03 icedp, but I would only want to do that if the user denied permission to send sms via code. As of now, the user can only install the app if he or she accepts all the permissions. Nov 03 09:17:00 sulaiman: it should open default sms app, you don't have to have permission for that Nov 03 09:18:52 icedp, no i meant I would only like to open the default sms app if the user did not give me the permission to execute "SmsManager.getDefault().sendTextMessage()" Nov 03 09:19:33 I believe it requires the android.permission.SEND_SMS permission Nov 03 09:21:18 sulaiman: no you can't get permission if you don't have it in manifest, there is no optional permission so far Nov 03 09:21:38 if I don't dismiss a dialog that was created by my activity when Activity#onDestroy() is called, will it lead to a leak? Nov 03 09:22:20 sulaiman: at the moment, there is nothing... however, in the Android 4.3 release, something called "AppOps" was partially enabled - http://commonsware.com/blog/2013/07/26/app-ops-developer-faq.html Nov 03 09:22:59 ecraven: yes but that's other way around - to turn off permissions Nov 03 09:23:03 Leeds: Nov 03 09:23:07 ecraven: sry Nov 03 09:53:49 is it possible to make unit tests that won't require a VM or a device to run them? Nov 03 09:53:56 for testing activities Nov 03 09:54:41 take a look at robolectric Nov 03 10:38:26 <^cheeky> if you start getting .. Cache Conflicts with android studio .. has my install gone corrupt .. Nov 03 10:38:59 StingRay_: you have sms APP? :-) Nov 03 10:55:57 bluesm_: yeah, well in open beta and not feature complete Nov 03 10:55:59 but yes Nov 03 10:56:06 you have one ? Nov 03 10:57:05 StingRay_: No :-) Nov 03 10:58:06 just making it kit kat ready, cause I fking hate hangouts for anything other than video chat Nov 03 10:58:08 :) Nov 03 11:25:32 fk u kitkat int your nexus 5 armour! Nov 03 11:25:35 in* Nov 03 11:25:56 and your led notification oddities ! Nov 03 11:31:55 <^cheeky> b0000 :P Nov 03 11:32:10 <^cheeky> StingRay_: pass it over here Nov 03 11:32:17 <^cheeky> ill take it :)) Nov 03 11:33:51 ^cheeky: out of interest, how old are you ? Nov 03 11:35:46 <^cheeky> 20s range ... lol i know i sound tarded Nov 03 11:39:38 <^cheeky> StingRay_: surprised lol Nov 03 11:42:54 <^cheeky> StingRay_: why did you ask .. out of interest Nov 03 11:43:39 ^cheeky: StingRay_: why did you ask .. "out of interest" Nov 03 11:43:41 <^cheeky> arrrrgh suns coming up !!! Nov 03 11:46:02 <^cheeky> i can't wait for this .. to happen Nov 03 11:46:02 <^cheeky> http://www.youtube.com/watch?v=u8PzkGM60Lc&list=SP6BF5DAE7D4915461 Nov 03 11:48:40 <^cheeky> StingRay_: hows that screen on n5 Nov 03 11:58:09 hi, trying the new android studio with Java 7 stuff. I always get a "The following modules are build with incompatible JDK" and offer me to rebuild with -target 1.6 or change the java sdk Nov 03 11:58:21 technically all is working with java 1.7 Nov 03 11:59:30 Foxandxss, there's a few things in the android sdk that won't work with 1.7 Nov 03 11:59:37 try-with-resources is one of them Nov 03 11:59:44 you should use 1.6 for android Nov 03 12:00:00 sure, but if android studio and android 4.4 is now compatible with java 1.7 Nov 03 12:00:08 everything should work Nov 03 12:00:14 I mean, don't offer something you can't use Nov 03 12:00:30 Android 4.4 is compatible with java 7? Nov 03 12:00:33 even try-with-resources (but just api 19 in that case) Nov 03 12:00:54 technically with every version of android Nov 03 12:00:58 Also, are you building ONLY against 4.4? Nov 03 12:01:01 except try-with-resource which is 4.4 only Nov 03 12:03:09 tried minSdk to 19, same problem Nov 03 12:04:08 Can't help you with your problem, just want to let you know that I have no issue building with java7 Nov 03 12:04:40 Some people in here even build with java8 Nov 03 12:05:16 As long as you don't use unsupported features Nov 03 12:05:23 it is just a preview window Nov 03 12:05:53 which cannot render due to that Nov 03 12:06:17 How do I reset camera preview after a pic has been taken? Nov 03 12:08:10 hi does anyone know how to refresh textview when returning to activity? Nov 03 12:09:12 this is my code http://pastie.org/8452093 , but it does not display the new value on the screen Nov 03 12:23:28 hello i want to create a navigation drawer and in the beginning i want to add a linearlayout inside the framelayout in order to add two fragments side by side Nov 03 12:24:07 the problem is when i make any selection in the drawer all other layouts have only one fragment Nov 03 12:24:28 so i want to add a fragment in the framelayout and not two at the same time Nov 03 12:38:04 ^cheeky: I care little for the screen Nov 03 12:38:14 I care about this kit kat balls Nov 03 12:38:49 but if I were to review the screen, it's mobile ips, what can I say, the color is accurate and the desnity is stunning, comming from a galaxy nexus Nov 03 12:45:02 <^cheeky> StingRay_: I <3 my n4 when i got it and it was my first and i still adore it , but one thing that kinda was mehisshhh about was the fact the screen could have been crispier but it was minor. yeah i want kitty tooooo i hope i get it soon .i just read you got the new SMS app huh Nov 03 12:46:05 got the new sms app ? Nov 03 12:48:39 if I were evaluating this n5 as a user, I would say it has lots of software problems, but the biggest apparent hardware related issue to me is maybe the speaker/s and the ear peice Nov 03 12:48:55 speaker lacks range Nov 03 12:49:00 tonal range Nov 03 12:50:06 <^cheeky> hmmm Nov 03 12:50:21 <^cheeky> software issues, noooo Nov 03 12:50:27 <^cheeky> come one Droid .. Nov 03 12:50:38 <^cheeky> in such Good momentum right now Nov 03 12:50:48 well design and functional issues with kk Nov 03 12:51:02 inconsistencies etc Nov 03 12:51:21 <^cheeky> hows the camera ? Nov 03 12:51:37 compared to my dslr's not all that good at all Nov 03 12:51:45 compared to my gnex, quite amazing Nov 03 12:52:16 <^cheeky> i am like no pro @ all with the camera or anything but the n4 camera kinda .. was all right ... then again maybe it user error, but comparing it to my friends phones, i.e iPhone .. way better Nov 03 12:52:20 not sure (or care) what the hdr+ mode is, but it does some nice range filtering Nov 03 12:52:48 <^cheeky> one thing i loved was the photosphere Nov 03 12:53:37 Hey guys, I'm using android-studio and I have no idea how to fix this error: http://pastie.org/private/qhdlsn9rlvnrbhxwlejw Nov 03 12:53:45 <^cheeky> i am about to head to the west coast .. in a few weeks, so if it works out i might drive cross country, hoping i can get a few shots along the way Nov 03 12:53:51 From what I understand it happens if I import a library twice... I'm only importing it once Nov 03 12:53:55 Unless I'm missing something, that is Nov 03 12:54:38 ^cheeky: what are you going to be shooting at? Nov 03 12:54:58 oh Nov 03 12:55:03 nvm :) Nov 03 12:55:04 skeet. Nov 03 12:56:46 <^cheeky> lol Nov 03 12:58:13 <^cheeky> wish it was 4.7 inches with the same thin bezel it has now Nov 03 12:58:29 <^cheeky> like to operate and ams with one hand Nov 03 12:58:33 <3 skeet shooting! Nov 03 12:58:40 <^cheeky> skeeet skeet Nov 03 12:58:43 :) Nov 03 12:58:50 I want a over under so bad... Nov 03 12:59:12 Took my pump mossberg the first time I went and realized that wasn't the best idea lol Nov 03 12:59:19 fun none the less Nov 03 13:02:24 * StingRay_ has an clay gun for sale currently Nov 03 13:02:38 browning cynergy Nov 03 13:02:42 anybody here tried testing with Robolectric? Nov 03 13:02:45 oOOoo Nov 03 13:02:56 I wonder if there are any issues I should be aaware of with this Nov 03 13:03:01 StingRay_: have a link for that? Nov 03 13:03:03 nice, bit heavy and probably more for olympic trap cause comes with full extended chokes Nov 03 13:03:08 * ^cheeky wishes he has StingRay_ dslr :P Nov 03 13:03:38 phutchins: UK Nov 03 13:03:46 I take it your in the states ? Nov 03 13:04:22 That i am... Nov 03 13:04:31 I'm not realy in the market yet honestly Nov 03 13:04:41 But always interested in looking :) Nov 03 13:04:45 :) Nov 03 13:04:56 Upcoming wedding trumps all :) Nov 03 13:05:06 ugh! Nov 03 13:05:08 :) Nov 03 13:05:20 even less toys after that bad boy Nov 03 13:05:23 haha Nov 03 13:05:30 thats grow up time dammit Nov 03 13:05:31 :) Nov 03 13:05:36 Thats what everyone says... I think i'll be alright tho :) Nov 03 13:05:59 I've got more than enough toys as it is now... And the girl's definitely worth it so :) Nov 03 13:06:38 see I want to know why google assumes that everyone "wants" to use their over complex convoluted sms/mms/smsmms content provider Nov 03 13:09:08 phutchins: http://www.browning.com/products/catalog/family.asp?webflag_=014B there she is Nov 03 13:11:12 one gun I am impressed with is the beretta xtrema2 , I have the syntetic version and it cycles faster than a minigun Nov 03 13:11:34 balls I should stop talking gun crap on this channel now! Nov 03 13:11:35 :) Nov 03 13:12:37 StingRay_: beautiful gun :) Nov 03 13:12:46 and sorry for being off topic lol. Had to chime in when I saw skeet... Nov 03 13:15:09 <^cheeky> lol , android-offtopic ... that was taken down Nov 03 13:15:11 <^cheeky> !!! Nov 03 13:17:21 <^cheeky> Enders game wish it was on Blue way!!!! Nov 03 13:19:10 <^cheeky> ok i need more monster .. reading making Zzz Nov 03 13:19:22 Um. Quick question regarding android google maps & gps. Say I have a WIFI connection but do not have GPS enabled is it still possible to get map coordinates from each screen corner say I zoom in to my city like down to the street level and have GPS off can I still get the latitude and longitude of all of my screen corners ? Nov 03 13:21:50 neredsenvy: I'm not sure but I guess with only wifi, you only not able to get the height of the device. Nov 03 13:22:00 anyone tried using Intent. ACTION_OPEN_DOCUMENT on KitKat and received an ActivityNotFoundException? Nov 03 13:22:18 Does there need to be at least one documentProvider installed? Nov 03 13:35:05 AlCapwn: just done action_open Nov 03 13:35:14 and got the provider choosery thingy Nov 03 13:35:18 hmmm Nov 03 13:35:44 Did you use Category OPENABLE? Nov 03 13:35:59 hang on, old call, no idea Nov 03 13:36:13 I used that category and the MIME type of text/* Nov 03 13:36:27 Docs say to add that category to be open the returned content:// URI Nov 03 13:36:30 oh no Nov 03 13:36:34 +able to open Nov 03 13:36:39 I was firing ACTION_GET_CONTENT Nov 03 13:36:49 and a type Nov 03 13:37:23 works so not all that fussed :) Nov 03 14:24:27 hi Nov 03 14:24:50 how i can random letter a to z with ascci code hexadecilaml Nov 03 14:25:17 61 to 7B Nov 03 14:25:27 or i use decimal code Nov 03 14:25:37 for generate random letter Nov 03 14:29:37 generate a random number in that range, cast to char Nov 03 14:39:29 hello, i am trying to compile a new project made with maven and get this error http://pastebin.com/FU8jFx8t ...any ideas ? Nov 03 15:17:24 <^cheeky> crapy .. this is sad but funny, i am failing @ even copying google sample code, i dunno if gradle has started to bully me or what , but it keeps saying i am having resource error coz i am using a custom view, and i am giving the whole bloody class path !!! arhhhhrhrhrhr Nov 03 15:18:39 * ^cheeky wishes, magically a bowl of premium matcha tea, producing steam with a temperature of 170-178~ish Nov 03 15:18:56 <^cheeky> appears Nov 03 15:18:57 ah, that reminds me - night-tea-time Nov 03 15:19:15 not sure why you'd want it 70 degrees above boiling though Nov 03 15:19:50 <^cheeky> sorry F Nov 03 15:21:11 <^cheeky> !Celsius Nov 03 15:21:17 <^cheeky> Leeds: what you about to drink Nov 03 15:21:56 chilled oolong Nov 03 15:22:45 <^cheeky> some one else told me about oolong , but never tried it, has seen it so many times, but havent consumed Nov 03 15:22:49 285.15 K here Nov 03 15:24:23 <^cheeky> i really need some Ltheanine Nov 03 15:24:46 in the meantime, why doesn't the zxing barcode scanner want to work on my phone... Nov 03 15:24:49 <^cheeky> its morning here, and wow the sun is bright !!! and fall leaves on tress look niiiice Nov 03 15:29:24 tested with my gf's phone, it scans perfectly Nov 03 15:32:21 okay, now that's weird... I'm launching the zxing scanner by an Intent from my app, it won't scan... Nov 03 15:32:35 okay, now that makes sense - me being dumb, blinding copying code without reading it Nov 03 15:34:42 so it turns out that when you pass in the QR_CODE_MODE intent extra, it doesn't do such a good job at scanning non-QR-codes :) Nov 03 15:37:13 <^cheeky> hehe, intresting, Nov 03 15:37:39 <^cheeky> and your right same issue kinda .. i need to add attars.xml Nov 03 15:37:50 <^cheeky> attrs Nov 03 15:38:57 and just to confirm, when you comment out that line, it happily scans QR codes and regular 1D barcodes Nov 03 15:44:06 <^cheeky> your scanner is built in or . Nov 03 15:46:06 not at the moment - I'm just trying to knock up a quick proof of concept before meeting up with my boss in about... oh, 9 hours Nov 03 15:49:21 <^cheeky> heh nice Nov 03 15:52:55 anyone have any suggestions on the best way to approach getting a list of all calendar events within a range of time? Nov 03 16:07:18 query the provider with a date range ? Nov 03 16:07:52 vlcn: how else are you doing it at the moment ? Nov 03 16:09:48 StingRay_: it seems like getting recurring events is kind of a pain in the ass Nov 03 16:09:54 unless I am missing something Nov 03 16:10:39 isn't there just like a field ? that says the occurance / reoccurance type ? Nov 03 16:13:13 heys Nov 03 16:13:23 anyone here also on Irondust irc server? Nov 03 16:20:28 StingRay_: you have to query the instances table separately Nov 03 16:20:35 just more involved than I had anticipated Nov 03 16:20:56 there no combined cursor that you can get ? Nov 03 16:21:05 I would find it very odd if not Nov 03 16:28:51 StingRay_: yeah, me too. I could be missing something though ;) Nov 03 16:29:06 realistically I don't even need the events, I just need to get the 'open slots' Nov 03 16:29:30 not really even sure what kind of data structure I want to use for that Nov 03 16:39:11 hi there, has anyone ever used restlets on android? restlet.org Nov 03 16:44:20 <_ohm> Trying to add rows to a TableLayout upon file read. I get an IllegalStateException when I do it in a seperate method and when in a handle I can't make a new TableRow view to add to the defined TableLayout view. Any suggestions? Nov 03 16:44:36 <_ohm> handler* Nov 03 17:24:14 vlcn: is this what you need? http://developer.android.com/guide/topics/providers/calendar-provider.html#query-instances Nov 03 17:25:32 ashooby, kind of. I didn't find that sample code to be terrible helpful. Nov 03 17:25:36 but I did get it working Nov 03 17:25:51 it looks like querying the instances table with a range should give you everything in that range, no? Nov 03 17:25:55 ah Nov 03 17:28:22 Anyone has nexus5?? Nov 03 17:28:54 Need some1 to test a thing as I didn't get mine Nov 03 17:32:48 mithun46: #Nexus5 might be a good place to check. ;) Nov 03 17:33:10 K Nov 03 17:52:04 Anyone knows if there is an official place to ask about android-studio? Some group or something. SO has a lot of questions but much of them without answers Nov 03 18:15:18 I have made a 9 patch image as background for a button, now, how do I get the button have a size adapted to the text on the button rather than the background image? Nov 03 18:21:00 with android.net.uribuilder how do set the port number? Nov 03 18:21:48 android.net.uri.Builder* Nov 03 18:36:42 <^cheeky> so if i want to zoom into an image .. i would have to download two version of the image .. actually store, them and animate from the one thats smaller to the bigger or .. just get one high quality images scale it down and zoom ? Nov 03 18:39:09 hm, this dm-verify kernel feature is interesting Nov 03 18:39:16 ^cheeky: I would say download two versions, doing image processing on the device is not a good idea Nov 03 18:39:44 generally try to keep the clients dumb Nov 03 18:39:58 <^cheeky> oh noes, :( these images are quite big so two images !!! aye aye Nov 03 18:40:01 <^cheeky> hmmm Nov 03 18:40:18 <^cheeky> maybe one slightly bigger i suppose Nov 03 18:40:33 ^cheeky: square's got a library to do image resizing Nov 03 18:40:40 let me dig it up for you Nov 03 18:41:10 <^cheeky> haha Nov 03 18:41:14 <^cheeky> yeah i am using it Nov 03 18:41:25 <^cheeky> but thats not dong the Zoom part Nov 03 18:41:38 ^cheeky: ah ok cool, whats the name of it btw? Nov 03 18:41:44 <^cheeky> actually aim trying all types of things Nov 03 18:42:03 <^cheeky> just created a Executor service for giggles will see Nov 03 18:42:05 <^cheeky> but aim zoo Zzz Nov 03 18:42:12 <^cheeky> neer: thank you :)) Nov 03 18:42:21 whats the name of the square library thought? Nov 03 18:42:28 though* Nov 03 18:42:40 <^cheeky> picasso Nov 03 18:43:09 <^cheeky> nifty code indeed Nov 03 18:43:16 ^cheeky: nono thats for client side downloading, this library is for server side Nov 03 18:43:40 <^cheeky> server side .. as in .. Nov 03 18:43:44 and it makes it so that with the uri for the image you can specify sizes Nov 03 18:44:26 so like http://.com/images/smorgasboard.jpg60x50 Nov 03 18:44:35 so at the end you can specify the size of the image Nov 03 18:44:41 you want returned Nov 03 18:44:43 and it does it Nov 03 18:44:45 like magic Nov 03 18:44:54 <^cheeky> thats wicked!!! Nov 03 18:44:56 <^cheeky> wait .. Nov 03 18:45:08 <^cheeky> too slowwwww . to type lol Nov 03 18:45:36 <^cheeky> so i have to have my own server Nov 03 18:45:45 <^cheeky> you have link for me toe explore Nov 03 18:48:14 ^cheeky: yea hold up my fine fettered friend, just looking for it Nov 03 18:48:31 <^cheeky> o hman Nov 03 18:48:35 <^cheeky> i feel bad, Nov 03 18:48:52 <^cheeky> i am googling 2 Nov 03 18:49:00 lol Nov 03 18:51:23 <^cheeky> neer: its cool dude Nov 03 18:51:41 <^cheeky> i am gonna get some knom knom Nov 03 18:51:48 <^cheeky> cheers Nov 03 18:52:10 ^cheeky: you're weak, just kidding Nov 03 18:52:48 <^cheeky> :P Nov 03 18:52:59 <^cheeky> they got a bunch of crazy shit !!!! Nov 03 18:53:09 <^cheeky> daam respettttaa Nov 03 18:57:03 ^cheeky: if you still alive. Here's the library: https://github.com/globocom/thumbor Nov 03 18:57:24 <^cheeky> would it be faster, to store my items that i download .. as objects in memory or actually use the SQL server, objects such as the image details, geo locations, author etc etc, coz in the future say i want to filter down results .. then i would have to traverse my data struct, where as i am assuming straight up query to DM will get me my objects faster ... :/ Nov 03 19:15:03 I get this when loading an interstitial ad: JS: Uncaught ReferenceError: AFMA_ReceiveMessage is not defined (null:1) Nov 03 19:15:05 any ideas? Nov 03 19:15:35 it shows the ad ok and the app doesnt crash though Nov 03 19:18:42 ok, looks like it only happens if the device is added as test device Nov 03 19:34:58 Do I still need JDK 6 (as opposed to JDK 7) to compile Android apps? Nov 03 19:38:02 How do I have multiple instances of the same fragment with different content? Nov 03 19:38:45 I want to have a few of them and setText in child TextViews to different values Nov 03 19:38:54 You haven't needed jdk6 for a few years now Nov 03 19:39:19 Just can't use some java7 features pre-kitkat Nov 03 19:48:18 <^cheeky> neer: hey ya .. i was reffered to that, but i need my own server facing the net .. Nov 03 19:48:56 ^cheeky: ah ok, it's the bomb though Nov 03 19:50:30 <^cheeky> dude, i am assure i am going to play with it , cheers man Nov 03 20:39:03 when i power up my n7, holding it in my left hand, the lock screen has a brief outline of a square around the area my thumb is touching the screen … what is that ? Nov 03 20:41:39 it's to advertise the lockscreen widget feature Nov 03 20:42:40 swipe to the screen on the left to add a widget. or swipe down on a widget to expand it to full screen (and hide the unlock ring) Nov 03 20:43:17 oh :) i thought it might be something wrong with the tablet ;) thanks Nov 03 20:44:46 it comes and goes so quickly Nov 03 20:45:29 yeah it's kind of weird and kind of distracting Nov 03 20:55:06 this is the second time the Kindle app totally crapped itself; i wonder if its because there is a bug i'm exposing in dev options -> finish activities or something Nov 03 20:55:58 have to delete data, cache, de-authorize the previous kindle id , re register, re download, ugh Nov 03 21:01:40 I'm thinking about getting into Android development by studying http://sourceforge.net/projects/learnmusicnotes/ but does anyone know of another (possibly better) open source Android app for learning music notes? Nov 03 21:15:17 hi all, is there a channel for newbie annoying questions? :> Nov 03 21:15:32 <^cheeky> just ask the question Nov 03 21:15:47 <^cheeky> questions are questions man Nov 03 21:15:51 thanks bro Nov 03 21:20:00 dragorn http://www.amazon.com/Bluetooth-Security-Attacks-Countermeasures-SpringerBriefs/dp/3642406459 Nov 03 21:20:22 i think we lightly talked about this; i think .. maybe it was somebody else :| Nov 03 21:20:22 g00s: interesting Nov 03 21:20:32 g00s: yeah and then i dropped the ball b/c i have no time Nov 03 21:20:36 :) Nov 03 21:20:44 oh, i got a n7. waiting for the sensortag to come Nov 03 21:20:52 g00s: the guy you want to look up is "mike ryan shmoocon bluetooth" Nov 03 21:20:53 * g00s keeps fingers crossed Nov 03 21:21:08 g00s: he covers the security implications really well in that talk Nov 03 21:21:16 dragorn cool, thanks ! Nov 03 21:21:32 is there like a web based android compile service out there where I can give it my github url and it compiles the app for me? Nov 03 21:21:41 <^cheeky> g00s: thats a freaking interesting read ! Nov 03 21:21:43 g00s: http://www.youtube.com/watch?v=AOqgH7dJWrQ Nov 03 21:21:52 xp_prg: nope Nov 03 21:22:00 at least haven't heard of one Nov 03 21:22:05 ... wouldn't exactly want one, either Nov 03 21:22:20 g00s: he's done more work since then Nov 03 21:22:43 i'll try to find it, thanks. pretty fascinating stuff Nov 03 21:22:51 g00s: that youtube link is it Nov 03 21:23:01 g00s: shmoo posts their videos Nov 03 21:23:09 :D Nov 03 21:23:16 g00s: swing by #ubertooth if you want; he's usually there (as am I) Nov 03 21:23:50 dragorn what is the topic of #ubertooth ? Nov 03 21:24:02 more security related ? Nov 03 21:24:13 g00s: the ubertooth hardware sniffer, which is what Mike used to attack btle Nov 03 21:24:21 oooh Nov 03 21:24:28 you guys have all the cool toys :) Nov 03 21:24:38 hey you can get an ubertooth. They're pretty cheap. Nov 03 21:24:57 I have been struggling with this GPS issue for 2 days now can someone please help me: https://gist.github.com/anonymous/a9a7f43a017ee7a0a702 What am I doing wrong here ? We have a strong GPS signal another app using GPS gets a GPS lock in under 10s not using last know location Nov 03 21:25:05 I'm still looking at hooking up a hackrf to android but have too much else going on Nov 03 21:25:14 when i had my own place, i had a bench, parts, scopes, soldering iron, parts, oh my god the parts, ... Nov 03 21:25:19 The while loop just keeps going on and on Nov 03 21:25:24 Location is always null Nov 03 21:25:46 Any ideas/suggestions will buy e-beer Nov 03 21:26:16 i got rid of my scope since i thought i would get one of those pci-based cards, but then never got one of those either Nov 03 21:26:36 logic analyzer, all the good stuff Nov 03 21:27:37 i kinda miss all of that, would be fun learning how to program fpgas Nov 03 21:29:18 g00s: one of the too-many-things I'm doing involves fpga stuff Nov 03 21:29:34 g00s: got a terasic board, and we just got the first spins of the custom fpga mainboard a team-mate designed back Nov 03 21:30:36 g00s: http://durandal.kismetwireless.net/~dragorn/images/daisho_mainboard.png ... and http://durandal.kismetwireless.net/~dragorn/images/daisho_mainboard_full.jpg Nov 03 21:31:05 oh yeah, awesome, did you do the board layout ? Nov 03 21:31:10 g00s: not on that one Nov 03 21:31:18 orcad or something else ? Nov 03 21:31:27 g00s: I'm not that good by any means. I'm doing the HDMI and Gig-E frontends though Nov 03 21:31:42 g00s: kicad, if you'd believe it. The most rage-inducing OSS cad there is :P Nov 03 21:32:11 g00s: the whole project is OSS/OSHW so we wanted the boards to be editable. I don't know how editable they are in kicad to be honest, but at least it's not $10k per seat Nov 03 21:32:38 i'm curious , i see some trails that have an interesting -|_|-|_| pattern in green, lhs coming off the chip Nov 03 21:32:44 are they trying to get some inductance ? Nov 03 21:33:22 layout of analog stuff is black magic :| Nov 03 21:33:39 g00s: That's length-matching of parallel high speed signals Nov 03 21:33:50 g00s: to make all the traces the same length, w/in a mm or so Nov 03 21:33:52 what i this running at ? Nov 03 21:33:59 speed / clock Nov 03 21:34:05 g00s: Well, most of those squiggly traces are on usb3 or sodimm RAM Nov 03 21:34:07 so "quick" Nov 03 21:34:12 few hundred mhz Nov 03 21:34:25 dragorn so awesome ;) Nov 03 21:35:18 g00s: http://durandal.kismetwireless.net/~dragorn/images/daisho-hdmi-power.png is one of mine; hdmi comes in, gets equalized, goes into a serdes where it gets clock-multiplied up to a few hundred mhz, deserialized and shot out the big port to the left into the fpga mainboard, then reserialized, amplified, and pushed out the other HDMI port Nov 03 21:36:06 <^cheeky> wow!!! Nov 03 21:38:01 i'm so behind on that tho ;( The gigabit ethernet sniffer board basically works; we think it's the only publicly available sniffer which is invisible; a switch doing spanport still exists on the ethernet (ie has a MAC and is in the spanning tree, etc)... we don't, and aren't... pure phy-phy decode, we even can mess with the packet preamble :) Nov 03 21:38:07 i think the first board i soldered up, the z80 was running at like 4khz :| Nov 03 21:38:30 g00s: nice; nothing wrong that that. It's only getting simpler now Nov 03 21:38:34 thats all way over my head :) Nov 03 21:38:44 g00s: i mean, I'm a total jackass w/ no EE training and I'm doing multi-hundred-mhz 6 layer boards :P Nov 03 21:38:59 g00s: and that's all commoditization of the industry Nov 03 21:39:17 6 layers ? Nov 03 21:39:19 wow Nov 03 21:39:24 the hdmi board is 6, the fpga is 8 Nov 03 21:39:28 :O Nov 03 21:39:42 i etched my own in acid baths, single or double layer :D Nov 03 21:39:43 they're pricey, but not unmanageably so - a few thousand dollars for a half dozen; since it's a funded project Nov 03 21:40:06 going above 4 layer is above "home hobby" level, but not by much - and it's only getting cheaper Nov 03 21:40:41 g00s: i'll never do home boards now that stuff like oshpark exists. < $20, < 2 weeks, full plated/masked/silkscreened Nov 03 21:41:01 oh yeah, that sounds much better Nov 03 21:41:18 g00s: he'll even run 4-layer, it's slower and twice as expensive - still amazing Nov 03 21:41:23 quick q though, i don't see a ground plane on your boards, i guess you guys know what you're doing though Nov 03 21:41:31 g00s: The fill is turned off in the screenshots Nov 03 21:41:37 ah, k Nov 03 21:41:39 g00s: also depends on the layer stackup Nov 03 21:42:01 so do the layout tools help prevent stuff like ground loops etc ? Nov 03 21:42:03 g00s: for the high speed parallel signals you get different signal behavior on the outside layers vs inside layers, and usually you end up doing signal, ground, signal, etc Nov 03 21:42:21 yeah, for shielding, makes sense Nov 03 21:42:28 so the outer layers dont' have a ground pour around the signals, b/c it causes capacitance and other wobblies Nov 03 21:42:38 but they sit on top of a solid or near solid ground pour across an entire layer Nov 03 21:42:53 Zooming a subview of a horizontal scroll view is actually kind of a pain in the neck. Nov 03 21:43:01 it gets kind of voodoo-y Nov 03 21:43:11 dragorn is a pour like a via, going from one plane to another ? Nov 03 21:43:33 g00s: no a pour is a solid fill on the same plane Nov 03 21:43:41 oh, ok Nov 03 21:44:04 g00s: and the GOOD tools will design aroudn electrical characteristics. Kicad won't. :P Nov 03 21:44:36 i did cmos circuit design for a while; everything is analog :) Nov 03 21:45:24 a little physical layout, but even then -at the time, behavioral synthesis was doing much of the layout, and that was reserved for special things like caches and clock trees Nov 03 21:45:55 nice. I've never looked at messing w/ silicon level stuff. Too much going on :P Nov 03 21:46:16 maybe once we get 3d printers, we'll get portable shoebox fabs :) Nov 03 21:46:18 I'm frantically writing sldies for a course I'm doing next weekend on wifi security right now :P Nov 03 21:46:44 <^cheeky> i wish i could attend lol Nov 03 21:47:13 nothing is safe from dragorn :) Nov 03 21:47:27 <^cheeky> i wannaaaaa leaaarrrrnnnn Nov 03 21:47:52 ^cheeky: bsides delaware; dunno where you live Nov 03 21:48:00 tho if the class goes well I might sign up to teach it at some other places Nov 03 21:48:01 <^cheeky> blah its been 48 hours finally code, works !!!! i am happy time was not wasted Nov 03 21:48:08 g00s: too many irons in too many fires ;/ Nov 03 21:48:16 <^cheeky> i hope it does dragorn !!!:) Nov 03 21:48:22 <^cheeky> i really do Nov 03 21:48:26 <^cheeky> who knows !!! Nov 03 21:49:28 <^cheeky> g00s: still haven't read that book !!!! so much to learn blaah srsly wish Matrix existed lol Nov 03 21:50:01 ^cheeky sedgewick ? Nov 03 21:50:05 <^cheeky> i hope the west coast will have more peeps like you doing stuff like that Nov 03 21:50:17 <^cheeky> i am moving there i really really hope i find them Nov 03 21:50:19 <^cheeky> yeah lol Nov 03 21:50:22 ^cheeky: you've got toorcon out there Nov 03 21:50:28 depending where on the west coast Nov 03 21:50:46 its a big book, it wont be light reading :) you'll have to prepare Nov 03 21:50:47 <^cheeky> seattle area Nov 03 21:51:03 <^cheeky> i need something lighter Nov 03 21:51:06 ^cheeky: The original toorcon is tehre, toorcamp is somewhat near you this summer - very northwest :P Nov 03 21:51:14 <^cheeky> but the subject is tough and hella interesting Nov 03 21:51:19 <^cheeky> just .. me too slow heh Nov 03 21:51:31 have to figure out if I'll have the money and time to do toorcamp again; hell of a haul. 2 hours to airport, 6 hour flight, then 5 hour drive to campside :P Nov 03 21:51:37 <^cheeky> yeah but i am moving in a week and half :/ Nov 03 21:51:51 <^cheeky> daaam Nov 03 21:51:56 <^cheeky> but i am sure its worth it Nov 03 21:52:18 <^cheeky> soo badly wanted to attend conferences will see Nov 03 21:53:28 Depending on your travel budget, keep an eye on Shmoocon (DC), Defcon (Vegas), Toorcon (san diego, seattle), Derbycon (ohio? I forget), and Hope (NYC) Nov 03 21:54:21 <^cheeky> yeah i hope i get stuff all sorted by then Nov 03 22:02:19 I want to either create a list app or find one. is there one that is very fast. that allows you to easily mark items in three different ways? like long click will change the background color of the list item./ swipe will do something else/ double click something else? Nov 03 22:04:00 veQue: what will you populating the list with ? remote unknown amount of items ? Nov 03 22:05:53 well max number will be 300 items Nov 03 22:07:03 so any ideals? Nov 03 22:07:37 veQue: there are some examples on youtube Nov 03 22:08:07 k i'll check. Nov 03 22:08:55 I use the Lazy loader list because its loading from a remote server and doesn't know how much data Nov 03 22:09:21 so it only loads what it needs to show , but I want to buffer the next page or 2 as well Nov 03 22:09:55 hello all, I'm looking for some developers to beta test an anonymous social network: http://tinyurl.com/fuzzyapp . Any feedback would be appreciated (respond to limblellc@gmail.com) Nov 03 22:09:59 so that it will scroll a bit smoother ... Nov 03 22:10:26 how does that affect battery life? Nov 03 22:10:48 not noticable compared to any other app Nov 03 22:11:37 ok. but if i wanted to optimalize batt life you wouldn't suggest i have it set up to have 3 diff pages? Nov 03 22:11:53 of 100 each Nov 03 22:13:14 it can handle 300 items fine , especially if you populate it from local data source Nov 03 22:13:32 it might load slower if remote Nov 03 22:13:59 no remote, all local Nov 03 22:14:23 it'll be fine then, I have 300 items loaded on mine no probs Nov 03 22:15:05 I just used Android Studio for the first time, and I get this error: Nov 03 22:15:08 Gradle: Execution failed for task ':myapp:processDebugManifest'. Nov 03 22:15:09 > Manifest merging failed. See console for more info. Nov 03 22:15:31 Where is it the console on Android Studio. I cannot find it Nov 03 22:17:09 Are you using an old version of the android gradle plugin? Nov 03 22:17:40 If not, build with --stacktrace and let them know what error is not being shown by default Nov 03 22:17:45 I updated everything from scratch Nov 03 22:18:32 SimonVT, can you tell me where is the Android Studio console? Nov 03 22:18:33 danieleB: trying Android Studio on the first time on Fedora 19 64 bit and I think I'm having issues because I'm missing 32bit libraries Nov 03 22:18:45 There is no console Nov 03 22:18:57 It's the output from aapt Nov 03 22:19:27 The latest version of the android plugin should show the actual error in the default output Nov 03 22:19:40 I'd imagine you're using an old version Nov 03 22:20:20 pdurbin, it looks like the error is because of a mismatch between the manifest and gradle sdk version. I just wanted to know which is the console, as I can't find it Nov 03 22:20:46 Dunno if you need to use newer build tools as well, but might as well Nov 03 22:22:13 SimonVT, I just downloaded the new version, is the android plugin something different to android studio? Nov 03 22:22:55 I am just checked for updated of Android Studio and it says I have the latest version Nov 03 22:22:59 Yes.. That's what you define in your build.gradle Nov 03 22:23:06 Along with build tools Nov 03 22:23:50 you said the console is the output from aapt. what is "aapt" ? Nov 03 22:24:44 Hi, I am following http://blog.stylingandroid.com/archives/1575. The idea is to have a widget both for home screen and lock screen. The lock screen is not getting the custom layout for it Nov 03 22:25:06 having both widgetCategory (home_screen|keyguard) and the initialKeyguardLayout correct Nov 03 22:25:10 anything else to check? Nov 03 22:27:35 Hey everyone, how do I retain an object that I passed to fragment on creation when screen orientation changes? Right now the private variable is going back to null when the screen is rotated. Nov 03 22:27:44 Android Asset Packaging Tool.. It compiles your resources, etc, including manifest Nov 03 22:30:31 SimonVT, how do I access the output of the AAPT? Nov 03 22:35:47 jdawes: take a look at this http://www.androiddesignpatterns.com/2013/04/retaining-objects-across-config-changes.html Nov 03 22:36:14 <^cheeky> i could .. just use the server locally in android and have the images scaled and war not so i don't need a server to let devices connect an additional address to crop Nov 03 22:36:16 Use a newer version of the android plugin or build from the command line with --stacktrace Nov 03 22:36:20 bankai_: I'll give it a read, thanks. Nov 03 22:39:28 installed a bunch of 32 bit libraries and now android studio works on 64 bit fedora \o/ Nov 03 22:44:07 I have a galaxy s4, I can connect via adb tethered, can connect via adb remotely? Nov 03 22:46:18 adb over wifi is for rooted devices only Nov 03 22:48:25 bankai_: The link you sent me seems to be more for wanting to keep tasks running off the UI thread alive when the orientation changes, but after trying the "setRetainInstance(true);" method I get a new crash on the Fragment that comes up before the one I'm working on. Nov 03 22:52:16 jdawes: saying what ? Nov 03 22:52:17 how do I get google play services on the emulator? Nov 03 22:53:35 bel3atar, generally you don't Nov 03 22:53:46 bankai_: The crash occurs on a fragment that has a ListView and I think the data is now null for whatever reason, perhaps I should be using the retain method on this fragment as well? Nov 03 22:53:51 Ologn: how sure are you? Nov 03 22:54:56 bel3atar, I'm fairly certain there are no legit Google Play apps for emulator Nov 03 22:55:08 Google Play app rather Nov 03 22:55:37 bel3atar: you trying to test maps api 2 ? Nov 03 22:55:37 bankai_: When I rotate teh screen it seems to be trying to display the list fragment when all it should do is redraw the current fragment in the new orientation, I'm not sure what's going on. Nov 03 22:56:38 bankai_: it's map related. api 8 Nov 03 22:58:19 http://stackoverflow.com/questions/14040185/running-google-maps-v2-on-android-emulator/14271933#14271933 Nov 03 22:58:21 i 'read' you have to push a few APKs onto the emulator.... i honestly didn't try that hard when i was testing maps, i just saw it doesn't work by default and tested on a device ( it's faster anyway ) Nov 03 22:58:48 I don't have a real device Nov 03 22:59:00 and I need to get paid Nov 03 23:01:11 hi there, looking for a bit of help around Widgets/Activity/Shared data Nov 03 23:02:44 I have a widget and an activity that should display the same data. The data is rather heavy (1000 Nov 03 23:02:50 + tuples) Nov 03 23:04:07 I am looking for a way to properly trigger updates from both sides, without runing into racing conditions. I've implemented something already but rather suboptimal -- any recommendation on Android? Nov 03 23:05:27 take a look at a contentobserver Nov 03 23:08:01 thanks! let me read a bit :) Nov 03 23:17:37 hey guys, I am seeing something odd. I just downloaded Kit Kat, created an AVD image, but when I run it through IntelliJ the chooser dialog says "not compatibile". Now the app still launches but I get some odd behavior (no screen rotation). Thoughts? Nov 03 23:19:25 anyone? Nov 03 23:22:12 xximjasonxx: have you read this: http://developer.android.com/about/versions/android-4.4.html ? Nov 03 23:23:00 reading now bankai_ Nov 03 23:24:18 * xximjasonxx needs his new laptop to arrive. Waiting on the Emulator is painful Nov 03 23:26:43 12GB or RAM and a 256GB SSD + 1TB SATA Nov 03 23:27:29 mmm nice, who makes that ? Nov 03 23:27:35 toshiba Nov 03 23:27:40 17 Nov 03 23:28:04 actually, i got a question unrelated to Android but one I think everyone is this room would love to answer Nov 03 23:28:09 what is the best laptop I can get for $5k Nov 03 23:28:39 The BEST I have been able to do was the best MBP with Retina and EVERYTHING, but I am still $700 short Nov 03 23:29:01 that plus a $700 external monitor Nov 03 23:29:11 no, that is with an external monitor Nov 03 23:29:21 two externals then :) Nov 03 23:29:30 possible Nov 03 23:29:42 i got a client offering me a job Nov 03 23:29:57 havent decided whether I will take it or not, i kind of like my current job Nov 03 23:30:36 wait, you can like your job? Nov 03 23:30:46 :) Nov 03 23:31:11 mwo, if you don't like your job, quit Nov 03 23:31:14 only reason i am considering this is the new one is offering a $12k increase in pay Nov 03 23:31:27 i'm too poor to quit Nov 03 23:31:30 trying to, delicately, see if my current job will match Nov 03 23:33:50 mwo, you live in the States? Nov 03 23:34:01 yeah Nov 03 23:34:05 whitetruffle.com Nov 03 23:34:14 age? Nov 03 23:34:31 30 Nov 03 23:34:35 location? Nov 03 23:34:40 PA Nov 03 23:34:52 Philly area? Pitt? Nov 03 23:34:58 western Nov 03 23:35:14 need to look harder man, especially if you know Android, plenty of jobs out there Nov 03 23:35:34 if you arent happy than its time for a change Nov 03 23:35:45 I don't know anything about android. I just came in here because I started following the programming tutorials Nov 03 23:35:56 then you are already on the right path :) Nov 03 23:35:56 but yeah, I was mostly joking. Getting ready to make a job change Nov 03 23:36:15 most programmers dont find their way to IRC, it shows gumption Nov 03 23:36:26 I am also 30 as well, though I live in Chicago Nov 03 23:36:39 I've been on IRC since the mid 90s Nov 03 23:37:01 ditto Nov 03 23:37:26 only been coming to freenode for a couple years though. lots of good people here Nov 03 23:38:14 yeah Nov 03 23:38:47 (notes to send to Apple): How about next time instead of adding a fingerprint scanner to your device, improve the auto correct problems Nov 03 23:38:51 thanks for whitetruffle though. thats new to me Nov 03 23:39:17 Someone please help me with this: https://gist.github.com/anonymous/4cf2427bd45e22c53e7b I have been trying to get my GPS location for 2 days now I have all permissions set and I tried multiple approaches but this is what I have now and according to official docs I should be getting a GPS lock back Nov 03 23:39:43 bankai_, thanks! One additional question: let's suppose I implement it, both my widget and activity could be the content provider. Do you think I could set up a Service that both my widget and activity would be contextually aware of? Meaning I could start the service from either, and it would generate data while the widget & actiivity consume it when needed. Nov 03 23:39:44 But the weird thing is I added Log.w("GPS LOCATION"..) to my onLocationChanged Nov 03 23:39:51 method and this never shows up in log Nov 03 23:42:22 neredsenvy, could you remove that inifinite loop and setup breaking points on each callback? Nov 03 23:43:51 licryle: i don't really don't know what you're doing, but i guess you could do something like that Nov 03 23:45:27 licryle: I removed the loop ran the program again still nothing in logs from that Log in onLocationChanged Nov 03 23:47:10 bankai_, I'm fetching data online in background in widget, foreground in activity -- that's why I'm thinking of that, I'm digging around how both the activuty and the widget could access/launch only one instance of the same service Nov 03 23:48:08 I'm also getting this: https://gist.github.com/anonymous/fbf279879d1df5463443 in the Logcat Nov 03 23:48:17 Oly thing that looks odd Nov 03 23:48:24 everything else is pretty much green/blue Nov 03 23:52:46 neredsenvy, which one's your package? Nov 03 23:53:46 licryle: MainActivity.java the on create is in my main package the Locator class in in another package Nov 03 23:56:21 licryle: i haven't tested, but i thought only one instance of a service could exist Nov 04 00:05:34 bankai_, hmm I see nothing that would let me think that, I keep digging :) Nov 04 00:10:40 where can I find the apks for google play store and gms ? Nov 04 00:14:48 bel3atar, http://goo.im/gapps ? Nov 04 00:15:03 bankai_, you're actually right, that would solve my issues Nov 04 00:17:08 no 2.1 there Nov 04 00:26:43 bel3atar: guys in #android or #android-root might be able to help you Nov 04 00:37:24 This crap I'm working on will probably make users of my app happy, but good god is it boring and tedious to work on. Nov 04 00:42:13 Anyone able to help with this http://stackoverflow.com/questions/19759722/android-htc-unknown-permissions-in-logcat Nov 04 00:42:54 My onLocationChanged method is never triggered Im loosing my mind trying to get GPS working Nov 04 00:45:51 Call requires API level 12 (current min is 8): Nov 04 00:46:06 I am in eclipse right clicked on project went to properties but can't see where this is set :( Nov 04 00:46:11 any ideas? Nov 04 00:46:40 check the android manifest file, it's min_sdk Nov 04 00:50:41 that worked thanks! Nov 04 00:54:51 neredsenvy: what perms are you using ? Nov 04 00:55:39 bankai_: https://gist.github.com/anonymous/3b68fb78d838282c113b Nov 04 01:03:22 have you tried LocationManager.NETWORK_PROVIDER ? Nov 04 01:03:45 Thats for network I need GPS : / Nov 04 01:04:26 Like onLocationChanged never gets triggered Nov 04 01:06:56 i realise that, but it'll tell you if the code is correct Nov 04 01:08:49 Good idea ill check it out Nov 04 01:10:38 http://gadgtspot.com/2013/11/03/exclusive-look-cm11-android-4-4-cyanogenmod-edition/ Nov 04 01:14:38 bankai_: Not even NETWORK_PROVIDER works Nov 04 01:14:50 onLocationChanged is simply never triggered Nov 04 01:14:55 I have no freaking idea why Nov 04 01:15:27 Could it be because I'm using LocationListener from android.location and not the one from com.google.android.gms... Nov 04 01:21:41 android.location is correct Nov 04 01:22:11 have you enabled location services? can you see the location icon appear ? Nov 04 01:23:08 bankai_: Under location I have both Google location service enabled and GPS satelites enabled Nov 04 01:23:33 bankai_: When I run the app with GPS_PROVIDER option I actually get that GPS satelite icon in the top toolbar Nov 04 01:24:29 i'm wondering if you passing in 0 and 0 would cause problems... i'm currently using 2000,1 ( which is probably over the top for what i need ) Nov 04 01:25:42 bankai_: WHAT THE FUCKING FUCKING FUCK THE FUCK I changed extends FragmentActivity to Activity and now it works Nov 04 01:25:45 WHAT THE FUCK Nov 04 01:28:48 it makes no difference Nov 04 01:29:09 you didn't actually rebuild or something Nov 04 01:29:22 hence your wtf wtf wtf Nov 04 01:29:57 All I did was change to freaking Activity from FragmentActivity and puff Nov 04 01:30:41 eclipse ? Nov 04 01:31:12 bankai_: Yes Nov 04 01:31:57 change it back, clean, rebuild Nov 04 01:34:31 And it does not work again ... Nov 04 01:34:37 I'm just Nov 04 01:34:38 meh Nov 04 01:34:48 I'm just so depressed right now Nov 04 01:37:05 Weirder now NETWORK_PROVIDER results in a location but GPS_PROVIDER never results in a location Nov 04 01:42:18 if your location doesn't change you might not get an update iirc Nov 04 01:43:11 been a while since I messed with the location provider Nov 04 01:44:17 indeed. you should consult the last known location. Nov 04 01:44:50 Yea but last know location could be anywhere Nov 04 01:45:44 and that's why you need to examine its timestamp and accuracy Nov 04 01:45:56 perhaps you want to just use the APIs from Google Play Services that make this all a bit easier for you? Nov 04 01:46:04 getting "raw" location APIs correct is not trivial Nov 04 01:48:23 jasta: It's what I'm doing now Nov 04 01:48:41 with fingers crossed it works else im gonna punch a hole in the monitor Nov 04 01:49:44 neredsenvy: turn off gps, then turn it back on again and make sure your GPS provider fires Nov 04 01:49:56 if it does not, you've probably not wired up correctly Nov 04 01:50:11 but per pfn's comment, you should not expect an immediate update from the GPS provider -- it will likely only update as you move. Nov 04 01:50:19 the network provider, however, updates very noisily. Nov 04 01:50:37 i'm sure there is example code for this stuff somewhere. go find it and test it. Nov 04 02:04:39 Hi guys, if I want to run 3 downloads simultaneously, am I ok to do Runnable r = new Runnable() { ... }; new Thread(r).start(); 3 times in a row? Nov 04 02:04:45 When I say download Nov 04 02:04:47 Its an XML feed. Nov 04 02:04:55 3 different ones Nov 04 02:10:30 jasta: I'm using LocationClient atm and it get a connection but there is no way of knowing how it finds the location is there a way to get the provider it used ? Nov 04 02:11:34 neredsenvy: yes, look at Location's javadocs. Nov 04 02:12:32 Any hint of an answer to my question? Pretty please? hahaha Nov 04 02:12:55 Anthaas: save yourself the headache and use either Volley or Ion Nov 04 02:13:17 Ive heard of Volley Nov 04 02:13:21 Reading now Nov 04 02:13:42 Just need Chrome to be fast. Nov 04 02:13:50 I dont know why its the slowest of all my browsers... Nov 04 02:15:31 there's also some thing square wrote...retrofit i think it's called Nov 04 02:15:33 that may speed you up as well Nov 04 02:16:22 +1 :) Nov 04 02:16:38 What is the difference between the two? Pros and Cons? Nov 04 02:16:53 Although I suspect JakeWharton may be somewhat biased in his response :P Nov 04 02:17:06 Anthaas: Volley and Ion are related as alternatives to each other. Retrofit is separate, but may be of interest to your development velocity all the same. Nov 04 02:17:46 alright, so I have an android tablet that I haven't used in a while, and I just got done charging it. It's now setting up Android every time I restart it. I know that this isn't a dev question, but I assume you guys would have a better understanding on why this may happen Nov 04 02:18:31 is it wiping its prefs or something whenever u restart it? Nov 04 02:19:00 Anthaas: you can use retrofit and volley together, btw. Nov 04 02:19:19 it literally re sets up Android every thime (Welcome to Android! Set your time. set up WiFi. connect your Google account.) Nov 04 02:19:26 Oh god Nov 04 02:19:32 Volley makes me wish I was using JSON Nov 04 02:19:43 I have only just decided that I was doing XML because I could do it easier! Nov 04 02:20:03 I tried to boot into recovery, only to have it reinstall android again Nov 04 02:20:38 again? Nov 04 02:20:48 Anthaas: Volley is content format agnostic Nov 04 02:20:49 well, the set up android thing Nov 04 02:21:15 you have to stop booting into recovery, its reinstalling android and wiping ur prefs Nov 04 02:21:41 even if I don't boot into recovery and soft reboot it, it does this Nov 04 02:21:49 JakeWharton: Hmm, so I could download an XML feed, and store into my database much in the same way that extending DefaultHandler would? Nov 04 02:22:17 hackhalo2: by any chance, are you booting into an android installer? Nov 04 02:22:21 so adb reboot, adb reboot bootloader, and adb reboot recovery all do the same thing Nov 04 02:22:42 All this XML stuff because I can't work out in my head how to JSONify An object which contains a collection of other objects which contains a collection of other objects! Nov 04 02:22:57 arpx no. The last time I used the tablet I was reading an Ebook on C++ and playing Minecraft Nov 04 02:23:26 and I rooted it, so I didn't want to do anything to remove said root Nov 04 02:24:03 jasta: Like this is what I have now https://gist.github.com/anonymous/d821a78d382ed8cd2270 again as per documents if I have Wi-Fi or Mobile on and Googles Location Service enabled then I will get the location if I disable Googles Location Service and instead enable GPS satelites with Wi-Fi/Mobile on or off I get nothing Nov 04 02:24:18 I even selected the Reinstall Location Nov 04 02:24:23 option Nov 04 02:24:44 hi all, trying to find out where to set the onClick function of my button in eclipse, I look at properties but it won't let me edit the onClick, where else would it be done? Nov 04 02:25:45 Java side Nov 04 02:25:47 would having the tablet dbattery discharge completely screw with something? Nov 04 02:25:57 make your class implement OnClickListener Nov 04 02:26:07 then do myButton.setOnClickListener(this); Nov 04 02:26:20 you'll find your class wants you to implement onClick(View v) Nov 04 02:26:30 hackhalo: did you install busybox by any chance? Nov 04 02:26:42 in there you can do something like (if v.getId() == R.id.mybutton){ my code } Nov 04 02:26:44 arpx after I rooted it, yea Nov 04 02:26:47 or Nov 04 02:27:22 myButton.setOnClickListener(new OnClickListener() { protected void onClick() { //code here } }); Nov 04 02:27:24 The cause of this is not a factory reset - your data is still there!! Nov 04 02:27:25 the installation of busybox in ICS causes a couple of MOUNT failures, so you cannot see your data. That's why you get 0 bytes and cannot download anything. Nov 04 02:27:25 The fix: Copy /system/sbin/busybox to /system/bin, and reboot. Nov 04 02:27:26 I put xterm.apk (terminal emulator package) onto an SDcard and used the file manager to install and run it, then I could type the command to do the copy. Nov 04 02:27:28 Hope this helps people, took me a lot of searching to find this. Nov 04 02:27:31 means you don't need to implement OnClickListener in your class Nov 04 02:27:33 copy pasted a fix for you Nov 04 02:28:06 nice Nov 04 02:28:26 no prob Nov 04 02:28:40 I'll reroot it and do that in adb shell Nov 04 02:28:53 yeah Nov 04 02:29:05 but the issue is: wjy pop up now? it was working flawlessly before I stopped using it 6 months ago Nov 04 02:29:55 Has anyone seen an issue where a webview will draw text scrolled and unscrolled? It will overlay the scrolled text on top of itself? Nov 04 02:29:57 xp_prg: that was all to you Nov 04 02:30:26 hackhalo2: are you using busybox 1.21.0 Nov 04 02:30:37 because that release is unstable Nov 04 02:30:46 I don't remember Nov 04 02:30:56 I know my phone is Nov 04 02:31:08 but that's running 2.3 Gingerbread Nov 04 02:34:57 arpx, I owe you a beer for finding what I couldn't Nov 04 02:37:09 no problem hackhalo2 Nov 04 02:39:19 figured it out thanks :> Nov 04 02:45:32 jayd16, you have the view in your layout twice, probably Nov 04 02:46:37 pfn: not the case. This is an SO link thats similar to what I'm seeing but setting the background doesn't seem to help http://stackoverflow.com/questions/6958825/webview-redraw-problem-when-loading-data Nov 04 02:46:58 * pfn shrugs Nov 04 02:47:09 I never see that happen Nov 04 02:47:23 so my assumption is still that you have 2 webviews overlaying each other Nov 04 02:47:28 until you provide evidence that shows otherwise Nov 04 02:47:42 like what? Nov 04 02:48:11 maybe look at hierarchyviewer Nov 04 02:50:00 I did check, I can check again, but while I do that, lets say, hypothetically, theres only one webview, what would be your guess then? Nov 04 02:51:04 It happens sporadically, btw, like the SO link mentions. 1/10 − 1/20 Nov 04 02:52:04 the website you're linking is busted Nov 04 02:52:40 the SO link or you mean in the webview? Nov 04 02:53:57 in the webview, otherwise, try suggestions as in your link Nov 04 02:54:03 * pfn & **** ENDING LOGGING AT Mon Nov 04 02:59:58 2013