**** BEGIN LOGGING AT Sun Sep 14 02:59:56 2008 Sep 14 06:15:53 -* Sep 14 06:17:08 -*- Sep 14 09:53:44 Hello everybody! after a few months developing in Android I have just discovered this IRC channel. This is the first time I use IRC so please bear with me if I do something incorrect. I'm going to look for an IRC netetiquette manual right now... Sep 14 10:05:06 is anybody using the Theme.light in his application? I'm having some problems with it and I cannot find documentation about the styles that every widget use Sep 14 10:38:57 hi,when i run it:[2008-09-14 12:36:21 - HelloAndroid] ------------------------------ Sep 14 10:38:57 [2008-09-14 12:36:21 - HelloAndroid] Android Launch! Sep 14 10:38:57 [2008-09-14 12:36:21 - HelloAndroid] adb is running normally. Sep 14 10:38:57 [2008-09-14 12:36:21 - HelloAndroid] Could not find HelloAndroid.apk! Sep 14 10:57:24 [2008-09-14 12:36:21 - HelloAndroid] ------------------------------ Sep 14 10:57:24 [2008-09-14 12:36:21 - HelloAndroid] Android Launch! Sep 14 10:57:24 [2008-09-14 12:36:21 - HelloAndroid] adb is running normally. Sep 14 10:57:24 [2008-09-14 12:36:21 - HelloAndroid] Could not find HelloAndroid.apk! Sep 14 11:09:43 hi any one?N Sep 14 11:38:01 hi I am getting the ADT Installation Error: "requires plug-in org.eclipse.wst.sse.ui". Sep 14 11:38:17 The "Android Editors" feature of the ADT Plugin requires specific Eclipse components, such as WST. If you encounter this error message during ADT installation, you need to install the required Eclipse components and then try the ADT installation again. Sep 14 11:38:28 Thank you MrDarcy Sep 14 11:38:33 Your welcome Sep 14 11:38:44 May I say You have the prettiest of manners Sep 14 11:38:49 Why thank you Sep 14 20:56:36 hi guys Sep 14 20:56:43 howdy Sep 14 20:58:27 i'm playing around with activities... my onActivityResult doesn't get called. http://pastie.org/272322 Sep 14 20:59:02 is this a m5 -> 0.9 thing? Sep 14 21:00:07 this is, how i set my result: http://pastie.org/272323 Sep 14 21:00:20 can't see anything wrong with that.. any ideas? Sep 14 21:20:49 is there a way to check, if i get a proper result from an activity? Sep 14 21:26:06 hemp77: what do you mean by proper result? Sep 14 21:30:44 if there's a way to see if there comes a result (result_code and an intent) back.. because my onActivityResult doesn't react. Sep 14 21:32:39 how do you start the activity that's supposed to send you a result? Sep 14 21:34:09 Intent i = new Intent(Intent.ACTION_EDIT); ...... i.putExtra("lastname", "Johnson"); Sep 14 21:34:09 startActivity(i); Sep 14 21:34:22 ah you need to use startActivityForResult() Sep 14 21:35:51 oh.. i see. thank's a lot, romain. i'll do that now. Sep 14 21:37:01 maybe you could clarify this in the reference, it just says "Called when an activity you launched exits" Sep 14 21:37:57 s/you launched/you launched with startActivityForResult()/ for example Sep 14 21:38:44 that would be nice ;-) Sep 14 21:45:48 hi :iv a problem to run helloandroid it sed could not fined helloandroid.apk! Sep 14 21:48:07 ulmen: file a bug Sep 14 21:53:54 hi :iv a problem to run helloandroid it sed could not fined helloandroid.apk! Sep 14 21:57:43 romainguy__: i'll file another bug first, grumping about how it is way harder than it could be to find where to file bugs =) Sep 14 21:59:11 and I'll happily decline this bug :) Sep 14 22:01:07 =( Sep 14 22:01:07 romainguy__: you must be lonely without jasta these days ;) Sep 14 22:01:21 not really Sep 14 22:01:30 at least people can ask questions without being yelled at Sep 14 22:01:54 I kind of enjoy it. keeps me on my toes (and strengthened my research skills) Sep 14 22:02:53 I don't mind directing people to search engines and documentation Sep 14 22:02:57 I do it myself very often Sep 14 22:02:58 but Sep 14 22:03:07 you can say it without being insulting or rude Sep 14 22:03:31 you're a bit condescending yourself at times ;) Sep 14 22:04:01 well, then tell me when I am Sep 14 22:04:07 I certainly don't try nor want to be Sep 14 22:04:24 heh Sep 14 22:04:38 (but I will be direct when you guys try to do stuff you shouldn't be doing :)) Sep 14 22:05:32 I don't mind much either way. Like I said, I kind of enjoy how abrasive jasta can be. same goes for you. if I don't get torn to pieces now and then, I tend to think I'm doing things mostly the right way (which is never the case) Sep 14 22:05:47 hi :iv a problem to run helloandroid it sed could not fined helloandroid.apk! Sep 14 22:06:02 and perhaps jasta could have shut this guy up by now Sep 14 22:06:11 yakischloba: like I said, it can be done without using insults :) Sep 14 22:06:47 romainguy__: do you work all weekends? Sep 14 22:06:55 not lately Sep 14 22:07:09 but until 2 or 3 weeks go, yes, pretty much Sep 14 22:07:13 heh Sep 14 22:07:21 finally calmed down a little bit? Sep 14 22:08:14 yes Sep 14 22:08:20 I couldn't really keep doing it anyway Sep 14 22:08:51 you sure hung in there a long time. Doesn't matter how interesting what I Sep 14 22:09:00 over the past year I often did my 40 hours in 2 days :)) Sep 14 22:09:05 'm working on is, I can only look at the screen for so many days in a row Sep 14 22:09:07 hah Sep 14 22:09:09 gross. Sep 14 22:09:28 I've managed to avoid that for a long time. I hope to forever. Sep 14 22:09:37 :) Sep 14 22:09:45 it was a special time Sep 14 22:10:42 are you going to continue to work on android indefinitely, or do you have your sights set on another project later? Sep 14 22:11:31 there are other projects I'm interested in, but not at Google Sep 14 22:11:39 but for now, I'm happy on Android Sep 14 22:12:52 hmm. I can't think of a whole lot of things that sound more interesting to work on. seems like you've got a pretty good gig going. Sep 14 22:13:18 well for instance I'd be happy to work on Flex at Adobe, or on their Thermo tool Sep 14 22:13:32 any answar Sep 14 22:13:34 but yes, working on Android is great Sep 14 22:13:49 bravvve: what exactly are you doing? when do you get this error? Sep 14 22:14:03 Thermo tool? Sep 14 22:14:11 yes Sep 14 22:14:17 wotsit? Sep 14 22:14:23 it's a tool that lets you convert Photoshop mockups into working Flex applications Sep 14 22:14:29 you can find videos of a demo on youtube Sep 14 22:14:32 it's very impressive Sep 14 22:15:07 romainguy__:the exemple in google's site Sep 14 22:15:09 hmm Sep 14 22:15:17 whoa. crazy stuff. I see why would you would want to work on that Sep 14 22:15:33 bravvve: sure, but how do you run it? Sep 14 22:15:52 just like the exemple with eclipse Sep 14 22:16:14 what version of Eclipse do you use? Sep 14 22:16:20 3.4 Sep 14 22:16:33 do you have any more information in the logs? Sep 14 22:16:38 what do you see in the logcat tab? Sep 14 22:16:59 logcat tab??? Sep 14 22:17:23 http://code.google.com/android/intro/hello-android.html Sep 14 22:17:30 what's the droid fonts licence? Sep 14 22:17:36 in Eclipse, there's a view called "logcat" Sep 14 22:17:40 it shows the logs from the emulator Sep 14 22:17:54 you can also open a terminal, go in /tools and type adb logcat Sep 14 22:18:24 [2008-09-15 00:02:19 - HelloAndroid] Android Launch! Sep 14 22:18:24 [2008-09-15 00:02:19 - HelloAndroid] adb is running normally. Sep 14 22:18:24 [2008-09-15 00:02:19 - HelloAndroid] Could not find HelloAndroid.apk! Sep 14 22:18:55 romainguy__: the apk is not created Sep 14 22:19:06 hi Sep 14 22:19:15 what's the droid fonts licence? Sep 14 22:23:09 How do I horizontally center a TV within a LinearLayout? I'm using layout_gravity="center_horizontal". Is this not the correct thing? Sep 14 22:23:32 it is, but only in a vertical linear layout Sep 14 22:24:00 oh, ok Sep 14 22:24:20 in a horizontal linearlayout you can use android:gravity="center_horizontal" on the LinearLayout Sep 14 22:24:25 but that will center all the children Sep 14 22:24:35 romainguy__: no idea? Sep 14 22:24:43 alternatively you can set the width of the textview to fill_parent and use android:gravity="center_horizontal" on the TextView itself Sep 14 22:24:55 ok Sep 14 22:24:59 bravvve: none :( you should try to post your question on the Android groups/mailing list Sep 14 22:26:13 romainguy__:its alrady posted but no answar,or Sep 14 22:26:17 I take it the layout preview is supposed to refresh automatically when I save the xml file? Sep 14 22:26:29 yakischloba: I have no idea, it should I guess Sep 14 22:26:31 the answar not working with mine Sep 14 22:26:33 inanc: the fonts embed http://ascendercorp.com/eula10.html being their license Sep 14 22:27:00 fenec@localhost:~/android/tools$ ./adb logcat Sep 14 22:27:00 - waiting for device - Sep 14 22:27:14 bravvve: is the emulator running? Sep 14 22:27:20 no Sep 14 22:27:31 you need to have the emulator running to use logcat Sep 14 22:27:38 so apparently it just didn't compile your code Sep 14 22:27:57 what code Sep 14 22:28:45 ulmen: but gentoo say apache-2.0 http://kambing.ui.edu/gentoo-portage/media-fonts/droid/droid-1.ebuild Sep 14 22:29:38 romainguy__: do you see anything wrong with this? http://pastie.org/272364 Sep 14 22:29:57 yes Sep 14 22:30:02 the textview is as wide as the linearlayout Sep 14 22:30:05 ok what dumb thing am I missing Sep 14 22:30:06 so it cannot be centered Sep 14 22:30:12 either use wrap_content Sep 14 22:30:12 lol! Sep 14 22:30:15 or change layout_gravity to gravity Sep 14 22:30:31 actually here you don't even need the LinearLayout Sep 14 22:30:50 its part of a bigger structure..I believe I will need it Sep 14 22:30:58 ok Sep 14 22:31:09 I fixed it. that was dumb. thanks Sep 14 22:32:04 romainguy__: come thing is starting with logcat Sep 14 22:32:06 inanc: i've only read so and wikipedia tells it Sep 14 22:32:57 ah ok Sep 14 22:33:00 android Sep 14 22:35:43 romainguy__: should the emulator be started when runing the application in eclipse? Sep 14 22:35:51 you should not have to Sep 14 22:35:54 it shoudl start the emulator Sep 14 22:47:15 eclipse could not create apk application any idea? Sep 14 22:51:13 eclipse could not create apk application any idea? Sep 14 22:56:49 romainguy__: is there some kind of API for the phone's owner information yet, like winmo can have? Sep 14 23:08:10 eclipse could not create apk application any idea? Sep 14 23:13:45 nice asus http://www.engadget.com/2008/09/14/is-asus-prepping-a-5-megapixel-omnia-challenger/ Sep 14 23:20:58 where do i place code in the app starting procedure in order to delete an (existing) database? Sep 14 23:21:34 (using the database helper) Sep 14 23:36:08 hemp77: in the oncreate Sep 14 23:37:40 ok, thanks. i've already done a action in my content provider, which cleans the database. now i try to call this from oncreate. Sep 14 23:37:49 You'd probably check its existence with somethhing like the SQLiteOenHelper Sep 14 23:37:49 using tor you could just check for the existence of the file under the data folder Sep 14 23:37:49 that was a muddle Sep 14 23:37:49 I meant you could just check the filesystem to see if the DB exists Sep 14 23:40:44 chomchom: is there any class, i could use? Sep 15 00:06:52 ok, i've managed it. (did it via my content provider) Sep 15 00:17:00 is there a way in android to push database entries from a server to my app? **** ENDING LOGGING AT Mon Sep 15 02:59:57 2008