**** BEGIN LOGGING AT Sun May 17 02:59:57 2009 May 17 05:37:52 whats the problem May 17 05:38:00 oh May 17 05:38:02 oohhhhhh May 17 05:40:38 <_wmealing> oh ? May 17 05:40:51 * _wmealing turns on the lightbulb besides ba May 17 06:07:55 <_wmealing> I'll ask because im lazy, and I feel like someone has done this better already. May 17 06:08:43 <_wmealing> I have a PreferenceScreen full of settings, I have them each hooked up to a single handler, which then detects the Preference Key, and then presents a dialog box to edit the appropriate value. May 17 06:08:51 <_wmealing> si there a better way. May 17 06:08:54 <_wmealing> is there a better way. May 17 06:11:09 <_wmealing> call me lazy, i just feel like this is done already. and im missing something May 17 06:18:12 <_wmealing> oh, May 17 06:18:14 <_wmealing> oohhhhh May 17 07:49:47 anyone know how to add a 3rd party jar to an app when not using eclipse? May 17 07:50:47 ive googled around quite a bit but im not finding anything thats really helpful May 17 07:51:39 <_wmealing> nate-, its somewhere in the project settings May 17 07:51:45 <_wmealing> nate-, its not specific to android. May 17 07:52:24 * _wmealing looks May 17 07:53:07 _wmealing: well, thats true. im pretty sure i need to modify my build.xml file but when i can never make heads or tails of what im doing in ant May 17 07:53:15 <_wmealing> nate-, forget that May 17 07:53:23 <_wmealing> nate-, i _think_ i just put it in the libs directory May 17 07:53:26 <_wmealing> and then rebuild May 17 07:53:42 _wmealing: interesting, ill try that May 17 07:54:03 <_wmealing> 1. Right click the project name and navigate to Build Path. May 17 07:54:03 <_wmealing> 2. Select Add External Archives... May 17 07:54:03 <_wmealing> 3. Locate and select the JARs you want and click Open. The JARs will now appear in Referenced Libraries. May 17 07:54:13 ahh but thats for eclipse May 17 07:54:19 im just using vim May 17 07:54:21 :) May 17 07:54:30 <_wmealing> oh,i'm using vim too May 17 07:54:37 <_wmealing> i just put them in there. May 17 07:54:43 <_wmealing> then ant rebulid May 17 07:54:49 cool lets see what we get May 17 07:55:19 <_wmealing> nate-, I remember doing it for scala May 17 07:55:35 _wmealing: yeah i saw a cool tutorial on tat while googling around May 17 07:56:02 <_wmealing> nate-, works well. May 17 07:56:47 _wmealing: i actually may explore doing that, but for groovy May 17 07:57:08 i dont have any experience with scala, though ive heard good things about it May 17 07:58:06 <_wmealing> nate-, been wondering about groovy, if you get it working.. let me know May 17 07:58:08 <_wmealing> or blog about it May 17 07:58:27 <_wmealing> very interested. May 17 07:59:12 definitely May 17 08:13:40 <_wmealing> jsharkey, "* WARNING: this build is broken lol" <-- yep.. should have read that first. May 17 08:17:38 _wmealing: hm? May 17 08:17:47 <_wmealing> http://code.google.com/p/connectbot/source/browse/trunk/connectbot/src/org/connectbot/HostEditor.java?r=54 May 17 08:17:54 <_wmealing> was looking at how you did it. May 17 08:18:02 <_wmealing> neat trick btw May 17 08:18:10 oh lol May 17 08:18:19 that part of the change /does/ work May 17 08:18:33 <_wmealing> ok May 17 08:18:35 it broke something over on the other side of the app May 17 08:18:43 <_wmealing> righto May 17 08:19:13 <_wmealing> when does createHost get called ? May 17 08:20:00 http://www.google.com/codesearch/p?hl=en#x3OoZRNv-Ek/trunk/connectbot/src/org/connectbot/HostList.java&l=153 May 17 08:20:04 when they hit the enter key May 17 08:21:04 <_wmealing> ah i see. May 17 08:34:19 <_wmealing> fool thinks we can't do a whois. May 17 08:34:48 <_wmealing> now he's nobody, and I dont care who he is or was. May 17 08:38:03 _wmealing: thanks by the way. just putting the jar in libs worked May 17 08:38:15 <_wmealing> nate-, great ! May 17 08:38:36 <_wmealing> fwiw, i think the 1.5 build system is an improvement.. it makes things a little more logical. May 17 08:39:04 _wmealing: yeah, i was reading about all these hoops people had to jump through before that May 17 08:39:08 didnt seem like fun May 17 08:39:27 <_wmealing> well documented, but not fun. May 17 10:18:52 hi May 17 10:19:43 I'm doing the hello world tutorial but when launching it in the Android Emulator I only see a black screen which says "ANDROID_" May 17 10:19:48 what's up? xD May 17 10:19:57 oh it takes that long for it to start.... May 17 10:20:22 uhm now I see ANDROID and then the logo.. ? May 17 10:20:25 uh... May 17 10:22:42 Edulix: the first boot is pretty slow May 17 10:22:58 keep it open, and relaunch your app from eclipse as you test May 17 10:23:08 future boots are faster too May 17 10:26:17 jsharkey: cool May 17 10:50:38 how do i stop my service from restarting everytime the keyboard is flipped out and in? May 17 10:50:57 i start it in onCreate and stop it in onDestroy May 17 10:51:10 should i be starting and stopping somewhere else? May 17 10:54:23 <_wmealing> loglaunch, i remember someone else having same problem May 17 10:54:39 <_wmealing> loglaunch, it had something to do with overriding what happens when it changes from portrait to landscape May 17 10:54:44 <_wmealing> not necessarily the keyboard May 17 10:55:02 <_wmealing> the Orientation. May 17 10:58:43 ok May 17 10:58:46 thanks May 17 14:13:35 has anyone had problems getting debian_v21 up and running on JK 1.5 firmware? I can't seem to chmod the files in the debian dir May 17 14:21:20 any googs in here? May 17 15:01:03 wolfram is actually pretty neat. May 17 15:01:06 anyone know why sdkv1.5 is half the size of 1.0? May 17 15:02:26 less bits in it. May 17 15:02:36 I'm sorry, that was not cool May 17 15:02:48 Maybe the binaries are stripped ? May 17 15:02:52 you could install both and find out May 17 15:03:53 wmealing: thank god i was in another chan and missed you dropping that stinker May 17 15:25:35 heya all :) May 17 15:25:41 heya. May 17 15:26:37 wmealing_: i moslty got my sample app working :) but i'm having an issue, and it's probably because I'm a noob. May 17 15:27:55 wmealing_: my app grabs the contacts, and dumps them into a listactivity. that works, i have 2 list items, one for each of my test contacts. May 17 15:28:38 wmealing_: but each list item just lists as "Name: Name:" May 17 15:29:09 however, when i click on on of them, it properly dials that contacts number. May 17 15:29:20 with proper contact name.. May 17 15:29:35 Name: Name: ok.. sounds like your setting the list wrong. May 17 15:29:37 list value May 17 15:33:58 android is gonne be fun to program for, once i get over these noobish issues. :) May 17 15:36:16 kc8pxy: you'll get there. May 17 15:52:36 wmealing_: how do i specify my android:text in the TextView to show the name that goes with the list entry? i already have id="@+id/row_entry" in the textview. May 17 15:53:36 * _wmealing thinks May 17 15:53:48 _wmealing is the guru May 17 15:53:51 <_wmealing> hardly. May 17 15:54:02 <_wmealing> I'm still trying to understand the question. May 17 15:54:08 ya same here :p May 17 15:54:20 kc8pxy: do you mean findbyID? May 17 15:54:40 <_wmealing> I think ziyong is on the right path. May 17 15:54:57 <_wmealing> if you know somethings id, you can find it with findById May 17 15:55:11 TextView values=(TextView)findViewById(R.id.valuestext); May 17 15:55:11 <_wmealing> then you can manipulate it with the setText calls to set the content. May 17 15:55:13 ziyong: possibly. May 17 15:55:14 something like that? May 17 15:55:15 <_wmealing> Then May 17 15:55:22 <_wmealing> values.setText("Hi world"); May 17 15:55:41 setContentView(values); May 17 15:56:10 <_wmealing> (ziyong, i dont think he'd have just a TextView the singular widget on the page) May 17 15:56:14 <_wmealing> at least i hope not. May 17 15:56:17 oh :p May 17 15:56:27 <_wmealing> good for testing though May 17 15:56:36 ziyong: i have a list of list items, and they all say "Name: " May 17 15:56:53 hmm? May 17 15:57:05 they all have the same id? May 17 15:57:10 what i want them to say, is "Name: Contact_Name" May 17 15:57:28 hmm May 17 15:57:37 * ziyong try to see what kc8pxy is looking at May 17 15:57:40 <_wmealing> kc8pxy, you are building the List of textviews dynamically right ? May 17 15:57:58 wmealing_: it would seem so.. May 17 15:58:10 <_wmealing> kc8pxy: can you put your code up somewhere ? May 17 15:58:13 <_wmealing> like a pastebin May 17 15:58:24 wmealing_: i was just about to ask if that would help. May 17 15:58:26 <_wmealing> that would assist us in figuring out what is going on May 17 15:59:06 ya May 17 15:59:12 * ziyong nods May 17 15:59:22 <_wmealing> at the high level, i'd find the textview that you want to manipulate then TextViewName.setText("Contact Name: " + Contact_name); May 17 16:02:54 http://pastebin.com/f537e9588 May 17 16:03:06 is my main source file. May 17 16:03:07 and May 17 16:03:41 http://pastebin.com/f40ad177e May 17 16:03:46 is my main.xml May 17 16:04:55 kc8pxy: create a local or class variable for TextView: TextView myRowEntry; May 17 16:05:54 then assign it like ziyong said May 17 16:06:13 myRowEntry = (TextViwe) findViewById(R.id.row_entry); May 17 16:06:18 (TextView)* May 17 16:06:36 <_wmealing> hey doc. May 17 16:06:42 hey _wmealing May 17 16:10:43 <_wmealing> kc8pxy, In the code there, i think that you are just duplicating the same widget May 17 16:10:48 <_wmealing> you dont actually set the text May 17 16:13:45 <_wmealing> kc8pxy, does that make sense ? May 17 16:13:59 <_wmealing> kc8pxy, I'm not great with adapters either.. (i'm actually doing my first sqlite db in android) May 17 16:32:49 Does android have a way to set an application-wide or activity-wide exception handler for uncaught exceptions? May 17 16:35:28 <_wmealing> emmby_, thats a more generic java question than android.. i think May 17 16:35:32 <_wmealing> can you do it for java ? May 17 16:35:57 <_wmealing> (I do admit, a crash wrapper seems like a nice idea) May 17 16:36:23 I just discovered Thread.UncaughtExceptionHandler, which I'm going to experiment with May 17 16:37:08 most web frameworks provide some sort of way to handle uncaught exceptions, and being a web guy I figured maybe android did the same. But yeah, maybe I just tap into the java mechanism and do it for my main UI thread May 17 16:37:13 <_wmealing> i'm sure the java gurus have some reason for not having it. May 17 16:37:21 <_wmealing> emmby_, no reason it cant work May 17 16:48:30 <_wmealing> is there a cscope for java ? May 17 16:48:44 <_wmealing> i can ask google, but it wont tell me if there is something as good as cscope. May 17 16:49:11 dunno, i usually just use intellij or eclipse May 17 16:50:26 <_wmealing> ok May 17 16:50:33 <_wmealing> not so fun on a netbook May 17 16:51:17 bummer. i wish java wasn't so bloated May 17 16:52:20 <_wmealing> not really java, its just the interface. May 17 16:53:30 every java ui i've ever used uses 5x as much memory as, say, python uis May 17 16:53:44 eclipse is particularly bad, but i agree that's mostly the fault of eclipse rather than java May 17 16:54:14 not trying to flame java, i mostly come from a java background May 17 16:54:31 <_wmealing> emmby_, I come from a python and C background May 17 16:54:36 <_wmealing> oh, and erlang May 17 16:54:48 <_wmealing> so, java is .. kind of strange May 17 16:54:53 <_wmealing> i still type "self" far too often May 17 16:55:36 <_wmealing> its like when you go to another country, and they drive on the other side of the road, sit in the passengers seat.. May 17 16:55:39 <_wmealing> thats how it feels for me May 17 16:56:49 yeah, i've been hanging out in python country for too long, and now I don't feel natural driving on the left OR the right side May 17 16:57:15 <_wmealing> hah May 17 16:57:40 <_wmealing> emmby_, so you kind of know where i'm coming from, this is my 2nd week in java. May 17 16:57:49 sorry dude May 17 16:58:01 <_wmealing> thats ok, i can deal with it May 17 16:58:06 been away from java for a year, and i'd forgotten how terribly verbose it is May 17 16:58:11 <_wmealing> yes, it is like that. May 17 16:58:24 <_wmealing> pygtk spoiled me for ui's May 17 16:58:47 <_wmealing> emmby_, what python project ? May 17 16:58:50 mostly because my last experience with it before python was actually with groovy, which is all grace and horns and angels May 17 16:58:52 <_wmealing> which, may be more correct. May 17 16:59:15 what python project am i working on? May 17 16:59:15 <_wmealing> emmby_, groovy you say.. I've been looking into writing android apps with scala.. can you do it with groovy ? May 17 16:59:17 <_wmealing> yeah May 17 16:59:24 http://www.goodrec.com May 17 16:59:55 alas, no groovy on android. groovy manipulates bytecode, which doesn't work with dalvik interpreter May 17 16:59:59 Hi! May 17 16:59:59 <_wmealing> django ? May 17 17:00:03 <_wmealing> ah, yes. May 17 17:00:09 yeah django May 17 17:00:13 <_wmealing> <3 django May 17 17:00:26 How do I make a button fill the full width of a column of a TableLayout ? May 17 17:00:27 prepare to fight May 17 17:00:27 * _wmealing high 5's emmby_ May 17 17:00:42 <_wmealing> MikHel, in xml ? May 17 17:00:46 <_wmealing> emmby_, you hate django ? May 17 17:00:47 "goodrec doesn't support your browser... should be firefox 2 or greater"... NoScript ftw, I use ff 3 :) May 17 17:00:54 I rather loathe django, but we're using a pre-1.0 version May 17 17:01:01 <_wmealing> oh, you poor man. May 17 17:01:05 fill_parent? May 17 17:01:07 <_wmealing> 1.0 is much ncier May 17 17:01:10 (and people who are too stupid to write javascript detection) May 17 17:01:25 <_wmealing> nicer May 17 17:01:39 <_wmealing> emmby_, ive been looking into some of the python micro frameworks on GAE May 17 17:01:44 <_wmealing> emmby_, its easy stuff. May 17 17:01:50 _wmealing: Yes May 17 17:02:02 maybe setting its weight. I'll try that. May 17 17:02:05 wmealing: perhaps, but it requires unnecessary configuration (eg. urls.py as compared to say grails or rails), and there's no ORM-level caching yet so you have to do a lot of your own manual caching May 17 17:02:07 <_wmealing> MikHel, change the android:width to fill_parent May 17 17:02:10 <_wmealing> as ziyong said May 17 17:02:14 bah I have trouble with using OnKeyListener and requestFocus, ie using user-input to move-stuff, here's the code: http://pastebin.com/m1d7bbe82, anyone can see what's wrong? May 17 17:02:30 <_wmealing> emmby_, urls.py as in the mapping ?? May 17 17:02:39 <_wmealing> url -> view mapping ? May 17 17:02:48 wmealing: generally speaking, I find that it requires you to do a lot of stuff yourself manually. Partially because it's so young, but also because of its design philosophy IMO May 17 17:03:14 <_wmealing> this is getting a little OT. May 17 17:03:53 wmealing: yeah, g/rails uses convention over configuration, so if you name a view method "myCoolView()", it will automatically create a url http://your-domain/myCoolView/ for you, unless you override the default May 17 17:04:16 _wmealing: OK Theyt are not buttons. They are spinners, but I have done that and two of them are narrower than the whole column and one fills the column. The one that gives the column its width... May 17 17:04:43 and other stuff like that. the framework isn't nearly as configurable as Spring MVC or grails. It's okay, but i don't think it's ever going to be amazing May 17 17:04:50 <_wmealing> emmby_, ah, the no magic philosophy comes to bite you. May 17 17:05:09 <_wmealing> MikHel, my spinners are widenened , same way. May 17 17:05:25 <_wmealing> http://i56.photobucket.com/albums/g161/caillen/wades/updated-now.png May 17 17:05:27 <_wmealing> just like that May 17 17:05:33 magic is relative :) May 17 17:06:03 That's TextViews, not spinners. May 17 17:06:10 <_wmealing> top spinner. May 17 17:06:27 <_wmealing> The spinner is an linearlayout May 17 17:06:44 <_wmealing> which has android:width="fill_parent" May 17 17:06:48 <_wmealing> then, in the spinner, you also have May 17 17:06:50 bah I have trouble with taking user-input using OnKeyListener and requestFocus, ie using user-input to move-stuff, here's the code: http://pastebin.com/m1d7bbe82, anyone can see what's wrong? May 17 17:06:53 <_wmealing> android:width="fill_parent" May 17 17:07:11 What if you were to put it in the TableLayout and try to make it fill the second column? May 17 17:07:37 I have android:width="fill_parent" for all my spinners. Without success. May 17 17:07:55 <_wmealing> MikHel, one moment May 17 17:08:07 <_wmealing> MikHel, and their parents ? May 17 17:08:47 _wmealing: Same. May 17 17:09:02 <_wmealing> MikHel, http://code.google.com/p/get-a-robot-vpnc/source/browse/trunk/packages/apps/get-a-robot-vpn-frontend/res/layout/main.xml May 17 17:09:05 <_wmealing> the code that builds that ui May 17 17:09:19 <_wmealing> android:layout_width="fill_parent" May 17 17:09:22 <_wmealing> sorry, i had that wrong. May 17 17:10:59 <_wmealing> MikHel, and now ? May 17 17:11:52 Hey May 17 17:11:58 <_wmealing> renke, wb May 17 17:12:02 _wmealing: Your spinner is not in the table. Do a test. Start the TableLayout before the spinner and in the tablerow of the spinner, add a textview before it and tell me how it does. May 17 17:12:17 <_wmealing> MikHel, never said it was. May 17 17:12:22 <_wmealing> MikHel, i said it was within a linear layout May 17 17:12:50 _wmealing: I mean if you test it, you would see my problem maybe. If not, I would have to analyze what's different. May 17 17:13:05 _wmealing: Putting a layout_weight of 1 seems to fix it. May 17 17:13:06 <_wmealing> MikHel, ah, your spinner is within a tableRoow ? May 17 17:13:13 <_wmealing> TableRow May 17 17:13:23 <_wmealing> MikHel, ok cool.. I didnt know that.. May 17 17:13:23 _wmealing: Yeah it is. I have 3 spinners May 17 17:13:35 and I wanted them aligned. May 17 17:13:39 Looks much better May 17 17:13:59 <_wmealing> MikHel, i'll have to remember that trick May 17 17:14:17 <_wmealing> I remember now that droiddraw screwed up sinners when in a table. May 17 17:14:21 <_wmealing> spinners May 17 17:16:15 _wmealing: Alright. I'll put a weight of 1 everywhere. Hopefully that does not mess up the whole column sizing if all the rows do it. May 17 17:16:44 * _wmealing nods May 17 17:19:19 is there any api in planning to make communication between android phones easier? at this point it takes just too much time/work for small apps to be cost effective May 17 17:21:15 ya May 17 17:22:08 <_wmealing> ezome, using something like smack xmpp is too hard ? May 17 17:22:43 so far i only tried raw sockets ;) May 17 17:23:09 do you got a link? May 17 17:23:15 <_wmealing> ezome, no wonder you think its hard. May 17 17:23:24 hehe May 17 17:23:28 <_wmealing> http://davanum.wordpress.com/2007/12/31/android-just-use-smack-api-for-xmpp/ May 17 17:23:36 thanks May 17 17:24:48 Getting report of HTC Magic crash for my app on startup May 17 17:24:54 anyone have one of those? May 17 17:25:06 * doc_savage raises hand May 17 17:25:19 what's you app called? May 17 17:25:23 your* May 17 17:25:24 would you mind giving my app a try? free "wine by the bar" May 17 17:25:37 np, one mo May 17 17:28:15 seems to be working fine, scanned a rizla pack, it connected to server, asked to create a new bottle (i cancelled) May 17 17:28:42 can you give me details of your phone? os version etc. May 17 17:29:18 is 1.5, kernel 2.6.27-00392-g8312baf, build CRB17 May 17 17:29:44 and that info comes from the settings page, right? May 17 17:29:48 aye May 17 17:29:52 about phone May 17 17:29:54 many thanks May 17 17:30:00 np :) May 17 17:30:03 let me go see what he has May 17 17:30:27 i can breathe a bit easier now... was paniced that it was completely broken May 17 17:30:50 lol nah, it loads up fine, looks professional btw :) May 17 17:32:16 it needs a bit of work still but i kind of like it May 17 17:32:38 my first app so it has some areas that could have been done better / simpler May 17 17:33:10 but thanks! May 17 17:33:22 nice, i like the idea, and np :) May 17 17:34:13 yeah, it was born out of necessity: i drink beer and could never remember the good wine names :D May 17 17:35:01 lol yeah I'm not big on wine, I tend to aim for the highest percentage, cheapest price May 17 17:36:48 _wmealing: yes and no. it doesn't tell or direct me to how i DO set the text. May 17 18:12:17 why is it so hard to find how to upload an android app to my gphone? May 17 18:12:37 hard? May 17 18:12:49 get the SDK, run adb install myapp.apk May 17 18:12:57 or if you use Eclipse and the Android plugin just click the Run button May 17 18:13:09 or put the app on a web server and enter the URL to the apk in Android's browser May 17 18:15:38 thanks May 17 18:15:44 i didn' t think it would be hard to do May 17 18:15:59 but my googles of the kind "install apk on gphone" produce nothing May 17 18:18:08 YAY! May 17 18:18:41 plediii: not responding to you/ May 17 18:19:14 ok :) May 17 18:19:46 plediii: this is :) May 17 18:19:56 what's this? May 17 18:20:01 http://www.blogsdna.com/1939/how-to-install-non-market-apk-apps-on-google-android-g1-phone.htm May 17 18:20:05 that help? May 17 18:21:00 yes that looks like it would May 17 18:21:14 i have to tinker around a bit May 17 18:22:12 i think the usb drivers is what i most missed May 17 18:22:19 plediii: i don't like the second one, i'd install the app installer, and then copy the .apk via the sd card, after sticking it in my lappy :) May 17 18:22:34 ok May 17 18:22:38 thank you :) May 17 18:23:11 wmi got my first ap built and working :) May 17 18:23:15 app May 17 18:23:29 s/wmi/i/ May 17 18:39:21 bah I have trouble with taking user-input using OnKeyListener and requestFocus, ie using user-input to move-stuff, here's the code: http://pastebin.com/m1d7bbe82, anyone can see what's wrong? May 17 18:49:44 Does anyone know where JetCreator.py is in the sdk? I assumed /tools but its not there... May 17 18:50:42 nice nick marklar :) May 17 18:51:02 * _Auron_ typically drops the apk on his SD card and runs it with astro file manager May 17 18:51:12 <_Auron_> if it's one I downloaded anyhow May 17 18:51:17 heh thanks May 17 18:51:30 we're all marklars really May 17 18:51:31 <_Auron_> er marklar, wasn't meant toward you May 17 18:51:34 <_Auron_> oh May 17 18:51:35 <_Auron_> nm May 17 19:42:08 Howdy Y'all, what is a good book for developing for the android with the 1.5 sdk? Would any of the older books be worth getting? Or are there any made for the 1.5 sdk yet? Thanks May 17 20:01:01 kc8pxy: i can't seem to find the apps installer in the market, unless they mean eoeAppInstaller May 17 20:24:55 http://groups.google.com/group/android-developers/browse_thread/thread/911f9f1ba2ed87be May 17 20:25:25 ^^ anyoen can take a look at that? I jsut dont seem to eb able to get friggin onDraw to redraw the scene May 17 20:25:31 don't requestFocus in onDraw May 17 20:26:07 where then? May 17 20:26:11 the constructor? May 17 20:26:20 first you need your view to be focusable May 17 20:26:26 (like I told you already a few days ago) May 17 20:26:32 otherwise it will not get the key events May 17 20:27:17 and how do I do that? May 17 20:27:29 I thought requestFocus did that? May 17 20:29:19 read the doc May 17 20:29:24 and you'll find setFocusable(boolean) May 17 20:37:33 then call reuqestFocus() in constructor right after? May 17 20:37:37 still doesnt work though May 17 20:39:11 does it even draw the first frame? May 17 20:39:37 yes May 17 20:39:55 it draws the plane on the golden/brown "carpet" May 17 20:42:18 it works just fine for me... May 17 20:42:40 I created a new project with your source code May 17 20:42:44 I install it on the emulator May 17 20:42:53 and when I press a key, the green plane moves May 17 20:43:34 ok hmm ill close the emulator end try to completely restart it May 17 20:43:48 note that it moves only once but tha'ts normal May 17 20:43:54 and you added setFocusable? May 17 20:43:58 yeah May 17 20:43:59 yeah it should move only once May 17 20:44:30 by the way you don't need an OnKeyListener AND onKyeDown May 17 20:44:32 it's one or the other May 17 20:46:05 damnit May 17 20:46:22 it moves when pressing the friggin steerwheel not the normal keys May 17 20:46:46 I tried when pressing keys on the keyboard May 17 20:48:49 thanks a lot! May 17 20:49:09 it worked without requestFocus() but should I call that anyway ? maybe it doesnt always work without it? May 17 21:06:18 whats the status of xmpp in cupcake? May 17 21:18:29 qaz: call it May 17 21:18:46 qaz: it's gonna help if you ever add views May 17 21:18:53 ezome: same as in 1.0 and 1.1 May 17 22:02:02 brainmelt May 17 22:02:09 when moving a rectangle May 17 22:02:18 canvas.drawRect(x,y,x+30,y+7,paint); May 17 22:02:24 isnt x -= 1 May 17 22:02:26 left? May 17 22:02:38 maybe im being stupid May 17 22:03:40 you are correct May 17 22:04:19 becaue my aeroplane moves in very funnyways May 17 22:08:36 http://hpaste.org/fastcgi/hpaste.fcgi/view?id=4968#a4968 May 17 22:08:39 there the code May 17 22:08:45 the switch keyCode part May 17 22:08:56 i think it should move to the lft,right, up or down May 17 22:09:07 but instead it moves wrong direction on wrong button May 17 22:09:11 and not staright May 17 22:18:08 does the 'spare parts->battery history' tool ever show any data when using the emulator? May 17 22:31:53 ah i figured it out what a dumb error May 17 22:32:20 switch case doesnt work wellt here May 17 22:32:26 but it should no? May 17 22:33:54 hmm it draws really slow May 17 22:34:00 how do I solve this best? May 17 22:34:09 making bigger jumps isnt very nice May 17 22:54:22 i can tell right now my game is way to slow and it cant even be called a game May 17 22:54:39 just using view and invalidate to redraw cant scale very well May 17 22:54:47 how should you do instead? May 17 23:06:17 I've tried posting to android-beginners and android-developers but it just doesn't work (it's been 10 hours) so I have to ask my question here: Is there an easy way to make EditText look like TextView? I'm trying with android:style="@android:style/Widget_TextView" within my EditText, but with no luck! Any advice would be apreciated :) May 18 00:41:00 when processing a broadcast receiver in my app (sent from another process), how can I get access to my app's shared preferences? May 18 00:49:14 heh, nevermind May 18 00:53:39 Hey. May 18 00:53:41 I'm trying to make a layout like | [city ] [state] | May 18 00:53:42 I tried a LinearLayout (for the row) with fill_parent for city and wrap_content for state, but it didn't work. May 18 00:53:46 Is there a way to give percentages? May 18 01:04:17 It's easy to record a .3gp file, but the MediaPlayer doesnt like to play them back... is that correct? May 18 01:04:49 I would like my application to record some of the users audio (using the phone's microphone) then I would like to play that audio back. Recording a .3gp file is pretty easy, but then the MediaPlayer doesnt like to play back the .3gp file. Is there a encoding option or playback setting that is required? May 18 01:48:45 any widget that is like a slider? May 18 01:53:54 hunterp: SeekBar or RatingBar? May 18 01:54:42 yes May 18 01:54:49 perfectoley May 18 02:10:06 any noticed that you cannot undo in eclipse?? May 18 02:15:12 umm mine works fine May 18 02:21:02 jsharkey, i'm a bit of a monkey coder, can I bother you to take a look over my code sometime, I used your preference/sqlite adapter code. May 18 02:21:07 jsharkey, not today.. maybe a week or so from now May 18 02:21:35 but if you are too busy, thats cool May 18 02:21:36 wmealing: i might have some time, next few weeks are crazy May 18 02:21:39 yep. May 18 02:21:53 feel free to re-share and improve though :) May 18 02:21:58 jsharkey, will do. May 18 02:22:06 i peeked over my code the other night and it was a little rusty May 18 02:22:09 jsharkey, i'm not sure I can improve, this is my second week in the java land. May 18 02:22:16 we May 18 02:22:20 we'll see though May 18 02:58:46 <_Auron_> hunterp: Um, undo definitely works here. **** ENDING LOGGING AT Mon May 18 02:59:57 2009