**** BEGIN LOGGING AT Fri Dec 06 02:59:58 2013 Dec 06 03:43:05 How do I connect to device from pc Dec 06 03:44:49 My pc is on corporate network which cannot access device via usb, wifi hotspot Dec 06 03:45:24 Can I write anything on my own to connect to it Dec 06 03:45:45 Even bluetooth is not there Dec 06 03:46:37 build a ping network :P Dec 06 03:47:07 Can u please elaborate Dec 06 03:47:21 heh dunno if still works but most networks allow pings Dec 06 03:47:33 theres programs that can put data into ping to send out Dec 06 03:48:08 Will my device has ip address Dec 06 03:48:17 Its on 3g Dec 06 03:48:36 I mean cellular network Dec 06 03:48:52 nah juxt curious why you need to connect phone to your pc Dec 06 03:48:58 work pc that is Dec 06 03:49:24 I want to wrtite a program to copy pc clipboard to device clipboard Dec 06 03:49:46 None of the existing apps work on my office pc Dec 06 03:50:00 oh probably can, but not without a server of some sort Dec 06 03:50:00 May be firewall issue Dec 06 03:50:07 your setup may be very limited Dec 06 03:50:29 lets see, no usb no bluetooth no wifi Dec 06 03:51:00 sonda well, i suppose you could write a js thing that encoded a file into flashes of light, and then your camera could decode that :) Dec 06 03:51:12 g00s: that is not without predcent Dec 06 03:51:19 there was watch that read screen output Dec 06 03:51:32 that was how it programmed the watch stuff Dec 06 03:51:39 cool Dec 06 03:51:50 maybe QT codes Dec 06 03:51:59 series of em till complete tranmission lol Dec 06 03:52:40 How to locate my device via internet Dec 06 03:53:04 Internet is there on office pc Dec 06 03:53:10 on cellear? impossible without server since you cant find device from internet but device cab connect to server Dec 06 03:53:29 I researched this because I had this idea. didnt work Dec 06 03:53:48 U mean server on pc Dec 06 03:54:07 hi Dec 06 03:54:21 can be. unless they disallow user installed software (or any non-auth software) Dec 06 03:54:25 is this the source code for the official phasebeam live wallpaper: https://android.googlesource.com/platform/packages/wallpapers/PhaseBeam/+/refs/heads/master ? Dec 06 03:54:26 hey Dec 06 03:54:44 might be Dec 06 03:54:48 No I cab Dec 06 03:54:53 Sorry Dec 06 03:55:03 I can try writing a server Dec 06 03:55:15 But how do I connect to it Dec 06 03:55:26 if not you can figure way to communcate via screen lol Dec 06 03:55:35 nesscarly one way Dec 06 03:55:47 hehe Dec 06 03:55:59 could also try smoke signals Dec 06 03:56:56 lol using pc magic smoke? :P Dec 06 03:57:20 The server I write will be on our internal corporate network right.. any way I can connect to it Dec 06 03:57:30 near zero chance Dec 06 03:57:58 they probably will filter out external connection. your cellear connection counts as outside. Dec 06 04:03:54 Can we scan via camera and get the selected text on screen Dec 06 04:06:10 anyone in here have any tricks for speeding up animations of view hierarchies? Dec 06 04:07:39 Xcoder you are there Dec 06 04:07:52 I have an idea Dec 06 04:09:30 but XXCoder has an XXIdea Dec 06 04:09:43 what idea? Dec 06 04:09:50 heh Dec 06 04:09:53 Clipboard content I'll mail it to gmail account with specific subject as clipboard.. can I write some program on device.. that will copy it to device clipboard Dec 06 04:11:25 Or are there any sites which allow to keep temp data and accessible from both pc and device via internet Dec 06 04:11:57 dropbox? Dec 06 04:12:10 gdrive Dec 06 04:12:19 No dropbox can't be accessed Dec 06 04:12:28 Not even gdrive from pc Dec 06 04:12:43 sonda: you have a very specific and personal set of requirements here, you know Dec 06 04:13:31 Yes leeds... only I want to use it Dec 06 04:13:47 like corporate espionage set of requirements ;) Dec 06 04:14:56 No I wont copy anything official Dec 06 04:16:04 Xxcoder what do u say Dec 06 04:16:21 if you're in the sort of place which is locking down your PC like that, I think you need to suck it up Dec 06 04:16:35 dunno Dec 06 04:16:36 hi Dec 06 04:16:45 yeah can be code Dec 06 04:16:46 is html5 fully integrated to Android ? Dec 06 04:16:48 er coded Dec 06 04:17:06 make app read gmail emails and read for magic code and data after it Dec 06 04:17:26 like "thisisthedatafun:(data)" Dec 06 04:18:57 But there will be delay Dec 06 04:19:08 yeah live with it Dec 06 04:19:18 screen communcation would take much longer Dec 06 04:21:05 Does any such sites are there that allow our server to run.. and I can access them from both pc and device Dec 06 04:21:23 can I develop and test for google glass without google glass? Dec 06 04:22:43 and can I do it under windows? Dec 06 04:23:02 Something like fre ftp hosting Dec 06 04:23:08 Free Dec 06 04:23:16 if your network allows ftp connections. Dec 06 04:24:18 Can u name a few I can try Dec 06 04:24:27 dont know any Dec 06 04:25:26 In case I find some such host then is it possible Dec 06 04:25:43 dunno maybe Dec 06 04:25:48 Which I can access from both Dec 06 04:55:41 I seem to have this weird problem that I suddenly will get a ton of error in my Android project because something happens with the R library Dec 06 04:55:52 has anybody else experienced this? Dec 06 04:56:33 yeah something is fucking up your gradle build Dec 06 04:56:51 usually what happens is my app wont build, R goes all wonky, fix build error and rebuild clean fixes Dec 06 05:18:19 what the best way to program a large scale application ? Dec 06 05:19:02 i figure there will be a login screen, then a home screen, then a screen to view titles and about screen so on Dec 06 05:19:56 what makes it large scale? Dec 06 05:20:28 well the amount of data and users Dec 06 05:20:41 around a 10k user base Dec 06 05:34:18 10k isn't large scale Dec 06 05:36:25 hey what percentage of user retention do you guys have for your apps? in other words, what's the ratio of active installs to total installs? Dec 06 05:49:36 How can I reuse an xml layout for multiple activities/fragments, when the xml layout includes a defined fragment that has a name attribute tying it to a specific class Dec 06 05:51:20 Example: http://pastie.org/8532552 I have a generic 'feed' layout that is repurposed Dec 06 05:52:24 what is the correct way to do this? location.getLatitude().toString() Dec 06 05:53:13 doesnt getlatitude return a double? Dec 06 05:53:32 probably... Dec 06 05:53:44 are you looking at the javadocs? Dec 06 05:53:49 so any sugestions would help... Dec 06 05:54:05 seriously? Dec 06 05:54:06 String.valueOf(location.getLatitude()) ? Dec 06 05:54:07 I am just learning android... I do mostly iPHONE stuff Dec 06 05:54:30 .. Dec 06 05:54:59 what, desmin88 Dec 06 05:55:17 forget it Dec 06 06:12:45 hey people… question regarding activity and localservice (bound in local process) Dec 06 06:12:55 onDestroy() i unbind the service and it shuts down fine. Dec 06 06:13:09 however when I use the android task manager to swipe away the app, my service still hangs around Dec 06 06:13:12 onDestroy is not called. Dec 06 06:13:26 how do I fix this? do I need to get the service to check on the activity periodically? Dec 06 06:14:20 this is a very stupid question being asked by an iPHONE developer... but need some UI advice here... I want to create an activity with a picker that has 8 options. User picks one of the 8 options, and returns a Number... which widget should I be looking at? Dec 06 06:22:18 I used an ArrayAdapter to populate a ListView, but that seems to just populate the ListView with text.. How can I get define individual id's for the ListView elements? Dec 06 06:34:37 Why does pressing the up caret and back button give me different behavior Dec 06 06:34:48 back button returns to my fragment, upcaret kills him fragment and restarts it Dec 06 06:37:23 because up and back are different things Dec 06 06:37:27 yeah Dec 06 06:37:29 i just got to that Dec 06 06:37:41 was stupid of me to ask before consulting the javadocs Dec 06 06:38:12 little bit, yes :) Dec 06 06:39:21 fixed it Dec 06 07:01:52 SpeedEvil there ? Dec 06 07:07:19 > Dec 06 07:07:40 SpeedEvil i may have you mixed up with somebody else, but did you use 18650 batteries ? Dec 06 07:08:02 I have, yes, for various things Dec 06 07:08:16 have you seen this new charger by fenix ? http://www.fenixlight.com/ProductMore.aspx?id=97&tid=16&cid=6 Dec 06 07:08:30 i was using a Pila IBC but its dying Dec 06 07:08:36 what do you use ? Dec 06 07:08:54 a lot of these cheesy ones aren't really cc/cv Dec 06 07:09:05 but i trust fenix. Dec 06 07:09:53 Doesn't seem bad. Dec 06 07:10:10 i was looking at an xtar one but hmmm not so sure Dec 06 07:10:12 I use a cheap DX one - that I've checked actually limits to 4.20 Dec 06 07:10:27 thats good :D Dec 06 07:35:16 hey guys! well this stuff with focuses makes me real confused. I have an a vertical linear layout with two items EditText and ListView with selectable items. When i done entering text to edittext field i want it to lose focus on outside click (on listview click), but instead listview item is beeing selected. And i want firstly to hide keybord and make edittext lose focus. and allow to select listview items only on second click. Dec 06 07:35:47 i tried set android:focusableInTouchMode="false" to my listview but it's not working// Dec 06 07:39:09 Hi all. There is a way to know if Soft Keyboard was closed (Hidden) ? Dec 06 07:40:11 I need to send EditText entered value to an accessory also when use closes Soft Keyboard using (v) button Dec 06 07:40:22 to hide soft keyboard Dec 06 07:41:02 hey shineword, there is a way Dec 06 07:42:27 well you should measure if the full screen is awailable for user or not Dec 06 07:43:12 I've seen this topic on stockoverflow just 15 mins ago, lurk for it. there's no better solution unfortunately Dec 06 07:45:07 shineworld, here you go http://stackoverflow.com/questions/2150078/how-to-check-visibility-of-software-keyboard-in-android Dec 06 07:47:09 ok defuera, I'm trying this because my previous test with onMeasure goes in fail Dec 06 07:48:53 thanks for reply ;) Dec 06 07:50:28 Hey guys I'm confused here. trying to make a listArrayAdapter, and thing is I get an instant crash. I see the problem, its to change @android:id/list in the xml. but the problem is making the object for my Adapter, its not found via. R.id.OBJHERE. not sure how to link em. I'm like a noob with this android stuff still. Dec 06 07:51:37 if anyone wonders what the full error is it is. Your content must have a ListView whose id attribute is 'android.R.id.list' Dec 06 07:51:48 use strings in the values folders Dec 06 07:52:19 so don't assign it to a array in .java source? Dec 06 07:52:27 er Dec 06 07:52:41 nm i have no clue what you're attempting Dec 06 07:53:27 yeah i guess you could do that with a small dataset Dec 06 07:53:51 its very simple. have two inputs, and based on 2 options in list i use a switch case to perform a calcluations on the 2 inputs, and output it to a text view Dec 06 07:56:39 how do I get use getApplicationConext() within a fragment Dec 06 08:03:51 this new ubuntu is really fuckin up my night Dec 06 08:04:44 ubuntu tends to do that. get a mac ;) Dec 06 08:05:31 i wish they would abandon mir and go with wayland Dec 06 08:07:26 get a better linux distro. but then again i shouldn't speak as I'm on the worst OS. then again I choose to be. as it does everything I need. Dec 06 08:07:45 mir is a cool stuff just give it a chanse, and wait for a couple of years to be tested and fixed -)) Dec 06 08:07:54 I've used a handful so I know a thing or two about OS'es Dec 06 08:08:14 lol well at least there's substance behind why it sucks so much Dec 06 08:09:00 Yeah I agree, I knew I should switch a longer time ago. Dec 06 08:10:33 I wish i could kill this stupid bug. its driving me nuts, thing i hate is going to bed knowing that if i could solve this, and laying there with it on my mind. there is a lot of posts on stackoverflow saying the same thing. but not sure how to connect the array stuff Dec 06 08:12:52 Same exact bug I had with 12.10. Maybe I should've went with my gut and tried xubuntu, or something more adventurous Dec 06 08:14:06 well defuera, your suggested solutions hopefully worked fine and now I can know if a softkeyboard was hide with a new event (my main problems get root on android:windowSoftInputMode="adjustPan" nature of my activities) Dec 06 08:15:23 glad you got it worked, man -) Dec 06 08:17:22 btw do you publish online g00s, or is your subject matter really this diverse Dec 06 08:18:04 oh yeah, i liked xubuntu Dec 06 08:20:25 g00s +1 Dec 06 08:20:32 Eeeeeee i dont publish online / blog if thats what you mean Dec 06 08:21:25 g00s I've a mac which run 90% a xubuntu vm :) Dec 06 08:21:36 lol Dec 06 08:22:08 not so much differences than running xubuntu natively Dec 06 08:22:21 i might have to run a xubuntu vm or something just to run a new inkscape Dec 06 08:23:11 that has to be the slowest moving project on the planet Dec 06 08:23:14 (inkscape) Dec 06 08:23:35 And still it beats mosts of the competition. Dec 06 08:23:38 seriously Dec 06 08:23:44 ...right. Dec 06 08:24:08 kjeldahl yeah … 0.48.2 for mac is seriously buggy Dec 06 08:24:17 (competition being alternative free vector editors) Dec 06 08:24:24 are there ? Dec 06 08:24:25 gotcha Dec 06 08:24:33 there aren't many viable ones Dec 06 08:24:37 lol was about to say Dec 06 08:24:39 g00s: Yeah, they've had some buggy releases lately (defined as last year). Dec 06 08:25:11 their ui, at least 4-5 years ago was horrible Dec 06 08:25:32 Yeah, takes some getting used to. Dec 06 08:25:37 I did finish one tutorial, and it looked damn good Dec 06 08:26:28 Yeah, results are good. Guess where my app icon came from. Hint http://www.inkscapeforum.com/viewtopic.php?f=8&t=8654 Dec 06 08:26:30 you can be pro in AI in 20% of the time Dec 06 08:31:22 and thats what happens when you dl a flashlight app :| http://www.fastcompany.com/3023042/fast-feed/this-popular-flashlight-app-has-been-secretly-your-sharing-location-and-device-id Dec 06 08:33:50 http://postimg.org/image/yd3f1kg9z/ Dec 06 08:34:07 damn what happened to all the image posting sites Dec 06 08:36:26 lol thought for a second i might have downloaded it Dec 06 08:37:17 wonder if they're just using the restricted symbol to increase click through rates Dec 06 08:37:37 g00s : I'm using a selfmade MAC just for photograhy (I'm also photograph addicted) but vmware run enough fast to permit me to develop in linux :) Dec 06 08:38:12 shineworld what photo apps do you use ? Dec 06 08:38:40 90% Lightroom and 10% PS Dec 06 08:38:55 then InDesign to make albums Dec 06 08:39:06 cool; Lr is all i'm using atm Dec 06 08:39:10 tried the nik suite? Dec 06 08:39:17 on my todo list for this weekend Dec 06 08:39:17 of course Dec 06 08:39:23 I'm a NIkon man Dec 06 08:39:34 lol Dec 06 08:39:36 but too much slow to manages a wedding with NX2 Dec 06 08:39:51 Nik, not Nikon Dec 06 08:40:08 NikSoftware ? Dec 06 08:40:13 http://www.google.com/nikcollection/ Dec 06 08:40:16 http://www.google.com/nikcollection/ Dec 06 08:40:22 :) Dec 06 08:40:22 was, now it's google Dec 06 08:40:30 sweet Dec 06 08:40:30 Of course ;) Dec 06 08:41:02 haven't heard of this Dec 06 08:41:05 and with this is finish my OT with D700 I don't need so much PP Dec 06 08:43:39 OT? Dec 06 08:53:53 I've always wondered how many apps do stuff like this Dec 06 08:54:59 i saw someone say the other day they didn't use different ad networks because they needed so many permissions Dec 06 08:57:24 I want to buy a mac Dec 06 08:57:34 But i want to use Linux Dec 06 08:57:46 I am cursed Dec 06 08:58:52 DarkSlay3r1: why do you want a Mac? (and iMac or MacBook?) Dec 06 08:59:08 MacBook Pro... I like the hardware Dec 06 08:59:09 the real question is what's stopping networks from using that data regardless any agreement between devs make to their users Dec 06 08:59:22 But i don't want the software Dec 06 09:00:18 DarkSlay3r1: well I don't like laptops - I'm a real fan of a desktop on the desk and a tablet on the go. In any case, MacBook can just run Windows so it should be able to just run Linux? Dec 06 09:00:24 i just got a new MBP Dec 06 09:00:28 very nice Dec 06 09:00:31 that's like you telling your doctor, a friend of a friend has this condition Dec 06 09:00:35 we know you want that software! Dec 06 09:00:42 not as keen on maveriks as i was on lion though Dec 06 09:01:04 Miklas: Apple doesn't like Linux Dec 06 09:01:09 No support Dec 06 09:01:17 but i like that osx is a unix with a nicely supported front end Dec 06 09:01:34 install brew and you're good to go Dec 06 09:01:43 Not a fan Dec 06 09:02:01 alex_PP: of course this is personal opinion but I used Windows/Linux/Mac OS, and the order of likability is the same. Dec 06 09:02:27 is that a > or < list? Dec 06 09:02:34 W>L>M Dec 06 09:02:39 :o Dec 06 09:02:45 i tried to use windows once Dec 06 09:02:52 tried Dec 06 09:02:55 Just my opinion, Windows feels like it's held together with duct tape and super glue Dec 06 09:03:06 Mac feels like something made by fisher price Dec 06 09:03:30 Well I have used all three extensively (+500h each) Dec 06 09:03:38 i dislike their current effort to remove all the useful features and make it look as much like ios as possuble Dec 06 09:03:40 :( Dec 06 09:03:49 Linux is like being given an bomb with a timer you can't see Dec 06 09:03:54 ha Dec 06 09:04:05 lol Dec 06 09:04:19 all my linux keyboard shortcuts stopped working a few weeks ago, no idea why Dec 06 09:04:20 well said Dec 06 09:04:27 they're still broken Dec 06 09:05:18 DarkSlay3r1: so basically there is not a single OS you like? ;) Dec 06 09:05:36 Don't get me wrong... I'm a fan of linux Dec 06 09:05:41 horses for courses, innit Dec 06 09:06:45 I just wish i could get it to work on the new MBP Dec 06 09:06:54 i plan on ordering one tomorrow Dec 06 09:07:19 if you get it working well, let me know Dec 06 09:07:57 what's the state of gnome these days? still stick in simple mode? Dec 06 09:07:57 I wonder if trying to install it will void my warranty Dec 06 09:08:04 shouldn't Dec 06 09:08:11 * g00s still hopes ubuntu can get oems to sell phones with UbuntuTouch Dec 06 09:08:19 bah Dec 06 09:08:21 bootcamp's officially supported Dec 06 09:08:22 No idea... I'm using XFCE 4 Dec 06 09:08:41 that's a pipe dream Dec 06 09:08:54 after the Gnome 3 fiasco i stuck with it... Dec 06 09:08:55 me too, on arch Dec 06 09:09:09 I want one too, but I don't think I'll ever need one :P Dec 06 09:09:15 but i'd like something a bit more... Dec 06 09:09:19 g00s: If it works well... Dec 06 09:09:20 finished feeling Dec 06 09:09:26 I'll be their fist customer Dec 06 09:09:52 i'd like a more linux-y phone than android Dec 06 09:09:59 i'm still trying to fix the ubuntu bug from earlier tonight Dec 06 09:10:14 alex_PP: It really depends on how much polish they put into it Dec 06 09:10:43 The problem with Open source is that people never agree on UI Dec 06 09:10:46 quick survey, do you think ubuntu is polished? at least in terms of ui? Dec 06 09:11:03 i haven't used it since 2009 Dec 06 09:11:05 Unless there is a strong leader company backing the project IMO Dec 06 09:11:16 they messed it all up Dec 06 09:11:21 Eeeeeee: half-baked Dec 06 09:11:23 they still had dropdowns when you left? Dec 06 09:11:33 i gave up on ubuntu when unity arrived Dec 06 09:11:39 amen Dec 06 09:11:45 might try mint next Dec 06 09:11:47 yet i still use it :P Dec 06 09:11:55 pretty popular in our office Dec 06 09:11:55 * DarkSlay3r1 braces for criticism... Dec 06 09:12:08 I think Unity has some potential Dec 06 09:12:22 lol Dec 06 09:12:31 In terms of design Dec 06 09:12:42 I think it's the right direction Dec 06 09:13:35 bro Dec 06 09:13:52 you've convinced me to start a download and fire up a vm Dec 06 09:13:53 this 13 sucks Dec 06 09:13:56 at least for now Dec 06 09:14:16 everything is all janky, you can't set icons a certain size, they keep changing Dec 06 09:14:31 THat's why i say "potential" Dec 06 09:14:39 they took out the option for small, medium, large text Dec 06 09:14:55 The problem is that they are not managing the project right Dec 06 09:15:09 i think they keep taking more out of it, but if they wanna break into phones i guess that's a good start Dec 06 09:15:24 Instead of polishing the UI to build good press Dec 06 09:15:29 they decided to do mir Dec 06 09:15:53 hence half finished Unity for the masses Dec 06 09:16:00 i'm only a users. don't know much about that Dec 06 09:17:45 if I can fix this bug I'll probably stay if not time for some soul searching Dec 06 09:18:08 Eeeeeee: Have you seen Element OS? Dec 06 09:18:21 Another Ubuntu variation but better UI Dec 06 09:18:31 **Elementary OS Dec 06 09:18:57 dies it have rolling or atomic releases Dec 06 09:18:58 ? Dec 06 09:19:23 does* Dec 06 09:19:39 i think it's time to change the stickers on my keyboard for paint Dec 06 09:21:20 alex_PP: Not sure Dec 06 09:21:30 I only recently came across it Dec 06 09:21:47 I was going to fire up a VM and play with it over the weekend Dec 06 09:22:05 do dist-upgrades in ubuntu work yet? never had one of them work preopperly Dec 06 09:22:07 *propperly Dec 06 09:22:14 *properly Dec 06 09:22:27 nope Dec 06 09:22:35 but that bug was totally user error Dec 06 09:22:47 most likely Dec 06 09:22:53 no it was Dec 06 09:23:07 shouldn't be one i have to care about though Dec 06 09:23:08 but i justified it as a bug because of all the stackoverflow questions Dec 06 09:23:16 lol Dec 06 09:23:26 i use Xubuntu Dec 06 09:23:38 that's the think i like best about arch Dec 06 09:23:39 A month ago a bug destroyed my desktop Dec 06 09:23:53 has to do with messing up your environment variables Dec 06 09:23:57 It fixed itself 2 days ago in another update Dec 06 09:24:05 so you log in and it kicks you right back out Dec 06 09:24:22 at this point i just let the OS do what it wants Dec 06 09:24:34 lol Dec 06 09:24:52 that's no way to live Dec 06 09:25:09 Eeeeeee: The OS's are our masters Dec 06 09:25:15 and we should obey them Dec 06 09:25:46 that sounds like a windows user talking Dec 06 09:25:53 WE'RE SUPER USERS Dec 06 09:26:10 Eeeeeee: You are getting sloppy. That was my Mac user voice Dec 06 09:27:24 OT? Off topic :) Dec 06 09:27:57 DarkSlay3r1> I want to buy a mac Dec 06 09:28:07 My choice was to use a PC to run Mac OS X Dec 06 09:28:18 lol mac users seem pretty productive or at least creative Dec 06 09:28:26 so I've a very powerful Mac OS X. Much than original Apple hardware Dec 06 09:28:44 and I can boot also with any other OSs Dec 06 09:29:26 You can do ... Is enough simple, the only MUST is purchase at least Snow Leapard DVD from Apple Store Dec 06 09:29:34 i mean if blue screen of death doesn't sound like a menacing slave master I don't know what does Dec 06 09:29:42 then new Mavericks update is FREE Dec 06 09:30:13 In 4 years mac crashed two times.... not same thing with Windoze... .... Dec 06 09:30:33 my linux box hasn't restarted in 4 years Dec 06 09:30:37 TRUE Dec 06 09:30:40 jk:D Dec 06 09:31:05 unfortunately Adobe don't cover linux, otherwise for me is linux 100% Dec 06 09:31:09 My experiences with windows... Dec 06 09:31:18 * DarkSlay3r1 begins to go into depression Dec 06 09:31:19 that's the only reason i still have windows Dec 06 09:31:27 i've tried running AI in wine Dec 06 09:31:29 it sucks dick Dec 06 09:31:31 ha Dec 06 09:31:40 What put food on my table: 90% Windows, 5% photography, 5% android Dec 06 09:31:43 there was this one time that my windows couldn't shutdown Dec 06 09:32:16 So all it did was sit there Dec 06 09:32:16 Usually I'm a windows programmer (I write IDE for PLC) Dec 06 09:32:32 then when i tried to start it up Dec 06 09:32:38 it wouldn't turn on Dec 06 09:32:40 I would reinstall winxp every month Dec 06 09:32:48 Eeeeeee: I have a cycle Dec 06 09:32:49 preloads with everything Dec 06 09:32:55 preloaded rather Dec 06 09:33:11 Use windows recovery disk at least once every 6 months Dec 06 09:33:28 lol Dec 06 09:33:48 Mine was a bit more involved Dec 06 09:33:48 I'm used with VM for development (xp,w7,w8) so the management of windows oddities is simple Dec 06 09:33:53 You have to run antivirus like crazy Dec 06 09:34:12 home time. bye!! Dec 06 09:34:17 bye Dec 06 09:34:23 I was lucky... never got a Virus in 24 years of programming Dec 06 09:34:29 antiviruses don't protect you after the fact Dec 06 09:34:38 the rule is "use only certified software" Dec 06 09:34:40 go scan a hard drive from 5 years ago Dec 06 09:34:40 Seriously, you should see the fear on my face when people try to plug USB Dec 06 09:34:40 shineworld, you weren't lucky Dec 06 09:34:46 yes... Dec 06 09:34:48 you just didn't buy bullshit people spew around. Dec 06 09:35:02 btw, what does that have to do with Android dev O.o Dec 06 09:35:03 why Dec 06 09:35:16 OT ... again ... sorry Dec 06 09:36:40 did you even let them in the same room with your pc Dec 06 09:37:25 I had no choice Dec 06 09:37:31 I like nod32, but the best defense is not even going near windows Dec 06 09:37:34 University campus Dec 06 09:37:36 lol Dec 06 09:37:41 Eeeeeee: Keep the box off Dec 06 09:37:58 yeah and underground Dec 06 09:38:03 Unplug the power cord and tell them it's broken Dec 06 09:38:14 wrapped in heavy duty aluminum foil Dec 06 09:38:19 Then secure it in a safe and bury it in a bunker Dec 06 09:38:32 Eeeeeee: And wear a tin foil hat Dec 06 09:38:37 don't forget that Dec 06 09:38:52 the hat would probably work as an antenna Dec 06 09:38:58 LOL Dec 06 09:40:34 i'm just waiting for this healthcare website to get hacked Dec 06 09:53:26 How do I unit test rotation on activities? The activity is recreated by the system and I cannot find a way to get the new activity (unless I add unit test specific code to store a static copy of the activity reference). Dec 06 09:54:29 perhaps you can just test the activity class? If they're of different classes. Dec 06 09:54:58 pjb: i.e. ignore testing rotation and just the lifecycle? Dec 06 09:54:59 Otherwise you could have a tag field in instances, and check that, assuming you can initialize it correctly. Dec 06 09:56:22 pjb: Tags are sufficient, I guess. Dec 06 10:00:30 pjb: Hmm. Tags are for views, right? Not activities. Dec 06 10:23:53 haven't had my linux look this ominous since i was a teenager Dec 06 10:38:36 Inthe text copiedfrom pdf, newlines amd spaces are lost when pasted into memo or any note application Dec 06 10:39:05 Can we write a tool to format the same Dec 06 10:39:48 Or are there any existing tools that do the same Dec 06 10:40:39 procton: the concept of tag is general: just add an attribute that let you identify the object, without having to keep a reference to it. Dec 06 10:40:57 guys is there a relativ simple way to save the current state of an app? Dec 06 10:41:01 procton: you can call it activityTag if you prefer. Dec 06 10:41:42 Can someone tell me how can that be done Dec 06 10:41:46 Yatekii: not relatively simple. See http://developer.android.com/reference/android/app/Activity.html#SavingPersistentState Dec 06 10:41:57 ty! Dec 06 10:42:11 sonda, calibre has good ones and the conversion is still very poor. Dec 06 10:42:20 Yatekii: but you would have to implement and use those methods to save the state persistently. The system only use it when it suspend the application. Dec 06 10:42:21 pjb: I just want to save sone simple Variables (ints/Strings) I could write them into a text file ... Dec 06 10:42:42 Yatekii: there are also preferences. Dec 06 10:43:00 http://developer.android.com/reference/android/preference/package-summary.html Dec 06 10:43:15 nope it's not really prefs ...I build some MP3 player and I wanna save the current track/playlist etc Dec 06 10:43:45 Yes, it's not really a preference, but it is a simple way to save this kind of info. Dec 06 10:43:54 Hi, anyone of u already got problems with Camera Parameter "setJpegQuality" function, for custom camera application ? Dec 06 10:44:17 Yatekii: And you can have a preference such as: restore current track/playlist when relaunch. Dec 06 10:44:25 (not expressed like that to the user of course). Dec 06 10:44:38 oks Dec 06 10:44:52 well I am the only User I guess :) Dec 06 10:45:22 Are there any pdf readers that keep the source formatting when copied Dec 06 10:53:54 pdf to html Dec 06 10:58:17 if you're looking for best possible way though, me and this guy explored some of the best options out there Dec 06 10:59:29 as for a tool that fits everyone's use case it's a lot harder than it sounds Dec 06 10:59:57 I dont see any calibre app in play store Dec 06 11:01:24 it's not a mobile app Dec 06 11:02:02 Then on desktop?? Dec 06 11:02:21 ya Dec 06 11:03:06 Hi, anyone of u already got problems with Camera Parameter "setJpegQuality" function, for custom camera application ? Dec 06 11:03:12 my GS4 ignore this parameter ;( Dec 06 11:04:14 i think it's open source Dec 06 11:05:28 if it were an app 50% wouldn't be able to figure you it out, and 50% would want it to do it's job better Dec 06 11:05:48 I'll be reading on tab Dec 06 11:07:48 It doesn't convert to my satisfaction (kindle) Dec 06 11:11:33 hello people Dec 06 11:12:05 i would like to share with you a strange problem :/ Dec 06 11:12:53 I need to disable the auto instantiation of content provider for the reason that I need some variable is initialized before the onCreate(). I tried to use enabled="false" to the activated later with setComponentEnabledSetting() but nothing changes my provider is always instantiated at the beginning . this problem persists only if I compile on my 4.3 device if i compile on my 4.4 nexus no problem Dec 06 11:17:12 try using a loader Dec 06 11:17:55 rectification the problem persit of the 2 platform Dec 06 11:18:14 Loader for loader content provider manually without manifest ? Dec 06 11:19:11 draiis, I don't think you can disable the auto-instantiation of a content provider. You can however override onCreate to initialise the variables and then defer to super Dec 06 11:22:39 hello Kegsay ^^ the documentation say this : android:enabled Whether or not the content provider can be instantiated by the system — "true" if it can be, and "false" if not. The default value is "true". The element has its own enabled attribute that applies to all application components, including content providers. The and attributes must both be "true" (as they both are by default) for Dec 06 11:23:06 http://developer.android.com/guide/topics/manifest/provider-element.html Dec 06 11:23:51 and you can manually enable with : PackageManager pm=getPackageManager(); ComponentName componentName=new ComponentName(getApplicationContext(),BDContentProvider.class); pm.setComponentEnabledSetting(componentName,PackageManager.COMPONENT_ENABLED_STATE_ENABLED,PackageManager.DONT_KILL_APP); Dec 06 11:24:47 on the fresh installation manisfest desactive the auto-instanciate correctly at the second time not Dec 06 11:25:03 is very strange i dont understand what is broken :/ Dec 06 11:37:57 How much java I should know to start android programming Dec 06 11:38:14 at least 20 Dec 06 11:39:07 sonda: you can pick it up as you go along, don't worry Dec 06 11:39:15 I have ben reading learn java for android for last two months... read about only 200 pages.. Dec 06 11:49:35 I know 0 Dec 06 11:49:57 and probably still know 0 Dec 06 11:59:36 guys could the second error depend from the first: https://gist.github.com/Yatekii/bbd0b4a750a9fe99d340 ? Dec 06 11:59:55 I have the books, but it's more exciting to me this way. I also get the feeling that real java programming doesn't take place until you need tools better than the ones they provide, or highly customized implementations. That might just be my opinion though Dec 06 12:02:19 Yatekii, why on earth are you chmoding files on external storage? Dec 06 12:02:27 I am not. Dec 06 12:02:35 it just shows me that message Dec 06 12:02:47 this is a sqlitedb Dec 06 12:02:52 maybe the helper chmods it Dec 06 12:02:59 but the fun stuff is: name exists Dec 06 12:03:08 I have some sqlite-db reader and the creation file over here Dec 06 12:03:11 and it says name exists Dec 06 12:03:29 so I believe I acnnot make some text column primary key or I cannot wirte to primary key columns Dec 06 12:04:00 both :P Dec 06 12:04:02 it's possible db open fails due to first error and the column lookup silently fails Dec 06 12:05:38 Eeeeeee: so you say I cannot write to primary key? why not? this is so dumb Dec 06 12:05:46 I wanted replace into Dec 06 12:05:52 but for that I need some primary key Dec 06 12:05:54 i might be wrong :P Dec 06 12:06:01 i'm not db expert Dec 06 12:06:02 but if I cannot set it myself hoiw would that be of use Dec 06 12:06:03 LOL Dec 06 12:06:08 :D Dec 06 12:06:24 it's the gate keeper of your db Dec 06 12:06:33 he don't need you meddling in his business Dec 06 12:15:20 why did you want to write to it btw? Dec 06 12:35:58 so actionbarsherlock has supportinvalidateoptionsmenu Dec 06 12:36:06 and in my actionbar i have a searchview Dec 06 12:36:22 the invalidateoptionsmenu is called when data in the content provider changes Dec 06 12:36:53 which causes the onQueryChanged listener to record a text change to empty string while you are typing something Dec 06 12:37:22 is there a way to know that the actionbar is in the process of invalidating itself and then ignore that query change? Dec 06 12:49:44 are the eclipse sdk files and the android studio sdk files different? Dec 06 12:50:25 working off of backups from computer crash and getting some strange bugs Dec 06 12:56:16 I need some help. Since days I search for my mistake: http://stackoverflow.com/questions/20401533/android-jsonarray-parsing-with-array-sort Dec 06 12:59:09 I want to filter some json data, but when i filter the data, the array.sort does not work.... Dec 06 13:00:41 someone here gives me some tipps. but the array.sort do not sort the right way Dec 06 13:09:40 not sure if it's just a typo Dec 06 13:09:55 but you refer to Array.sort later in the question Dec 06 13:10:30 and in the code it is Arrays.sort Dec 06 13:12:23 Eeeeeee: the sort works fine, when i have a complete season, where all matches are finished Dec 06 13:12:38 haha ya i saw, just sayin :P Dec 06 13:13:11 i can barely read it, so pointing out dependencies is all i'm good for Dec 06 13:27:39 Where is CallumTaylor when you need him Dec 06 13:27:53 He's gay for Json Dec 06 13:28:41 lol Dec 06 13:29:27 can someone remind me what the sdk folder name change was Dec 06 13:29:42 build-tools to tools? Dec 06 13:29:46 or vice versa? Dec 06 13:30:43 the only one i remember was some stuff moving from tools to platform-tools Dec 06 13:31:31 getting really weird bugs Dec 06 13:31:47 from probably mixing two different version of stuff Dec 06 13:31:56 maybe Dec 06 13:31:58 yet sdk updated Dec 06 13:32:03 ./Desktop/android-studio/sdk/tools/source.properties (No such file or directory) Dec 06 13:32:54 Error: Cannot run program "/home/host/Desktop/android-studio/sdk/build-tools/android-4.4/aapt": error=2, No such file or directory Dec 06 13:32:54 } Dec 06 13:58:19 Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project. Dec 06 13:58:42 What's the difference? Dec 06 14:04:14 anyone sure how to go about converting these? Dec 06 14:05:13 you write a gradle build file Dec 06 14:07:58 Tell me if this sounds right: Every separate folder with java in it should be considered a separate module and therefore be it separate gradle module? Dec 06 14:07:59 s er Dec 06 14:08:04 be it's own* Dec 06 14:12:04 Eeeeeee: More specifically, you can't mix the java plugin and android plugin in one single project. But it IS possible to use a java project from android which is quite usable for some use-cases. libgdx does this successfully, see https://github.com/libgdx/libgdx-gradle-template Dec 06 14:13:48 I need to modify the first and last row in my listview ( = changing the height of a particular imageview inside that row, by doing a setLayoutParams, resulting in a requestLayout call). As these listview row views get recycled, I need to do this on every getView() pass. Is there a better way to do this ? Dec 06 14:15:27 Hi all, how can I put "»" in a textview? it's more like a special "a" that I see Dec 06 14:15:49 FrancescoV, you should probably use an entity Dec 06 14:15:55 FrancescoV, are you setting that in XML or in Java? Dec 06 14:16:11 Mavrik: java Dec 06 14:16:25 basically find a \u entity for your char Dec 06 14:16:32 (don't know how it's called in english) Dec 06 14:16:55 and where can I find this? android documentation? java doc? Dec 06 14:16:58 FrancescoV, here: http://www.fileformat.info/info/unicode/char/00bb/index.htm Dec 06 14:17:19 textView.setText("\u00BB") Dec 06 14:17:35 if you set it in XML you should use the HTML entity: » Dec 06 14:18:46 Thanks kjeldahl I guess that makes a little more sense. Dec 06 14:20:45 Mavrik: tnx but still an "a" :p Dec 06 14:20:58 FrancescoV, well, maybe obvious question Dec 06 14:21:07 does your chosen font actually have the glyph? :) Dec 06 14:22:00 euhm, I'm using the default fonts Dec 06 14:23:17 weren't those made for android? Dec 06 14:23:42 there's also something in windows called character map Dec 06 14:23:49 hi guys im a pretty experianced programmer whose just getting into android Dec 06 14:23:54 i have a project i wanna do Dec 06 14:23:57 If I debug en check my string, it's "Bicycles ª Mountain Bicycles" using "\u00BB" Dec 06 14:24:02 can anyone give me advice on thwere to start? Dec 06 14:24:33 i normally work in c++ Dec 06 14:24:43 and i wanna do simple image recognition Dec 06 14:24:47 like take a camera Dec 06 14:25:01 and see where a red ball is Dec 06 14:25:16 based on the color of the pixels Dec 06 14:25:20 deller: which library will you use? Dec 06 14:25:30 lol Dec 06 14:25:30 what do you mean? Dec 06 14:25:42 im totally new to android development Dec 06 14:25:46 and java in general Dec 06 14:25:55 c/c++ developer Dec 06 14:26:25 the documentation is always a good place to start Dec 06 14:27:13 not always :P Dec 06 14:27:23 off it is Dec 06 14:27:24 ofc* Dec 06 14:27:38 i'm finding it pretty dreaful Dec 06 14:27:39 d Dec 06 14:27:40 not if the documentation sucks Dec 06 14:27:48 the android docs don't suck Dec 06 14:28:00 especially the tutorials, they are miles better than they were when I started Dec 06 14:28:05 generally no Dec 06 14:28:54 yep, Android docs are pretty good, mostly better than books out there Dec 06 14:29:02 what's wrong with the docs Dec 06 14:29:18 the only issue i have with the docs is the fact that it doesn't say what API level the XML attributes are Dec 06 14:29:20 are there docs on how to work with android with c++ Dec 06 14:29:40 ....kind of Dec 06 14:29:51 deller, you shouldn't. Dec 06 14:29:52 deller if i were you i'd start with basic android dev before diving into the ndk Dec 06 14:29:53 lol well i have a learning disability at least when it feels like learning Dec 06 14:29:59 get a grip of how the framework works Dec 06 14:30:00 best best for native work is too look at examples Dec 06 14:30:02 deller, ESCPECIALLY if you don't know Android and Java well. Dec 06 14:30:07 you'll have one hellova time. Dec 06 14:30:09 why not? Dec 06 14:30:24 you will still need to use java even with the NDK Dec 06 14:30:27 because doing bridging from Java OS runtime to C++ requires knowledge of both Dec 06 14:30:42 and since you're trying to use camera you WILL have to work with Java OS API's Dec 06 14:30:47 its not a case of creating an app in c++ because that's what you prefer Dec 06 14:30:58 you actually can't create an app purely in c++ Dec 06 14:31:05 i see Dec 06 14:31:21 and theres no way to just run my app before the java OS loads even? Dec 06 14:31:28 like directly on the native platform? Dec 06 14:31:37 deller: No Dec 06 14:31:37 its only gonna run on 1 phone Dec 06 14:31:38 you can't Callum? Dec 06 14:31:43 for a very specific project Dec 06 14:31:48 No Dec 06 14:31:51 Eeeeeee: no Dec 06 14:31:51 :( Dec 06 14:31:54 deller, there is nothing before Java platform Dec 06 14:31:59 deller, Android isn't a Linux distro Dec 06 14:32:09 there is nothing except basic kernel loaded before Java loads Dec 06 14:32:17 My friend lied to me then Dec 06 14:32:22 basic kernel is linux... Dec 06 14:32:23 lol Dec 06 14:32:27 enough to run c++ Dec 06 14:32:28 no? Dec 06 14:32:34 deller, run what exactly? Dec 06 14:32:36 No Dec 06 14:32:46 deller, you don't even have working drivers Dec 06 14:32:54 since those are written to interface with dalvik Dec 06 14:33:06 deller, if you want a Linux embedded platform, buy one Dec 06 14:33:15 Android won't work for you if you want to avoid Java Dec 06 14:33:29 i see Dec 06 14:33:38 Eeeeeee: you still need to interface with java for android because android runs on the JVM. the ndk is actually quite limited with what you can do, its mainly used for more intense processing like images, OpenGL, graphic stuff Dec 06 14:33:57 you'll still need to interface with java if you want any UI on your screen Dec 06 14:33:59 and there arent any projects that run a plain linux distro on android phones? Dec 06 14:34:08 no Dec 06 14:34:12 @CallimTaylor i dont want any UI Dec 06 14:34:17 no Dec 06 14:34:26 :( Dec 06 14:34:27 its not the point Dec 06 14:35:13 deller, again, if you want plain linux, get a plain linux development board Dec 06 14:35:18 I was under the assumption he just ported straight from iOS Dec 06 14:35:21 you will not have proper drivers or system layout on Android devices Dec 06 14:35:40 beagleboards are cheap as hell, no need to complicate your life :) Dec 06 14:35:41 yes, but my project will go overbudget Dec 06 14:35:50 or a raspi with camera module Dec 06 14:35:52 we have $30 + android phone to work with Dec 06 14:36:01 sell the phone, buy something appropriate Dec 06 14:36:02 raspi is kinda crap CPU-wise for CV purposes :/ Dec 06 14:36:09 well its MY phone Dec 06 14:36:14 which ill need after the project Dec 06 14:36:14 lol Dec 06 14:36:20 We might be able to help you more if you explained what you are trying to do Dec 06 14:36:36 There is a risk that we might steal your idea Dec 06 14:36:36 these java geeks just turned into a mob Dec 06 14:36:38 lol jk Dec 06 14:36:42 lol Dec 06 14:36:44 no risk there Dec 06 14:36:46 deller, well... welcome to wonderful world of Java and OpenCV for Android then... docs are this way ----> d.android.com :P Dec 06 14:36:46 but it is a risk i am willing to take Dec 06 14:36:48 LOL Dec 06 14:36:53 the phone sits on a robot Dec 06 14:37:02 and i want it so search for a certain color baloon Dec 06 14:37:04 and pop it Dec 06 14:37:04 bluetooth Dec 06 14:37:18 can be done in java code Dec 06 14:37:25 i suggest you learn now Dec 06 14:38:36 is it realistic to learn java and open CV on android in 3 weeks only working several hours a day? Dec 06 14:38:57 depends how quick you are Dec 06 14:39:01 lol Dec 06 14:39:09 and how dedicated you are Dec 06 14:39:10 main trouble i had was compiling open CV so far Dec 06 14:39:13 doubt it. Dec 06 14:39:20 or how many bitcoins you can give me Dec 06 14:39:29 lol Dec 06 14:39:33 lol Dec 06 14:39:35 i only charge 1BTC /hr Dec 06 14:39:53 CallumTaylor: don't be greedy Dec 06 14:40:05 i charge 0.5 BTC/hr Dec 06 14:40:06 1 is a low number right Dec 06 14:40:17 alright, i'll do 0.49btc/hr Dec 06 14:40:27 0.48btc/hr Dec 06 14:40:35 I'LL DO IT FOR FREE Dec 06 14:40:46 I'll pay to... nope Dec 06 14:40:49 I'll pay you to le... Dec 06 14:40:51 lol Dec 06 14:41:36 do you guys recomment openCV or metaio? Dec 06 14:41:40 Well i guess i lost this bid Dec 06 14:41:41 hey any of you smart guys wanna build an app for me?? Dec 06 14:41:50 starting the bidding at 1 BTC Dec 06 14:41:58 2btc Dec 06 14:42:03 damnit! Dec 06 14:42:04 3btc Dec 06 14:42:16 Eeeeeee: you're not Mexican are you? Dec 06 14:42:26 bid ALL the bitcoins Dec 06 14:42:32 those are fighting words, leeds Dec 06 14:42:54 no, "put up your fists, boy!" - them's fighting words... Dec 06 14:43:01 hahahah Dec 06 14:43:19 old school fighting words at that Dec 06 14:43:19 real fighting words... Dec 06 14:43:19 Eeeeeee, how bout good'ol EUR? :P Dec 06 14:43:57 I'll build an app in exchange for endorsement Dec 06 14:44:03 ok I'm mexican Dec 06 14:44:08 I'm not going to say what the fighting words were at *my* old school Dec 06 14:44:11 will code for food Dec 06 14:44:15 lol Dec 06 14:44:23 when I say old... it was founded in 1552 Dec 06 14:44:41 *that's* old school :P Dec 06 14:45:09 well don Dec 06 14:45:13 t make us beg you Dec 06 14:45:15 that could have been the first school Dec 06 14:45:49 built by Sir Tim School himself in 1552 Dec 06 14:46:49 it was founded by Mr. William Sheafield Dec 06 14:47:06 I liked him in dirty dancing Dec 06 14:47:07 well, he left money in his will to pay for it, anyway Dec 06 14:47:44 i like giving fake history lessons Dec 06 14:49:45 OK here it goes Dec 06 14:49:50 I like acting like I didn't Google something that the other person knows I did google Dec 06 14:50:00 It was a dark and stormy night Dec 06 14:50:59 The rain played the song of tragedy approaching as Sir Tim School laid the brick and mortar foundation for his dream of accessible education for the masses Dec 06 14:51:44 Out of the blue a small armada of Spanish guards appeared as though the fell from the sky Dec 06 14:52:29 Sir School knew this was trouble... For he had knowingly disobeyed the King of Spain's final order Dec 06 14:52:39 * Eeeeeee thinks as long as no one says anything he has to keep going Dec 06 14:52:51 as the Spaniards drew their swords Dec 06 14:53:25 Sir School spoke those words which would become as immortal as his memory Dec 06 14:53:32 Leeds: What were those words? Dec 06 14:54:51 well nothing he says can really top that build up Dec 06 14:55:15 Eeeeeee: i would like to think that he can Dec 06 14:55:30 DarkSlay3r: oh only just saw your message, i was out for lunch Dec 06 14:56:06 I see him faking afk just to get out of having to attempt it Dec 06 14:57:35 Well that's disappointing... Dec 06 14:57:50 I was looking forward to an epic conclusion... Dec 06 14:57:55 and then the all died Dec 06 14:57:56 the end Dec 06 14:58:24 Well i didn't see that coming... Dec 06 14:58:46 yeah you might have over done yourself Dec 06 14:59:26 remind me not to fake historic battle you anytime soon Dec 06 14:59:54 im a master literaturist Dec 06 15:00:10 I heard your gay for json Dec 06 15:00:23 I'm fabulously gay for json Dec 06 15:00:29 hahaha Dec 06 15:00:41 I tried to get with json Dec 06 15:00:59 lol Dec 06 15:01:08 i got dumped Dec 06 15:01:27 ... crash dumped Dec 06 15:01:33 ba dum crash! Dec 06 15:01:45 super old photo http://s.scruffyfox.me/json.jpg Dec 06 15:01:59 i also have a better version of the tshirt that looks like http://s.scruffyfox.me/5471523_107081668_none_orig.png Dec 06 15:02:02 hahahaha Dec 06 15:02:40 The only Tshirt iv Dec 06 15:02:48 got is with a firefox logo Dec 06 15:04:39 well I have an american flag filled with original space shuttle code all over it Dec 06 15:05:12 Oh i have a black hoodie with android logo Dec 06 15:05:28 I like to wear it around iPhone users Dec 06 15:05:31 Ok I lied Dec 06 15:05:41 I - somewhere - have a t-shirt from the altavista northern europe mirror Dec 06 15:06:01 all my iphone friends are slowly switching over to android anyway Dec 06 15:06:28 Leeds: I'll trade you a piece of the Great wall for it Dec 06 15:06:38 i have a free droidcon uk 2013 tshirt Dec 06 15:06:46 meh Dec 06 15:06:52 it was free Dec 06 15:06:54 so w00t Dec 06 15:07:15 i want a defcon Tshirt Dec 06 15:07:22 CallumTaylor: you didn't have to pay for the con? Dec 06 15:07:28 nope Dec 06 15:07:31 company paid Dec 06 15:07:37 oh I did have a Google hat at one point Dec 06 15:07:39 Nice Dec 06 15:07:41 wow ffmpeg is a hassle to compile.. X) Dec 06 15:07:41 lost it at mardi gras Dec 06 15:07:41 ok, so it wasn't really free, was it? Dec 06 15:07:42 although i wanted to go to IO Dec 06 15:07:45 we didn't have the time to take off Dec 06 15:07:48 was for me Dec 06 15:08:03 Eeeeeee: I have a Google baseball cap - wore it on holiday in Japan a few months ago, one person asked me if I worked there Dec 06 15:08:07 I would love to go to IO on your behalf Dec 06 15:08:15 thanks for the offer Dec 06 15:08:28 pretty sure everyone assumes that cause no one has them lol Dec 06 15:08:43 yeah, I mean it's not like you can just buy them Dec 06 15:08:51 to be fair I only wanted to go so I could have a week in SF to meet up with some guys from square/app.net Dec 06 15:09:05 also the io thing Dec 06 15:09:09 CallumTaylor: No need to worry Dec 06 15:09:21 i will be your eyes on the ground next year Dec 06 15:09:29 no one likes shopping on the google store.. too scared they're gonna get scammed. it looks historic Dec 06 15:09:32 the tickets go quicker every year its annoying Dec 06 15:09:46 https://www.googlestore.com/Google+Redesign/Wearables/Headwear/Android+Step+Beanie.axd Dec 06 15:09:55 lol Dec 06 15:09:59 Leeds: that's awesome Dec 06 15:10:00 This year was what... 40 something seconds Dec 06 15:10:22 i have a little gennymotion android on my desk Dec 06 15:10:26 wait, what? axd is .net, according to, er, Google Dec 06 15:11:02 I had some little wind-up Androids in my office, not sure where they went in the office move last year... I also have a penguin from some company called "akibia" on top of my monitor Dec 06 15:11:09 lol Dec 06 15:12:20 I need to get a good job like you guys Dec 06 15:12:27 honestly this store hasn't improved in like 10 years. Dec 06 15:12:35 My desk is like a wasteland Dec 06 15:12:52 my desk looks like the result of a very localised nuclear war Dec 06 15:12:53 I'm in two minds about my little android, i don't like clutter on my desk Dec 06 15:13:19 my desk is yeah way worse I can promise that Dec 06 15:13:28 phones, groupon vouchers, licorice, penknife, cables, drumsticks, bank papers... Dec 06 15:14:01 I need something to remind all those around me that android is the best platform in existence Dec 06 15:14:13 don't worry Dec 06 15:14:18 you remind them enough Dec 06 15:14:25 is the driver for touchpad resides in recovery.ing? Dec 06 15:14:37 Plus there is no iOS mascot so unless they want to hang ipads of their desk Dec 06 15:14:46 we win in that space Dec 06 15:15:16 iOS mascot is the Apple logo, really Dec 06 15:15:19 their mascots are hipsters Dec 06 15:15:44 nope sorry that's just a logo Dec 06 15:15:54 Leeds: Apple logo on skateboard Dec 06 15:16:01 Apple logo eating android? Dec 06 15:16:12 nope, Android logo belongs on a skateboard, although that's sort of faded away Dec 06 15:16:15 no... Dec 06 15:16:28 the Dec 06 15:16:31 droid Dec 06 15:16:36 is silently watching you Dec 06 15:16:37 https://www.google.com.hk/search?q=android+skateboard+logo&tbm=isch Dec 06 15:16:58 droid logo is like the fedex logo Dec 06 15:17:04 no one knows what they're looking at Dec 06 15:17:10 what, there's a hidden -> Dec 06 15:17:25 i like droid better Dec 06 15:17:36 hidden robot is pimp Dec 06 15:18:20 did you guys see the original drafts for the logo? Dec 06 15:18:42 They look like tinman from the wizard of oz Dec 06 15:18:49 had an accident with a paint bucket Dec 06 15:18:53 droid? no I normally keep up with that industry but haven't been lately Dec 06 15:18:56 LOL Dec 06 15:20:18 you sure it was real? Dec 06 15:20:41 yeah Dec 06 15:20:47 only site i found looked like the lawyers got to em Dec 06 15:21:06 oh nm see it on images Dec 06 15:21:18 this is a joke btw Dec 06 15:21:32 http://gizmodo.com/5973063/the-original-android-mascots-were-super-scary Dec 06 15:22:07 lol Dec 06 15:22:38 k glad they didn't pay someone to do those Dec 06 15:24:29 wow Dec 06 15:24:32 that's horrible Dec 06 15:26:21 hmm, morrilldl seems to have vanished from (public) G+ in July Dec 06 15:26:36 how do you manage your devices? it's getting super unwieldy with all the USB cables Dec 06 15:26:56 I use genymotion for development Dec 06 15:27:09 so you keep unplugging and plugging things back in? Dec 06 15:27:34 no i only test on a device when I need to, my main development is done using genymotion which is a vm Dec 06 15:28:07 ya i don't get why other people even bother with avd Dec 06 15:28:18 other than adb Dec 06 15:28:31 meh, the emulator works fine Dec 06 15:28:45 meh that Dec 06 15:28:49 s my point Dec 06 15:30:03 everyone says that like it's not the slowest clunkiest thing about android dev Dec 06 15:30:14 DDMS is worse Dec 06 15:30:20 Emulator is just fine :) Dec 06 15:30:24 lol Dec 06 15:30:28 I don't use ddms Dec 06 15:30:49 all you need for debugging is Log.d() :) Dec 06 15:30:57 * Mavrik slaps Leeds Dec 06 15:31:03 that's all I do Dec 06 15:31:04 well then there's systrace Dec 06 15:31:12 incidentally, did anyone try http://jimulabs.com/ Dec 06 15:31:15 people actually use the debugging tools what Dec 06 15:31:15 which is another thing I'd like to gouge my eyes off with Dec 06 15:32:09 lol Dec 06 15:32:18 Leeds: ooh! Dec 06 15:32:55 I guess that's "no, nobody has tried it" :) Dec 06 15:33:23 “Mirror” stands for “no More compile-Install-Run to see youR UI changes On Real devices”* Dec 06 15:33:31 ..... Dec 06 15:34:14 so it stands for "trying way too hard to fit a nice acronym" Dec 06 15:34:21 :P Dec 06 15:34:43 Leeds: i'm going to get a team license. thanks! Dec 06 15:34:57 funkbox: will be very interested to hear feedback Dec 06 15:35:17 somebody uses otto event bus? Dec 06 15:35:19 i'm going to have the designer try it and see try it Dec 06 15:35:20 FrancescoV: yes Dec 06 15:35:44 funkbox: do you need to create for every event a class? or what's the best way to do it? Dec 06 15:36:23 yes Dec 06 15:36:27 it's sensibel Dec 06 15:36:29 I could see this becoming a thing if all the sudden the best developers out there were antisocial and wouldn't leave home, and needed a way to show corporate without being being seen Dec 06 15:41:28 Hey, I've put my navigation drawer invocation in my FragmentActivity subclass, but the activity up button is no longer showing up when it should. Anyone encountered this? Dec 06 15:43:38 funkbox: ok tnx, does the bus send the event to every class which has the event? Dec 06 15:50:58 which subscribes to it, yes Dec 06 16:11:40 Not supporting custom fonts nicely is a huge pita Dec 06 16:12:27 custom fonts ruined the internet Dec 06 16:13:52 everyone thought they were being unique turned out they had awful design sense Dec 06 16:14:24 Yes, but that is a choice, it should not punish you if you know what you are doing Dec 06 16:14:40 I still run into designers that don't know better Dec 06 16:14:43 FrancescoV: I use Otto Dec 06 16:14:48 Anyone get a 4.4.1 update yet for Nexus 5 Dec 06 16:15:04 They want me to use Myriad Pro, which is not a bad looking font Dec 06 16:15:11 Elderwolf: Not OTA. I downloaded the zip and sideloaded it though Dec 06 16:15:20 jonc: please no myriad pro Dec 06 16:15:24 JakeWharton: you don't happen to have Glass do you? Dec 06 16:15:28 jonc: fight hard for roboto Dec 06 16:15:31 JakeWarton: now I do too :) I figured out how to do it the right way ;) Dec 06 16:15:40 Elderwolf: Nope Dec 06 16:15:48 certain fonts will look way different on screen not to mention different dpi's Dec 06 16:15:58 Elderwolf: not worth the money Dec 06 16:16:01 It may be way to much work to go with a custom font, so I probably will just tell them it stays Dec 06 16:16:09 it's a nice toy and you can use it to pick up girls, but that's about it Dec 06 16:16:15 :( My glass won't receive bluetooth data when not on wifi. They said next update might fix it. Dec 06 16:16:18 jonc: why do they want myriad pro? Dec 06 16:16:26 Because that is what I was told to use Dec 06 16:16:27 funkbox: then you've missed the point. It's not a toy to go buy. Dec 06 16:16:39 Elderwolf: ah, you have to buy it Dec 06 16:16:48 although if i were a betting man.. I/O 14.. Dec 06 16:17:20 jonc: tell them android font rendering is different from what it looks like on their mac in photoshop Dec 06 16:17:44 Glass is most useful for researchers, devs ,companies wating some free fame. Not for average user that has to decide between gadget x and y for usability. Dec 06 16:17:51 jonc: and send them this http://developer.android.com/design/style/typography.html with special attention on specimen book Dec 06 16:19:45 After reading that, all I know is that I want a damn fudgesicle Dec 06 16:20:24 especially for 25 cents Dec 06 16:21:24 Hey girl check out my glass... Dec 06 16:21:41 No it doesn't make me look like a dork Dec 06 16:21:49 eyy gurrr Dec 06 16:21:49 yes i can write apps... Dec 06 16:22:02 This conversation will not end well Dec 06 16:22:18 apps are the new rock and roll Dec 06 16:22:41 and we're heading to pound town!! Dec 06 16:22:45 am I right? Dec 06 16:22:52 nope, ok then Dec 06 16:23:10 Did you just fire a callback or are you just happy to see me Dec 06 16:23:29 lol Dec 06 16:24:03 we should do a radio show for android developers dark Dec 06 16:24:28 It would be awesome Dec 06 16:24:36 I think people would actually listen to our nonsense Dec 06 16:25:00 I wanted to do my own podcast a while ago Dec 06 16:25:07 hell 500 people already do sit through it as it is Dec 06 16:25:32 Never got it off the ground Dec 06 16:28:18 I dj'd at a college station Dec 06 16:29:09 If somehow get the feeling that putting me in front of a microphone would be giving me too much power Dec 06 16:29:23 they weren't technically supposed to let me though because it was like 3 years before i went there Dec 06 16:29:26 i bet apple would file a law suit against me in a week Dec 06 16:29:38 well i was gonna say Dec 06 16:29:47 we're gonna have to tone down the bashing Dec 06 16:30:04 of course... Dec 06 16:30:10 I mean you heard that guy call us out the other day? in android-dev of all places Dec 06 16:30:50 how free is free speech though? Dec 06 16:31:07 Free speech is free Dec 06 16:31:20 but what you really want is premium free speech Dec 06 16:31:34 we would tone down the slander Dec 06 16:31:51 that cost's about $3000 - $5000 depending on where you live Dec 06 16:32:16 guys where should I store app-internal files? Dec 06 16:32:24 probaly not on the sd card I guess Dec 06 16:32:27 internally Dec 06 16:32:30 sry ;D Dec 06 16:32:59 android/data/yourpackagename/ Dec 06 16:33:14 no one ever looks in there Dec 06 16:33:19 lol!! Dec 06 16:42:17 https://gist.github.com/Yatekii/e69d1ed92cb1ae642cf1 does anyone know advice? Dec 06 16:42:28 hey I have adb on the environment variable, I have the new libs that are needed, it's executable, what am I missing here? It's saying it's not a file... won't let me compile the project even Dec 06 16:58:03 Any tips for expanding .cpgz files in android? Dec 06 17:19:47 Is there a ZIP64 library fro android? Dec 06 17:21:13 ghost town today :U Dec 06 17:21:17 hey Dec 06 17:21:21 yeah Dec 06 17:21:39 i'm watching the text scroll by just can't help ya ;) Dec 06 17:22:06 hey how credible is this website appleinsider.com? Dec 06 17:26:14 they're throwing some pretty credulous headlines around just wondering if it's all buzz or bs -- "Google appears ready to ditch Android over its intellectual property issues" Dec 06 17:27:39 how credible is any apple 'news' website Dec 06 17:27:44 its all gossip and rumour shit Dec 06 17:27:47 habhahaha Dec 06 17:32:22 and if you badmouth apple they sue you Dec 06 17:32:51 Holy fuk; how is Zip64 not supported in android Dec 06 17:32:57 that's alright, I have no money to give them Dec 06 17:33:06 hey guys i played around with open cv a bit and i need a bit of help Dec 06 17:33:11 Eeeeeee: yes, it seems completely reasonable that Google would just abandon the world's most popular operating system over some legal issues Dec 06 17:33:27 the color blob detection sample is almost what i need Dec 06 17:33:34 but i need to find the center of the blob Dec 06 17:33:34 got me thinking though this push towards gradle, and these "don't mix and match projects with java" has got to be a hard pill to swallow Dec 06 17:33:40 not the outline Dec 06 17:33:44 how can i do this? Dec 06 17:34:56 outline.getCenterOfTheBlob(please = true); Dec 06 17:35:05 i think Dec 06 17:35:37 deller: I don't think that many people in here are very familiar with opencv Dec 06 17:35:58 try #opencv Dec 06 17:36:20 * joakime find gradle more hassle than maven for large projects Dec 06 17:57:31 evanc Say it was hypothetically possible for Oracle to settle a crazy enough amount to have Google think owning 90% of everything related to the platform was good enough to walk away from. Is it still Google "stole" this, or does it become Oracle "contributed" this and go back to being an open source project. I'm not versed in the big business of open source, so just these thought baffle me. Dec 06 17:59:02 Eeeeeee: I have no idea what you're asking, but it sounds like you should find a lawyer to ask Dec 06 17:59:16 no one in here is going to be able to answer that with any sort of confidence Dec 06 18:04:29 hi there, does someone know adress of the old android dev tutorial from google_ Dec 06 18:06:25 smart1: it's likely been taken down. Why do you need it? Dec 06 18:07:06 Just saying it's interesting to me. Sorry for bothering you. I probably shouldn't have tagged you tbh Dec 06 18:08:25 Eeeeeee: it's just a useless topic for this channel which never leads to anything productive other than various uninformed people yelling at each other for several hours Dec 06 18:09:42 evanc, i have problems by setting up the values for a list element layout. i created a layout a with a listview, and layout2 with a template for each list element. but i dont know how ot fill each id of layout2 Dec 06 18:09:48 and add it to the list Dec 06 18:10:49 http://developer.android.com/guide/topics/ui/layout/listview.html Dec 06 18:14:23 evanc, thx, but i'm more intested in the part how i could set the values for layout2 if there are 3 values to set and not just one Dec 06 18:16:45 smart1: there are loads of listview/adapter tutorials online Dec 06 18:17:57 this one is about as inefficient as possible but it's a good start: http://www.vogella.com/articles/AndroidListView/article.html#adapterown_example Dec 06 18:18:23 thx, this looks good, now i know what i have to search for :) Dec 06 18:18:29 if i were to jump in and make a suggestion, i'd suggest doing your own adapters Dec 06 18:18:34 as the tutorial describes Dec 06 18:18:35 just google for [listview|adapter tutorial] and start reading. Once you get it working, throw "viewholder" into your query and start reading again Dec 06 18:18:37 instead of using the default Dec 06 18:18:42 right Dec 06 18:18:55 because a) You learn how it's working, and b) If you find you need to make changes down the road, it's pretty minimal work Dec 06 18:18:57 honestly, the provided adapters are generally useless Dec 06 18:19:07 (I'm looking at you, ArrayAdapter) Dec 06 18:19:12 heh Dec 06 18:19:23 im pretty new, but that's probably the only one i'd actually consider using at all Dec 06 18:19:36 evanc point taken Dec 06 18:21:19 What is the "ALERT" section in the gplay dev console for? Dec 06 18:28:14 good question darken, looks like they just added that Dec 06 18:28:39 seand, possible, can't remember seeing it yesterday Dec 06 18:29:58 hey darken what percentage of active installs vs total installs do you have for your app(s)? Dec 06 18:30:59 on the free apps probably something along 15-30% Dec 06 18:33:04 mine is 18-20% so i was just curious what other apps are like. i think several of those aren't actually 'active' uses though Dec 06 18:34:18 slightly depends on the app types Dec 06 18:34:24 and ofc if paid or IAP Dec 06 18:34:30 those obviously have higher % Dec 06 18:39:29 Music download apps are not allowed on the Play Store, right? Even if they get the music from "legal" sites such as soundcloud Dec 06 18:40:00 I'm having trouble figuring out where AccountAuthenticator based preferences are being saved. Here's a slice through the various files involved. http://pastebin.com/mXUgYkLR Dec 06 18:40:16 I'm able to get into the accounts settings, see the associated preferences, and toggle the checkbox. Dec 06 18:40:44 However, I don't see any xxx_preferences file within the app's /data/data/ directory, and the java code too doesn't reflect the changes in the checkbox Dec 06 18:45:10 What's the best way to make a button not huge? Dec 06 18:45:24 way too much padding on top and bottom by default Dec 06 18:45:53 just set negative margins? Dec 06 18:46:20 you could always style the buttons to the way you want, I suppose Dec 06 18:46:48 Already using a style, but setting minHeight to 0dp, makes the button flush against the text, and I can just add padding to it, thanks Dec 06 18:51:49 jonc what is the button for Dec 06 18:53:17 darken: it's for pressing Dec 06 18:53:21 * JesusFreke ducks Dec 06 18:53:41 http://www.youtube.com/watch?v=oJDGcxAf9D8 Dec 06 18:54:15 JesusFreke, genius D: Dec 06 18:54:41 Often you could also use an actionbar item which removes the issue and looks more fancy :) Dec 06 18:56:08 this button pressing idea has potential Dec 06 18:57:08 Hmm, If my app downloads some files I want only the app to see, where do I put those files? Dec 06 18:57:18 explodes: internal app storage Dec 06 18:57:32 explodes: (there's an api for it; look under app storage on the docs site) Dec 06 18:57:36 k Dec 06 18:57:40 explodes: external storage is on the SD card and available to all Dec 06 18:57:44 thanks Dec 06 18:57:49 explodes: and be aware, that it's invisible only to other apps, not a rooted device Dec 06 18:58:07 explodes: so if it's "private" but not totally private Dec 06 18:58:22 ie don't put some magic data that will kill your company if someone sees it on there :P Dec 06 18:58:35 or naked pictures Dec 06 18:58:40 see Context#openFileOutput Dec 06 18:58:52 def naked pictures, scares people away from magic formulas Dec 06 18:59:03 depends D: Dec 06 18:59:09 or well Dec 06 18:59:11 hahahaha Dec 06 18:59:11 <|0xD34D|> security through nudity? Dec 06 18:59:14 it might rather Dec 06 18:59:17 "lure" them away Dec 06 18:59:52 wtf it doesn't fit the File api? i.e. I cannot list files? Dec 06 19:00:12 @dragorn? Dec 06 19:00:23 i don't recall offhand Dec 06 19:00:38 its your directory, if the permissions are correct, you can list it Dec 06 19:01:29 Ah I can list this: /data/data/[your.package.name]/ Dec 06 19:01:35 in the world of security through nudity, strip clubs are the banks Dec 06 19:01:35 cool Dec 06 19:01:45 explodes, context.getFilesDir() Dec 06 19:02:00 yes you can Dec 06 19:02:04 but you shouldn't hardcode that Dec 06 19:03:27 k k Dec 06 19:03:30 stupid question, anything different about adb through the SDK? Dec 06 19:05:38 as opposed to what? Dec 06 19:12:17 Hey guys, a bit of a strange problem here. My TextView has a transparent background for some reason, and theres no reason it should be... Any ideas? Heres my layout code.http://pastebin.com/2rH2Wmt7 Dec 06 19:12:47 http://i.imgur.com/Edom2kZ.png Dec 06 19:12:49 that's what it looks like Dec 06 19:13:50 it's just the same color Dec 06 19:14:16 it should be the same as the background of the drawer no? Dec 06 19:14:26 i didn't check it btw Dec 06 19:14:37 It's not the same color at all Dec 06 19:14:38 dont have plugins yet Dec 06 19:14:49 353535? Dec 06 19:14:57 #f8f8f8 Dec 06 19:14:58 that seems the range of grey Dec 06 19:15:03 it's 100% transparent Dec 06 19:15:10 if I slide the drawer I can see the background fading Dec 06 19:15:14 3e sry Dec 06 19:15:21 I can record that with adb if you give me a second Dec 06 19:15:29 haha i believe you Dec 06 19:15:41 okey doke Dec 06 19:16:06 I think I may have fixed it, but I gotta recompile Dec 06 19:16:07 ollienx: ofc it has a transparent background Dec 06 19:16:13 It shouldn't Dec 06 19:16:18 yes, it should Dec 06 19:16:26 look at your pastebin Dec 06 19:16:28 Why should it? It's over a drawer Dec 06 19:16:33 oh wait Dec 06 19:16:37 right... Dec 06 19:16:40 there we go Dec 06 19:17:09 lol Dec 06 19:18:09 If I override the EditText style in my theme do I have to add something special to the style to get it to work? I have the background working, but I can't actually enter any text Dec 06 19:18:31 or do I need a selector + styles? Dec 06 19:19:12 jonc: I've never worked with it, but I wanna say that you would Dec 06 19:19:26 Make sure it's focusable first though. Dec 06 19:19:36 yeah, tried that, and editable, and enabled Dec 06 19:20:06 going to try adding parent="@android:style/Widget.EditText" to the style Dec 06 19:20:48 That worked Dec 06 19:25:22 is there a way to merge multiple android keystores into one? Dec 06 19:25:46 Hey, could anyone here critique my resume? I'm applying for internship for android development Dec 06 19:25:54 Not sure if this is the appropriate place to ask Dec 06 19:26:32 i dont see why not. but people cannot review without a link. Dec 06 19:26:42 though I am not sure if I would be ideal. Dec 06 19:26:50 im not as experienced in android dev. Dec 06 19:27:01 have you tried #android as well? Dec 06 19:29:18 https://docs.google.com/document/d/1o1UNDdIKGCZPz6hjo5ANPaencKtFiiXeyETW9hjwTcs/edit?usp=sharing here's the lnik Dec 06 19:29:24 maybe I should ask #android Dec 06 19:29:33 i wouldn't Dec 06 19:30:04 Yeah this looks great lol Dec 06 19:30:11 thought you meant real feedback Dec 06 19:30:22 LOL forgot to take out Rutgers Dec 06 19:30:25 I go to rutgers, there Dec 06 19:30:27 hah Dec 06 19:30:51 Yeah I guess I'm mostly interested in formatting Dec 06 19:30:52 your template looks fine lol Dec 06 19:30:59 that's great Dec 06 19:31:10 I have to e-mail this quite soon, just making last minute things Dec 06 19:32:00 I was going to do my resume in latex but I'm short on time Dec 06 19:32:14 i would stop worry with the format Dec 06 19:32:40 and get to worrying about the the words Dec 06 19:32:54 do you think, in my experiences section, I should specify the school for the classes i mention? Dec 06 19:32:59 Ah, is my wording bad Dec 06 19:33:00 ? Dec 06 19:33:11 lol it's just a template i thought? Dec 06 19:33:19 with funny stuff in between? Dec 06 19:33:20 nonono Dec 06 19:33:22 oh Dec 06 19:33:24 this is my resume Dec 06 19:33:25 lemme read it then Dec 06 19:33:25 lol Dec 06 19:33:27 with a fake name Dec 06 19:33:28 lol Dec 06 19:33:37 saw like hacker university hacktastics Dec 06 19:33:41 and just laughed lol Dec 06 19:34:02 When Android is calling my app I get the a path to the selected video file wich is in some content:/media/ format, and not a path (such as /removable/video.mp4). I can just pass this path fine to a MediaPlayer object but MediaExtractor crashes. Any way to find the absolute path? Dec 06 19:35:17 looks good, about the classwork being there or not Dec 06 19:36:12 you want them to see rutgers, as well as you experience, before class work Dec 06 19:36:15 i would certainly hope Dec 06 19:36:42 Miklas: have you tried ContentResolver#openInputStream(Uri) ? Dec 06 19:36:45 Miklas: You probably want ContentResolver http://developer.android.com/reference/android/content/ContentResolver.html Dec 06 19:37:18 Cheers, I tried Googling and got until MediaStore and ContentURI but not to ContentResolver. Dec 06 19:37:21 Eeeeeee: my experience is mostly class work atm :/ Dec 06 19:37:37 If you want the file path I guess use CR#openFileDescriptor Dec 06 19:37:56 However I am undergoing a significant android project for the university Dec 06 19:38:06 that Dec 06 19:38:11 is what i'm talking about Dec 06 19:38:15 should be at the top Dec 06 19:38:26 ah, I should put experience before education? Dec 06 19:38:41 locked out of my google account atm so can't sign in Dec 06 19:39:09 but we might want to take this to pm so we're not bothering anyone Dec 06 19:40:02 Hey guys! How can i know wether my calling intent is meant to deliver a result or not? I want to determine wether or not to allow selecting items in a list accordingly Dec 06 19:40:39 depends really, your experience is imo more important than class work. class work proves you knew the answers experience shows you can get it done Dec 06 19:40:46 Im loading a ScrollView with ImageViews. The ScrollView is pretty choppy. I am guessing it is due to the device resizing the Images? Maybe it would help if I do multiple renders and use the layout folders? Dec 06 19:42:27 theblang, It wouldn't really help a lot as the diverse screen settings will need diverse resizings. Try something like centerCrop so your image isn't resized that often - Don't take my word for all of that though, i'm on the speculation side Dec 06 19:43:19 Machinarius yeah, that is what I was thinking, regarding the diverse screen settings. I figured I would do a high res render and just let it scale naturally. The scroll view is pretty rough though. There are only about four images on it. Dec 06 19:43:47 Weird, small images have never shown that beahviour to me Dec 06 19:44:30 Machinarius My heirarchy is ScrollView -> Relative Layout -> Images. I wonder if the nested is causing any problem Dec 06 19:44:55 I would directly blame the imageviews, that nesting is too shallow to prove problematic Dec 06 19:45:59 Are you loading on a background thread? Caching the images? Dec 06 19:46:26 f2prateek no, it is just an info page with about 4 graphics. so statically setting them in XML Dec 06 19:46:47 f2prateek_ Dec 06 19:46:47 how big are the images? Dec 06 19:46:58 hmm, 1080 x various heights Dec 06 19:47:20 i guess you *could* resize the images yourself once in another thread Dec 06 19:47:23 1080 * h sounds pretty big Dec 06 19:47:33 what's the smallest height Dec 06 19:47:35 maybe I should do a lower render size Dec 06 19:48:12 Is it possible to get the view from a listview? Dec 06 19:48:14 heh, yeah, 727. that is probably the problem. I don't need to render at 1080 x 727 Dec 06 19:48:25 getChildAt() always returns null Dec 06 19:49:31 For images that large, you should be using a background thread Dec 06 19:50:26 resize them to sane dp-turned-pixel values on another thread prior to showing the actual list Dec 06 19:50:41 that way you only scale once and fast Dec 06 19:51:11 you also probably don't need images that large anyway Dec 06 19:52:02 f2prateek_, unless offcourse he actually does - wallpaper apps and such things Dec 06 19:52:16 f2prateek_ you are correct, I don't need near that big Dec 06 19:52:29 I am going to render much lower and see how it performs Dec 06 19:53:30 Machinarius: right, that's why I said probably. I assumed it to be very unlikely that one would need four 1080*720 px images at once Dec 06 19:58:57 Machinarius f2prateek_ So this is interesting. I was specifying a layout_height. I took away the layout_height and the images are super smooth. of course there is a ton of blank space between them, which is why I specified layout_height in the first place. Dec 06 20:00:06 Machinarius f2prateek_ excuse me, didn't take away the layout_height, made it wrap_content Dec 06 20:03:12 what's the deal with HttpClient - is it really deprecated or should be considered deprecated? Dec 06 20:06:59 jedir0x: what leads you to think it's deprecated? Dec 06 20:07:54 http://android-developers.blogspot.com/2011/09/androids-http-clients.html Dec 06 20:07:55 that Dec 06 20:08:18 "For Gingerbread and better, HttpURLConnection is the best choice. Its simple API and small size makes it great fit for Android. Transparent compression and response caching reduce network use, improve speed and save battery. New applications should use HttpURLConnection; it is where we will be spending our energy going forward." Dec 06 20:09:06 ah, i see. Dec 06 20:09:44 suppose you could say they are kind of abandoning it. it's not deprecated as of yet thou. Dec 06 20:14:05 jedir0x: Use OkHttp Dec 06 20:18:14 what's it use under the hood kakazza Dec 06 20:22:38 Machinarius f2prateek_ yeah, the screen is very smooth on a Nexus 7. I just need to do smaller renders and use the proper layout folders Dec 06 20:23:19 hello, i'm having my app crash when I execute getViewById(..). I'm doing this from a fragment Dec 06 20:24:06 (on the onCreate function). Looking at this thread on SO http://stackoverflow.com/questions/13906930/app-crashing-due-to-findviewbyid-issue-with-componentinfo it seems this could happen because i have not set a layout, whatever that means, but I do that in the activity that instantiates (?) the fragment Dec 06 20:24:44 ie, i have this line: Dec 06 20:24:44 setContentView(R.layout.activity_main); Dec 06 20:25:21 Hi. Dec 06 20:25:34 theblang, good job man. happy our suggestions worked Dec 06 20:28:06 bfig: there is already an answer there. Dec 06 20:28:41 but that guy is doing it directly in the fragment... should I set the contentview outside of the activity itself? Dec 06 20:28:44 bfig: wait, i just re-read your message and understood that that is not your question... anyway, what is the exact error you are being thrown? Dec 06 20:28:55 ie, my call is through getView() first, ie, getView().find... Dec 06 20:29:15 i don't know how to find that sigv, I'm a newbie :p Dec 06 20:29:27 check out logcat Dec 06 20:29:32 been trying to understand android studio debugger but haven't been very successful. logcat is empty Dec 06 20:29:37 hmm Dec 06 20:29:50 i use eclipse so i won't be able to help you out with that Dec 06 20:29:56 you can launch monitor Dec 06 20:30:22 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mimesisapp.mimesisapp/com.mimesisapp.mimesisapp.MainActivity}: java.lang.NullPointerException Dec 06 20:30:23 run $ADT/sdk/tools/monitor Dec 06 20:30:37 oh okay, what line? Dec 06 20:30:45 or is that the whole error? Dec 06 20:31:00 it's a null pointer on the line of the call Dec 06 20:31:08 probably getView() returns null i suppose Dec 06 20:31:24 is there nothing more with the error? maybe you could hastebin your code. Dec 06 20:31:25 so what does 'setContentView(..)' do? Dec 06 20:31:35 setContentView sets... the content view... Dec 06 20:31:43 ListView listView = (ListView) getView().findViewById(R.id.foodPlazaListView); NPE Dec 06 20:32:08 what's a content view, i'm a newbie and i still don't know all the terms Dec 06 20:32:17 yeah, but when do you run that? if it's throwing a nullpointer, most likely getView returns a null Dec 06 20:32:23 when is this being run? Dec 06 20:32:30 on the onCreate method of a fragment Dec 06 20:32:50 i'm trying to populate a list with an adapter Dec 06 20:33:01 hmm. Dec 06 20:33:55 How can I create an app that uses features from 4.0 but runs on 2.3? Dec 06 20:34:04 richcollins: support libraries. Dec 06 20:34:07 so the question now turns to, what is a reasonable value to set for the contentView of a fragment? Dec 06 20:34:34 richcollins: check out http://developer.android.com/tools/support-library/index.html Dec 06 20:34:42 sigv: Thanks! Dec 06 20:34:46 bfig: well, it's the layout of the fragment... Dec 06 20:36:27 bfig: care to hastebin your fragment code? Dec 06 20:36:30 sure Dec 06 20:37:08 http://hastebin.com/rucavexeyu.axapta Dec 06 20:37:11 sigv: Hrm I don't see anything that adds support for AdvertisingIdClient Dec 06 20:37:12 wow this is the best paste ever Dec 06 20:37:15 :D Dec 06 20:37:35 bfig: what do you mean with "the best paste ever"? Dec 06 20:37:39 Basically I want to conditionally use it depending on the Android version Dec 06 20:37:51 there are many pastebinlike sites, this one is really cool Dec 06 20:38:14 one click, no ads, etc. Dec 06 20:38:18 bfig: it's awesome. minimal and easy to use. recommend it to everyone. Dec 06 20:38:23 i will Dec 06 20:38:24 richcollins: it's google play services. Dec 06 20:38:37 bfig: i meant, i recommend it to everyone, but sure... Dec 06 20:39:17 :p Dec 06 20:39:38 so, does my problem make sense now? I can't getView() in any meaningful way, and i can't setContentView either apparently Dec 06 20:39:40 richcollins: http://developer.android.com/google/play-services/index.html ("devices older than Android 2.2 or devices without the Google Play Store app are not supported") Dec 06 20:39:53 bfig: sorry, was looking for a link for richcollins' question Dec 06 20:40:19 it's ok, I know there are other people and you're helping everyone. Thanks for your time :) Dec 06 20:41:38 sigv: That's fine Dec 06 20:41:46 I need to support 2.2+ Dec 06 20:42:39 richcollins: advertisingidclient part of gms. http://developer.android.com/google/play-services/setup.html Dec 06 20:42:52 bfig: yeah, that is kind of going to fail as there is no view set... Dec 06 20:42:54 ah OK not part of base SDK Dec 06 20:43:14 so what is the function to set the view? none of the setX functions seem to give me an option Dec 06 20:44:00 bfig: for fragments, the onCreateView is what creates the view for it... Dec 06 20:44:49 well, just use the regular 'setContentView(R.layout.fragment_layout);' Dec 06 20:45:06 there is no setContentView function Dec 06 20:45:38 for what i am seeing in SO, i need to actually use the onCreateView Dec 06 20:45:51 ie, this is not the place to do it. let me try that, one second Dec 06 20:47:08 alright, now it doesn't crash, but it also doesn't show anything of what I wanted C_C Dec 06 20:47:26 i've made a huge stride forward though :p. Thanks for the help Dec 06 20:47:47 what do you mean? Dec 06 20:48:39 yeah, now it shows things :D Dec 06 20:48:49 needed to set the listView adapter Dec 06 20:49:13 attempting to import a gradle project into my current project as a module dependency, getting this error http://pastie.org/8534179 Dec 06 20:49:15 wat do Dec 06 20:49:16 let me show you how the code looks now so you understand what i did Dec 06 20:49:31 http://hastebin.com/humahayaga.axapta Dec 06 20:50:51 Hi all does anyone here have experience with PendingIntent.OnFinished I'm trying to use the data from a service as params for some function calls that I would like to run asynchronously. Dec 06 20:51:03 good evening everyone, was wondering if someone can recommend a good tutorial to implement a google routs for Android Google Maps v2 (car and public transport routs) Dec 06 20:51:12 bfig: i was going to suggest using http://hastebin.com/semeneniso Dec 06 20:51:27 I already have the map setup and working, aslo search and autocomplete suggestions, but cant find a good working tutoial for routing Dec 06 20:51:49 that's what's going on now :p Dec 06 20:51:56 well, gonna keep going and see what happens Dec 06 20:52:06 bfig: you don't need to define the constructor (it is no doing anything) and the onCreate (it is just calling the super implementation) Dec 06 20:52:19 :/ does Handler.postDelayed start a new thread o.O Dec 06 20:52:41 one that is not immediately joined Dec 06 20:53:16 bfig: also, why are you defining the jsa and fpla variables? you are not using them other than to set the adapter. Dec 06 20:53:39 bfig: look at http://hastebin.com/xabodekibe Dec 06 20:54:09 bfig: shorter and still i would argue that even easier to read Dec 06 20:57:04 bfig: also, why are you defining the class as static? Dec 06 20:57:41 that's autogenerated code, I'm just modifying it Dec 06 20:57:52 I still don't understand everything that is going on Dec 06 20:59:07 bfig: then don't use auto-generated. it will be a bit harder to start working on stuff, but you will know what you are doing. Dec 06 20:59:37 bfig: also, is the fragment only serving a list? Dec 06 21:00:05 the fragment has a list header and a list Dec 06 21:00:28 header not inside the list, i suppose. Dec 06 21:00:49 I'm also testing some features (like fragments themselves... I could use the activity directly but wanted to learn how to set up the fragments) Dec 06 21:01:10 yeah, they are both at the same level list-header Dec 06 21:01:37 bfig: carry on then. and http://d.android.com/ is really helpful. :) Dec 06 21:01:48 * sigv is leaving the keyboard for a moment Dec 06 21:02:23 yeah, i'm browsing that page a lot while I program Dec 06 21:04:22 Is there any way to add a custom attribute to an ImageView? Dec 06 21:06:10 I would like to not have to create a custom view :/ Dec 06 21:09:48 new ImageView(context) { this.prop = whizbam; public prop getWhizbam(){ return "im lazy but it works"; } } Dec 06 21:10:03 or something like that Dec 06 21:14:29 explodes: so if I google "ImageView props" will I get some formal stuff on it? I don't know what props are Dec 06 21:14:53 There an intent I can send through ADB to cause the "menu" to show (simulate the menu hardware button for example)? Dec 06 21:16:44 g00s: ping Dec 06 21:17:52 hello bankai_ Dec 06 21:18:02 the book is great! Dec 06 21:18:27 bankai_ awesome ! Dec 06 21:18:36 can't wait to read it myself Dec 06 21:18:40 about half way through it, a lot of what he talks about is pretty obvious, but other stuff got me thinking "ooohh yeeaaahhh" hahaha Dec 06 21:18:49 they talk a little bit about spammers and scammers, which is pretty interesting Dec 06 21:18:50 :D Dec 06 21:19:05 thanks for the recommendation ;) Dec 06 21:19:10 np ;) Dec 06 21:19:24 adb shell input keyevent KEYCODE_MENU just returns "Killed" Dec 06 21:19:24 got a few of my friends reading it too - one is a web dev and the other is into psychology and stuff Dec 06 21:19:45 bankai_ you just started a book club :) Dec 06 21:20:08 Hey guys! How can i know wether my calling intent is meant to deliver a result or not? I want to determine wether or not to allow selecting items in a list accordingly Dec 06 21:21:34 Machinarius: pass in an extra Dec 06 21:21:54 then get it with getIntent().getBooleanExtra("want_result", false) Dec 06 21:22:10 evanc, Thought startActicityForREsult marked the intent somehow Dec 06 21:25:15 quick questions guys, maybe a bit complicated but google could not provide me with any answer; I have an application that draws a Circle around the location person found on Google Maps v2, I need the zoom level of a map to zoom in on the circle I am drawing, onlything I found was a LatLngBound.Builder but it only accepts Northeast/Southwest for bounds and I cannot provide those for all screen sizes, is there a way to zoom in only knowing East Dec 06 21:25:15 /West coordinates which i can calculate from my target location and the circle radius? Dec 06 21:25:29 (sorry ended up not being a quick question ;/ ) Dec 06 21:26:57 nm, keycode 82 does it :) Dec 06 21:28:47 is it even possible? (still cant find een a hint of a solution anywhere) Dec 06 21:29:47 http://pastebin.com/zC7bzdzm very new to Android trying to figure out how to pass data from service -> AsyncTaskLoader -> RemoteView... any help or references would be dope. (more details in comments at the bottom of the pastebin) Dec 06 21:32:19 Only way i think could make the trick is if I obtain the screen resolution of the device, find the aspect ratio of the screen, then calculate the width based on the radius multiply it by the aspect ratio, that will give me the hight of the screen , then take half hight and the radius and substract it from my LatLng and also second one to add, it will give me a Northwest / Southeast LatLngs for the bounds... is there any easier way of doing so Dec 06 21:32:19 ? am I reinventing the wheel? Dec 06 21:37:02 I haven't used the new interface… Just uploaded a new version of my app from last year: http://i.imgur.com/USF4HXM.png How do I make this APK live? Dec 06 21:38:55 DmitrySokolov: http://journal.johnpatrickgiven.com/programming/google/maps/api/2013/01/18/Google-Maps-API-v3%E2%80%93Translate-Physical-Latitude-Longitude-into-Screen-Pixel-X-Y.html might get you on the right path Dec 06 21:39:10 thank you Electric_U_ ill check it out Dec 06 21:39:15 :U anyone Dec 06 21:39:43 lil' green play button Dec 06 21:40:49 Oh wait does that mean that it IS live? Dec 06 21:41:08 Electric_U_ would same thing work for V2? Dec 06 21:41:22 since this is a JavaScript code for V3 Dec 06 21:41:27 I'm not sure if they have projections in V2 Dec 06 21:42:06 yeah I just assumed they have the same functionality in JS... Dec 06 21:42:59 explodes: it should say Done! in the console if it loaded. Dec 06 21:43:18 yeah they have projections, but its not what i need i am afraid, since it gives the points of current view, and i need to find the points so I can set current view Dec 06 21:43:28 DmitrySokolov you sure do make it sound a lot more complicated than it needs to be lol Dec 06 21:43:39 that what I am thinking ;/ Dec 06 21:43:52 hope there is easier less complicated solution but I cant find it Dec 06 21:44:01 Anyone get "Missing styles. Is the correct theme chosen for this layout?" ? Dec 06 21:45:29 so if i have a LatLng location on the map and Radius/Diameter, how can i find out a NW and SE points on a map with a zoom that will fit the circle on a map Dec 06 21:45:38 I think its done :/ Dec 06 21:45:45 Radius/Diameter from the LatLng point Dec 06 21:46:19 basicly i can say that I know screen width based on the Diameter, but not the Hight to get the correct points Dec 06 21:48:04 Why don't you use an SVG marker as your circle and let Google take care of making it fit? Dec 06 21:48:17 thats what i was thinking Dec 06 21:48:32 never heard of SVG markers, going to check it out now, thank you Dec 06 21:49:39 SVG = Symbol Vector Graphics? Dec 06 21:49:47 scalar Dec 06 21:50:46 hm cant find out if it exist in v2, seems like it only applies to V3 Dec 06 21:50:53 honestly you might think it looks better zooming for them, but they'll think it's a feature being able to interact with the map Dec 06 21:51:15 problem is the circle i set up on distenation should show the notification raius Dec 06 21:51:21 and it can varry from 50m to 50km Dec 06 21:51:24 https://developers.google.com/maps/documentation/javascript/markers#symbols Dec 06 21:51:48 i need to zoom to it so it will fit on screen, and not zoom to static lets say 16.0f zoom and make them zoom out a lot to see the whole notification area Dec 06 21:52:43 yeah its for API v3 Electric_U_ :( I am working with v2 :( Dec 06 21:53:08 look for a getBounds function I'm pretty sure you can find out at the very least how many tiles are loaded. That should give you a good idea of the screen demensions Dec 06 21:53:41 arent tiles loaded is based on screen current zoom/visible area? Dec 06 21:54:04 as in case i draw a 50km circle on a map and it zoomes to 50m~ it will only load the tiles within the 50m~ area of the current zoom? Dec 06 21:54:53 https://developers.google.com/maps/documentation/ios/tiles scroll down to Tile Coordinates Dec 06 21:55:26 thats for iOS ;/ Dec 06 21:56:04 and yeah it will keep dividing the tiles providing a lower coordinates, but it based on a zoom level Dec 06 21:56:28 I have to work from the final point to determine the zoom, dont think I can go the other way around it Dec 06 21:59:05 i think i found an answer Dec 06 21:59:05 http://stackoverflow.com/questions/6002563/android-how-do-i-set-the-zoom-level-of-map-view-to-1-km-radius-around-my-curren Dec 06 21:59:09 if anyone else was wondering Dec 06 22:00:43 https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/model/LatLngBounds Dec 06 22:01:41 hello guys, I am still having issues with Your content must have a ListView whose id is 'android.R.list' so i added @android:id/list but i can't attach it to my setListAdapter, as R.id. has no access to @android:id/list how can i do this. else my program crashes Dec 06 22:01:52 yeah i saw this one, but it need NE and SW coordinates, which my wall of text (converted to formulas) would of gotten but it seemed to be a much more complex solution than what i found Dec 06 22:03:25 also this is what i trying to add to the setListAdapter. a simple 2 item array.. setListAdapter(new ArrayAdapter(this, R.id.list1, hoursArray)); hoursArray is a basic array. Dec 06 22:04:03 if you know where the center is and you decide how big you want the circle to be you can easily say give me a x mile square boundery and make it fit perfectly by moving the camera... Dec 06 22:04:31 problem is screens are not all square, and have different aspect ratios Dec 06 22:04:45 yeah but a circle fits in a square Dec 06 22:05:07 yep, but i have to provide a Rectangle of screen size (actualy map size even not screen) for it to zoom in correctly Dec 06 22:05:37 if i understood it right Dec 06 22:06:42 only thing i figured was setListAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, hoursArray)); but what if i want to place this item on my canvas where i want it to be. Dec 06 22:06:45 otherwise I could just do (new LatLng(position.latitude-Radius1 position.longitude-Radius1) to get a NW of the bounding box and + instead of - to get SE Dec 06 22:07:01 do you think it could actualy work if i provide a bounding Box not Rectangle? Dec 06 22:09:27 Silly question but - where would one usually put a 3rd party SDK in the source tree? Dec 06 22:12:06 jedir0x: It is its own implementation. Dec 06 22:12:34 So you can use the same HttpClient (OkHttp) on every platform version. AFAIK it backs HttpConnection on KitKat. Dec 06 22:12:44 Or UrlConnection, not sure. Dec 06 22:12:44 consult their documentation, 3rd party SDK is broad Dec 06 22:14:38 DmitrySokolov can I pm you something? Dec 06 22:14:52 Eeeeeee: facebook sdk in this case, i don't believe they say, just to import. i don't think that it matters technically, but i'd like to know how these things are typically handled in java-land Dec 06 22:15:27 sure Electric_U_ Dec 06 22:15:41 majuscule: the 'new' way that I see most people on android studio builds doing it is in MainProject/libraries/ Dec 06 22:16:19 majuscule: my understanding is that the 'libs/' subdir is meant for actual libraries (native and jar) and not add-ons, unless they're added as a .jar Dec 06 22:16:22 pregradle i would say similar to any library Dec 06 22:17:38 dragorn: thanks :-) that makes sense Dec 06 22:17:53 Just wanted to post a question-and-run: anybody know when native opus codec support will be added to Android? (Is it slated for Lemondrop or Lick-a-stix or whatever the next version's codename will be?) I was actually a little suprised not to see it already in KitKat. Dec 06 22:18:18 give me a break Dec 06 22:20:29 dragorn is that how we're supposed to be doing it? Dec 06 22:24:49 Eeeeeee: that's how I do it. i don't think it matters that much. Dec 06 22:25:05 Eeeeeee: just point your configs to the same spot Dec 06 22:27:27 when I use the / dir in my app, where do the files go? Dec 06 22:35:36 OH. Now its published. Dec 06 22:52:27 explodes if you mean that app in the pic you posted earlier link me Dec 06 23:12:40 Hi there, anyone could help me with a general question concerning displaying JSON query results in a webView ? Dec 06 23:17:57 just ask and someone might help you out. that said I probably can't help with json Dec 06 23:19:53 Hello, I have a content observer set on Images from MediaStore. I use a CursorJoiner to iterate over my table (populated by the first time I query the Images, using the id and the date modified) to determine what has been changed. Adding and removing works fine, but when an image is renamed I get about 10 calls to the observer, anyone done anything similar? Dec 06 23:21:20 i want to display results i get from SimpleWikiHelper.java in a WebView Dec 06 23:22:01 getPageContent returns something called revision.getString("*"); Dec 06 23:22:30 which is a JSON representation of the wiktionary entry for a word Dec 06 23:22:33 Maybe it just updates a lot of tables that causes your uri to be notified a lot Dec 06 23:23:01 You should throttle your loading Dec 06 23:23:03 Anyone know by chance a way in Google Maps to get a new (location/LatLng) x distance away in certain dirrection(for example north), as built in funtion? (example; give me a LatLng 500m North from my current location) Dec 06 23:23:05 how exactly would i make that nicely displayed in a wenView Dec 06 23:28:02 DmitrySokolov: I don't think so Dec 06 23:28:37 DmitrySokolov: but great-circle distance math isn't so bad to do. I don't know where my code that does it ended up though offhand. Dec 06 23:29:04 yeah i guess ill have to do so as well ;/ was hoping for an easier implementation/solution Dec 06 23:33:57 SimonVT yeah that is what I'm thinking, just trying to figure out how to handle that throttle without missing other changes Dec 06 23:35:10 You don't lose changes by throttling Dec 06 23:35:18 You just ensure it doesn't load more than every X Dec 06 23:37:05 Oh this isn't for a cursorloader or anything, I'm building a sqlite table that holds "current" state on images via mediastore by holding the _id and date_modified cols, then in onContentChanged (from observer) I have to update this table to reflect what changed. Using the cursor joiner I iterate, and adding and deletions work okay, but renaming an image file causes a lot of weirdness I am trying to figure out. Dec 06 23:38:14 specifically the left join of the cursor joiner gets called 40 times in a row :) Dec 06 23:40:21 for instance, sometimes if I navigate to the DCIM directory via Astro, simply navigating there will cause a observer changed notification Dec 06 23:44:49 So you're the one causing the 40 updates? Dec 06 23:46:33 In this case something astro is doing is causing the observer to be called simply by navigating to the directory where images are Dec 06 23:46:54 Maybe, I'm not sure. It seems when you rename a file android does a number of things (because the content observer is getting called a number of times) I am just trying to test/debug this Dec 06 23:48:22 it could be data modified is the wrong column to look at, if it is not getting updated when you rename a file (who knows?) Dec 06 23:49:06 Well, if you know that media store notifies you a lot when a file is renamed.. Just handle that Dec 06 23:50:18 Well what's really weird is this phone has no sdcard, and using camera to take a picture saves it (to what I assume in internal content) yet the pictures show up in the EXTERNAL content uri for the media store in images Dec 06 23:50:43 so that might be it, if android is doing some weird juggling when a file is renamed Dec 06 23:50:48 External storage doesn't mean removable storage Dec 06 23:51:32 Oh? External storage is anything visible to the user (without root) and internal is not accessable by the user? Dec 06 23:51:47 Yes Dec 06 23:51:57 You can access the external storage externally.. e.g. from a pc Dec 06 23:52:16 If it's an sd card you can remove it as well.. But there's no requirement for that Dec 06 23:52:20 Ahh thank you, that will probably simplify things a lot. A user cannot add a file manually to internal storage? Dec 06 23:52:32 No Dec 06 23:53:40 Internal storage is protected.. Other apps can't read your files unless you explicitly make it world readable Dec 06 23:53:57 Or expose them in some other way (e.g. through a contentprovider) Dec 06 23:54:23 External storage is free for all Dec 06 23:54:30 And external covers everything public to the user, from device memory to sd card Dec 06 23:54:31 ahh Dec 06 23:54:33 cool thank you Dec 06 23:58:55 Is there a ListView library that allows me to not make expensive calls (getting an image from server) during a fling event? Dec 07 00:02:48 BenOrnstin: as long as it's on a background thread, what does it matter when you make it? Dec 07 00:04:08 Well, each row has two images - one for profile and one for content. In a fling event we can scroll through 10 rows that don't get displayed for more then a quater of a second Dec 07 00:04:39 That's 20 calls that tie up the other calls Dec 07 00:05:07 It would seem like the connection is a lot slower then it is Dec 07 00:05:23 I'm using a cache, but on first open, that won't be relevant Dec 07 00:10:21 hmm yeah apparently renaming an image file does not change it's date modified Dec 07 00:26:47 lasserix: its Dec 07 00:28:23 ? Dec 07 00:28:51 you said it's Dec 07 00:29:36 i don't get paid for correct grammer :) Dec 07 00:29:42 grammar Dec 07 00:29:44 lol Dec 07 00:30:19 how would i be able to navigate activities like: A -> B - > A -> C , but the second time getting to A clears the back stack? Dec 07 00:43:59 http://pastebin.com/9Uh1N6pg this code displays multiple copies of the same image in a column, How can I get it to display in a row instead? For some reason whenever I try nest another TableRow it doesn't output anything... Dec 07 00:50:20 Guys - I've been asked the dreaded question: "What do you want for Christmas?" Can anybody suggest anything that would be a good project or something - like the Raspberry Pi but not that because I have one lol Dec 07 00:50:36 lol Dec 07 00:50:38 lol Dec 07 00:50:46 * p_l just replies with "I don't want anything" Dec 07 00:50:48 was gonna suggest half way through sentence Dec 07 00:50:55 But I do want stuff :D I love stuff... Dec 07 00:50:59 heh Dec 07 00:51:32 Anthaas: arduino? Dec 07 00:51:36 an arduino kit? ADK2? Dec 07 00:51:50 Hmm, I was thinking about that - what sort of things could I do on it? I have no experience with electrical engineering etc. Dec 07 00:52:58 Anthaas: tablet? Dec 07 00:53:06 I have a Nexus 7 :/ Dec 07 00:53:12 blu-rays Dec 07 00:53:22 Don't really watch many films. Dec 07 00:53:30 http://pastebin.com/9Uh1N6pg this code displays multiple copies of the same image in a column, How can I get it to display in a row instead? For some reason whenever I try nest another TableRow it doesn't output anything... Dec 07 00:53:34 Anthaas: get yourself some kit to learn soldering with? Dec 07 00:53:35 how about a small screen and try to make your own smart watch Dec 07 00:53:47 Thats quite a cool idea Dec 07 00:54:08 and p_I I was thinking about doing that - have been for a while. Learn soldering on Arduino you mean? Dec 07 00:54:31 don't know how doable it is, next step go on kickstarter and convince people how doable it is Dec 07 00:54:40 i want to think of a good app idea to make use of leap motion Dec 07 00:54:57 I am going to be starting a Ph.D next year, so want something I will enjoy during my time off. Dec 07 00:55:07 Anthaas: no, start with some simple projects, then you can grab something more impressive Dec 07 00:55:13 Eeeeeee smart watches are stupid Dec 07 00:55:25 TELL ME I'M WRONG Dec 07 00:55:28 hey i couldn't agree more, but making your own? Dec 07 00:55:31 ya you're wrong Dec 07 00:55:38 personally, I am thinking of making a new headphone p-amp after learning soldering Dec 07 00:55:53 someone think of a good app idea for this and we'll all work on it together: https://www.leapmotion.com/ Dec 07 00:56:08 oh that's a $15k rolex? well I made my own... yeah with computers and shit Dec 07 00:56:12 Thats quite cool. I was perhaps thinking about getting another Raspberry Pi and messing around with it even more - perhaps learn more about developing operating systems, etc. Dec 07 00:56:33 Eeeeeee: meh Dec 07 00:56:44 Eeeeeee: $15k ? Dec 07 00:56:49 if I were to spend a ton of money on a watch, it would be Breitling Navitimer :) Dec 07 00:56:57 Smart watches could have application. I wouldn't say they are stupid, Dec 07 00:57:01 hey watch what you say, my ideas, the best there ever were, my programming, leaves a lot to be desired :D Dec 07 00:57:05 But perhaps saying that makes me stupid hahaha Dec 07 00:57:19 what application do they have Dec 07 00:57:24 i agree Dec 07 00:57:36 seand: one practical I had seen was as "quiet" wakeup alarm Dec 07 00:57:39 Ok, take a specific subset of people - exercisers. Dec 07 00:57:41 pedometer for one, um and that's it Dec 07 00:57:52 beat you to it Dec 07 00:58:06 seand: that was done by certain sysadmin who didn't want to wake his spouse when he was oncall and something broke Dec 07 00:58:08 The quiet wake up alarm is interested - a vibrate feature. Dec 07 00:58:22 you can add a vibrate feature to any regular watch Dec 07 00:58:23 p_l yeah these things are a work of art Dec 07 00:58:44 seand: the important thing is that it was triggered by alert from the monitoring system Dec 07 00:58:50 oh Dec 07 00:58:59 It can be a watch :D Dec 07 00:59:14 it's one thing to set the alarm on time, it's another when you want it to react to external event Dec 07 00:59:58 that's like the one case where having it attached to your body is useful Dec 07 01:01:16 Yeah - you could have your phone react to sensor events triggered by the watch - the watch is likely to be out in the open, your phone in your pocket. Dec 07 01:01:33 it could also be made to understand timezones better Dec 07 01:01:33 meh, i think that will fail Dec 07 01:01:39 and sync with NTP through the phone Dec 07 01:01:52 and i'm hoping google glass fails too Dec 07 01:01:58 mind you, I'm talking about the Pebble in this case Dec 07 01:02:35 I like Google Glass. Dec 07 01:02:51 looks dumb Dec 07 01:02:55 Doesnt matter. Dec 07 01:03:00 So do a lot of things on the face of it. Dec 07 01:03:10 i want one Dec 07 01:03:11 http://pastebin.com/9Uh1N6pg this code displays multiple copies of the same image in a column, How can I get it to display in a row instead? For some reason whenever I try nest another TableRow it doesn't output anything... Dec 07 01:03:20 i'd rather have HUD in my car anyway Dec 07 01:03:26 Been done many a time. Dec 07 01:03:32 i'd rather have a HUD always Dec 07 01:03:38 google glass was a totally different product in my head Dec 07 01:03:41 not really, Anthaas Dec 07 01:03:51 zinx: why? for what purpose? Dec 07 01:03:57 It has - depends what you expect from it though Dec 07 01:04:05 seand: many purposes. Dec 07 01:04:13 Normally, its just a speedo and perhaps some other menial stuff like a petrol gauge. Dec 07 01:04:13 i was disappointed when i realized it didn't do the things the military has been doing for ages Dec 07 01:04:19 Imagine popup names. Dec 07 01:04:39 Eeeeeee: the military stuff is much less usable in general, and mostly constricted to vehicles Dec 07 01:04:39 And popup heartrates and heartrate trends of people in your FOV Dec 07 01:05:00 SpeedEvil: you can actually do that w/ software Dec 07 01:05:03 zinx: yes Dec 07 01:05:07 and a normal camera Dec 07 01:05:11 yeah I hear you, but I could dream... I mean at least typing by looking right? Dec 07 01:05:12 (like the one on the glass) Dec 07 01:05:24 SpeedEvil: are you talking about names of people you don't know or people you do Dec 07 01:05:40 http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=5599853&url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel5%2F10%2F5672100%2F05599853.pdf%3Farnumber%3D5599853 Dec 07 01:05:47 zinx: are you going to elaborate or do you not actually have examples Dec 07 01:05:59 seand: both. Dec 07 01:06:01 seand: i suspect SpeedEvil posted a link to a paper on one method Dec 07 01:06:10 ^heartrate Dec 07 01:06:29 seand: but basically, you amplify temporal changes at a frequency around the human heart beat rate Dec 07 01:06:32 SpeedEvil: A) invasion of privacy and B) dumb Dec 07 01:06:36 what are you reading this via command line or something Dec 07 01:06:57 zinx: so what, what application does that have to you as a consumer? Dec 07 01:06:57 or ignoring lol Dec 07 01:07:25 seand: uhm, the one i would write. i'm not a consumer. Dec 07 01:07:40 er Dec 07 01:07:42 seand: and i'm well versed in signal theory :/ Dec 07 01:08:00 seand: oh, i misread Dec 07 01:08:01 on dual monitors ctrl + w's a killer Dec 07 01:08:08 seand: that particularly? not a heck of a lot. Dec 07 01:08:40 zinx: oh, you have an idea for an app for glass? Dec 07 01:09:08 Soooo....what should I get for Christmas....? hahaha Dec 07 01:09:10 i don't have "app ideas" :/ Dec 07 01:09:15 nice subject change Dec 07 01:09:19 Hahahaha Dec 07 01:09:19 i write what i need Dec 07 01:09:23 we needed one Dec 07 01:09:24 jeesh Dec 07 01:09:52 I want a bigger, more powerful version of raspberry pi Dec 07 01:09:55 just need on a bigger scale Dec 07 01:10:05 Something that I can completely mess about on, run Linux on, and mess about with absolutely anything Dec 07 01:10:08 and you'll be in idea central Dec 07 01:10:10 New languages, etc. Dec 07 01:10:18 Any ideas? Dec 07 01:10:24 I dont want to build a whole computer for it though Dec 07 01:10:33 Anthaas: run a VM Dec 07 01:10:33 Anthaas: there's a ton of stuff, but it's not going to be as cheap as a RPi Dec 07 01:10:42 Yeha, I get that, its fine. Dec 07 01:10:48 JesusFreke: I want to keep work and play separate. Dec 07 01:11:12 Anthaas: different work and play VMs.. :) Dec 07 01:11:33 Anthaas: checkout VIA miniboards Dec 07 01:11:48 Hahaha - I might set up Hackintosh and have a laugh at all things Apple at some point, but not yet. Dec 07 01:12:07 i had a pretty great idea for a tool for the car but have no idea how to implement it Dec 07 01:12:14 Anthaas you should do it for me Dec 07 01:12:29 What tool? Dec 07 01:13:18 basically it would read the velocity of the car in front of you and compare it to your car, and display a green bar if you should accelerate and red bar if you should brake (no bar if speed is the same) Dec 07 01:13:32 and while you're looking at it you crash Dec 07 01:13:51 ^ do you crash whilst reading a sat nav? Dec 07 01:14:01 no, it's intended to be read in peripheral vision, so you can kinda phase out while stuck in traffic Dec 07 01:14:04 i don't read sat navs Dec 07 01:14:08 lol thought we were talkin about phones sry Dec 07 01:14:16 i listen to 'em Dec 07 01:14:19 hence the simplicity - 2 colors Dec 07 01:15:46 What else is there as an alternative to VIA? (I cant work out what is what on their website! hahaha) Dec 07 01:16:39 Anthaas: there's also arduino Dec 07 01:16:46 i had a better one stop kids from texting and driving, done already. Pivot stop everyone from doing all the things people do now days. I swear friend was snapchatting and driving, and I could just imagine one of those no snapchat and drive pledge commercials. this was his last snapchat (insert super funny face here) Dec 07 01:17:34 Anthaas: and cubieboard and pandaboard Dec 07 01:17:49 Eeeeeee: what the hell are you talking about Dec 07 01:18:34 lol people doing shit on their phone while they're driving and dying because of it. it's a problem Dec 07 01:18:43 Natural selection. Dec 07 01:18:54 lol Dec 07 01:19:32 Eeeeeee: i wasn't talking about a smartphone app Dec 07 01:19:59 I think he was on about some sort of HUD Dec 07 01:20:08 Anthaas: the problem is when they kill others Dec 07 01:20:14 p_l: Agreed. Dec 07 01:21:27 Pandaboard looks promising Dec 07 01:21:35 hi there, how can i start an intend by a fragment? Dec 07 01:21:40 i realized that, but until someone comes up with a gps platform you're stuck with what's available Dec 07 01:21:55 gps platform? Dec 07 01:22:06 or however you would implement it, in the car rather Dec 07 01:22:13 maybe i didn't read far enough Dec 07 01:22:19 Anthaas: http://www.zdnet.com/photos/missed-out-on-raspberry-pi-herere-five-alternatives/6351193 Dec 07 01:22:32 smart1: use the fragments context Dec 07 01:22:37 btw seand Dec 07 01:22:53 it's already technically possible, actually. they have luxury cars now that will auto-brake for you Dec 07 01:22:57 car manufacturers pay really good money for that, that can solve your implementation problems Dec 07 01:23:42 but i don't care about autobraking, i think the information would be enough for me Dec 07 01:23:47 same Dec 07 01:24:04 autobreakings for the happy go lucky people on the commercials having a party in their car Dec 07 01:24:11 I think it would need to involve some realtime information with low latency, such as a laser range finder on the car in front. GPS would be too slow and inaccurate. Dec 07 01:24:11 like retards Dec 07 01:24:16 -e Dec 07 01:24:33 yea those commercials are so stupid Dec 07 01:24:41 where they show the foot Dec 07 01:24:46 like 3 minutes later Dec 07 01:25:07 i think sound may be better btw Dec 07 01:25:40 that would get annoying though... you'd have to have a constant sound on Dec 07 01:25:59 Yeah, you'd turn the sound off or the radio up. Dec 07 01:26:00 it would override other sound, and not throw false alarms Dec 07 01:26:09 It would have to be non-intrusive visual stimulus. Dec 07 01:26:23 it would be like flying in a sailplane, there's always a sound on to indicate if your altitude is increasing or decreasing Dec 07 01:26:25 not only would there be fewer (worries about) lawsuits, a very loud voice kicks in your adrenaline which is paramount in those situations Dec 07 01:26:58 it would be like the autobraking in that fashion, only when necessary Dec 07 01:27:06 Eeeeeee: well really the correct solution to the problem is the collision avoidance system that luxury cars now have. (auto-brake) Dec 07 01:27:26 maybe Dec 07 01:27:43 you ever been in a situation where you had to speed up instead of slow down? Dec 07 01:27:58 what do you mean? Dec 07 01:28:00 doesn't happen often but a computer could never determine that Dec 07 01:28:09 to get out of a potential accident Dec 07 01:28:16 what kind of situation would that be Dec 07 01:28:19 instead of slamming the breaks Dec 07 01:28:20 sure it can Dec 07 01:28:22 lol drag racing Dec 07 01:28:52 brakes* Dec 07 01:28:56 sry Dec 07 01:29:05 maybe i need a break Dec 07 01:29:12 kit kat break Dec 07 01:29:16 :( Dec 07 01:29:43 Is there anywhere I can look for a really crap PC? Dec 07 01:29:52 yeah everywhere Dec 07 01:30:03 Like a tiny tiny tower with all the parts necessary to work... Dec 07 01:30:58 where are you located Dec 07 01:31:33 UK Dec 07 01:31:36 lol Dec 07 01:31:43 nm Dec 07 01:31:52 Yeah - everything is a pain over here :/ Dec 07 01:32:00 ebay Dec 07 01:32:02 ebuyer Dec 07 01:32:08 Looking on the first, looked on the latter Dec 07 01:32:15 i'll give you laptops with stuff wrong with them, but you deal with custom forms Dec 07 01:32:33 rather a desktop :P but stuff like what wrong? Dec 07 01:32:53 like hinge busted on one side Dec 07 01:33:30 Hmm, Im not great with laptops, hense prefer desktop Dec 07 01:33:39 Can fix almost anything on them, if not replace the bits... lol Dec 07 01:33:45 overheating, and iirc the i would get stuff with custom forms Dec 07 01:34:37 I wonder how cheaply I could build a working PC Dec 07 01:34:46 200 Dec 07 01:35:16 Hi all, I have an app that has permission to write to the file system but I just encountered a problem where it failed to close the output stream. What might cause something like that? Dec 07 01:35:26 I make a public challenge to go cheaper. Dec 07 01:36:03 i'm talking from the store, walk around your neighborhood not like you're strapped for cash, and ask your neighbors Dec 07 01:36:23 I knew I shouldnt have given away my old computer hahaha Dec 07 01:36:28 Dec 07 01:36:44 how old are you Dec 07 01:36:47 go behind the tall buildings where the garbage is Dec 07 01:37:40 Oooh, found a Mac Mini G4 for £10.60 on eBay lol Dec 07 01:38:01 I could even go collect it Dec 07 01:38:15 Go for it Dec 07 01:38:20 I bet it'll look nice on the mantle Dec 07 01:38:21 Im gonna snipe. Dec 07 01:38:46 I will destroy it. I, single handedly, will wipe out Apple...slowly... hahaha Dec 07 01:39:25 real men know to stay away from apple Dec 07 01:39:38 i want to get a mac someday Dec 07 01:39:42 look for local pick up only stuff Dec 07 01:39:44 me too Dec 07 01:39:59 at least to try out Dec 07 01:40:14 last time we couldn't resist the temptation, it got stuck in our throats Dec 07 01:40:31 ^ Dec 07 01:40:43 This is why I want one of their older, but functioning crap boxes. Dec 07 01:40:45 well it's based off unix so i'm guessing it's like a much nicer to use linux Dec 07 01:40:47 trying a mac is right behind having a baby on my list of things to do Dec 07 01:41:05 Not a new "half a millimeter flatters and therefore an upgrade model" all-in-one things. Dec 07 01:41:17 Is there a content provider for gmail? Dec 07 01:42:46 seand been trying to ask you this for awhile, can you play multi-player on these leaps without needing two or being awkward? Dec 07 01:43:29 Eeeeeee: i'm not sure, i don't have one Dec 07 01:43:42 i wasn't going to get one without having an idea of an app Dec 07 01:43:46 lol well i'm going by pictures figured you might know more Dec 07 01:44:18 i would think it would be able to see 2 hands Dec 07 01:45:46 ffs Dec 07 01:45:49 why do people bid on things. Dec 07 01:47:26 Yeha, I think I want a functioning Mini PC after all... Dec 07 01:47:51 you'll scoff at this idea, not original at all overdone actually.. but may have been made for this platform Dec 07 01:47:54 tetris Dec 07 01:48:06 * Anthaas scoffs Dec 07 01:48:40 (insert 3d version with twist here) Dec 07 01:48:48 OH SNAP Dec 07 01:49:07 Get that Headbox Console thing, I forget its name, the one with the whole VR thing going on Dec 07 01:49:07 the only thing unique is I don't think any other tetris had every possible direction available lol Dec 07 01:49:19 And make tetris which comes all around you and you need to try not get trapped! Dec 07 01:49:31 lol Dec 07 01:49:47 tetris nightmare Dec 07 01:50:48 if you play enough tetris, when you goto sleep you'll see the blocks falling Dec 07 01:50:53 yeah i hate myself for having that idea, but i would play it Dec 07 01:50:59 yes shmooz Dec 07 01:51:05 I verified that, its a fact Dec 07 01:51:09 i would play games Dec 07 01:51:29 not just seeing them fall Dec 07 01:51:41 https://developer.oculusvr.com/forums/viewtopic.php?f=29&t=2109 Dec 07 01:54:44 I hate ebay Dec 07 01:55:00 Stuff has way too long an auction time if its cheap Dec 07 01:55:23 lol what you said earlier Dec 07 01:55:26 who bids Dec 07 01:55:32 http://pastebin.com/9Uh1N6pg this code displays multiple copies of the same image in a column, How can I get it to display in a row instead? For some reason whenever I try nest another TableRow it doesn't output anything... Dec 07 01:56:38 don't bid, just buy Dec 07 01:56:45 They have no buy now Dec 07 01:57:01 I found a 2500 mAh battery for my 1400 mAh phone, and it was only $3.50 and it actually worked well Dec 07 01:57:01 same thickness too Dec 07 01:57:50 I just got 5 pairs of earbuds last week, $4.00 each Dec 07 01:58:01 htc oem earphones Dec 07 01:58:19 and they sound better than the klipsch s4a I paid $140 for Dec 07 01:58:31 ripoffs? Dec 07 01:58:47 they work great Dec 07 01:59:09 I thought I was gonna be ripped, but I'm happy Dec 07 01:59:09 no i mean did they take 2-3 weeks to arrive? Dec 07 01:59:19 about 1 week from hong kong Dec 07 01:59:34 some of those peoople, are also producing the ones you paid 140 for Dec 07 01:59:50 that's what i meant by ripoffs, not a bad thing Dec 07 01:59:57 everything is made in china Dec 07 02:00:18 well a bad thing for american manufacturers, but not customers Dec 07 02:00:20 the knock offs function just as well as the real stuff Dec 07 02:05:17 no ideas guys? Dec 07 02:07:37 do i have to register fragments in the manifest? Dec 07 02:08:22 What is the most resource effective way to scale a huge image down and display it from a file. Dec 07 02:17:30 Need some help, I can't get my alcatel OT 993 recognised by ADB on Fedora. I've googled a ton and added a udev rule for it, but adb devices just prints "???????????? no permissions" under the list of devices. Dec 07 02:17:33 Any ideas? Dec 07 02:18:53 My udev rule is: SUBSYTEM=="usb",ATTR{idVendor}=="05c6",ATTR{idProduct}=="9018",MODE="0666",GROUP="plugdev" Dec 07 02:19:28 Both the idVendor and idProduct match the output of lsusb. Dec 07 02:19:29 NICE: Dec 07 02:19:29 private static final int PURCHASE_REQUEST_CODE = 0x8008135 * 2; Dec 07 02:24:01 Oh, I think I got it. I had to enable PTP for some reason. Dec 07 02:32:50 Hey dudes. Dec 07 02:33:08 How do I test IAP on an unsigned (debug) APK Dec 07 02:36:25 Googling the answer isn't helping Dec 07 02:36:37 I've been trying to find this out a while now… Any tips would be awesome. Dec 07 02:55:02 explodes: have you put an apk on the store yet? Dec 07 02:55:10 Yea, but not published Dec 07 02:55:23 Also perfect timing on that response, just as I checked back **** ENDING LOGGING AT Sat Dec 07 02:59:58 2013