**** BEGIN LOGGING AT Mon Apr 20 02:59:57 2009 Apr 20 04:11:42 anyone know about changing media buttons for the music player? Apr 20 04:11:53 nope Apr 20 04:12:15 i want to switch between play and pause but i cannot figure out the different images Apr 20 04:19:02 anyone know how to programatically add one view as a subview of another? Apr 20 04:23:59 * pjz_ finds ViewGroup.addView()... nevermind. Apr 20 04:42:28 my question is related to this " " the media button has several options but when i use "setimageresource" it removes the pause/play image and leaves a blank button Apr 20 04:45:57 so i have it set to style="@android:style/MediaButton.Play" at first Apr 20 04:46:11 and style="@android:style/MediaButton.Pause" is the pause button, but i cannot switch between them Apr 20 04:50:39 nboody knows? Apr 20 04:59:01 :( Apr 20 05:05:26 my setup is the same as the music player included with android, i cannot find the java file they use to control the buttons :( Apr 20 05:07:35 is what your feeding to setImageResource ok? Apr 20 05:07:52 no i think that is the problem Apr 20 05:08:14 http://pastebin.com/m2525fb98 Apr 20 05:08:41 what this does is make a blank button after i press it the first time Apr 20 05:08:50 and then the play/pause image never returns Apr 20 05:09:12 I've seen setimage resource used like Apr 20 05:09:18 dieImage.setImageResource(R.drawable.dice_1); Apr 20 05:09:39 yea thats if you have the image in your res/drawable folder Apr 20 05:09:41 but i dont have it Apr 20 05:09:42 haven't messed with using a style tho Apr 20 05:10:07 wonder if there's something to use besides setImageResource.. Apr 20 05:10:46 is there a way to search for the .java files that an app uses? Apr 20 05:10:50 hey is a style a drawable? Apr 20 05:10:52 then i could just see what they are doing Apr 20 05:11:12 im going to guess no because it isnt working Apr 20 05:11:21 there's a setImageDrawable Apr 20 05:11:23 * squalus shrugs Apr 20 05:11:36 yeah not sure man Apr 20 05:12:02 No grammar constraints (DTD or XML schema) detected for the document. Apr 20 05:12:07 I'm getting that for one of my layouts Apr 20 05:12:13 but it has the usual stuff Apr 20 05:13:43 starts off with Apr 20 05:13:44 any idea what that's about? Apr 20 05:18:45 nm restarting eclipse fixed Apr 20 05:28:38 anyone used Animations? Apr 20 05:28:45 I'm trying to animate some text on top of another view Apr 20 05:29:02 and ending up animating the other view instead of the text Apr 20 05:31:31 anyone know what the java file is that has the code for the android music player? Apr 20 05:31:55 http://pastebin.ca/1397078 Apr 20 05:32:09 $src/packages/apps/Music/ Apr 20 05:32:40 there are a bunch of java files in there, i cant seem to find the one that controls the buttons/progressbar etc Apr 20 05:33:17 TheiPirate: that's probably spec'd in a .xml resource file, no? Apr 20 05:33:39 the layout is Apr 20 05:34:35 * pjz_ tries to find where he put his android source :) Apr 20 05:42:46 anyone know why http://pastebin.ca/1397078 animates the outer view instead of the textview I pointed it at? Apr 20 06:19:00 anyone know how to get a slidebar or horizontal progress bar to work with a song? Apr 20 06:42:13 Do you have any info about the song? Bit rate and the like ? Apr 20 06:42:56 ok i know how to make it move Apr 20 06:43:01 but how can i make it update continously Apr 20 06:43:28 spawn a service with a worker thread and a call back to the progress bar? Apr 20 06:43:47 Or simply a new thread in the activity which updates the progess bar Apr 20 06:45:37 Not sure if you can use TimerTask 's in android but give that look see Apr 20 07:15:31 ok thanks Apr 20 07:27:41 now i just need the play/pause button to toggle and it will be nice Apr 20 09:36:36 I have 2 Activities A & B. It is possible to go from A to B by an Intent, but also to go from B to A. This could be used for an infinite recursion. What is a good way to prevent it? Apr 20 09:49:09 got it, its android:launchMode="singleTask" Apr 20 10:39:30 anyone know how to setup a contentobserver? Apr 20 10:40:12 no :| Apr 20 10:40:40 i think it is what i need Apr 20 11:43:05 does sqlite3 support regular expressions? Apr 20 11:44:57 need user function Apr 20 11:45:31 :( Apr 20 11:47:20 "The REGEXP operator is a special syntax for the regexp() user function. No regexp() user function is defined by default and so use of the REGEXP operator will normally result in an error message. If a user-defined function named "regexp" is added at run-time, that function will be called in order to implement the REGEXP operator." Apr 20 11:47:58 dunno if android's SQLite interface allows adding your own user functions, though Apr 20 11:48:15 yeah thats what i was worried about Apr 20 11:48:31 havent seen anyone else ask about it Apr 20 12:06:58 argh Apr 20 12:07:01 anyone able to help me :( Apr 20 12:07:19 i need to check for changes in mediaplayer.currenttime Apr 20 12:16:39 regex query? afaik, you'd have to create a function with sqlite3_create_function(), then use your function in a query. But since sqlite3_create_function takes a C style function pointer, I'm not thinking you can do it in android, even if they provided an api for it, which I don't think they do Apr 20 12:17:11 thanks for the explanation Apr 20 12:18:04 sooo, no, don't think you can do a regex... unless you select all your rows into a cursor, iterate the cursor, and run your regex on each column you care about... Apr 20 12:18:39 yeah, i dont htink thats reasonable for acting on all calendar entries Apr 20 12:19:03 guess ill need to do some "smart" filtering and then do that Apr 20 12:19:12 you could chunk it or something.. select a month at at time from the db.. I dunno, something.. Apr 20 12:21:30 perhaps ill open source this Apr 20 12:24:49 that'd be cool -- define the regex function so everyone could just use the REGEXP operator... Apr 20 12:27:03 dammit Apr 20 12:27:15 anyone know about updating a textview Apr 20 12:31:08 whatcha mean Apr 20 12:31:10 .setText()? Apr 20 12:39:17 yea but i need to update it every second Apr 20 12:39:20 for a media player Apr 20 13:06:13 does anyone know how to increase the heap size of an app? Apr 20 13:09:39 i dont think you can Apr 20 13:09:53 what are you doing? running out of memory? Apr 20 13:10:00 yep :( Apr 20 13:10:15 ddms tells me i got a heap of 2.3mb Apr 20 13:10:25 i want more :) Apr 20 13:12:09 how do you figure heapsize out? Apr 20 13:12:22 dammit Apr 20 13:12:39 TheiPirate: I had to update a textview in an app, the way I ended up doing it was with a background thread... something like while (running) postUpdate; sleep (1000); Apr 20 13:13:15 could you put your code on pastebin for me Apr 20 13:13:20 ive spent like 6 hours on this lol Apr 20 13:13:23 open the ddms perspective in eclipse, select your process, activate heap updates in the devices tab, go to the heap tab and click on cause gc Apr 20 13:13:27 mark: that doesnt seem too necessary Apr 20 13:13:31 unfortunately I'm at work Apr 20 13:13:37 oh Apr 20 13:13:43 blau-mikeDG: for mine it seemed to be, I don't know about his situation Apr 20 13:14:08 2.3MB is just not enough for a fullscreen app ... and i thought the g1 got 15mb ram :( Apr 20 13:14:12 if the app isnt running, you dont need to update a edittext Apr 20 13:14:25 and if its running, why do you need a service? Apr 20 13:15:09 i tried to use a thread but it was giving me problems Apr 20 13:15:27 Well in my particular case, the app needed to do stuff over time, whether the user interface was displayed or not. The thread updating the textview only ran while the UI was visible though Apr 20 13:15:59 I would love to hear an alternative though, I don't think its an optimal solution either :) Apr 20 13:16:17 ah ok Apr 20 13:16:56 as long as you are doing something that needs to happen most/all of the time, theres probably not any benefit to changing it Apr 20 13:17:23 any other ideas to load more pngs without running into this outofmemory exception? Apr 20 13:18:54 smaller pngs? Apr 20 13:18:59 is it a game? Apr 20 13:19:05 yep Apr 20 13:19:47 i would be happy with 4-5mb but i dont think i can do it on 2.3 without screwing the presentation Apr 20 13:20:00 i havent really done any games, so ill be helpless Apr 20 13:20:10 here is what i have for my progressbar thread, how could i add the currenttime to it so it would update http://pastebin.com/m7847a8d1 ? Apr 20 13:20:14 :( Apr 20 13:23:52 ? Apr 20 13:24:34 TheiPirate: you may be having problems with threads because UI objects can only be modified by the thread that they are running on (or something to that effect) Apr 20 13:25:03 ok Apr 20 13:25:03 I wrote the code a while ago, but I seem to remember using a Handler to .post() a runnable to the UI thread Apr 20 13:25:13 hm Apr 20 13:25:44 yes you have to post the action on your main thread Apr 20 13:27:22 i can paste some code Apr 20 13:27:40 pls Apr 20 13:27:46 ive been stuck on this forever Apr 20 13:27:53 and it is such a small thing to spend so much time on :( Apr 20 13:29:08 maybe you should get a book... mine explained that quite well Apr 20 13:29:44 they have books already? Apr 20 13:29:52 lol they have books for the pre already Apr 20 13:30:06 http://pastebin.com/m532ad33a Apr 20 13:30:19 see if that helps without any explanation :) Apr 20 13:30:46 http://www.amazon.com/Professional-Android-Application-Development-Programmer/dp/0470344717 Apr 20 13:31:52 blau-mikeDG where would i need to put this code? Apr 20 13:32:05 in the main class? then call run() in the oncreate? Apr 20 13:32:17 the run you dont really need Apr 20 13:32:32 let me look at your code real quick Apr 20 13:34:50 http://code.google.com/p/fluomusic/source/browse/trunk/src/fluo/androidclient/FluoPlayer.java?r=56 Apr 20 13:35:06 the full java file if that helps Apr 20 13:35:39 http://pastebin.com/m587a35ea Apr 20 13:35:42 i tihnk thatll work Apr 20 13:38:50 sleep doesnt work...? Apr 20 13:40:27 sleep is a static function, try Thread.sleep(500) Apr 20 13:41:03 worked ty Apr 20 13:45:15 if i need it to update currenttime what do i add? Apr 20 13:50:10 nm i got it Apr 20 13:50:13 omg finally Apr 20 13:55:29 so you can't release anything you make with 1.5?(legally) Apr 20 13:56:20 also says something about developing for other Java and or Android platforms? Apr 20 13:56:22 interesting Apr 20 14:04:38 why should you release anything... it's not finished yet right? Apr 20 14:33:34 Laserbeak43: what does prerelease sdk have to do with legally releasing your own code? (hint: its not -illegal- to release anything. its at best a contract violation - eg copyright.) Apr 20 14:33:42 unless you live somewhere weird where google makes laws. Apr 20 14:35:52 googleisland Apr 20 14:36:23 grrr Apr 20 14:36:30 anyone know if you can use push_up_in animation in the title bar? Apr 20 14:36:41 trying to update simplecursoradaptor to allow use of colors Apr 20 14:36:54 but the friggen sdk doesnt allow access to the protected member variables Apr 20 14:38:45 you can use reflection Apr 20 14:38:52 and then modify the access level of the variable Apr 20 14:38:58 of course, that way lies madness (and version incompatability) Apr 20 14:46:42 blau-mikeDG, don't do it, vol is mad Apr 20 14:47:31 i havent slept ugh Apr 20 14:48:45 yeah :/ Apr 20 14:49:09 i have enough incompatabilities after simplecursoradaptor decide to use settag on individual listview items on its own Apr 20 14:51:25 Disconnect, ah, that's what i meant Apr 20 14:51:47 alot of witt from you :) Apr 20 14:52:14 Question.. Does it cost more performance to draw a bitmap instead of draw a Drawable? Apr 20 14:52:46 If the drawable is a plain color, definitely. Apr 20 14:54:28 i found out why i run out of memory when allocating bitmaps but its still strange Apr 20 14:55:20 the native android background apps take about 10mb Apr 20 14:56:20 so third party apps get the share the remaining 6mb Apr 20 14:56:51 "remaining 6mb"? Apr 20 14:57:18 its 16mb ram isn't it? Apr 20 14:57:27 jbq: It´s a .png file (A radar with alpha) Apr 20 14:57:57 Since I need to rotate it every frame I dont have a choice right? I cant rotate a Drawable, am I right? Apr 20 14:58:25 192MB in the G1, about 100MB for Android, typically 30+ MB for apps (though it's hard to know what's "apps" and what's not when it comes to RAM). Apr 20 14:58:47 But there's no doubt that apps can easily allocate more than 16MB combined - I've seen the browser get 40MB on its own. Apr 20 14:59:46 wtf Apr 20 15:01:27 ezome: have you been trying in emulator and on device? Apr 20 15:01:46 only on the adp1 Apr 20 15:02:50 seems jbq is right... now i absolutely don't get it why my apps heap is limited to 2.5mb Apr 20 15:03:53 maybe the tool is wrong Apr 20 15:03:59 or you are using it incrrectly? Apr 20 15:04:55 anyways i got 400kb of pngs loaded into ram and another 100kb image is failing with an outofmemory exception Apr 20 15:06:44 how ar ethey loaded into ram? Apr 20 15:07:02 pngs are compressed right? Apr 20 15:07:11 so uncompressed in memory they might be much larger? Apr 20 15:07:16 im not a big graphics guy so shrug Apr 20 15:08:40 yep they are bigger ... but i don't think that 400kb increase to >16mb Apr 20 15:09:13 they are loaded using BitmapFactory.decodeResource Apr 20 15:11:01 its really a memory thing... i just resized that 100kb image to 50kb... now its working Apr 20 15:12:25 i know i manage to crash zygote if i shove a big png into the notification bar Apr 20 15:12:30 or jpg Apr 20 15:13:32 but that's clearly wrong at >200mb ram ... gotta find a way to increase the heap size Apr 20 15:16:08 what would it take to have an app listen on a priviledged port? Apr 20 15:16:20 ezome: what dimensions are you images? Apr 20 15:16:25 *your Apr 20 15:17:03 the roots? Apr 20 15:17:24 most are at screen dimension or less... the one that receives out of memory got 384x256 Apr 20 15:17:45 i want to write a cifs server for android Apr 20 15:17:53 you need the roots to shed the poots Apr 20 15:17:53 maybe i'll have to put it on a different port Apr 20 15:17:56 that would be lame Apr 20 15:18:29 vontrapp: why can't you use the cifs port? Apr 20 15:18:40 becuase it's < 1024 Apr 20 15:18:57 is this enforced by android? Apr 20 15:19:03 well actually, i haven't tried yet Apr 20 15:19:11 i was checking if it would be possible Apr 20 15:19:13 im pretty sure it is Apr 20 15:19:44 so android just doesn't enforce port listenings < 1024? Apr 20 15:20:03 i'm listening, remember, as a server Apr 20 15:21:43 even if it is enforced there should be a clear way to override it... otherwise no third party server apps are supported Apr 20 15:22:02 true... are there third party server apps? Apr 20 15:22:14 * vontrapp can't think of any Apr 20 15:23:44 http://www.cyrket.com/package/org.swiftp Apr 20 15:23:52 ftp server Apr 20 15:24:28 its open source so you may take a look how he gets port 21 Apr 20 15:25:00 cool, thx Apr 20 15:25:11 np Apr 20 15:25:23 ezome: what is the file size of the 384x256 image? Apr 20 15:25:39 102kb Apr 20 15:26:09 I have a 320x480 image that is 224k which loads without any issues Apr 20 15:26:49 do you load multiple images? Apr 20 15:27:05 yes Apr 20 15:27:14 and sound Apr 20 15:27:25 swiftp uses port 2121 by default Apr 20 15:27:27 i get this: Apr 20 15:27:30 221184-byte external allocation too large for this process. Apr 20 15:27:30 221184-byte external allocation too large for this process. Apr 20 15:27:30 Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget Apr 20 15:27:30 at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method) Apr 20 15:27:30 i change it to 21 and i get an error Apr 20 15:27:33 can't open port :( Apr 20 15:28:15 you best take a look at the other server Apr 20 15:33:35 ezome: just fyi I wrote a program that loaded a 2000x2000 ~1MB png and it worked fine, I'm not sure if is the actual file size or the amount of memory you are trying to allocate at once Apr 20 16:00:29 marklar: i guess i found it Apr 20 16:08:46 ezome: what was it? Apr 20 16:09:18 i'll tell you... i'm currently trying to verify it Apr 20 16:09:57 k Apr 20 16:25:18 marklar: i'm still not completely sure what the problem is but i managed to get 2.5mb additional image heap (which is more than i had for all my images before) Apr 20 16:25:57 ezome: How did you manage that? Apr 20 16:27:23 the problem is that you don't seem to get alot of heap in OnCreate... i was allocating all my images in OnCreate. If i allocate them at some later point it works. Apr 20 16:28:00 ezome: ah ok, thanks :) Apr 20 16:28:06 but it still throws at about 4mb heap Apr 20 16:28:13 np Apr 20 16:40:06 try allocating wiwth differen t objects? Apr 20 16:40:52 what do you mean? Apr 20 16:41:16 oh that probably wont work Apr 20 16:41:17 nevermind Apr 20 16:41:23 k :) Apr 20 16:49:27 http://palmwebos.org/2009/04/20/webos-rocks-according-to-devs/ Apr 20 16:50:19 now i just hope that theres somethign as awesome as intents Apr 20 17:00:59 real apps written only with html, javascript and css... hmmm no thanks Apr 20 17:05:18 hi Apr 20 17:06:06 i wrote maven2 plugin for android you can you can use if you want :d http://code.google.com/p/mvndroid/ Apr 20 17:06:21 kibibyte: nice, thanks Apr 20 17:06:47 kibibyte: bravo! Apr 20 17:06:53 :d Apr 20 17:07:00 masa was annoying the crap out of me. Apr 20 17:07:46 kibibyte: want help from a maven commiter? Apr 20 17:08:03 its first version so it can contain some bugs but ill fix them Apr 20 17:08:04 ok i know the android dev site says it's better practice to not hardcode strings and put them in a .xml, but why? Apr 20 17:08:04 :d Apr 20 17:08:18 joakime, what help? Apr 20 17:08:25 i'm sure there's a good reason, i just can't think of it Apr 20 17:08:31 Laserbeak43: localization is a good reason Apr 20 17:08:58 You can have an xml file for each locale/language Apr 20 17:09:01 kibibyte: anything you want. Apr 20 17:09:12 marklar, i see Apr 20 17:09:24 Laserbeak43: personally I just find it easier to manage them in an .xml file Apr 20 17:09:24 joakime, you can test if it works and report bugs or issues:d Apr 20 17:10:15 and if someone wants then he can join project Apr 20 17:11:13 guys small question, what is the performance of the android sqlite database? i'm planning to do something with a database around 1-2 GiB on the SD card, will this peform? anyone tried something like this? Apr 20 17:11:15 marklar, oh, well in that case, it's personal preference, right? Apr 20 17:11:52 Laserbeak43: for me, yes. I think I'm forgetting some other reasons too, the localization is the one that stuck with me Apr 20 17:12:29 marklar, well that IS a good enough reason, thanks Apr 20 17:12:33 np Apr 20 17:27:57 Out-of-the-box, do colors have to be defined with hex(73h 5ux0r)? Apr 20 17:28:16 o_O Apr 20 17:29:15 you don't understand my question? or did my sorry excuse for leet speak piss you off :P Apr 20 17:29:59 you can type names Apr 20 17:30:16 and there are a few standardized ones Apr 20 17:30:45 ok, xml in eclipse doesn't have intellisense does it? Apr 20 17:30:52 at least not for android projects? Apr 20 17:30:52 if you want to specify something fancy though, you have to give it the red/green/blue, and i don't know that it takes any format other than HTML-style for that Apr 20 17:31:08 the android xml editor in eclipse seems to really really really suck Apr 20 17:31:11 anything you can do in XML can also be done in java Apr 20 17:31:30 but it does have some sort of "intelligent" editing, though i've found it to be more annoying most of the time Apr 20 17:31:45 yes i know, but the android dev site is encouraging xml for UI design Apr 20 17:31:57 i see Apr 20 17:32:36 pjz_, which means i'm a noob doing as told :P Apr 20 17:34:29 Anyone know how to revert to a revision when using terminal on a Mac Apr 20 17:34:54 svn revert Apr 20 17:35:10 more? Apr 20 17:35:26 svn revert path_to Apr 20 17:35:29 thats :) Apr 20 17:35:54 hmm, revision nr also? :) Apr 20 17:35:55 even simpler option than asking here - Apr 20 17:36:01 man svn Apr 20 17:36:47 have tried everything but still doesnt work .. nvm Apr 20 17:54:50 lazyidiot: did he ever say he was using svn? :) Apr 20 17:55:08 Laserbeak43: I suppose. doesn't work so well for games and other customish stuff, though. Apr 20 17:55:21 yeah Apr 20 17:55:22 pjz_: why not? Apr 20 17:55:25 in the other channel. Apr 20 17:55:39 at #android :) Apr 20 18:13:00 marklar: well, how do you use xml to lay out, say, snake ? Apr 20 18:13:34 pjz_: I would derive surfaceview and then declare that in the xml Apr 20 18:13:38 then draw to that Apr 20 18:14:01 I actually wrote a pong game that way, but for all I know that could be a horrible way of doing it Apr 20 18:14:18 Small question do you think it is advisable to use the sqlite database for something like the openstreetmap database for route calculation? :D Apr 20 18:14:37 Or would it probably fail, because the database would get too big? Apr 20 18:15:01 marklar: hrm, interesting. Not how the example LunarLander stuff works. Apr 20 18:15:23 pjz_: I'll have to take a look at that. They do it all programmatically? Apr 20 18:15:59 marklar: yeah. They resource some strings and bitmaps, but the layout and drawing is all programmatic Apr 20 18:16:14 pjz_: cool I'll check it out, thanks for the info Apr 20 18:16:30 marklar: not that that makes what you said wrong - the earliest examples of LunarLander did nasty things for screen updates too Apr 20 18:16:48 I wouldn't setup a game using xml Apr 20 18:16:56 from a layout perspective Apr 20 18:17:13 pjz_: yeah, it worked, so it seemed right :) Apr 20 18:17:19 jt436: how come? Apr 20 18:18:26 Use a SurfaceView and control everything yourself, the xml approach is great for menu UI but not when everything is constantly moving on-screen Apr 20 18:18:38 jt436: well, he's got a bit of a point: if the game is in a kind of subframe, it might be worthwhile - would make laying out stuff outside that subframe more customizable Apr 20 18:18:52 yeah, I think I'm just looking at it differently Apr 20 18:18:56 pjz_: true Apr 20 18:18:59 what I meant is I laid out my surfaceview in xml Apr 20 18:19:04 then did all the drawing to it Apr 20 18:19:09 menu etc Apr 20 18:19:24 If you don't need to use the entire screen for drawing Apr 20 18:19:39 thanks for the info guys Apr 20 18:19:49 I'm thinking of maybe a game like nethack which has a graphics pane and then a bunch of text stuff on the side; the graphics bit could/should be a surfaceview that's part of the grand layout stuff Apr 20 18:20:19 FWIW, i draw on the entire screen in my android game Apr 20 18:20:31 http://polyfall.com/ Apr 20 19:31:44 anyone got probleme with the pre-1.5 Apr 20 19:31:46 ? Apr 20 19:32:15 my eclipse "software update" seem ok but the damn thing tell me it need the ADT0.9 Apr 20 19:36:20 #4 If an update for ADT is available, select it and click Finish. Apr 20 19:36:23 IF not? Apr 20 19:48:12 Guest1984: you have to d/l ADP 0.9 Apr 20 19:48:16 ADT* Apr 20 19:48:26 and install it from a "local site" Apr 20 19:49:01 yeah got it working from the archive Apr 20 19:49:19 I guess putting all this in the doc would have been too m Apr 20 19:49:25 much effort /%"/$/" Apr 20 19:49:36 nearly lost two hour with this :( Apr 20 19:50:00 at least now i got it running and I can now finaly start working :S Apr 20 19:50:21 Guest1984: it's pretty clear on the d/l page Apr 20 19:50:47 the instruction for: Eclipse 3.4 (Ganymede) Apr 20 19:50:49 ? Apr 20 19:50:57 http://developer.android.com/sdk/preview/ Apr 20 19:51:46 damn i used the one provided in the archive... Apr 20 19:52:02 the one WITHOUT this: Select Help > Software Updates. Select the Available Software tab and click Add Site. Then click Archive and select the ADT zip file ("ADT-0.9_pre.zip"). Apr 20 19:52:43 :) Apr 20 19:53:17 i was affraid to follow the instruction online, if I see a other 404 NOT FOUND i think I'm going to get a strike Apr 20 19:53:19 :P Apr 20 19:54:35 yeah my app is running no major refactoring needed Apr 20 19:55:15 argg #eeFFFFFF (1.5) != #eeFFFFFF (1.1) Apr 20 19:55:37 why? Apr 20 19:55:51 I dont know some of my layer are no longer transparent Apr 20 19:56:20 and that's really ugly sniff Apr 20 20:00:53 Did you get the Eclipse is loading framework information and the layout library from the sdk folder? Apr 20 20:01:02 the visual editor is stuck on this Apr 20 20:02:18 never seen that Apr 20 20:02:38 I guess it's the murphy law party tonight Apr 20 20:02:59 you are on windows? Apr 20 20:03:28 no Apr 20 20:16:09 I should know that this preview was a trap Apr 20 20:16:35 loveForGoogleAndroid--; Apr 20 20:47:11 hello, I get this error when create a android project in eclipse: "ping usage server failed" Apr 20 20:47:29 and eclipse said me to close Apr 20 20:48:01 I use ubuntu jaunty, openjdk and 1.5 sdk Apr 20 20:48:28 welcome in hell Apr 20 20:49:07 I'm re installing everything from scratch right now... I'm on ubuntu also in few min I'll check if I have the same prob Apr 20 20:54:57 hurray... the layout viewer work now... Apr 20 20:55:13 next step was installing the apple sdk :P Apr 20 20:55:59 I already reinstall all the stuff and the problem persist :( Apr 20 21:03:11 which eclipse did you use? Apr 20 21:03:43 try to use jdk6 the sun release not the open one Apr 20 21:04:02 nevermind im on : Quiziwiki.org Apr 20 21:04:03 oups Apr 20 21:04:06 OpenJDK Server VM (build 1.6.0_0-b12, mixed mode) Apr 20 21:13:45 Grr. I'm trying to set up an Intent Filter to handle a custom URI Apr 20 21:14:04 I have action.intent.action.VIEW as an action, action.intent.category.BROWSEABLE as the category Apr 20 21:14:17 and a data tag with "foo" as the scheme Apr 20 21:14:32 I set up a webpage with tag Apr 20 21:15:00 I/ActivityManager( 47): Starting activity: Intent { action=android.intent.action.VIEW categories={android.intent.category.BROWSABLE} data=foo://something/here } Apr 20 21:15:09 unfortunately, it doesn't seem to hit my activity Apr 20 21:16:32 paste the filter? Apr 20 21:17:04 ffffffffff Apr 20 21:17:07 I think I didn't save. Apr 20 21:17:15 one sec Apr 20 21:20:08 hey Apr 20 21:20:31 hmm, ok, found something I missed in the logcat output Apr 20 21:20:40 W/IntentResolver( 47): resolveIntent failed: found match, but none with Intent.CATEGORY_DEFAULT Apr 20 21:23:17 ha Apr 20 21:23:19 there we go Apr 20 21:23:34 adding category_default to the intent filter handles it correctly Apr 20 21:24:23 you getting that from the Browser app or a WebView? Apr 20 21:24:38 browser Apr 20 21:24:41 haven't tried a webview Apr 20 21:24:46 cool, just curous Apr 20 21:24:49 this is actually going to be called out of an email Apr 20 21:37:51 anyone know how to make one colour of a bitmap transparent, i actually found a method on the forums that looks perfect but it has no effect seemingly http://groups.google.com/group/android-developers/browse_thread/thread/7a157c6a3b77f068/4888b17136e1763c?lnk=raot