00:01.47 | jasta | weird, my service disappeared? |
00:02.59 | jasta | reinstalling the package that provided it fixed it. hmm. |
00:12.09 | skicso1 | hmnf. what's an entrepreneur to do......android? iphone? blackberry? this should be a very interesting year. |
00:13.53 | *** join/#android inZane-_ (i=nemo@dslb-084-058-007-135.pools.arcor-ip.net) |
00:21.12 | jasta | hmm |
00:21.19 | jasta | I think MediaPlayer.create() is completely broken |
00:22.02 | *** part/#android skicso1 (n=Mike_Mac@pool-96-234-164-211.bltmmd.fios.verizon.net) |
00:24.56 | *** join/#android skicso1 (n=Mike_Mac@pool-96-234-164-211.bltmmd.fios.verizon.net) |
00:33.03 | f00f- | skicso1: i smell a JVM for the iPhone coming :) |
00:33.46 | chomchom | phew, it'll make a quick converstion somewhat easier for us android app guys. |
00:39.56 | *** join/#android Dan_U (n=Dan@70-41-192-219.cust.wildblue.net) |
00:40.53 | jasta | ok, i'm kind of pissed here |
00:41.13 | jasta | the MediaPlayer has so many problems. i thought they were touting this as usable with M5? |
00:41.51 | jasta | it doesn't seem that you can use it to play content accessed from a content provider even |
00:42.13 | jasta | they want us to use the openFile() method now instead of the old "_data" column hack, and yet it seems like that's all the MediaPlayer supports |
00:43.00 | jasta | and on top of that, if you use content.openFileDescriptor() manually and pass it as mp.setDataSource(pfd.getFileDescriptor(), ...); it throws an IO exception. |
00:43.17 | jasta | So how the hell am I supposed to use this thing? |
00:45.04 | jasta | it works perfectly fine if you call setDataSource() with a path, but that's not how ContentProvider's are supposed to work so what the hell? |
00:46.30 | f00f- | wtf there is no documentation on RequestQueue |
00:48.08 | jasta | hehe, i may have led you astray :) |
00:48.15 | jasta | HttpClient 3.x does not support pipelining Z:) |
00:48.16 | jasta | erm :) |
00:48.24 | jasta | i just looked it up for you |
00:48.59 | f00f- | well i'll probably just spawn a thread for each file and use URL |
00:49.04 | jasta | HttpClient 4.x is expected to have it, but Android is unlikely to use that. |
00:49.04 | f00f- | as i see there is zero docs |
00:49.33 | jasta | i don't know what you mean by "zero docs". i found this info in the first google result |
00:49.57 | jasta | http://www.theserverside.com/news/thread.tss?thread_id=38189#194930 |
00:50.18 | f00f- | no docs in android |
00:50.21 | skicso1 | f00f: that'd be nice - i saw one of the android bloggers reported that it currently uses objective -c |
00:50.31 | jasta | f00f-: why would you need Android docs for HttpClient? Just use HttpClient's docs. |
00:50.44 | f00f- | yeah objective c sucks, some peculiar apple flavor |
00:50.58 | f00f- | so i'm really hoping for a JVM :) |
00:51.15 | f00f- | you can get one in 150KB so it shouldn't be a big issue |
00:51.42 | jasta | f00f-: I will say that you will never get good performance out of this strategy though. Since HttpClient 3.x seems to lack pipelining support, perhaps you should explore alternatives. |
00:51.55 | *** join/#android illustir (n=alper@s55912056.adsl.wanadoo.nl) |
00:52.10 | f00f- | lol |
00:52.17 | jasta | Opening many separate HTTP connections for small file downloads will be very slow. |
00:52.28 | f00f- | i can't believe this android platform |
00:52.36 | f00f- | so i have to bundle them as a big download |
00:52.51 | jasta | Wouldn't that be more sensible anyway? |
00:52.51 | f00f- | maybe there is a zip decoder |
00:53.13 | f00f- | absolutely |
00:53.17 | jasta | There is, but I would be careful about using compression. |
00:53.23 | chomchom | I'd imagine they will really be taking great pains to think about how they approach the windowing system. I can't quite see apple letting traditional clunky swing apps on an iphone. |
00:53.33 | f00f- | right, i'd just pack them |
00:53.45 | f00f- | chomchom: not swing, either eSWT or native Cocoa mobile widgets |
00:53.57 | f00f- | Swing is dead |
00:54.05 | chomchom | certainly is. |
00:54.05 | jasta | So what can't you believe about "this android platform"? |
00:54.20 | f00f- | jasta: well these little things,. |
00:54.26 | f00f- | it's probably my fault; i expected too much :) |
00:54.42 | f00f- | i wonder how iPhone development feels like! |
00:54.42 | jasta | It's your fault because you don't understand what you expect. |
00:55.13 | jasta | The URL class doesn't typically implement HTTP pipelining either. In this case, shame on Apache for going through 3 major releases and still not supporting this feature. |
00:55.17 | jasta | And then shame on you for having a stupid design :) |
00:55.43 | f00f- | well a small detail |
00:55.46 | f00f- | URL is very convenient |
00:56.11 | f00f- | i'll just make one request total :D |
00:56.23 | jasta | Yes, it is convenient because it is "dumb". It also isn't very flexible, and has poor error reporting. |
00:56.53 | f00f- | it's dumb and cheap |
00:56.56 | jasta | However that is very frustrating that HttpClient would not support pipelining. |
00:56.59 | jasta | f00f-: Cheap? |
00:57.05 | jasta | How is it cheap? |
00:57.05 | skicso1 | foof: i watched the video of the Apple SDK announcement where they showed the dev environment. - the "hello world" example reminded me of Motif. They pasted in a chunk of code, hit the build/deploy button and said "see how easy that was"? |
00:57.17 | f00f- | i'm building/submitting a prototype, not a product so i can afford to cut corners as long it works |
00:57.40 | jasta | If that is how you define your deliverables then sure. |
00:57.49 | f00f- | skicso1: so overall, were you impressed by it? |
00:58.06 | skicso1 | still, one idea that I think google should stea^H^H^H^H borrow is the the AppStore delivery/fulfillment package. |
00:59.04 | skicso1 | foof: dunno if I was impressed - I've never developed on a mac so I was bummed they didn't have an eclipse plug in :-P |
00:59.43 | chomchom | I haven't tried it out yet, but I have a friend who is a mobile developer who is very impressed by it. Says it comes with a lot of helpful tools to get you running. |
01:00.05 | skicso1 | yeah, they have a nice set of instrumentation tools |
01:00.25 | jasta | of course, you have to develop in ObjC on a Mac, so ... ;) |
01:00.51 | skicso1 | yeah, having to buy a mac just to get started is a bit of a downer |
01:01.04 | chomchom | Yeah, thats awful. No platform support what so ever. |
01:01.11 | jasta | lol, i can't even watch the stupid introduction videos because apparently they dont support linux |
01:01.13 | f00f- | i'm sure they will make it simpler, otherwise it will be a complete failure |
01:01.32 | jasta | f00f-: Why do you assume that developers are retarded? |
01:01.58 | f00f- | jasta: i don't. i just assume not every developer does their work on apple platforms. |
01:02.11 | jasta | Writing non-trivial, production quality software is never an easy task. Not for any firm. Nothing has to be "easy". |
01:02.29 | f00f- | i never said it should be easy. |
01:02.45 | jasta | Then how did you mean "simpler"? |
01:02.53 | chomchom | Jasta, I think you're out for fight! |
01:02.54 | f00f- | multi-platform support and tools |
01:03.11 | f00f- | ie. not have to go out and buy a mac to write an app for the iphone |
01:03.11 | jasta | f00f-: Apple will not release multi-platform tools, that is almost certain. |
01:03.15 | chomchom | poor guy, hes been developing 24/7 |
01:03.22 | skicso1 | i don't think they'll port it. i think they are banking that the iphone target is attractive enough that a non-mac developer will suck it up. |
01:03.40 | f00f- | they're becoming more like MS nowadays |
01:03.44 | jasta | skicso1: Precisely, and frankly I think that bet will pay off commercially which is what they're hoping for. |
01:04.04 | jasta | skicso1: It won't, however, attract much attention from the open source community. |
01:04.11 | jasta | But Apple doesn't care about them :) |
01:04.18 | jasta | at least not for this product |
01:04.33 | chomchom | I don't think they'll really have to, it looks like they are aiming at quite a high end market. As opposed to google who could technically see themselves deployed on anything. |
01:04.50 | jasta | exactly, which is why I think f00f- is completely wrong here. |
01:07.05 | jasta | I think frankly Apple will see a lot of success with the iPhone SDK too. |
01:07.32 | skicso1 | I think the success will largely be a product of the AppStore. Icon for the AppStore will be on every iphone starting in June |
01:07.36 | jasta | It just won't be the same type of success Android is likely to see. Android will probably have a much more robust set of niche applications. |
01:09.26 | skicso1 | I think the main downside for iphone is (currently) just one carrier |
01:10.00 | skicso1 | OHA is cool if the partner companies actually support/push android |
01:10.47 | chomchom | It's really good that we've got two such widely diverse platforms. I can't see every poor kid in India owning an Iphone and I can't see apple striving to get them one. But I imagine that google will aim to branch to as many providers as possible. Meanwhile apple can afford to innovate in the luxury sector and put out new models that will benefit the sector at large. |
01:11.27 | chomchom | luxury/high end |
01:13.07 | *** part/#android kurzum (n=opera@chello084112021199.32.11.tuwien.teleweb.at) |
01:14.20 | skicso1 | chomchom: mighty late/early in scotland isn't it? |
01:14.46 | chomchom | it's not that bad yet, 1:14am |
01:15.25 | chomchom | bed for 4 methinks. Prime hacking hours. |
01:21.41 | skicso1 | i usually regret the code i write at 1 am :-P |
01:22.26 | chomchom | me too sadly it's the only time I really get :). |
01:23.12 | jasta | Hmm, can we observe progress of a playing media file? |
01:23.19 | jasta | to show or change the position in the file? |
01:26.01 | jasta | AndroidPlayBackEngine? Hmm.... |
01:29.54 | jasta | oh, duh, getCurrentPosition is available from MediaPlayer |
01:30.03 | jasta | i'm sort of confused though. do i have to just poll it every second? |
01:37.36 | *** join/#android eton (n=eton@ppp-58-8-5-189.revip2.asianet.co.th) |
02:04.58 | *** join/#android Kriyasurfer (n=Akashakr@c-67-166-227-32.hsd1.ga.comcast.net) |
02:25.09 | *** join/#android ApplePedlar (n=ApplePed@58x158x182x50.ap58.ftth.ucom.ne.jp) |
02:26.02 | *** join/#android Kriyasurfer (n=Akashakr@dsl027-162-152.atl1.dsl.speakeasy.net) |
02:44.22 | *** join/#android GizmoC (n=gizmo1@5ehq28cd.emirates.net.ae) |
02:54.41 | *** join/#android donomo (n=donp@donk.personaltelco.net) |
03:02.55 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
03:05.07 | *** join/#android pyronik (n=none@207-255-19-115-dhcp.jst.pa.atlanticbb.net) |
03:06.30 | *** join/#android _avatar (n=avatar@cpe-76-88-201-161.bak.res.rr.com) |
03:23.12 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
03:43.29 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
03:47.59 | *** join/#android Dan_U (n=Dan@70-41-192-219.cust.wildblue.net) |
03:58.18 | chomchom | thats it hitting the magic number of 4.00am. Night all. |
04:00.45 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
04:03.42 | *** join/#android tlockney (n=tlockney@70-59-129-216.ptld.qwest.net) |
04:11.59 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
04:23.12 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
04:31.59 | *** join/#android muthu (n=sara@59.92.89.234) |
04:34.15 | *** join/#android bladezor (n=bladezor@c-98-196-112-154.hsd1.tx.comcast.net) |
04:37.28 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
04:49.06 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
05:00.21 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
05:07.09 | *** join/#android duey (n=Nick@203.96.223.40) |
05:07.15 | *** join/#android dueynz (n=Nick@203.96.223.40) |
05:11.35 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
05:14.29 | *** join/#android ApplePedlar_ (n=ApplePed@58x158x182x50.ap58.ftth.ucom.ne.jp) |
05:18.48 | jasta | this piece of shit is so fucking BROKEN |
05:21.28 | zhobbs | jasta: what problems you having? |
05:21.43 | jasta | trying to get it to play from a content URI |
05:21.49 | jasta | it's so fucking screwed up you can't even believe it. |
05:21.52 | zhobbs | Ahh |
05:22.03 | jasta | first of all, it doesn't use ContentProvider#openFile(), it uses that lame old _data hack. |
05:22.08 | jasta | So now I have provided it that |
05:22.11 | jasta | and it still doesn't work. |
05:22.22 | jasta | who knows why |
05:22.32 | zhobbs | probably because no one has ever tried it before |
05:22.47 | jasta | it's so broken though |
05:22.48 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
05:22.54 | jasta | MediaPlayer.create(..., resId) doesn't work either. |
05:23.15 | jasta | the same files pulled out of the resource package and placed on disk and loaded using setDataSource() works fine though |
05:23.24 | jasta | also, setDataSource(fd, ...) doesn't work correctly either. |
05:23.33 | jasta | the whole thing is just so fuckin broken |
05:23.35 | zhobbs | glad I haven't gotten fancy with providers and such...I've just been scanning /sdcard and directly refering to the files :) |
05:25.09 | jasta | it's clearly not my usage; this class is just really broken. |
05:25.29 | zhobbs | yeah, I believe it |
05:25.44 | zhobbs | has a ways to go |
05:26.12 | jasta | yup sure enough |
05:26.28 | jasta | if i break it out into new MediaPlayer() and do my own query on _data, then setDataSource with that path it works fine |
05:26.56 | jasta | i am so pissed. yesterday was highly productive and now i've wasted almost an entire day deciphering these horrible bugs |
05:27.04 | jasta | MediaPlayer sucks ;P |
05:28.17 | jasta | also, the streaming support is all fucked up |
05:30.08 | zhobbs | yeah, that sucks also |
05:31.22 | *** join/#android pandora--_ (n=pandora-@cpe-76-172-208-63.socal.res.rr.com) |
05:32.45 | muthu | agreed, MediaPlayer is in a very bad shape |
05:33.13 | muthu | and also the videoview |
05:33.34 | muthu | no controls in videoview.. |
05:33.44 | jerkface03 | lol yes i noticed problems with media player when m5 got dropped |
05:34.06 | jerkface03 | problems aka hardcrashes |
05:35.18 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
05:37.58 | muthu | i am yet to see the value add that videoview provides over mediaplayer |
05:45.54 | jasta | W/AudioTrack( 1327): *** SERIOUS WARNING *** obtainBuffer() timed out but didn't need to be locked. We recovered, but this shouldn't happen (user=00000100, server=00000001) |
05:45.57 | jasta | ? |
05:46.33 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
05:57.48 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
06:09.03 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
06:20.17 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
06:24.18 | *** join/#android niket (n=niket@c-76-28-174-245.hsd1.wa.comcast.net) |
06:26.22 | niket | Hi, I am new to android app....I would like to know how to draw arrow in particular degree/direction. Mainly I want to display arrow in google map showing direction of my movement or anything like that |
06:26.32 | niket | can anyone help me? |
06:27.01 | zhobbs | you can just create an arrow, stick in in res/drawable and then rotate/draw it on screen |
06:27.18 | niket | how to create arrow |
06:27.27 | zhobbs | in photoshop or gimp, etc |
06:27.32 | niket | is it like any png image |
06:27.37 | zhobbs | yeah |
06:28.21 | niket | oh good..what is api to rotate the image based on degree? any clue |
06:28.35 | jerkface03 | can't you just use ogl to do that? |
06:28.50 | niket | ogl? |
06:28.58 | jerkface03 | opengl? |
06:29.30 | romainguy | OpenGL? |
06:29.34 | romainguy | that's a bit overkill |
06:29.41 | zhobbs | I would just use Canvas.rotate() |
06:29.46 | romainguy | or even simpler |
06:29.51 | romainguy | you can use a RotateDrawable |
06:29.58 | romainguy | you can even define the rotate drawable from XML |
06:30.04 | niket | thanks again zhobbs for helping me |
06:30.12 | romainguy | (the spinning progress indicator is just a rotate drawable for instance) |
06:30.14 | niket | I will try that |
06:31.30 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
06:35.55 | *** join/#android romainguy__ (n=gfx@72.14.224.1) |
06:37.20 | chaosvoyager | Oly crap, Meziu was pulled from CeBIT not because they have a product that works like the iPhone, but because they didn't have an MP3 license! |
06:37.42 | zhobbs | doh |
06:41.00 | romainguy__ | that's pretty silly of them |
06:41.17 | chaosvoyager | Thank Ted that wasn't me, because it would be bad enough I'd call them them Nazis, but CeBIT is in Germany this year too. It wouldn't go over well. |
06:42.15 | chaosvoyager | Oh, and 'they' want 2% of any revenue I generate from music I distribute in the format. |
06:43.11 | chaosvoyager | So, encoders, decoders, and even using the format to distribute work is taxed. |
06:43.55 | chaosvoyager | THIS (media formats) is what's going to kill open source solutions for Joe Average. |
06:44.08 | chaosvoyager | ...baah, I'm better now, back to coding. |
06:44.09 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
06:55.23 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
07:00.17 | *** join/#android davidw (n=davidw@chello212186016224.tirol.surfer.at) |
07:06.38 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
07:17.52 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
07:23.33 | *** join/#android ApplePedlar (n=ApplePed@58x158x182x50.ap58.ftth.ucom.ne.jp) |
07:29.07 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
07:39.34 | *** join/#android Mathiasdm (n=Mathias@vpne165.ugent.be) |
07:40.21 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
07:44.27 | *** join/#android rch850_ (n=rch850@c220090.ppp.asahi-net.or.jp) |
07:52.17 | *** join/#android Mathiasdm2 (n=Mathias@vpnj026.ugent.be) |
07:52.41 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
08:00.56 | *** join/#android ApplePedlar_ (n=ApplePed@58x158x182x50.ap58.ftth.ucom.ne.jp) |
08:03.55 | *** join/#android Gizmo (n=gizmo1@5ehq28cd.emirates.net.ae) |
08:09.48 | *** join/#android GizmoC (n=gizmo1@auh-as25132.alshamil.net.ae) |
08:15.06 | *** join/#android Gizmo (n=gizmo1@auh-as25132.alshamil.net.ae) |
08:21.15 | *** join/#android soulreaper (i=soul@p4FCE5088.dip.t-dialin.net) |
08:29.15 | *** join/#android romainguy (i=romaingu@adsl-75-36-213-70.dsl.pltn13.sbcglobal.net) |
08:33.20 | *** join/#android romainguy (i=romaingu@adsl-75-36-213-70.dsl.pltn13.sbcglobal.net) |
08:33.42 | *** join/#android cutmasta (n=cutmasta@62.225.134.181) |
08:35.49 | *** join/#android foysavas (n=foysavas@146-115-47-76.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com) |
08:40.04 | *** join/#android foysavas (n=foysavas@146-115-47-76.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com) |
08:42.48 | *** join/#android Smoke_Screen (n=Smoke_Sc@dsl-245-246-161.telkomadsl.co.za) |
09:02.58 | zhobbs | romainguy_: is there any significant performance improvement by not using ViewInflate in an adapter vs creating the view in code? |
09:04.02 | romainguy | it is certainly faster not using ViewInflate |
09:04.04 | romainguy | but |
09:04.19 | romainguy | if you use the convert view correctly you should be using ViewInflate only a few times total |
09:04.26 | romainguy | so I wouldn't bother about this |
09:04.29 | zhobbs | k |
09:05.23 | chaosvoyager | How muck faster? |
09:05.34 | zhobbs | is this using it correctly? TextView txt = (TextView) convertView.findViewById(R.id.text1);; |
09:05.34 | zhobbs | txt.setText(value); |
09:07.16 | romainguy | chaosvoyager: No XML parsing and no reflection |
09:07.31 | romainguy | zhobbs: yes, if you first check that convertView is not null :)) |
09:07.46 | chaosvoyager | Ah. |
09:07.47 | romainguy | the pattern is usually: |
09:07.47 | jerkface03 | romainguy: ?? reflection apis are not built yet in android? |
09:07.57 | romainguy | if (convertView != null) { |
09:08.03 | romainguy | <PROTECTED> |
09:08.04 | romainguy | } |
09:08.10 | romainguy | convertView.setXXXX; |
09:08.12 | romainguy | return convertView |
09:08.14 | zhobbs | romainguy: yeah I check not null |
09:08.18 | romainguy | jerkface03: they certainly are... |
09:08.25 | jerkface03 | romainguy: do you ever sleep? |
09:08.33 | romainguy | jerkface03: the XML layout files are loaded through reflection |
09:09.16 | jerkface03 | romainguy: aye. |
09:10.36 | chaosvoyager | Which means, in 'theory', that code could also be SAVED to XML layout files. |
09:10.56 | romainguy | chaosvoyager: that you could dump a View hierarchy to XML files? |
09:11.03 | *** join/#android illustir (n=alper@s55912056.adsl.wanadoo.nl) |
09:11.06 | romainguy | sure, why couldn't you? |
09:11.23 | romainguy | I don't quite see the point of doing such a thing though :) |
09:16.12 | *** join/#android ApplePedlar (n=ApplePed@58x158x182x50.ap58.ftth.ucom.ne.jp) |
09:19.28 | chaosvoyager | romainguy: Really? Reflection allows any programatic change in the scene graph to be reflected in the layout XML, and visa versa. This is the core of every successful layout editor I know of, from WinForms to HTML. I can't think of one that doesn't have a code/view split. |
09:22.43 | romainguy_ | chaosvoyager: It can perfectly be achieved without reflection |
09:23.13 | romainguy_ | chaosvoyager: But makes it easier sure :) |
09:23.41 | romainguy_ | But if you are talking about a UI designer, the fact that the Android runtime supports reflection or not is irrelevant |
09:23.51 | romainguy_ | Since such a UI designer would run outside of the said runtime |
09:24.51 | *** join/#android kristian-m (i=kristian@217.13.205.113) |
09:26.37 | romainguy_ | anyway |
09:26.39 | romainguy_ | time for bed |
09:26.46 | zhobbs | good night |
09:27.35 | chaosvoyager | Blah! I wasn't done with my reply 0_0 (nor did I have time to say goodnight). |
09:27.49 | zhobbs | :) |
09:28.43 | chaosvoyager | He's the vbisual interface guy for this project, right? |
09:29.09 | zhobbs | yeah, coding not graphical design though |
09:33.57 | chaosvoyager | *sigh* well, I guess enabling the user to configure the layout of an application (or Mr Potato Head game) is not in the Android plan. |
09:34.18 | chaosvoyager | However, that bed suggestion sounds peachy. |
09:34.29 | *** part/#android chaosvoyager (n=Miranda@pool-72-80-180-212.nycmny.fios.verizon.net) |
09:58.35 | *** join/#android Mo (n=martinot@dialbs-088-079-085-107.static.arcor-ip.net) |
10:17.09 | muthu | elimatta is cool! |
10:33.33 | *** join/#android lenni_-_ (n=lenni@92.11.110.235) |
10:34.28 | lenni_-_ | can some give me a tip on how to open the manifest editor? |
10:34.50 | lenni_-_ | If i click on my manifest file i just opens the raw xml data. |
10:35.56 | lenni_-_ | in eclipse that is. |
10:36.41 | *** join/#android illustir (n=alper@s55912056.adsl.wanadoo.nl) |
11:07.50 | *** join/#android kurzum (n=opera@chello084112021199.32.11.tuwien.teleweb.at) |
11:51.32 | *** join/#android mypapit (n=mypapit@pdpc/supporter/active/mypapit) |
12:07.59 | *** join/#android skicson (n=Mike_Mac@pool-96-234-164-211.bltmmd.fios.verizon.net) |
12:27.44 | *** join/#android krau (n=cktakaha@200.184.118.132) |
13:00.31 | *** join/#android soulreaper (i=soul@p4FCE5088.dip.t-dialin.net) |
13:06.24 | *** part/#android lenni_-_ (n=lenni@92.11.110.235) |
13:08.23 | *** join/#android cutmasta_ (n=cutmasta@62.225.134.181) |
13:14.33 | *** join/#android f00f- (i=f00f@virusexperts.com) |
13:23.07 | *** join/#android Mathiasdm (n=Mathias@vpnf013.ugent.be) |
13:42.11 | *** part/#android kurzum (n=opera@chello084112021199.32.11.tuwien.teleweb.at) |
14:10.27 | *** join/#android dims (n=dims@c-66-31-154-33.hsd1.ma.comcast.net) |
14:17.45 | *** join/#android krau (n=cktakaha@200.184.118.132) |
14:25.19 | *** join/#android plusminus_ (i=590e09a2@gateway/web/ajax/mibbit.com/x-c5b5e5f924579e43) |
14:25.32 | plusminus_ | They arrived !!!!!!11111eleven |
14:25.47 | cutmasta_ | plusminus_, wtf? |
14:26.09 | plusminus_ | ^^ tshirts |
14:26.20 | cutmasta_ | ah |
14:26.24 | cutmasta_ | android shirts or what? |
14:26.28 | plusminus_ | from MountainView |
14:26.32 | plusminus_ | jap |
14:26.45 | cutmasta_ | how did you get them? paypal paid? |
14:27.06 | plusminus_ | no payment :) |
14:29.22 | cutmasta | plusminus_, did you get my query? |
14:29.38 | plusminus_ | yap |
14:32.39 | *** join/#android matt_c (n=mcroydon@gozur.sunflowerbroadband.com) |
14:36.09 | *** join/#android morrildl (n=chatzill@nat/google/x-b8610848d5d7e87b) |
14:37.59 | cutmasta | morrildl, just emailed you ;) |
14:38.21 | Aetmos | Hi All...If I have a SubActivity, how do I close it and return to my primary Activity? |
14:38.35 | Aetmos | I can setResult(RESULT_OK); but it doesn't actually return to my main Activity |
14:38.41 | morrildl | cutmasta: O RLY |
14:38.48 | Aetmos | I can call System.exit(0), but I don't think that's what I want... |
14:39.00 | plusminus_ | this.finish(); |
14:39.05 | morrildl | cutmasta: got it |
14:39.07 | morrildl | looking into it |
14:39.10 | Aetmos | plusminus_: Ah, thanks |
14:39.14 | cutmasta | morrildl, ok, |
14:39.27 | plusminus_ | Aetmos: http://www.anddev.org/subactivites_with_return_value_-_the_inputbox-t99.html |
14:39.55 | Aetmos | Ah, awesome. Thanks plusminus_! |
14:40.04 | plusminus_ | np |
14:41.40 | Aetmos | Great, that works perfectly ;-) |
14:42.33 | cutmasta | morrildl, i mailed, because i did not find the bug in the issue tracker, perhaps its in your internal bugzilla |
14:42.54 | morrildl | cutmasta: well, when I asked the guy who owns it, he said it was already fixed :) |
14:42.58 | morrildl | apparently he was wrong |
14:44.34 | cutmasta | morrildl, yes, it seems so :) |
14:57.05 | *** join/#android tmarble (n=tmarble@user-38q4et6.cable.mindspring.com) |
15:04.01 | *** part/#android muthu (n=sara@59.92.89.234) |
15:08.06 | davidw | I've been getting weird spam like this comment,lately...anyone else see stuff like it? http://journal.dedasys.com/articles/2008/03/09/bypassing-androids-resources#comments |
15:08.55 | davidw | the comment is nonsense, but the page it links to isn't like 'viagra', porn or the usual suspects |
15:10.06 | davidw | at least I think it's spam... it's just bizarre |
15:17.14 | Aetmos | looks like spam |
15:17.35 | Aetmos | polite spam, but spam nonetheless |
15:19.26 | davidw | it's weird though, I mean wtf is it promoting? |
15:19.38 | Aetmos | Probably just that person's lame-ass blog |
15:19.42 | davidw | the thing it links to has no ads |
15:20.01 | davidw | and no links to porn/viagra/whatever |
15:20.30 | Aetmos | Yeah, it is an odd page to link to ;-) |
15:20.56 | Aetmos | Does anybody have a particularly good way to layer one view on top of another...I just want to display a logged-in username in the upper-right corner of screen... |
15:21.20 | *** join/#android Mathiasdm (n=Mathias@d54C1AA49.access.telenet.be) |
15:23.33 | plusminus_ | RelativeLayout ? |
15:24.27 | *** join/#android Mathiasdm (n=Mathias@d54C1AA49.access.telenet.be) |
15:24.56 | Aetmos | Hmm...I'll give it a try |
15:24.57 | Aetmos | Thanks |
15:25.19 | plusminus_ | Following shows how to place buttons over a MapView: (Code: http://www.anddev.org/viewtopic.php?p=4590#4590 ) |
15:25.48 | plusminus_ | Result: http://www.anddev.org/images/tut/map/andnav/anim/anim.gif (see the upper corners für + and - ) |
15:25.52 | Aetmos | Ah, I feel like an idiot. I swear I searched your site, but didn't turn anything up ;-) |
15:26.21 | Aetmos | Many thanks for the great site |
15:27.12 | plusminus_ | yu're right, its not that easy to find stuff |
15:27.29 | plusminus_ | just if you know what you have to type as keywords |
15:27.50 | plusminus_ | but if you know them you usually have no problem :D |
15:27.59 | Aetmos | heh, yeah ;-) |
15:40.58 | *** join/#android eton (n=eton@ppp-58-8-11-79.revip2.asianet.co.th) |
16:03.18 | pyronik | hey im having problems setting up the windows environmental variables |
16:03.50 | pyronik | C:\SDK\android-sdk_m5-rc15_windows\; |
16:03.55 | pyronik | thats not doing it for me |
16:04.10 | pyronik | that and without the last backslash |
16:06.51 | Aetmos | Well, is that where the SDK is located? |
16:09.13 | jasta | i spent so much time hassling with MediaPlayer last night and now i'm pissed :) |
16:10.13 | jasta | in light of it's many, many bugs, i think they need to show us how the streaming code *really* works so that we can implement it ourselves if need be. |
16:13.06 | *** join/#android TimRiker (n=timr@68-27-168-105.area1.spcsdns.net) |
16:18.57 | Aetmos | jasta: can't you just look at the code in the jar? |
16:26.38 | *** join/#android muthu (n=sara@59.92.41.84) |
16:31.25 | plusminus_ | if you like decompiled classed ;) |
16:32.16 | Gizmo | pyronik |
16:32.38 | Gizmo | pyronik, the PATH is C:\SDK\android-sdk_m5-rc15_windows\tools; .. you forgot the \tools |
16:41.32 | *** join/#android Yeggstry (n=mind@cpc1-rdng14-0-0-cust946.winn.cable.ntl.com) |
16:45.26 | *** join/#android Mathiasdm (n=Mathias@d54C1AA49.access.telenet.be) |
16:46.39 | plusminus_ | Gizmo: imo not. As the Android.jar is not located in \tools. |
16:49.05 | davidw | jasta, "its" - don't make us pull out bob the angry flower |
16:49.15 | davidw | jasta, joking aside - you found more bugs in the mediaplayer stuff? |
17:00.04 | *** join/#android Dan_U (n=Dan@70-41-192-219.cust.wildblue.net) |
17:01.16 | *** join/#android romainguy (n=romaingu@nat/google/x-a8578e283e887ac6) |
17:01.51 | *** join/#android soulreaper_ (i=soul@p4FCE7BFD.dip.t-dialin.net) |
17:03.47 | jasta | davidw: yes, ugh. |
17:04.11 | jasta | Aetmos: it's mostly written natively in C. |
17:05.59 | jasta | davidw: I'm so frustrated. I don't think I will be able to implement my app as I have intended because of its severe brokenness. |
17:06.32 | jasta | basically, the only use case that works with the MediaPlayer is an audio file on disk in its entirety. |
17:08.05 | davidw | wo |
17:08.07 | davidw | wow |
17:09.57 | muthu | jasta: does streaming work? |
17:13.26 | jasta | muthu: I'm sure their stupid intent-based streaming works just fine, but therein lies the problem: what the hell is that code doing and how can we replicate it on our own? |
17:13.43 | jasta | My application needs to download and cache files it streams from the web. |
17:14.11 | plusminus_ | that works fine, right? |
17:14.42 | jasta | what? i haven't tested but i'm sure they did. |
17:15.17 | jasta | but that's not the point. i need to know how their streaming code actually works |
17:15.33 | plusminus_ | downloading and playing,instead of streaming *rolleyes* |
17:16.54 | jasta | no, it doesn't. because playback of an incomplete file on disk causes the mediaplayer to treat the file as a snapshot in time |
17:17.10 | jasta | as in, if it's 10% done and you start playing, it will stop at 10% of the file, despite it being 50% done or whatever at that time. |
17:17.38 | plusminus_ | downloading completely ;) |
17:18.17 | plusminus_ | great if you want to have just a short look into ^^ and so fast |
17:20.11 | jasta | plusminus_: well of course downloading completely works because as i said, the use case that works is a file on disk. |
17:21.18 | *** join/#android pombreda (n=pombreda@c-67-180-198-25.hsd1.ca.comcast.net) |
17:21.21 | *** join/#android Mo (n=martinot@dialbs-088-079-085-107.static.arcor-ip.net) |
17:25.29 | jasta | morrildl: *poke* |
17:26.07 | muthu | jasta: did you look in the source? |
17:26.39 | muthu | i haven't looked into streaming yet, playing the files from the disk for now |
17:27.09 | muthu | but soon enough need to stream from the web |
17:28.46 | jasta | muthu: you can't, most of it is natively written. |
17:28.55 | muthu | oh sh |
17:29.05 | jasta | muthu: if you want to stream from the web, fully handing control over to MediaPlayer, then you're fine. |
17:29.13 | muthu | i understand |
17:29.16 | jasta | if you need any kind of control or meaningful interaction, you're hosed. |
17:29.25 | muthu | true, you need to cache |
17:29.30 | jasta | exactly |
17:29.52 | jasta | MediaPlayer was clearly designe dfor this |
17:29.57 | jasta | setDataSource() lets you pass a file descriptor |
17:30.04 | jasta | but it doesn't *work* to do so :) |
17:30.15 | muthu | yeah probably a bug |
17:33.01 | jasta | this is a very serious problem for me right now. i have no idea how i can implement what i need with the current SDK |
17:33.39 | muthu | setDataSource (String) works |
17:34.03 | muthu | <PROTECTED> |
17:34.16 | muthu | haven't tested that method |
17:34.58 | jasta | my only thought is to try to use the audio hardware directly, without the broken MediaPlayer. |
17:36.09 | Bonkers | I don't really know too much about android development, but I can tell you that you're not hte only one annoyed with the broken file streaming, so I'm guessing it will be fixed once the android devs get some time |
17:36.10 | davidw | /dev/audio ? |
17:36.24 | davidw | or whatever? |
17:38.49 | muthu | guess the native method has not been implemented yet |
17:39.18 | jasta | Bonkers: you're probably right, but my app is a streaming music player sooooo, what choice do i have? :) |
17:39.28 | jasta | it's not like this is a small part ;) |
17:40.04 | muthu | jasta: you need to mock it up |
17:40.44 | romainguy | jasta: Have you tried the setDataSource(String) version? |
17:40.48 | romainguy | the javadoc says it accepts a URL |
17:41.24 | romainguy | or you just want to play a file that's partially downloaded locally? |
17:41.49 | muthu | romainguy: the string version works only for the filepath |
17:41.49 | jasta | romainguy: I don't have to, but that is the most logical design. |
17:42.57 | jasta | romainguy: My curiousity is leading me to wonder if MediaPlayer's setDataSource(FileDescriptor, ...) method is not implemented correctly, how the hell does the startActivity() approach to streaming from the web work? |
17:43.19 | jasta | How has Google implemented that streaming if the underlying system doesn't support it at all? |
17:43.37 | muthu | jasta: where's the streaming example? |
17:44.10 | muthu | i haven't seen anything for streaming yet |
17:44.28 | jasta | hang on ill find it |
17:44.50 | jasta | http://code.google.com/android/toolbox/apis/media.html |
17:44.53 | jasta | see 'playing media via url' |
17:45.03 | muthu | have you seen it in action? |
17:45.07 | jasta | this approach is using a content uri and an activity |
17:45.17 | jasta | no, but many times morrildl has asserted that it works. |
17:45.23 | muthu | ha come on |
17:45.25 | jasta | i will try it tonight, of course, but can't now. |
17:45.46 | muthu | ok.. the word is streaming is broken |
17:46.17 | jasta | really? well, i suppose that would be consistent with MediaPlayer.setDataSource(FileDescriptor, ...) being broken :) |
17:46.40 | muthu | yup |
17:47.35 | muthu | try also the string version as romainguy suggests |
17:47.39 | jasta | can someone whip up a quick test and see that the activity approach works? |
17:47.45 | jasta | muthu: The string version doesn't stream |
17:47.50 | muthu | ok |
17:47.56 | jasta | that is plainly obvious, i have my code using that right now |
17:48.08 | muthu | ok.. let me test the intent version now |
17:48.16 | jasta | setDataSource("/sdcard/tmp-streaming-file"); will play up to the duration computed at the time it was played. |
17:49.05 | muthu | its the full duration of the file |
17:49.23 | jasta | no, it's not. it computes the duration at the time of prepare() |
17:49.58 | jasta | which is correct behaviour for that method, i'd say. however, in the absence of a working setDataSource(FileDescriptor, ...) implementation, it's not very useful behaviour :) |
17:50.17 | muthu | right |
17:50.22 | jasta | my assumption is that the FileDescriptor version is for streaming. |
17:50.28 | muthu | yes |
17:50.29 | jasta | although i might be wrong even still :) |
17:51.35 | jasta | muthu: can you test the intent version for me? |
17:53.37 | muthu | sure |
17:53.46 | muthu | let me check it out |
17:54.00 | jasta | thanks :) |
18:01.55 | *** join/#android kurzum (n=opera@chello084112021199.32.11.tuwien.teleweb.at) |
18:07.45 | muthu | jasta: give me an http link for mp3 |
18:07.54 | jasta | well, uhh |
18:08.03 | jasta | hang on :) |
18:09.14 | jasta | http://jasta.dyndns.org/android/test.mp3 |
18:09.20 | muthu | ok |
18:11.13 | muthu | i copied pasted the example code |
18:11.27 | jasta | and? :) |
18:11.32 | muthu | No Activity found to handle Intent |
18:11.38 | jasta | that's what i thought |
18:11.57 | plusminus_ | Running DRM-check.... 33% |
18:12.02 | plusminus_ | Running DRM-check.... 66% |
18:12.05 | plusminus_ | Running DRM-check.... 100% |
18:12.07 | plusminus_ | failure !! |
18:12.08 | plusminus_ | ;) |
18:12.13 | jasta | plusminus_: what? |
18:12.23 | muthu | any permission, jasta? |
18:12.30 | muthu | i'm in more copy/paste mood |
18:12.34 | muthu | so debug for me ;) |
18:12.54 | jasta | huh? what's to debug? |
18:12.58 | muthu | E/AndroidRuntime( 933): android.content.ActivityNotFoundException: No Activity found to handle Intent { action=android.intent.action.VIEW type=audio/* } |
18:12.59 | muthu | E/AndroidRuntime( 933): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1170) |
18:12.59 | muthu | E |
18:13.19 | jasta | nothing to debug, that very probably just means what they claim to be implemented isn't. |
18:13.30 | muthu | hmmm |
18:13.32 | *** join/#android Adry (n=yeruti@253-39-21-190.adsl.terra.cl) |
18:13.59 | jasta | unless you have to setType to something more meaningful? |
18:14.20 | jasta | try setting it to audio/mpeg? |
18:14.21 | muthu | its not a permission issue right? |
18:14.27 | muthu | ok |
18:14.29 | jasta | muthu: Doesn't seem to be? |
18:14.30 | *** part/#android Adry (n=yeruti@253-39-21-190.adsl.terra.cl) |
18:14.35 | jasta | they don't mention that you need any permissions |
18:14.45 | muthu | <PROTECTED> |
18:14.45 | muthu | <PROTECTED> |
18:14.45 | muthu | <PROTECTED> |
18:14.46 | muthu | <PROTECTED> |
18:14.51 | muthu | that's the code FYI |
18:15.25 | jasta | still doesn't work with audio/mpeg? |
18:15.43 | muthu | E/AndroidRuntime( 1002): android.content.ActivityNotFoundException: No Activity found to handle Intent { action=android.intent.action.VIEW type=audio/mpeg } |
18:15.51 | jasta | yeah that's what i thought. |
18:16.08 | jasta | i really want to talk to someone in the know about this |
18:16.14 | muthu | let me check the permission |
18:16.18 | jasta | can't seem to track down any google folks though |
18:16.32 | jasta | muthu: what permissions? on my web server? those are fine. |
18:16.42 | muthu | no for intents |
18:16.49 | jasta | oh |
18:27.54 | *** join/#android mike1o (n=mike@host221-166-dynamic.14-87-r.retail.telecomitalia.it) |
18:29.41 | mike1o | is gtalk supposed to be realistic in the last sdk? |
18:30.45 | *** join/#android loic-pointgphone (n=sexystif@ill67-1-82-231-213-14.fbx.proxad.net) |
18:31.24 | *** join/#android Kriyasurfer (n=Akashakr@dsl027-162-152.atl1.dsl.speakeasy.net) |
18:32.12 | f00f- | not really |
18:32.39 | *** join/#android Dan_U (n=Dan@70-41-192-219.cust.wildblue.net) |
18:35.04 | davidw | jasta, it's probably not really allowed, but have you tried to decompile that stuff, for your own edification? |
18:36.37 | muthu | jasta: how big is the file? |
18:37.28 | jerkface03 | edumacation |
18:38.40 | mike1o | how are we supposed to test out a gtalk app? |
18:39.49 | plusminus_ | are incoming SMS already stored by Android itself ? |
18:40.45 | davidw | mike1o, what do you mean? |
18:41.46 | mike1o | davidw, is gtalk supposed to be realistic in the last sdk? |
18:41.54 | davidw | yeah |
18:42.02 | mike1o | ok |
18:42.25 | plusminus_ | accessing the inbox is not possible, so I am assuming the SMS do not get stored at all |
18:43.18 | mike1o | davidw, in this sdk Ive been having some presence detection problems... whereas with the previous one this didn't occur |
18:44.08 | jasta | davidw: i have, but like i said, the mediaplayer is mostly implemeneted in C/C++. decompiling that would be agonizing. |
18:44.17 | Aetmos | Is there a way to keep whitespace from being trimmed at the end of a string in strings.xml? |
18:44.44 | jasta | muthu: about 7M |
18:47.58 | muthu | jasta: so i tried setting the uri |
18:48.07 | muthu | that did not throw an error |
18:48.53 | muthu | <PROTECTED> |
18:49.03 | davidw | jasta, oh, didn't catch that bit |
18:49.18 | *** join/#android Mathiasdm (n=Mathias@vpnc145.ugent.be) |
18:49.39 | *** part/#android muthu (n=sara@59.92.41.84) |
18:49.54 | plusminus_ | Oh my gosh !!! someone tried to do the following: |
18:50.00 | plusminus_ | .... [img]http://E:\untitled.JPG[/img] |
18:50.44 | plusminus_ | I'm sorry for that guy! |
18:50.45 | Aetmos | :) |
18:54.19 | plusminus_ | anyone knows how to get he currently selected View ? |
18:55.15 | plusminus_ | ... the focused one |
18:57.19 | inZane-_ | getCurrentFocus()? |
18:59.16 | jasta | plusminus_: keep in mind that touch mode won't really have a focused item. |
19:03.02 | jasta | romainguy: the URL form for setDataSource doesn't work either. |
19:03.07 | jasta | throws IOException |
19:04.00 | jasta | it does seem to hit the server, tho. |
19:04.44 | jasta | User-Agent: PVPLAYER 18.07.00.02? wth? :) |
19:04.45 | *** part/#android kurzum (n=opera@chello084112021199.32.11.tuwien.teleweb.at) |
19:06.11 | jasta | whoa wait a minute. this thing is doing something entirely more strange. |
19:06.21 | jasta | err, much more strange :P |
19:06.26 | jasta | much stranger, maybe |
19:06.27 | jasta | hehe |
19:07.30 | jasta | it throws IOException, but keeps the connection open. |
19:08.31 | jasta | then it proceeds to download the entire file |
19:08.40 | jasta | (all after mp.prepare() has thrown IOException) |
19:10.55 | davidw | psycho |
19:10.59 | *** join/#android BiT-QuaKe (i=d@215.Red-83-35-18.dynamicIP.rima-tde.net) |
19:11.25 | davidw | dinner time |
19:13.28 | jasta | i guess it's just time to submit a bug |
19:20.08 | jasta | i am really stuck here |
19:20.18 | jasta | reading through all the bug reports and it looks like these things are just being ignored |
19:20.33 | jasta | i dont know what options i have for the ADC here :\ |
19:20.47 | jasta | i can't just leave it broken, even though it is clearly Android's fault. |
19:26.08 | Aetmos | jasta: post something in the Developer group, and see if you get a response from a Google dev |
19:27.29 | jasta | maybe i'll post a bug then post to android-challenge and just ask wtf i'm supposed to do :) |
19:28.09 | Aetmos | I've had more luck getting responses in the various groups than the bug report form, but yeah, I'd post a bug too |
19:29.41 | *** part/#android skicson (n=Mike_Mac@pool-96-234-164-211.bltmmd.fios.verizon.net) |
19:29.44 | Bonkers | I can tell you that you're not going to get much of a response about the streaming bug right now |
20:01.56 | jasta | i'm more hoping for a sensible work-around |
20:06.37 | Bonkers | I haven't seen one |
20:08.09 | *** part/#android BiT-QuaKe (i=d@215.Red-83-35-18.dynamicIP.rima-tde.net) |
20:10.32 | davidw | jasta, fake it somehow? |
20:10.41 | jasta | right...how? |
20:16.44 | jasta | well it seems that prepareAsync has something to do with this. |
20:16.56 | jasta | perhaps i'm getting somewhere here... |
20:18.11 | jasta | i can get it to download like 7% of the file then it stops? :) |
20:18.21 | jasta | OnBufferingUpdateListener seems to work correctly |
20:18.29 | jasta | but then just mysteriously stops after 7% |
20:18.35 | jasta | and mp.start() doesn't seem to work in any of that. |
20:19.37 | jasta | Sigh. |
20:19.46 | f00f- | problem starting to play it |
20:20.01 | jasta | ? |
20:20.57 | plusminus_ | jasta: Sry I was afk |
20:21.06 | plusminus_ | (related to the focus question) |
20:21.29 | plusminus_ | EditText can have focus (or is it called selection then ?) |
20:23.47 | jasta | what focus question? |
20:23.57 | plusminus_ | mom |
20:24.03 | jasta | what? |
20:24.15 | plusminus_ | mom = "moment" |
20:24.22 | plusminus_ | "anyone knows how to get he currently selected/focused View ?" |
20:24.30 | jasta | i did not ask that question |
20:24.37 | plusminus_ | I did ;) |
20:24.43 | jasta | k? :) |
20:25.33 | plusminus_ | may question is, how to determine the View that is currently selected/focused |
20:25.58 | jasta | oh, i remember, i just told you that you need to be aware that touch mode doesn't have a focused item. |
20:26.06 | plusminus_ | jap |
20:26.08 | jasta | so you may be walking yourself into a design that won't work. |
20:26.23 | jasta | but otherwise, i dont know how to get the focus. |
20:26.37 | plusminus_ | ^^ but if I (actually not me) had a lot of EditTexts (which can get focused).. |
20:26.46 | plusminus_ | kk |
20:27.51 | jasta | lol, my onErrorListener is called on this MediaPlayer test, and I get MEDIA_ERROR_UNKNOWN :) |
20:27.57 | jasta | awesome |
20:28.26 | jasta | i'm beginning to think i should just avoid the MediaPlayer entirely and figure out how to interact with the audio system directly |
20:28.43 | plusminus_ | or wait....................... |
20:30.42 | davidw | this thing is really going to be good when we get to start hacking on it:-) |
20:35.12 | *** join/#android pombreda (n=pombreda@dsl017-042-218.sfo1.dsl.speakeasy.net) |
20:38.27 | jasta | plusminus_: wait for what? my application is a stremaing music player! |
20:43.36 | davidw | ... or not ... |
20:44.17 | davidw | what's it use in terms of the underlying audio system? |
20:45.28 | jasta | davidw: looks like goldfish audio, which would be their own driver :) |
20:45.35 | jasta | so maybe that's not an option |
20:45.42 | jasta | i was hoping it'd be like ALSA or something hehe |
20:45.56 | davidw | you could give it a wav to play and see what it sends out |
20:46.11 | jasta | well i really dont want to go that route ;) |
20:46.25 | jasta | in the change overview i see: |
20:46.26 | davidw | something constant... a nice sine wave |
20:46.30 | jasta | Added support for http streaming of MP4 media. |
20:46.40 | jasta | which kind of tells me they added streaming of only 1 particular format? why? |
20:47.10 | jasta | that makes no sense at all. ogg, for example, lends itself perfectly to streaming. there would be no extr awork to support that. |
20:47.20 | jasta | mp3 not so much, but it can work of course. |
20:47.32 | *** join/#android michaelnovakjr (n=mnovak@204.141.14.156) |
20:47.40 | *** join/#android Zoolooc (n=fredsiba@nrbg-4dbf8f30.pool.einsundeins.de) |
20:48.43 | f00f- | why don't you use what they recommend? instead of trying to prove a point and use Ogg :) |
20:53.10 | jasta | f00f-: I'm not, MP3 doesn't work either. |
20:53.22 | jasta | It seems nothing does, but judging from that comment on the changes overview, MP4 probably does. |
20:54.20 | jasta | But that probalby doesn't work etiher ;) |
21:00.00 | *** join/#android dsm (n=dsm@nat/google/x-0d327ca2ca948a41) |
21:01.16 | *** join/#android krau (n=cktakaha@200.184.118.132) |
21:01.48 | jasta | and even still, MP4 still wouldn't do what i want it seems. |
21:01.58 | jasta | they seem to define streaming *VERY* narrowly, such that it can not work in any useful case. |
21:10.34 | *** join/#android dsm (n=dsm@nat/google/x-fd0676ef3d7bb2ef) |
21:25.34 | *** join/#android jasonchen (n=chatzill@nat/google/x-f8294c3065b7cac6) |
21:26.13 | *** join/#android Kraln (n=Kuja@c-71-61-229-105.hsd1.md.comcast.net) |
21:31.07 | *** join/#android chomchom (n=chomchom@78.32.95.81) |
21:31.14 | chomchom | evening all |
21:31.18 | *** join/#android jasonchen (n=chatzill@nat/google/x-cf94f7c43bf92335) |
21:43.38 | *** join/#android cutmasta (n=cutmasta@ip-78-94-46-184.PH-1211F-BSR64K-03.ish.de) |
21:43.47 | cutmasta | re |
21:43.53 | chomchom | gonna have a nap and then do this android biz. |
22:00.12 | *** join/#android chomchom (n=chomchom@78.32.95.81) |
22:02.59 | *** join/#android jerkface03 (n=jerkface@S0106000d3a2c0806.vc.shawcable.net) |
22:14.25 | *** join/#android Kraln (n=Kuja@c-71-61-229-105.hsd1.md.comcast.net) [NETSPLIT VICTIM] |
22:14.25 | *** join/#android pombreda (n=pombreda@dsl017-042-218.sfo1.dsl.speakeasy.net) [NETSPLIT VICTIM] |
22:14.25 | *** join/#android plusminus_ (i=590e09a2@gateway/web/ajax/mibbit.com/x-c5b5e5f924579e43) [NETSPLIT VICTIM] |
22:14.25 | *** join/#android edcba (i=edcba@nor75-17-82-67-199-204.fbx.proxad.net) [NETSPLIT VICTIM] |
22:14.25 | *** join/#android swetland (n=swetland@sunnyvale.frotz.net) [NETSPLIT VICTIM] |
22:14.25 | *** join/#android thedaniel` (n=daniel@208-78-103-245.slicehost.net) [NETSPLIT VICTIM] |
22:14.25 | *** join/#android meshuga (i=meshuga@c-67-183-112-152.hsd1.wa.comcast.net) [NETSPLIT VICTIM] |
22:14.25 | *** join/#android msbhvn (i=haven@c-67-183-112-152.hsd1.wa.comcast.net) [NETSPLIT VICTIM] |
22:14.54 | plusminus_ | net split |
22:16.33 | *** join/#android illustir (n=alper@s55912056.adsl.wanadoo.nl) |
22:20.00 | *** join/#android kurzum (n=opera@chello084112021199.32.11.tuwien.teleweb.at) |
22:21.59 | *** join/#android javamaniac (n=gerardo@gcuriel.broker.freenet6.net) |
22:42.44 | jasta | screw it, i'll work on other parts of my code tonight :) |
22:42.53 | jasta | i'll just leave the MediaPlayer bits unfinished for now |
22:43.06 | jasta | hopefully it will be permissible to submit with it not working because it's so freaking screwed right now |
22:46.21 | romainguy | jasta: can't you just make it play a dummy local mp3 file? |
23:10.12 | *** join/#android Azalar (n=Azalar@unaffiliated/azalar) |
23:10.13 | jasta | romainguy: sure, but what does that do for me? |
23:10.27 | jasta | so my entire music player can only play 1 dummy mp3? great, how cool. |
23:10.45 | *** join/#android Azalar (n=Azalar@unaffiliated/azalar) |
23:11.43 | jasta | at least i can have it download to cache completely, then play. so you'll have to wait a long time to play a song for the first time. |
23:15.55 | *** join/#android Azalar_ (n=Azalar@unaffiliated/azalar) |
23:17.22 | *** join/#android duey (n=duey@ip-58-28-159-211.static-xdsl.xnet.co.nz) |
23:19.19 | jasta | that is so freaking stupid though |
23:22.22 | romainguy | jasta: I meant for the contest |
23:43.17 | duey | poor jasta |
23:44.05 | *** join/#android duey (n=duey@ip-58-28-159-211.static-xdsl.xnet.co.nz) |
23:51.45 | jerkface03 | what are you whining about? mediaplayer? |
23:55.44 | *** join/#android rch850 (n=rch850@c220090.ppp.asahi-net.or.jp) |