**** BEGIN LOGGING AT Thu Apr 16 02:59:57 2009 Apr 16 03:06:18 this is super old Apr 16 03:06:18 http://whyandroid.com/android/92-android-tutorial-3-custom-media-streaming-with-mediaplayer.html Apr 16 03:06:22 but it might be helpful still Apr 16 03:13:09 thanks, i found it before and it does download but for some reason i cannot hear the music Apr 16 03:18:47 Did you make sure the volume/volume-stream is correct? Apr 16 03:19:00 (since mediaplayer lets you choose which stream) Apr 16 03:19:02 yes, i checked the URL with a browser Apr 16 03:19:54 on a similar note, does anyone here have the full android source? im trying to find the music source code Apr 16 03:21:06 android.git.kernel.org Apr 16 03:22:26 i have windows... and limited bandwidth ( i cant download 2gbs) is there a way to get it? Apr 16 03:23:42 You can view individual files Apr 16 03:23:45 from the URL I sent Apr 16 03:23:57 You can browse the source from there Apr 16 03:24:15 i see this http://android.git.kernel.org/?p=platform/packages/apps/Music.git;a=summary Apr 16 03:24:31 press Tree Apr 16 03:24:38 ah ok thanks Apr 16 03:24:44 np Apr 16 03:25:08 and instead of looking at each file and downloading manually can i download the group Apr 16 03:25:12 sry for so many questions Apr 16 03:26:35 I'm not sure if you can download the group Apr 16 03:26:54 I suspect not from that UI Apr 16 03:27:01 you probably need some GIT program Apr 16 03:28:53 ok Apr 16 03:28:56 thanks again Apr 16 03:56:03 i got the music tree but it doesnt seem to be able to run on its own, im not sure if there is a small change i need to make or if it isn't runnable on its own? Apr 16 04:34:25 anyone know where the layout file is for the music player? the 3 buttons and progress bar with #s Apr 16 04:43:47 hello... wondering if anyone can help me figure out an error Apr 16 04:43:59 im trying to do a sql insert statement: Apr 16 04:44:06 myDB.execSQL("INSERT INTO OwnedStock (stocksymbol, quantity, price) VALUES ('"+s.getSymbol()+"', "+s.getQuantity()+", "+s.getCurrentPrice()+");"); Apr 16 04:44:20 it's throwing a SQLException... anyone have any idea why? Apr 16 04:58:11 Can anyone here explain how to run functional testing in Android? I need to write a test suite that can span multiple activities that interact with one another Apr 16 05:05:21 i am trying to put the play buttons etc below the list, anyone know why this isnt working? http://pastebin.com/m2889be67 Apr 16 05:06:38 So I'm pretty sure I found a bug in the Debug Helper Apr 16 05:06:42 For opengl Apr 16 05:32:47 hm i got it lol Apr 16 05:49:54 hmm anybody see anything wrong with this: Apr 16 05:49:55 myDB.execSQL("INSERT INTO (WatchSymbol) WatchedStock ('GOOG');"); Apr 16 05:50:16 or this for that matter: Apr 16 05:50:24 myDB.execSQL("INSERT INTO WatchedStock ('GOOG');"); Apr 16 05:50:38 both are throwing SQLExceptions Apr 16 06:02:16 Is there perhaps a way to get a path from a string in Android? Apr 16 06:06:57 i am getting this error "Your content must have a ListView whose id attribute is 'android.R.id.list'" Apr 16 06:25:54 im trying to make a list with a specific look to it Apr 16 06:25:58 i cannot figure it out :( Apr 16 06:26:24 http://pastebin.com/m611ba8d2 Apr 16 06:32:48 TheiPirate: Apr 16 06:32:53 why do you have stuff in the list? Apr 16 06:33:12 csvy im trying to copy the look of the music playlist Apr 16 06:33:13 (in the ListView element) Apr 16 06:33:32 so i want the "style" for each listed item to look a specific way Apr 16 06:34:20 That's not how you do it Apr 16 06:34:28 At least that isn't how I do it Apr 16 06:34:32 I don't think that works Apr 16 06:34:34 how do you do it Apr 16 06:34:35 try removing that first Apr 16 06:34:37 and see it works Apr 16 06:34:41 then I'll explain how Apr 16 06:34:41 yea it doesnt work it gives me an error lol Apr 16 06:34:54 ok Apr 16 06:34:54 same error? Apr 16 06:34:54 about the id? Apr 16 06:35:08 if i remove all of it? Apr 16 06:35:23 remove everything inside the ListView tags Apr 16 06:35:32 ok Apr 16 06:35:49 does it work now with that ID error? Apr 16 06:36:10 it works no error, but the style is not there Apr 16 06:36:23 hey Apr 16 06:36:23 just a string on each line Apr 16 06:36:26 anoyone here? Apr 16 06:36:39 i've got a quick question Apr 16 06:37:03 would it be possible for someone to cross-compile ncurses and then midnight commander for android? Apr 16 06:37:23 TheiPirate: ok, so now I'll explain how to make the custom view Apr 16 06:37:28 ok Apr 16 06:37:34 First off, put the stuff you had in there into a new xml file Apr 16 06:38:05 ok Apr 16 06:38:18 now, how are you putting the data into the view? Apr 16 06:38:21 what kind of adapter? Apr 16 06:38:42 HEY! are you the same csvy who's making the OIB app? Apr 16 06:39:03 yes Apr 16 06:39:07 lol Apr 16 06:39:10 hows it goin? Apr 16 06:39:32 I've got almost everything working that I plan for v1 (so everything but writing emails) Apr 16 06:39:58 csvy what do you mean Apr 16 06:40:06 The only thing that I still have to fix is make it so individual folders have different buttons (ex: when in deleted, you can't delete, instead you move to inbox) Apr 16 06:40:16 what is your code to insert data into list Apr 16 06:40:26 (java, not xml) Apr 16 06:40:44 you have to specify in that what xml file to use for each list item Apr 16 06:40:55 for (int i = 0; i < 25; i++) { songs.add("song name"); } Apr 16 06:41:18 im testing for now... Apr 16 06:41:39 but what do you do with songs then Apr 16 06:41:43 (the variable) Apr 16 06:41:49 just list them Apr 16 06:41:52 at some point you have setListAdapter Apr 16 06:41:58 what do you set the adapter to? Apr 16 06:42:29 http://pastebin.com/m113d92a4 Apr 16 06:43:04 oh Apr 16 06:43:52 so each will have the layout of song_item.xml ? Apr 16 06:43:53 you want this consturctor Apr 16 06:43:54 ArrayAdapter(Context context, int resource, int textViewResourceId, T[] objects) Apr 16 06:44:05 resource is your xml file Apr 16 06:44:10 textviewresourceid Apr 16 06:44:30 is the R.layout.???? Apr 16 06:44:36 which is the ID of the textview Apr 16 06:44:38 in yoru xml file Apr 16 06:44:43 that you want the song title to go in Apr 16 06:45:29 in "song_item.xml" i put the RelativeLayout stuff i had in the pastebin i showed before Apr 16 06:45:41 so i need to add textview? Apr 16 06:46:01 you probably include one Apr 16 06:46:02 Apr 16 06:46:05 in that? Apr 16 06:46:12 yes Apr 16 06:46:16 somewhere there has to be a textview for the song title to go in Apr 16 06:46:25 and you just have to tell android the ID of that textview Apr 16 06:46:38 so it knows where to put the song title Apr 16 06:48:52 ok im tryin to figure it out Apr 16 06:51:26 I'm going to go to sleep in 10 minutes, how is it going? Apr 16 06:52:19 the song_common is from androids music http://pastebin.com/m274da306 Apr 16 06:52:29 i'm not sure if this is the correct one for the song listing Apr 16 06:53:55 I looks right Apr 16 06:54:09 you probably want R.layout.line1 Apr 16 06:54:11 as the textbox Apr 16 06:54:14 ok Apr 16 06:55:22 ArrayAdapter songList = new ArrayAdapter(this,R.layout.song_item, R.layout.song_common.line1,songs); Apr 16 06:56:41 the R.layout.song_commaon.line1 is red Apr 16 06:57:03 "does not have a field line1" Apr 16 06:59:19 didnt work Apr 16 06:59:30 you don't want the song_common part Apr 16 06:59:37 just R.layout.line1 Apr 16 06:59:40 I think Apr 16 06:59:55 it doesnt exist Apr 16 07:00:11 is the song_common xml there? Apr 16 07:00:14 in your app? Apr 16 07:00:24 not in the java Apr 16 07:00:59 it is included in song_item Apr 16 07:01:12 and song_item has the relativelayout Apr 16 07:03:09 oh! Apr 16 07:03:10 sorry Apr 16 07:03:15 I'm being stupid Apr 16 07:03:17 its R.id Apr 16 07:03:19 not R.layout Apr 16 07:03:29 R.layout refers to Xml files, R.id refers to stuff in them Apr 16 07:05:04 it crashed still let me check error Apr 16 07:07:03 weird error Apr 16 07:07:07 it is long Apr 16 07:07:11 ill try to figure it out on my own Apr 16 07:07:16 thanks for your help though Apr 16 07:08:01 if you give the beginning of the error, I can give you a step in the right direction then go to bed Apr 16 07:08:26 oh Apr 16 07:08:29 nevermind it works! Apr 16 07:08:34 awesome thank you Apr 16 07:08:45 excellent Apr 16 07:08:47 i removed the r.layout on accident Apr 16 07:08:48 g'night Apr 16 07:08:51 ah Apr 16 07:08:51 i need sleep lol Apr 16 07:08:54 night Apr 16 07:08:55 same Apr 16 07:08:57 bye Apr 16 09:08:52 hi, is it possible to give reflection to imageview ? Apr 16 09:23:56 any body there? Apr 16 09:27:26 hey guys i have a menu item i've set up with setCheckable(true) then setChecked(true) still when the menu is displayed there is no checkmark or whatever to know if it's been checked, what did i forget? Apr 16 09:32:48 hello. how do i browse the git repo/branch for 1.5? specifically i found http://android.git.kernel.org/?p=platform/packages/providers/TelephonyProvider.git;a=blob;f=src/com/android/providers/telephony/MmsSmsProvider.java;h=b27e33229ee2769c70bbfe6b9a757d562a9e6f34;hb=HEAD Apr 16 09:33:04 and i am wondering if this is in 1.5? i need to read MMS :/ Apr 16 09:51:24 mhh, can i send mms to the emulator somehow? Apr 16 09:53:01 I'm trying to get the G1 web browser to load a different css file by using the "handheld" media type. Ie, I have both of these in the head of my html: Apr 16 09:53:05 Apr 16 09:53:09 It doesn't work Apr 16 09:53:27 How do I do that then? Why doesn't the browser support the handheld media type for css? Apr 16 09:53:46 I tailed the logs, and it's not even requesting the handheld.css file, just the index.css one Apr 16 09:57:24 Can OpenGL methods be called from a separate thread? Apr 16 10:54:45 grrror Apr 16 10:55:05 anyone using blutetooth on that htc magic build? Apr 16 11:58:38 if I wanna rotate a bitmap around a special pivot (not [0,0] ), how do I do that? Apr 16 12:04:57 you can translate and then rotate Apr 16 13:06:13 is there a way to get the currently shown notifications? Apr 16 13:06:21 or to listen for notifications that are send to the system? Apr 16 13:40:38 hi ... how I can install an application from market on an android emulator compiled from source?. Apr 16 13:41:52 You can't. Apr 16 13:43:04 jbq: ah, veeeery interesting ... someone know why? Apr 16 13:43:17 Because market isn't available for the emulator Apr 16 13:43:36 (it's not part of the open-source tree and not part of the SDK) Apr 16 13:44:11 so if I'm testing an application that ask to install the FreeTTS from market, I'm unable to get it Apr 16 13:45:26 my relation about android an it's openess is getting worse ... bah Apr 16 13:45:36 *report Apr 16 13:46:28 An open system doesn't guarantee that every app on it is open-source or available everywhere. Even if Android was Free Software that still wouldn't be guaranteed. Apr 16 13:48:45 Still, the point about market on the emulator is reasonable, I'll bring it up. Apr 16 13:48:50 jbq: the confusion usually stems from "android is open! android market is closed!" you wouldn't get half the crap if it was "google market for android" or "google market" .. people bitch about gmail but nobody -really- expects it to be open. Apr 16 13:49:06 Disconnect: yup, agreed. Apr 16 13:49:32 (unlocking the android branding would also solve it, but at the great detriment of the platform :) ..) Apr 16 13:49:33 Another good point that I'll bring up, though I expect deaf ears here. Apr 16 13:49:56 jbq Disconnect : yes, you are right. I understand the reason why maps api aren't open, why radio support isn't open and so on but market just dissappoint me .. Apr 16 13:49:57 yah. end users aren't asking, end users don't know/care. Apr 16 13:51:00 * Disconnect has to go to the dc to switch out a 100 meg unmanaged saturated switch. with our filers -and- the big db all plugged into it. whee. (cuz "we have this network contention i can't figure out" nobody thought to mention the antique 100bT switch that was running as a core piece of infrastructure. cuz "it has a gig uplink so it should be fine"...sighghh.) Apr 16 13:51:04 But I agree that out of all the non-open Google apps running on Android, Market is by far the one that causes the most confusion about openness. Apr 16 13:52:07 having it as the huge centerpiece on android.com doesn't help either Apr 16 13:54:47 I hope google give access us to market when my company will decide to lift up the phone and make a call ....... Apr 16 13:55:18 It'd be a very interesting project to have an open-source market "shell" as part of AOSP, where the Google-specific part is just a back-end that follows a specified API (and can live side-by-side with other back-ends) Apr 16 13:56:41 Note: if the application you care about isn't copy-protected, there's no protection that prevents you from, well, copying it. I'm not saying that you should, just that there's no technology in place to prevent it. Apr 16 13:57:09 write your own version of the app! Apr 16 13:57:18 I suppose free-tts means the name it has Apr 16 13:57:56 or if, as usual, word are only a sequence of chars without importance Apr 16 13:59:01 jbq: why isnt the gmail app open source? Apr 16 13:59:34 blau-mikeDG: apis closeness, as usual Apr 16 13:59:36 the roprietary crap should be seperate Apr 16 13:59:50 blau-mikeDG: as far as I know the reasons are non-technical, which means "I don't want to know and I probably wouldn't understand anyway". Apr 16 13:59:55 heh Apr 16 14:00:09 economic reasons, gentlemans Apr 16 14:00:18 *men Apr 16 14:00:21 id like to make my own gmail client Apr 16 14:00:28 but would prefer not to thave to start from scratch Apr 16 14:00:30 we have open-source apps in AOSP that use non-open APIs (e.g. browser). It sucks, but it's not a showstopper. Apr 16 14:00:40 all i want to do is add a one line preview for each item Apr 16 14:00:41 if it was open source on any platform i'd be more concerned. now, the fact that its installable on everything -except- google's "flagship" phone platform is pretty funny, and the lack of comparable features is downright hysterical. Apr 16 14:00:46 like on the web view Apr 16 14:01:18 blau-mikeDG: submit a bug. fwiw the magic build is a lot nicer, and even allows for multiple selects. Apr 16 14:01:38 yeah im using the magic build Apr 16 14:01:42 it tries to add a preview Apr 16 14:02:07 but the longest preview I'm able to see is "ah- found out why" Apr 16 14:02:22 because they put the preview on the same line as the subject, checkbox, and fav star Apr 16 14:02:25 doh Apr 16 14:02:42 so unless you get emails without subject its worthless Apr 16 14:02:59 autorotate is somewhat fail right now too. and i need to look into what changed that broke half of the 'toggle settings' settings (eg brightness - it sets, as in the stock app changes to match, but it doesn't activate the new setting.) Apr 16 14:03:12 anyway, for who is interested FreeTTS is on sourceforge Apr 16 14:03:24 toggle settings probably had bluetooth die too and gps? Apr 16 14:03:42 bluetooth i figured out how to fix, gps not yet, at leaast in my implementations Apr 16 14:04:23 network assist works but i'm indoors, so a proper fix is unlikely Apr 16 14:04:31 or oyu mean the toggles? haven't tried them. Apr 16 14:04:35 toggles Apr 16 14:04:41 lemme try Apr 16 14:04:47 i have additional issues with bluetooth on the magic build :( Apr 16 14:05:01 at least on my bluetooth gps, sound continues to come out of my phone Apr 16 14:05:05 it takes forever but it seems to be coming on Apr 16 14:05:09 even though it says its connected and i dial from the gps Apr 16 14:05:18 icon showed up although its still saying 'turning on' Apr 16 14:05:21 um. dial from the gps? Apr 16 14:05:28 my gps unit Apr 16 14:05:33 has dialing capabilities Apr 16 14:05:45 when connected to a bluetooth phone Apr 16 14:05:56 i just cant get audio to com eout of it since moving to the magic build Apr 16 14:05:59 fun Apr 16 14:06:15 since i can dial i know its connecting and communicating Apr 16 14:06:20 but all sound still comes out of the phone Apr 16 14:06:55 you could file bugs but they don't want actual testers, so.. Apr 16 14:07:31 you'll just get tate saying "its not the absolute newest cuz i checked in a comment change 5 mins ago so it is guaranteed to be out of date" and romain screaming 'thief! thief!' :) Apr 16 14:07:47 lol Apr 16 14:12:06 anyway off to pull that stupid switch out. hope we don't go down :) Apr 16 17:24:21 Does anyone know the story on GoogleLoginService? I can see in the unit test code that account are read and written there but com.google.android.googleapps.GoogleLoginService seems to be missing from my build. Apr 16 17:25:49 Some things just don't work if there are no accounts? Apr 16 18:06:45 no takers I guess Apr 16 18:08:46 sorry Apr 16 18:17:58 does anyone know if it's possible to insert menu-item into another app's menu? Apr 16 18:25:07 guess no one in the room right now Apr 16 18:26:40 well, i suspect it's either impossible or difficult, but don't know for sure. Apr 16 18:27:11 apps all run in their own processes, etc Apr 16 18:30:13 chouman82, do you control code of both apps? Apr 16 18:31:00 ^^ Apr 16 18:37:32 DO NOT ADJUST YOUR SET Apr 16 18:37:37 WE CONTROL THE VERTICAL Apr 16 18:56:55 o_O Apr 16 20:03:53 mhh.. how can i start the MMS app with an Intent? :o Apr 16 20:05:03 if you just want to start it (like pressing the icon) then just look at the Intent used in ddms when you press the icon Apr 16 20:05:55 is there a way to change color of clicked button from default orange to some other? Apr 16 20:06:45 thx Apr 16 20:10:40 Mark67: setBackground Apr 16 20:10:56 and gotta set it to a StateListDrawable...which you can define in XML Apr 16 20:11:01 or in code Apr 16 20:11:09 xml is easiest unless you are doing it at runtime Apr 16 20:16:56 what do you want to do ith mmns app\ Apr 16 20:33:33 annndd, next question, hopefully the last :) Can i set the style/theme of a widget in programcode? that is, i want the user to choose between styles Apr 16 20:34:03 buster: I've been trying to figure that out also... Apr 16 20:34:11 have you figured out how to set it up in xml? Apr 16 20:36:30 not for widgets Apr 16 20:37:10 yeah, I haven't figured out how to apply a theme to a widget Apr 16 20:39:37 mh.. no clue Apr 16 20:39:58 i guess it's up to the widget container and out of scope for the widget itself :( Apr 16 20:40:09 yeah Apr 16 20:40:16 meh Apr 16 20:40:38 just a pain, because I use themes a lot...so just going to be a lot of inline attributes in the widget's layout Apr 16 20:41:48 i don't quite get why the drawing, inflating etc. i sdone elsewhere. it would have been really cool to have all the "normal" methods i have in applications Apr 16 20:42:05 thoset setXXXX things.. are just not the same ;p Apr 16 20:42:23 security Apr 16 20:42:50 the widget's live in another process...so any code you executed in a widget would run in the other process Apr 16 20:43:08 which means you have all the same permissions as the host process, and probably all sorts of other bad things Apr 16 20:45:27 thats just a question where you put the boundary. the container could as well just ask the widget for a drawable and let the inflating be handled by the widget? that may be oversimplified, i'm absolutely tired.. Apr 16 20:46:00 I think they did a good job, I just wish RemoteView would support EditText Apr 16 20:46:22 RemoteViews should also support themes Apr 16 20:46:34 zhobbs: widgets are just remoteviews? Apr 16 20:46:50 si Apr 16 20:47:00 how does google make the search bar widget then? Apr 16 20:47:13 hard coded into Launcher Apr 16 20:47:30 you were asking about buttons in RemoteViews...you can do that now Apr 16 20:47:42 oooo yay Apr 16 20:47:51 badump dump dump Apr 16 20:47:56 you can attach a PendingIntent to a button Apr 16 20:48:08 awesome possum Apr 16 20:48:14 dgquickcut for the win! Apr 16 20:48:20 yeah, that'll be cool Apr 16 20:48:43 instead of having different actions on different rows, have one row with multiple buttons Apr 16 20:49:00 could just have a toggle row to toggle wifi, gps, etc Apr 16 20:49:07 yeah Apr 16 20:49:39 i gotta play with them now Apr 16 20:56:23 widgets aren't "just" RemoteViews, but they are certainly built on top of them Apr 16 20:59:10 they use RemoteViews Apr 16 20:59:23 and if RemoteViews can't do it, then a Widget can't do it Apr 16 21:17:08 hey how do i do percentage widths Apr 16 21:17:13 i thought it was like 33%p Apr 16 21:19:02 perhaps i dreamed it Apr 16 21:43:37 having a bitch of a time debugging a layout inflation issue, is this the right place to ask? Apr 16 21:45:45 zhobbs!!!!! Apr 16 21:45:47 yeah Apr 16 21:45:58 i got a button in the remote view, but i cant click it Apr 16 21:46:05 it always triggers the pending intent from the notification Apr 16 21:50:29 doh Apr 16 21:50:48 ty88: yeah, not much info for debugging those Apr 16 21:51:07 blau-mikeDG: does the button change colors like it was clicked? Apr 16 21:52:08 nope Apr 16 21:52:25 should it? Apr 16 21:53:04 hmm Apr 16 21:53:15 did you get it working or just are aware of it? Apr 16 21:53:28 blau-mikeDG: I've gotten it working in a widget Apr 16 21:53:45 try to setfucusable to true Apr 16 21:54:28 trying Apr 16 21:55:03 no dice Apr 16 21:55:26 doh Apr 16 21:55:55 not sure where that notification area is rendered in the source Apr 16 21:55:58 you ruined my hopes and dreams you nub Apr 16 21:56:08 would be interested to see what's going on there... Apr 16 21:56:19 hehe...got your hopes up and smashed them Apr 16 21:56:57 i quit Apr 16 21:57:12 im going to iphone Apr 16 21:58:21 no notification bar at all there... Apr 16 21:58:32 until i make it! Apr 16 21:58:51 ill make a plugin keyboard that attaches to the botto Apr 16 21:58:53 m Apr 16 21:58:58 and then use it to launch a notification bar Apr 16 22:00:02 ill probably jump to pre unless i get the iphone job Apr 16 22:00:29 or depending on how technology oriented this place is maybe i could turn it into an android phone Apr 16 22:03:02 speaking of layouts... Apr 16 22:03:22 if i want to put a button below my ListView, what's the best way to do that? Apr 16 22:03:45 the button should be on screen all the time. when i use linearlayout, the button gets pushed offscreen with a long list Apr 16 22:03:57 relativelayout is either not working for me, or i'm not using it right Apr 16 22:04:13 alignparentbottom = true? Apr 16 22:04:33 how do you want it to work Apr 16 22:04:39 like a toolbar at the bottom thats always visible? Apr 16 22:04:44 or a toolbar that scrolls off? Apr 16 22:05:00 no, always visible. basically an Apply/Cancel button toolbar Apr 16 22:05:40 alignparentbottom sounds like it has potential. So relativelayout with the alignparentbottom on the buttontoolbar? and what layout_height do i set for the listview? Apr 16 22:06:14 wrap_content Apr 16 22:06:20 and put it after the button Apr 16 22:06:55 fil_parent will work too, i dont think it really matters if its the only other item there Apr 16 22:07:29 ill pastebin how i do a toolbar Apr 16 22:07:47 its a little sloppy and uses a custom view, but youll get the idea Apr 16 22:07:47 fantastic, thanks blau-mikeDG Apr 16 22:08:02 http://pastebin.com/m3368d5aa Apr 16 22:08:17 btw, control + shift + f auto formats the xml files! Apr 16 22:08:26 noone seems to know that but its reallly nice Apr 16 22:08:51 the key spots are the linearlayout named button layout Apr 16 22:08:57 holy crap! loving cmd-shift-F Apr 16 22:08:58 and you can replace the scrollview with your listview Apr 16 22:09:11 although it inlines all the attributes, which makes them a little hard to read Apr 16 22:09:18 it works in code too, but make sure you set the formatting preferences Apr 16 22:09:29 emmby: there might be some more prefs to change to fix that Apr 16 22:09:34 i know mine makes it very readable Apr 16 22:09:40 im assuming you mean it pushed everything on one line? Apr 16 22:10:11 pushed everything onto one line with line wrapping Apr 16 22:10:43 play around with windows -> preferences then click java, code style, formatter Apr 16 22:10:52 i think that must apply to xml as well, no idea though Apr 16 22:11:05 what i pasted on pastebin is what the formatter did basically on my settings Apr 16 22:11:26 hmm i have line width = 500 for java, so its probably not that for xml Apr 16 22:12:07 try windows - > preferences then Web and XML, XML Files, Source Apr 16 22:12:10 shouuld have an option there Apr 16 22:12:11 btw thanks for the tips with the relativelayout. As you suggest I moved ListView to below my toolbar in the xml, and it worked great Apr 16 22:12:13 why is that? Apr 16 22:12:33 because it creates the views in a top down fashion Apr 16 22:12:46 the size of your toolbar is eaten up first Apr 16 22:12:55 then it shoves the listview into the remaining space Apr 16 22:12:58 ic Apr 16 22:13:05 if you put listview first it takes up all the space Apr 16 22:13:09 useful to know, thx Apr 16 22:13:11 and then it sticks your toolbar below Apr 16 22:13:18 and its off screen Apr 16 22:14:30 perfect, got my xml preference set up the way i like em Apr 16 22:14:33 cool Apr 16 22:15:14 if you havent already, i suggest upgrading to the 1.5 sdk Apr 16 22:15:21 it adds some nice new features to the layout editor Apr 16 22:15:42 such as drag and drop view creation Apr 16 22:16:21 and multiple profiles for the emulator Apr 16 22:16:44 i've been listening to everyone complain about 1.5 so thought i'd wait it out :) Apr 16 22:17:16 ah ok Apr 16 22:17:43 1.5 broke a bunch of my crap, the platform and the sdk ugh Apr 16 22:18:11 the old sdk had a bug when including seperate projects as part of the build process Apr 16 22:18:35 it wasnt supposed to include source code in the main project from the additional projects if the additional ones were android Apr 16 22:18:46 annoying but easy to fix once i udnerstood it Apr 16 22:22:47 blau-mikeDG: "broke a bunch of my crap" -- details? Apr 16 22:23:35 the issue I was having with setTag where in a listview, they began using setTag to track the views in a listview item ( i think i understood that right) Apr 16 22:24:09 another issue with how i was printing out all the items in a contentprovider, i dont know if the provider changed to include a BLOB or if we can no longer do BLOB.toString Apr 16 22:24:31 and then a few of the undocumented api toggles broke, but that was expected Apr 16 22:25:17 the only thing that really bothers me is the setTag issue Apr 16 22:26:15 oh, interesting Apr 16 22:29:12 i measure my awesomeness is how many tigns break between updates! Apr 16 22:29:25 heh Apr 16 22:50:54 anyone know if the source tagged at 1 or 1.1? I would like to grab a copy of 1/1.1 if possible Apr 16 23:03:21 i know that 1.1r1 was not tagged, but i believe 1.0 was Apr 16 23:03:40 blau-mikeDG: ever RemoteView.setImageUri() to a file uri? Apr 16 23:03:49 can't get it to work for me... Apr 16 23:03:51 (1.1( Apr 16 23:03:53 (1.1) Apr 16 23:10:40 okay, flexing my newfound RelativeLayout muscles and finding them wanting Apr 16 23:10:45 can someone take a look? http://pastebin.com/m6e57f911 Apr 16 23:11:03 i want to have an image on the left, a toggle button on the right, and a text view that expands to take up the remaining space in the middle Apr 16 23:11:42 but all i'm getting is all three on top of one another in the upper left corner Apr 16 23:17:41 I would use a linearlayout for that Apr 16 23:18:02 but, in this case you can alignParentRight="true" on the toggle button Apr 16 23:18:12 and alignParentCenter="true" on the ImageView Apr 16 23:18:29 or the TextView Apr 16 23:18:37 yeah, i tried the alignparent thing, but it expanded the togglebutton to take up the entire width of the parent, and the textview was still overlapping the image Apr 16 23:19:01 hm, maybe i'll try linearlayout again. how do i tell linearlayout to make the middle thing (the textview) expand to fill space? is that what gravity is for? Apr 16 23:19:32 set the layout_width=0px and the layout_weight=1 Apr 16 23:19:40 it'll expand the width Apr 16 23:20:36 0? interesting. maybe that's why i couldn't get the weighting to work before. thx Apr 16 23:53:44 anyone know how i would keep the scrolbar at the bottom of a textview, imagien mIRC, the scroll bar stays at bottom so you can see the latest text Apr 17 00:16:02 anyone knows if it's possible to insert menuitem into another application's menu? Apr 17 00:26:16 chouman82, I'd be very surprised if you could-- and who would get notified if it's chosen? Apr 17 00:26:24 How can I take smaller images with the Camera? Apr 17 00:26:47 I have tried setting the parameters, but it hasnt effected the image size... Apr 17 00:27:17 Smaller pixel dimensions or smaller file size? Apr 17 00:29:15 halley: both Apr 17 00:30:07 i have set parameters.setPictureSize and parameters.set and PictureFormat(PixelFormat.JPEG) Apr 17 00:30:11 as soon as i put a listview into a scrollview the height of it goes tiny, yet i have specifid proper heights all over Apr 17 00:30:50 Is there content for your listview to show? Apr 17 00:31:22 yes outside of the scrollview it shows fine Apr 17 00:32:00 and it was perfect but, its a chat client and as the text comes in the scrollbar dooesnt move down automatically so im trying a scrollview to see if that helps Apr 17 00:33:24 very confusing Apr 17 00:33:50 halley: any idea about my problem? :) Apr 17 01:11:08 loglaunch: well i was thinking some type of intent filter that goes with the menu item insert Apr 17 02:33:46 vol: got a sec to ban neilmcb until he gets his connection fixed? :) **** ENDING LOGGING AT Fri Apr 17 02:59:57 2009