**** BEGIN LOGGING AT Fri Nov 09 02:59:58 2012 Nov 09 03:07:55 test Nov 09 03:08:06 it worked Nov 09 03:10:29 hi Nov 09 03:11:29 hey... Nov 09 03:11:37 Has anyone ported apache to android...? Nov 09 03:11:44 ctate: you don't even know what exactly he's testing for! Nov 09 03:11:47 I think ngnx was ported... Nov 09 03:12:03 pragma-: usually it's for nick registration => can talk here Nov 09 03:12:13 test Nov 09 03:12:23 ctate, Nov 09 03:12:35 Anony port a HTTP daemon to Android yet? Nov 09 03:12:40 I might re-use my tablet Nov 09 03:12:44 pragma-: yours worked too. i think you are testing whether you're being a git. :) Nov 09 03:12:52 iToast: no clue Nov 09 03:12:53 * pragma- smiles happily. Nov 09 03:12:58 ffffuuuu Nov 09 03:13:00 >_> Nov 09 03:13:16 shouldn't be hard to port pretty much any simple http server Nov 09 03:13:37 I renember when I first tried to develop for android, all I did is make a window and add a title XD Nov 09 03:26:26 is there a way to do real-time file system filtering? Nov 09 03:26:45 I'd like to get events when files are opened, closed, deleted, etc. Nov 09 03:27:33 sleepster: FileObserver Nov 09 03:27:46 thanks.. what's that? Nov 09 03:27:55 oh nevermind Nov 09 03:27:57 found it on google Nov 09 03:29:06 ITYM "found it in the Android docs" Nov 09 03:30:48 correct.. well google found it in the Android docs and returned it to me Nov 09 03:30:50 what a good boy Nov 09 03:31:05 oh cool, i never saw that. java 7 has that built into nio.2 Nov 09 03:32:40 iToast: not an http server, but maybe vert.x could be helpful to you Nov 09 03:32:54 ;o Nov 09 03:36:53 anyone have experince with google plugin for eclipse and Android and working with app engine services? Nov 09 03:37:10 too many ands sorry lol Nov 09 03:40:58 REGISTER Nov 09 03:41:04 oops sorry Nov 09 03:41:51 REGISTER culero2 Nov 09 03:42:01 man im a noob im having trouble Nov 09 03:42:21 i want to get into android-root but cant Nov 09 03:52:15 I'm trying to make some changes to the ViewPager class from the support library as per this thread : http://stackoverflow.com/questions/12276846/one-side-viewpager-swiping-only How can I provide my own adapter here? Nov 09 03:55:42 google says this newest chrome is 26% faster than the previous one; but i have 7 tabs up and its taking 600mb Nov 09 03:56:35 Is it really a bad thing to move code from the support lib to a package called "android.support.v4.view" in my own project ? Nov 09 03:56:50 g00s: well, they didn't say it was 26% smaller ;) Nov 09 03:57:19 :) Nov 09 03:57:59 napster: what do you mean add your own adapter? that doesn't look like it alters anything about the adapter Nov 09 03:58:09 and, i'd rename your custom class to your own package name Nov 09 03:58:33 unless you can't because of package privacy Nov 09 03:58:52 some of the methods are not visible if I change the package name Nov 09 04:00:46 napster: gotcha Nov 09 04:00:58 yeah just make sure theres no name conflicts really Nov 09 04:02:08 hmm, what I'm trying to do is add a couple of lines to the ViewPager code Nov 09 04:02:27 what should be the simplest way to do it? tophyr ^^ Nov 09 04:03:12 make a local pkg of same name, inherit ViewPager, extend the method you wanna change Nov 09 04:04:38 let me try that tophyr Nov 09 04:07:56 tophyr: "extend the method you wanna change..." You mean override the performDrag() method? Nov 09 04:09:25 That is the method I want to change. Although, it is a private method. So this might not work in this case tophyr Nov 09 04:10:13 napster: correct Nov 09 04:10:14 ah Nov 09 04:10:19 yeah boned then Nov 09 04:10:35 copy whole viewpager.java into CustomViewPager.java? Nov 09 04:10:56 and keep the package name unchanged? Nov 09 04:11:58 another approach would be to copy ViewPager keeping the same package and class name, but making that method public. Then make your CustomViewPager in a different package and override it. Then if you're updating the support lib you just have to make that one change of making the method public (and then testing) Nov 09 04:12:25 whereas if you copy it's source to CustomViewPager you'll likely have a harder time incorporating any future changes Nov 09 04:12:59 ok Nov 09 04:14:35 kevinb: tophyr : If I keep the same class name and package name, then which one of the ViewPager code will be picked up for building? The one in the support-lib.jar or the one my project? Nov 09 04:14:36 im trying to add audio to my activity Nov 09 04:14:47 i put my audio file in a folder i called raw Nov 09 04:15:01 i have an error saying raw cannot be resolved or is not a field in my java page for this line Nov 09 04:15:07 mpSong = MediaPlayer.create(this, R.raw.audio); Nov 09 04:15:19 is there something i have to do? Nov 09 04:15:28 napster: hrm i guess you'd have to copy all of the support lib over if keeping the class name. Nov 09 04:16:11 kevinb: and remove the support-lib from build path? Nov 09 04:16:15 yes Nov 09 04:16:29 ok Nov 09 04:16:44 this is going to be hard Nov 09 04:17:19 then you can try using the same package name but a different class name. i believe that should work Nov 09 04:18:16 "whereas if you copy it's source to CustomViewPager you'll likely have a harder time incorporating any future changes" :) Nov 09 04:18:53 yes :P. if you only do the one change of private to public there, then have a separate class that extends that it won't be so bad Nov 09 04:19:23 like you have PublicViewPager with just the one line change, then you have CustomViewPager in your own package that overrides that method Nov 09 04:19:42 ok lets see how it goes Nov 09 04:19:44 then any future changes you just copy into PublicViewPager, change the class name, and change the private to public Nov 09 04:21:20 yeek. i smell a nightmare coming. what's the SO link again? Nov 09 04:21:40 is there any way you can accomplish this by overriding a protected method instead? Nov 09 04:21:46 tophyr: http://stackoverflow.com/questions/12276846/one-side-viewpager-swiping-only Nov 09 04:22:49 Actually the whole point is to restrict the view pager swipe-able in one direction Nov 09 04:23:14 this seemed to be the correct solution, even if not easy Nov 09 04:28:35 Retrieving 5 ints from a shared preferences is not a lengthy operation correct? I want to make an app widget customizable, which I'm imaging I do by setting various parameters of textviews via remote views in onUpdate, which I'm assuming I access via shared preferences set from configuration activity? Nov 09 04:29:26 Hey everybody. Can somebody help me find the file that defines the color settings for the jelly bean notifications pull down? Nov 09 04:49:20 tophyr: kevinb Another question : Is it possible to change the code and rebuild the entire support library? Nov 09 04:49:54 as a jar you mean? yes, though i haven't done it Nov 09 04:50:21 i'd say just copying the full sources into your project would be easier Nov 09 04:51:44 kevinb: But how to copy the full source. I tried to copy all the folders named 'android' from "android-sdk/extras/android/support/v4/src/" Nov 09 04:52:02 it ends up in a number of errors in those files Nov 09 04:53:01 oh the directory structure is a bit weird because they have the "java" and "honeycomb" subdirectories Nov 09 04:53:29 I see Nov 09 04:53:40 kevinb: so I need "android" from both of these and merge them together? Nov 09 04:54:21 i think so, merge together java/android/support... and all the platform names/android/support... Nov 09 04:54:40 ok Nov 09 04:56:28 kevinb: no the package names in files starts with "android.*" So those folders named 'android' should be merged together right? Nov 09 04:57:15 yeah, include the "android" dir, i was just clarify android/support as if you find any sources in other directories you don't need/want those Nov 09 04:58:03 for one of my projects i only need NavUtils, and I only target API 14+, so I just have a package android.support.v4.app with two files in it, NavUtils and NavUtilsJB Nov 09 04:58:33 got it Nov 09 04:59:34 Which one would you guys vote for? :P http://ecere.com/tmp/chateauEcere.png -- http://ecere.com/tmp/labelv3.png -- http://ecere.com/tmp/labelv5.png -- http://ecere.com/tmp/labelv6.png -- http://ecere.com/tmp/labelv7.png Nov 09 05:00:38 oops wrong channe :P Nov 09 05:02:26 kevinb: Ok in your case you just have 2 files. So which version of these two files will be picked up by your project? Nov 09 05:02:55 i'm not using the support lib there, and the files have the different names Nov 09 05:03:03 ESphynx: Nice wine labels. You and my Dad should collaborate. Nov 09 05:03:05 ok Nov 09 05:05:55 ESphynx labelv6 Nov 09 05:06:45 5 - 7 6 is most consistent and cleanest Nov 09 05:07:16 depends if you want to project wine itself (6) or wine lifestyle (7/8) Nov 09 05:07:27 (5/7 i mean) Nov 09 05:09:53 why kitty Nov 09 05:14:03 thanks lasserix hehe Nov 09 05:14:14 jfpoole thanks mah hehe. my first attempt at making wine :P Nov 09 05:14:26 how many bottles? Nov 09 05:14:30 it's all local features :P Nov 09 05:14:35 lasserix about 10L =) Nov 09 05:14:40 let me put the glass pic :) Nov 09 05:14:54 http://ecere.com/tmp/PB086746.JPG Nov 09 05:14:54 ahh cool that's always fun Nov 09 05:15:05 http://ecere.com/tmp/PA166737s.jpg -- the grapes =) Nov 09 05:15:12 ESphynx: Nice! Nov 09 05:15:17 from my backyard hehe... those in the pics :) Nov 09 05:15:26 ESphynx: My Dad's been doing it for 20-30 years. He puts his dog on the labels. Nov 09 05:15:32 haha nice Nov 09 05:15:56 How do you bottle them? Nov 09 05:16:14 from what i remember the machine was huge but it was doing like 10k cases Nov 09 05:17:23 nm Nov 09 05:17:27 lasserix hmm, I'm just gonna put the wine into the bottle? :P Nov 09 05:17:48 I redid the bevel on v5 :P Nov 09 05:17:53 does xml pullparser read line by line or tag by tag Nov 09 05:18:13 oh there is some technique since you don't want excess air or oxidization Nov 09 05:18:48 but itlooks like there are arm grease powered corkers Nov 09 05:18:53 lasserix well you avoid contact with air as much as possible :) Nov 09 05:19:05 I have a big corker machine here Nov 09 05:19:07 I have yet to try it :P Nov 09 05:19:08 oh cool Nov 09 05:19:14 it's just manual thing though Nov 09 05:19:18 not powered Nov 09 05:22:21 Looney, element by element, xml is not defined by lines Nov 09 05:24:17 thanx mrenouf Nov 09 05:26:49 ESphynx although if its for your familymembers you should take that pictureof thegraps and kid and turn that intoyourlabel :) Nov 09 05:27:32 Hey Guys I've linear layout which looks white on newer phones and black on older once Nov 09 05:27:54 how do I make it use ActionBarSherlock Light theme Nov 09 05:28:19 hehehe Nov 09 05:29:16 brickhead are you setting theme to Sherlock.Light or some theme thatuses that as parent inyour manifest? Nov 09 05:42:33 what could be the reason that getName of my xmlpullparser instance does not work inside if condition Nov 09 05:50:27 http://pastie.org/5349588 Nov 09 05:55:42 Looney: i've never used xmlparser, but if xpp.nextText() changes the state of the parser, that could cause getName to behave differently Nov 09 05:56:11 hmm, could be the reason Nov 09 05:56:19 lemme check Nov 09 05:58:34 commenting it out did no good :-( Nov 09 06:24:03 kevinb: tophyr Thanks a lot mates. I finally made it work :) Nov 09 06:44:19 Hey Guys, this is a rather basic question on styles and attributes, I'm using listPreferredItemPaddingLeft attr in my xml Nov 09 06:44:41 but for backward compatibility I've to get it from ActionBarSherlockk Nov 09 06:44:50 so how do we inherit attributes in xml ? Nov 09 06:48:32 brickhead,