**** BEGIN LOGGING AT Tue Aug 04 02:59:57 2009 Aug 04 03:38:59 working on tweens atm to apply on my 'drawables' :P Aug 04 03:59:13 hi there, is there a way to set the orientation to landscape all the time. Aug 04 04:04:11 ok I think i have a working base now for tweens Aug 04 04:07:50 ok testing time :P Aug 04 04:07:56 getGameThread().Tweens.add(new Tween(m_DrawLogo1, "alpha", "none", 0f, 1f, getGameThread().getRuntime() + 3000)); Aug 04 04:07:58 :) Aug 04 04:08:19 works! :D Aug 04 04:08:29 w00t Aug 04 04:08:48 nice :) Aug 04 04:10:30 doesnt work on just any object though Aug 04 04:10:34 must implement ITweenable Aug 04 04:10:50 how come? Aug 04 04:11:02 efficiency Aug 04 04:11:04 oh you're not using reflection? Aug 04 04:11:10 no Aug 04 04:11:25 I could add that, but I think thats a bit inefficient imh Aug 04 04:11:27 *imho :P Aug 04 04:11:32 depends what you do Aug 04 04:11:36 but for a game, probably Aug 04 04:11:43 yeah for a game it is :P Aug 04 04:12:36 lol I was wondering why it didnt work anymore Aug 04 04:12:42 instead fo copy/paste it here I did cut/paste ;p Aug 04 04:14:36 meh gonna need to optimize so much Aug 04 04:14:59 to prevent constant glEnable/glDisable for example Aug 04 04:16:35 meh bit tired.. and gtg to work in 50mins ;p Aug 04 04:16:41 lucky boss guy isnt there today :P Aug 04 04:19:02 How would u overload the method startActivity to send an integer with it? Aug 04 04:19:23 Or at least how can you send an integer to another class with importing? Aug 04 04:24:47 Minty: you would typically use Intent extras. Aug 04 04:25:11 often times, you would make a static show() method in the activity class youre attempting to start Aug 04 04:25:34 for instance, show(Context context, int myInt) { ... } and there you would encode the Intent however the activity expects and run context.startActivity(...) Aug 04 04:30:52 ok.. Aug 04 04:41:31 Im getting a force close error and I really need help heres the logcat:http://pastebin.com/d5b583bab Aug 04 04:43:31 for some reason its not finding the class I think.. Aug 04 04:47:49 I need some help with an app that I'm writing, am I in the right channel? Aug 04 04:49:39 Yes, ask away Aug 04 04:50:04 :) Aug 04 04:52:24 I am using the command digitalclock, and am getting an output of 12:00:00, is it possible to make it 24:00:00? Aug 04 04:54:29 I just want to change the output format. Aug 04 05:01:59 Whats the syntax for inflating an xml file Aug 04 05:03:02 hello , could some one tell me if it is possible to develop android with vim Aug 04 05:03:25 mm yes Aug 04 05:05:58 Whats the syntax for inflating an xml file? Aug 04 05:07:00 Minty, you just asked that a few minutes ago Aug 04 05:07:09 and look at the docs for LayoutInflator Aug 04 05:26:43 jeez my tweek wont work and I dont know why :( Aug 04 05:26:46 err tween :p Aug 04 05:26:50 it works half Aug 04 06:42:51 <_yoyo> what does it need in order to start up Calendar application, in my case, it outputs "Unable to start service Intent { action=android.accounts.IAccountsService comp=com.google.android.googleapps/com.google.android.googleapps.GoogleLoginService} }: not found" Aug 04 06:57:28 why is default android linkcolor unreadable with dark background themed pages? :( Aug 04 07:21:29 <_yoyo> Google has not provided the GoogleLoginService yet? Aug 04 07:37:48 When will the Donut come out? I got low performance on my HTC Hero Aug 04 07:38:52 And is it any version of the Android 1.5 i can install on it? i got Release 1, but don't know if I can install it on my Hero Aug 04 07:39:06 the r3 Aug 04 07:40:10 r3 is just a security fix Aug 04 07:53:12 oh Aug 04 08:05:49 Xalyx: can you use the normal android home instead of touchflo? Aug 04 08:06:02 I found that was the best thing to speed up hero when I had it on my magic Aug 04 08:06:28 Xalyx: try going to Applications->Manage Applications->Touchflo->clear defaults Aug 04 08:06:38 then press the Home key and choose Home, not TouchFLO Aug 04 08:07:05 The biggest disadvantage of that home though is you can't use any of HTC's widgets Aug 04 08:07:16 but it's much faster and less memory hungry Aug 04 08:07:49 If you don't like that Home, you can switch back using the same method (except going to Home and clearing defaults, not TouchFLO) Aug 04 08:55:08 yea.. i use home switcher.. still slow Aug 04 08:55:17 kk ill check Aug 04 08:56:57 got no option to clear defaults Aug 04 08:57:20 is it in settings? Aug 04 08:58:49 found it Aug 04 08:59:57 then a reboot right? Aug 04 09:03:10 What the hell? now its as fast as the Iphone.. Aug 04 09:03:22 Thanks a bunch Radix_ :D Aug 04 09:05:09 Seems like it was some HTC software running in the background when I switched to Home as default using Home Switcher, but this was much better Aug 04 09:07:08 All fell asleep or what? Aug 04 09:18:07 hello.... Aug 04 09:18:14 I have got a question... Aug 04 09:18:35 to take part into the ADC2 competition... Aug 04 09:19:03 do you have to be a registered android developer?? Aug 04 09:19:14 paying the registration fee and all? Aug 04 09:31:35 halo Aug 04 09:31:48 does anyone know about the ADC competition? Aug 04 09:32:16 is it necessary to be registered and have paid the fee to participate? Aug 04 09:37:08 well... you do have to get your app to market somehow, no? Aug 04 09:40:25 hello Aug 04 09:40:58 ah ok Aug 04 09:41:15 because they said the competition is open to everyone.... Aug 04 09:41:32 everyone being an Android registered develoer Aug 04 09:42:33 I know this is really newbie stuff, but I need an urgent help (if you can). Aug 04 09:42:56 How does one call into the UI thread from an external thread ? I'm getting android.view.ViewRoot$CalledFromWrongThreadException Aug 04 09:42:59 is there any one familiar with google map api Aug 04 09:43:05 I am seeking for help here Aug 04 09:54:14 ashitaka, you should look into the android.os.Handler for posting messages from worker threads to the ui thread Aug 04 09:58:01 @hoerup, got it! Aug 04 10:04:00 I think I fixed my tweens Aug 04 10:09:19 yup works :D Aug 04 10:09:44 getGameThread().Tweens.add(new Tween(m_DrawLogo1, "alpha", "none", 0f, 1f, 5)); :) Aug 04 10:10:08 and it has one public var OnFinished where you can put a runnable Aug 04 10:11:23 hi, is it the channel, people from android developers news group talk? Aug 04 10:12:28 <_Auron_> pskink: somewhat, yes Aug 04 10:13:00 thx Auron! Aug 04 10:13:24 <_Auron_> np Aug 04 10:13:48 do anyone know when adc II submissions start? Aug 04 10:13:52 <_Auron_> I wonder how well Stroids will sell today. Aug 04 10:13:59 <_Auron_> pskink: Not sure. It'll start when it's open I guess Aug 04 10:14:16 <_Auron_> We'll just have to check the ADC2 page daily Aug 04 10:15:22 _Auron_ oe day I'll be competing with my own apps ;) Aug 04 10:15:31 meh *one Aug 04 10:15:34 @ remote control here :p Aug 04 10:15:39 aha, they said that during august devs will be able to submit... but we have august and nothing frim their side Aug 04 10:17:09 <_Auron_> pskink: Well it isn't even a third of the way through the month. Aug 04 10:17:20 <_Auron_> Besides, it's not like there's a limited capacity of entries Aug 04 10:18:38 do you have to use a dev phone to debug 'live' or is it also possible using for example htc magic? Aug 04 10:20:38 <_Auron_> no Aug 04 10:20:56 err on what part (I know I asked it in a bad way :p) Aug 04 10:21:16 do you need to use a dev phone, or no you can also use an htc magic Aug 04 10:21:23 <_Auron_> there's a Development section in the options for debugging options, and there's another option somewhere that you tick on if you want to allow non-market apps to be installed Aug 04 10:21:38 adb logcat will spit out messages from any connected phone if usb debugging is enabled Aug 04 10:21:42 <_Auron_> dosen't matter what phone Aug 04 10:21:50 ah ok goed :) Aug 04 10:22:02 <_Auron_> different with ADP is it's sim-unlocked and rooted Aug 04 10:22:13 <_Auron_> difference* Aug 04 10:22:32 not much of a difference these days, as all of the phones are capable of being rooted ;) Aug 04 10:22:47 <_Auron_> but the ADP1 has a fancy design on the battery cover! :P Aug 04 10:22:53 yeah it has :) Aug 04 10:22:55 <_Auron_> ADP* Aug 04 10:23:04 meh cant decide lol Aug 04 10:23:08 $5 at your local store ;) Aug 04 10:23:12 <_Auron_> not that I've ever seen one though. I just use my G1 that I bought for $120 in almost mint condition Aug 04 10:23:12 print any design you want! Aug 04 10:23:34 nice price :) Aug 04 10:23:42 <_Auron_> does Kinko's do something like that? Aug 04 10:24:14 kinky's? Aug 04 10:26:45 http://cgi.ebay.com/G1-Android-Phone-Unlocked-GSM-Quadband_W0QQitemZ250474846478QQcmdZViewItemQQptZCell_Phones?hash=item3a5176d90e&_trksid=p3286.c0.m14 Aug 04 10:26:53 "****This does not have a slide out keyboard. It is a touch screen keyboard****" <= fishy Aug 04 10:26:59 G1 without keyb? Aug 04 10:28:37 <_Auron_> incorrect pic then Aug 04 10:29:16 but does such a thing exist? Aug 04 10:30:05 <_Auron_> it may be the HTC Hero Aug 04 10:30:13 <_Auron_> "HTC Hero - Similar to the Dream, but without a slide out keyboard, uses HTC's customised UI, called {HTC Sense UI|Sense UI}." Aug 04 10:30:28 <_Auron_> or HTC Magic Aug 04 10:30:31 for $90? :P Aug 04 10:30:54 I dont think so - sounds like a fraud to me Or a G2 android 'clone' Aug 04 10:30:54 <_Auron_> bid of $90, not buy-it-now Aug 04 10:30:56 ebay is full of them Aug 04 10:31:00 yes but it ends soon Aug 04 10:31:07 lol Aug 04 10:32:01 <_Auron_> hmm according to that listing it's a G1 KA08 I68 Aug 04 10:32:08 <_Auron_> which leads to http://ezinearticles.com/?CECT-Mini-KA08-i68---Why-This-Term-Really-Describes-Two-Different-iPhone-Clones&id=2341172 Aug 04 10:32:29 <_Auron_> which leads to http://ka08phonereview.com/ Aug 04 10:32:34 <_Auron_> completely different phone altogether Aug 04 10:33:23 clone - knew it :p Aug 04 10:34:43 <_Auron_> iphone clone, but not a g1 and not an android phone Aug 04 10:34:48 <_Auron_> that listing should be reported Aug 04 10:35:05 Hey :) Aug 04 10:35:10 Il y a du monde ici ^^ Aug 04 10:36:15 It's no french ? Sorry, Hi ! :O people :D Aug 04 10:37:19 http://superkcphones.com/unlockphones.aspx <= is this legit (if you know) Aug 04 10:38:10 since I found a cheap phone @ebay Aug 04 10:41:52 I know http://www.unlock-now.com/ Aug 04 10:41:59 for unlock your mobile phone Aug 04 10:42:04 SinnerG, :) Aug 04 10:49:40 still waiting for hardware here Aug 04 10:49:46 retarded bundle policies Aug 04 10:52:20 jacques can that be trusted? Aug 04 10:53:01 SinnerG, yes Aug 04 10:53:12 i've use this service for my G2 Aug 04 10:53:56 well I found a cheap but damaged (visually) android phone Aug 04 10:54:08 considering buying it since well - it was more for dev than for show anyhow Aug 04 10:54:25 doesnt matter then if the plastic is ucky :p Aug 04 10:57:00 <_Auron_> as long as it works Aug 04 10:58:13 meh Aug 04 10:58:23 the seller doesnt seem to be shipping to belgium... Aug 04 10:58:34 hi all, can anyone tell me : If I brought a app from the market, can I uninstall and reinstall without having to pay again ? Aug 04 11:02:02 the reason I ask is that my app is force closing on the hero ???? Aug 04 11:02:48 I've send a request to send it to belgium - I hope he replies in time Aug 04 11:03:06 afaik you can just uninstall and request teh app @the store again Aug 04 11:03:13 but better ask someone with a real phone :P Aug 04 11:03:19 it appears my app is force closing on the hero but not on the G1 - how is a developer meant to see that coming ? Aug 04 11:03:45 hero emulator ? Aug 04 11:03:56 <_Auron_> johnnyzen: a lot of apps force close on the hero. don't know why. Aug 04 11:03:58 no I mean I read such a thing Aug 04 11:04:09 and I dont have a phone yet so I cant be sure Aug 04 11:04:18 Auron: maybe cause HTC has changed android os a lot ? Aug 04 11:04:49 <_Auron_> Possibly. Aug 04 11:04:52 Honestly, google are not doing agood job at this apps business. Aug 04 11:05:57 why is HTC allow to change things so much, apps dont work on it. Imagine when other handset makers show their android phones = android market place FAIL Aug 04 11:08:41 waah Aug 04 11:09:01 200eur for a dev phone but the guy lost the warranty papers Aug 04 11:09:04 mint condition Aug 04 11:09:05 worth it? Aug 04 11:09:21 (175 without shipping cost) Aug 04 11:09:22 hmm let me see what will happen in my magical crystal ball: "Hey this app isnt working on my hero??" - Response from HTC: "Speak to Google" - Response from Google: "Speak to HTC" Aug 04 11:09:29 hehe Aug 04 11:09:33 yeah I can see that happen Aug 04 11:10:04 Sinner: wheres that ebay ? Aug 04 11:36:22 Does any one know how to create a Folder in SdCard programitically \ Aug 04 11:36:31 Does any one know how to create a Folder in SdCard programitically Aug 04 11:37:11 Does any one know how to create a Folder in SdCard programitically Aug 04 11:38:45 Guest, which of the questions would you like answered first Aug 04 11:39:50 hi, did anyone used PopupWindow class with custom animations? for me they seem not to work Aug 04 11:42:19 PopupWindow has setAnimationStyle which completly ignores me Aug 04 11:43:08 Guest, have you looked at java.io.File.mkdirs() \ java.io.File.mkdirs() Aug 04 11:43:16 Guest, have you looked at java.io.File.mkdirs() Aug 04 11:43:53 nobody can say we don't respond to all questions :D Aug 04 11:45:53 i see Aug 04 12:26:16 In the standard messaging app, I want remove the icon delivery report, and only show it when i did not receive the delivery report Aug 04 12:26:20 Do you think its possible ? Aug 04 12:39:27 how can I simply exit my activity? I mean with code Aug 04 12:39:29 onPause() does not Aug 04 12:40:46 Phlogi, is it Activity.finish() you need ? Aug 04 12:45:18 finish() Aug 04 12:49:14 neither does onStop() :S Aug 04 12:49:16 Phlogi: finish() Aug 04 12:49:19 zhobbs_: I hope the service I started in background is not killed?! Aug 04 12:49:24 Phlogi: as long as you started it it'll stay running Aug 04 12:49:24 zhobbs_: thats great, thanks, it works :) Aug 04 12:50:02 if it started because you binded() and was never actually explicitly started then it'll stop onUnbind Aug 04 12:50:02 zhobbs_: when I go back to my activity the data is not there any longer.. (filled out forms), do I have to care about that myself? I didn't have to before Aug 04 12:50:04 if your activity is destroyed it's up to you to save state Aug 04 12:50:56 so this means finish does destroy it? Aug 04 12:51:12 * Phlogi is unsure if he wants to destroy it... basically yes Aug 04 12:53:58 in Eclipse, when I doubleclick res/layout/main.xml i get an error: java.lang.NoSuchMethodError: ...ui.StructuredTextEditor.isBlockSelectionModeEnabled()Z Aug 04 12:54:16 seems pretty essential to be able to edit layout.. Aug 04 12:54:37 i followed the installation of android SDK pretty exact Aug 04 13:00:45 is onNewIntent only called when the activity is still running? Aug 04 13:01:04 think I found the solution: http://groups.google.com/group/android-developers/browse_thread/thread/f4ba97f99c3b470c/f4add52447b4a06f?show_docid=f4add52447b4a06f&pli=1 Aug 04 13:01:12 that should be in the install docs ! Aug 04 13:04:21 how come a simple manifest xml can break eclipse's XML reader ?!? Aug 04 13:05:12 maybe I should use Eclipse 3.5 ? Aug 04 13:08:36 I have a linearlayout which contains another linearlayout (aligned to the left) and an imageview (aligned to the right). The linearlayout takes up too much space, so the imageview doesnt show. I want to always show the imageview without setting a static width on the linearlayout Aug 04 13:09:00 I've set the layout weight on the imageview to 1, but that doesn't seem to do anything.. Aug 04 13:09:18 layout_width on the linearlayout is set to wrap_contents Aug 04 13:12:31 oh, my bad.. seems I got them the wrong way around :p Aug 04 13:18:59 Ramosa, which eclipse version are you using Aug 04 13:19:20 3.4.2 .. it works now that i reverted eclipse xml viewer back to 2.0.4 Aug 04 13:19:21 3.0.4 Aug 04 13:19:31 eclipse is 3.4.2 Aug 04 13:20:08 well, it works fine with 3.4.1 Aug 04 13:20:38 well what version you have Eclipse XML Editors and Tools at ? Aug 04 13:20:43 under Software Updates Aug 04 13:20:48 3.0.2 Aug 04 13:21:05 yes.. but if you update your plugins and you get 3.1.0 (latest) all manifest files fail to open Aug 04 13:21:45 im lucky i found a thread on android developers talk about it Aug 04 13:21:48 well, then i will probably stick my current version :) Aug 04 13:22:42 anyone got a htc hero? Aug 04 13:33:47 if i got yellow wavy lines under all my lines in main.xml it means it's flawed right? Aug 04 13:33:59 but i pasted this example: http://developer.android.com/guide/tutorials/views/hello-linearlayout.html Aug 04 13:34:12 when i choose Run/Run i can't select an android project though Aug 04 13:35:21 Ramosa, right-click on your project and select "Run as -> Android" Aug 04 13:35:41 Ramosa, also, check the Problems pane Aug 04 13:35:45 no android there also.. and nothing in problems pane Aug 04 13:36:44 i have 2 projects open Aug 04 13:37:25 maybe it has to do with me just reverting back to older version of plugins? Aug 04 13:37:54 duh yes! ADT is gone Aug 04 13:38:02 shit shit, this is impossible to work with Aug 04 13:39:00 what happened to IntelliJ Aug 04 13:42:13 intellij is still aroound Aug 04 13:42:44 i only have good memories of that Aug 04 13:43:09 but then i can't use android tutorials :-p Aug 04 13:47:08 so.. when my emulator pops up, it just displays ANDROID_ for a while, then the graphical android logo, and nothing more happens Aug 04 13:47:23 it also did that with hello world Aug 04 13:48:43 no now it works Aug 04 13:48:51 it takes at least 30 secs before the apps shows? :-o Aug 04 13:50:39 are you closing the emulator before you run your app? Aug 04 13:51:04 because you don't need to do that Aug 04 13:51:10 no it was first run Aug 04 13:51:36 i dont even need to quit the app in the emulator before running again? it will be garbage collected? Aug 04 13:52:27 Ramosa, do you restart your computer every time you run a new application? Aug 04 13:52:34 sure Aug 04 13:52:36 :-p Aug 04 13:53:19 whats the shortcut to run and not having to choose to run as android every time? Aug 04 13:54:06 just click the run button? Aug 04 13:54:49 then i still get a dialog asking what to run as.. besides keyboard command is faster Aug 04 14:06:06 Hello! Aug 04 14:07:18 is there a particular messageboard popular for Android development? Aug 04 14:08:09 xda-dev Aug 04 14:08:31 (xda-developers.com) and there's also the android-developers Google Group Aug 04 14:09:02 KNY, thanks. I'm getting that Creative Zii Egg. I can't wait to get coding Aug 04 14:27:51 there Aug 04 14:27:53 I've did it Aug 04 14:27:57 ordered a magic :P Aug 04 14:28:02 new Aug 04 14:29:03 why not hero Aug 04 14:29:15 does anyone from Creative chat here? i'd like some new info on the Zii hardware Aug 04 14:29:23 $$$ + its not for sale yet @ belgium Aug 04 14:29:42 + I read many apps dont run on the hero Aug 04 14:30:19 it doesnt cost much more Aug 04 14:30:24 why they dont run Aug 04 14:30:34 even if they did run Aug 04 14:30:43 its to much $$$ for me + aint for sale :P Aug 04 14:30:57 289 eur + 52eur / month plan Aug 04 14:31:01 bah, it's coming very soon Aug 04 14:31:10 includes 2GB traffic + 160 call minutes Aug 04 14:31:14 enough gfor me Aug 04 14:31:16 its for sale in Denmark starting today Aug 04 14:31:21 2 GB per month? :-o Aug 04 14:31:33 here you can get up to 20 GB Aug 04 14:31:57 and it doesnt cost more if you exceed, but they can shut you down for the month Aug 04 14:31:58 its belgium... Aug 04 14:31:59 :p Aug 04 14:32:07 its the best I found for a still doable price Aug 04 14:32:16 im afraid of hero's speed though Aug 04 14:32:21 but it's the same CPU as magic Aug 04 14:32:27 but it has more bells and whistles Aug 04 14:32:35 yeah was gonna say "its more shiny" Aug 04 14:32:36 :p Aug 04 14:32:54 i like the shape Aug 04 14:32:59 sure magic is cool also Aug 04 14:33:04 but hero seems an improvement Aug 04 14:33:19 but then i heard about SE's Rachel (1 ghz) Aug 04 14:33:21 snapdragon Aug 04 14:33:26 maybe I should wait :) Aug 04 14:35:21 cant wait for the phone Aug 04 14:35:27 good chance that I'll have it tomorrow already Aug 04 14:35:30 they have fast delivery :p Aug 04 14:46:01 magic is a bit plasticky Aug 04 14:46:11 i read that hero is a lot more sturdy Aug 04 14:46:15 though not heavier Aug 04 15:46:52 Ramosa: SinnerG : Have you any idea for the price for the magic in your countries? Aug 04 15:48:19 magic 465 euro without abo, hero 505 euro Aug 04 15:48:50 cheaper with abonnement, as you get free minutes per month and i think 10 gb data Aug 04 15:48:58 and less total price Aug 04 15:49:24 Ramosa: ok thx ;) Aug 04 15:50:16 but why you want a magic when hero is almost here? Aug 04 15:50:46 I've already a magic :) Just curious about pric in E.U Aug 04 15:50:49 +e Aug 04 15:55:59 and what is price at you? Aug 04 16:02:18 i have been wishing for sometime for Eric to quit Apple's Board. Now my wish come true. I believe that it is good for android Aug 04 16:16:13 if I want multiple WHERE arguments in my contentresolver query I pass them as separate Strings in the selectionArgs[] array rather than using + " AND " + in the selection parameter? Aug 04 16:30:42 I have an activity which creates an intent to launch a new activity but calling the new activity just gives me a black screen even after I tried setting the view with buttons etc Aug 04 16:31:14 the new activity definitely opens because i have it change the titlebar Aug 04 16:32:04 deweylewie, start with a pastebin of the relevant code Aug 04 16:32:57 hierarchyviewer Aug 04 16:33:03 check where your views are Aug 04 16:33:11 (if you actually have views) Aug 04 16:38:45 was my question above correct, or am I misunderstanding the selectionArgs array in a query? Aug 04 16:38:46 http://pastebin.com/m57150b1a Aug 04 16:39:39 deweylewie, at the beginning of TestDroidScreen2.java you definitely called setContentView()? Aug 04 16:40:07 yep Aug 04 16:46:28 martin___, you're misunderstanding selectionArgs Aug 04 16:53:05 ok, cheers :) Aug 04 16:54:13 First screen looks like this: http://i26.tinypic.com/350155v.jpg Aug 04 16:54:20 Second like this: http://i28.tinypic.com/21mbxi0.jpg Aug 04 16:54:51 well there's nothing in your activity Aug 04 16:55:07 maybe you should check the content of your oldmain.xml Aug 04 16:56:45 oh, i didn't scroll far enough to see that class Aug 04 16:57:07 my question about setContentView probably sounded really dumb :D Aug 04 16:57:34 deweylewie, give the TextView an android:text="i am here, honest" element and you'll see it, if it doesn't contain any text then it will look like a blank screen Aug 04 17:10:04 My oldmain.xml looks like this: http://pastebin.com/m1bbd8a2e Aug 04 17:11:38 and still a blank screen Aug 04 17:19:18 Anyone know the syntax for inflating an xml file? Aug 04 17:19:53 hello Aug 04 17:21:15 guys I'm trying to launch ACTION_IMAGE_CAPTURE intent, but the Camera process crashes when the activity starts and OutOfMemory exception is thrown. Any ideas ? Aug 04 17:21:33 Is there some kind of permission I need to use ? (I tried Camera permission but didn't work) Aug 04 17:29:12 I can't seem to find any good info on programatically displaying videos in an android app (videos from over a network). I currently pass it off to the web browser, but this means that if the user presses the back button they are presented with a blank web page and must hit back again to return to the app. Aug 04 17:29:33 Does anyone know what the best way to go about playing video is? Aug 04 17:30:50 I tried what is detailed at http://developer.android.com/guide/topics/media/index.html but it didn't work as expected Aug 04 17:31:30 meanburito920_, try using VideoView Aug 04 17:31:57 its quite simple Aug 04 17:32:14 hey guys Aug 04 17:33:12 Declare it just like any other view Aug 04 17:33:40 i am wondering why my gps locates stop working after leaving my phone on for extended periods amount of time (ex >2 days) ? Aug 04 17:33:42 Then use (yourVideoView'sName).setVideoPath("/path/path.mp4") Aug 04 17:34:04 got it burrito? Aug 04 17:35:39 Look here for other public methods for VideoView http://developer.android.com/reference/android/widget/VideoView.html Aug 04 17:37:16 Is anyone familiar with SSL? Aug 04 17:37:59 I have a ftp server running on android, but SSL handshake keeps failing Aug 04 17:38:56 Is there some kind of permission I need to use if I want to start Activity for ACTION_CAPTURE_IMAGE intent ? Aug 04 17:41:54 androoid: re gps locates stopping -- is that reliable? what version of the OS are you running? Aug 04 17:42:08 is GPS running that entire time? has the device been brought in/out of doors? is it in motion? etc. Aug 04 17:47:43 man, hopefully the IPsec stuff in Android is getting better or I might have to rewrite parts of it Aug 04 17:48:05 * kroot wields his keyboard menacingly Aug 04 17:48:55 omg I finally figured it out Aug 04 17:49:19 grats Aug 04 17:49:26 I didn't put in @Override Aug 04 17:49:27 AND Aug 04 17:49:31 public void OnCreate(Bundle savedInstanceState){ Aug 04 17:49:36 androoid: ping? Aug 04 17:49:42 deweylewie, that's wrong Aug 04 17:49:46 OnCreate should be onCreate Aug 04 17:49:48 deweylewie: heh, it's onCreate() -- note the capitalization Aug 04 17:49:49 yes Aug 04 17:49:52 yeah Aug 04 17:49:59 deweylewie, @Override throws errors for a reason Aug 04 17:50:05 and yes, @Override will force a compile time error for that mistake, yay Aug 04 17:50:14 since there was no @Override, the IDE didn't pick me up on it Aug 04 17:50:22 * ctate really wishes we could switch to javac 1.6 on the android project :( Aug 04 17:50:36 ctate, what did they change with @Override in 1.6? Aug 04 17:50:48 you can put it on interface methods Aug 04 17:50:51 in 1.6, it became legal to use @Override when implementing an interface method Aug 04 17:50:57 Anyone know the syntax for creating a layout inflater? Aug 04 17:51:01 I wish I didn't have to use java at all, but I geuss its better then most options Aug 04 17:51:24 i hadn't done real work in java before joining the Android team, but i'm liking it fairly well Aug 04 17:51:35 why would that break 1.5 compatibility? Aug 04 17:51:35 Minty: first answer from google: http://developerlife.com/tutorials/?p=303 Aug 04 17:51:42 KNY: yes Aug 04 17:51:42 because it's forbidden in 1.5 Aug 04 17:51:51 it seems like that change would be fully backward compatible Aug 04 17:52:05 KNY: that's not backwards compatibility; that's forwards compatibility Aug 04 17:52:18 "old stuff continuing to work on new stuff" == backwards compatibility Aug 04 17:52:20 at google you get to "join" teams working on areas of your interest, or are you promoted / picked for it? Aug 04 17:52:23 err, sorry, yeah Aug 04 17:52:33 and NOBODY does forwards compatibility :) Aug 04 17:52:38 martin___: it varies Aug 04 17:52:49 maybe I'm just slow today but why would that change make 1.5 code fail to compile on 1.6? Aug 04 17:53:04 it doesn't Aug 04 17:53:10 it makes 1.6 code fails to compile on 1.5 Aug 04 17:53:11 speaking very generally, people who have highly specialized experience are more likely to get picked for teams where that experience is highly applicable Aug 04 17:53:28 KNY: remember that @Override is never mandatory Aug 04 17:53:38 romainguy___, phew, I thought I was losing my mind Aug 04 17:53:43 romainguy__, I dont want to inflate a SINGLE viwe I want to inflate the whole layout Aug 04 17:53:52 Minty: that's the same thing Aug 04 17:53:55 so the platform can be built with 1.6? Aug 04 17:54:01 NO Aug 04 17:54:03 err, no. Aug 04 17:54:05 haha Aug 04 17:54:07 well yes Aug 04 17:54:10 you can build it with 1.6 Aug 04 17:54:13 oh wait, i misspoke Aug 04 17:54:19 but we put a guard in the build system Aug 04 17:54:23 ahh Aug 04 17:54:24 you can of cousre build it with 1.6, because our build servers use 1.5 :) Aug 04 17:54:24 because people were using that @Override Aug 04 17:54:28 and breaking the build for 1.5 users Aug 04 17:54:38 so far we require that it build successfully using 1.5 Aug 04 17:54:39 ohhh okay phew Aug 04 17:54:59 my earlier wish was that we be able to abandon that requirement in favor of 1.6 Aug 04 17:55:04 is this check easy to disable? I'd rather not install/use 1.5 if possible Aug 04 17:55:06 in other words I want to inflate the all my views (the viewGroup?) Aug 04 17:55:16 KNY: use 1.5 Aug 04 17:55:22 Minty: same thing Aug 04 17:56:03 ok ill try it -.- Aug 04 17:56:05 ok thanks the the help all Aug 04 17:56:05 bb Aug 04 17:56:26 I'll inflate YOUR views, baby ;D Aug 04 17:56:40 so that's a "yes, but don't do it or I'll break your fingers"? Aug 04 17:56:52 :) Aug 04 17:57:42 in soviet union, views inflate YOU. Aug 04 17:58:10 hot grits. Aug 04 17:58:22 who would I ask about the ActivityManagerService? Aug 04 17:59:23 lov, #android-dev Aug 04 17:59:31 is there anyone experiencing problems starting Activity for ACTION_IMAGE_CAPTURE intent ? The activity crashes on my G1 but it doesn't in the emulator Aug 04 17:59:56 KNY: :\ Aug 04 18:00:04 lov: ME Aug 04 18:00:07 aergh stupid capslock Aug 04 18:00:10 lov: me :) Aug 04 18:00:21 i lov you long time Aug 04 18:00:28 ctate: sorry , i got distracted on fb... Aug 04 18:00:29 don't make me get out the banhasmmer Aug 04 18:00:35 Activity destroy timeout for HistoryRecord Aug 04 18:00:36 zjksdf alIUWEHFUIJSDHFGK Aug 04 18:00:38 stupid keyboard Aug 04 18:00:38 what exactly does this imply Aug 04 18:00:43 I downloaded a camera example that uses the Camera, funny thing the precompiled apk file worked when I installed it in G1, but when I built using my sdk it started to crash Aug 04 18:02:16 so in my oncreate in a service I have the following... getLocationManager().requestLocationUpdates(PROVIDER_NAME, t, 0, mLocationListener); Aug 04 18:02:39 The method getViewInflate() is undefined for the type Activity Aug 04 18:02:46 you can use a camera without it being displayed right? I was thinking about trying some motion detection and it would probably be quicker if the output didn't have to be rendered (would be fairly pointless for an app, but for learning purposses) Aug 04 18:02:56 then I have a thread that sleeps every t seconds, and wakes up to get a location via lManager.getLastKnownLocation("gps"); Aug 04 18:03:15 Minty, look at the docs for LayoutInflator Aug 04 18:03:28 Minty, specifically, its static methods Aug 04 18:04:20 LayoutInflater from (Context context)? Aug 04 18:05:28 yes Aug 04 18:06:07 I dont understand how to put the syntax together.. Aug 04 18:07:19 Why cant I just do something like this: LayoutInflater.from(this).inflate(R.layout.snake_layout, null); Aug 04 18:07:30 that's exactly how to do it Aug 04 18:07:40 Well it hasnt been working... Aug 04 18:07:45 what's not working? Aug 04 18:08:09 It gives me the same error Aug 04 18:08:13 what error? Aug 04 18:08:19 Would i put a setcontentView inside inflate( Aug 04 18:08:32 Its not finding the layout with setcontentview or something Aug 04 18:08:37 null pointer exception Aug 04 18:11:09 because right now im doing Layoutinflater.from................... and then setContentView(r.layout.snake_layout) Aug 04 18:11:29 no Aug 04 18:11:42 either you do setContentView(R.layout.myLayout) Aug 04 18:11:44 or you inflate Aug 04 18:11:53 and you pass the View inflate() returns to setContentView() Aug 04 18:12:13 so I dont need setContentView at all? Aug 04 18:12:31 setContentView() inflates the layout for you Aug 04 18:12:38 if you do that yourself, then it's wasted work Aug 04 18:13:02 well its not finding it is the problem Aug 04 18:13:12 I am trying to run a very small map activity, and I get an error: "couldn't get connection factory client", what is it? I couldn't find solutions on forums Aug 04 18:13:13 not finding what? Aug 04 18:13:25 Minty: you're not helping if we have to extract all the information from you Aug 04 18:13:27 take a look at the logcat http://pastebin.com/m743a891a Aug 04 18:13:50 the problem is that the class you are trying to inflate does not exist Aug 04 18:13:58 eep, slept in Aug 04 18:13:58 the problem is not in the way you call setContentView Aug 04 18:14:17 are you talking to me? Aug 04 18:14:27 Minty, I did as you suggested, but when I start my activity that uses the video view, it just sits there. it doesnt do anything at all, just displays a blank screen Aug 04 18:15:09 oh wait, 1 sec Aug 04 18:16:24 I am trying to run a very small map activity, and I get an error: "couldn't get connection factory client". anyone? Aug 04 18:16:41 hm. ok, now I have something. a black box. I need to turn it horizontal and get it to play, but it keeps telling me that the call to PREPARE was cancelled Aug 04 18:18:11 now its telling me "command (PLAYER_SET_DATA_SOURCE) was cancelled" Aug 04 18:18:14 what does this mean??? Aug 04 18:25:33 I am trying to run a very small map activity, and I get an error: "couldn't get connection factory client" Aug 04 18:25:43 romainguy Aug 04 18:25:50 The class does exist -.- Aug 04 18:27:06 I can't believe I don't get to finish that simple tutorial because of one error that nobody understands Aug 04 18:28:14 romainguy all im trying to do is setcontentview(snake_layout) which is an XML file Aug 04 18:28:28 I had a similar problem before and all I had to do was inflate it Aug 04 18:29:11 but I forgot the syntax he gave me because it was a while a go Aug 04 18:30:13 look at your logs Aug 04 18:30:16 the class cannot be found Aug 04 18:30:18 that's the error Aug 04 18:32:58 yes Aug 04 18:33:02 does not mean it doesnt exist Aug 04 18:33:16 it cant find it which is what ive been yelling at you about :| Aug 04 18:34:12 if it cannot find it it's either because: Aug 04 18:34:16 - it's not in your apk Aug 04 18:34:19 - the name is wrong Aug 04 18:34:25 (i.e. typo in the manifest) Aug 04 18:34:32 yea exactly Aug 04 18:34:50 so we cannot help you with these issues Aug 04 18:35:19 No because now I just found the problem Aug 04 18:35:24 it was in the xml file Aug 04 18:35:30 aHA! :) Aug 04 18:35:36 it existed, it just had the wrong name thing Aug 04 18:35:47 ... Aug 04 18:35:56 I'm speechless, really Aug 04 18:36:21 well you hadnt reminded me til the really end Aug 04 18:36:29 =| Aug 04 18:36:54 Oh well, problem solved ^o^ Aug 04 18:38:05 in an example of a periodic service, it uses a receiver to receive the periodic intent sent by the alarm, and then starts a service, but it obtains a wake lock before starting the service, and the service closes it after it spins up its background thread....is this wake lock necessary? Aug 04 18:38:20 yes Aug 04 18:38:37 the alarm broadcast is sent under the protection of a wakelock Aug 04 18:38:44 that wakelock is dropped as soon as your onReceive() returns Aug 04 18:38:48 ah ok Aug 04 18:39:01 so it can and does happen that the phone sleeps again *before spinning up the service* Aug 04 18:39:09 ok Aug 04 18:39:29 hence the explicit wakelock handoff across service startup Aug 04 18:39:44 meanburrito post your code in pastebin Aug 04 18:40:44 hmm, and I'm assuming WakeLocks cannot be shared between different applications Aug 04 18:40:55 i don't think they can Aug 04 18:41:03 well, between different processes Aug 04 18:41:10 yeah, that's what I was going to try and do Aug 04 18:41:25 herriojr: priv msg Aug 04 18:41:30 sure Aug 04 18:42:16 ok, I got my video view working, but I can't get it to display in landscape mode. I tried setting android:orientation to both vertical and horizontal, but neither works Aug 04 18:42:42 I guess I'll use an aidl to open up a wake lock for my service Aug 04 18:43:23 you're spinning up a service in a different process? Aug 04 18:45:06 ctate: well, I'm thinking through some options at the moment for abstracting out a periodic service, so there is a lot less copy+pasted code Aug 04 18:46:22 dang.. CTRL+SHIFT+O is not flawless.. auto imports Aug 04 18:46:37 if some classes have the same names, you could end up getting the wrong import Aug 04 18:46:42 and heacache errors :-p Aug 04 18:46:53 it comes up offering a choice Aug 04 18:46:59 didn't for me Aug 04 18:47:21 did for me earlier (ganymede), was using Date and it offered java.util.Date and java.sql.Date Aug 04 18:47:30 *that last name is wrong Aug 04 18:47:44 my ideal solution would be that they just extend my abstracted class and just implement onUpdate, getInterval and a few other functions, and then declare the service in the manifest Aug 04 18:47:47 oh, no it's not Aug 04 18:47:48 yeah, it definitely asks Aug 04 18:48:01 How come this: requestWindowFeature(Window.FEATURE_NO_TITLE); gives me tons of errors...? Aug 04 18:48:03 yes now it does for me too.. strange Aug 04 18:48:34 Minty, first of all, what errors? Second, you should be doing it in XML Aug 04 18:49:03 but they will also be required to start the service on boot, which means they will also have to declare that part as well Aug 04 18:49:06 you can't use multi touch in android apps due to licensing right? Aug 04 18:49:11 Ok ill try it in xml then Aug 04 18:49:22 Ramosa: from what I've heard, the code is there, just disabled Aug 04 18:49:36 errors are uncaught exception Aug 04 18:49:39 how come hero has multitouch and magic doesn't Aug 04 18:49:47 unable to start activity Aug 04 18:49:57 Ramosa: because HTC decided to use multitouch Aug 04 18:50:17 so they risk getting sued? or they paid to use it Aug 04 18:50:20 Ramosa: also at Google IO, they said that due to hardware for the magic/G1, multi-touch wouldn't work properly Aug 04 18:50:25 Ramosa: ask HTC Aug 04 18:50:42 sucks that you cant use it for apps Aug 04 18:51:18 Ramosa: the Pre uses multi-touch, right/ Aug 04 18:51:56 i think yes Aug 04 18:52:11 can you access accelerometer from android Aug 04 18:52:18 since the Palm did it, they are pretty much saying Apple's patents are invalid, so everyone else is pretty much given the go-ahead Aug 04 18:52:22 does anyone know how to rotate a videoView so that it is in landscape? Aug 04 18:52:37 yeah but they still dont have guts to give the power to the people :-p Aug 04 18:53:20 KNY, whats the syntax for writing no title in xml? Aug 04 18:53:49 Minty, http://lmgtfy.com/?q=android+remove+title+bar+xml Aug 04 18:53:53 Ramosa, example of accelerometer use: http://code.google.com/p/pedometer/ Aug 04 18:53:59 Minty, are you calling it in the right order? Aug 04 18:54:21 nice Aug 04 18:54:42 yes Aug 04 18:55:03 anyways i found this android:theme="@android:style/Theme.NoTitleBar"> Aug 04 18:55:45 where do you find all the good sources for android apps? there's a repository? i guess android market is only for pay apps? Aug 04 18:56:01 Ramosa, no, it's not only for paid apps Aug 04 18:58:00 Thnaks for the advice kny Aug 04 18:59:06 only 4 pages of paid apps yet. Aug 04 19:00:21 instead of datepicker view, is there a more calendar look ? Aug 04 19:01:40 newd question: is there a way to set the precision of a double in java? Aug 04 19:01:50 wow this is pimp ... http://vetch.magot.pl/gfx/ancal/ancal_s9.png Aug 04 19:02:00 you can use numberformat to change the number of decimal places Aug 04 19:02:28 thank you Aug 04 19:02:41 very nice calendar androoid Aug 04 19:03:32 question: say I've got 5 activities inside my application and say that all 5 have been launched. The user goes to home, then launches my app again. Will the activity stack I had before automatically be restored? Aug 04 19:04:33 i thought the saved activity part was based on the activity having (Bundle savedInstanceState) as its parameters Aug 04 19:05:21 fyi, i could easily be wrong. this is all very new to me Aug 04 19:05:23 but that's for one activity, you can(should?) have multiple activities per application Aug 04 19:05:53 someone say KNY's name 3 times so he comes to answer Aug 04 19:06:21 http://groups.google.com/group/android-developers/browse_thread/thread/f719e4acd99c884b Aug 04 19:07:10 HOOOOOOORAY I DID IT :DDDDDD Aug 04 19:07:33 whaledawg: in general yes, when Home is brought to the foreground, your app's history state remains untouched Aug 04 19:08:03 if your app is killed in the background (to reclaim memory, for example) this will no longer be the case; only the frontmost activity's state will be saved, not the full app history Aug 04 19:09:37 ty ctate, I'm going to take your name off the list Aug 04 19:09:48 ? Aug 04 19:10:14 am I still being summoned, whaledawg ? Aug 04 19:10:32 ctate answered it KNY, which means you're still on the list Aug 04 19:10:40 damn you, ctate ! Aug 04 19:10:43 "the list"? Aug 04 19:10:59 * KNY hopes it's the VIP list Aug 04 19:11:02 list of people who are up against the wall when the revolution happens! Aug 04 19:11:24 Chairman mao ain't got nothing on me Aug 04 19:11:34 "I don't have to outrun the tiger. I just have to outrun you." Aug 04 19:20:42 Is there any way to make a background bleed through buttons or make the buttons semi-transparent instead of gray? Aug 04 19:20:53 Minty: yes Aug 04 19:21:06 Minty: alpha Aug 04 19:21:25 Minty: you'll have to edit or create your own images for buttons to do that Aug 04 19:21:34 no need Aug 04 19:21:38 oh really Aug 04 19:21:39 easier way? Aug 04 19:21:45 you can simply set the alpha on the background drawable Aug 04 19:22:25 wow. now I need one of those buttons that say "that was easy" Aug 04 19:22:47 does /anyone/ know how to rotate a video to landscape mode Aug 04 19:22:56 meanburrito Aug 04 19:22:58 from VideoView, i mena Aug 04 19:23:00 *mean Aug 04 19:23:07 Minty, yes? Aug 04 19:23:09 I supposed you could define your own layout-land Aug 04 19:23:14 :( Aug 04 19:23:15 suppose* Aug 04 19:23:29 I'm using a relative layout, and I already tried it with a linear layout Aug 04 19:23:46 both didnt do anything different when i set the android:orientation Aug 04 19:23:54 not what i mean Aug 04 19:24:00 sec I had an example for that let me find it Aug 04 19:24:03 k Aug 04 19:37:59 the style element can be applied to any Views? Aug 04 19:38:17 (the same way, not part of the android namespace?) Aug 04 19:38:37 yes Aug 04 19:38:47 :) Aug 04 19:41:19 actually that didn't work. the comparison always fails. Aug 04 19:41:57 here is my test condition (editable.getText().toString()== "") Aug 04 19:42:04 you don't want == Aug 04 19:42:07 you want .equals() Aug 04 19:42:12 ahh Aug 04 19:42:16 == tests object identity Aug 04 19:42:30 i.e. 'are these two things the same object?' Aug 04 19:42:31 how would I change themes to the Light theme? Aug 04 19:43:48 thank you Aug 04 19:45:53 <activity android:name="package.Activity" android:theme="@android:style/Theme.Light" /> Aug 04 19:46:10 from the manifest Aug 04 19:46:37 <_martin___> did my question get sent then? Aug 04 19:46:51 <_martin___> if not: the widget design guidelines show widgets in landscape mode, is that something that's in donut, a rotating home screen? Aug 04 19:47:33 it's in cupcake Aug 04 19:47:35 on a G1 Aug 04 19:47:37 for instance Aug 04 19:47:41 mContext.setTheme(resid) from code Aug 04 19:47:43 <_martin___> ahhhhh, right Aug 04 19:50:00 is the AlarmManager really only able to send broadcasts from a PendingIntent and not start services? It seems the documentation on AlarmManager.set() seems to allude to this Aug 04 19:52:29 hmm, why only limit the AlarmManager to sending broadcasts/ Aug 04 19:52:33 ? Aug 04 19:53:23 herriojr: since when is it so limited? i don't see anything in the docs that says that. Aug 04 19:53:33 there are three kinds of PendingIntent Aug 04 19:53:38 ctate: I'll copy and paste what I have in the docs Aug 04 19:53:40 one of which is "start this service" Aug 04 19:54:04 I know pending intents can start activities services or receivers Aug 04 19:54:24 oh i see, where it says "the alarm is an intent broadcast..." Aug 04 19:54:36 hm, that should be reworded. i believe it can be any PendingIntent. Aug 04 19:54:59 http://developer.android.com/reference/android/app/AlarmManager.html#set(int, long, android.app.PendingIntent) Aug 04 19:55:45 and all the example implementations of a periodic service make use of a receiver to receive the PendingIntent and have to implement a WakeLock between the receiver and service Aug 04 19:56:04 but I think they all got it from the same source Aug 04 19:56:15 they're delivered by calling pendingintent.send() Aug 04 19:56:17 eventually Aug 04 19:56:30 yeah, so I'll just have it start up my service with the pending intent then Aug 04 19:56:37 herriojr: right; the reason you do it that way is because of the wakelock issues Aug 04 19:56:52 not because the alarm manager can't handle service PendingIntents Aug 04 19:57:36 ctate: so starting services with ELAPSED_REALTIME_WAKEUP doesn't necessarily start up the service? Aug 04 19:57:43 well Aug 04 19:57:52 it will call startService() Aug 04 19:58:10 and if the phone is in sleep mode at that moment, it'll probably go right back to sleep afterwards Aug 04 19:58:18 ah ok Aug 04 19:58:36 then when you get an incoming call or sms or email or whatever -- anything that wakes the phone for a bit -- your service will continue starting up Aug 04 19:58:45 i.e. "oops" Aug 04 19:58:49 so startService is an asynchronous call while sendBroadcast is not Aug 04 19:58:56 is what it sounds like to me Aug 04 19:58:58 they are both asynchronous Aug 04 19:59:13 oh, actually Aug 04 19:59:46 right... broadcasts are also asynchronous Aug 04 19:59:47 BUT Aug 04 20:00:05 the alarm manager makes sure it's notified that the broadcast has completed Aug 04 20:00:15 ok Aug 04 20:00:17 using the usual broadcast-result mechanism Aug 04 20:00:27 this lets it know when to release a wakelock Aug 04 20:00:43 so it uses a single lock for all broadcasts, ok, I get it Aug 04 20:00:53 or rather I mean for all receivers Aug 04 20:01:09 yeah, I know how the broadcast stuff works Aug 04 20:01:32 ctate: thanks ;) Aug 04 20:01:56 TextViews call trim() on their contents before displaying them? or cut out trailing whitespace? Aug 04 20:02:43 I have a string resource ending in a space, I assume the better way would be to add padding (two textviews in a horizontal line) Aug 04 20:04:03 or would it be less expensive to put it all in one textview, and get the contents of the first and append it to what I'm adding in the second? Aug 04 20:04:15 herriojr: right, and refcounts itself around however many alarms it sends Aug 04 20:04:46 herriojr: if you care, the relevant code is in AlarmManagerService.java in the AlarmThread.run() method Aug 04 20:05:06 with the wakelock release being done in ResultReceiver.onSendFinished() Aug 04 20:05:16 ctate: yeah, I'll check it out Aug 04 20:08:37 Whats the best way to send an intenger to another class Aug 04 20:09:05 Minty, did you find that example? Aug 04 20:09:13 Oh Aug 04 20:09:16 Sorry I was busy lol Aug 04 20:09:33 give me 1 sec Aug 04 20:11:15 So yea I guess you could create a landscape-specific layout Aug 04 20:11:28 by creating a file called res/layout-land/main.xml Aug 04 20:11:37 and putting your video view and stuff in there Aug 04 20:11:51 http://www.komplett.dk/img/p/1200/489746.jpg geek porn :-p Aug 04 20:15:46 anyone experiencing a similar issue? When I am trying to execute an httpget over 2G it hangs at the call to execute() Aug 04 20:15:52 same code works fine when over 3G Aug 04 20:25:02 How do you send an integer to another class? or overload startActivity to take an integer with it? Aug 04 20:25:16 <_martin___> attach it to the intent Aug 04 20:25:23 via intent Aug 04 20:25:46 intent.PutExtra on sending Aug 04 20:25:55 intent, activity ... who invented these fancy words Aug 04 20:26:07 yeah, if it's just startup data you stash it as an extra on the Intent Aug 04 20:26:07 intent.getIntExtra on recieving Aug 04 20:26:27 ok thanks Aug 04 20:29:07 So like this? http://pastebin.com/m65920712 Aug 04 20:29:57 yep Aug 04 20:30:12 It doesnt recognize the activity in the other class Aug 04 20:30:18 So how am i supposed to recieve the int? Aug 04 20:31:22 in the actiity which you're starting Aug 04 20:32:00 getIntent().getIntExtra("choice"); Aug 04 20:32:01 So i should call this.getApplication(); Aug 04 20:32:26 why ? Aug 04 20:33:29 <_martin___> in the onCreate method of your new activity you can use getIntent().getIntExtra Aug 04 20:33:51 if your snake is an android activity do getIntent().getIntExtra("choice", 0); Aug 04 20:34:27 but wouldnt that just read it as 0? Aug 04 20:34:56 0 is default value Aug 04 20:34:57 <_martin___> if the "choice" intent doesn't exist, it reads 0 Aug 04 20:35:01 <_martin___> *extra Aug 04 20:35:10 nvm Aug 04 20:35:17 Yea i just read the parameter Aug 04 20:35:24 ok that makes sense Aug 04 20:35:52 quick question... what method to trap the back button on phone? Aug 04 20:37:14 onKeyDown Aug 04 20:37:36 and look for KeyEvent.KEYCODE_BACK Aug 04 20:37:37 thanks Aug 04 20:42:11 hi guys, how do you test your apps for target device with vga dpy? Aug 04 20:42:32 you can run the emulator in various resolutions Aug 04 20:42:45 Wow. And the code works fine under the emulator... might be a Rogers specific problem then... Aug 04 20:42:54 run emulator -help for ... help :) Aug 04 20:43:02 but there is no VGA skin Aug 04 20:43:33 are there many devices with VGA res? Aug 04 20:43:49 i don't know of any Aug 04 20:44:04 unless the x86 port has run on some or something Aug 04 20:44:18 today no, but in couple of months yes Aug 04 20:44:37 really? Aug 04 20:45:08 Is there something like a game framework available for android? Aug 04 20:45:09 i'm writing app for adc, should i care vga screens? Aug 04 20:45:11 just try emulator -skin 640x480 and see what happens Aug 04 20:45:29 i don't think so Aug 04 20:45:33 might work, might look crappy, who knows :) Aug 04 20:45:42 for adc? no, i wouldn't. Aug 04 20:45:48 i'd just count for devices currenty on the market Aug 04 20:46:05 or annonced Aug 04 20:46:31 afaik -skin has parameter pointing to skin folder Aug 04 20:47:11 Question: I want a service that runs in the background and uploads files while the activity hums along. It appears that calls into the service block until they return. Does that mean the only way to get the behavior I want is to start a new thread from the service? Aug 04 20:47:20 but i'll try -skin w x h Aug 04 20:47:29 hey, how can I change the emulator's phone number? Aug 04 20:47:50 I'm not even sure that android supports VGA at this moment . Aug 04 20:48:06 there's that, too. at least, lots of stuff will look really crappy Aug 04 20:48:20 roadmap : Beyond Q1 2009 Aug 04 20:48:21 Support for additional types of displays: Aug 04 20:48:21 Support for WVGA and QVGA, in addition to the currently supported HVGA display. Aug 04 20:48:29 Like the demo they gave running Android on the Nokia N810 at 800x480 Aug 04 20:49:28 thanks avalovoy! Aug 04 20:49:38 <_martin___> by overriding BroadcastReceiver.onReceive, an AppWidget may receive broadcasts for things other than appwidget related stuff? Aug 04 20:52:14 it should - which ones you want listen too ? I've already find out that it's not going to work for SCREEN_ON / OFF Aug 04 20:52:36 <_martin___> phone state changing to idle Aug 04 20:53:22 I have a marketing guy who has an android emulator running that doesn't recognize it has a phone number (says unknown), does someone know how to fix this? I can't find an option to set the number Aug 04 20:53:30 Ok .. talk to me ... i think i just went through this - let me guess , you don't want to do anywork while phone is sleeping Aug 04 20:54:12 <_martin___> I would like the widget to update when an outgoing call ends Aug 04 21:00:10 how do I put the emulator down horizontally? Aug 04 21:00:12 hi Aug 04 21:00:20 hm .. i don't see broadcast action for that do you ? Aug 04 21:00:53 http://developer.android.com/guide/developing/tools/emulator.html Aug 04 21:00:56 is there a way to create one or more uml diagrams of android source code? Aug 04 21:01:59 Ramosa, ctrl+f12 Aug 04 21:02:07 thx Aug 04 21:02:31 does emulator handle accelerometer somehow? Aug 04 21:02:37 or can you only test that on a real device Aug 04 21:02:58 you can send fake accelerometer data Aug 04 21:03:19 would be cool if you could just grap the emulator and shake it :) Aug 04 21:03:40 patches welcome Aug 04 21:03:49 no one? Aug 04 21:03:50 i'm surprised how often you use the back button, and how badly placed it is on htc hero :( Aug 04 21:03:50 <_martin___> good luck shaking it on the third axis Aug 04 21:04:06 martin, everything can be done.. shift modifyer? mousewheel ? Aug 04 21:04:20 <_martin___> I withdraw my previous comment Aug 04 21:04:40 <_martin___> mousewheel would work, but it would be awkward :) Aug 04 21:04:42 serdar__, do normal UML generators not work or something? Aug 04 21:04:52 <_martin___> eclipse has some uml plugins Aug 04 21:04:52 mousewheel would conflict with scrolling Aug 04 21:05:45 and i wonder how to emulate multitouch :) Aug 04 21:06:22 why would you need to? the platform doesn't support it Aug 04 21:06:38 hero is not a multitoucg device Aug 04 21:07:20 sure it is Aug 04 21:07:29 no it's not Aug 04 21:07:34 :-o Aug 04 21:07:42 avolovoy, what would you consider to be a multitouch device, then? Aug 04 21:07:42 i've seen multiple youtube's where it does it Aug 04 21:07:45 Ramosa: http://reactivision.sourceforge.net/images/reactivision04.png simulates mulitouch in its emulator in a usable way Aug 04 21:08:10 lianj, but its an emulator for what Aug 04 21:08:39 mutlitouch OSC-events? Aug 04 21:08:46 iPhone would be one... Aug 04 21:09:03 well you can use 2 fingers to zoom in browser.. that's multitouch for me Aug 04 21:09:04 avolovoy, go read about the Hero. It's multitouch for any apps which HTC made multitouch Aug 04 21:09:28 i dont think you can use it in the image viewer program though.. Aug 04 21:10:22 http://www.komplett.dk/img/p/1200/489746.jpg Aug 04 21:10:27 look how hard it is to reach the back button Aug 04 21:10:27 http://lukehutch.wordpress.com/2009/02/10/multi-touch-and-more-tinfoil-hats/ Aug 04 21:10:31 for right handed users Aug 04 21:11:20 and look for his video in debug mode.. Aug 04 21:11:46 avolo, but then how do you explain the browser zoom feature? Aug 04 21:13:26 KNY, I don't know any, but the problem is, this is a Java/C mix. I only know some editors like poseidon or umbrella. Aug 04 21:13:33 so, where does the emulator get its phone number from? Aug 04 21:14:10 is it valid to create a service which has a BroadcastReceiver contained within, whereby you provide an intent filter in the manifest to point to the receiver? Aug 04 21:14:48 BlindOracle: yes, but it must be a static class Aug 04 21:14:48 Please read the post and the blog. If i'm not mistaken Hero and G1 screens are the same. HTC just choose to include this feature in the build. Aug 04 21:14:49 http://lukehutch.files.wordpress.com/2009/01/img3.jpg?w=500&h=666 Aug 04 21:15:06 avolo, why should i read the blog when i've seen youtube's of it working? Aug 04 21:15:18 why is a blog more proof Aug 04 21:15:32 If there is a way to create some uml diagrams which show the connections of classes too, that would help Aug 04 21:15:55 BlindOracle: so something like public class MyService extends Service { ... public static class MyReceiver extends BroadcastReceiver { ... } ... } Aug 04 21:16:51 BlindOracle: then your manifest will look like Aug 04 21:19:27 As it is probably clear from the video, there are some technical challenges to making multitouch work on this hardware. The main technichal problem is that the Synaptics screen is not a true 2D multitouch device. It is a 2×1D device, or contains two sets of orthogonal wires and firmware for analyzing the resulting two 1D projection histograms of capacitance across the screen. This leads to a number of problems, in approxi Aug 04 21:20:24 is there such thing as an audioview? Aug 04 21:20:40 or a way to create an audioview in xml and reference it later? Aug 04 21:21:13 herriojr, okay...thanks. Aug 04 21:21:42 Minty if you create any view you can reference it in xml Aug 04 21:22:26 well I just want to create a mediaplayer and reference it later Aug 04 21:22:31 herriojr, AH...that's the missing part...I have the receiver declared in the wrong place. doh Aug 04 21:23:20 BlindOracle: okay :) Glad you fixed your issue ;) Aug 04 21:23:45 does anyone in here have any idea how to communicat with a service asyncronously? Aug 04 21:28:36 herriojr, cool. Thanks. It's working now. Originally misread what you said. The key I was missing was the .MyService$MyReceiver. I had it declared, .MyService.MyReceiver Aug 04 21:39:03 does anyone know how to rotate a view element into landscape mode, more specifically a VideoView element Aug 04 21:41:16 so apps like market and gmail are not open source Aug 04 21:41:17 ? Aug 04 21:41:33 yes Aug 04 21:42:12 meanburrito920_: "put it into landscape mode"? Aug 04 21:42:21 that question doesn't make sense to me, can you elaborate? Aug 04 21:43:25 Anyone know if I can install Android r3 on the htc hero? Aug 04 21:44:17 jasta, I'm displaying a video in my VideoView. the videoView is automatically resizing my video and displaying it horizontally across the screen, so that the phone is in a vertical position to properly display the video. however, I want the video to be rotated 90 degrees from vertical so that I can get a widescreen aspect Aug 04 21:44:40 I want it as it is displayed in the Web app Aug 04 21:44:49 but it doesn't default to that Aug 04 21:45:02 hmm. Aug 04 21:45:09 have you looked through the documentation for the view? Aug 04 21:45:18 I've tried putting the android:orientation="horizontal" but that doesnt do anything Aug 04 21:45:25 jasta, yes, there is nothing about rotation Aug 04 21:45:25 Jaz0ne: you're in the wrong channel friend. Aug 04 21:45:49 meanburrito920_: well, perhaps you should try foricng your activity itself to rotate to landscape mode Aug 04 21:45:52 and ignore orientation changes Aug 04 21:46:01 this is what the video app does Aug 04 21:46:04 jasta, how would I do that? Aug 04 21:46:20 would that be in the manifest? Aug 04 21:46:21 meanburrito920_: in the manifest, android:orientation="landscape" android:conigChanges="orientation" Aug 04 21:46:27 or something like that -- read the docs for Aug 04 21:46:27 ah. thanks Aug 04 21:46:30 ok Aug 04 21:47:11 oh.. thanks Jasta :P Aug 04 21:48:47 jasta, awesome, that works great! Aug 04 21:49:25 keep in mind now that you wont get orientation config changes Aug 04 21:49:31 so the screen is effectively stuck in landscape Aug 04 21:49:37 that sprobably what you want though Aug 04 21:50:01 wat's the limit of variables in a single sql statement? Aug 04 21:50:04 hi Aug 04 21:50:15 hello Aug 04 21:51:51 It may seam a silly question, but when i press "run" in eclipse, it necessarily starts the app with the debugger on. I've been having this issue for 4-5 days now. Do you have any ideas ? Aug 04 21:55:10 jasta, one last question (because I'm to lazy to look it up on my own :) ) how do I turn off the info bar (not the title bar) I know there is a way to do it, but I can't remember for the life of me/ Aug 04 21:56:31 by debugger do you mean LogCat, or do you mean it stops at your breakpoints? Aug 04 21:57:07 meanburrito920_: I mean it stops at breakpoints. And then when disconnected, I can't ruen the app because it's looking for debugger connection Aug 04 21:58:16 Steren, you may have a debugger configuration set under your run profiles. click on the down arrow next to the run button and select the standard run option Aug 04 22:04:15 <_martin___> does anybody know what intent is broadcast when an sms is sent? Aug 04 22:08:26 meanburrito920_: unfortunately, it always starts debugger. I don't understand, it doesn't write "Attempting to connect debugger to 'fr.steren.remixthem' on port 8600" but it stops at breakpoints Aug 04 22:09:42 Steren, hm. well, if you unplug the phone and run the application from the menu it shouldn't try and start the debugger. Aug 04 22:10:06 maybe if you remove the "debuggable" attribute from the manifest? Aug 04 22:12:40 meanburrito920_: When I press run after removing android:debuggable, it seeks for debugger to attach. But nothing attach. I've tried to clean the project. Aug 04 22:13:24 hm. I would suggest reinstalling the eclipse plugin. Aug 04 22:14:09 can anyone tell me how to actually get the gps on the phone? Aug 04 22:14:15 I can do it on the emulator fine Aug 04 22:14:30 <_martin___> is your gps disabled in settings? Aug 04 22:22:07 gps or just location, because location will use gps if it's available or cell towers otherwise Aug 04 22:22:18 and did you enable it in the manifest? Aug 04 22:22:48 wat's the easiest way to get a sub array from a string array in android? Aug 04 22:36:34 <_martin___> if you know which part you'd like, you can get a sublist from a list with List.subList, i don't know about arrays Aug 04 22:39:09 _martin___: just out of curiosity, after hearing the question, I know how to do it without copying in C, but is there a way in Java? Aug 04 22:40:28 meanburrito920_: it seams that to do a "Reset ADB" works. Thanks for your advice Aug 04 22:41:16 <_martin___> I think List.subList creates a new List, if that's what you mean... new objects rather than references Aug 04 22:41:37 <_martin___> I don't know how to get a sub array of an array without using a collection Aug 04 22:41:40 good evening all Aug 04 22:42:54 anyone compiled custom builds of live android, or is it even open source? Aug 04 22:43:11 live android ? Aug 04 22:43:22 any xml layout wizards about? Aug 04 22:45:07 Steren: from the looks of it, its a bootable pc version of android Aug 04 22:45:23 cani: oh yes. I really don't know Aug 04 22:46:32 im trying to get a layout similar to that discussed in http://android-developers.blogspot.com/2009/03/android-layout-tricks-3-optimize-by.html .I'd like an image with 5 buttons overlayed on the bottom. Aug 04 22:46:54 i thought i'd start with playing around witht the example source given, but im having some problems Aug 04 22:47:29 _martin___: I just bothered the guys in ##java and they said it can't be done Aug 04 22:48:38 fuzzmonkey, i assume you can replace that with a LinearLayout containing several TextViews Aug 04 22:48:54 its the one further down martin Aug 04 22:49:00 it shows you had to do it with buttons Aug 04 22:49:17 LayoutInflater.from(context).inflate(R.layout.okcancelbar, this, true); Aug 04 22:49:38 is that trying to finding something in an xml layout file called okcancelbar? Aug 04 22:50:38 there isn't one in the source ;/ Aug 04 22:50:59 i've got a feeling the source isn't complete? Aug 04 22:51:17 what? Aug 04 22:52:27 i've got the source code given in the link i posted above Aug 04 22:52:43 wacked into eclipse but it cant find some of the okcancelbar stuff Aug 04 22:53:00 that stuff is up in the framework, i believe. Aug 04 22:53:11 try android.R. Aug 04 22:53:33 no, it's not. Aug 04 22:53:36 nevermind :) Aug 04 22:54:13 okcancelbar is right there in the blog post Aug 04 22:54:32 the tarball isnt complete Aug 04 22:54:38 but the blog post itself shows it Aug 04 22:55:10 the small snippet? Aug 04 22:55:28 the part Aug 04 22:55:42 ahh Aug 04 22:55:57 does that need to be in a file called okcancelbar.xml? Aug 04 22:56:07 yes. Aug 04 22:58:44 not a very good example that they make you do this though heeh Aug 04 22:58:54 should probably hassle morrildl Aug 04 23:01:31 it has the basics but saying "download the complete source" is a bit misleading lol Aug 04 23:06:54 can someone tells me what it means when a id has a colon in it? Aug 04 23:07:02 like how do I access this Aug 04 23:07:30 android:layout_height="wrap_content" /> Aug 04 23:09:47 i give up, eclipse cant find any errors but it crashes on load. Need to find a more complete example! Aug 04 23:11:37 jasongornall: the full syntax is @/: Aug 04 23:11:46 so, in this case it's type id, package andorid, entry name list Aug 04 23:11:59 the android package name means that it's in the android framework, so not part of your apps res/... Aug 04 23:12:16 the definition is very narrow though -- you typically only get to use either android or your own, which is the default if empty Aug 04 23:12:17 actually @:/ is the syntax we use Aug 04 23:12:46 oh yeah, that's true. his example confused me. Aug 04 23:12:54 jasongornall: that should read @android:id/list Aug 04 23:12:55 hmm.. Aug 04 23:13:04 thanks Aug 04 23:13:07 so for this.. Aug 04 23:13:20 and that would mean that the id is defined in the frameowrk, not in your app's resources Aug 04 23:13:33 this is why you wouldn't use the prefixed "+", because youre not creating a new id Aug 04 23:13:43 findViewById(R.id.androidlist) Aug 04 23:13:51 you would use android.R.id.list Aug 04 23:13:56 if you used @android:id/list Aug 04 23:13:58 gotcha Aug 04 23:14:35 thankyou :) Aug 04 23:15:42 anyone got any thoughts on creating a fullscreen image with a 5 button overlay at the bottom? i've given up on getting my head round that blog post Aug 04 23:16:39 fuzzmonkey: just use a framelayout with an imageview and a relativelayout with some buttons forced to the bottom with gravity? Aug 04 23:16:43 id ont see whats so hard about this Aug 04 23:16:59 or just use a framelayout and set its background. Aug 04 23:17:06 whatever :) Aug 04 23:17:24 its not hard im just crap with layouts :p that blog seemed ideal, cheers for the pointers tho Aug 04 23:27:48 did my last message get sent before I disconnected? networking issues :( Aug 04 23:28:17 dont think so Aug 04 23:28:24 righto Aug 04 23:28:45 I said: I think I don't fully grasp the "Context" class, I changed my AppWidgetProvider to update on phone state change, it successfully receives the android.intent.action.PHONE_STATE intent and executes all the code, but calling AppWidgetManager.getInstance(context).updateAppWidget... makes no change and throws no error Aug 04 23:28:49 when the normal APPWIDGET_UPDATE action is received with the same code it works fine Aug 04 23:29:09 so I assume the difference is the Context that gets passed with the Intent Aug 04 23:33:04 would somebody mind explaining? Aug 04 23:57:54 so basically I just spent all day trying to figure out how to do networking in a service so if someone was jumping around between activities the conection thread wouldn't close to find out that all activities share the same process anyways so I don't have to Aug 04 23:58:19 and half the time when I close the dang app is still sends the data!! Aug 04 23:59:48 your process doesn't close when you leave the last activity Aug 04 23:59:54 there is no such concept of "closing" an app, really. Aug 05 00:00:13 well I call finish Aug 05 00:00:13 on both my activities Aug 05 00:00:13 if you let a thread dangle around it will happily do so Aug 05 00:00:25 its your job to cleanup in whatever way makes sense Aug 05 00:00:28 why is VideoView retarded? when I give it a onCompletionListener to close the VideoActivity when the video finishes playing, it just plays the video over again, /then/ it exits. without calling the onCompletion method. Aug 05 00:00:31 if you do not, android will eventually just kill your app and deal with you Aug 05 00:00:41 i close the video activity with VideoActivity.this.finish Aug 05 00:00:47 like, come after my family jasta? Aug 05 00:00:54 and if I don't have that there, the problem doesnt happen at all Aug 05 00:00:59 whaledawg: whatever is necessary Aug 05 00:01:10 but then I need to find a different way to go back to the previous activity Aug 05 00:13:39 are there other ways to kill an activity besides finish() Aug 05 00:24:16 meanburrito: I don't think so. finish tells android to call all the shutdown functions on you app Aug 05 00:24:27 whaledawg: uhm, what? Aug 05 00:24:47 finish dismisses your activity, much like if the user hit "back". it calls no "shutdown functions on your app" Aug 05 00:26:45 onPause, onDestroy and the like Aug 05 00:29:05 whaledawg: do you know the difference between an app and an activity? Aug 05 00:30:59 lets not be hostle. Aug 05 00:31:09 well I was being loose with the language but you know what I mean Aug 05 00:31:35 i did not, i thought you meant app beacuse that is what you said. Aug 05 01:12:03 can i create a app that reboot the phone once per day ? i am having problems with mt ht c magic sometimes it uses A LOT of battery but if i reboot the phone once aday it last 2-3 days without charging Aug 05 01:12:31 I want my notification's intent to be nothing Aug 05 01:12:37 I want it to be purely informative Aug 05 01:12:45 how can I make a 'do nothing' intent/ Aug 05 01:12:48 ? Aug 05 01:12:59 r2wj, just have it open an activity which just calls finish()? Aug 05 01:13:01 intent to home Aug 05 01:13:26 r2wj: while this may be possible (a null intent perhaps?), i must caution you against it. Aug 05 01:13:31 just a geuss Aug 05 01:13:32 have you tried just passing in null? Aug 05 01:13:37 this is not what the user expects to happen when they click notification rows Aug 05 01:13:47 so please do not do that. Aug 05 01:14:27 also note that you can have notifications appear in the upper-right and without any content in the notifications drawer. Aug 05 01:15:09 passing just a null value crashed it Aug 05 01:15:50 r2wj: ???? crashed the system service!? Aug 05 01:15:58 Er yes Aug 05 01:16:01 that would be a _very_ serious bug if true Aug 05 01:16:12 No, doesn't look like the service actually Aug 05 01:16:22 just the Handler it was using Aug 05 01:16:26 which process? Aug 05 01:16:37 illegal arg exception Aug 05 01:16:38 erm Aug 05 01:16:52 What do you mean? Aug 05 01:17:33 KNY's idea seems the simplest Aug 05 01:17:37 bit of a hack, but hey Aug 05 01:17:44 the only thing with that is, will it cause a black screen to flicke? Aug 05 01:18:00 r2wj, not if you do it correctly Aug 05 01:18:04 you can set an activity to not have a UI Aug 05 01:20:22 hrm Aug 05 01:23:59 guys whilst there are some people here, what's the best way to have an appwidget update occur upon an intent broadcast that isn't appwidget_update? Aug 05 01:25:05 I would like the appwidget to update when the phone state changes to idle, but the Intent provided from the broadcastreceiver for it doesn't contain the list int[] with the app widget id's Aug 05 01:25:13 I'm looking at apidemos at the moment. But I can't find the code for the Test Smooth BUttons. Anyone have any idea where that is? Aug 05 01:26:45 IRC needs a contant live connection but android doesn't really like that approach. a service just listening to a socket might get killed, and if it goes to sleep, your client isn't going to respond to PINGs. I think it might be better to have a middle man. a bouncer maybe that translates into something other then IRC Aug 05 01:27:46 Services stop if the phone sleeps? Aug 05 01:28:05 I guess I gotta add prevent phone from sleeping to my app Aug 05 01:28:36 hi tpocra Aug 05 01:29:25 haha Aug 05 01:29:27 hey Aug 05 01:29:59 I'm looking at apidemos at the moment. But I can't find the code for the Test Smooth BUttons. Anyone have any idea where that is? Aug 05 02:17:12 Amorgos, probably Button*.java Aug 05 02:23:13 KNY. I found it thanks Aug 05 02:58:26 fuck java so hard Aug 05 02:58:33 hahaha **** ENDING LOGGING AT Wed Aug 05 02:59:56 2009