**** BEGIN LOGGING AT Sun Jun 14 02:59:57 2009 Jun 14 03:13:20 how do you hide the title bar in XML? Jun 14 03:18:39 nevermind :) Jun 14 03:50:14 sammyF, you still around? Jun 14 04:06:30 KNY: obfuscate it ;-) Jun 14 04:06:43 eh? Jun 14 04:06:56 lame joke Jun 14 04:08:24 KNY: actually I am Jun 14 04:08:48 sammyF, have you dorked around with custom layouts? Jun 14 04:09:00 KNY: sorry ... was being frustrated at myself for not remembering any trigonometry Jun 14 04:09:20 and kRutOn I have a question for you, too: fling detection--do you know of any good links on it? Jun 14 04:09:32 custom layouts ... don't think I did, no. I dorked around with custom alerts/dialogs if that's what you mean Jun 14 04:10:38 nah, an app I'm starting is going to need a bunch of custom views/layous Jun 14 04:10:41 layouts* Jun 14 04:10:42 which sucks Jun 14 04:11:11 hmm ... you could try to make some that don't suck. maybe it's easier Jun 14 04:11:29 * sammyF points at Kruton "HE started the lame jokes!" Jun 14 04:12:24 haha Jun 14 04:12:43 KNY: but no. I can't really help you I'm afraid. I didn't do much in terms of UI usage Jun 14 04:12:52 alright, no worries Jun 14 04:12:53 thanks Jun 14 04:13:17 KNY: most of my stuff is game oriented and pretty much custom stuff (which would give Romainguy a heart attack if he ever saw the code I guess) Jun 14 04:13:51 yeah, that's why I figured you might have dealt with custom views/layouts Jun 14 04:14:12 KNY: well, you can look at the ConnectBot code for a small example. Jun 14 04:14:28 * sammyF whispers to KNY : don't tell anybody, but I don't even use Android buttons in my code Jun 14 04:14:31 kRutOn, yeah, I was going to try that next. I think I found an example that I can work with Jun 14 04:14:40 sammyF, haha Jun 14 04:14:53 sammyF == masochist Jun 14 04:15:26 KNY: If you want to do the thing like the Home screen where the movement goes with your finger, you should read the code for the home screen. Jun 14 04:15:46 KNY: okay .. After looking at custom lmayouts, I think i actually used them Jun 14 04:15:54 kRutOn, yep, working on that too :) Jun 14 04:16:38 KNY: would a gallery with thumbnails inside a dialog qualify as custom layout? Jun 14 04:16:59 possibly Jun 14 04:17:44 KNY: in Circuits the award screen and in PinIt the level selection work like that. using a custom adapter for a greed view and the gridview is shown in the dialog Jun 14 04:17:55 ah Jun 14 04:17:56 KNY: dunno if that's what you're looking for though Jun 14 04:18:33 well, one component is basically going to be like the little row of icons at the top of the opening page of Market Jun 14 04:19:10 so a one line grid view with a custom adapter I guess ... so similar to what I did Jun 14 04:19:23 and what I did was heavily inspired by the galery sample Jun 14 04:19:58 hmm Jun 14 04:20:03 I wonder if I could just extend gridview Jun 14 04:20:12 I need to add extra functionality, but that might be a good start Jun 14 04:20:30 KNY I can send you the code for the award thingy if you want Jun 14 04:20:44 nah, I think I'll be alright for now Jun 14 04:20:51 I have a lot of other stuff to work out first :) Jun 14 04:20:53 thanks, though Jun 14 04:20:57 np Jun 14 04:21:07 anything to get a change from openGL ES madness ;) Jun 14 04:22:31 could I have a one-line GridView with an arbitrary number of columns? Jun 14 04:22:41 what I really want is a horizontal scrolling ListView :) Jun 14 04:25:00 oh wait, shit Jun 14 04:25:01 Gallery Jun 14 04:25:15 *facepalm* Jun 14 04:30:26 I won't do anything good anymore today I think Jun 14 04:30:29 so ... night :) Jun 14 09:30:42 hmm, for custom data files... whats a good way to deal with them inside a project?.. I tried creating a data dir off the res dir. but eclipse puts a red x on it Jun 14 09:48:53 put them in an 'assets' dir under res Jun 14 09:49:12 ahhhhh thanks Jun 14 10:52:16 i am writing a small countdown app, and i dont want the android to sleep when the countdown timer is active, any way to do this ? Jun 14 10:56:06 is there a url I can hand out for ppl that links to my application in the market? Jun 14 11:01:10 ulrich: you mean a URL to your app in the market? there is a market:// url scheme. Jun 14 11:02:05 can i use this market:// also on my website or only in an inten? Jun 14 11:02:08 intent Jun 14 11:03:21 you can use it on your website, but it only works if someone is using the android web browser. Jun 14 11:04:02 ok thank you Jun 14 11:04:14 sorry, could someone tell my why I get an issue with the following SMALL code snippet http://pastebin.com/d797b298c ... trying to convert some of my C++ code over to Java Jun 14 11:23:55 I'm opening a Dialog with some info, and then performing some actions in a background thread to display more info in the same Dialog afterwards. I want some kind of indicator of the work going on in the background, but not a progressbar. Is there any place where I can actually view the different alternatives? Jun 14 11:34:27 hey, i need help! i wanna click on a item in a listview and than i programm do samething Jun 14 11:43:38 http://developer.android.com/reference/android/widget/AdapterView.OnItemClickListener.html Jun 14 11:45:02 http://markmail.org/message/2u22b72kpbikqwdd#query:adding%20a%20click%20lister%20to%20a%20listview+page:1+mid:w6vloonl4aqe277y+state:results Jun 14 11:45:05 might be more useful Jun 14 11:45:13 yeah, i tryed this one, but without results Jun 14 11:50:49 do you know any good tiny tutorial to get it? Jun 14 12:07:46 i actually can't remember if i have one on my site Jun 14 12:07:48 lemme check Jun 14 12:08:26 tane! Jun 14 12:09:36 blau-mikeDG! Jun 14 12:10:22 whats up? Jun 14 12:22:56 I have a custom ImageView which I want to keep track on whether or not it has been "clicked/unclicked" as a boolean. I noticed that there is a method getDrawableStates(), is this something that I can utilise to implement instead? or is this something completely different? Jun 14 12:53:32 Hi, I have a SurfaceView that displays continuous video and I want to overlay some widget, e.g. a Toast or Button. But somehow the widget is not shown. Is there some way to define the z-order? Or can views/widgets not be shown overlaying at all? Jun 14 13:19:53 or in other words? which layout allows for overlapping of views? Jun 14 13:31:25 hey, i'm having a problem where if i inflate an image view from xml using an image matrix on it i get a force close but it works fine if i construct the view in java anybody shed some light on what i might be doing wrong? Jun 14 13:34:01 Paint.Style.STROKE... how do i specify the stroke width? Jun 14 13:58:51 Hi guys, I want to register in the Android market but the site asks for a fee. Is it $2500, or $25?? Jun 14 14:01:08 Is it possible to connect an Android smart phone to a bigger screen and a keyboard? Jun 14 14:02:02 25 Jun 14 14:02:54 rnx: Do I have to register in the market to sell my apps? Jun 14 14:04:48 not necessarily Jun 14 14:05:31 it will be a lot harder to find an audience though Jun 14 14:06:10 yeah Jun 14 14:06:20 is it hard to write apps for Andorid? Jun 14 14:06:31 I'm a Java programmer, but still learning Jun 14 14:06:49 I haven't learned to work with Threads and process yet Jun 14 14:07:03 also haven't learned Collections Jun 14 14:08:09 not any harder than other apis Jun 14 14:09:10 rnx: does it need Collections and threads? Jun 14 14:13:56 would be kinda painful without collections but you can get away without knowing threads Jun 14 14:25:00 Hey guys, I'm following the API demo and I can't seem to get the translucent background working for my activity. It seems i'm not the only one with this issue after googling the problem. Does anyone have/know of any good documentation for this subject? Jun 14 14:47:51 So I have to use linux to compile my own rom? Jun 14 14:48:26 or Mac OSX Jun 14 14:48:36 linux it is Jun 14 14:48:47 it might be possible on windows under cigwin, but it would probably be painful Jun 14 14:50:39 yeah I was going to try that but I didn't see much activity on the subject so I'll just go with linux. thank you for input! Jun 14 15:51:06 hi all Jun 14 15:51:13 can Context in BroadcastReceiver.onReceive(Context, Intent) be null? Jun 14 15:56:06 if somemone can help.. i'll be happy :) I need to upload a picture by http post request, i get picture list using intent chooser, but how i can get the result to transmit to my request? Jun 14 16:01:57 under what .git does the "Messaging" app hide itself @ http://android.git.kernel.org/ ? :) Jun 14 16:04:47 aha.. Mms.git Jun 14 16:05:45 figures.. SMS stuff and the app named "Messaging" is under the name Mms :P Jun 14 16:17:07 how can I force the system to kill my process? I'm destroying the threadgroup, killing the process, and calling system.exit(0) but it's still not dying Jun 14 16:17:08 damn zombies Jun 14 16:18:41 :s Jun 14 17:05:42 KNY: on the updated firmware, you can do it by the "manage apps" thing Jun 14 17:05:47 hmm, just watched the google i/o game dev video - i really want to write a game now :) Jun 14 17:06:17 KNY: just press menu, and view only running things Jun 14 17:06:27 then scroll down and you'll find the button Jun 14 17:08:53 can someone help me on intent & intent chooser? Jun 14 17:18:39 slakr, I meant programmatically but I got it sorted Jun 14 17:19:02 KNY: ah gotch Jun 14 17:19:04 +a Jun 14 17:22:08 hey people Jun 14 17:34:17 How does the Market publishing work? Can I see the download counts from my app only after a couple hours or? Jun 14 17:34:59 i have no idea aboutg that Jun 14 17:36:59 talk! Jun 14 17:40:10 rac2030, it only updates every so often (few times a day) Jun 14 17:41:21 KNY: ah ok, was just wondering because cyrket alredy shows a review from my app. Jun 14 17:41:43 KNY: thx Jun 14 18:06:06 anybody know why my view.getheight() always returns 0 Jun 14 18:15:03 does anybody know when verizon wireless is coming out with their andriod phone? Jun 14 18:15:14 and if it will be locked down big name as verizon wireless loves to do? Jun 14 18:18:40 KNY, just out of curiosity, how did you sort it? Jun 14 18:19:24 tauno, well this was in an UncaughtExceptionHandler and I was calling thread.getThreadGroup().destroy() which was throwing an illegalstateexception or something Jun 14 18:19:25 Anyone know where on the phones memory the apps that the phone comes with are located? for example the dialer Jun 14 18:19:30 so the subsequent calls were never happening Jun 14 18:19:36 Matenrou, Jun 14 18:19:42 oops, Matenrou /data/data Jun 14 18:20:31 thanks, wow thats quite a list. Hope I will find it in ther e:P Jun 14 18:20:49 Matenrou, it's generally com.android.* :) Jun 14 18:20:57 what are you looking for? Jun 14 18:21:09 the dialer, can only see voicedialer Jun 14 18:21:32 no, I mean why are you poking around those files? Jun 14 18:21:51 KNY, are you using the UEH to send automatic error reports back to yourself by any chance? :) Jun 14 18:22:25 tauno, no, log to SD then set a flag in the SharedPreferences so that when the app starts up next time it asks if you want to email the stacktrace Jun 14 18:22:29 Is it possible to copy the dialer app from my google phone into a htc phone? the one they have is different Jun 14 18:22:38 Matenrou, it's in com.android.contacts Jun 14 18:22:41 Matenrou, if it runs android Jun 14 18:23:04 yes, htc dialer is different. Want to try and install it on a htc magic :P Jun 14 18:23:08 KNY, ok, that's what I was going to ask you next - do you do it automatically or present and on/of setting for it or just let the user send it manually :) Jun 14 18:23:08 ok Jun 14 18:24:04 it just shows a yes/no dialog and clears the flag. If they don't send it, it stays in a hidden directory on their SD card in case they email me later and I need the trace Jun 14 18:24:15 and there's no way to turn it off Jun 14 18:24:46 I wish that APKs could provide a cleanup routine for uninstallation (so I could remove stuff I created on the SD card, for example) Jun 14 18:25:33 I wish there was a unified way to send error reports back to devs.. currently everybody does it differently :/ Jun 14 18:26:01 tauno, that too Jun 14 18:26:56 so we end up with apps that send them silently or ask the user when the crash happens or ask the user during next startup and so on Jun 14 18:27:04 yeah Jun 14 19:39:22 anyone know if there is a way to be notified when a listview stops flinging and comes to rest? I'd like to run some ops at that point while nothing is happening Jun 14 19:40:03 ah, ListView.setCallbackDuringFling() seems to be what I want Jun 14 20:43:31 how can i create a config button like the button on the default keyboard the one that looks like a gear or a * ? Jun 14 20:57:38 hey guys .. trying to Intent.putExtra with an complex class that i "inherited" from the Parcalable interface. the object is always null on the other site. the intent is an explicit one inside my own application (starting a subactivity). should this work or is the (de)serialization not triggered when i use putExtra and using the intent for startActivity? Jun 14 22:38:02 someone cant helpme with eclipse Jun 14 22:47:14 ivan_: shoot your question ... if anybody knows the answer and is currently paying attention, he/she might answer Jun 14 22:47:46 ivan_: if you don't ask your actual question, nobody will be able to answer Jun 14 22:49:20 sammyF, go look at #android for how he asks his question :) Jun 14 22:51:19 okay ... I'll rephrase that : please DON'T ask your question. just paste it into pastebin and link it here ;) Jun 14 22:53:21 hmmm .. on second thoughts (and browsing back 2000 lines of pasted eclipse ~things~) don't bother and go directly to #eclipse ;) Jun 14 22:54:08 sigh .. too bad openGL ES doesn't seem to support linewidth :( Jun 14 22:54:09 or just ask briefly Jun 14 22:54:12 and hope Jun 14 22:54:21 Gaz_BIRTHDAY_BOY: birthday today? Jun 14 22:54:33 Gaz_BIRTHDAY_BOY: gratz :) (mine was yesterday btw :P Jun 14 22:54:48 sorry mine was the other sday its saved my nick :) Jun 14 22:54:50 aehm .. no .. Actually it was 2 days ago. I lose count Jun 14 22:54:57 lol me too Jun 14 22:55:07 12th? Jun 14 22:55:26 have to keep ghosting these ppl with my nick Jun 14 22:55:27 10th Jun 14 22:55:28 :) Jun 14 22:55:34 was still celebrating it until today Jun 14 22:55:35 lol Jun 14 22:55:37 mine was a month ago tomorrow Jun 14 22:55:46 just hope i can pay my rent after these ceebrations Jun 14 22:55:59 rent sucks Jun 14 22:58:20 yep. which is why I try to fit the sterotype as well as possible Jun 14 22:58:20 maybe Jun 14 22:58:32 living in my bro's basement :P Jun 14 23:03:05 this is probably a very very silly question, but is there a way to use the canvas functions directly to the openGL framebuffer (apart from creating a bitmap and using that as texture on a screensized quad?) Jun 14 23:14:17 whoa... I just found out Java has no sizeof ability.. dangit, how do you people put up with this LOL.. challenging reading in my data files thats been created with a C++ class with numerous data types inside Jun 14 23:18:07 When the eclipse begins and ends quickly pulled me this message that is written in a file. Log What is the problem? What is missing? http://pastebin.com/m482b93c6 Jun 14 23:25:41 so basically, in a ListView, every row in list can have its own layout? Is that how all these apps I see have nice mixture of icons and text in each list row? Jun 14 23:28:32 ivan_: your eclipse install is screwed apparently. It can't find the main component ("org.eclipse.platform.ide could not be found.") Jun 14 23:28:50 ivan_: you'll need to deinstall and reinstall Eclipse Jun 14 23:29:03 ivan_: I might be, of course, completely wrong Jun 14 23:34:23 ok tank you Jun 14 23:34:54 np. although I'm more of a caster type Jun 14 23:43:07 Rangar, it's trivial, the Java datatypes are fixed, no matter what underlying hardware platform you've got. Jun 14 23:43:57 Rangar, and reading binary files based on sizeof(int) or other datatypes will give you nice headaches, when you try to read you binary data file one nice day on something that's got a different sizeof(int). Jun 14 23:48:19 yacc: yea.. I can see the benefit to that.. but it does make it more awkward when using different tools :) Jun 15 00:05:45 hmm.. I'm going to have to go back to C++ and retool my tools here to make the output more java friendly I can see Jun 15 00:11:29 anybody here with some knowledge of OpenGL ES who could point me in the right direction for POINT rendering? Jun 15 00:12:29 I'm not sure whether I need a glVertexPointer call or not, and if I do, what should I use as last parameter in glDrawElements?? Jun 15 00:20:42 Helo. for some reason, eclipse can't seem to resolve stuff in R.string and R.id .. makes no sense. Any ideas? Jun 15 00:20:56 the9a3eedi, did you import android.R instead of R? Jun 15 00:22:11 KNY: nevermind.. I seem to have found the problem. I was going through the Notepad tutorial, and it told me to import from existing sources Jun 15 00:22:26 it imported R.java from the existing sources as part of the package lol.. so now I had 2 R.javas Jun 15 00:22:43 so I just deleted the imported R.java Jun 15 00:23:44 * sammyF answers to his own question : just a buffer filled with the array index of the points to be drawn Jun 15 00:26:47 yay.. Notepadv1 works Jun 15 00:31:02 Rangar what does sizeof do Jun 15 00:31:52 i have problems with R a lot Jun 15 00:32:04 Gaz, in c/c++ it tells you how big that datatype is Jun 15 00:32:10 ah Jun 15 00:32:12 sizeof(int) < sizeof(long) Jun 15 00:32:24 hehe Jun 15 00:32:28 no real need for it in java Jun 15 00:32:32 nope Jun 15 00:32:58 just writing about bing.com Jun 15 00:33:01 for an article Jun 15 00:35:01 Gaz, compare it to the market search function ;) Jun 15 00:35:06 just for shit and giggles :P Jun 15 00:35:09 lol Jun 15 00:35:18 i do sneak in nice references Jun 15 00:35:23 for shits n giggles Jun 15 00:35:41 i like to reference the amiga Jun 15 00:35:42 :) Jun 15 00:40:29 Hey all. I'm working on a small time tracking application. If I open the application, start the timer, and then click the "Back" button, the timer loses its state the next time I go into the application. Jun 15 00:40:35 Is this desirable behaviour? Jun 15 00:40:42 If not, what's the best way to handle this? Jun 15 00:41:20 Clicking "Home" and then going back to the application keeps the state of the timer. Jun 15 01:58:12 anybody knows anything about openGL ES and could check whether THAT should work : http://pastebin.com/m1d94323a ? Jun 15 01:58:25 (and yes, I just copied the line from #android :P Jun 15 02:35:27 anyone done any JNI stuff? Jun 15 02:35:32 (with android, of course) Jun 15 02:37:11 KNY: like .. using OpenGL ES for example? Jun 15 02:37:12 :P Jun 15 02:37:23 sammyF, haha, doesn't count Jun 15 02:37:30 sigh ;) Jun 15 02:40:05 omfg Jun 15 02:50:51 Hey guys I just downloaded eclipse and the android sdk but I can't run the hello android example. The error reads: The declared package "" does not match the expected package "com.example.helloandroid" Jun 15 02:52:58 I don't believe that the Hello Android tutorial was updated for the 1.5 SDK Jun 15 02:56:33 I wrote mine using the tutorial and it worked fine **** ENDING LOGGING AT Mon Jun 15 02:59:57 2009