00:37.36 | romainguy_ | jasta: you should post that link on the newsgroups |
00:48.04 | duey | btw is chinese not supported? |
00:48.25 | duey | it displayed all bung when i use my translation to convert to chinese |
00:49.16 | *** join/#android bladezor (n=bladezor@c-98-196-112-154.hsd1.tx.comcast.net) |
01:08.39 | jasta | romainguy_: that's where i found it. |
01:08.55 | romainguy_ | ah cool |
01:10.11 | jasta | i had the idea to try this a while ago but was convinced it would not work well |
01:10.18 | jasta | and didn't want to spend the energy to research it |
01:10.25 | jasta | i'm glad it does seem to work ok, and that someone has done it for me :) |
01:10.48 | jasta | his implementation has quite a few obvious problems, but fortunately those can be ignored since it's just a short-term hack anyway |
01:30.43 | *** join/#android The_PHP_Jedi (n=ThePHPJe@unaffiliated/thephpjedi/x-000002) |
01:46.12 | *** join/#android tmcneal (n=asdf@pool-151-199-245-93.phil.east.verizon.net) |
02:11.56 | *** join/#android michaelnovakjr (n=nov@ool-18ba6e83.dyn.optonline.net) |
02:26.18 | *** join/#android michaelnovakjr (n=nov@ool-18ba6e83.dyn.optonline.net) |
02:26.36 | michaelnovakjr | anyone developing on os x? |
02:28.40 | romainguy | yes |
02:28.55 | michaelnovakjr | do you have any issues with the emulator |
02:29.41 | romainguy | none |
02:30.00 | michaelnovakjr | lately its been crashing my machine |
02:33.04 | duey | eclipse and the emulator break all the time |
02:33.35 | michaelnovakjr | eclipse usually holds up for me, but when i throw the emulator in the mix my machine gets cranky |
03:05.16 | *** join/#android pombreda (n=pombreda@c-67-180-198-25.hsd1.ca.comcast.net) |
03:07.42 | *** join/#android morrildl (n=morrildl@76-217-210-185.lightspeed.sntcca.sbcglobal.net) |
03:10.02 | *** join/#android __avatar (n=avatar@m2a0f36d0.tmodns.net) |
03:15.38 | *** join/#android bladezor (n=bladezor@c-98-196-112-154.hsd1.tx.comcast.net) [NETSPLIT VICTIM] |
03:15.38 | *** join/#android f00f- (i=f00f@virusexperts.com) [NETSPLIT VICTIM] |
03:15.38 | *** join/#android acsia (n=acsia@host86-161-119-76.range86-161.btcentralplus.com) [NETSPLIT VICTIM] |
03:15.38 | *** join/#android Stephmw (n=steph@tangency.co.uk) [NETSPLIT VICTIM] |
03:15.38 | *** join/#android trivex (n=trivex@CPE00112f8785ab-CM000f9f50281e.cpe.net.cable.rogers.com) [NETSPLIT VICTIM] |
03:15.38 | *** join/#android zhobbs (n=zach@19.234.189.72.cfl.res.rr.com) [NETSPLIT VICTIM] |
03:15.38 | *** join/#android swetland (n=swetland@sunnyvale.frotz.net) [NETSPLIT VICTIM] |
03:24.07 | *** join/#android benley (n=benley@fortinbras.zoiks.net) [NETSPLIT VICTIM] |
03:24.07 | *** join/#android shoragan (n=shoragan@debian/developer/shoragan) |
03:24.07 | *** join/#android Lede (n=lede@85.148.228.92) [NETSPLIT VICTIM] |
03:24.07 | *** join/#android chomchom (n=chomchom@78.32.95.81) [NETSPLIT VICTIM] |
03:24.07 | *** join/#android dims (n=dims@c-66-31-154-33.hsd1.ma.comcast.net) [NETSPLIT VICTIM] |
03:24.07 | *** join/#android romainguy (n=gfx@adsl-76-241-19-127.dsl.pltn13.sbcglobal.net) [NETSPLIT VICTIM] |
03:24.07 | *** join/#android Hai-Fai (n=jarmo@hoas-fe1edd00-30.dhcp.inet.fi) [NETSPLIT VICTIM] |
03:41.13 | f00f- | how can i disable/hide the Set button in a TimePicker? |
03:49.03 | *** join/#android Dan_U (n=Dan@72-173-63-190.cust.wildblue.net) |
03:57.54 | michaelnovakjr | nothing annoys me more than a java nullpointer exception |
03:58.06 | michaelnovakjr | its the kind of thing that makes you want to throw the computer out the window |
03:58.48 | f00f- | agreed michaelnovakjr |
03:59.00 | f00f- | E/AndroidRuntime( 2306): Caused by: java.lang.RuntimeException: Binary XML file line #125: You must supply a layout_width attribute. |
03:59.03 | f00f- | wtf, i specified it! |
03:59.55 | michaelnovakjr | if java knows something returned null then why not just say so and so is returning null when it isn't supposed to |
04:02.04 | f00f- | this is bullshit |
04:02.09 | f00f- | can't nest layouts |
04:02.42 | f00f- | well LinearLayout |
04:03.01 | michaelnovakjr | isn't there an absolute layout? |
04:03.07 | f00f- | yes |
04:03.12 | michaelnovakjr | i am using linear because my UI is pretty simple |
04:03.24 | f00f- | you shoudl never use absolute layouts |
04:03.36 | f00f- | linearlayouts ar egood for linear stuff |
04:03.41 | f00f- | i have one in a relativelayout |
04:03.49 | michaelnovakjr | i guess it works out for me then |
04:08.37 | michaelnovakjr | how can i write debugging messages when running my app? |
04:09.03 | f00f- | Log.d("facility or shit", "my dumb message"); |
04:09.08 | f00f- | adb logcat |
04:09.14 | michaelnovakjr | cool |
04:09.15 | michaelnovakjr | thanks |
04:09.53 | f00f- | ok |
04:09.54 | f00f- | so i got 3 buttons |
04:10.01 | f00f- | well |
04:10.06 | f00f- | have you used RelativeLayout ? |
04:10.11 | f00f- | if not, i wont ask. |
04:10.44 | f00f- | well |
04:10.46 | f00f- | i'll just use 2 then |
04:10.48 | f00f- | Prev/Next/Finish |
04:10.57 | michaelnovakjr | what's happening when you have three buttons? |
04:11.18 | f00f- | [ Prev ] [ Next ] [ Finish ] |
04:11.20 | f00f- | is what i wanted |
04:11.27 | f00f- | but Next wasnt working out |
04:11.33 | f00f- | anyway i only need 2 :) |
04:11.43 | michaelnovakjr | works out :) |
04:12.14 | f00f- | man, this is going to be abitch to use without a touchscreen |
04:12.23 | f00f- | cause the joystick stucks |
04:12.33 | f00f- | as far as widget order is concerned |
04:12.36 | f00f- | *sucks |
04:12.36 | michaelnovakjr | yea... phone UI's are getting that way |
04:12.47 | michaelnovakjr | or atleast since i started using a touchscreen |
04:12.50 | michaelnovakjr | hah |
04:12.57 | *** join/#android jtoy (n=jtoy@218.20.47.231) |
04:13.44 | f00f- | heh |
04:16.41 | michaelnovakjr | i found it! |
04:16.46 | michaelnovakjr | ha eat that nullpointer |
04:18.58 | zhobbs | michaelnovakjr: you know how to add an exception breakpoint? |
04:19.47 | michaelnovakjr | nope, never had an issue with exceptions before like this one |
04:20.09 | zhobbs | michaelnovakjr: in the breakpoint view click the little J! button (if using eclipse) |
04:20.12 | f00f- | i don't even use a debugger. maybe it would improve productivity. |
04:20.23 | michaelnovakjr | ah interesting |
04:20.37 | zhobbs | then you can add an exception to the list and it will automatically break when/where that exception happens |
04:20.49 | michaelnovakjr | thanks for the tip |
04:20.54 | zhobbs | makes finding something like an NPE really easy |
04:21.03 | michaelnovakjr | i bet |
04:21.07 | michaelnovakjr | that's awesome |
04:23.02 | romainguy | I also really like using field breakpoints |
04:23.11 | romainguy | to break whenever a field is read/written |
04:23.12 | romainguy | very handy too |
04:23.27 | zhobbs | ahh, didn't know about that |
04:23.32 | michaelnovakjr | yea, i have to start using debugging tools more |
04:25.43 | f00f- | ok i just fired up the debug perspective |
04:27.09 | f00f- | ok this is way too slow to use |
04:27.25 | michaelnovakjr | what kind of machine are you on? |
04:27.51 | f00f- | pentium m iirc |
04:28.00 | f00f- | running it about 1.33 GHz righ tnow |
04:28.09 | michaelnovakjr | how about ram |
04:28.10 | f00f- | non-debug works better |
04:28.13 | f00f- | 2 GB |
04:28.44 | michaelnovakjr | ah, i am running an athalon x2 2.8 with 4gb of ram |
04:29.07 | zhobbs | michaelnovakjr: does the emulator run pretty quick for you? |
04:29.41 | f00f- | and i am running with -noaudio -nojni options |
04:30.31 | michaelnovakjr | yea, the emulator is responsive when it doesn't crash |
04:31.00 | zhobbs | I've been happy with the performance of this box until android came out |
04:31.21 | zhobbs | the emulator takes a lot of resources |
04:31.23 | michaelnovakjr | i am waiting to read reviews on the new AMD quad core |
04:32.06 | romainguy | zhobbs: well, the emulator is running a Linux OS basically |
04:33.21 | zhobbs | yeah, and an ARM processor to run that linux OS |
04:33.27 | romainguy | yep |
04:33.39 | romainguy | but it runs really well on a MacPro ^^ |
04:33.59 | michaelnovakjr | romainguy... using a MacPro? |
04:34.10 | romainguy | a MacPro and a MacBook Pro at work |
04:34.12 | zhobbs | I would love to have a MacPro |
04:34.28 | michaelnovakjr | i have a macpro at work.... great machines.... just sweat alot sitting next to one :) |
04:34.29 | romainguy | and a MacPro at home |
04:35.09 | zhobbs | everytime I build one on apple.com they come out to like 4k :) |
04:35.45 | romainguy | :) |
04:36.03 | michaelnovakjr | yea, gotta do the dual display |
04:36.16 | michaelnovakjr | it just makes using it that much better |
04:36.25 | romainguy | I prefer using a single 30" |
04:36.33 | michaelnovakjr | or one of those :) |
04:36.36 | romainguy | (except at work where I use a 30" and a 24") |
04:36.50 | romainguy | the 24" just shows the build status and various dashboards, it's pretty cool |
04:37.09 | michaelnovakjr | yea... its great to have log windows visible when working |
04:37.21 | f00f- | no more alt-tab :) |
04:37.27 | michaelnovakjr | totally |
04:37.28 | romainguy | uhuh |
04:37.41 | romainguy | surprisingly, I still use exposé a lot on 30+24 |
04:37.59 | romainguy | making the IDE almost fullscreen is nice but it's still not enough /o\ |
04:38.40 | michaelnovakjr | yea |
04:39.24 | f00f- | romainguy: can i run the emulator on a remote machine and connect to it? |
04:39.30 | f00f- | that is, i want to slave it off to another machine |
04:39.33 | f00f- | while developing on another |
04:39.46 | romainguy | I'm pretty sure you can with adb |
04:39.53 | romainguy | and the emulator has an option to open a VNC display |
04:41.22 | f00f- | hmm i dont see that option |
04:41.36 | f00f- | well i have two machines here, so i could just 'look' |
04:42.04 | romainguy | try emu -qemu help |
04:42.11 | romainguy | or -qemu -h |
04:43.18 | f00f- | ok found the vnc option |
04:57.35 | michaelnovakjr | anyone know why the Node class doesn't have a getTextContent method? |
05:00.43 | jtoy | how can I debug why my service arent being run form the AlarmService? |
05:01.03 | michaelnovakjr | i am using org.w3c.dom in two places... android and another java class outside of android... getTextContent is a method in org.w3c.dom, but not in android?? |
05:01.13 | jtoy | I can run my Service by calling it explicitly, but when I set it to run every via the alarm system, it never seems to run |
05:01.23 | romainguy | michaelnovakjr: probably a different version of the W3D DOM APi |
05:01.31 | michaelnovakjr | that sucks |
05:01.57 | romainguy | it's not very difficult to get the node's content as text |
05:02.32 | michaelnovakjr | getNodeValue returns null when there is definitely a value |
05:03.03 | romainguy | is the Node an Element? |
05:03.12 | michaelnovakjr | indeed |
05:03.14 | romainguy | if so, I seem to recall that you need to get the first child and *then* call getNodeValue |
05:03.24 | romainguy | I've always used the W3C DOM API that way in Java |
05:03.27 | michaelnovakjr | ah |
05:03.34 | romainguy | the text is a node by itself |
05:03.47 | michaelnovakjr | in my other java class getTextContent took care of that i guess |
05:04.00 | romainguy | yes |
05:04.18 | romainguy | in every Java program I wrote using XML I would always start by creating a few utility methods for XML :) |
05:04.29 | romainguy | like getAttributeValue(node, attributeName) |
05:04.36 | romainguy | or getNodeText(node) |
05:04.36 | romainguy | :) |
05:04.56 | michaelnovakjr | i was spoiled :) |
05:05.09 | michaelnovakjr | excellent, that took care of it! |
05:05.18 | romainguy | ;-) |
05:05.38 | michaelnovakjr | what's odd was if i run the getChildNodes it gets cranky because it says there aren't any |
05:05.50 | michaelnovakjr | but getFirstChild returned the value |
05:06.35 | duey | hi |
05:06.44 | michaelnovakjr | howdy |
05:06.45 | romainguy | yo |
05:07.50 | duey | off topic: anyone here do machine learning ? |
05:15.12 | jasta | romainguy: expose, bah. i have it but rarely use it since multiple desktops is clearly superior :) |
05:15.59 | romainguy | I prefer exposé |
05:21.39 | *** join/#android niket (n=niket@c-76-28-174-245.hsd1.wa.comcast.net) |
05:22.15 | romainguy | well |
05:22.20 | romainguy | enough of Lightroom for tonight |
05:22.50 | niket | Hi All, I am new to android, I have been generating .apk file using eclipse....can u tell me cmd line syntax to generate proper .apk file... |
05:23.12 | niket | I tried to call |
05:23.13 | niket | <exec executable="${aapt}" failonerror="true"> |
05:23.16 | jasta | use activityCreator.py to generate a build.xml file and then examine it. |
05:23.42 | niket | ok |
05:24.28 | niket | where is that activityCreator.py file |
05:25.01 | jasta | in the SDK |
05:25.29 | niket | ok there is .bat file |
05:25.31 | niket | sorry |
05:25.58 | jasta | the bat file is just for the handicapped. |
05:26.02 | michaelnovakjr | haha |
05:30.53 | michaelnovakjr | have a goodnight |
05:31.19 | *** join/#android morrildl_ (n=morrildl@76-217-210-185.lightspeed.sntcca.sbcglobal.net) |
05:35.23 | *** join/#android morrildl (n=morrildl@76-217-210-185.lightspeed.sntcca.sbcglobal.net) |
05:35.25 | *** join/#android yakischloba (n=jake@c-67-170-96-180.hsd1.wa.comcast.net) |
05:36.37 | *** join/#android zhobbs (n=zach@19.234.189.72.cfl.res.rr.com) |
05:39.45 | jtoy | ? |
05:42.56 | *** join/#android rhett (i=rhett@dialup-4.226.231.133.Dial1.Dallas1.Level3.net) |
05:44.38 | rhett | hey androiders |
05:47.58 | duey | howdy |
05:48.48 | rhett | has anyone found any good app preview screenshots yet? |
05:49.41 | rhett | I'm thinking of using the everaldo crystal icons |
05:49.59 | duey | ? |
05:49.59 | rhett | does anyone have a good icon set recommendation? |
05:50.05 | duey | i made my own icon |
05:50.21 | rhett | for the main app? |
05:50.32 | rhett | i could probably use some icons inside the app |
05:51.01 | *** join/#android _avatar (n=avatar@cpe-76-88-201-161.bak.res.rr.com) |
05:58.06 | jtoy | can someone help me with a problem I have with the alarmservice? |
05:59.24 | jtoy | if I run this manually, it works fine: startService(new Intent(this,FileUploadService.class), null); but if I use an alarm service, my code never runs: Intent intent = new Intent(this, FileUploadService.class); long firstTime = SystemClock.elapsedRealtime(); AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE); Integer interval = 15*1000; am.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP,firstTime, interval, intent); |
06:37.37 | *** join/#android Yeggstry (n=mind@cpc1-rdng14-0-0-cust946.winn.cable.ntl.com) |
06:41.41 | jerkface03 | deadlines closing in |
06:41.59 | jerkface03 | i'm almost about to submit my app |
06:42.08 | jerkface03 | just have to run and test these 2 classes and im good to go |
06:48.03 | *** join/#android davidw (n=davidw@212.186.16.224) |
07:20.26 | Lede | jerkface03: what did you write if i may ask? |
07:20.27 | *** join/#android jota- (n=jota@190.6.0.180) |
07:21.56 | *** join/#android muthu (n=sara@59.92.89.234) |
07:23.25 | jerkface03 | Lede: networked twitch gaming framework |
07:23.49 | duey | twitch? |
07:24.02 | jerkface03 | yeppers |
07:24.09 | jerkface03 | quake, bomberman, etc.. |
07:24.22 | jerkface03 | subspace would probably be the best workable port |
07:25.20 | Lede | interesting |
07:26.00 | Lede | great, netherlands is going nuts |
07:26.33 | Lede | it seems that 42 percent wants the dead penalty back into our system |
07:26.51 | jerkface03 | what happend? |
07:26.57 | jerkface03 | gruesome murder? |
07:28.25 | Lede | nothing |
07:29.13 | Lede | after the movie fitna people think the muslims in this country are going to attack them, behead them, eat their babies and implement a rule of law like taliban |
07:29.56 | Lede | it's called mass hysteria |
07:30.19 | Lede | little do they know muslims have been living in this country since the sixties and they didnt even notice or something |
07:30.44 | Lede | goes away |
07:30.47 | jerkface03 | were those cartoons from the netherlands? |
07:31.16 | Lede | no, denmark |
07:51.09 | davidw | hrm |
07:51.18 | davidw | have you guys ever attached the debugger to your apps? |
07:51.44 | muthu | davidw: yeah sometimes |
07:51.55 | davidw | you use the eclipse one? |
07:52.12 | muthu | tried it once |
07:52.22 | muthu | also used it with intellij |
07:52.47 | muthu | sometimes its buggy.. need to restart emulator |
07:57.54 | *** join/#android soulreaper (n=soul@X8a7a.x.pppool.de) |
07:58.23 | *** join/#android rhett_ (i=rhett@dialup-4.226.125.187.Dial1.Dallas1.Level3.net) |
08:11.41 | *** join/#android Mathiasdm (n=Mathias@78-22-5-158.access.telenet.be) |
08:14.40 | *** join/#android dpino (n=dpino@cm217225.red91-117.mundo-r.com) |
08:15.52 | *** join/#android unumm (n=elpresid@pD9E7815D.dip0.t-ipconnect.de) |
08:32.30 | davidw | ok, I remember why I f(*&(&) loathe eclipse |
08:32.51 | jerkface03 | welcome to the club |
08:42.32 | davidw | I just want to debug the wretched thing |
08:45.43 | *** part/#android muthu (n=sara@59.92.89.234) |
08:46.39 | davidw | ARGGHHHH |
08:48.35 | zhobbs | we've all been there...trying to figure out if you should just go ahead and uninstall eclipse for good |
08:52.42 | davidw | "we need to take off and nuke it from orbit - it's the only way to be sure" |
08:53.22 | davidw | I just need to debug this damn android app:-/ |
08:53.36 | *** join/#android plusminus_ (i=590f7185@gateway/web/ajax/mibbit.com/x-d83846ed6d61d3cf) |
09:01.09 | davidw | I mean how the f(&()&()*& do you even import an existing project |
09:03.36 | davidw | ugh... it sort of imported it |
09:03.38 | davidw | what a POS |
09:03.53 | zhobbs | an eclipse project? |
09:04.02 | zhobbs | for an eclipse project file -> import |
09:04.24 | zhobbs | non-eclipse project file -> new -> android project -> (o) from existing |
09:04.44 | jasta | it's pretty obvious really |
09:08.21 | davidw | no it isn't |
09:08.30 | davidw | obvious would be 'import' |
09:08.35 | davidw | but zhobbs is correct |
09:08.50 | jasta | yes, i know he is, and as a first-time Eclipse user, I would say that it was pretty obvious. |
09:09.09 | jasta | also, it's documented in the Android getting started section. |
09:09.17 | zhobbs | import should be a flyout: Eclipse Project, Java Project, etc |
09:10.11 | davidw | obvious means you can figure it out be looking at it... apple products are generally obvious, for instance |
09:11.02 | jasta | well like i said, as a first-time eclipse user, i was able to figure it out. |
09:17.06 | davidw | I don't know, it still screws lots of stuff up... it can't find my manifest xml file |
09:17.59 | jasta | it can't "find it"? |
09:21.44 | davidw | file /Hecl/android/AndroidManifest.xml file doesn't exist, it says |
09:25.31 | davidw | it seems to have figured out things in any case, but it's just weird |
09:27.08 | davidw | I just miss gdb... gdb filename is all there is to it |
09:36.57 | *** join/#android jasta_ (n=jasta@71-217-1-187.tukw.qwest.net) |
10:03.33 | *** join/#android plusminus_ (i=590f7185@gateway/web/ajax/mibbit.com/x-7792cec1f7cc7eef) |
10:07.23 | *** join/#android mihoshi (n=Tylor@unas-226.interra.ru) |
10:23.20 | zhobbs | I want to put an EditText under a ListView...how can I tell the ListView to expand as much as possible without pushing the edittext below the bottom of the screen? |
10:23.35 | zhobbs | I have a feeling something to do with weight |
10:25.27 | jota- | set the LiestView's weight to 1? |
10:26.14 | jota- | and its height to 0dip |
10:26.38 | zhobbs | thanks |
10:27.19 | jota- | np |
10:36.22 | zhobbs | hmm...that kills the scrollbars when I do that |
10:36.28 | zhobbs | wonder if that's a bug |
10:39.31 | jota- | probably not |
10:48.45 | *** join/#android plusminus_ (i=590f7185@gateway/web/ajax/mibbit.com/x-913a0cf795163c51) |
10:55.06 | *** join/#android sixbit (n=sixbit@b93021.upc-b.chello.nl) |
11:16.28 | *** join/#android Yeggstry (n=mind@cpc1-rdng14-0-0-cust946.winn.cable.ntl.com) |
12:12.22 | davidw | ARGHHHHH, stupid f*&*)(&*(*& eclipse |
12:12.31 | *** join/#android matt_c (n=mcroydon@137.147.45.66.cm.sunflower.com) |
12:12.37 | davidw | M-x die-eclipse-die |
12:13.08 | Ix-Xitan | davidw what about android ? web sciernce APIs are not compatible and not even near to portable |
12:13.13 | Ix-Xitan | so android must die i guess |
12:13.40 | davidw | eh? |
12:13.46 | davidw | Android is cool |
12:14.21 | Ix-Xitan | ok find me an RFF api for android ;) |
12:14.24 | Ix-Xitan | RDF* |
12:14.52 | Ix-Xitan | android is pure BS |
12:15.48 | davidw | well, fine, don't use it then |
12:15.52 | Ix-Xitan | anyway googlke is becoming careless like microsoft no wonder |
12:16.10 | Ix-Xitan | davidw have you replied me to sustain your statement ? |
12:16.20 | davidw | I'm just hoping you'll go away really |
12:16.50 | Ix-Xitan | davidw haha ur funny you wish ppl with different opinions to leave ? |
12:17.07 | Ix-Xitan | bleh am talking to a kid over here |
12:17.14 | davidw | well, let's see - this channel is about Android. You don't like Android. So what's your point in being here? |
12:17.40 | davidw | seems counterproductive to me |
12:17.42 | Ix-Xitan | cause i have some work to do on android |
12:18.07 | Ix-Xitan | davidw work is work |
12:18.41 | davidw | have fun then:-) |
12:32.21 | *** join/#android sixbit (n=sixbit@b93021.upc-b.chello.nl) [NETSPLIT VICTIM] |
12:32.21 | *** join/#android jota- (n=jota@190.6.0.180) [NETSPLIT VICTIM] |
12:32.22 | *** join/#android _avatar (n=avatar@cpe-76-88-201-161.bak.res.rr.com) [NETSPLIT VICTIM] |
12:32.22 | *** join/#android benley (n=benley@fortinbras.zoiks.net) [NETSPLIT VICTIM] |
12:32.22 | *** join/#android shoragan (n=shoragan@debian/developer/shoragan) [NETSPLIT VICTIM] |
12:32.22 | *** join/#android Lede (n=lede@85.148.228.92) [NETSPLIT VICTIM] |
12:32.22 | *** join/#android chomchom (n=chomchom@78.32.95.81) [NETSPLIT VICTIM] |
12:32.22 | *** join/#android dims (n=dims@c-66-31-154-33.hsd1.ma.comcast.net) [NETSPLIT VICTIM] |
12:32.22 | *** join/#android romainguy (n=gfx@adsl-76-241-19-127.dsl.pltn13.sbcglobal.net) [NETSPLIT VICTIM] |
12:32.22 | *** join/#android Hai-Fai (n=jarmo@hoas-fe1edd00-30.dhcp.inet.fi) [NETSPLIT VICTIM] |
12:43.34 | *** join/#android sixbit (n=sixbit@b93021.upc-b.chello.nl) [NETSPLIT VICTIM] |
12:43.34 | *** join/#android jota- (n=jota@190.6.0.180) [NETSPLIT VICTIM] |
12:43.34 | *** join/#android _avatar (n=avatar@cpe-76-88-201-161.bak.res.rr.com) [NETSPLIT VICTIM] |
12:43.34 | *** join/#android benley (n=benley@fortinbras.zoiks.net) [NETSPLIT VICTIM] |
12:43.34 | *** join/#android shoragan (n=shoragan@debian/developer/shoragan) [NETSPLIT VICTIM] |
12:43.34 | *** join/#android Lede (n=lede@85.148.228.92) [NETSPLIT VICTIM] |
12:43.35 | *** join/#android chomchom (n=chomchom@78.32.95.81) [NETSPLIT VICTIM] |
12:43.35 | *** join/#android dims (n=dims@c-66-31-154-33.hsd1.ma.comcast.net) [NETSPLIT VICTIM] |
12:43.35 | *** join/#android romainguy (n=gfx@adsl-76-241-19-127.dsl.pltn13.sbcglobal.net) [NETSPLIT VICTIM] |
12:43.35 | *** join/#android Hai-Fai (n=jarmo@hoas-fe1edd00-30.dhcp.inet.fi) [NETSPLIT VICTIM] |
12:44.41 | *** join/#android [AD]Turbo (n=turbo@host131-128-dynamic.57-82-r.retail.telecomitalia.it) |
12:44.46 | [AD]Turbo | hi all |
12:50.03 | davidw | hi |
12:54.12 | *** join/#android sixbit (n=sixbit@b93021.upc-b.chello.nl) [NETSPLIT VICTIM] |
12:54.12 | *** join/#android jota- (n=jota@190.6.0.180) [NETSPLIT VICTIM] |
12:54.12 | *** join/#android _avatar (n=avatar@cpe-76-88-201-161.bak.res.rr.com) [NETSPLIT VICTIM] |
12:54.12 | *** join/#android benley (n=benley@fortinbras.zoiks.net) [NETSPLIT VICTIM] |
12:54.12 | *** join/#android shoragan (n=shoragan@debian/developer/shoragan) [NETSPLIT VICTIM] |
12:54.12 | *** join/#android Lede (n=lede@85.148.228.92) [NETSPLIT VICTIM] |
12:54.12 | *** join/#android chomchom (n=chomchom@78.32.95.81) [NETSPLIT VICTIM] |
12:54.12 | *** join/#android dims (n=dims@c-66-31-154-33.hsd1.ma.comcast.net) [NETSPLIT VICTIM] |
12:54.12 | *** join/#android romainguy (n=gfx@adsl-76-241-19-127.dsl.pltn13.sbcglobal.net) [NETSPLIT VICTIM] |
12:54.12 | *** join/#android Hai-Fai (n=jarmo@hoas-fe1edd00-30.dhcp.inet.fi) [NETSPLIT VICTIM] |
12:58.22 | *** join/#android sixbit (n=sixbit@b93021.upc-b.chello.nl) [NETSPLIT VICTIM] |
12:58.22 | *** join/#android jota- (n=jota@190.6.0.180) [NETSPLIT VICTIM] |
12:58.22 | *** join/#android _avatar (n=avatar@cpe-76-88-201-161.bak.res.rr.com) [NETSPLIT VICTIM] |
12:58.22 | *** join/#android benley (n=benley@fortinbras.zoiks.net) [NETSPLIT VICTIM] |
12:58.22 | *** join/#android shoragan (n=shoragan@debian/developer/shoragan) [NETSPLIT VICTIM] |
12:58.22 | *** join/#android Lede (n=lede@85.148.228.92) [NETSPLIT VICTIM] |
12:58.22 | *** join/#android chomchom (n=chomchom@78.32.95.81) [NETSPLIT VICTIM] |
12:58.22 | *** join/#android dims (n=dims@c-66-31-154-33.hsd1.ma.comcast.net) [NETSPLIT VICTIM] |
12:58.22 | *** join/#android romainguy (n=gfx@adsl-76-241-19-127.dsl.pltn13.sbcglobal.net) [NETSPLIT VICTIM] |
12:58.22 | *** join/#android Hai-Fai (n=jarmo@hoas-fe1edd00-30.dhcp.inet.fi) [NETSPLIT VICTIM] |
13:00.00 | *** join/#android sixbit (n=sixbit@b93021.upc-b.chello.nl) [NETSPLIT VICTIM] |
13:00.00 | *** join/#android jota- (n=jota@190.6.0.180) [NETSPLIT VICTIM] |
13:00.00 | *** join/#android _avatar (n=avatar@cpe-76-88-201-161.bak.res.rr.com) [NETSPLIT VICTIM] |
13:00.00 | *** join/#android romainguy (n=gfx@adsl-76-241-19-127.dsl.pltn13.sbcglobal.net) [NETSPLIT VICTIM] |
13:00.00 | *** join/#android dims (n=dims@c-66-31-154-33.hsd1.ma.comcast.net) [NETSPLIT VICTIM] |
13:00.00 | *** join/#android chomchom (n=chomchom@78.32.95.81) [NETSPLIT VICTIM] |
13:00.00 | *** join/#android Lede (n=lede@85.148.228.92) [NETSPLIT VICTIM] |
13:00.00 | *** join/#android shoragan (n=shoragan@debian/developer/shoragan) |
13:00.00 | *** join/#android benley (n=benley@fortinbras.zoiks.net) [NETSPLIT VICTIM] |
13:04.01 | *** join/#android benley (n=benley@fortinbras.zoiks.net) [NETSPLIT VICTIM] |
13:04.01 | *** join/#android shoragan (n=shoragan@debian/developer/shoragan) |
13:04.01 | *** join/#android Lede (n=lede@85.148.228.92) [NETSPLIT VICTIM] |
13:04.01 | *** join/#android chomchom (n=chomchom@78.32.95.81) [NETSPLIT VICTIM] |
13:04.01 | *** join/#android dims (n=dims@c-66-31-154-33.hsd1.ma.comcast.net) [NETSPLIT VICTIM] |
13:04.01 | *** join/#android romainguy (n=gfx@adsl-76-241-19-127.dsl.pltn13.sbcglobal.net) [NETSPLIT VICTIM] |
13:04.01 | *** join/#android _avatar (n=avatar@cpe-76-88-201-161.bak.res.rr.com) [NETSPLIT VICTIM] |
13:04.01 | *** join/#android jota- (n=jota@190.6.0.180) [NETSPLIT VICTIM] |
13:04.01 | *** join/#android sixbit (n=sixbit@b93021.upc-b.chello.nl) [NETSPLIT VICTIM] |
13:04.01 | *** join/#android Hai-Fai (n=jarmo@hoas-fe1edd00-30.dhcp.inet.fi) [NETSPLIT VICTIM] |
13:07.08 | *** join/#android benley (n=benley@fortinbras.zoiks.net) [NETSPLIT VICTIM] |
13:07.08 | *** join/#android shoragan (n=shoragan@debian/developer/shoragan) [NETSPLIT VICTIM] |
13:07.09 | *** join/#android Lede (n=lede@85.148.228.92) [NETSPLIT VICTIM] |
13:07.09 | *** join/#android chomchom (n=chomchom@78.32.95.81) [NETSPLIT VICTIM] |
13:07.09 | *** join/#android dims (n=dims@c-66-31-154-33.hsd1.ma.comcast.net) [NETSPLIT VICTIM] |
13:07.09 | *** join/#android romainguy (n=gfx@adsl-76-241-19-127.dsl.pltn13.sbcglobal.net) [NETSPLIT VICTIM] |
13:07.09 | *** join/#android _avatar (n=avatar@cpe-76-88-201-161.bak.res.rr.com) [NETSPLIT VICTIM] |
13:07.09 | *** join/#android jota- (n=jota@190.6.0.180) [NETSPLIT VICTIM] |
13:07.09 | *** join/#android sixbit (n=sixbit@b93021.upc-b.chello.nl) [NETSPLIT VICTIM] |
13:07.09 | *** join/#android Hai-Fai (n=jarmo@hoas-fe1edd00-30.dhcp.inet.fi) [NETSPLIT VICTIM] |
13:22.47 | *** join/#android jtoy (n=jtoy@125.31.234.200) |
13:27.37 | *** join/#android _ken (n=user@84.92.70.37) |
13:47.26 | *** join/#android o3u (n=slim@modemcable095.170-70-69.mc.videotron.ca) |
13:59.25 | *** join/#android mypapit (n=mypapit@pdpc/supporter/active/mypapit) |
14:01.33 | Hai-Fai | anyone know if there's a intent or some other way to detect when something is loading data, i.e when (re)loading mapview? |
14:06.08 | *** join/#android krau (n=cktakaha@189.70.236.190) |
14:09.40 | *** join/#android tmcneal (n=asdf@151.199.245.93) |
14:12.39 | *** join/#android davidw_ (n=davidw@chello212186016224.tirol.surfer.at) |
14:17.51 | *** join/#android _ken_ (n=user@84.92.70.37) |
14:43.37 | davidw | triumphs against the evil thread bug |
14:48.26 | tmcneal | haha |
14:50.07 | davidw | is basically a true believer in the actor model at this point |
14:50.27 | davidw | erlang +1 |
14:59.10 | *** join/#android cktakahasi (n=cktakaha@189.81.98.80) |
15:01.04 | Hai-Fai | can one add text to imageview? like, create a new "tab bar" where is user's Log in name and stuff like that? |
15:09.43 | tmcneal | you mean have an image with text overlayed on top of it? |
15:10.25 | tmcneal | if you want to do stuff with tabs you might want to check out TabActivity |
15:28.50 | Hai-Fai | I'm not sure if TabActivity is the thing I mean.. |
15:31.38 | tmcneal | could you describe in more detail what you want to do? |
15:31.58 | Hai-Fai | add a transparent "tab" under my label |
15:32.16 | tmcneal | ok |
15:32.19 | Hai-Fai | label tab contains name of currently running app/class |
15:32.48 | Hai-Fai | or if it's possible to use that "label tab" to add info, would be great |
15:32.53 | tmcneal | to do that, use TextView and set the 'background' element to the drawable resource that represents your 'tab' image |
15:33.04 | Hai-Fai | oh okay, g2 try thanks |
15:33.16 | tmcneal | sure |
15:34.20 | Hai-Fai | is it possible to add some alpha to textview? |
15:34.58 | *** join/#android Mathiasdm2 (n=Mathias@78-22-5-158.access.telenet.be) |
15:36.00 | *** join/#android mickrobk (n=mickrobk@c-67-173-250-134.hsd1.co.comcast.net) |
15:54.14 | *** join/#android parti (n=parti@77.163.25.244) |
15:57.48 | *** join/#android acsia (n=acsia@host86-161-119-76.range86-161.btcentralplus.com) |
15:59.32 | tmcneal | i'm not sure if it's possible to set the alpha of the background image |
15:59.47 | tmcneal | does the .png format allow you to set an alpha channel of the image itself? |
16:00.21 | tmcneal | if it does, might want setting alpha in the png and see if you can get transparency that way |
16:17.45 | Hai-Fai | yep, thatwise I did it, but just wondered if it's possible |
16:25.45 | *** join/#android mickrobk_ (n=mickrobk@c-67-173-250-134.hsd1.co.comcast.net) |
16:26.38 | *** join/#android isaac (n=isaac@debian/developer/isaac) |
16:35.34 | *** join/#android michaelnovakjr (n=nov@96.56.111.166) |
16:37.11 | *** join/#android soulreaper (n=soul@X8a7a.x.pppool.de) |
16:47.10 | tmcneal | you can set the alpha channel if you're just setting a background color, but i don't believe you can do it if you're setting an image |
16:48.24 | Stephmw | are we talking PNGs in general, or just those as applied to the Android platform? |
16:50.54 | tmcneal | well my question to Hai-Fai was about PNGs in general, and judging by his response it looks like the PNG format does allow you to set the alpha channel |
16:52.30 | *** join/#android krau (n=cktakaha@189.81.98.80) |
17:03.31 | *** join/#android Adys (n=Adys@APoitiers-257-1-68-132.w86-205.abo.wanadoo.fr) |
17:04.39 | *** join/#android yakischloba (n=jake@c-67-170-96-180.hsd1.wa.comcast.net) |
17:09.02 | *** join/#android dims (n=dims@c-66-31-154-33.hsd1.ma.comcast.net) |
17:11.20 | *** join/#android Adys (n=Adys@APoitiers-257-1-68-132.w86-205.abo.wanadoo.fr) |
17:17.46 | *** join/#android foysavas (n=foysavas@pool-68-163-207-237.bos.east.verizon.net) |
17:52.02 | *** join/#android dpino (n=dpino@cm217225.red91-117.mundo-r.com) |
18:05.08 | Ix-Xitan | anyone knows how to play videos on android ? |
18:29.30 | *** join/#android pombred1 (n=pombreda@c-67-180-198-25.hsd1.ca.comcast.net) |
18:53.29 | *** join/#android mluser (n=mluser@ip68-0-73-101.tu.ok.cox.net) |
19:07.32 | *** join/#android mickrobk_ (n=mickrobk@c-67-173-250-134.hsd1.co.comcast.net) |
19:13.14 | *** join/#android Azalar (n=Azalar@unaffiliated/azalar) |
19:19.42 | *** join/#android foysavas (n=foysavas@pool-68-163-207-237.bos.east.verizon.net) |
19:28.02 | *** join/#android AhtiK (n=ahti@80-235-66-212-dsl.kjj.estpak.ee) |
19:28.45 | AhtiK | hmm.. looks like it's pretty much impossible to write any junit tests for code that is using android sqlite.. or has anyone succeeded? |
19:34.35 | *** join/#android isaac (n=isaac@debian/developer/isaac) |
20:06.53 | *** join/#android mickrobk (n=mickrobk@c-75-71-19-129.hsd1.co.comcast.net) |
20:07.34 | *** join/#android morrildl (n=morrildl@76-217-210-185.lightspeed.sntcca.sbcglobal.net) |
20:57.33 | *** join/#android parti (n=parti@77.163.25.244) |
20:58.04 | *** join/#android michaelnovakjr (n=nov@96.56.111.166) |
21:08.56 | *** join/#android sixbit (n=sixbit@b93021.upc-b.chello.nl) |
21:13.55 | michaelnovakjr | howdy |
21:15.22 | *** join/#android The_PHP_Jedi (n=ThePHPJe@unaffiliated/thephpjedi/x-000002) |
21:18.52 | michaelnovakjr | my sqlite database is not showing up in the sqlite3 tool... any reason? |
21:18.58 | michaelnovakjr | is it not supposed to? |
21:33.36 | zhobbs | it should |
21:33.44 | zhobbs | did you pass the database file into the sqlite3 command? |
21:34.09 | michaelnovakjr | where does the emulator put those? |
21:34.13 | zhobbs | the database file is in /data/data/<package>/databases |
21:37.18 | michaelnovakjr | doesn't seem to be working |
21:37.53 | zhobbs | you're in the databases folder for your app? |
21:40.01 | michaelnovakjr | i can't find it |
21:40.13 | *** join/#android morrildl_ (n=morrildl@72.14.224.1) |
21:40.18 | zhobbs | can you find the folder for your package in /data/data? |
21:40.36 | michaelnovakjr | when you say /data/data you mean the system root? |
21:40.51 | zhobbs | adb shell; cd /data/data; |
21:41.08 | zhobbs | / = system root |
21:41.24 | mickrobk | ddms also has a file system explorer, you might find that easier to use if your not familiar with the linux file system layout |
21:41.49 | mickrobk | u'll still have to use the shell to use sqlite3 though |
21:41.52 | michaelnovakjr | in the adb shell you can open sqllite? |
21:42.11 | michaelnovakjr | cool |
21:42.24 | michaelnovakjr | i was going into sqlite3 from my OS shell |
21:42.27 | michaelnovakjr | that was my problem |
21:42.45 | zhobbs | ahh |
21:42.53 | zhobbs | yeah, you can run it in adb shell |
21:43.02 | zhobbs | just pass in the database file as an argument |
21:43.31 | michaelnovakjr | awesome thanks, i got into the database |
21:44.05 | zhobbs | :) |
21:44.40 | michaelnovakjr | they have an impressive set of tools for android |
21:44.53 | michaelnovakjr | i like using the shell when possilbe |
21:45.58 | zhobbs | yeah, being able to query the data is handy |
21:47.02 | michaelnovakjr | definitely |
21:47.33 | michaelnovakjr | if you application is not visible on the screen it is still able to run correct? |
21:47.50 | zhobbs | what do you mean? |
21:49.39 | michaelnovakjr | if someone has your app running and they click to go back to the homescreen....is your app still running? |
21:49.53 | zhobbs | probably... |
21:50.05 | zhobbs | but it can be killed if the system needs the resources |
21:50.36 | zhobbs | that's why you need to think about activity lifecycle, because if the system kills it then you need to design your app to resume like it wasn't killed |
21:50.52 | *** join/#android mickrobk__ (n=mickrobk@c-24-8-150-61.hsd1.co.comcast.net) |
21:50.52 | zhobbs | gotta go..hungry! |
21:53.42 | michaelnovakjr | thanks.... some research for later |
22:03.04 | jerkface03 | anyone awake? what format does the documentation have to be in for the submission? zipped? pdf? |
22:05.39 | *** join/#android aksyn (n=aksyn@78.86.127.226) |
22:07.20 | *** join/#android parti (n=parti@77.163.25.244) |
22:07.55 | *** join/#android ai_ (n=ai@ool-435521a0.dyn.optonline.net) |
22:08.28 | jasta_ | jerkface03: i'm sure it doesn't much matter. |
22:08.58 | jasta_ | any format that would be typical for such a project to distribute would be acceptable i'd bet. |
22:09.23 | *** join/#android inZane- (i=nemo@dslb-084-058-036-185.pools.arcor-ip.net) |
22:09.50 | jerkface03 | I probably should package up the source with the documentation package |
22:35.19 | *** join/#android parti (n=parti@77.163.25.244) |
22:51.02 | *** join/#android duey (n=Nick@203.96.223.40) |
22:52.53 | *** join/#android yakischloba (n=jake@c-67-170-96-180.hsd1.wa.comcast.net) |
22:57.56 | *** join/#android tlockney_ (n=tlockney@70-59-149-119.ptld.qwest.net) |
23:16.35 | morrildl_ | jerkface03: why? |
23:31.38 | jerkface03 | morrildl_: because its opensource |
23:31.52 | morrildl_ | jerkface03: *nod* |
23:31.56 | jerkface03 | morrildl_: is pdf fine for the documentation? |
23:32.00 | morrildl_ | that's fine, just note that you don't HAVE to do that |
23:32.12 | morrildl_ | ...and in fact, it's 99% likely no one will look at it if you do :) |
23:32.34 | morrildl_ | of course, feel free to mention that it's open source in your documentation |
23:32.37 | jerkface03 | i would rather it be there incase someone did decide to have a look ;) |
23:32.46 | morrildl_ | Perfectly fair. |
23:32.54 | morrildl_ | Just wanted to make sure you knew you didn't have to go to hte trouble :) |
23:33.05 | morrildl_ | PDF is fine |
23:33.10 | jerkface03 | kk |
23:33.11 | jerkface03 | ty |
23:33.12 | morrildl_ | np |
23:46.21 | jasta | morrildl_: you guys should consider easing the code requirements for an activity that is tethered to a service. |
23:46.57 | jasta | for example, providing a convenient facility in that case to defer layout and drawing until the activity is connected to the service. |
23:47.03 | morrildl_ | hmm |
23:47.12 | morrildl_ | can you provide an example use case? |
23:47.22 | jasta | and have the activity managing lifecycle so that if the service unexpectedly dies, so does the activity. |
23:48.24 | jasta | morrildl_: For example, I have a background music playback management service. It handles playlists, enqueueing songs, retrieving content, etc. |
23:48.36 | morrildl_ | okay |
23:48.43 | jasta | Nearly every activity in my music player will require a connection to this service in order to enqueue songs, display playlist information, pause, etc. |
23:48.58 | jasta | And it is tricky to manage the state of an activity that critically depends on its connection to a service. |
23:49.24 | morrildl_ | Interesting |
23:49.35 | jasta | Also, I have a synchronization activity that connects to a service to control the meta data synchronization process. |
23:49.38 | morrildl_ | and yeah I see what you mean |
23:49.39 | jasta | Not unlike ActiveSync on Windows Mobile. |
23:50.06 | jasta | I have to use a ViewSwitcher so that when the activity opens, it doesn't display a UI, but when the connection is established, and the state of the service determined, the UI is presented. |
23:50.18 | jasta | And if the service disconnects, the activity has no choice but to die. |
23:50.37 | jasta | because the activity is little more than a visualization of the service. |
23:50.57 | morrildl_ | how would this API work? |
23:51.06 | morrildl_ | meaning, how would you declare it, etc? |
23:51.15 | morrildl_ | would you subclass Activity? |
23:51.19 | morrildl_ | etc. |
23:51.34 | jasta | That I'm unsure of, and unfortunately cannot discuss it now. If you think there would be some interest in exploring this, I'd be happy to write something up and submit it as an issue or something. |
23:52.29 | jasta | Anyway, gotta run, we can talk later. |
23:54.57 | morrildl_ | cool |
23:55.08 | morrildl_ | feel free to submit it as an issue |
23:55.15 | morrildl_ | or email it to me if you'd like to discuss more or whatever |
23:55.32 | morrildl_ | it's an interesting idea |