**** BEGIN LOGGING AT Sat Jun 13 02:59:57 2009 Jun 13 04:08:51 http://code.google.com/p/ksoap2-android/issues/detail?id=3 <- Does anyone have updated AndroidHttpTransport classes? **** ENDING LOGGING AT Sat Jun 13 07:19:27 2009 **** BEGIN LOGGING AT Sat Jun 13 07:20:00 2009 **** ENDING LOGGING AT Sat Jun 13 08:24:55 2009 **** BEGIN LOGGING AT Sat Jun 13 08:26:00 2009 **** ENDING LOGGING AT Sat Jun 13 08:27:09 2009 **** BEGIN LOGGING AT Sat Jun 13 08:27:41 2009 Jun 13 10:31:10 Does the download counter in Market count upgrades? Jun 13 14:04:46 I currently have a simple application with a MapView in it. My main activity extends MapActivity. I'm interested in implementing tabs, and having my MapView inside of a tab, but it seems that I need to extend TabActivity instead of MapActivity. How do I accomplish embedding a map into a tab? Jun 13 14:35:18 cisox: you need to use the tab widget i'd guess, which should be a layout manager Jun 13 14:35:33 check the dev.android.com Jun 13 14:35:48 for view examples on tabs Jun 13 14:35:55 MrGone: I use the TabWidget, but it requires that you extends TabActivity, but if you use a MapView, it requires that you extends MapActivity Jun 13 14:38:35 cisox: is the tab view not a layout manager, it can encapsulate many mapviews Jun 13 14:39:23 http://dev.android.com/guide/tutorials/views/hello-tabwidget.html Jun 13 14:39:37 this will give an explanation of how to embed other views in a tab widget Jun 13 14:39:39 i think Jun 13 14:40:15 MrGone: It is a layout manager, and I've read that documentation, however, to have a MapView anywhere in your activity, the activity has to extend MapActivity, but if you have a TabWidget anywhere in your activity, your activity has to extend TabActivity, thus the dilemma. Jun 13 14:40:50 cisox, just the wrapper around it needs to extend TabActivity Jun 13 14:40:56 the tabs within can be anything Jun 13 15:01:22 I have a map with an overlay containing lots of items, and when my overlays onTap() method is triggered, I want to display some info in some kind of infobox (like speech bubble). What's the best way to accomplish this? Somehow draw some shape in onTap() and fill it with information? Jun 13 15:17:52 what is the best way to implement a wizard like? is it viewflipper? Jun 13 15:21:13 what was the shortcut to turn the emulator to landscape view Jun 13 15:23:37 deebo, ctrl+F11 Jun 13 15:23:39 or numpad 7 Jun 13 15:23:45 deebo turn off num key, press 7 Jun 13 15:24:59 ah, tried all that but had numlock on Jun 13 15:26:40 almondmendoza, seems like ViewSwitcher would be more appropriate Jun 13 15:27:14 I rolled my own using separate activities but I wanted to be able to have the user jump in at arbitrary points later on Jun 13 15:29:56 is it when i want users to jump at arbitrary point, seperate activities is better then viewSwitcher? Jun 13 15:40:52 Anybody got an idea how I can get an ArryIndexOutOfBound exception without even getting to the first line of the onCreate Instance of my activity? Jun 13 15:40:58 http://pastebin.com/d2b1512f4 Jun 13 15:41:37 I have breakpoints all over the place, including on the first line of the onCreate method ... and none of them are triggered Jun 13 15:44:02 Hmm, I'll try rephrasing my question. In my Overlay subclass' onTap() method, what is the best way to make some custom infobox appear? Jun 13 15:44:42 Should I save the Canvas from the Overlay.draw() calls, and just use that in onTap()? Jun 13 15:45:14 * numb is quite the newbie with maps, overlays and drawables.. %) Jun 13 15:45:26 numb, can't you use a custom dialog ? Jun 13 15:45:38 numb: you don't need the canvas for that. just the context Jun 13 15:48:19 sammyF: hmm.. true. I was thinking of mimicking the google maps speech bubble, but now that you mention it it might be better to just have have a dialog pop up. Jun 13 15:48:45 It is possible to modify a dialog after it has been displayed, right? Jun 13 15:55:58 Has anyone ever had an error from Android AIDL trying to process "**/.svn/entries" files? Jun 13 15:57:34 is there a way with a listview to set how many items there are before it starts to recycle views? The problem is I'm using a listview to load a list of 10 true/false questions but the problem is as i scroll down and it recycles the views, when you scroll back up it clears the existing answers already selected Jun 13 15:57:48 but there will only ever be 10 questions loaded Jun 13 16:00:11 digitalspaghetti, I believe you have to do something involving mutable Jun 13 16:00:21 romainguy made a blog post about it recently, IIRC Jun 13 16:01:19 k, i know the one i'll check it out Jun 13 16:01:32 okay .. I'm pissed of. I have a breakpoint at EVERY entry points I could think ok. any first line of any method has a breakpoint Jun 13 16:02:02 and the damn thing crashes with an arrayoutofboundsexception without hitting ANY of the breakpoints Jun 13 16:03:03 hrmm KNY that seems to be for drawable's only Jun 13 16:04:28 also it doesn't actually seem to be anything to do with recycling either :| just as a test i disabled the convertView code and ran it Jun 13 16:05:02 and even without it, it seems to clear the radio value. hrmm i might have to save the value in some way and detect if that specific view is in the rendering space and set the value again Jun 13 16:06:32 i'm really starting to hate this client. they never fully specified it and i had each question as it's own screen and that worked fine Jun 13 16:06:43 but then they moaned about it that they wanted it all on one page.....grrr Jun 13 16:07:57 ... the Debugger doesn't work when you use openGL? Jun 13 16:26:23 is there a way for you to close one activity to open a new activity? meaning close the main activity then after destroy, open a new activity Jun 13 16:32:53 almondmendoza, just call startActivity(Intent); finish(); Jun 13 16:34:32 hrmm, ok another question on the listview and recycling - i though i could be clever and keep a hashtable of each item in the listview and the checked radio inside it - and i have managed to do it, but the problem now seems to be that each item in the list doesn't have a unique id? is this correct - it also seems to recycle the view id? Jun 13 16:35:52 http://paste.ifies.org/498 is my question item and http://paste.ifies.org/499 is my adapter Jun 13 16:36:23 oh of course, because i am using the covertView.getId() method :| Jun 13 16:37:52 what can i use in a ListView that's unique to each entry? Jun 13 17:20:11 digitalspaghetti, you could use the position, right? Jun 13 17:46:16 the problem is the click event is on the Radio Button, i need to get if the user has selected true or false and save that per line Jun 13 17:46:25 each question does have an ID though so I'm thinking of using that Jun 13 17:47:19 then at the end when the user presses submit, i need to check which one;s the user got wrong and highlight them Jun 13 17:47:44 give them a chance to correct it, then submit what questions they did Jun 13 18:47:56 what if any is the view called that is used in the app menu? the one that is draggable open Jun 13 18:55:20 is there a way to programmatically set the selected index of a spinner without triggering the OnItemSelectedListener? Jun 13 18:55:37 deebo, SlidingDrawer Jun 13 19:00:00 hi Jun 13 19:00:06 can a button have some kind of rich text or html overlay on top of it? I'd like to be able to set font (incl italics, super/sub script), colors, and some basic layout. Or is a picture my best bet? Jun 13 19:08:48 ahh maybe a drawable can do it Jun 13 19:49:45 Has anyone able to install Email and IM App on android? Jun 13 19:57:51 i have built android sdk, but Email and IM app does not appear Jun 13 19:57:52 Please help Jun 13 20:05:46 lucius: from the git repo? Jun 13 20:06:05 from the top level directory, make Email IM Jun 13 20:06:12 okay Jun 13 20:06:24 i just did a 'make -j4' Jun 13 20:06:31 and no Email , IM app Jun 13 20:06:39 i am going to try your suggestio now Jun 13 20:06:57 yeah, i dont think Email is built by default Jun 13 20:07:11 dont remember about IM tho Jun 13 20:07:38 i chose not to build email when i used it cuz i always just use k9 anyway Jun 13 20:08:45 i need an Email and IM app on emulator so that I can test out my own application Jun 13 20:09:12 i need to launch those 2 apps Jun 13 20:09:15 from my applicaiton Jun 13 20:10:51 thank you for your suggestion Jun 13 20:12:26 lucius: did it work? Jun 13 20:12:50 still compiling Jun 13 20:13:07 wait, is this from teh git repo? Jun 13 20:13:27 id you are developing an app, why arnt you just using the images that they give with the sdk? Jun 13 20:16:09 even for the image from SDK, there is no Email and IM app Jun 13 20:16:28 so that is why i am getting it from the source and build from there. Jun 13 20:18:08 aah okay Jun 13 20:18:22 do you not have an actual phone? Jun 13 20:18:33 that is of couse the easier way to do it Jun 13 20:18:46 Email is definitely on the included SDK emulator image Jun 13 20:21:03 it, of course, won't respond to Intents until you set up an account, however Jun 13 20:25:01 now I see the Email app Jun 13 20:25:05 but not IM app Jun 13 20:25:33 i have done a 'adb sync' Jun 13 20:25:38 and get this: Jun 13 20:25:39 $ adb sync Jun 13 20:25:39 syncing /system... Jun 13 20:25:39 push: /Volumes/android/mycupcake/out/target/product/generic/system/app/ImProvider.apk -> /system/app/ImProvider.apk Jun 13 20:25:40 push: /Volumes/android/mycupcake/out/target/product/generic/system/app/IM.apk -> /system/app/IM.apk Jun 13 20:25:40 push: /Volumes/android/mycupcake/out/target/product/generic/system/app/Email.apk -> /system/app/Email.apk Jun 13 20:25:42 3 files pushed. 288 files skipped. Jun 13 20:25:44 1265 KB/s (1037933 bytes in 0.801s) Jun 13 20:25:46 syncing /data... Jun 13 20:25:48 0 files pushed. 0 files skipped. Jun 13 20:25:52 but there is NO im app in All app drawer Jun 13 20:29:50 Email app works now. thanks. Jun 13 20:29:55 but IM app still does not work Jun 13 20:30:02 i don't see it in the emulator Jun 13 20:34:40 I appreciate if there are things i can try to get IM app installed on my emulator Jun 13 20:47:54 * digitalspaghetti fires up the BatTorch in the hope romainguy will appear Jun 13 20:54:33 and when i go to Settings of the emulator Jun 13 20:54:50 in the Manage app, Jun 13 20:54:58 there is an IM app entry Jun 13 20:55:02 but i can't launch it anywhere Jun 13 20:55:07 anyone has an idea? Jun 13 20:56:18 I got too much idea.. Jun 13 21:37:26 i mean an idea how to image IM app on emulator Jun 13 21:46:39 finally got my build environment to work I think Jun 13 21:46:43 damn java is messy Jun 13 21:55:08 never mind, build still doesn't work... I really hate java.. Jun 13 22:34:11 I'm trying to clone the Phone tree Jun 13 22:34:13 git clone git://android.git.kernel.org/projects/platform/packages/apps/Phone.git/tree Jun 13 22:34:16 but I get fatal: The remote end hung up unexpectedly Jun 13 22:56:07 Greetings! I have a question question regarding Exceptions--namely, when is it appropriate to use them for Android applications? Jun 13 22:56:20 k I think I FINALLY GOT IT to compile Jun 13 22:56:22 s/question question/question/ Jun 13 22:59:56 I'm trying go get a http post working properly, using http params fed into an http post fed into a httpclient. while the post returns a 200, it also returns an error message listing all the post parameters it claims were not present Jun 13 23:00:09 even though i specifically included all those params Jun 13 23:11:46 I'm guessing I shouldn't be creating a custom Exception per error code returned from this RESTful app interface...? Jun 13 23:38:35 anyone here can help me figure out how to get the scroll offset of an item in a listview? Jun 13 23:39:09 I can't find a way to get the view for a given position... only getSelectedView(), which is useless if there is no selection Jun 13 23:39:47 sd, what do you mean scroll offset? Jun 13 23:40:00 pixels from the top of the list view Jun 13 23:40:08 something I can then use with setSelectionFromTop Jun 13 23:40:36 I'm adding items to my listview, and I want to preserve the "current position" Jun 13 23:40:52 what do you mean? Jun 13 23:40:54 not as "position" as done by default (i.e. show the 7th element) Jun 13 23:41:16 but as "show this particular element that was at the top of the list, with the 10 pixels of offset it has right now" Jun 13 23:41:23 setSelectionFromTop lets me do that Jun 13 23:41:32 but I cannot retrieve the current Y offset Jun 13 23:41:46 how are you adding items to the listview? Jun 13 23:41:46 I believe view.getScrollY() does that Jun 13 23:42:01 via an adapter Jun 13 23:42:04 View.getTop() maybe? I don't remember exactly Jun 13 23:42:11 yes, but I need a view Jun 13 23:42:15 and I can't get it Jun 13 23:42:18 you should just add items to the adapter and then call adapter.notifydatasetchanged() Jun 13 23:42:25 that part works fine Jun 13 23:42:32 but it moves the objects displayed in the list Jun 13 23:42:33 it shouldn't affect your scrolling Jun 13 23:42:45 it does if I add the objects to the start of the array Jun 13 23:42:51 ah Jun 13 23:43:46 the part I'm missing is how to get the view corresponding to the top visible object in the list Jun 13 23:43:56 I can do getFirstVisiblePosition Jun 13 23:44:03 but there is no getViewForPosition Jun 13 23:44:53 yeah, I'm not sure how to do that; sorry Jun 13 23:49:43 I tried to setSelection(getFirstVisiblePosition()) but getSelectedView() still returns null Jun 13 23:50:00 probably because I call one after the other Jun 14 00:04:11 do I need to do something to reload the R.layout ? It doesn't seem to see my different layout (but it show defined in R.java Jun 14 00:06:35 never mind, found the issue (ctrl-shift O added android.R as import Jun 14 00:24:14 how to update a textfield from within onCreate ? Jun 14 01:13:19 can anyone help me? i'm trying to load nandroid backup image to my phone. running ubuntu and adb is not detecting my phone as a device. **** ENDING LOGGING AT Sun Jun 14 02:59:57 2009