**** BEGIN LOGGING AT Mon Mar 11 02:59:58 2013 Mar 11 03:26:12 hi guys. this is a stupid question (for most of you) but I am a nooob....I'm trying to use a library that was created by someone who uploaded his android library project to github... In the -Setup- section of the library docs, it says: Mar 11 03:26:12 In Eclipse, just import the library as an Android library project. Project > Clean to generate the binaries you need, like R.java, etc. Mar 11 03:26:12 Then, just add SlidingMenu as a dependency to your existing project and you're good to go! Mar 11 03:26:12 how do I import an Android library project? Mar 11 03:36:30 I have a budget to buy one Android device. I have a Nexus One but seems pretty dated now. Which do you think I should choose? Galaxy SIII maybe? Mar 11 03:36:43 nexus 4 Mar 11 03:36:45 I'm asking in the context of needing one for dev Mar 11 03:36:59 nexus 4 Mar 11 03:37:21 is the nexus 4 a step up from S III or is it a parallel choice (sort of) Mar 11 03:37:33 it's not samsung, that's enough for me :) Mar 11 03:37:35 hah Mar 11 03:37:55 i just don't want to get something so new it's not representative or too old or too obscure Mar 11 03:38:24 popularlity wise you're good on both counts Mar 11 03:38:29 so then, in Canada recommendations for where to get one? Just the Rogers store or something else? I don't plan on getting a plan, I already have a plan. Mar 11 03:38:43 google :) Mar 11 03:38:44 i could use wifi only for it prob until the need arises to have an active SIM Mar 11 03:38:58 not asking how i can get one, asking for a strategic place to get one :) Mar 11 03:39:17 ok bankai_ thanks Mar 11 03:39:26 and thanks zard Mar 11 03:39:34 windsurf_: that is, get it from Google... not "Google for where to get it" Mar 11 03:39:44 Leeds: ohhh Mar 11 03:39:45 hehe Mar 11 03:39:46 ok Mar 11 03:40:29 "I don't plan on getting a plan, I already have a plan." - I had to chuckle Mar 11 03:40:44 oh 360 pano, that's pretty neat Mar 11 03:40:44 I love it when a subsidised device plan comes together Mar 11 03:41:05 JesusFreke: i guess my English teacher would have made some edits on that one ;) Mar 11 03:41:19 haha Mar 11 03:41:34 this phone is remarkably cheap Mar 11 03:41:56 It's definitely a good phone Mar 11 03:42:04 +1 on that Mar 11 03:42:13 does it take the same kind of nano sim (is that what it's called) that iPhone 5 has? Mar 11 03:42:18 if so i could swap the one i have Mar 11 03:42:23 yes Mar 11 03:42:25 it's micro, not nano Mar 11 03:42:25 microsim Mar 11 03:42:27 ah sweet Mar 11 03:43:40 windsurf_: iphone 5 has a nanosim Mar 11 03:43:58 and the iwatch will take a picosim Mar 11 03:43:58 oh alright Mar 11 03:44:28 atto sim Mar 11 03:45:30 oh, thought iphone5 used micro Mar 11 03:46:01 but you can get an adapter for cheap Mar 11 03:46:01 nuh they had to go different 'again' Mar 11 03:46:24 bankai_: its got rounded corners too ;) Mar 11 03:46:39 and a patent on it ? :P Mar 11 03:46:58 sure, why not, just for good time's sake Mar 11 04:02:08 sweet just bought one. Mar 11 04:02:11 nexus 4 Mar 11 04:02:28 until they announce the N5 at I/O in a couple of months :P Mar 11 04:04:01 LG was a total disaster Mar 11 04:06:10 :) Mar 11 04:07:32 Leeds: what do you think of the Sony phones? They look pretty decent at first glance Mar 11 04:07:45 don't really have an opinion, to be honest Mar 11 04:12:29 this is interesting. http://www.businessinsider.com/american-airlines-picks-samsung-not-apple-2013-3 Mar 11 04:12:34 "One reason Samsung won is because it has been pushing hard to lure enterprise customers with programs like "Samsung For Enterprise (SAFE)." " Mar 11 04:12:49 i thought SAFE / Knox were future things Mar 11 05:17:41 what does it actually mean to 'canvas.rotate()' ? Mar 11 06:17:14 osxorgate: turn your head sideways Mar 11 06:17:21 i just osxorgate.rotate() Mar 11 06:17:42 i've been playing with it a bit Mar 11 06:17:50 i think i can get it to do what i want Mar 11 06:18:42 hi. is there a way of seeing *which* exception is thrown in the execution of an AsyncTask? Mar 11 06:19:14 so far i just get a crash and the message *that* there was an exception... Mar 11 06:28:02 How do I stop in a EditView the user from being able to move the pointer around? Mar 11 06:29:02 the pointer = ? Mar 11 06:29:12 yeah Mar 11 06:29:32 the thing that lets you select were to type the next letter Mar 11 06:29:41 cursor and/or caret Mar 11 06:29:54 well if you want to restrict this, maybe EditText is not the right option Mar 11 06:29:59 tinloaf: lots of instanceof tests :) Mar 11 06:30:22 osxorgate: what else should I look to Mar 11 06:30:31 totic: depends on what you want to do Mar 11 06:31:28 osxorgate: i think this answerer it, after you called it cursor it was only a google away Mar 11 06:32:04 great! i think Mar 11 06:32:14 anyway to capture logs without logcat, ie onto internal storage? i dont have an otg port on this board;P Mar 11 06:32:24 is't possible to change the strength of phone torch? Mar 11 06:32:59 tinloaf: like so https://code.google.com/p/webserg-common/source/browse/trunk/thread/concurrencyInPractice/LaunderThrowable.java Mar 11 06:34:50 the technique (if you want to call it that, more like kludge) is explained in Java Concurrency in Practice ;) Mar 11 06:39:19 How can I write unit-tests for C++ code managed via ndk for android? Mar 11 06:48:12 g00s: i don't get it. so basically I catch everything and.. rethrow it? what good does that do? Mar 11 06:48:35 tinloaf: why you doing that... Mar 11 06:49:00 stop using try/catch and throw exception at class level Mar 11 06:49:35 or if doing something locally than just stop using try/catch and handle exception at caller-point Mar 11 06:50:20 abhinavmehta: that's the problem. at the moment, an unchecked exception is being thrown in my AsyncTask. At that makes everything crash *without* showing me the exception. :-/ Mar 11 06:50:35 the problem is that AsyncTask.get() throws ExecutionException, because its based on FutureTask Mar 11 06:50:43 so youhave to read up Mar 11 06:51:22 i cleared my history, but I was under the impression you were using AsyncTask Mar 11 06:51:42 tinloaf: ^^ Mar 11 06:55:07 i want to have a tiling background, that also has say a logo at the bottom left, how to do this in xml? Mar 11 06:55:24 ah i think layer list Mar 11 06:56:23 g00s: yep, I am Mar 11 06:57:23 OK, I still don't really get how to do this. :-/ this thing you pasted the code for is a class. what do I do with it (or a class like it)? can I somehow attach it to the asynctask to 'process' all thrown exceptions? as a handler? Mar 11 06:58:27 well, if your bg thread can catch the exception and do something with it, that is one thing. if you need to pass the exception back to the calling thread, thats where ExecutionException comes into play Mar 11 06:59:03 it will store, as a runnable, the thrown exception. you must use instanceof to determine what exactly was thrown Mar 11 06:59:20 since its a mess, its often tucked away in a static method like launderThrowable Mar 11 07:00:29 ok, that sounds reasonable. but where does that ExecutionException end up? Somewhere in the android OS, right? Mar 11 07:00:36 how do I catch it there? Mar 11 07:01:03 since it's not really one of my threads calling the "doInBackground()" method... Mar 11 07:03:21 you'll have to take a look at AsyncTask sources Mar 11 07:03:54 phew.. I don't think I want to start modifying the Android OS sources .. :-/ .. this is my first android project... Mar 11 07:04:08 oh, AsyncTask is very short Mar 11 07:04:57 g00s: i've been thinking of writing up a pastebin guide for asynctasks :) Mar 11 07:05:09 with HTTP as its guide Mar 11 07:05:11 i hate AsyncTask, never use it Mar 11 07:05:34 already wrote a Logcat debugging spoon feed guide Mar 11 07:05:35 http://pastebin.com/f979xrpj Mar 11 07:05:38 g00s: what are the alternatives (for doing network, in my case...) Mar 11 07:06:07 tinloaf, asynctask or thread w/ handler Mar 11 07:06:13 tinloaf: well, for networking i usually recommend putting that in a service. you still have to do it off the main thread though, so IntentService is a fine choice Mar 11 07:06:18 or service^ Mar 11 07:06:32 g00s: isn't service run on the UI Thread? Mar 11 07:06:38 so wouldn't that require a separate thread still? Mar 11 07:07:00 this is one area the android docs are clear ;) Mar 11 07:11:13 re-read them, seems they (services) still require an extra thread Mar 11 07:11:46 ahh, but intentservice is different Mar 11 07:13:49 uhm ok.. i should have a look at that Mar 11 07:14:06 I already have a 'do network stuff' service.. in that case, a GCMBaseIntentService... Mar 11 07:27:33 if I want to do OpenGL on android, do you recommend I use NDK or android's API? Mar 11 07:28:09 are you new to OpenGL or C++? Mar 11 07:29:38 i've never done it but i've read articles on people who have and instead of doing it all in C++ they recommend you to do the OpenGL in C++ and the input handling/etc in Java Mar 11 07:29:48 I am new to OpenGL, and I have a working knowledge of C++ Mar 11 07:30:10 lately I've been working on both, so I'm willing to learn either way Mar 11 07:30:27 well really then it depends on the project Mar 11 07:30:33 performance wise, go with C++ Mar 11 07:30:43 theres nothing OpenGL in C++ can do that Java can't Mar 11 07:31:04 how different is OpenGL and OpenGL ES? Mar 11 07:31:23 not very different, only a couple of missing apis in OpenGL ES Mar 11 07:31:40 I'm stronger in Java that C++, so perhaps it might be a gentler way to learn OpenGL Mar 11 07:31:56 OpenGL is a beast in itself :) Mar 11 07:32:33 once you understand OpenGL ES the rest (whether to use C++ or Java) is insignificant as there will be little difference Mar 11 07:33:32 are OpenGL and OpenGL ES code compatible with eachother? Mar 11 07:33:40 I have been learning from 3.3 tutorials Mar 11 07:36:11 well first, OpenGL ES 3.0 is a different subset than OpenGL 3.3 Mar 11 07:36:31 but also not supported on Android, right? Mar 11 07:36:40 OpenGL ES 1.0 is quite different from all the other OpenGL's Mar 11 07:36:44 yes 3.0 is not yet supported Mar 11 07:37:20 OpenGL ES 2.0 of all the ES's has the most similiarities with OpenGL 2.0 Mar 11 07:37:23 2.1* Mar 11 07:37:50 theres a couple of books on OpenGL ES though. One of them covers it in C++ as well Mar 11 07:37:55 are you trying to make a game? Mar 11 07:38:31 I think my first project is to model a rubiks cube Mar 11 07:39:00 I'm not really sure. I have an interest in 3d graphics because it seems to be math heavy Mar 11 07:39:48 model or make functional ? Mar 11 07:40:22 cause a rubiks cube has a variable hierarchy thats quite interesting Mar 11 07:40:25 make it functional Mar 11 07:40:48 I planned to do this for the desktop originally. Touchscreen might make it harder Mar 11 07:41:55 would this be your 1st attempt a 3d stuff ? Mar 11 07:42:32 i'd start with 2D first, and also 2.0 since learning 1.0 first won't help 2.0 development. Mar 11 07:43:14 StingRay_, yeah. I'll probably have to do some simpler projects first Mar 11 07:43:33 I'm trying to get a handle on 2D first Mar 11 07:43:56 yeah, or look at a graph diagram for a hierarchy explanation of rubiks cube Mar 11 07:44:06 it's quite funky Mar 11 07:44:57 I read an interesting paper about abstract algebra and a rubiks cube. So that's my inspiration Mar 11 07:45:11 I don't think it's too unreasonable Mar 11 07:45:20 but it should be a challenge Mar 11 07:46:03 well as a 3d artist, I'm not a fan of a variable hierarchy Mar 11 07:49:52 from what I can tell, modern OpenGL removes convenience functions and requires you to write a shader instead Mar 11 07:50:11 this seems to be also true for OpenGL ES Mar 11 07:50:23 RustyShackleford: basically removes the fixed pipeline, not convenience functions Mar 11 07:52:06 so can you write code that works in both OpenGL and ES? Should you even do this? Mar 11 07:52:29 yes, you can, maybe with small challenges Mar 11 07:59:41 Hi guys, how many Asynctasks can I have in a single activity? Mar 11 08:02:47 enwary: as much as you want, but keep in mind that there is different behaviour among the different android versions Mar 11 08:03:04 from api 5 - 13 (approximate, look docs for real numbers) Mar 11 08:03:14 all will be executed parallel Mar 11 08:03:29 in pretty old and new android versions only one task will be executed at the time Mar 11 08:03:37 (to prevent a lot of mistakes made earlier) Mar 11 08:04:09 But I have like 10 different commands I can call from my server would I really need to put 10 asyncctasks into my one class? Mar 11 08:04:10 also, you can explicitly control the threadpool of asynctasks, iirc Mar 11 08:04:32 p_l: you do remember correctly :) Mar 11 08:04:39 thx :) Mar 11 08:05:09 enwary: you can pass arguments to an asynctask, so if all the calls do similiar things (or you have to handle them similiar) you can do it in one asynctask? Mar 11 08:05:46 They are actually really different Mar 11 08:07:00 if they are completely different you would/should have anyway done it in separated classes? since you should stick together what belongs together Mar 11 08:08:40 I have client class with methods that the client can use to do server commands, ie. getServerTime, insertArticle(into a database), readDatabase. Mar 11 08:08:55 readArticle* Mar 11 08:09:33 so their signatures and return types would be different which would make it difficult to group into a single asynctask Mar 11 08:14:09 if i recall, the ExecutorService used by AsyncTask is a class member Mar 11 08:14:47 so all of your AsyncTasks are putting (by default? like timroes said, stuff has changed) their jobs on the same Executor Mar 11 08:15:09 if you use the compat lib AsyncTask, it makes things easier Mar 11 08:15:53 there's asynctask in compat lib? :o Mar 11 08:15:59 isn't there ? Mar 11 08:16:25 there's asynctaskloader Mar 11 08:16:55 wait one sec ... Mar 11 08:17:36 I'm not entirely sure what compat lib is. The methods I have will get called at different times does anyone have a link to an example where they use multiple asynctasks or group similar operations into a single asynctask? Mar 11 08:17:58 Zharf: i think its called ModernAsyncTask Mar 11 08:18:03 yeah, there it is :D Mar 11 08:18:05 g00s: you can just pass in the Threadpoolfactory you want to use if you want to have multiple parallels Mar 11 08:18:09 I'm just really lost on the practical side of things as what I've read didn't really give much code. Mar 11 08:18:13 but i guess thats not his problem :) Mar 11 08:18:21 g00s, hm, it's not in the documentation Mar 11 08:18:32 he wants to know how he can handle his very different calls (in one asynctask or multiples) Mar 11 08:19:18 g00s, which version was it added in Mar 11 08:19:25 i see it in v4 Mar 11 08:19:34 g00s, but which r Mar 11 08:19:43 r? Mar 11 08:20:14 v4 just means that it works from api level 4 and up, there's different revisions of the compat li´b Mar 11 08:20:16 its been there for a while. CursorLoader needs AsyncTask - and it needs the one that works right :) Mar 11 08:20:37 it's still not in the reference on d.android.com though Mar 11 08:20:38 :E Mar 11 08:20:47 um Mar 11 08:22:06 Interesting discussion, would really like some of your insight Mar 11 08:22:13 onto my issue Mar 11 08:22:44 Zharf: you're right wtf … i thought this was public Mar 11 08:26:15 enwary, what's your problem really? Mar 11 08:26:33 I just jumped into the conversation and didn't read much of the backlog ;) Mar 11 08:26:38 I'm trying to figure out the proper way to deal with multiple different network i/o commands. Mar 11 08:26:39 enwary: you can (a) create multiple asynctasks for each server action one Mar 11 08:27:08 or (b) create an CallInformation object, that contains information about the call you want to make, and one AsyncTask using this callinformation object to call the server and pass the return value Mar 11 08:27:16 and then let it run with the same asynctask Mar 11 08:27:49 Hmm creating multiple asynctasks seems like the more simpler approach I'll probably just stick with that. Mar 11 08:28:17 Have any of you used RoboSpice to handle your Asynctasks before? Mar 11 08:44:14 * g00s hopes google cranks up the support lib; once android 5 is out - most of us will be supporting api 10-18 :) i'm wondering if i should, instead of one apk for all versions, start using some SCM strategy of parallel branches for each OS version Mar 11 08:45:38 I just hope 2.x dies out soon Mar 11 08:46:08 I had to convince a friend of mine to get a 4.x device instead of the 2.x stuff he was looking into Mar 11 08:46:11 maybe i'll start a library called OhShitSherlock that backports the android 5 stuff :) Mar 11 08:46:16 silly manufacturers Mar 11 08:46:54 Zharf: your friend was looking at a 2.x device ? i know there are GB devices still on sale, but thought 2.x was gone Mar 11 08:47:10 * p_l recently bought a 2.3 device for sis Mar 11 08:47:28 g00s, I wish Mar 11 08:47:45 mh, around 1/3 of my users have 2.x Mar 11 08:48:04 45% are on 4.x now. 43% on 2.3 iirc. Mar 11 08:48:11 Too lazy to bring up the platforms website Mar 11 08:48:14 oh man, if they change the style guidelines again i'm going to rage Mar 11 08:48:45 g00s: why ? Mar 11 08:48:57 you have some essence of style/design no ? Mar 11 08:49:02 :) Mar 11 08:49:05 StingRay_: lol Mar 11 08:49:11 those guides are for ppl that have netiher Mar 11 08:49:19 neither* Mar 11 08:49:33 I probably won't be able to use any of the new stuff of android for a few years to come Mar 11 08:49:38 like whoever did the TU app for o2 Mar 11 08:49:42 just because no one's making a device that I would ever consider buying :E Mar 11 08:49:44 TU? Mar 11 08:50:04 Zharf, not even the Nexus ones? Mar 11 08:50:10 TU = https://play.google.com/store/apps/details?id=es.tid.gconnect&feature=search_result Mar 11 08:50:13 kakazza, no hardware keyboard, too big Mar 11 08:50:28 TU = very good idea, really bad design visuals Mar 11 08:50:31 hardware keyboard is an absolute must for me Mar 11 08:50:34 >hardware keyboard Mar 11 08:50:36 >2013 Mar 11 08:50:41 yeah if you wait for new hardware keyboards, you will have a bad time Mar 11 08:50:49 TU looks like an iphone app Mar 11 08:51:22 I can't handle touchscreens... my fingers drive my brain nuts because there's no feedback Mar 11 08:51:42 Zharf: there are microfluidic keyboards coming out within the next year or so Mar 11 08:51:51 i think this year Mar 11 08:51:57 g00s, yeah I saw those, but they're still taking screenspace though Mar 11 08:51:57 probably by xmas Mar 11 08:52:01 Also, I don't need feedback if I swipe over the keyboard. Mar 11 08:52:11 and I like my 3" phone, anything larger gets too large fast ;) Mar 11 08:52:14 i wonder if you can pop your screen :) Mar 11 08:52:26 like wheni popped my asics gel sneaker Mar 11 08:56:42 How do I echo to stdout a variable's value from a makefile ? Mar 11 08:57:06 I've tried: echo $(my_var) from within a target, no output... Mar 11 08:59:53 https://gist.github.com/anonymous/5132903 Mar 11 09:13:33 Good morning all :) Mar 11 09:39:19 hi guys Mar 11 09:45:38 StingRay_: tried my hand at taking some flower pictures today. i'm a noob, so i try new and challenging things - this didn't go so well. at such close distance, my depth of field was so shallow I could not get the whole flower in focus. maybe the center would be in focus but the far and closes pedals would be out of focus, for example. Mar 11 09:46:08 and my P&S sucks; i have to use manual focusing, and its impossible to tell in the field if i did it right on such a small LCD Mar 11 09:48:31 g00s: your g9 could not get the whole flower in focus ? Mar 11 09:48:43 that takes some doing Mar 11 09:49:03 no, not when the subject was about 4 inches Mar 11 09:49:04 as in I would have to use dedicated macro lens or lens spacer to do that Mar 11 09:49:33 well you know what affects focus ? Mar 11 09:49:38 as the subject gets further out, the dof increases at the same focal length tho Mar 11 09:49:41 as in DOF Mar 11 09:50:18 StingRay_: i'm not sure, what did you have in mind ? Mar 11 09:50:29 all you do to get more focus area and this a wider DOF is lessen aperture Mar 11 09:50:37 providing there is enough light Mar 11 09:50:47 oh heh, i did that - the difference was like 0.5 " Mar 11 09:50:49 thus* Mar 11 09:50:56 na Mar 11 09:51:03 difference is in stops Mar 11 09:51:09 as in multipliers Mar 11 09:51:24 and difference between f1.8 and f16 is huge Mar 11 09:51:36 not at close distantces :) Mar 11 09:51:41 cept f16 sounds better, like a fighter jet Mar 11 09:51:45 ;) Mar 11 09:52:09 g00s: really it does, unless you have increased physical space between lens and sensor Mar 11 09:52:51 so I take it you were shooting on macro mode Mar 11 09:53:22 macro Mar 11 09:53:23 which does just that, increases space between last lens element and sensor, well I think in compacts it does that Mar 11 09:53:28 's haaaard Mar 11 09:53:40 * alex_PP has fat fingers Mar 11 09:53:53 StingRay_: using dofmaster, i just calculated it. at 7.4mm (my widest) the dof goes from 0.19" @ 2.2 to 0.47" @ 5.6 Mar 11 09:54:14 oh you only have f5.6 ? Mar 11 09:54:19 as max ? Mar 11 09:54:22 thats really odd Mar 11 09:54:23 this is at 4" Mar 11 09:54:39 StingRay_: well, its a p&s. 5.6 is like f64 Mar 11 09:54:42 for a dslr Mar 11 09:55:03 dont really have any p&s's Mar 11 09:55:12 yeah, the crop factors and such ... Mar 11 09:55:28 crop factor dont affect ap Mar 11 09:55:39 it affects effective focal range Mar 11 09:56:00 not aperture Mar 11 09:56:02 sure Mar 11 09:56:09 i mean, you are right Mar 11 09:56:23 but small sensor = 'wide' lens = massive dof for a vertian apature Mar 11 09:56:25 *certain Mar 11 09:56:29 cause i have a few crop aps size dslrs Mar 11 09:56:36 so they then to be wider apertures Mar 11 09:56:43 *so they tend to have Mar 11 09:59:28 alex_PP: what kind of camera do you have ? Mar 11 09:59:32 20D Mar 11 09:59:36 and an S95 Mar 11 09:59:59 oh, i had an s95 - loved it. but i destroyed it by mistake. now i'm back to the g9 Mar 11 10:00:05 :( Mar 11 10:00:13 i'm trying to break the 20D so I can get a 5D, but the bugger refuses to die Mar 11 10:00:28 the S100s are cool Mar 11 10:00:42 they can do (very low res) 240 fps video Mar 11 10:01:28 alex_PP: i've been kinda frustrated at the lack of progress Canon has made in the Powershot G/S series tho. The sensors are still kinda lame. The newest S100 or whatever has about the same dynamic range and color bit depth as the s95 Mar 11 10:01:51 sure, they have done some nice things with optics i guess. autofocus is better Mar 11 10:02:21 this is what i would get to replace my S95 now http://www.amazon.com/Sony-DSC-RX100-Sensor-Digital-Camera/dp/B00889ST2G Mar 11 10:02:33 i've found glass to be the most significat factor in my photos Mar 11 10:02:36 to replace my g9 i would get a nex-6 probably Mar 11 10:03:02 the sonys are looking nice Mar 11 10:03:26 Canon hasn't really been keeping their censor fabs up to date with sony Mar 11 10:03:58 i loved my s95 tho; small enough i could put it in my fanny while trail running. Mar 11 10:04:02 erm, sensor? Mar 11 10:04:13 sensor :) Mar 11 10:04:34 i'm not big on the whole 4/3s thing though Mar 11 10:04:46 I don't think Canon are in the business of manufacturing people to edit content for suitability Mar 11 10:05:00 i like to have either a compact, or the biggest sensor i can afford Mar 11 10:05:10 does android stream ogg ogv files?\ Mar 11 10:06:04 dmonjo: if you create a buffered input stream android will stream anything Mar 11 10:06:21 dunno if it will decode and play it though, look on the dev site for media support Mar 11 10:06:43 i was having fun streaming the camera to mplayer on my laptop yesterday Mar 11 10:06:45 alex_PP: what kind of photography do you do ? how long have you been at it ? Mar 11 10:06:52 thus and that Mar 11 10:07:03 years, although i've been prety lazy recently Mar 11 10:07:07 *this Mar 11 10:07:35 cambodia isn't conducive to photos Mar 11 10:07:42 oh my Mar 11 10:07:42 it's hot and flat all hay Mar 11 10:07:44 *day Mar 11 10:07:54 then there's 230 soconds of good light Mar 11 10:07:59 then dark Mar 11 10:08:05 *30 seconds Mar 11 10:08:06 alex_PP: i was reading about a lens cap dehumidifier Mar 11 10:08:21 gear isn't the problem Mar 11 10:08:24 flat light it great for intimate landscape though ;) Mar 11 10:08:28 weather and the equator are Mar 11 10:08:29 flowers, etc Mar 11 10:08:41 not a flowery type Mar 11 10:08:42 :P Mar 11 10:08:53 alex_PP: so you have special stuff to keep your gear dry & protected Mar 11 10:08:57 and i've been very lazy Mar 11 10:09:07 ;) Mar 11 10:09:14 a peli case and some silica gel packs Mar 11 10:09:52 dry season = "where'd all this dust come from" Mar 11 10:10:05 wet season = "why's eveything i own mouldy??" Mar 11 10:10:40 heh, you may find this interesting http://www.gizmag.com/dricap-protects-lenses/25984/ Mar 11 10:11:15 yeah, in arizona its very dusty. i have dust inside my p&s :P Mar 11 10:11:18 nice Mar 11 10:11:31 i have a dead ant on the top LCD on my 20D Mar 11 10:11:32 :s Mar 11 10:11:39 but he came with me from england Mar 11 10:11:50 can't get him out of there Mar 11 10:12:56 i'm all excited about taking some photos now Mar 11 10:12:58 awesome Mar 11 10:13:07 \o/ Mar 11 10:13:19 30mins, and i'm outta here Mar 11 10:14:00 alex_PP: do you have anything online ? Mar 11 10:14:42 http://charlie-chalk.deviantart.com/gallery/ Mar 11 10:14:56 there's some crap in there, but some nice ones too Mar 11 10:15:04 oh wow, awesome Mar 11 10:15:39 macro time Mar 11 10:15:40 http://charlie-chalk.deviantart.com/art/Tulip-93397550?q=gallery%3Acharlie-chalk%2F321856&qo=30 Mar 11 10:15:46 i like Oink Mar 11 10:16:05 ha Mar 11 10:16:39 Caged is my favorite Mar 11 10:16:53 and Bicycle Mar 11 10:16:56 alex_PP: you have some great stuff there. you work hard! Mar 11 10:17:03 you got a gallery? Mar 11 10:17:07 cheers Mar 11 10:18:02 alex_PP: no; nothing good enough to put in a gallery yet :( Mar 11 10:21:32 :( Mar 11 10:21:41 just keep doing it Mar 11 10:22:01 at uni i was taking photos for several hors a day Mar 11 10:22:12 and never left the hoyse without a camera Mar 11 10:22:41 alex_PP: did you study anything photo-wise, or just learn by doing ? Mar 11 10:22:51 learnt by doing Mar 11 10:22:55 cool Mar 11 10:23:02 had a few more experienced friends Mar 11 10:23:04 that helps Mar 11 10:23:09 ;) Mar 11 10:23:44 anyone know of a drag reorderable expandable list view? Mar 11 10:29:18 laters Mar 11 10:29:27 going to take some photos Mar 11 10:29:44 alex_PP: cool, later … hope you get some good shots Mar 11 10:29:50 me too Mar 11 10:30:09 funkbox: funkbox: the one you're about to write :) i wonder if there was a conversation at google that went like this: "Maybe we should have x and y widgets" "No, you can do everything by subclassing View and ViewGroup!" Mar 11 10:30:35 well darn Mar 11 10:34:01 funkbox: thats one of the first things that struck me coming from iOS dev; they have a lot more gui widgets Mar 11 10:34:25 although some of the are lame ;) Mar 11 10:45:14 whos wants to pull an allnighter coding spree? Mar 11 10:45:22 me Mar 11 10:45:29 first to finish project wins, go go go Mar 11 10:47:35 my xperia z should arrive in the next few days Mar 11 10:47:38 * wabz dances Mar 11 10:47:59 cool :) Mar 11 10:55:31 hiya g00s Mar 11 10:57:42 hey Trinsta Mar 11 10:58:14 whatcha working on? Mar 11 11:00:30 Trinsta: i'm reading a book on Git, actually Mar 11 11:01:32 i suck at Git :( Mar 11 11:01:47 =[ well better than me, im clueless Mar 11 11:01:55 free book or purchased? Mar 11 11:02:27 I read Pro Git which was free. Mar 11 11:02:35 now i am reading the Oreilly one which is not Mar 11 11:03:09 Pro Git was a nice 'git for dummies' kind of thing, but i really screwed my repo up - knowing only what i learned there. Mar 11 11:03:17 the oreilly one is in much more depth Mar 11 11:04:47 ahh, android or linux? Mar 11 11:05:00 or rather just reaidng up on it so you can do both :) Mar 11 11:05:05 i'm using git for my android project on mac Mar 11 11:05:40 nice, got cairo-dock on my ubuntu :) Mar 11 11:05:40 wabz: what version of android does it come with ? Mar 11 11:08:42 hello, can I send push notifications in a local network without internet connection? GCM requires an internet connection, right? Mar 11 11:09:14 yes Mar 11 11:09:58 Ge0rG: yes for the last question? Mar 11 11:10:07 aeroot: you will need to build your own push architecture Mar 11 11:10:51 timroes: I thought about that, too. is there a framework available for this purpose? Mar 11 11:10:57 like keeping tcp connections open and server sending responses when message should be pushed Mar 11 11:11:04 aeroot: nothing i know about, i am pretty finde with GCM :D Mar 11 11:13:39 hmm, need a quick java commenting lesson. Whats the difference between /* and /** just docing right? Mar 11 11:15:24 aeroot: yes, you can do it based on MQTT Mar 11 11:16:07 but of course, there are challenges with infrastructure, and tcp on mobile. Mar 11 11:17:16 aeroot: http://tokudu.com/2010/how-to-implement-push-notifications-for-android/ Mar 11 11:17:32 there is xmpp, http, or even imap ;) Mar 11 11:17:42 screw that stuff :) Mar 11 11:17:53 MQTT is far nicer for this Mar 11 11:18:06 why the fuck does anyone use xmpp Mar 11 11:18:18 biggest pile of shit on the planet Mar 11 11:18:32 hi, I have a noob question. what's wrong with this method? public void methodName (String i ) { textView1.setText (i);} Mar 11 11:18:33 how can I write unit tests for C++ written via ndk ?? Mar 11 11:18:38 * g00s goes back to reading Mar 11 11:18:40 g00s: That sounds quite interesting. Thanks a lot! Mar 11 11:20:12 and it's callled from another class as myAct.methodName("woof woof"); Mar 11 11:20:23 g00s: 4.1.2 with a promise to upgrade very soon :p Mar 11 11:23:06 looks fine tug Mar 11 11:23:06 what does the error say? Mar 11 11:23:20 hey Mar 11 11:24:32 there is no error it just crashes Mar 11 11:24:50 on that line Mar 11 11:27:49 hi quacked Mar 11 11:32:46 If it looks fine I'll try to figure it out myself first, and then if fail ask for further help. Thanks Mar 11 11:39:15 I can style in themes.xml with #ffffff , but how do I style specific linearlayouts or buttons? Mar 11 11:39:35 for instance if I want to change the color of buttons Mar 11 11:40:29 Either apply a Style or just modify the background, drawable etc directly in the