00:09.59 | romainguy | re' |
00:22.34 | *** join/#android romainguy_ (i=romaingu@adsl-75-60-29-162.dsl.pltn13.sbcglobal.net) |
00:23.13 | *** join/#android romainguy__ (n=gfx@72.14.224.1) |
00:37.36 | chaosvoyager | Isn't Google adding OCR to its image indexing? |
00:48.17 | duey | <jasta> davidw: that translator thing would be really great if you paired it with a powerful OCR tool |
00:48.17 | duey | <jasta> so you could snap a picture of something you can't read and have it translate for you |
00:48.20 | duey | ^ thats my project |
00:49.36 | duey | "Photo Based Optical Character Recognition and Translation on Mobile\ Devices" |
00:50.22 | *** join/#android morrildl (n=chatzill@76-217-210-185.lightspeed.sntcca.sbcglobal.net) |
00:50.47 | morrildl | What's up, folk? |
00:51.06 | chomchom | nought but the rent |
00:51.14 | morrildl | chomchom: Hmm, indeed. |
00:52.18 | chomchom | morrildl: I was saying earlier maybe the admins could set the IRC topic to be an Android blog post by someone in the community every day. That would be a bit more interesting, or even an interesting forum post. |
00:52.35 | morrildl | chomchom: Hmm, very interesting idea |
00:52.38 | chomchom | It would also give people who might not be crawling blogs and rss feeds everyday some exposure to new sources of android info. |
00:53.07 | morrildl | As it happens, I was just reading my blog subscriptions |
00:53.37 | morrildl | Let's start with... |
00:53.47 | *** mode/#android [+o morrildl] by ChanServ |
00:54.05 | *** topic/#android by morrildl -> Planet Android seems pretty cool: http://planetandroid.com/ |
00:54.14 | chomchom | lol |
00:54.20 | duey | lol |
00:54.34 | chomchom | inventive. |
00:54.40 | morrildl | We'll start off "light" :) |
00:54.51 | duey | first 3 posts on that are iphone |
00:54.56 | morrildl | and I'll add some interesting specific posts in the future |
00:55.07 | morrildl | duey: indeed. But it's news, and it's relevant |
00:55.12 | morrildl | we got nothing to hide :) |
00:55.13 | duey | true |
00:55.27 | morrildl | If iPhone kicks our ass, we have no one to blame but ourselves ;) |
00:55.38 | chaosvoyager | well... |
00:55.45 | chomchom | yeah, that will be pretty good. We've had the address of the SDK for months now. |
00:56.12 | morrildl | chomchom: heh, yeah I'm guessing you guys can probably recite it by memory now |
00:56.43 | morrildl | duey: I do have to ask: latex? |
00:56.55 | duey | honours proposals |
00:57.12 | duey | trying to perform the basic task of centering text |
00:57.21 | morrildl | ohhhh |
00:57.21 | duey | yet it creates a new page |
00:57.23 | morrildl | THAT latex |
00:57.29 | morrildl | You have my condolences |
00:57.51 | morrildl | latex is one of those things that is at once delightful and infuriating |
00:58.34 | duey | yeah |
00:58.54 | duey | totoally awesome and totally awful at the same time |
00:59.00 | duey | very unique! |
00:59.21 | morrildl | :) |
01:03.53 | morrildl | oh, there it is. Yay! Now I get to be internet-famous for the next 170 nanoseconds |
01:05.17 | duey | haha |
01:12.18 | chaosvoyager | I've heard there are people who won't take you seriously if you don't use TeX. |
01:12.31 | duey | we can use word/tex |
01:12.47 | duey | but they said word slows down at 50 pages |
01:13.00 | duey | titlepage is done :D |
01:13.02 | chaosvoyager | I'm talking about other academics. |
01:13.11 | duey | yeah |
01:13.16 | chaosvoyager | Geesh, slows down at fifty :P |
01:13.44 | duey | tex does a good job at formatting nicely |
01:17.12 | chaosvoyager | duey: I think you should do the OCR and translation on a server if possible. It would be faster, have better libraries available, and wouldn't kill the battery as quickly. Not only that, but you'd have a service other devices besides Android could use. |
01:17.27 | duey | doing both |
01:17.51 | chaosvoyager | Cool. |
01:18.09 | duey | there are a few technical issues to sort out |
01:18.15 | duey | initial versions are server based |
01:18.27 | duey | there is also an issue with camera quality |
01:19.14 | duey | its my honours project - so ultimately I have to create my own ocr lib |
01:19.21 | duey | which works better on photos |
01:19.33 | duey | tesseract for example doesn't work on photos |
01:19.47 | duey | and requires high dpi images (200+) |
01:19.56 | chaosvoyager | 0_o |
01:19.59 | chaosvoyager | geesh. |
01:20.22 | duey | so you have to take a more generalised feature based approach |
01:20.53 | morrildl | wow |
01:20.56 | duey | and of cource pre processing on the images |
01:21.01 | duey | to remove crap |
01:21.08 | morrildl | are you saying that you are OCR-ing images and translating them to TeX? |
01:21.16 | duey | no |
01:21.28 | duey | Photo Based Optical Character Recognition and Translation on Mobile Devices |
01:21.34 | morrildl | ahh |
01:21.39 | morrildl | still, very cool :) |
01:21.42 | morrildl | hmm |
01:21.44 | duey | yeah |
01:21.49 | morrildl | I want your library, then we could use it with WikiNotes |
01:21.59 | duey | haha |
01:22.04 | duey | we will see |
01:22.07 | morrildl | I'm serious though |
01:22.10 | morrildl | OCR in a doc |
01:22.13 | morrildl | store it |
01:22.14 | duey | yeah |
01:22.17 | chaosvoyager | There's no reason it COULDN'T be applied to TeX eventually. |
01:22.18 | morrildl | link to it |
01:22.19 | morrildl | etc. |
01:22.24 | morrildl | heh |
01:22.35 | morrildl | wiki is like the retarded inbred fourth cousin of TeX |
01:22.41 | duey | haha |
01:23.00 | morrildl | at least, as publication standards go |
01:23.14 | chaosvoyager | I envision a day when computers will replace TAs as our main source of college grading :P |
01:23.23 | duey | im doing a course at uni where we have to write wiki articles |
01:24.13 | duey | morrildl, depending on how good it is i will open source it |
01:31.04 | morrildl | duey: very cool |
01:31.28 | duey | got awhile to go |
01:31.41 | duey | working project required in august so.. |
01:31.45 | duey | busy few months! |
01:32.56 | chaosvoyager | (* throws some Salvador Dali paintings into a facial recognition engine *) |
01:33.55 | duey | someone should make a "Smile" app whichs takes a pic when someone smiles |
01:33.59 | duey | like those cameras |
01:53.22 | morrildl | there are a lot of peeps on this challen who never seem to say anything :) |
01:53.33 | morrildl | ^challen^channel |
01:53.55 | jasta | that's not unlike other irc channels |
01:54.04 | morrildl | Indeed not |
01:54.14 | morrildl | But I do wonder what they are up to |
01:54.14 | chaosvoyager | They're busy coding :) |
01:54.26 | morrildl | chaosvoyager: haha, they must be |
01:54.36 | jasta | whois some of them. i bet theyre in LOTS of channels ;) |
01:54.40 | morrildl | They are probably absorbing info like a sponge, judging the rest of us ;) |
01:56.36 | chaosvoyager | It's like a submarine. |
01:56.59 | morrildl | O RLY |
01:57.05 | jasta | morrildl: is there some way to combine multiple apks into a single distributable package? |
01:57.27 | morrildl | jasta: you may certainly have as many Services/Activities/ContentProviders/etc. in a single apk as you like |
01:57.37 | jasta | morrildl: Yes, but I still want multiple apks. |
01:57.46 | morrildl | if you are asking if there is a tool to physically merge 2 .apk files, I don't believe there is currently |
01:58.02 | jasta | I am more interested in a way to install multiple in a series. |
01:58.07 | morrildl | hmm |
01:58.34 | morrildl | the package manager does not currently have a notion of dependencies, because we think it's too early to presume we know how that should work |
01:58.36 | jasta | I have split my project into multiple apks because I intend to have an engine and user interface components that utilize the engine. The relationship is such that the engine is generalized and can serve lots of different sorts of applications. |
01:58.41 | jasta | Not unlike, for example, your gtalkservice apk. |
01:58.48 | morrildl | fair enough |
01:59.11 | morrildl | so, you can install 2 apks into the same user ID |
01:59.22 | jasta | so the engine, for example, is just a simple Activity to manage stuff, and a robust ContentProvider and set of services. |
01:59.33 | jasta | they don't need to be the same user ID, in fact, I don't want them to be. |
01:59.47 | morrildl | okay |
01:59.49 | jasta | i just want them to not have to be installed separately by the user for my distribution. |
01:59.58 | morrildl | interesting point |
02:00.08 | morrildl | anyway no, I don't think that's currently possible |
02:00.16 | morrildl | that would make a great feature request tho |
02:00.31 | jasta | This is not unlike the way Google manages their own stuff. It is clear that you split logical services and content providers from the things that might use them. |
02:00.36 | morrildl | yup |
02:00.46 | morrildl | our advantage is that so far we can just include them all in the system image :) |
02:00.58 | morrildl | I actually really like this idea |
02:01.01 | jasta | The idea here is that someone might make a type of application using my engine that I have not. In fact, I plan on it. I am implementing only the music portion myself. |
02:01.10 | morrildl | the lack of dependencies in the package manager has been bugging me |
02:01.32 | morrildl | yeah |
02:01.35 | morrildl | makes perfect sense |
02:01.37 | jasta | However, for my music portion, I want to be able to optionally distribute it *with* the engine. Since I wrote both. |
02:01.45 | morrildl | that's exactly how we want people to use the system |
02:02.39 | jasta | yes, i assumed as much and this is why i split them up early on. |
02:03.34 | jasta | also, i wanted to enforce this strong separation in my code. I can't "cheat" and use functionality not available to other developers using my engine. |
02:03.48 | jasta | since they are two separate apks, with different user ids. |
02:04.04 | chaosvoyager | That's the thing that bugs me the most about Android's current state: You can't seem to use it in the way it was intended. |
02:04.27 | jasta | chaosvoyager: How so? I have demonstrated precisely that. |
02:04.47 | jasta | The only thing that is lacking is a sufficiently clever package manager to understand how to install this stuff and potentially resolve dependencies. |
02:04.49 | chaosvoyager | You demonstrated that it wasn't possible and the feature is missing. |
02:04.55 | jasta | chaosvoyager: No I didn't. |
02:04.57 | chaosvoyager | Exactly. |
02:05.11 | jasta | I demonstrated that it requires adb install to run twice, not once. That's a pretty small deficiency in the grand scheme of this design. |
02:05.12 | morrildl | well, there's a lack of dependencies, to be sure |
02:05.37 | morrildl | you can still ship 2 apks, you just have to tell your users to install them both, which is a slight increase in your support burden |
02:06.07 | jasta | morrildl: btw, this is how i will be doing it for the ADC. so hopefully judges will not scoff at my correct utilization of the platform :) |
02:06.51 | morrildl | hmm |
02:07.06 | jasta | hmm is right ;) |
02:07.13 | chaosvoyager | I cannot see how that can be considered a small deficiency. |
02:07.30 | jasta | chaosvoyager: Because it is not built into the design. It is simply a missing feature. |
02:07.50 | jasta | If the deficiency were fundamental to the way Android is expected to work, then I would call it significant. |
02:08.04 | morrildl | for the ADC you may want to merge them. I'm not yet sure you want to |
02:08.04 | morrildl | doh, sorry |
02:08.06 | jasta | Instead of a small oversight that can be easily remedied with some careful consideration. |
02:08.18 | jasta | morrildl: What? |
02:08.19 | morrildl | I'm not yet sure that they will be able to "grok" a dependency in APKs |
02:08.47 | jasta | I think my application sort of destroys a lot of simple assumptions the judges want to make. |
02:08.54 | morrildl | So in other words: in your supporting doc, explain what it is you've provided. But for the apk itself, it's probably best to merge them |
02:09.02 | jasta | Because it is not trivial, like Google assumed ;) |
02:09.04 | morrildl | jasta: yeah -- so also email me directly about it once you have submitted it |
02:09.35 | jasta | Noted. |
02:09.39 | morrildl | and I will make sure we ourselves do what we can to make sure it gets reviewed correctly |
02:09.46 | morrildl | (which, BTW, goes for anyone else listening to ;)) |
02:09.55 | morrildl | chaosvoyager: What specifically are you referring to? |
02:10.14 | jasta | morrildl: I appreciate that attention. I am making a note of it in my calendar ;) |
02:10.16 | morrildl | chaosvoyager: is the deficiency that you can't merge APKs, or that there is no dependency-trakcing? |
02:12.33 | morrildl | jasta: np |
02:15.49 | chaosvoyager | Whatever allows you to deploy a complete application in the simplest manner possible. I don't know if merging APKs, traditional dependency checking, or even just an install script, are the right solutions, but some kind of whole application management is needed. |
02:16.13 | morrildl | chaosvoyager: well, you can always just include everything in a single apk, too |
02:16.33 | *** join/#android romainguy_ (i=romaingu@adsl-75-60-29-162.dsl.pltn13.sbcglobal.net) |
02:16.35 | morrildl | also, we don't know which is the right solution either, yet :) |
02:16.43 | jasta | hey romain |
02:16.49 | chaosvoyager | Unless you don't have rights to distribute one of the dependents. |
02:17.01 | morrildl | which is why we've chosen to start modestly, and figure out what the right thing is later once we see how people are using it |
02:17.07 | chaosvoyager | morrildl: fair enough. |
02:17.18 | morrildl | It's definitely a missing feature |
02:17.28 | morrildl | we just aren't sure what the right solution is yet |
02:17.51 | morrildl | what's up, romainguy_? |
02:19.09 | chaosvoyager | But it would be far less frustrating if these portions of Android were open so these feature experiments could be tested as opposed to just proposed. |
02:19.36 | chaosvoyager | Thats all. |
02:21.38 | chaosvoyager | Hey, does anyone know if Android is in any way related to Hiker beyond them both being the results of Palm imploding? |
02:22.12 | morrildl | what is Hiker? |
02:22.48 | chaosvoyager | http://www.hikerproject.org/ |
02:23.13 | chaosvoyager | Happened upon it while searching for info on OpenBind. |
02:23.23 | morrildl | huh |
02:23.28 | morrildl | never seen that before |
02:23.44 | duey | poor palm :o( |
02:23.55 | jasta | palm is useless :) |
02:24.28 | morrildl | They refer to ACCESS, so I'd say your hypothesis about the relationship to Palm is a reasonable one |
02:24.30 | chaosvoyager | Schrew Palm, they mismanaged themselves inot oblivion, taking a lot of good code with them. |
02:24.55 | chaosvoyager | It's the framework similarities that intrigue me. |
02:27.11 | morrildl | A lot of proprietary blue in their layer cake though |
02:27.34 | morrildl | heh, though I suppose right now all of the Android layer cake would be in that blue :) |
02:30.11 | chaosvoyager | Eh, mostly application things so I.... (* squint *) WTF...HotSync is a trademark?!? |
02:30.32 | chaosvoyager | That doesn't surprise me, but it makes talking about it a lot more difficult now. |
02:30.39 | morrildl | wow |
02:30.55 | morrildl | use a hyphen, I guess? :) |
02:31.07 | morrildl | "I hot-synced this and that using HotSync(TM) Technology" |
02:31.22 | chaosvoyager | *sigh* |
02:35.38 | *** join/#android soulreaper (i=soul@p4FCE5A4A.dip.t-dialin.net) |
02:35.38 | *** join/#android dragor43 (n=asdf@pool-151-199-245-93.phil.east.verizon.net) |
02:35.46 | chaosvoyager | Trademarks are powerful little glyphs. It was a trademark suit that prevented MS from extending Java and netting Sun 2bil in damages. That's why I'm using trademarks to protect my code, not copyright. I'd use patents, but they're just too damn expensive, and I'm really just concerned about maintaining compatibility. |
02:36.18 | morrildl | chaosvoyager: interesting |
02:37.06 | chaosvoyager | Regrettably, I had to study this shit to safely develop software. |
02:38.51 | morrildl | GNU General Public License: ALL YOUR SOURCE ARE BELONG TO EVERYONE |
02:38.52 | chaosvoyager | What REALLY pisses me off is that you have to remain ignorant of certain source and patents if you're developing similar tech, because if you DO know of them, then the court can find you doubly liable, and even of willfully infringment. >_< |
02:38.58 | jasta | So, when is the Seattle code day? |
02:39.02 | jasta | I'm feeling left out :) |
02:39.04 | chaosvoyager | morrildl: heh. |
02:39.15 | morrildl | GNU Lesser General Public License: ALL OUR SOURCE ARE BELONG TO EVERYONE |
02:39.27 | morrildl | Mozilla PL: ALL OUR SOURCE ARE BELONG TO US |
02:39.39 | morrildl | BSD/MIT: ALL OUR SOURCE ARE BELONG TO YOU |
02:39.54 | morrildl | Microsoft End User License Agreement (EULA): YOU HAVE NO CHANCE TO DECIDE MAKE YOUR PAYMENT |
02:40.10 | morrildl | AT&T/SCO Unix license: ALL YOUR SOURCE ARE BELONG TO US |
02:40.45 | jasta | my only question is: who set us up the bomb? |
02:40.50 | morrildl | jasta: yeah I am sad we coudln't do Seattle in the last round :( |
02:41.01 | jasta | morrildl: the "round" is already over? |
02:41.05 | morrildl | Seattle is my third-favorite city after San Francisco and Boston |
02:41.09 | chaosvoyager | Elua needs to be made a video game heroine or villianess :P |
02:41.14 | morrildl | well, since we haven't done anything in a while, I'd say so :) |
02:41.22 | jasta | morrildl: San Francisco is stupid. Boston is stupid. Come to Seattle :) |
02:41.27 | morrildl | hahahaha |
02:41.48 | chaosvoyager | Come to Seattle, we're closer to Canada. |
02:41.52 | duey | seattle is stupid too |
02:41.54 | duey | come to new zealand |
02:41.57 | morrildl | I used to like the Seattle track in Gran Turismo |
02:42.00 | duey | have a holiday |
02:42.03 | morrildl | then I went there |
02:42.16 | chaosvoyager | duey: Hell yes! |
02:42.21 | morrildl | and I was like, "holy cow I can actually kind of find my way around the city from the Gran Turismo track" |
02:42.51 | chaosvoyager | duey: I have a friend I lost touch with who was trying to gain citizenship there. It's really a pretty awesome place. |
02:42.52 | jasta | Seattle is great. We've got grit. |
02:43.19 | duey | chaosvoyager, it has its downsides |
02:43.30 | duey | like being in the middle of no where |
02:43.32 | chaosvoyager | Sheep? |
02:44.07 | duey | the sheep are gooood |
02:44.07 | duey | :P |
02:46.01 | chaosvoyager | ...hey, how is Google going to prevent a non-Android phone from using the Android logo? I can forsee some rather nasty companies doing just that. |
02:46.05 | romainguy_ | hey morrildl :) |
02:46.34 | morrildl | chaosvoyager: well, Android is a trademark. I haven't asked the lawyers about it but I assume we'll want to protect it |
02:46.36 | duey | chaosvoyager, they would have to attribute the logo |
02:46.50 | morrildl | the green bug droid is creative-commons-ed though |
02:47.40 | *** join/#android romainguy__ (n=gfx@72.14.224.1) |
02:47.43 | morrildl | the official Android logo is the word "android" in the futuristic font |
02:47.52 | duey | lol |
02:47.55 | morrildl | ...and that is not CC-licensed |
02:48.08 | morrildl | duey: ? |
02:48.10 | jasta | that logo sucks too ;) |
02:48.16 | jasta | it's all about the little green guy |
02:48.26 | duey | the logo is awesome |
02:48.31 | morrildl | the little green guy is definitely more fun than the text logo :) |
02:48.36 | morrildl | that's why he's CC-ed |
02:49.09 | romainguy_vs_Lis | damn |
02:49.17 | chaosvoyager | Hmm, CC is copyright, which is treated very differently than trademarks. I'm not actually sure if you can release the art CC while protecting its value as a trademark. |
02:49.46 | duey | chaosvoyager, they could just wipe said company of the internets |
02:49.54 | duey | off |
02:50.11 | chaosvoyager | and off the Google maps :P |
02:50.14 | duey | ya |
02:51.04 | duey | and then any phone calls on gphones to said company gets "disconnected" |
02:51.21 | duey | who needs lawyers? |
02:51.23 | duey | ;) |
02:52.44 | chaosvoyager | Heh, on a more seriousness note though, I don't see how there's any way to avoid patent infringement when developing software. The only thing keeping me safe is that I'm not a big enough target. |
02:54.08 | chaosvoyager | And that won't even matter if there's a larger company thats infringing as well, and the patent holder wants to target me first to set a precident. |
02:56.18 | morrildl | chaosvoyager: yeah, the software patent situation is messy |
02:56.55 | chaosvoyager | morrildl: beautifully understated. |
02:57.23 | morrildl | :) |
02:57.35 | morrildl | in that case then... my work here is finished :) |
02:57.38 | morrildl | ...for today |
02:57.43 | morrildl | see you guys later |
02:57.47 | jasta | later |
02:57.58 | chaosvoyager | ta. |
02:59.07 | dragor43 | yea speaking of patents, i noticed some Android app that can recognize and interpret bar codes using the phone's camera. Did a search for patents and there's already one filed for that idea. sucks |
03:00.42 | duey | lol |
03:01.07 | chaosvoyager | There's probably one for the general pattern matching algorithm used for it, along with other forms of optical recognition, but I'll be damned if I search for that and open myself up to more liability. |
03:01.44 | duey | well i guess it really depends on if the company that holds the patent is a patent troll |
03:01.59 | chaosvoyager | Yes. |
03:02.25 | chaosvoyager | Thank Ted SCO didn't have any applicable patents. |
03:03.21 | duey | lol |
03:04.40 | chaosvoyager | You can't embed Flash objects in HTML anymore because there is a patent. That's why you have to use Javascript or click once to activate. |
03:06.57 | dragor43 | sheesh |
03:06.59 | chaosvoyager | You can do it if you don't call it HTML though. (* twitch *) |
03:07.21 | chaosvoyager | Some shithead made 500mil from that. |
03:08.33 | chaosvoyager | That's why I just ignore the laws and politics, damn the torpedos, and just code. I'd go mad if I didn't. |
03:15.40 | jasta | doesn't seem to me that you ignore these things at all. |
03:16.00 | jasta | seems like you read up on them diligently :) |
03:26.12 | pyronik | patent laws are getting a bit ridiculous |
03:26.35 | pyronik | im surprised i don't have to pay a royalty for my use of my legs to walk |
03:26.43 | pyronik | im sure somebody would of patented that idea |
03:26.45 | chaosvoyager | Yeah, I only started ignoring these things after I snapped. |
03:58.48 | *** join/#android infobot_ (i=ibot@pdpc/supporter/active/TimRiker/bot/apt) |
03:58.48 | *** topic/#android is Planet Android seems pretty cool: http://planetandroid.com/ |
03:58.55 | jasta | zhobbs: no, i gave up when i realized you'd have to manage your own activity history, which is super lame. |
03:59.42 | pyronik | hey im just starting to read all the documentation on the android sdk |
04:00.03 | pyronik | i had a quick question, is the android going to support built in gps |
04:00.13 | zhobbs | pyronik: yeah |
04:00.14 | pyronik | or should i say any of the phones coming out are they going to have it |
04:00.19 | pyronik | ok awesome |
04:00.23 | zhobbs | oh, no not all phones will have it |
04:00.52 | pyronik | im thinking about making some kind of lojack service that would run as a background thing |
04:00.52 | zhobbs | you'll be able to get a location either way, just not as accurate without gps |
04:01.00 | jasta | zhobbs: I suspect every Android phone will support at least Google's My Location system. |
04:01.21 | jasta | All that is required is that the manufacturers cooperate and produce chips that allow Android to read radio metrics. |
04:01.34 | zhobbs | pyronik: http://www.helloandroid.com/node/159 |
04:01.53 | zhobbs | jasta: yeah, I assume there will be a location provider for the My Location thing |
04:02.25 | pyronik | ohh ok thanks zhobbs |
04:02.52 | pyronik | how big is it of a leap from a php devoloper to learn java and work with this SDK |
04:03.01 | *** join/#android crib (n=chris@port-195-158-167-8.dynamic.qsc.de) |
04:03.23 | zhobbs | pyronik: probably not too bad if you understand OO principles |
04:03.35 | pyronik | for the most part |
04:03.39 | dragor43 | Hmm, anyone use AlarmManager to launch an intent, and get it to pass values correctly in the Extras bundle? |
04:03.48 | pyronik | i dont understand the concept of extending a class yet |
04:03.49 | jasta | It depends on how competent you are as a developer in general. pyronik, would you say you are a competent developer? |
04:04.11 | pyronik | ive tried to develope 1 actual project, it worked so i guess so |
04:04.20 | zhobbs | pyronik: yeah, you'll need to understand the concept of extending classes |
04:04.20 | jasta | The answer is no. |
04:04.31 | zhobbs | pick up a java book |
04:04.44 | pyronik | will do |
04:05.01 | pyronik | extending classes does that just add more functions to a class |
04:05.13 | jasta | pyronik: Pick up a Java book. |
04:05.17 | pyronik | ok |
04:06.06 | pyronik | thanks guys |
04:06.06 | zhobbs | but actually, java is pretty easy to program in... |
04:06.18 | dragor43 | pyronik: here's a nice link to get you started |
04:06.18 | dragor43 | http://java.sun.com/docs/books/tutorial/java/concepts/index.html |
04:06.47 | jasta | Yes actually, Sun's online Java tutorial is quite good. |
04:08.03 | pyronik | ~[ dragor43 ]~ thanks |
04:08.25 | jasta | pyronik: I recommend reading instead of skimming. |
04:09.29 | zhobbs | jasta: not sure how much you looked at activity group, but how do I know when a child activity is destroyed? |
04:09.42 | jasta | zhobbs: as with finish()? |
04:09.48 | zhobbs | yeah |
04:10.53 | zhobbs | I see LocalActivityManager.dispatchDestroy() |
04:11.03 | jasta | that's for you to destroy your activities though |
04:11.55 | jasta | honestly i don't know. the only handle you'd have to find that out is the Window? |
04:12.21 | zhobbs | ok, I'll keep looking |
04:14.46 | romainguy[ | damn ListView @!# |
04:14.53 | dragor43 | yeah.. crap.. the data in the extras bundle must get lost when AlarmManager launches an intent |
04:17.22 | jasta | romainguy[: why is this thing so damn complex? :) |
04:17.34 | romainguy[ | because it does a lot of things for you guys |
04:17.51 | romainguy[ | most importantly because it's efficient with very large sets of data |
04:22.47 | jasta | well i certainly have noticed that |
04:23.48 | romainguy[ | and it gives you (almost) total freedom over what it contains |
04:23.57 | romainguy[ | so it makes no assumption about the nature and dimension of the items |
04:24.24 | jasta | it makes some assumptions ;) |
04:24.30 | romainguy[ | like what? |
04:25.05 | jasta | how does it calculate the position and size of the scroll bar without scanning every item in the list? |
04:25.14 | romainguy[ | well it does not scan the list |
04:25.17 | jasta | i know. |
04:25.38 | jasta | instead, it assumes that each item is approximately related to the size of items previously observed, right? |
04:25.50 | romainguy[ | depends on how you see it |
04:26.02 | jasta | if you had 2 huge items and one very small one, the scroll bar would draw very strangely. |
04:26.10 | romainguy[ | yeah it changes size |
04:26.12 | jasta | so, listview must be assuming something ;P |
04:26.19 | romainguy[ | no it does not |
04:26.31 | romainguy[ | it just reports scroll values based solely on the number of items |
04:26.48 | romainguy[ | contrary to scrollview for instance which bases these values on pixels |
04:26.55 | jasta | really? |
04:26.59 | romainguy[ | yeah |
04:27.34 | romainguy[ | for a ListView: scrollExtent=number of children on screen, scrollOffset=firstVisiblePosition, scrollRange=number of items in adapter |
04:27.47 | romainguy[ | it's the first value that causes the scrollbars to act like a "snake" and change size from time to time |
04:27.58 | romainguy[ | it sucks but I hadn't have time to find a better solution y et |
04:29.13 | jasta | i really enjoy working with android services :) |
04:29.17 | jasta | this stuff is great |
04:29.32 | romainguy[ | glad to hear that :) |
04:29.50 | jasta | the UI is pleasant too. |
04:29.59 | jasta | the component that i despise is content providers. |
04:30.18 | romainguy[ | how come? |
04:30.27 | romainguy[ | (I never wrote one so I don't know how it is to use them) |
04:30.34 | jasta | i can't say that it's a bad design, it's just lame to code for. hard to gracefully factor your code, seems very redundant. |
04:31.16 | zhobbs | what do I do to display a Window object? |
04:31.32 | jasta | also, it's a strange model to have to create a separate content uri and handle it in 3 separate places for each type of adaptation your data can have. |
04:31.46 | jasta | zhobbs: You just access it's view with getDecorView or something, and you display that View with a FrameLayout. |
04:31.59 | zhobbs | Oh, I see |
04:32.16 | romainguy[ | zhobbs: what are you trying to do? |
04:32.36 | zhobbs | romainguy[: use ActivityGroup as a hack to enable animations between activities |
04:32.47 | romainguy[ | ouch |
04:32.58 | romainguy[ | you're being impatient :) |
04:33.02 | jasta | hackbod suggested it, actually |
04:33.06 | romainguy[ | I know |
04:33.20 | zhobbs | she said activity animations will be supported though |
04:33.23 | jasta | she said that they "hope" to get this done by 1.0. that doesn't inspire me with confidence ;) |
04:33.30 | romainguy[ | yeah |
04:33.33 | jasta | i assume 1.0 means phone release. |
04:37.54 | zhobbs | hmmm...this seems like it might be a bad idea...I gotta manage all the menu and key stuff for the activities |
04:39.06 | jasta | see :P |
04:39.29 | jasta | it would be a tremendous task to implement generically |
04:39.36 | jasta | i gave up to save my sanity :) |
04:39.42 | zhobbs | yes it would |
04:40.17 | zhobbs | especially with eclipse freezing everytime a code completion pops up... |
04:41.03 | *** join/#android romainguy_ (i=romaingu@adsl-75-60-29-162.dsl.pltn13.sbcglobal.net) |
04:41.09 | *** join/#android nslu2-log_ (n=nslu2-lo@nslu2-linux/dyoung) |
04:42.01 | zhobbs | great, now I get an error everytime I type a "." |
04:42.20 | zhobbs | not just one error, 6 error windows |
04:55.44 | zhobbs | hmm...I could just animate the views when the activity first starts...didn't think about that |
04:56.07 | romainguy_ | zhobbs: you can use a LayoutAnimation to do that easily |
04:57.55 | *** join/#android romainguy__ (i=romaingu@adsl-75-60-30-225.dsl.pltn13.sbcglobal.net) |
04:57.58 | *** join/#android romainguy___ (n=gfx@72.14.224.1) |
04:58.22 | zhobbs | kinda wanted to do that 3d animation in the apidemos, but couldn't really do that I guess |
05:01.48 | romainguy___ | zhobbs: why couldn't you? |
05:02.25 | zhobbs | the new activity wouldn't know what the old activity looks like to use in the transition |
05:03.37 | romainguy___ | ah between activities |
05:03.41 | romainguy___ | sorry, tired tonight :)) |
05:04.06 | zhobbs | :) |
05:32.23 | jasta | man i am just plowing through code tonight :) |
05:32.37 | jasta | the girlfriend is visiting her dad ;) |
05:35.37 | duey | :( |
05:35.43 | duey | im writing stupid proposal |
05:48.23 | jasta | i am unfortunately writing way too much code without testing :) |
05:48.47 | jasta | haven't done a test run in hours and hours :) |
06:03.38 | *** join/#android romainguy (i=romaingu@adsl-75-60-30-225.dsl.pltn13.sbcglobal.net) |
06:06.38 | jasta | well...i suppose it's ready to test now ;P |
06:07.22 | *** join/#android romainguy_ (i=romaingu@adsl-75-52-255-213.dsl.pltn13.sbcglobal.net) |
06:07.25 | *** join/#android romainguy___ (n=gfx@72.14.224.1) |
06:08.47 | jasta | oh jeez |
06:08.53 | jasta | svn diff | wc -l reports 1100 :) |
06:09.25 | zhobbs | just tonight? |
06:09.29 | jasta | yeah |
06:09.40 | jasta | but svn diff is in unidiff mode of course |
06:13.36 | jasta | i fully implemented the second major service that my engine provides |
06:13.49 | jasta | the content delivery and cache management service |
06:14.47 | jasta | it was all dummy code before |
06:15.51 | *** join/#android _avatar (n=avatar@cpe-76-88-201-161.bak.res.rr.com) |
06:16.55 | jasta | my project broke 10K loc this weekend :) |
06:55.41 | *** join/#android Adys_ (n=Adys@ns29399.ovh.net) |
07:02.04 | *** join/#android romainguy_ (i=romaingu@adsl-75-52-255-213.dsl.pltn13.sbcglobal.net) [NETSPLIT VICTIM] |
07:02.04 | *** join/#android crib (n=chris@port-195-158-167-8.dynamic.qsc.de) [NETSPLIT VICTIM] |
07:02.04 | *** join/#android l0calgh0st (n=localgho@203.193.154.146) [NETSPLIT VICTIM] |
07:02.04 | *** join/#android eighty (n=eighty@vlsb-3110a-04.MVZ.Berkeley.EDU) [NETSPLIT VICTIM] |
07:02.13 | *** join/#android Adys_ (n=Adys@ns29399.ovh.net) |
07:03.21 | *** join/#android jota- (n=jota@190.6.0.180) |
07:06.59 | *** join/#android Adys (n=Adys@ns29399.ovh.net) |
07:13.11 | *** join/#android romainguy (i=romaingu@adsl-75-52-255-213.dsl.pltn13.sbcglobal.net) |
07:16.32 | zhobbs | romainguy: where's the left padding come from when you're using android.R.layout.simple_list_item_1? The TextView itself doesn't have any padding left |
07:16.59 | romainguy | it does |
07:17.04 | romainguy | from the XML file: |
07:17.04 | romainguy | <PROTECTED> |
07:18.08 | zhobbs | hmmm, the one in the jar doesn't seem to have that |
07:18.16 | romainguy | well it does |
07:18.45 | zhobbs | what's the paddingTop/Bottom? |
07:18.49 | romainguy | none |
07:20.33 | zhobbs | k, thanks... |
07:21.26 | zhobbs | guess we're looking at the wrong xml files with this axml2xml |
07:22.14 | *** join/#android romainguy__ (i=romaingu@adsl-75-36-220-164.dsl.pltn13.sbcglobal.net) |
07:22.20 | *** join/#android romainguy____ (n=gfx@72.14.224.1) |
07:24.50 | zhobbs | If I use a simple built in adapter and say to use android.R.layout.simple_list_item_1 the list items look like they do in the api demos, etc |
07:25.15 | zhobbs | but if I create a custom adapter to do "TextView txt = (TextView) vi.inflate(android.R.layout.simple_list_item_1, null, null);" I don't get the top/bottom padding |
07:29.19 | thedaniel` | lol! i just looked around for the growl-notification and the class is called Toast! |
07:29.22 | thedaniel` | because it pops up! |
07:29.34 | thedaniel` | oh google, as long as you make silly jokes you'll have my heart |
07:29.44 | zhobbs | thedaniel`: that's why they call it toast....I never realized |
07:31.10 | thedaniel` | zhobbs: maybe you have a toaster oven instead of a pop up toaster |
07:31.23 | zhobbs | ahhh, that's it |
07:34.30 | zhobbs | romainguy: hmm...looks like that android.R.simple_list_item_1 will only render correctly when stuck in a ViewGroup (linearlayout in mine) |
07:36.36 | romainguy____ | uh? |
07:36.45 | romainguy____ | how could it be in something else than a ViewGroup> |
07:36.45 | romainguy____ | ? |
07:36.55 | romainguy____ | aaah |
07:37.00 | romainguy____ | I see your problem |
07:37.01 | zhobbs | well, I was just returning the TextView itself |
07:37.14 | romainguy____ | vi.inflate(android.R.layout.simple_list_item_1, null, null); << you should pass the parent and false |
07:37.21 | romainguy____ | otherwise it won't create the layout params |
07:37.38 | romainguy____ | in particular the custom height |
07:38.26 | zhobbs | Ahh, I see |
07:57.15 | *** join/#android Zoolooc (n=fredsiba@nrbg-4dbfdfc8.pool.einsundeins.de) |
08:27.58 | *** join/#android romainguy (i=romaingu@adsl-75-36-220-164.dsl.pltn13.sbcglobal.net) |
08:29.39 | chaosvoyager | romainguy: I know you probably don't have a lot of spare dev time, but have you looked at the iPhone SDK at all? |
08:33.22 | romainguy | chaosvoyager: I'd rather not try it until I know for sure I can |
08:33.41 | romainguy | (be back in 1 minute) |
08:34.18 | *** join/#android davidw (n=davidw@chello212186016224.tirol.surfer.at) |
08:35.20 | *** join/#android romainguy_ (i=romaingu@adsl-75-36-213-70.dsl.pltn13.sbcglobal.net) |
08:35.23 | *** join/#android romainguy___ (i=romaingu@adsl-75-36-213-70.dsl.pltn13.sbcglobal.net) |
08:35.54 | zhobbs | romainguy____: you mean you're not sure if apple allows you to or if google allows you to? |
08:36.38 | *** join/#android romainguy_____ (n=gfx@72.14.224.1) |
08:36.54 | romainguy_____ | zhobbs: it's not a question of being allowed |
08:36.56 | romainguy_____ | zhobbs: it's about patents, etc. |
08:38.08 | davidw | what's that... the two finger interface stuff? |
08:38.15 | *** join/#android niket (n=niket@c-76-28-174-245.hsd1.wa.comcast.net) |
08:38.54 | niket | Hi, I am new to android... |
08:38.59 | zhobbs | hello |
08:39.21 | niket | Can anyone help me in finding the way to get the boundary (latitude min/max, longitude min/max) on google map running in android application? |
08:39.39 | romainguy_____ | davidw: or anything else they can have patents on :) |
08:40.49 | zhobbs | niket: I think MapView.getLatitudeSpan() |
08:41.06 | niket | ok...let me check that |
08:42.39 | niket | so it returns int value....what would be value of max and min long/lat of map display area |
08:42.59 | niket | I am looking for 4 values |
08:43.28 | zhobbs | that is probably the whole span accross the screen, so mapCenter + span/2 would give you an edge of the screen right? |
08:51.44 | niket | yeah I think so ....so what would be the exact call...min longitude= mapview.getCenterPoint()-mapview.getlongitudeSpan()/2, max longitude= mapview.getCenterPoint()+mapview.getlongitudeSpan()/2 |
08:51.49 | niket | can u conirm me? |
08:52.34 | niket | min latitude= mapview.getCenterPoint()-mapview.getlatitudeSpan()/2, max latitude= mapview.getCenterPoint()+mapview.getlatitudeSpan()/2 |
08:52.53 | niket | zhobbs,can u confirm me this also? |
08:53.13 | zhobbs | it makes sense to me, you'd just have to try it |
08:53.24 | niket | <PROTECTED> |
08:56.06 | *** part/#android chaosvoyager (n=Miranda@pool-72-80-180-212.nycmny.fios.verizon.net) |
09:02.40 | *** join/#android illustir (n=alper@s55912056.adsl.wanadoo.nl) |
09:23.29 | jasta | Does anyone know if INSERT OR REPLACE in SQLite3 will re-use the same PRIMARY KEY when the REPLACE occurs? |
09:24.02 | jasta | The documentation simply says that it invokes a DELETE then INSERT on conflict, not that it tries to re-use the same value for the PRIMARY KEY. |
09:26.45 | *** join/#android Mathiasdm (n=Mathias@d54C597B6.access.telenet.be) |
10:01.31 | jasta | damn, just lost an hour |
10:29.52 | *** join/#android romainguy (i=romaingu@adsl-75-36-213-70.dsl.pltn13.sbcglobal.net) |
10:30.28 | jasta | romainguy: you can't still be up? |
10:30.59 | romainguy_ | I am actually |
10:31.03 | jasta | wow :) |
10:31.05 | jasta | just like me hehe |
10:31.06 | romainguy_ | I forgot about this @!# daylight saving |
10:31.12 | jasta | bullshit |
10:31.14 | romainguy_ | just noticed it's 3:30 |
10:31.39 | jasta | i'm so tired but i just can't stop coding |
10:31.47 | jasta | i feel like an f'n machine right now |
10:31.59 | jasta | i've churned out almost 2000 lines today alone (Saturday) |
10:32.10 | romainguy_ | writing tons of code is pretty easy :) |
10:32.27 | jasta | it's not that easy, i've been doing it all day :) |
10:32.39 | romainguy_ | it's still pretty easy to just crank out tons of code :p |
10:32.45 | jasta | i fully implemented my content delivery and caching service both in Android and on the C server |
10:32.52 | jasta | and implemented a robust test activity in the music player |
10:33.11 | romainguy_ | yeah well, tonight it took me several hours to write a few dozen lines of code |
10:33.19 | romainguy_ | but that saved 5 frames per second on several animations |
10:33.23 | romainguy_ | :p |
10:33.42 | jasta | optimization is very unlike what i'm doing :) |
10:34.09 | jasta | in fact, i will need to go back through at least two major parts of this system and partially redesign them at some point |
10:34.20 | jasta | I'm still using XML for communication even, not WbXML yet :) |
10:34.29 | romainguy_ | also I now know how much time it takes for our view hierarchy between a call to invalidate() and the execution of onDraw() |
10:34.30 | *** join/#android kurzum (n=opera@chello084112021199.32.11.tuwien.teleweb.at) |
10:35.09 | romainguy_ | (on a specific piece of hardware) |
10:35.11 | jasta | i am so flippin tired :\ |
10:35.19 | romainguy_ | yeah me too |
10:35.24 | romainguy_ | that's why I'm going to bed |
10:35.30 | jasta | not me yet :) |
10:35.46 | jasta | i am waiting until i encounter one of those cases that makes me just sit back and say "Fuck." ;) |
10:36.08 | jasta | you know, the type of gotcha that causes you to just give up for the night |
10:36.39 | romainguy_ | yep |
10:36.46 | romainguy_ | I had one of those tonight |
10:37.05 | romainguy_ | but it made me work on this optimization instead of giving up totally ^^ |
10:37.10 | jasta | heh |
10:37.20 | romainguy_ | I haven't done what I was set to do though :)) |
10:37.31 | jasta | i have barely tested large portions of this code i just wrote so i'm thinking i'll hit it soon :) |
10:38.27 | jasta | hopefully this will help me test that my system degrades gracefully hehe |
10:45.17 | *** join/#android mr_daniel (n=sysrq@e177156212.adsl.alicedsl.de) |
10:46.27 | jasta | romainguy: hmm, found something kind of weird |
10:46.40 | romainguy_ | what? |
10:46.46 | jasta | if you specify a <Button> in XML, but do not set android:text, it doesn't draw at all. |
10:47.25 | jasta | not a lot of helpful information about why it's not drawn either. might be worth treating specially to show a blank button? |
10:47.33 | jasta | just so folks aren't confused |
10:47.46 | *** join/#android illustir (n=alper@s55912056.adsl.wanadoo.nl) |
10:48.05 | romainguy | what are your layoutparams? |
10:48.07 | jasta | actually wait, i think something else might be problematic in my layout :) |
10:48.21 | romainguy | because I'm pretty sure you can have an empty button on screen |
10:48.31 | jasta | hehe osrry, i'm just tired :) |
10:48.37 | romainguy | :p |
10:48.39 | jasta | my outer linearlayout had the wrong orientation |
10:49.18 | jasta | i'm quite pleased that i have this layout thing down finally. it's easy for me to create layouts exactly as I imagine them first try. |
10:49.50 | romainguy | they're not very hard once you get used to them |
10:49.56 | jasta | no, not at all |
10:50.12 | jasta | but it did take a bit of time to get accustomed. |
10:55.04 | romainguy | like pretty much every UI toolkit |
10:55.17 | jasta | of course, yes. |
10:57.05 | *** join/#android romainguy__ (n=gfx@72.14.224.1) |
11:03.50 | romainguy__ | gngngn |
11:03.55 | romainguy__ | some bug reports... |
11:03.59 | jasta | ? |
11:04.31 | romainguy__ | somebody is complaining that our drawText API does not behave's like .NET C#'s |
11:04.42 | jasta | lol |
11:05.01 | romainguy__ | apparently in C# the y coordinate in drawText is the upper left pixel of the text being drawn |
11:05.02 | jasta | if that's the most ridiculous one you could find, consider yourself lucky. |
11:05.16 | romainguy__ | whereas in pretty much every 2D API I've ever used, it's the position of the text's baseline |
11:05.49 | romainguy__ | no it's not the most ridiculous |
11:14.58 | jasta | i can't believe i'm still going man! |
11:17.00 | *** join/#android illustir (n=alper@s55912056.adsl.wanadoo.nl) |
11:18.12 | jasta | damn, service doesn't work, but at least it reports errors correctly :) |
11:28.49 | jasta | alright, i'm done. |
11:28.55 | jasta | i'm satisfied the client works, but the server has issues ;) |
11:28.58 | jasta | i'll work on it in the morning |
11:29.06 | jasta | night romain if you're still up :) |
11:36.28 | *** join/#android soulreaper (i=soul@p4FCE50E0.dip.t-dialin.net) |
12:29.14 | *** join/#android edcbz (n=edcba@lns-bzn-61-82-250-123-109.adsl.proxad.net) |
12:30.28 | *** join/#android f00f (i=f00f@virusexperts.com) |
12:50.26 | *** join/#android romainguy (i=romaingu@adsl-75-36-213-70.dsl.pltn13.sbcglobal.net) |
12:54.11 | *** join/#android mr_daniel (n=sysrq@e177125068.adsl.alicedsl.de) |
13:36.18 | *** part/#android kurzum (n=opera@chello084112021199.32.11.tuwien.teleweb.at) |
13:41.39 | *** join/#android illustir (n=alper@s55912056.adsl.wanadoo.nl) |
14:40.07 | *** join/#android eton_ (n=eton@ppp-58-8-5-189.revip2.asianet.co.th) |
15:04.52 | *** join/#android inZane- (i=nemo@dslb-084-058-034-146.pools.arcor-ip.net) |
15:37.28 | *** join/#android Mathiasdm (n=Mathias@vpnj050.ugent.be) |
15:39.12 | *** join/#android lokpest (n=lokpest@77.241.132.140.bredband.tre.se) |
15:39.43 | *** part/#android lokpest (n=lokpest@77.241.132.140.bredband.tre.se) |
15:40.14 | *** join/#android muthu (n=sara@59.92.85.250) |
16:30.39 | zhobbs | www.weather.com |
16:34.48 | *** join/#android chomchom (n=chomchom@78.32.95.81) |
16:35.09 | *** join/#android kurzum (n=opera@chello084112021199.32.11.tuwien.teleweb.at) |
16:41.00 | *** join/#android chaosvoyager (n=Miranda@pool-72-80-180-212.nycmny.fios.verizon.net) |
16:44.47 | chomchom | are there any linux commands to just basically view a file in the adb shell? Like more ,vi or nano? |
16:45.12 | muthu | chomchom: is 'cat' working? |
16:46.16 | chomchom | ]yes |
16:46.18 | chomchom | :) |
16:46.55 | chomchom | are there any edit tools? |
16:48.10 | muthu | does busybox have any tools? |
16:51.18 | *** join/#android plusminus_ (i=590f50e2@gateway/web/ajax/mibbit.com/x-22e1562d7a04b687) |
16:51.56 | muthu | check system/bin |
16:52.00 | muthu | there |
16:52.11 | muthu | i see a monkey and a dog :) |
16:52.18 | chomchom | yeah I looked in there but don't see anything |
16:52.22 | chomchom | yeah! |
16:52.24 | chomchom | what are they? |
16:52.29 | muthu | no idea |
16:53.01 | muthu | i read something about installing busybox.. google it |
16:53.34 | chomchom | cool |
16:53.36 | chomchom | thx |
16:54.36 | *** join/#android mike1o (n=mike@host221-166-dynamic.14-87-r.retail.telecomitalia.it) |
17:02.02 | chaosvoyager | [rhetorical] why is hell my project starting with 'G' under 'P' in Google Code?!? >_< |
17:05.47 | chaosvoyager | Hmm, seems they're all under 'P', but what the hell does 'P' mean?!?! |
17:16.20 | *** join/#android aksyn (n=aksyn@cp1242056-a.schoo1.lb.home.nl) |
17:19.59 | *** join/#android ChanServ (ChanServ@services.) |
17:19.59 | *** mode/#android [+o ChanServ] by irc.freenode.net |
17:24.14 | muthu | http://www.talkandroid.com/37-google-android-apps/ |
17:34.57 | *** join/#android plusminus_ (i=590f50e2@gateway/web/ajax/mibbit.com/x-22e1562d7a04b687) [NETSPLIT VICTIM] |
17:34.57 | *** join/#android chaosvoyager (n=Miranda@pool-72-80-180-212.nycmny.fios.verizon.net) [NETSPLIT VICTIM] |
17:34.57 | *** join/#android trivex (n=trivex@CPE00112f8785ab-CM000f9f50281e.cpe.net.cable.rogers.com) [NETSPLIT VICTIM] |
17:34.57 | *** join/#android shoragan (n=shoragan@sicherheitsschwankung.de) [NETSPLIT VICTIM] |
17:34.57 | *** join/#android Raven_coda (n=Raven_co@64.50.35.182) [NETSPLIT VICTIM] |
17:34.57 | *** join/#android benley (n=benley@fortinbras.zoiks.net) [NETSPLIT VICTIM] |
17:34.57 | *** join/#android Lede (n=lede@85.148.228.92) [NETSPLIT VICTIM] |
17:34.58 | *** join/#android riot (n=wntrmut@krombacher-pils.oph.RWTH-Aachen.DE) [NETSPLIT VICTIM] |
17:44.53 | *** join/#android _ken (n=user@84.92.70.37) |
18:09.46 | *** part/#android muthu (n=sara@59.92.85.250) |
18:13.39 | *** join/#android dfas` (n=none@10.201.216.81.static.s-o.siw.siwnet.net) |
18:21.19 | *** join/#android plusminus_ (i=590f50e2@gateway/web/ajax/mibbit.com/x-22e1562d7a04b687) [NETSPLIT VICTIM] |
18:21.19 | *** join/#android chaosvoyager (n=Miranda@pool-72-80-180-212.nycmny.fios.verizon.net) [NETSPLIT VICTIM] |
18:21.19 | *** join/#android trivex (n=trivex@CPE00112f8785ab-CM000f9f50281e.cpe.net.cable.rogers.com) [NETSPLIT VICTIM] |
18:21.19 | *** join/#android shoragan (n=shoragan@sicherheitsschwankung.de) |
18:21.19 | *** join/#android Raven_coda (n=Raven_co@64.50.35.182) [NETSPLIT VICTIM] |
18:21.19 | *** join/#android benley (n=benley@fortinbras.zoiks.net) [NETSPLIT VICTIM] |
18:21.19 | *** join/#android Lede (n=lede@85.148.228.92) [NETSPLIT VICTIM] |
18:21.19 | *** join/#android riot (n=wntrmut@krombacher-pils.oph.RWTH-Aachen.DE) [NETSPLIT VICTIM] |
18:24.05 | *** join/#android plusminus_ (i=590f50e2@gateway/web/ajax/mibbit.com/x-22e1562d7a04b687) [NETSPLIT VICTIM] |
18:24.05 | *** join/#android chaosvoyager (n=Miranda@pool-72-80-180-212.nycmny.fios.verizon.net) [NETSPLIT VICTIM] |
18:24.05 | *** join/#android trivex (n=trivex@CPE00112f8785ab-CM000f9f50281e.cpe.net.cable.rogers.com) [NETSPLIT VICTIM] |
18:24.05 | *** join/#android shoragan (n=shoragan@sicherheitsschwankung.de) [NETSPLIT VICTIM] |
18:24.05 | *** join/#android Raven_coda (n=Raven_co@64.50.35.182) [NETSPLIT VICTIM] |
18:24.05 | *** join/#android benley (n=benley@fortinbras.zoiks.net) [NETSPLIT VICTIM] |
18:24.05 | *** join/#android Lede (n=lede@85.148.228.92) [NETSPLIT VICTIM] |
18:24.05 | *** join/#android riot (n=wntrmut@krombacher-pils.oph.RWTH-Aachen.DE) [NETSPLIT VICTIM] |
18:26.24 | *** join/#android Garett (n=gootch@static24-72-56-83.regina.accesscomm.ca) |
18:26.55 | Garett | anyone here? |
18:28.47 | *** join/#android plusminus_ (i=590f50e2@gateway/web/ajax/mibbit.com/x-22e1562d7a04b687) [NETSPLIT VICTIM] |
18:28.47 | *** join/#android chaosvoyager (n=Miranda@pool-72-80-180-212.nycmny.fios.verizon.net) [NETSPLIT VICTIM] |
18:28.47 | *** join/#android trivex (n=trivex@CPE00112f8785ab-CM000f9f50281e.cpe.net.cable.rogers.com) [NETSPLIT VICTIM] |
18:28.47 | *** join/#android shoragan (n=shoragan@sicherheitsschwankung.de) |
18:28.47 | *** join/#android Raven_coda (n=Raven_co@64.50.35.182) [NETSPLIT VICTIM] |
18:28.47 | *** join/#android benley (n=benley@fortinbras.zoiks.net) [NETSPLIT VICTIM] |
18:28.47 | *** join/#android Lede (n=lede@85.148.228.92) [NETSPLIT VICTIM] |
18:28.47 | *** join/#android riot (n=wntrmut@krombacher-pils.oph.RWTH-Aachen.DE) [NETSPLIT VICTIM] |
18:36.54 | Garett | has anyone had any luck trying to install an apk file over the air through the default browser? |
18:38.34 | davidw | don't think it's possible |
18:38.55 | Garett | damn... do you know if it's in the master plan at least? |
18:41.11 | inZane- | hey |
18:41.14 | *** join/#android dfas (n=none@10.201.216.81.static.s-o.siw.siwnet.net) |
18:42.00 | inZane- | does someone know what they mean with normalized phone number? |
18:42.06 | inZane- | http://code.google.com/android/reference/android/provider/Contacts.PhonesColumns.html |
18:42.18 | inZane- | NUMBER_KEY The normalized phone number |
18:45.27 | *** join/#android Mathiasdm (n=Mathias@vpnh231.ugent.be) |
18:50.25 | *** join/#android soulreaper (i=soul@p4FCE7FC2.dip.t-dialin.net) |
18:50.27 | *** join/#android bladezor (n=bladezor@c-98-196-112-154.hsd1.tx.comcast.net) |
18:50.53 | *** part/#android dfas (n=none@10.201.216.81.static.s-o.siw.siwnet.net) |
18:55.41 | *** join/#android cutmasta (n=cutmasta@ip-78-94-46-184.PH-1211F-BSR64K-03.ish.de) |
18:57.50 | *** join/#android Meroveus (n=louis@41.207.229.183) |
19:00.43 | *** part/#android Meroveus (n=louis@41.207.229.183) |
19:13.26 | *** join/#android pandora-- (n=neil@66.238.50.126.ptr.us.xo.net) |
19:26.43 | *** join/#android Dan_U (n=Dan@70-41-192-219.cust.wildblue.net) |
19:36.57 | *** part/#android kurzum (n=opera@chello084112021199.32.11.tuwien.teleweb.at) |
20:10.02 | *** join/#android tmarble (n=tmarble@user-38q4et6.cable.mindspring.com) |
20:31.47 | *** join/#android The_PHP_Jedi (n=ThePHPJe@66-50-125-149.prtc.net) |
20:34.07 | *** join/#android _avatar (n=avatar@cpe-76-88-201-161.bak.res.rr.com) |
20:36.52 | *** join/#android Smoke_Screen (n=Smoke_Sc@dsl-245-246-161.telkomadsl.co.za) |
20:43.57 | jasta | yawnnn :) |
20:54.28 | jasta | anyone familiar with Eclipse here? I having a hard time understanding how I can have project A create a jar that project B depends on to build. I have configured project A to export a jar, and "linked to external jar" from project B, but this seems not like the Eclipse authors intended. |
20:54.46 | jasta | sorry, I'm new to Eclipse :) |
20:55.03 | romainguy_ | instead of linking to an external jar you can just make a project depend on another project |
20:55.11 | romainguy_ | and it will automatically get the exported jar |
20:55.14 | romainguy_ | stupid Eclipse |
20:56.03 | jasta | so if i just make a dependency then it will automatically get the jar i "exported" from project A? and have it automatically built if it doesn't exist? |
20:56.34 | romainguy_ | yep |
20:57.01 | jasta | i added a dep in the build path for project B, but the "native library location" parameter confused me. why would i need to tell it where the jar file exports to? |
20:57.07 | jasta | shouldn't it know? |
20:57.23 | romainguy_ | native library file has nothing to do with jars |
20:57.24 | chaosvoyager | Hmm, suddenly I'm curious to try the Netbeans plugin... |
20:57.34 | romainguy_ | it's for .so or .dll |
20:58.07 | jasta | oh. |
20:58.17 | jasta | romainguy_: Excellent, thanks. It's building now. |
20:58.21 | romainguy_ | sure |
20:58.34 | romainguy_ | chaosvoyager: I'd like to try it to, I really like NetBeans 6 |
20:58.58 | jasta | i needed project A to export it's provider constants and AIDL service stubs. |
20:59.02 | jasta | ;) |
21:01.49 | jasta | I am hoping to switch to Eclim soon, unfortunately it looks like the latest versions require Eclipse 3.3 for some reason |
21:03.01 | *** join/#android pyronik (n=none@c-67-186-56-114.hsd1.pa.comcast.net) |
21:04.56 | jasta | that was weird. i just launched my application from eclipse |
21:05.35 | jasta | and the activity manager called onCreate, onResume, then onPause all before the UI appeared on scren |
21:05.51 | jasta | E/AndroidRuntime( 991): ERROR: thread attach failed |
21:05.54 | jasta | then i got that after onPause |
21:10.46 | davidw | time to reboot your phone |
21:10.53 | jasta | never. |
21:11.03 | jasta | i intentionally leave android running on my desktop for weeks at a time |
21:16.36 | f00f | why are downloads so slow on android? |
21:16.44 | f00f | i'm using url.openStream(); |
21:16.50 | f00f | with a BufferedReader 8K |
21:17.04 | f00f | takes like 5 seconds to download a 3 kb file |
21:17.32 | f00f | network is set to UMTS |
21:19.56 | *** join/#android eton (n=eton@ppp-58-8-5-189.revip2.asianet.co.th) |
21:26.52 | jasta | f00f: what's netdelay set to? |
21:27.51 | jasta | btw, that is somewhat consistent with how cell phone radios typically work. from personal experience, it seems to take a few seconds to "get going" when i haven't used the data connection in a while. |
21:39.51 | *** join/#android duey (n=duey@ip-58-28-159-211.static-xdsl.xnet.co.nz) |
21:49.17 | *** join/#android Gizmo (n=gizmo1@auh-as25132.alshamil.net.ae) |
21:50.26 | f00f | jasta: how do i check netdelay? |
21:50.43 | f00f | jasta: i know, but it's doing 5 second wait for almost every single request. i do a bunch at a time. |
21:50.44 | jasta | you can set it in the eclipse plugin or by passing -netdelay to the emulator |
21:50.58 | f00f | ah Network Latency is set to none |
21:51.19 | jasta | many small connections are very inefficient f00f. TCP has a lot of handshake overhead. |
21:51.48 | jasta | if you are using a protocol like HTTP, consider enabling pipelining. |
21:51.53 | f00f | so you're telling me they have a stupid implementation and don't do persistent HTTP connections? |
21:52.01 | f00f | i'm just using URL :) |
21:52.23 | jasta | well, they might :) |
21:52.45 | jasta | i would recommend using HttpClient to ensure that the behaviour is sensible and also so that you can have more robust error management. |
21:53.17 | f00f | hmm, ok makes sense, let me look into it |
21:53.41 | romainguy_ | f00f: so you're telling me they have a stupid implementation and don't do persistent HTTP connections? << persistent connections on a cellphone is not necessarily the best idea :) |
21:54.11 | f00f | romainguy_: well i mean if i make X number of requests within a Y-time window, it should be smart enough to pipeline it automatically? :D |
21:54.33 | f00f | i'm using the most basic form of connectivity (URL) |
21:54.39 | romainguy_ | I doubt that's what the spec says for the URL class |
21:54.41 | f00f | but i guess HttpClient might be better |
21:55.01 | jasta | it will be |
21:55.04 | f00f | yeah URL is probably the wrong thing to use in the first place |
21:55.08 | romainguy_ | URL being one of the low level access point to the network it would seem logical to me that it doesn't do taht kind of things |
21:55.16 | romainguy_ | as jasta said, it's more HttpClient's job |
21:59.50 | f00f | i guess it'll take a few more lines of code |
22:07.47 | *** join/#android edcba (i=edcba@nor75-17-82-67-199-204.fbx.proxad.net) |
22:14.56 | *** join/#android kurzum (n=opera@chello084112021199.32.11.tuwien.teleweb.at) |
22:20.32 | *** join/#android Mathiasdm (n=Mathias@vpnh231.ugent.be) |
22:23.04 | chomchom | Guys, I've been using the gps dummy location Provider by just pushing new mock data to the adb shell every runtime, I'd really like to just make my own bespoke ones like testroute1, etc. The problem is although I technically now how to do, it where to put it etc and the permissions you need I still have had no luck at runtime collecting the new mock provider. every request to locationManager.getProviders() returns one the "gps" |
22:23.04 | chomchom | <PROTECTED> |
22:34.55 | chomchom | scub that, I had wipe-data as an argument to the emulator. |
22:40.20 | f00f | jasta: if i want to download 5 files at aonce, should i just use RequestQueue ? |
23:35.59 | *** join/#android skicso1 (n=Mike_Mac@pool-96-234-164-211.bltmmd.fios.verizon.net) |
23:53.15 | *** join/#android rch850 (n=rch850@c220090.ppp.asahi-net.or.jp) |