**** BEGIN LOGGING AT Wed Feb 25 02:59:57 2009 Feb 25 03:01:09 rsteckler: hows your app selling? Feb 25 03:01:24 meh. I'm making about 4 cents/hour Feb 25 03:01:38 as good as my adsense does then ;) Feb 25 03:01:39 rsteckler which app? Feb 25 03:01:47 WiiR0cKz: mybuzzdroid Feb 25 03:01:56 an awesome, useful app. Feb 25 03:02:07 that I don't think people understand enough to want to buy. Feb 25 03:02:11 Or maybe I'm just deluded. Feb 25 03:02:12 anymore updates coming soon? Feb 25 03:02:42 Undecided. Not sure how much effort I want to spend on it opposed to my next endeavor Feb 25 03:03:27 which is? :P Feb 25 03:03:35 secret so far =) Feb 25 03:03:44 I'll let you know when it's a little further along. Feb 25 03:11:00 <_avatar> exit Feb 25 03:11:06 <_avatar> bah. sorry. Feb 25 03:15:02 who knows a good place to learn java from scratch Feb 25 03:17:35 <_avatar> AakashPatel: http://www.mindviewinc.com/Books/, grab "Thinking in Java, 3rd Edition" Feb 25 03:17:51 <_avatar> i'm sure it's not the best java book, but it's pretty good, and free Feb 25 03:24:13 There's something wrong with the drawable decoder, methinks Feb 25 03:24:31 I have plenty of heap left (12MB) and it's failing on a 1.5meg allocation Feb 25 03:26:47 his c++ book is good but *really* exhaustive Feb 25 03:27:47 Anyone knows about HostnameVerifier usage in android? Feb 25 03:29:59 Hey, if I want a full screen view for a game's main menu (not drawn by a thread) how should I proceed? Should I subclass View or SurfaceView? Feb 25 03:30:13 Is surface view just for drawing from a separate thread? Feb 25 03:36:13 you can just turn off the title and use params to specify full screen Feb 25 03:36:23 in a regular activity Feb 25 03:36:40 this.requestWindowFeature(Window.FEATURE_NO_TITLE); Feb 25 03:36:40 this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); Feb 25 03:39:26 Yeah but I have other views that I want to display one at a time Feb 25 03:39:53 i want to implement my own OnDraw() in this view Feb 25 03:40:30 Create a custom view, do your onDraw, and in your fullscreen activity, setContentView(myCustomView); Feb 25 03:41:53 and itthe view will automatically be the right size? Feb 25 03:43:15 The view's dimensions will be the size of the full sceren activity Feb 25 03:44:13 Can I have the very first Class to access setting of screen brightness? Feb 25 04:11:24 Well, I fixed my memory problem. I wasn't closing a bufferedinputstream. My apologies to Google for implying that their code had a bug/leak. I'll duly flog myself later. Feb 25 04:11:54 rsteckler: no worry, everybody does that and they're (almost) always wrong :p Feb 25 04:12:24 * MikHel is having nightmares with HTTPS access... :( Feb 25 04:17:16 IT just occurred to me that the OS is Android and the hardware is Dream. Coincidence? Or a reference to the book? Feb 25 04:19:41 rsteckler: Technically the OS is Linux, not Android. I think Android is an environment. Feb 25 04:19:56 Sure - Framework. Feb 25 04:20:13 I was playing fast and loose with my vocabulairzationability Feb 25 04:20:20 :) Feb 25 04:20:24 its official, i like git now :) Feb 25 04:21:17 I haven't tried git. I've been using bazaar, though - and love it Feb 25 04:21:26 way better than the perforce crap we use at work... Feb 25 04:21:32 rsteckler: i think it's a coincidence. now, if the next device is called "electric sheep", then i think we'll know what's up :) Feb 25 04:43:11 Anybody has any experience doing https connections? Feb 25 04:45:18 what's the problem? I'm doing http connections... Feb 25 04:45:32 Well it's httpS... Feb 25 04:46:05 I try to connect to a site which is hosted by a company whose SSL certificate does not match the name of the website. Feb 25 04:46:29 Then I get an exception and I have been strugling for 3h looking for a way to solve it. Feb 25 04:46:43 I think you need to pass in params that say to accept invalid certs. Feb 25 04:46:58 All I find on the web is either not up to date or uses bits of apache that are not on android. Feb 25 04:47:03 rsteckler: How? Feb 25 04:47:18 I would love to simply do that. So far all my attempts have failed. Feb 25 04:51:33 The apache doc does not work at http://hc.apache.org/httpclient-3.x/sslguide.html does not work because "Protocol" is not implemented... Feb 25 04:52:05 It's VERY FRUSTRATING! Feb 25 04:54:01 Android does not come with HttpClient 3 but 4 Feb 25 04:54:13 so look at the docs for HttpClient 4 Feb 25 04:54:44 romainguy: OK that's something I was not aware. I am new to the whole apache thing.... So how is it done in HttpClient 4? Feb 25 04:55:21 no idea, read the docs Feb 25 04:59:09 Well I have no clue where the doc is. The javadoc is useless. No tutorial, no outline of how things are done :( Feb 25 05:01:35 http://hc.apache.org/httpcomponents-client/httpclient/apidocs/index.html Feb 25 05:11:21 romainguy: That's a javadoc that's not even complete in its links... No way to find out how to install another HostnameVerifier. Feb 25 05:11:55 well too bad then Feb 25 05:11:58 That's all I need to find out but have not find a single up to date example. Feb 25 05:12:01 go ask questions on their forums Feb 25 05:12:28 I probably should Feb 25 06:18:16 romainguy: I solved the problem. Feb 25 13:50:21 Has anyone else had the developer console and Google checkout report different numbers? Feb 25 13:50:41 Mine have been off since my second sale Feb 25 13:59:50 argh .. help. I'm trying to just draw simple shapes in the background of my main linear view.. Feb 25 14:00:11 any pointers? Feb 25 14:00:30 DJTachyon: surface view and a paint object? Feb 25 14:01:15 iirc a surface view will draw underneath any other views that are declared below it in the xml Feb 25 14:01:38 no just a simple shapedrawable Feb 25 14:01:40 or something Feb 25 14:02:14 not really sure, that is one way to do it though Feb 25 14:02:25 Paint objects can draw simple shapes relatively easily Feb 25 14:03:02 yeah, i guess im getting confused between drawables and views Feb 25 14:03:22 im trying to get the background of my main layout and add an onDraw to it Feb 25 14:03:33 I'd use surface view then Feb 25 14:03:53 isn't surfaceview a bit overkill for some rectangles? Feb 25 14:03:56 I used it to create an animated background for a menu in an app Feb 25 14:04:04 maybe, I just don't know anything else to suggest :) Feb 25 14:04:08 hehe Feb 25 14:04:09 and it wasn't very difficult Feb 25 14:06:22 so far this is as simple as i can get: Feb 25 14:06:23 http://pastebin.com/m7e662b75 Feb 25 14:06:34 but that blows away the xml obviously Feb 25 14:07:06 yeah, that is simpler Feb 25 14:07:11 i basically want to set that view as the backgrounddrawable to the main layout Feb 25 14:07:44 don't know how it works, the reason I mentioned surface view is cause android will take care of composing it for you Feb 25 14:07:55 hmm Feb 25 14:07:57 don't know how that works with a custom view like that Feb 25 14:08:12 got some example code? Feb 25 14:08:24 at home, I'm at work right now Feb 25 14:08:34 I used the lunar lander sample to start Feb 25 14:08:52 im at work but logged into home Feb 25 14:09:17 yeah I'm trying to keep work and android as separated as possible Feb 25 14:09:56 well thats technically using a custom view as well Feb 25 14:10:37 yup it is, but I believe surfaceview takes care of some of the stuff that you want for you Feb 25 14:10:47 I honestly am just trying to give ideas, I don't really know Feb 25 14:10:53 thanks anyway Feb 25 14:11:05 haha np Feb 25 14:15:12 hmmm i need to change the color of the rects at high speed though Feb 25 14:41:07 sweet got it working Feb 25 14:41:18 well i gave in and used the custom view for now Feb 25 14:49:08 nice, it works though? Feb 25 14:57:32 yeah Feb 25 16:05:31 hi, I was wondering if someone knows of a good step-by-step guide for installing the SDK on OpenSUSE? I can't figure it out :S Feb 25 16:09:57 polter: have you followed the guide at developer.android.com? Feb 25 16:10:36 polter: http://developer.android.com/sdk/1.1_r1/installing.html Feb 25 16:11:14 is it just me or does the orientation sensor just conver the accelerometer sensor into degrees? Feb 25 16:13:17 im trying to detect when the phone is being waved left or right Feb 25 16:42:49 why does Exception.getMessage() through a NullPointerException sometimes? " java.lang.NullPointerException: println needs a message" Feb 25 16:47:54 zhobbs: it's not getMessage() that throws the NPE, it's your print Feb 25 16:48:05 getMessage() returns null sometimes Feb 25 16:51:53 is there any way to discover why a thread keeps dying without any exception? Feb 25 16:57:26 digitalspaghetti, pastebin your code? Feb 25 17:00:58 http://paste.ifies.org/384 Feb 25 17:02:00 mehh, i forgot to output the throwable :| Feb 25 17:02:27 digitalspaghetti, heh, does that fix your problem? Feb 25 17:06:51 well, yes and no :) Feb 25 17:07:06 it at least leads me to where my code is breaking Feb 25 17:14:22 digitalspaghetti: is it returning from run, throwing an exception, what Feb 25 17:14:32 oh, throwing something, nvm :> Feb 25 17:14:40 you could always try catching that exception and setting a breakpoint Feb 25 17:18:53 thats working fina again, the problem is now some object related stuff. I have a class called Image that is a paramter of Channel, and when i parse the XML it seems to do two passes, so it sets the URL then overites it Feb 25 17:18:58 so i always get null :| Feb 25 17:29:58 romainguy: hmm, so if I do Log.d(TAG, "Something " + e.getMessage()) it should be fine right? Feb 25 17:33:07 is there SVG support built in somewhere? or is that left up to the individual developers to implement? Feb 25 17:34:11 No SVG support currently in Android. Feb 25 17:35:45 jbq, that "currently" is intriguing. does that hint that it is at least being investigated for a future android os release? Feb 25 17:36:44 yes, it's being investigated. Magic 8-ball says "code is too big to fit on existing devices". Feb 25 17:36:57 heh. Feb 25 17:41:22 hi Feb 25 17:41:48 I should use Batik in my app - it's only ~12MB (: Feb 25 17:42:00 "only" Feb 25 17:42:49 i've a problem with my layout Feb 25 17:43:02 I'm using tabhost/mapactivity workaround Feb 25 17:43:58 in my layout http://pastie.org/399888 i'm using another layout that should display a list and a edittext, the edittextbox is displayed on every tab, it should be displayed only on one Feb 25 17:44:34 magegu, i once saw a svg2java codebase that converts a specific svg drawing to a java source code that just performs a set of swing drawing primitives identical to the drawing. Feb 25 17:44:54 i have to find that again. Feb 25 17:45:08 joakime: -swing+Java2D Feb 25 17:45:22 romainguy, true, true. java2d. Feb 25 17:45:37 i'm stuck in swing land right now. i have swing on the brain. ;-) Feb 25 17:45:47 I miss Swing :) Feb 25 17:50:51 joakime: did'nt get the connection between your svg2java and my problem :) Feb 25 17:51:19 magegu, delayed response to your earlier comment. it unfortunately mingled itself into another chain of thought. my bad. Feb 25 17:52:40 ;-) np .. any suggestions for my prob :) Feb 25 17:52:44 ? Feb 25 17:52:47 Is it normal that I get "Process com.android.phone is not responding" messages in the emulator? When I "wait" everything seems to be fine. Feb 25 17:53:45 this usually happens after loading the emulator Feb 25 17:54:28 BenEss, i get that too, doesn't seem to harm anything. I just leave the emulator up and running after that. Feb 25 17:56:55 So its not my app that is causing it? It wont do that on the device? Feb 25 18:17:52 BenEss: It is not. Feb 25 18:18:08 It is I think simply that the emulator comes on in screen saver mode. Feb 25 18:18:25 So your app does not get really started until you get it awaken Feb 25 18:18:34 ok thanks Feb 25 18:18:51 What I do is to press the menu button twice as soon as it is done with the full boot. Feb 25 18:29:45 Anyone got an idea what software/property could "break" the accelerometer? Works after wipe, but I have way to many apps and data on there... Feb 25 18:32:42 I hope not.... Feb 25 18:53:12 ok, deleting dalvik-cache seemed to fix it. or it was renaming the /data/misc/akmd_set.txt file (was recreated) Feb 25 18:53:27 don't know what the file is for, but renamed it anyway ;-) Feb 25 19:26:15 hey - where and how do I declare an activity in the android manifest .. .i'm getting a ActivityNotFoundException Feb 25 19:28:59 magegu_: http://code.google.com/android/devel/bblocks-manifest.html Feb 25 19:29:18 you need to specify a new Feb 25 19:34:32 Hi Feb 25 19:34:42 how can I install OpenGL ES libraries for Eclipse? Feb 25 19:35:29 I have trouble building the sdk (make sdk) Feb 25 19:35:44 com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.resources.OpenListResourceBundle not found Feb 25 19:36:21 how can I install OpenGL ES libraries for Eclipse? Feb 25 19:37:41 have installed sun-java6-jdk Feb 25 19:37:47 yes Feb 25 19:37:48 jrf: you asked that already a few minutes ago. if nobody answers, it's a good bet that nobody knows. Feb 25 19:38:26 but where I can get the libraries? I tried khronos site but I don't see to download Feb 25 19:40:23 hmmm.. seems I have both java5 and java6 installed.. Feb 25 20:45:45 so, I'm trying to set my my selector when a list item has focus to a color, but it sets the whole list as the color, can someone tell me what is wrong with this: http://pastebin.ca/1347161 Feb 25 20:48:35 know bug Feb 25 20:48:41 like I already said several times here Feb 25 20:48:48 fixed in cupcake Feb 25 20:48:51 use a 9patch instead Feb 25 20:49:13 ok, I'll look at what a 9patch is Feb 25 20:49:19 sorry, never seen you say it was a known bug Feb 25 20:58:51 SanMehat: *poke* Feb 25 21:07:37 hi Feb 25 21:08:03 hi Feb 25 21:08:52 all: is there any api to access the market? Feb 25 21:09:13 can I draw a text on a BitmapDrawable? Feb 25 21:10:12 z2z: through intents there is some, yes. Feb 25 21:11:52 jasta: excellent. do you know the class i need to look at? Feb 25 21:15:08 jasta: hi Feb 25 21:17:57 SanMehat: hey, can you help me understand why in order to build a different device you need to replace the kernel project? is there no flexibility to have multiple target devices in a build tree which depends on different kernel trees? Feb 25 21:19:14 romainguy: you'll get to see what I've been working on if you watch what's coming out at DEMO this Sunday Feb 25 21:20:18 jasta: eh? Feb 25 21:20:39 jasta: what is this 'kernel project' mumbo-jumbo you're speaking of? Feb 25 21:21:00 SanMehat: for your instructions to build for the dream, you replace the kernel/ project in repo with the one satisfied by kernel/msm instead of kernel/common Feb 25 21:21:19 nobody have idea? Feb 25 21:21:21 what if i wanted to have multiple kernels in a single build tree, and multiple potential TARGET_DEVICEs would use them? Feb 25 21:21:24 jasta: right.. because kernel/common doesn't include msm support Feb 25 21:21:25 romainguy: and one thing you might like about it is it cannot be done on the iPhone (unless you're Apple) Feb 25 21:21:39 jasta: um.. well I just build my kernels outside of the tree Feb 25 21:21:54 ie: i dont have a kernel/ directory Feb 25 21:22:21 ok, so that is possible to integrate nicely then? i guess vendor/htc/dream by default does just hardcode a prebuilt kernel Feb 25 21:22:25 and i can do the same for my purposes Feb 25 21:22:29 yeah thats what i do Feb 25 21:22:38 build and push it to vendor/htc/dream/kernel Feb 25 21:22:41 vendor/htc/draem/wlan.ko Feb 25 21:22:43 thanks Feb 25 21:22:44 and call it done Feb 25 21:22:54 werd. Feb 25 21:25:21 how did i get the job of being build meister? :) Feb 25 21:25:23 yargh :) Feb 25 21:30:44 haha Feb 25 21:36:09 how the hell I can get a drawable with text on it?! Feb 25 21:36:49 draw it :> Feb 25 21:38:05 vol, how? wich class.methdo let me do it? Feb 25 21:38:24 the text some times will be "1" Feb 25 21:38:26 Juanjo-sfe: i'm sensing that your design is all wrong buddy :) Feb 25 21:38:28 sometimes "2" Feb 25 21:38:40 jasta Feb 25 21:38:43 why? Feb 25 21:39:02 take a look at the StatusBarService in the source tree... Feb 25 21:39:03 specifically Feb 25 21:39:53 StatusBarIcon Feb 25 21:40:04 it's the code which handles drawing little numbers next to the status bar icons when necessary Feb 25 21:40:19 it does not "write text to a drawable", as your design insists. this is a strange way to approach the problem. Feb 25 21:40:55 instead, it's just using a layout which has both a TextView and an ImageView Feb 25 21:42:02 jasta, url? Feb 25 21:42:36 you can find it, i'm sure. Feb 25 21:43:13 jasta: is the way i used to do it in pygame Feb 25 21:44:30 are you trying to draw text directly to a canvas? there should be plenty of open source examples you can find of this as well. Feb 25 21:44:46 when I rotate the screen and my app gets torn down and rebuilt, how much gets torn down? does it go all the way to onDestroy()/onCreate()? Feb 25 21:44:47 anyway, be resourceful and stop harrassing us :) Feb 25 21:44:49 jasta, i saw that was posible Feb 25 21:45:07 i actually wanna generate an image, with text, pass it to the method where canvas in accesible Feb 25 21:45:11 and then draw it Feb 25 21:45:19 KNY: yes Feb 25 21:45:28 herriojr, dang. thanks Feb 25 21:45:53 KNY: but if there is data you need to store, you need to put it in a parcel Feb 25 21:46:19 herriojr, no, I have an HTTPClient instance that's giving me trouble Feb 25 21:46:20 KNY: so there is stuff in the bundle that is passed into onCreate() Feb 25 21:46:47 KNY: the browser seems to get around it some way, maybe you can check that out if their browser is open source Feb 25 21:47:10 herriojr, it is. I'll see what I can find, thanks Feb 25 21:58:48 Paint.setColor(int color) ? Feb 25 21:58:53 where do I get colors? Feb 25 21:58:58 from R? Feb 25 21:59:07 not necessarily Feb 25 21:59:08 are there int constants in other place? Feb 25 21:59:10 just pass the color Feb 25 21:59:17 0xffff0000 for red, etc. Feb 25 21:59:22 ho Feb 25 21:59:25 thanks Feb 25 21:59:33 arent constants? Feb 25 22:00:04 look at the color class Feb 25 22:00:14 but you don't really need constants Feb 25 22:02:40 ok Feb 25 22:02:43 uff Feb 25 22:02:56 this is getting hard (use canvas.drawText) Feb 25 22:03:10 to draw dynamic text in a game like app Feb 25 22:04:08 herriojr, I think that's all wrapped up in WebView Feb 25 22:04:13 * KNY digs further Feb 25 22:07:29 Juanjo-sfe: hard?? Feb 25 22:08:24 romainguy___, yes Feb 25 22:08:35 define a Paint, put ir color, aling.. Feb 25 22:08:46 ok... Feb 25 22:09:06 maybe i am just flat Feb 25 22:09:18 I am new to java also :( Feb 25 22:09:26 How can I get a String from a int? Feb 25 22:09:38 String.valueOf() Feb 25 22:09:42 read the javadocs :) Feb 25 22:10:00 faunded Feb 25 22:10:02 valudOf Feb 25 22:10:52 Juanjo-sfe, have you gone through a) the tutorials and b) the sample code? Feb 25 22:11:04 I highly recommend you check out the LunarLander example Feb 25 22:11:30 KNY yes Feb 25 22:11:41 yes, I strip it Feb 25 22:11:50 Juanjo-sfe, and you're still having trouble setting colors? Feb 25 22:11:51 but it does not work with text Feb 25 22:12:14 KNY i didnt look in deep colors there Feb 25 22:12:53 i remember it (lunar) get colors from R Feb 25 22:14:06 integer.toString() will work too Feb 25 22:14:21 g1bb, not for an int Feb 25 22:14:22 i'm not lagging.. really Feb 25 22:14:27 oh int sorry Feb 25 22:17:35 hi guys im still trying to solve a layout problem, a AutoCompleteTextView that shoul only be displayed in one tab (in my TabHost) is displayed on every tab Feb 25 22:17:47 thats my layout: http://pastie.org/399888 Feb 25 22:26:17 does Paint have to haave a special flag set to be use to draw text on a canvas Feb 25 22:26:18 ? Feb 25 22:27:52 no Feb 25 22:29:35 Juanjo-sfe, you could have paint set badly for text to show up (alpha set wrong, fill or stroke color matches background, or just stroke set with a teeny width that doesn't show up), or the text location (x,y) you are attempting to write to is outside of the visible area. Feb 25 22:30:51 this.paint = new Paint(Paint.LINEAR_TEXT_FLAG); Feb 25 22:30:51 this.paint.setColor(0x00000000); Feb 25 22:30:51 this.paint.setTextSize(10); Feb 25 22:30:51 this.paint.setTextAlign(Paint.Align.CENTER); Feb 25 22:31:32 and Feb 25 22:31:50 canvas.drawText(String.valueOf(die.getValue()), x, y, paint); Feb 25 22:34:31 er Feb 25 22:34:34 the color you're using Feb 25 22:34:37 it's fully transparent Feb 25 22:34:50 Juanjo-sfe, check this code out - http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/graphics/TextAlign.html Feb 25 22:35:09 thanks joakime Feb 25 22:37:25 Juanjo-sfe, and fix your color specification. (like romainguy__ recommends) - follow the references guide at http://developer.android.com/guide/topics/resources/resources-i18n.html#colorvals or the Color API doc at http://developer.android.com/reference/android/graphics/Color.html Feb 25 22:37:52 Juanjo-sfe, if you pay attention to those docs, you'll understand why, and have plenty of _good_ color examples. Feb 25 22:43:07 joakime, ok I am getting some text drawn now Feb 25 22:43:13 I was missing the font Feb 25 22:46:39 romainguy___: you there? Feb 25 22:47:01 yeah Feb 25 22:47:57 i'm trying your layout technique on a list view i have Feb 25 22:48:05 it's a list of podcasts with a image, title and description Feb 25 22:48:14 but it looks like this: http://img.waffleimages.com/a604855b5b88b82107d2069e2ac284ef780d3aa7/device.png :( Feb 25 22:48:30 http://paste.ifies.org/385 is my XML Feb 25 22:48:46 any idea what could be causing this? Feb 25 23:51:50 hi, i'm using a mapactivity, and the map itself works, but i cannot zoom in etc Feb 25 23:52:01 can somene maybe have a look at my code? http://pastie.org/400385 Feb 25 23:55:08 magegu_: is that homework? Feb 25 23:55:40 markklar: sort of :) y ? Feb 25 23:55:47 hahaha Feb 25 23:55:52 just curious, my german is a little rusty Feb 25 23:56:03 also I think you should do it on your own :) Feb 25 23:56:13 oh just help him Feb 25 23:56:19 wait! Feb 25 23:56:19 :) Feb 25 23:56:21 SanMehat: I think you can help better :) Feb 25 23:56:29 its not homework .. i'll have to write a paperthing about a project in android Feb 25 23:56:34 marklar: don't be such a party-pooper Feb 25 23:56:39 so the current problem is not homework :) Feb 25 23:56:40 I can't help it! Feb 25 23:56:57 SanMehat: its what I do :( Feb 25 23:57:12 marklar: you must be a lot of fun to hang around with :| Feb 25 23:57:26 like a barrel of monkeys Feb 25 23:57:26 marklar: perhaps today you should start afresh and turn over a new leaf :) Feb 25 23:57:37 start by helping magegu_ :) Feb 25 23:57:40 lol Feb 25 23:57:48 I'll think about it :) Feb 25 23:57:55 hehe please :) Feb 25 23:58:11 magegu_: to be honest I don't know the answer Feb 25 23:58:16 haven't touched maps yet Feb 25 23:58:25 ok :) Feb 25 23:58:55 but you might want to help me with anther layout problem :) Feb 26 00:00:18 so this is my main layout .. its the only layout file I've http://pastie.org/400391 Feb 26 00:01:00 it seems to be really big, i don't know if i should organise my views i a more convenient way Feb 26 00:01:23 *in Feb 26 00:01:41 magegu_: thats really a preference, only you can decide that Feb 26 00:01:54 what does the app need? Feb 26 00:02:46 I can tell you that I've used layouts that were much 'bigger' than that Feb 26 00:03:08 okay .. I'll keep that one for now Feb 26 00:03:27 magegu: my layout code is huge compared to that Feb 26 00:03:32 in certain instances Feb 26 00:03:58 fair enough .. Feb 26 00:04:29 i had to use some sort of workaround to be able to use a mapview in a tabhost Feb 26 00:05:13 but now its working ... but my problem now is, that TextView (text="ah?") is displayed in every tab .. does anyone have a suggestion? Feb 26 00:18:43 haha ok guys i think i ve a solution, why my maps are not working Feb 26 00:19:02 in my xml i'm using com.google.android.maps.MapView Feb 26 00:20:01 an in only used myMapView = (MapView) findViewById(R.id.maps1); in my activity, but the activity was never started Feb 26 00:41:26 romainguy___: have you noticed that you can't see local variables when attaching to the system_process? Feb 26 00:41:50 it's not about the system process Feb 26 00:41:58 it's a bug in the dalvik debug bridge Feb 26 00:42:01 well Feb 26 00:42:02 no Feb 26 00:42:10 in the dalvik debug code generation thingie Feb 26 00:42:11 anyway Feb 26 00:42:17 identified and fixed in cupcake Feb 26 00:42:21 but it's very recent Feb 26 00:42:23 so not public yet Feb 26 00:43:31 oh, lame :) Feb 26 00:43:38 would be very helpful, as i am using cupcake :) Feb 26 00:57:36 hey i have a doubt regarding listView. Feb 26 00:57:43 can i ask the doubt? Feb 26 01:01:22 you may Feb 26 01:01:37 doubts arent questions though, so you may not ask what is not a question. Feb 26 01:02:00 fear not, for we shall ignore you in either case Feb 26 01:02:05 heehe Feb 26 01:02:42 I am developing an application which requires every screen to be a ListView. I want to know how to move from one ListView to another when i click on the item in the listView? Feb 26 01:04:12 a screen in Android is an Activity. Use Activities. Feb 26 01:04:24 and then use Intents to move between Activities. This is not a listview question. Feb 26 01:06:47 thanks Feb 26 01:07:27 So if i want to move from one activity to another activity i use Intents. OK. But what if i want to use some of my variables and values from the first activity to the second? Feb 26 01:07:31 how do i do that? Feb 26 01:07:55 start with the hello world tutorials. move out from there. Feb 26 01:08:25 you're asking extremely basic questions. so basic that they are boring to discuss ;) Feb 26 01:08:36 i went thru the hello world tutorial Feb 26 01:08:39 i am very sorry Feb 26 01:08:46 i am stuck on this for a week. Feb 26 01:09:01 please guide me. i have completeted the entire application in j2me. Feb 26 01:10:26 otherwise could you tell me where to read abt these intents and moving from one screen to another passing the variables and values from various activities? Feb 26 01:10:35 viju85: Intents and activities can do what you want, go look at developer.android.com Feb 26 01:10:45 Both of them have good documentation Feb 26 02:05:26 if I have a static inner class on my activity, would it get torn down when the screen orientation changes? Feb 26 02:14:39 howdy. Anyone know if events in an ACTION_MOVE MotionEvent history are added to the end of the history or pushed to the front? Feb 26 02:14:58 like is .getHistoricalX(0) the oldest or the newest event? Feb 26 02:18:15 pjz, I would assume it's the oldest one since it's less expensive to append than to adjust all the IDs when unshifting Feb 26 02:18:18 but what do I know? Feb 26 02:18:27 pjz, just debug through it I guess Feb 26 02:57:11 hey how do i call a contact from my app in android? Feb 26 02:57:28 i.setData(People.CONTENT_URI.addId(phoneId)) is throwing an error. Feb 26 02:57:29 Intents Feb 26 02:57:56 it's documented on openintents.org (as well as the android site, I believe) Feb 26 02:59:27 try setData(ContentUris.withAppendedId(Phones.CONTENT_URI, phoneId)); **** ENDING LOGGING AT Thu Feb 26 02:59:57 2009