**** BEGIN LOGGING AT Sun Jul 22 02:59:59 2012 Jul 22 03:03:40 f2prateek, I just downloaded the app for the first time Jul 22 03:03:54 you're right I see it under the "stream" area Jul 22 03:04:27 how am i attempting to finish an input event (but the input event receiver has already been disposed) Jul 22 03:04:29 Killing window Jul 22 03:05:06 its very odd because whether or not i choose to render a certain asset i get this error Jul 22 03:05:28 http://code.google.com/p/iosched/source/browse/#git%2Fandroid%2Fsrc%2Fcom%2Fgoogle%2Fandroid%2Fapps%2Fiosched%2Fio%253Fstate%253Dclosed Jul 22 03:05:32 I think this is it Jul 22 03:06:13 its a skybox, opengles 2.0 with cubemapping its messed up but runs fine, opengles 2.0 with 2d texture it exits with this error, opengles 1.1 with 2d texture it works fine Jul 22 03:08:59 this is it http://code.google.com/p/iosched/source/browse/android/src/com/google/android/apps/iosched/ui/SocialStreamFragment.java Jul 22 03:44:04 pboos you there? Jul 22 03:47:03 do you guys worry about piracy? Jul 22 04:03:56 gak: no, but my app is free :P Jul 22 04:10:46 Hello Jul 22 04:12:42 how could rendering something or not on opengles 2.0 (which works on opengles 1.1) cause app to exit, after it renders a few good frames Jul 22 04:12:58 evancharlton: that's a solution :) Jul 22 04:13:23 there is an error, tried to finish input event but input event receive was already disposed Jul 22 04:13:38 i am unclear what bug this indicates Jul 22 04:13:38 I have a question, ive done an app with cocos2dx for the samsung galaxy s2, and works properly. But i sent the .apk to a friend to test it on his phone a samsung universe i think it is. and he cant install it. Im a big big noob at this how do i set up the project to be installed in different devices ?? Jul 22 04:20:46 where can i find the "how to" deploy for different devices ? Jul 22 04:41:09 hullo Jul 22 04:41:53 * TRUE_mnky is sleeping Jul 22 05:10:12 this chat is bit light on pros, ie kinda heavy on noobs Jul 22 05:10:30 bunch of helpless people asking each other questions nobody in the room can answer Jul 22 06:32:20 https://play.google.com/store/apps/details?id=com.simran.andltcminer https://play.google.com/store/apps/details?id=com.simran.andltcminerpro Jul 22 06:32:27 I finished: P Jul 22 06:35:27 Does anybody have any recommendations on the top paying advertising network for banner style ads? Jul 22 06:43:31 should there be anything needed besides android sdk and java jdk to get adb running on windows 7 32bit? Jul 22 06:50:46 the endurance of army ranger and humility of bedpan Jul 22 06:54:23 How can I play .AVI files on Android ICS? Any good 3rd party apps? Jul 22 06:54:58 ReGiStRaS: why 3rd party? Android can handle it on it's own pretty easily. Jul 22 06:55:14 really? Jul 22 06:55:34 You mean I just put in a /AVI movie file and it will just play it? Jul 22 06:55:41 no need conversion ? Jul 22 06:56:02 have u ever tried? Jul 22 06:56:03 movies are different, but the MediaPlayer would be the class to work with Jul 22 06:56:25 So Android ICS by default can play .avi files? Jul 22 06:56:28 Hi :) Jul 22 06:56:33 ReGiStRaS: as a user or a developer? this is the developer channel Jul 22 06:56:51 user Jul 22 06:57:10 ah, you asked in 3 channels at once, just to annoy the maximum number of people? Jul 22 06:57:43 common sense would say in order to maximize the possible answers Jul 22 06:57:46 do you have common sense Leeds? Jul 22 06:58:09 common sense would say you should ask in the right place Jul 22 06:58:11 ReGiStRaS: isnt there vlc fro andorid? Jul 22 06:58:14 *for Jul 22 06:58:14 meh Jul 22 06:58:23 Yes, he should have asked in the right place Jul 22 06:58:35 but you still asked a question you knew the answer to Jul 22 06:58:39 waht aws the third channel? i know #andorid-root was the 2nd one Jul 22 06:58:44 &what Jul 22 06:58:49 #android Jul 22 06:59:17 ah of course Jul 22 08:09:00 hi Jul 22 08:11:54 how can i see widget names on a screen? Jul 22 08:12:13 or how can learn a name of widget on my android screen? Jul 22 08:13:04 ankk pm me Jul 22 08:22:34 If I set my project build target to Android 3.2 will it still run on devices lower then 3.2? And will it have any issues running on versions higher then 3.2? Jul 22 08:27:09 dlaroche you can set minSdk but you will need to make sure the newer methods do not get called (or even seen) by the older devices Jul 22 08:27:20 ok Jul 22 08:33:59 you should be compiling with the latest version of the SDK, setting your targetSdkVersion to the newest version of Android you have tested on, and setting your minSdkVersion to the oldest version of Android you support Jul 22 08:34:24 in practice, the first two are usually the same Jul 22 08:36:35 For some reason, when I launch Jul 22 08:36:48 "SDK Manager", I cannot find the Android 3.2 API Level 13 SDK... Jul 22 08:37:35 How do I manually download the Android 3.2 API Level 13 SDK package and put it into my C:\Program Files\Android\android-sdk folder? Jul 22 08:39:32 Notevision: do you really need it? Jul 22 08:39:37 I do. Jul 22 08:39:40 Also, do a refresh of package list Jul 22 08:39:49 Not sure how to do that Jul 22 08:40:10 Nevermind, did that, but still no API Level 13 package... Jul 22 08:40:11 Hm. Jul 22 08:40:21 in drop down menu there's something about clearing caches, IIRC Jul 22 08:40:46 basically you need to force it to get new and *complete* package lists Jul 22 08:41:05 No idea how to do that.. Jul 22 08:41:41 clear the cache first Jul 22 08:42:03 Perhaps I'm using an outdated SDK Manager...? I'll take a screenshot. Jul 22 08:42:52 Tools -> Options -> Clear cache Jul 22 08:43:02 then Packages -> Reload Jul 22 08:43:10 http://i.imgur.com/f4BFr.png Jul 22 08:43:44 There's no Clear cache option. Jul 22 08:44:47 screen please Jul 22 08:45:53 http://i.imgur.com/pkO3S.png Jul 22 08:46:29 weird. Jul 22 08:46:35 Also, my version: http://i.imgur.com/ySQXX.png Jul 22 08:46:41 then i don't remember what I did to make windows refresh properly Jul 22 08:46:58 Packages -> Reload might help, as would restartig the program Jul 22 08:52:07 Yeah that didn't work. =( Jul 22 09:19:42 I have four buttons nested within a horizontal linear layout, and would like for the buttons to be evenly space among the space available to the linear layout. Any ideas? Jul 22 09:20:06 layout_weight Jul 22 09:20:59 thanks Jul 22 09:21:11 "1" each Jul 22 09:21:36 do I apply that to each button? or the layout Jul 22 09:22:33 ^ tapas , ^ xorgate Jul 22 09:22:42 each button Jul 22 09:22:48 thans Jul 22 09:22:50 thanks Jul 22 09:22:54 they all weigh the same, so 25% each Jul 22 09:23:07 any number works really Jul 22 09:24:33 xorgate: but that stretches the buttons, I have them at fixed size because they are using a non nine-patch drawable for the background Jul 22 09:27:12 ^ tapas Jul 22 09:28:55 dlaroche: put each button in an extra RElativeLayout and layout_centerInParent="true" Jul 22 09:28:58 might owrk Jul 22 09:29:04 give the layouts the weights Jul 22 09:29:07 i have 2 framework.jar files. one of them succesfuly encodes our language at incoming messages. other is not. i want to make second framework make to encode too. i decompiled both of them but there are 5900 smali files. 150 200 about sms files. where should i look into? Jul 22 09:29:21 this way the layouts stretch to fill 25% of the space each Jul 22 09:29:35 and the buttons stay dead center in each of thm Jul 22 09:29:44 can i just assign the left and right a 10% margin? Jul 22 09:30:00 10% of what? Jul 22 09:30:05 the parent Jul 22 09:30:06 and what then with different screen sizes? Jul 22 09:30:08 hmm Jul 22 09:30:33 sure you can just put Views with no content in the linear layout too, as filler Jul 22 09:30:39 give them appropriate weights, too Jul 22 09:31:01 but this will stil stretch the buttons on larger or smaller screens than the one you work with.. Jul 22 09:31:20 when thinking about layouts always ask yourself these questions: Jul 22 09:31:36 how will it look on a screen that's 2m by 2m with 1 million pixels in each direction? Jul 22 09:31:44 ^ what i was gonna say Jul 22 09:31:54 how will it look on a screen 1cm by 1cm with 10 pixels in each direction Jul 22 09:32:42 if you want to give them 10% margin, calculate the amount of space (in percentage) that each button will occupy in the final layout Jul 22 09:32:57 then, give the LinearLayout a weightSum of 100 and the buttons a layout_weight equal to the percentage you calculated Jul 22 09:33:23 set it's gravity to center as well Jul 22 09:33:27 (the parent LinearLayout) Jul 22 09:33:33 ok thanks Jul 22 09:33:43 i have done some marketing tests. i found that adding a word "Donation" after the game name doesn't help on sales on Google Play Jul 22 09:46:36 hi Jul 22 09:54:35 hi Jul 22 10:11:20 good lord ive been banging on the androad Jul 22 10:11:45 Hey guys Jul 22 10:11:59 Hey Jul 22 10:12:00 im still blaming SJ for everything Jul 22 10:12:50 hes become a conveniant scapegoat since he deathbombed everyone w petty comments and rivalry Jul 22 10:14:08 I've build an app that acts as a client which connects to a server. so far the server was my desktop computer so I used TCP connection between the two. now I want to upload my server to a hosting company and a friend told me I would need to change my TCP connetion to HTTP connection (something about port using by the host or something like that). so I learned on line about servlets and Jul 22 10:14:08 such. but I want to make sure with you guys first that it's really necessary Jul 22 10:14:44 depends on the hosting company Jul 22 10:15:01 if they allow you to open ports you don't need to change Jul 22 10:16:43 sasson: depends on how much you want to spend for your hosting I guess Jul 22 10:17:57 btw http sessions use tcp connections Jul 22 10:18:05 I have an update for Android 4.1 pending and have a rooted Galaxy Nexus. Can someone point me to a HowTo which allows me to preserves root access? Jul 22 10:19:14 ok. so let's say I do want to change, from the tutorials I've seen, they were all about html pages using servlets. where could I learn about using my android application to connect to my server through a servlet ? Jul 22 10:19:39 quick google didn't help... I'm not sure I'm searching the right thing Jul 22 10:20:20 you don't need to use HTTP Jul 22 10:20:42 nothing stops you from using straight TCP Jul 22 10:21:04 only the thing about opening ports... Jul 22 10:21:10 exactly Jul 22 10:21:15 check with the hosting company Jul 22 10:21:32 if you just rent a root server -> there shouldn't be any ports deliberately closed Jul 22 10:21:36 it's all up to you.. Jul 22 10:21:38 sound kinda stange Jul 22 10:21:42 sound kinda strange Jul 22 10:22:04 I want to use some cheap hosting (perhaps google app engine) because it;s not a commercial app Jul 22 10:22:22 can u help with a link to some helloworld ndk example? Jul 22 10:22:26 grab a root server on in a vm Jul 22 10:22:28 sasson: if you only pay for a cheap Website packet then you have to change. If you buy a root or cheaper vserver then you should be fine Jul 22 10:22:48 http://www.hetzner.de/en/hosting/produktmatrix_vserver/vserver-produktmatrix Jul 22 10:22:52 so I want to change, also for the learning part of it Jul 22 10:24:09 sasson: stepping into the world of HTTP also brings you REST Jul 22 10:24:15 which can make things very complicated.. Jul 22 10:24:32 REST? Jul 22 10:24:46 http://en.wikipedia.org/wiki/Representational_state_transfer Jul 22 10:25:16 sasson: quick question: is your server running on linux, too? Jul 22 10:25:30 k tapas, I'll take a look brb Jul 22 10:26:56 btw, is there any reasons you gave me a link to that perticular host? Jul 22 10:27:13 yeah, because a vserver only costs like 8 bucks a month D Jul 22 10:27:14 :D Jul 22 10:29:46 vserver is not a dedicated server right? Jul 22 10:29:57 it's a VM in a dedicated server Jul 22 10:30:10 surely they are shared by default? Jul 22 10:30:33 how can i see ringtones file path? Jul 22 10:31:34 ok... and lets say I would like a dedicated server without the cost in mind, what hosting service would you be recommending? Jul 22 10:32:31 it all depends on the requirements of your server process Jul 22 10:32:38 did anyone of you create a custom keyboard? Jul 22 10:50:57 What is wrong here? http://pastebin.com/NcQcCN5d It force closes? Jul 22 10:51:55 check ur logcat and u will know without ask it Jul 22 10:52:15 btw first: ur indents horrible :) Jul 22 10:52:44 What? Jul 22 10:52:56 your indentation is horrible Jul 22 10:53:17 Snoxie: check ur logs and u will know what the problem Jul 22 10:53:33 ixc: your spelling is horrible Jul 22 10:53:43 tapas: i know :( Jul 22 10:53:52 put a little effort into it :D Jul 22 10:54:04 like spelling out "you" and "your" and stuff :D Jul 22 10:54:25 which graphics/game lib would be good to use in a (mmo)rpg? Jul 22 10:54:36 I am.. I just dont understand the error message... http://pastebin.com/0Dm0NSzW Jul 22 10:54:59 stringindexoutofbounds?? Jul 22 10:55:27 that's when you try to adress a position in a string that the string doesn't have Jul 22 10:55:37 e.g. a string like "foo" and you try to get the 4th element Jul 22 10:55:43 check index and string length Jul 22 10:56:22 Snoxie: and please upload a decently indented version of your corde :D Jul 22 10:56:23 So what of my code is not working? Jul 22 10:56:26 s/corde/code/ Jul 22 10:56:47 indented? Jul 22 10:56:50 if you use eclipse, hit ctrl-shift-f Jul 22 10:57:06 oh Jul 22 10:57:07 lol Jul 22 10:57:08 : Jul 22 10:57:10 :P Jul 22 10:57:17 http://en.wikipedia.org/wiki/Indent_style Jul 22 10:57:57 Here: http://pastebin.com/nsSbwyJM Jul 22 10:58:00 But how do i fix it? Jul 22 10:58:02 can anyone help me with parsing strings to integers? Jul 22 10:59:06 from the exceptio you posted the issue is at line 56 of MemoryInfo.java Jul 22 10:59:06 Snoxie: general tips: check return values of functions Jul 22 10:59:13 e.g. int n = result.indexOf('\n'); Jul 22 10:59:22 what if result doesn't have an '\n'? Jul 22 10:59:37 Well i does. Jul 22 10:59:47 i get a error while parsing integer, says unable to parse string :( Jul 22 10:59:58 stack trace : http://paste2.org/p/2079850 Jul 22 11:00:16 adicool123: check Integer class for java Jul 22 11:00:22 adicool123: the trace tells your exactly what's up: Jul 22 11:00:28 unable to parse '' as integer Jul 22 11:00:31 Snoxie, the lines 39ff, do they even make sense in a class? Jul 22 11:00:43 '' is not an integer text representation ;DD Jul 22 11:00:53 btw result is the empty string Jul 22 11:01:10 hmm let me see that ixc n tapas Jul 22 11:01:45 Result is not empty? Jul 22 11:01:58 result = result + new String(re); ? Jul 22 11:02:22 yeah but outside this function Jul 22 11:02:26 Snoxie: sprinkle debug log statements into your code Jul 22 11:02:33 tapas : Well if i remove that how do i make it a string ,? Jul 22 11:02:34 Snoxie: to check your assumptions Jul 22 11:02:49 adicool123: i have no idea.. didn't see any code.. Jul 22 11:03:07 so how could we tell.. from the trace we just know you try to make an integer out of '' Jul 22 11:03:09 ya a moment Jul 22 11:03:51 tapas: http://paste2.org/p/2079859 Jul 22 11:03:55 thats the code Jul 22 11:04:07 i am building a game cows & Bulls Jul 22 11:04:37 adicool123: erm, please indent your code, so it doesn't look like my deceased grandma Jul 22 11:05:15 if you use eclipse, press ctrl-shift-f Jul 22 11:05:16 :D Jul 22 11:05:34 on os x: cmd-shift-f Jul 22 11:06:31 Eventho there are things to argue in the jav acoding convertions, it is still a good practice when beginning to develop java to keep pressing ctrl+shift+f, watch and lear all the time, I agree =) Jul 22 11:06:53 adicool123: the only place where you seem to try to parse an integer is: guess= Integer.parseInt(Sguess); Jul 22 11:07:03 whats wrong with just reading the guide Sun wrote years ago? Jul 22 11:07:04 i guess Sguess is empty.. Jul 22 11:07:08 thus the parse fails Jul 22 11:07:23 http://paste2.org/p/2079859 Jul 22 11:07:34 there u go with the idented code Jul 22 11:07:46 adicool123: nope :D Jul 22 11:07:50 check your link :D Jul 22 11:07:54 coding conventions for Java: http://www.oracle.com/technetwork/java/javase/documentation/codeconvtoc-136057.html does what it says on the tin Jul 22 11:08:24 at my workplace we just assumed to have eclipse format all sources prior to committing to revision control Jul 22 11:08:34 it's not the best indentation there is, but it works ok.. Jul 22 11:08:57 have you tried using PMD? Jul 22 11:09:10 nope Jul 22 11:09:20 it upsets me greatly Jul 22 11:09:28 what's PMD? Jul 22 11:09:35 whats pmd? Jul 22 11:09:40 http://pmd.sourceforge.net/pmd-5.0.0/ Jul 22 11:09:43 this? Jul 22 11:09:45 yep Jul 22 11:09:46 eclipse? Jul 22 11:10:28 tapas: Sguess is a edit text have taken input from user for a 4 digit number n converted it to string Jul 22 11:10:44 tapas, when you enable all the options it gets unbelievably anal, for example I have warnings telling me that assigning null to a variable is a code smell and I should consider refactoring, but this is Java, other than going out of scope its the only damn way to flag something for GC Jul 22 11:10:51 adicool123: yep and it seems the string is empty.. Jul 22 11:11:22 robb_www: i find myself seldomly setting anything to null explicitly Jul 22 11:11:29 hmmm let me try somethng real quick n get back to u in a min Jul 22 11:11:45 robb_www: using data structures takes care of that most of the time.. Jul 22 11:12:58 adicool123: test your assumptions Jul 22 11:13:05 adicool123: use asserts and log statements.. Jul 22 11:13:39 tapas, the same warning is flagged up when I return null :P Jul 22 11:14:45 robb_www: why would you ever want to return null? to denote failure? try exceptions :D Jul 22 11:14:52 Hi Guys, whenever I create a new project in eclipse, quit eclipse, then try and boot it up again it fails with "Could not initialize class org.eclipse.jface.preference.PreferenceConverter" Jul 22 11:15:26 tapas: i found the error the enter button was supposed to return the value but the stmt was outside the listener :( Jul 22 11:15:39 aha, here is the example ive got, an activity that loads a file, if a file is currently open and a new file is created replacing it, the String currentFile which contains the path is nulled, avoids unnecessary storage of old state Jul 22 11:16:21 tapas, not to denote failure, to denote the lack of information, exceptions are surely not appropriate for cases such as, say, a function to get a file extension if the file name has no extension Jul 22 11:16:44 it is not a failure of any kind, it is also not so unexpected as to be considered out of the ordinary, it is simply lack of data Jul 22 11:16:48 Are dialogs,toasts & updating text views my only options of displaying things on the screen to the user? Jul 22 11:17:40 i could return an empty string, but it would be pointless Jul 22 11:18:27 Naish download eclipse again Jul 22 11:18:42 well, i would consider calling getFileExtension(String fileName) to get upset if the filename has no extensions :D Jul 22 11:18:51 s/extensions/extension/ Jul 22 11:19:11 if the code around assumes it has an extension, it is wise to make the breaking of the assumption explicit Jul 22 11:19:19 when I use loadDataWithBaseURL in my WebView I get an empty page, but only on ICS. On Gingerbread and below it works fine... Jul 22 11:20:24 robb_www: your example about the filename in the activity is actually an interesting one. Jul 22 11:22:03 it's interesting because one comes across this sometimes.. Jul 22 11:22:14 you have optional information about an object.. Jul 22 11:22:30 a noob question here : how do i display something to the user on screen? Jul 22 11:22:38 i.e. if the file has a representation on the disk, it has a filename, otherwise not.. Jul 22 11:22:54 want it to be on screen permanently,so notification n toasts wont work Jul 22 11:23:06 dialogs my only option? Jul 22 11:24:44 tapas exactly, i /could/ add an extra boolean to toggle the saving of that state or otherwise, but guess what would be stored there if I dont decide to save it? a null :P Jul 22 11:24:51 so might aswell get straight to the point Jul 22 11:25:00 robb_www: in a sense these are two different things (types), albeit making this distinction part of the type hierarchy gets cumbersome.. Jul 22 11:25:26 it would be nice to have a maybe type in java Jul 22 11:25:28 true, could do it that way Jul 22 11:25:32 like in haskell or other functional languages Jul 22 11:25:35 can some1 point me to how to write servlet connection from android app? all data passed between server-client is data, no html at all Jul 22 11:25:36 this would make it w Jul 22 11:25:37 explicit Jul 22 11:25:55 http://www.natpryce.com/articles/000776.html Jul 22 11:26:27 https://github.com/npryce/maybe-java Jul 22 11:27:49 i am working on an app and I got to the point where in one ui, i need to switch between 2 set of buttons Jul 22 11:27:53 that looks pretty sweet actually Jul 22 11:28:10 robb_www: thanks for making me research maybe types in java.. this will improve our code :D Jul 22 11:28:36 i have plenty to patch up here already without touching that Jul 22 11:28:38 how to do that? Jul 22 11:28:43 your welcome though Jul 22 11:28:53 :D Jul 22 11:29:03 will that be 2 activities nested in one laout? Jul 22 11:29:11 layout^ Jul 22 11:29:17 lou_: create both sets of buttons in xml, and make one set invisible.. Jul 22 11:29:30 lou_: then when switching them, make the other invisible and that one visible.. Jul 22 11:29:44 fyi, both set of buttons will take the same space which will be 3/4 of the screen Jul 22 11:29:59 bad from a software engineering point of view (state), but a quick hack :D Jul 22 11:30:08 I want to update the layout of a single item in a ListView (ListFragment actually). I have the View by "View view = list.getChildAt(i-start);", but how do I update (and redraw) it Jul 22 11:30:10 i can lay the 2 sets on top of each other? Jul 22 11:30:16 thx tapas Jul 22 11:30:18 datagutt: o, hay Jul 22 11:30:25 gwt Jul 22 11:30:27 hey Jul 22 11:30:33 lou_: the details depend on your layout.. Jul 22 11:30:48 lou_: use visibility="GONE" to make the hidden set take no space at all.. Jul 22 11:30:53 thats where I would like to explain further if needed Jul 22 11:30:56 ok Jul 22 11:32:25 thx tapas. i thought, i needed two layouts nested in the main ui. The way you suggested is good though Jul 22 11:33:57 when it comes to designing the set of buttons, I can arrange the first set and set it to visibility=GONE and then design the second second on top of it? Jul 22 11:34:14 oops, second set^ Jul 22 11:40:42 tapas, another thing, is there a way to group the buttons in an array? this way, I can set the visibility on either set, rather than on each button? Jul 22 11:42:15 fyi, the ui will be 2 textviews on top part of the screen for feedback and 2 set of buttons, like a 4x4 set each. Jul 22 11:42:27 lou_: just use a layout? Jul 22 11:42:35 and set the whole layout's visibilit Jul 22 11:42:36 y Jul 22 11:45:07 oh shit, u r right. Am still new at android development. thx. This means that I can have multiple layouts in one ui? Jul 22 11:46:58 you can nest layouts Jul 22 11:47:16 i.e. a linear layout containing several relative layouts.etcc// Jul 22 11:47:59 you can also include layouts in layouts, but then you probably want to look at fragments Jul 22 11:48:22 very good. i didnt know that. ty tapas Jul 22 11:48:41 thx as well, robb. Jul 22 11:49:09 for my case, am i better off with your suggestion, tapas? or should i look at fragments? Jul 22 11:51:31 tapas suggestion, you can look into fragments much later Jul 22 11:51:48 anyone running a linux distro that has detected nexus 7 Jul 22 11:54:56 thx again guys. I am hoping that this project that am working on will replace hardware at work Jul 22 11:55:50 if so, it would be a big leap from 90's serial hardware to this and hopefully will direct the company into using android devices for front end support Jul 22 11:57:41 my main point though, is the great support-community in spots like this that beats microsoft development support Jul 22 12:13:53 help me guys ! Cant create a dialog Jul 22 12:14:10 Logcat says : Unable to add window -- token null is not for an application Jul 22 12:14:49 any idea what could be the problem , the error is on the code where i write e.show(); for the dialog to be displayed Jul 22 12:16:55 The context you're passing isn't and activity Jul 22 12:17:45 s/and/an/ Jul 22 12:20:29 Simon but when i pass this as context it gives the same error Jul 22 12:21:24 ok, found out how to connect nexus 7 on opensuse so i can use it on eclips Jul 22 12:21:26 e Jul 22 12:27:38 I inflate a ViewStub on I click on a item in a ListView. However - after I inflate the sub the onListItemClickstops working for that item Jul 22 12:44:13 hi, i wrote a small program to learn about intent. But the application is crashing in the emulator. Please help Jul 22 12:44:29 Please help yourself and use adb logcat. Jul 22 12:45:32 TheTrash, there's nothing in logcat Jul 22 12:45:45 Impossible Jul 22 12:47:06 it means no crash :) Jul 22 12:47:11 there's some text, but i'm not understanding its contents Jul 22 12:48:52 there's some text, but i'm not understanding its contents Jul 22 12:49:03 Heh Jul 22 12:49:09 Why did you lie about it? Jul 22 12:49:57 here is the content of the logcat http://pastebin.com/2uFbNVad Jul 22 12:50:40 TheTrash, when i launch the app there is noting. but when i press the button in the app it crashes Jul 22 12:50:43 Well... there is no activity found to handle intent { act=com.arun.ACTIVITY2 } Jul 22 12:51:00 Either you forgot to add it to the manifest or that's not the correct name. Jul 22 12:51:29 TheTrash, i've added the activity2 in the manifest file Jul 22 13:00:00 arunkumar413: then the name is wrong Jul 22 13:00:10 show us the relevant manifest section Jul 22 13:00:25 and the start of your activity code (to see package declaration and class declaration) Jul 22 13:10:20 http://pastebin.com/kecPkZS1 Jul 22 13:11:18 tapas, http://pastebin.com/kecPkZS1 Jul 22 13:14:38 my app has two acivities, one has a button when clicked should switch to the second activity. Jul 22 13:16:17 tapas, r u there Jul 22 13:19:00 hey guys thanks a ton Jul 22 13:19:11 i have sucessfully built my first app Jul 22 13:19:24 col Jul 22 13:19:26 cool Jul 22 13:21:51 tapas, here is the manifest and activity2 contents http://pastebin.com/hkHZHf7U Jul 22 13:22:41 arunkumar413: put a dot in front of activity2 in the manifest Jul 22 13:22:47 activity android:name=".activity2" Jul 22 13:23:15 or write out the whole fully qualified name (including the package) Jul 22 13:23:47 tapas : can he just use this: setContentView(R.layout.activity2) ? Jul 22 13:24:00 The intent used to start the activity is also pretty relevant Jul 22 13:24:01 that isnt correct Jul 22 13:24:14 Why isn't that correct? Jul 22 13:24:20 if he has a layout file called activity2.xml it's ok Jul 22 13:24:35 activity2 is his java file Jul 22 13:24:40 not xml Jul 22 13:24:48 How do you know? Jul 22 13:24:49 well, he might also have an xml file with basename activity2 Jul 22 13:24:55 Did you see his layout files? Jul 22 13:25:03 yes, activity2 is my java file name Jul 22 13:25:06 the exception was a clas snot found exception though Jul 22 13:25:08 lol true Jul 22 13:25:11 s/clas/colass/ Jul 22 13:25:15 erm Jul 22 13:25:17 ya tapas Jul 22 13:25:19 s/colass/class/ Jul 22 13:25:46 arun do u have a xml named activity2? Jul 22 13:25:47 arunkumar413: how do you start the activity? Jul 22 13:25:55 adicool123, yes Jul 22 13:26:02 ok Jul 22 13:26:20 07-22 00:43:01.769: E/AndroidRuntime(914): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=com.arun.ACTIVITY2 } Jul 22 13:26:40 tapas, with MainActivity.java Jul 22 13:26:49 arunkumar413: well, show us the intent Jul 22 13:26:54 ya arun show us the code of mainactivity.java Jul 22 13:26:55 I have two layout files, two java files Jul 22 13:27:03 ok Jul 22 13:28:12 not the whole code, just how you use the Intent.. Jul 22 13:29:46 here is the manifest, activity2 and MainActivity content http://pastebin.com/5gMxs6mT Jul 22 13:30:03 startActivity(new Intent ("ACTIVITY2")); Jul 22 13:30:09 that is wrong on many levels Jul 22 13:30:09 :D Jul 22 13:30:10 tapas, the intent is used in MainActivity Jul 22 13:30:42 try startActivity(new Intent(this, activity2.class)); Jul 22 13:30:50 ya Jul 22 13:30:57 thats wrong Jul 22 13:31:21 http://developer.android.com/reference/android/content/Intent.html#Intent(android.content.Context, java.lang.Class) Jul 22 13:31:55 well i m done with testing my app need to sign it now n export the apk :) Jul 22 13:32:02 the word this is highlighted in red Jul 22 13:32:04 also it might be nice for the future to stick with CamelCase names for classes.. Jul 22 13:32:38 oh, because it's in a inner class Jul 22 13:32:40 tapas, made the changes u suggested, but the word this is highlighted in red Jul 22 13:32:49 try startActivity(new Intent(MainActivity.this, activity2.class)); Jul 22 13:33:02 ya that shud work Jul 22 13:33:06 and read up on what it does :D Jul 22 13:33:37 tapas, still in red Jul 22 13:33:57 fine do one thing ' Jul 22 13:34:08 http://developer.android.com/training/basics/firstapp/starting-activity.html Jul 22 13:34:28 good guy SimonVT Jul 22 13:34:28 :D Jul 22 13:34:42 dem docs Jul 22 13:34:50 XD Jul 22 13:34:55 lol Jul 22 13:35:21 Amazing how you can just search for "starting an activity" and it tells you how to do it Jul 22 13:35:33 with google even :D Jul 22 13:35:52 Intent anyname = new Intent(MainActivity.this, Activity2.class); Jul 22 13:36:14 startActivity(anyname); Jul 22 13:36:16 that shud do it arun Jul 22 13:36:16 his activity class name is activity2. not Activity2 Jul 22 13:36:21 but anyways.. Jul 22 13:36:44 oh ya whatever it is with case Jul 22 13:42:49 adicool123, mainActivity.this is showing in red Jul 22 13:43:05 captital M Jul 22 13:43:10 java is case sensitive Jul 22 13:43:16 ya Jul 22 13:43:29 MainActivity.this Jul 22 13:43:37 activity2.class Jul 22 13:44:09 adicool123, Jul 22 13:44:18 Intent bee= new Intent (MainActivity.this ACTIVITY2.class); startActivity(bee); Jul 22 13:45:24 thats fine, just change the case of activity2 Jul 22 13:45:32 activity2.class Jul 22 13:45:42 n a comma in between Jul 22 13:46:41 ok, wow, its working. thanks adicol and tapas Jul 22 13:46:47 sorry adicool Jul 22 13:47:28 sorry? Jul 22 13:47:30 cool Jul 22 14:14:29 <`z> I think it's already too late to learn and send in a thingy to rpi Jul 22 14:14:30 <`z> oops Jul 22 14:14:41 <`z> you spin me right round baby right round like a record baby right round right round Jul 22 14:41:27 Is there any built in library for xmpp connections? Jul 22 14:43:24 deadmund: nope Jul 22 14:43:57 Leeds: What is this guy talking about here? http://davanum.wordpress.com/2007/12/31/android-just-use-smack-api-for-xmpp/ (read his first paragraph, he mentions 'lXmppSession' ? Jul 22 14:45:21 How can I get my imageview or linearlayout to get focus when the next button is hit from the prior edittext? I want them to get a focus event so I can run some code. Jul 22 15:13:37 how are people still selling galaxy s2 for $600 Jul 22 15:13:44 has anybody put actionbarsherlock into a release build? I am having classnotfound exception with this Jul 22 15:13:56 deadmund: he's talking from before the days of Android 1 - some APIs were removed from public use around then, because it was decided they couldn't be done 'right' in one way or another Jul 22 15:14:09 ok Jul 22 15:14:10 yes maiatoday Jul 22 15:14:11 I installed as per website and in debug mode it works perfectly Jul 22 15:14:12 you're using proguard Jul 22 15:14:18 Leeds: thanks. :) I found SMACK and am now using that. Jul 22 15:14:19 not using proguard Jul 22 15:14:28 then how do you have CNF Jul 22 15:14:29 deadmund: probably the right solution :) Jul 22 15:14:51 Leeds: hopefully Jul 22 15:15:34 canadiancow|work: It's a crash report from market, I have nothing in my progaurd-project.txt file Jul 22 15:15:54 is there anything related to proguard in project.properties? Jul 22 15:16:16 no Jul 22 15:16:24 what class is not found? Jul 22 15:16:57 project.properties has has nothing but comments on proguard, Jul 22 15:17:18 curses I unpublished at the market now I can't see the errors, wait I can reproduce on a phone again Jul 22 15:20:21 anyway let me be perfectly clear: if it happens in a release build and not a debug build, it's proguard Jul 22 15:20:45 because proguard is the only thing that would remove a class in a release build but not a debug build Jul 22 15:21:45 thanks canadiancow|work I'll search with that, I didn't setup anything for proguard but I did use the wizard to make the project and I did use the ide wizard to build the release version Jul 22 15:22:18 it will proguard the build by default I think Jul 22 15:22:25 with default settings Jul 22 15:22:33 I looked at the error again it says its the main application class that is missing Jul 22 15:23:00 ok it may be zubhium then Jul 22 15:23:11 well no sorry, it doesn't Jul 22 15:23:36 check if you have a proguard.config= line in your project.properties file Jul 22 15:25:06 bubbleguuum: no project.properties has the target and the android.library.reference in it no proguard Jul 22 15:25:44 main application class missing? Jul 22 15:25:47 ive seen that once or twqice Jul 22 15:25:53 it's just a silly error that happens sometimes Jul 22 15:26:19 but it occurs like 0.00000001% of all sessions for me Jul 22 15:26:36 ok the main application class references the Zubhium jar so I'll comment that out for now and see if it makes it better Jul 22 15:26:55 I had some of those Dalvik error 1 but a clean build fixed that Jul 22 15:27:27 that wont help Jul 22 15:27:35 its not saying somethin gin your application class cant be found Jul 22 15:27:40 its saying your application class cant be found Jul 22 15:27:58 and unless it's easily reproducible, just treat it as a "solar radiation flipped a bit" error Jul 22 15:28:23 lol Jul 22 15:28:47 like ive seen that in words with friends Jul 22 15:28:51 its happened probably <100 times Jul 22 15:29:05 canadiancow|work: ok hop on one leg and whistle while it builds and hope it doesn't happen again. It has happened 2 builds in a row though :( so I'll have to hop harder Jul 22 15:29:14 you can reproduce it? Jul 22 15:29:34 well, both release builds sofar have done that Jul 22 15:30:14 what device? Jul 22 15:30:28 nexus and galaxy ace Jul 22 15:31:29 ok thats a dev issue Jul 22 15:31:34 if you can consistently reproduce on two devices Jul 22 15:31:49 in your manifest, what do you have specified for your application class? Jul 22 15:32:43 for the application it is the class the same class that it says it can't find Jul 22 15:35:10 does that class (with that exact name/spelling/casing) exist? Jul 22 15:36:07 yes Jul 22 15:36:20 but for sanitys sake let me do a search Jul 22 15:38:00 cut and paste search from error report finds the class I am thinking it should use Jul 22 15:39:23 ok clean rebuild and export and it still happens Jul 22 15:43:47 same new apk does the same thing on the nexus Jul 22 15:53:54 Hi guys i was thinking of building a calculator app Jul 22 15:54:13 adicool123 that will be great Jul 22 15:54:14 i see that there is no keypad that supports a calculator Jul 22 15:54:29 so i figured i need to create a custom keyboard Jul 22 15:54:48 Hello, Im trying to install packages through SDK Manager, i get an error that "File not found: /opt/android-sdk/temp/android-16_r01.zip (Permission denied) each time im trying Jul 22 15:55:11 permission denied? Jul 22 15:55:25 any ides? how the keypad shud look? Jul 22 15:55:35 any one here developed a custom keyboard? Jul 22 15:56:03 Why make a keyboard.. Just make a layout with some buttons Jul 22 15:56:49 simonvt : excellent idea , but wont the code get too messed up and referencing wont b a problem? Jul 22 15:57:34 You can check how the calculator already in android does it Jul 22 15:58:19 hmmm true ! that i can do, thanks for the idea will read around :) Jul 22 15:58:22 With keyboard it's the user who chooses which to use Jul 22 15:58:37 and as u said doing a layout is lot easier rather than a whole keyboard Jul 22 16:00:10 canadiancow|work: thanks for the pointers, I found a stackoverflow comment about a similar problem. I think I will convert to building with ant then I can see where it has a problem. Jul 22 16:05:13 TouchPaint app restarts when I change orientation. android:configChanges="orientation" in manifest does not help. Jul 22 16:06:53 mherweg: what android version? Jul 22 16:07:02 2.3.3 Jul 22 16:07:28 you could try orientation|keyboardHidden Jul 22 16:07:33 at least that's what I am using Jul 22 16:07:41 although, orientation should be enough Jul 22 16:09:15 orientation|keyboardHidden works! Thank You! Jul 22 16:16:10 eclipse complains about me not using SparseArray<...> instead of HashMap but in my code I am iterating over it, is that even possible with SparseArrays? Jul 22 16:19:34 Hi all. I have installed the Android SDK, I do not use Eclipse, but plain old command line(Windows). Upon calling ant debug command(I have added the required folders to my PATH) I see I am missing this ant executable(or whatever executable type it is). Jul 22 16:19:52 How can I find and install it? Jul 22 16:20:03 Just google "ant" Jul 22 16:20:40 http://ant.apache.org/ <-- this? Jul 22 16:20:59 yes Jul 22 16:22:57 While I am sure it's mentioned somewhere in the do Jul 22 16:23:11 in the Android SDK documentation which comes with the SDK, it's not mentioned on the website Jul 22 16:24:05 http://developer.android.com/tools/building/building-cmdline.html Jul 22 16:28:17 I mostly plan to port C apps to Android. The reason why they will be in plain C is because they need the most speed they can get. Something not achieved well with Java Jul 22 16:31:24 i just upgraded my phone from 2.3 to 4.0.3 and i use it for debugging Jul 22 16:31:40 for some reason the 4.0.3 shows black screen when i'm loading an image from url Jul 22 16:31:46 and set it to imageview Jul 22 16:31:51 worked fine on 2.3 Jul 22 16:32:01 anyone encountered this problem before? Jul 22 16:37:00 @diki: take a look at optware for android Jul 22 16:37:05 Are there tutorials for the ICS building blocks? Jul 22 16:37:11 Like Play Store style scrollable tabs Jul 22 16:37:21 and the action bar stuff Jul 22 16:37:34 aaand grid list with labels Jul 22 16:41:46 So, before I even start porting any app to C, there are a few pure C libraries I need to compile. Like PCRE for instance, which is essential for this one app I need to use as well as OpenSSL Jul 22 16:42:35 I sure as hell hope they need no modifications to the code to compile. Jul 22 16:42:54 canadiancow|work: some feedback, I got it working by not using the eclipse plugin but rather building a signed release version with ant. Jul 22 16:43:39 @diki: that is included in optware Jul 22 16:44:33 chrishi:I looked at that program and it seems to allow linux apps to work as-is on Android. Jul 22 16:44:59 yes Jul 22 16:45:16 But in my case, I'd need to create a nice GUI for the app. Jul 22 16:45:47 which means I will need to use the conventional methods. Jul 22 16:46:11 but the libs you can find there Jul 22 16:46:43 also gcc Jul 22 16:46:44 Arent' they supposed to be compiled for the arm processor? Jul 22 16:47:09 yes they are Jul 22 16:50:14 Is it user friendly? As in, if I redistribute my app via Google Play will users need to go to very lenghty steps to make my app run? Jul 22 16:52:08 hmm, i can't say. I'm porting mostly cli Jul 22 16:52:17 same here Jul 22 16:52:25 all these apps are pretty much cli Jul 22 16:52:45 but, I'd like to include a nice GUI(in java) to help users use it Jul 22 16:53:13 yes that's true Jul 22 16:56:17 Anyway, I am pretty much stuck at how to use cygwin and use the bionic libc instead of gnu libc Jul 22 16:57:24 ah, that is a gcc command Jul 22 16:58:04 yes. And it works pretty well Jul 22 16:58:57 but as said, i didn't try it for gui Jul 22 17:00:20 well, gui is in java(will be) which means javac will take care of that. I am talking about creating a shared/static library of say PCRE,OpenSSL,htmlTidy(all written in pure C cli) Jul 22 17:03:46 test Jul 22 17:04:19 Hello guys, i have a question... is it possible to check the current cell connectivity? Jul 22 17:04:39 yes it is possible Jul 22 17:04:51 can u tell me how? Jul 22 17:04:59 havent found anything Jul 22 17:05:22 http://bit.ly/ORpSES Jul 22 17:05:38 Andi```: ConnectivityManager Jul 22 17:06:44 isnt connectivitymanager only for inet connection? Jul 22 17:07:09 are you asking for the phone signal? Jul 22 17:07:34 yes Jul 22 17:09:24 tried with android signal strength? Jul 22 17:09:33 should be 1st result Jul 22 17:10:24 thx Jul 22 17:13:20 btw... Is this the right way to use the notifications? http://pastebin.com/wXMdYP9t because when I get the intent's extras in the activity, I won't receive the Updater.UPDATER_ACTION_UPDATE_ROM extra, but the DownloadService.REQUIRES_DOWNLOAD_MANAGER one, which is used only by another method of another class! I suspect I've done something wrong somehow Jul 22 17:15:07 btw these notifications are pushed by a service, may it be it's not shut down every time I build a new version from eclipse? Jul 22 17:30:16 Holy cow android layouts hate me. How can I get a multi-line edit text? http://pastebin.com/bsGesUyn Jul 22 17:31:29 pmgnet:gtk hates me Jul 22 17:31:39 This shows one line of text. I have something like 3 attributes that should make this more than one stinking line. Jul 22 17:31:40 I tried using gtk to create a gui for windows and failed quite a lot Jul 22 17:39:49 got it. It was this: android:inputType="textMultiLine" Jul 22 17:45:14 hello all Jul 22 17:54:37 does any one have good example code or a tutorial on drawing formatted text to a canvas? Jul 22 18:01:06 thebishop what do you mean? Jul 22 18:02:26 xorgate, something more like the TextView rather than the simpler drawText() canvas call. Is there any way to handle line wrapping, indentation, paragraphs, etc without writing all that manually? Jul 22 18:03:23 hm i guess that would soon be in the realm of specialized (open source?) ui items Jul 22 18:09:03 xorgate, interesting. i haven't delved too much into that. know a good place to start looking? Jul 22 18:29:00 is the apiDemos sample broken for anyone else? i tried api 16, 15, and 10 Jul 22 18:29:05 all have the same problems Jul 22 18:29:14 problems? Jul 22 18:31:46 yuizy, several. in secure_view.xml: "error: No resource identifier found for attribute 'filterTouchesWhenObscured' in package 'android'" Jul 22 18:32:09 seems like a lot of problems with Gen. tons of problems referencing R in the source files Jul 22 18:33:32 "The import com.example.android.apis.R cannot be resolved" in every source file, and lots of consequences of that Jul 22 18:36:27 thebishop: did you try project clean? Jul 22 18:37:35 f2prateek, i'll try Jul 22 18:37:48 I installed ubuntu 10.10 on my SGS2. Jul 22 18:37:56 Can you guys tell me it's limitations? Jul 22 18:38:06 i see in the "Using Eclipse" doc that eclipse sometimes erroneously adds these import lines Jul 22 18:41:46 f2prateek, clean didn't fix it. and it looks like the import may not be an eclipse screwup. in at least a few files, there's a comment above it Jul 22 18:42:01 "// Need the following import to get access to the app resources, since this Jul 22 18:42:01 / class is in a sub-package. Jul 22 18:42:01 " Jul 22 18:44:32 anyone here doing Android development using Eclipse on Linux? Jul 22 18:46:56 TRUE_mnky, yep Jul 22 18:47:52 hmm, on the ApiDemos front... I got it working by creating a New Android Sample project. I'm inclined to say I'm a dummy for not doing this first, but every other sample worked by importing from 'existing source' Jul 22 18:48:17 thebishop, I need some help on a problem, and all the answers are for Windows. Mind if I pick your brain in a PM? Jul 22 18:48:35 what does linux have to do with it Jul 22 18:49:03 he must be developing on linux Jul 22 18:49:04 not windows Jul 22 18:49:04 TRUE_mnky, sure, but i'm still just embarking on my first project after following some books. i don't have a ton of experience Jul 22 18:49:18 xorgate, something with my configuration I think. all the docs are pointed to Windows devs Jul 22 18:49:53 TRUE_mnky, you're probably better off just asking here Jul 22 18:49:53 that's right lucasoman. I am switching all my desktop/laptop computers to a Linux-only environment Jul 22 18:50:15 specifically? Jul 22 18:50:42 okay. I keep trying to develop for my Kindle Fire. The 'hello world' app does not deploy. Jul 22 18:50:59 TRUE_mnky, running stock? Jul 22 18:51:27 Hi Jul 22 18:51:38 okay. Let me go over my environment. Slackware 13.37 with the 3.4.4 kernel Jul 22 18:51:39 android devices typically don't allow installation from 'unknown sources' by default. i'm not sure how to enable that on the fire Jul 22 18:51:55 yeh thats a good place to start Jul 22 18:51:56 did this work for you on windows and not linux? i doubt it makes a difference Jul 22 18:51:57 MyEclipse Blue 10.5 for Linux, Java 1.7. Jul 22 18:51:58 I have a question about playing stream radio station on Android Jul 22 18:52:14 basically, it's .asx Jul 22 18:52:24 Android SDK 20.1 Jul 22 18:52:30 Eng_Fouad, is this a development question or an app recommendation question? Jul 22 18:52:34 erm... Jul 22 18:52:40 how'd you get 20.1? Jul 22 18:52:43 Here is a link for more details: http://stackoverflow.com/questions/11584362/how-to-play-radio-live-stream-asx-video-x-ms-asf Jul 22 18:52:43 it's not out yet Jul 22 18:53:06 xorgate, let me make this clear. I am getting rid of all Microsoft crap There is no Windows to try it on. Jul 22 18:53:27 thebishop, the current version Jul 22 18:53:30 TRUE_mnky, the point is the Fire might not allow sideloading of development apps. Might explain your deployment problems Jul 22 18:53:36 TRUE_mnky, latest SDK is 16 Jul 22 18:54:11 are you running the stock amazon firmware on your fire, or have you rooted it and installed a custom mod? Jul 22 18:55:09 I am running stock firmware, but this has nothing to do with the physical device Jul 22 18:55:16 The problem is the emulator Jul 22 18:55:21 thebishop: it's a development question Jul 22 18:55:30 TRUE_mnky, ah i see. so fire is irrelevant Jul 22 18:55:31 sorry Jul 22 18:56:02 yeah, well, it is relevant in as much as I set up my AVD to resemble the Kindle Fire Jul 22 18:56:04 TRUE_mnky great. i was referring to the enabling of outside sources, or what it's called, on your kindle Jul 22 18:56:20 Eng_Fouad, yeah, i see the SO post. i don't have enough experience with the media apis to answer your question. Jul 22 18:57:04 xorgate, I have the 'install applications from unknown sources' enabled. That is not the issue. I am not even getting to that point. Jul 22 18:58:02 TRUE_mnky, so no apps are deploying to the emulator after Run As..-> Android Application? Jul 22 18:58:13 theandroid, bingo Jul 22 18:58:29 and you set up the AVD properly? Jul 22 18:58:37 can you run the AVD normally? Jul 22 18:59:25 I followed directions in an ebook on developing applications for the Kindle Fire (sort of, since the directions were written for Windows Lusers Jul 22 19:00:30 yeah, but you have to create an AVD, which is basically an android virtual machine Jul 22 19:00:38 that's what the emulator runs Jul 22 19:00:40 yeah, did that Jul 22 19:00:44 and does it boot? Jul 22 19:00:48 without running an app Jul 22 19:01:03 it boots eventually, but keeps throwing an error in drawable Jul 22 19:01:19 It also refuses to allocate the proper RAM Jul 22 19:01:28 i'd try making another avd and not follow your ebook's kindle-specific advice Jul 22 19:01:49 make sure you can get a booting android emulation first, then try to do the kindle-specific tweaks Jul 22 19:03:26 I am stuck with the NDK. I have downloaded a library written in C which has a makefile and configure file. But obviously I can't compile it with Cygwin the normal way since it will do it for Windows. How would I compile it for arm linux? Jul 22 19:09:48 diki, you might want to run it on an ARM processor running Linux... Jul 22 19:10:04 lol Jul 22 19:10:09 and how would that happen? Jul 22 19:10:10 Is there an "official" icon (for action bar, etc) related to tags/tagging? Jul 22 19:10:11 failing that, however, Linux is always an option Jul 22 19:10:29 There are three steps taken to compile a library the usual way Jul 22 19:10:38 ./configure, make, make install Jul 22 19:11:05 if you don't have a Linux box, try getting a Linux CD Jul 22 19:11:08 No idea how to implement that with ./ndk-build Jul 22 19:11:10 TRUE_mnky, were you able to get another avd booting? Jul 22 19:11:12 don't do the make install Jul 22 19:11:35 TRUE_mnky:I am well aware of things around compiling a library Jul 22 19:11:39 but with the ndk it's different. Jul 22 19:12:03 I need to specify not to use the standard libc, but bionic libc Jul 22 19:12:10 and configure for arm linux Jul 22 19:13:01 diki, try configure --help to get the options. Jul 22 19:13:20 you are missing the point Jul 22 19:13:46 I don't remember what they are off the top of my head, but you should be able to specify the lib paths and cross platform options there. Jul 22 19:14:44 so I basically just execute ./configure with some fancy options to target the ARM linux arch Jul 22 19:14:54 from Cygwin Jul 22 19:15:06 and then go back to ndk build and hopefully it will do it's job? Jul 22 19:19:06 diki, that is the theory. If it doesn't work, you can always try compiling from Knoppix Jul 22 19:21:48 hmm Jul 22 19:21:58 m2e-android is STILL not updated for ADT 20 ffs Jul 22 19:22:11 does anyone have a pre-built Git somewhere? Jul 22 19:29:07 any body worked on an app that uses bluetooth Jul 22 19:29:08 ? Jul 22 19:29:22 I have Jul 22 19:29:26 i needed some help with A2DP profile Jul 22 19:29:30 pallavagrawal, did you check out the sdk samples? Jul 22 19:29:43 there's an A2DP sample in there Jul 22 19:29:47 I have experience on RFCOMM / SPP only sorry Jul 22 19:29:57 which one? Jul 22 19:30:45 afiak you cna't directly access a2dp Jul 22 19:30:51 unless they added features I haven't noticed Jul 22 19:31:43 you can query if a2dp is connected Jul 22 19:31:55 dragorn: they changed that after android 3 Jul 22 19:32:07 but that's about it, as far as I see (and matches what I remember). Since a2dp patches into the sound system, it's handled specially Jul 22 19:32:22 pallavagrawal: looking at the docs I only see that you can find out if a2dp is connected Jul 22 19:32:37 pallavagrawal: and some stuff about what a2dp device is connected, I suppose Jul 22 19:33:11 dragorn: so is there a way i can connect automatically using the name of a2dp receiver Jul 22 19:33:41 thebishop: i didn't find any a2dp sample. can you guide me? Jul 22 19:34:02 pallavagrawal: you can tell bluetooth to scan and iterate over devices Jul 22 19:34:11 pallavagrawal: if you know the mac of the a2dp device oyu want to connect to Jul 22 19:34:16 pallavagrawal: but usually that's handled by android Jul 22 19:34:25 pallavagrawal: and implies the user has set up the connection Jul 22 19:35:11 dragorn: that means if i have 10 different a2dp receivers then i would need to know their mac addresses manually? Jul 22 19:35:47 you can only connect to one a2dp adapter at a time Jul 22 19:35:57 and it's managed by the bluetooth/audio subsystem Jul 22 19:36:19 yeah i want to connect to only one at a time. Jul 22 19:36:47 that should be handled by the bluetooth system already once the user has associated with the device. You can force a scan mode, that's about it. Jul 22 19:36:56 a2dp isn't handled as a raw comms channel like rfcomm is Jul 22 19:37:14 see what i want is : i tap on a Near field communication tag, the audio player loads up and it automatically connects to the available a2dp adaper Jul 22 19:37:27 you can probably get notified when connected to a specific audio stream w/out having to constantly query; I'm uninspired to dig into the docs that much but I've seen it done by tasker, etc Jul 22 19:37:36 now im downto conventional stuff like fling gesture handlers Jul 22 19:37:42 you can definitely get notified when BT does something and use that to trigger a a2dp query Jul 22 19:38:21 pallavagrawal: so with that workflow, what you'd probably have to do is have the user map all the a2dp devices they plan to use Jul 22 19:38:33 pallavagrawal: then have them pick which one is associated with which tag in your sw, where you save the mac address Jul 22 19:38:52 pallavagrawal: then when you get the nfc event, you initiate a bt connect. I'd HOPE that would cause it to bind a2dp at the same time since it's connecting to the device Jul 22 19:39:20 pallavagrawal: you probably also want to query a2dp first, disconnect any existing device, then initiate the new connection. BT is slow to connect, so it'll be a perceptable delay, probably 2-5 seconds Jul 22 19:40:00 is there an upper bound for bt connection time? Jul 22 19:40:11 no threres no limit Jul 22 19:40:41 SuD: amount of time it takes to connect? I don't think so; it WILL eventually time out. Probably. Sometimes it shits its pants. Jul 22 19:40:55 I'd hve to go look at the spec, and I have a case of not caring right now ;P Jul 22 19:41:04 i don't care, just moaning Jul 22 19:41:42 dragorn: can you guide me to some online resource. since i am fairly new, it will be easier for me to follow Jul 22 19:42:10 i have a parrot ck3000 evolution car kit that needs to update firmware in order to connect to any android phone Jul 22 19:42:25 in order to do the upgrade you need to buy a cable that is more expensive than the device itself Jul 22 19:42:42 or go to a specialized place Jul 22 19:43:28 have a bluetooth device, which can communicate wirelessly, then require that upgrades are done with a cable Jul 22 19:43:57 you could say that is in behalf of security but then... Jul 22 19:44:25 why the pin is 0000, cannot be changed, any phone can get paired at any moment to it, and there's a maximum number of phones the device can know Jul 22 19:44:50 leading to a practical DoS when anon people pair with it, that i must erase the settings in order to it accept new phones again Jul 22 19:45:53 pallavagrawal: https://developer.android.com/guide/topics/connectivity/bluetooth.html Jul 22 19:46:38 SuD: that's fun. My sony unit is only discoverable for binding when you tell it to be, but also tends to lose the a2dp connection on bind. It binds voice and a2dp, then drops a2dp Jul 22 19:47:20 dragorn: i went through that, it gives you the list of tools required. but they are of no use to someone, who doesn't knows how to use them! Jul 22 19:48:20 pallavagrawal: sorry, that's what I've got. There's some example code on the developer site as well for communicating with SPP RFCOMM, which will help with how to address devices. After that you'll have to figure it out. Jul 22 19:49:15 [2012-07-22 15:29:31 - Emulator] savevm: unable to load section ram Jul 22 19:49:31 dragorn; really? i thought i was the only one unable to find stuff on a2dp! How come there's no resource on a2dp? Jul 22 19:50:23 maybe they didn't expect you to control it programatically from an app? Jul 22 19:50:24 pallavagrawal: You can't do much with a2dp. I told you the process for what you say you want to do; you don't "connect to a2dp" in android, it doesn't work that way. You can initiate device connection and disconnection, and if it's a2dp, android will bind that. Jul 22 19:51:27 there is no direct a2dp channel from app to device, a2dp is bound into the sound system. You can find out if you're talking a2dp or speaker, that's about the extent of your interaction. So if you want to play on a specific a2dp device, you have to initiate a bt connection to it, detect it succeeded, confirm it's the output via the bluetootha2dp documented on that page, and play your sound as normal Jul 22 19:53:49 so what do i change in the music player code? Jul 22 19:54:06 assuming we are able to do the a2dp stuff. i think a2dp sink? Jul 22 19:54:14 you don't change anything Jul 22 19:54:21 if an a2dp device is connected, audio goes out a2dp Jul 22 19:55:51 automatically? since in MediaPlayer class, there's just one function called mediaPlayerObject.start(). Jul 22 19:55:56 to play songs Jul 22 19:57:45 so lets summarize what you told: You're saying that i just need to connect to the a2dp device ( using mac address, scanning) and the audio automatically switches to a2dp, thats why there is no as such resource on a2dp since a2dp means i want to play songs off my bluetooth stereo. Jul 22 20:00:43 anybody know a good screencast tool? i've tried http://code.google.com/p/androidscreencast/ but its pretty slow. Jul 22 20:01:17 dragorn: did i got it correctly? Jul 22 20:01:45 pallavagrawal: yes. Once you are connected to an a2dp device in a2dp mode, audio will direct out it. Media audio, definitely, notification audio, not sure. I've had phones that play notifications out bt and phones which did not. Jul 22 20:01:57 pallavagrawal: I'd do some testing and confirm that a code-initiated connection will bind a2dp Jul 22 20:03:20 ron_frown: oi ! Jul 22 20:03:46 dragorn: okay. Jul 22 20:05:49 hello can you help me with this question please? - http://stackoverflow.com/questions/11603585/couldnt-read-row-1-col-1-from-cursorwindow-make-sure-the-cursor-is-initializ Jul 22 20:11:51 abc Jul 22 20:23:50 anyone has experience with ExpandableListView? Jul 22 20:30:55 i'm curious, how do you all do updates? Jul 22 20:31:14 do you check for an update once in a while and pop something up to the user asking them to dl the new version ? Jul 22 20:31:36 damn Jul 22 20:31:45 I am trying to run a Cygwin configure but it always fails Jul 22 20:31:51 the config.log is not very helpful Jul 22 20:34:52 funktronic: Let play store handle it Jul 22 20:35:41 SimonVT: that's what i was thinking Jul 22 20:35:46 oh god finally working Jul 22 20:36:22 the problem is that I was using CFLAGS to specify headers to include whereas I needed to ALSO add CPPFLAGS=paths Jul 22 20:36:25 play store can both notify the user when updates are available, or automatically update for them Jul 22 20:38:46 lolwut Jul 22 20:38:54 I need to pay 25 dollars to publish apps on google play? Jul 22 20:39:10 OMG, how will anyone ever manage that sum of money ? Jul 22 20:39:19 diki: it's sort of spam filter Jul 22 20:39:19 well then you are not me... Jul 22 20:39:20 yes Jul 22 20:39:27 aolin:makes sense Jul 22 20:39:41 i'd make it $100 Jul 22 20:39:49 id make it 10000000 Jul 22 20:39:58 diki: try publishing something to the xbox/ps3 Jul 22 20:45:05 haha even try developing something for the xbox/ps3 first Jul 22 20:45:56 diki: you can provide APKs for people willing to disable 'trusted apps only' on their phone, until you want to commit Jul 22 20:46:03 diki: but it's a one-time and not much of a big deal Jul 22 20:47:22 this ExpandableListView stuff is really annoying me Jul 22 20:48:26 tried setting the view as disabled in newChildView() method, also on bindChildView() but nothing. =/ Jul 22 20:49:28 if anyone is wondering the question is http://stackoverflow.com/questions/11603585/couldnt-read-row-1-col-1-from-cursorwindow-make-sure-the-cursor-is-initializ Jul 22 20:49:58 darn Jul 22 20:50:03 I finally made pcre configure... Jul 22 20:50:07 and it failed horribly Jul 22 20:54:34 hi, I've developed a few iphone applications, and I'm currently about to buy an android phone, and I'm looking for one that is "developer friendly" (as in, works great, can communicate with a mac, one that gets continuous upgrades so I can run the latest version of android / whatever else I might be forgetting)… do anyone have any suggestions which phone I should be looking at? Jul 22 20:55:42 hey guys, why does my logcat shows only the gc freed amount, and not the current heap size and max heap size Jul 22 20:55:49 it shows: 07-23 00:53:43.431: D/dalvikvm(302): GC_FOR_MALLOC freed 1393 objects / 591648 bytes in 52ms Jul 22 20:56:09 and I want it to also show total and used heap size, how do I customize it? Jul 22 20:57:48 psino:In other words the latest android phone? Jul 22 20:58:18 psino, you need a range of devices. Android device fragmentation if far greater than for iOS. Jul 22 20:58:51 psino, if your looking to just get started and want a nice phone too, either the galaxy nexus or samsung galaxy s3 should do Jul 22 20:59:07 diki: I'm not sure.. as a newcomer to the android world, I see a lot of different manufacturers selling a lot of models, and it seems impossible to know which ones I should go for Jul 22 20:59:37 psino: basically, if you want first-party support with updates after new Android release you have to get a Nexus device Jul 22 20:59:47 that being Nexus 7 / Galaxy Nexus Jul 22 21:00:01 they're being marketed as Google's Android "developer" devices anyway Jul 22 21:00:21 if you're serious about testing you'd need at least one from each manufacturer and at least one for each possible screen resolution Jul 22 21:00:44 if you're a huge company who's doing a game / huge app Jul 22 21:00:52 there's no reason for such overkill with smaller utility apps Jul 22 21:01:26 single phone / emulator is more than enough for a phone app Jul 22 21:01:39 with compatibility testing on other phones right before release Jul 22 21:01:51 psino, im a student and between the emulator for layout checking and my samsung galaxy s2 i manage to get by. Jul 22 21:02:07 err and what Mavrik said :P Jul 22 21:02:17 sam: I think I'll start with one, then work on from there.. I'll definitely keep in mind testing on different models when I get closer to completion Jul 22 21:03:05 Mavrik: so the galaxy nexus is slightly better supported than the galaxy s3? Jul 22 21:03:26 psino:What do you want to write? Jul 22 21:04:12 psino: galaxy nexus receives updates directly from Google (and already has Android 4.1) Jul 22 21:04:23 didnt nexus 2 come out? Jul 22 21:04:25 with S3 you're at mercy of Samsung arseholes Jul 22 21:04:27 which will give you update whenever Jul 22 21:04:49 (they still haven't announced any plans of updating the S3 to 4.1, took them months to update S2) Jul 22 21:05:09 S3 has significantly better hardware though Jul 22 21:05:20 diki: nop Jul 22 21:05:46 diki: I can't really go into details right now, but it will be an app that speaks to a bluetooth hardware dongle that analyses a running machine Jul 22 21:05:52 how to make gc messages in logcat show allocated memory? Jul 22 21:06:00 Mavrik: technically the nexus s is the second nexus Jul 22 21:06:31 cr5315: hmm... you could look at it that way... GN is "Nexus 3" then :) Jul 22 21:06:38 Yup Jul 22 21:06:40 psino:sounds malicious Jul 22 21:07:36 diki: nothing malicious about it :) Jul 22 21:08:22 Is there a way to define a drawable in xml that results in just a line that goes on the bottom? Jul 22 21:09:17 anybody want to help me test out an application ? Already tested on Galaxy Nexus and Tab 10.1, but would love to get it tested on more devices. It's Roman Nurik's asset studio's device frame generator basically https://www.dropbox.com/s/vlew4ofhuiykih5/DeviceFrameGenerator.apk Jul 22 21:10:09 what does it do Jul 22 21:10:47 Ravenheart: makes your screenshots look fancy, exactly what the device frame generator in asset studio does Jul 22 21:21:00 If my .c files are more than I can humanly type in the Android.mk file, how can I include all .c files? Jul 22 21:22:43 does it support wildcards? Jul 22 21:22:47 Have you been able to compile C/C++ programs on Android ? Jul 22 21:23:48 evancharlton:dunno Jul 22 21:23:56 never used an android.mk files, but supposedly it does Jul 22 21:25:11 What does an android.mk file do ? Jul 22 21:49:48 I give up... Jul 22 21:50:01 compiling a library for android is horrendous Jul 22 21:56:39 diki: I broke my mac building Android last night. Jul 22 21:56:49 lol Jul 22 21:56:53 Everything got paged out, and it took hours to recover. Jul 22 21:57:16 Apparently Lion has a few issues. Jul 22 21:58:21 ./obj/local/armeabi/objs/pcre/pcre_chartables.o:(.rodata+0x0): multiple definition of `_pcre_default_tables' Jul 22 21:58:21 ./obj/local/armeabi/objs/pcre/pcre_chartables.o:(.rodata+0x0): first defined here Jul 22 21:58:25 just look at that... Jul 22 21:58:26 How can I change the layout depending on a preference? Specifically, how can I create a new input control and drop it onto the page in Java? Jul 22 21:59:11 diki: Is there a tool that would fail on that if you accidentally included the same object twice on the command line? Jul 22 21:59:38 Was going to say twice in the same archive, but that wouldn't actually do it. Jul 22 22:00:26 Here is a start: http://stackoverflow.com/questions/6206787/creating-a-button-in-java-causes-getlayoutparams-to-return-null Jul 22 22:01:41 my current problems... Jul 22 22:02:01 are similar to those of when I tried compiling php,apache and mysql for symbian from the already provided port source code... Jul 22 22:02:13 it all compiled well there, but never actually ran(go figure) Jul 22 22:02:29 whereas the developer's compiled binaries worked... Jul 22 22:05:08 I compiled that project for 2 whole weeks till my eyes bled every day Jul 22 22:21:35 Hey guys, if I want to launch the main activity of an app using 'am start' how would I do it? Jul 22 22:21:36 anyone here with a nexus 7 and/or ICS phone willing to test an app for me? Jul 22 22:22:24 AlCapwn what app? Jul 22 22:22:40 future release of Andchat irc app Jul 22 22:22:48 oooooh Jul 22 22:22:49 i dont have a nexus 7 or ics phone to test on Jul 22 22:23:02 nexus 7 has sold out everywhere I try Jul 22 22:23:29 Shoot, and I just sold mine today Jul 22 22:23:53 do you have an ICS phone? Jul 22 22:23:59 Jellybean Jul 22 22:24:18 ok, great, that'll work as well, can I pm you? Jul 22 22:24:50 Sure Jul 22 22:26:54 ok this gesture recognizer wants me to bore a hole through my nexus7 in order to recognize a fling Jul 22 22:27:45 whats the closest equivalent of iphone swipe gesture? Jul 22 22:28:05 i want it to recognize very light touch, other things do Jul 22 22:34:04 ok actually thats not problem Jul 22 22:34:25 a pan you keep holding down Jul 22 22:34:31 but not a fling Jul 22 22:38:53 i could possible use fling with tap to release, instead of pan Jul 22 22:44:36 i guess a pan gesture is basically just motionevent.action_move Jul 22 22:55:10 Jelly Bean is API 16, right? Jul 22 22:57:34 cr5315: yes Jul 22 22:57:43 Alright, thanks Jul 22 23:02:38 how to stream from a camera ? Jul 22 23:04:22 i'd atleast like to have a server, to which a client pc can connect and request, when the request is sent, the server would take a snap from the camera, save it and send it back via http to the client Jul 22 23:04:42 are any such apps already there? Jul 22 23:06:07 i dont think it is a problem/ Jul 22 23:06:31 just make a request from a device to ur server to get photo Jul 22 23:06:41 or stream via some protocol like hls Jul 22 23:06:47 Anyone know how to select xpath for ? Jul 22 23:06:56 hls can stream? Jul 22 23:07:41 i think yes Jul 22 23:07:46 rtsp maybe Jul 22 23:07:51 well the device will run the server program Jul 22 23:07:58 and the client is actually a pc Jul 22 23:08:03 aaa Jul 22 23:08:28 on my sgs3 camera has this ability built in Jul 22 23:08:37 sgs3? Jul 22 23:08:44 galaxy s3 Jul 22 23:08:49 ah Jul 22 23:09:02 mine is galaxy Y Jul 22 23:09:09 doesnt have anything like that Jul 22 23:09:34 http://stackoverflow.com/questions/2550847/streaming-video-from-android-camera-to-server Jul 22 23:09:42 ty Jul 22 23:09:49 np Jul 22 23:11:47 hmm Jul 22 23:11:52 you know, rojocam may be of interest to you Jul 22 23:12:02 https://github.com/jasta/rojocam Jul 22 23:12:10 he has left channel Jul 22 23:12:17 ah, oh well Jul 22 23:12:19 his loss Jul 22 23:12:23 ) Jul 22 23:12:52 anyone know how to compress large jpg file without creating bitmap object? Jul 22 23:12:53 also, fyi, HLS is the worst named technology ever. it's not for live feeds. Jul 22 23:13:18 i know, but we was making project for the hls Jul 22 23:13:29 n1n3b1t: compress them how? jpg's are already compressed... Jul 22 23:13:46 i need to set other compress ratio Jul 22 23:14:09 so with standard APIs, no, there's no way to do what you're looking for. Jul 22 23:14:24 i think ndk is the only option Jul 22 23:14:26 using some third party library, it's possible to do this but i'm not positive. Jul 22 23:14:36 it's probably possible* Jul 22 23:15:59 never tried ndk before Jul 22 23:16:17 ndk isn't a necessary step Jul 22 23:16:23 i don't know why you made that logical jump there... Jul 22 23:16:38 i tried to find java library Jul 22 23:16:48 but no luck Jul 22 23:17:05 ...did you find a native library then that will do it? Jul 22 23:17:14 imagemagick for example Jul 22 23:17:54 i'm not positive that imagemagick can do stream recompression Jul 22 23:17:55 are you? Jul 22 23:18:22 it has an option for recompressing files Jul 22 23:18:30 without creating large bitmap object Jul 22 23:18:37 for 8mp photo it takes 31mb Jul 22 23:19:09 why, btw, are you dealing with this silliness on the phone and not delegating to a server? Jul 22 23:20:00 yes, btw it is not my idea. Jul 22 23:21:22 using compression with multipart entity would be much more efficient Jul 22 23:21:44 Anybody else having problems with Facebook's SDK, and specifically with signing in? Problem just started happening yesterday for me. Jul 22 23:23:31 ok im trying to debug an app and im using the logview and i cannot view anything at all because it keeps spamming me with 07-22 18:22:59.373: ERROR/TrafficStats(1648): [QCTMM]tryAll index=2 and scrolling to the bottom on output Jul 22 23:23:43 wow these controls are working great Jul 22 23:23:50 in intelij idea how do you stop the log from constantly being scrolled to the bottom on output? Jul 22 23:24:02 i may have to go back to iphone and no longer use pan gestures, and just use down, move, up Jul 22 23:24:08 and wtf am i getting 07-22 18:22:59.373: ERROR/TrafficStats(1648): [QCTMM]tryAll index=2 over and over and over and over and over for on a freeking emulator Jul 22 23:24:19 but i have same problem of needing simultaneous down,move,up for each thumb Jul 22 23:24:24 how do i kill trafficstats? Jul 22 23:24:58 so it seems i should create 2 invisible views and 2 touch listeners? Jul 22 23:25:19 Chronax, nvm facebook SDK, i can barely load the website Jul 22 23:28:53 also in intelij how do i stop the editor from putting that stujpid squiggly yellow line uner an entire tables contents. it makes it fucking impossible to read the sources Jul 22 23:30:47 it'd take me too long to start my IDEA on this laptop but I guess there's some colour stuff somewhere in the settings regarding inspections Jul 22 23:30:51 trying to redesign my views and its just FCing. i cant get any info out of the lob ecause its being constantly spammed with w695283764957823649523649523645892369582364895723648957263489562389563784 other useless info Jul 22 23:31:00 incuding traffic stats . what the FUCk are traffic stats? Jul 22 23:31:03 but I don't know what you mean to be honest, impossible to read? Jul 22 23:31:07 and why are they spamming the log on a emulator? Jul 22 23:31:34 ok write a page of text. then draw a squiggly line through every single line of every single character Jul 22 23:31:38 tell me thats easy to read Jul 22 23:31:53 screenshot.... Jul 22 23:31:56 and how do i stop the emulator from spammingn traffix stats bullshit into myh log Jul 22 23:32:09 filter them out Jul 22 23:32:10 its like ms words spell check squiggly line Jul 22 23:32:23 only instead of being under a single word its under everything Jul 22 23:32:28 filter it out how Jul 22 23:32:42 I know the inspector tells you stuff with such a thing but it never interfered with my reading at least.... Jul 22 23:33:07 if you alt-enter you can choose to disable inspections from the menu it provides... Jul 22 23:33:18 but I'd check what it's suggesting.. Jul 22 23:34:08 its telling me the layout width shyould be defined on my linera layout Jul 22 23:34:12 it IS defined Jul 22 23:34:56 you don't try out yourself much, do you? in IDEA android logs there's a little + icon to the top left'ish of the corner of the window Jul 22 23:35:17 ive been doing this for 3 hours Jul 22 23:35:36 im trying to redo the entire view Jul 22 23:35:43 well. all of them Jul 22 23:36:18 zharf i can filter olut errors... awesome... how do i filter out only errors that are not related to my app Jul 22 23:36:32 and i see no + Jul 22 23:36:34 I am learning how to right apps and I was wondering if there is any way to save the state of your project as it is before making big changes? I have read a little about git but I can't figure out how to use it with eclipse projects. Jul 22 23:36:50 *write Jul 22 23:37:10 droidDev32: i believe there is a git plugin for eclipse Jul 22 23:37:14 there's also an SVN plugin Jul 22 23:37:19 any version control will work, really Jul 22 23:37:24 esp. if you're working on your projects alone Jul 22 23:38:05 god don't use SVN Jul 22 23:38:07 what is the matter with you :) Jul 22 23:38:25 SVN is a solid product that has been in active development for over a decade :P Jul 22 23:38:26 so there is no easy way already built into eclipse for single devs? Jul 22 23:38:51 droidDev32: version control is a whole topic unto itself Jul 22 23:38:57 it's worth putting some time and research into it Jul 22 23:38:57 lucasoman: you're right, which is why it's such a mystery that it was never the right tool. Jul 22 23:39:06 not whne it first started, and not now. Jul 22 23:40:04 jasta: git is definitely better, but SVN does the job, and i think it's simpler for people knew to VCS concepts to understand Jul 22 23:40:14 *new Jul 22 23:40:26 I hardly think it's simpler Jul 22 23:40:31 i bet, letting them develop all their bad habits early. Jul 22 23:40:33 git is horrendously complex. svn is beautifully simple Jul 22 23:40:46 my intent wasn't to start a holy war Jul 22 23:40:56 lucasoman: then don't suggest anyone use SVN. Jul 22 23:40:58 99.9% of what you do with git is a 1:1 API with svn Jul 22 23:40:58 my intent was to show that there are options, and that he should do some research Jul 22 23:41:05 * lucasoman rolls his eyes Jul 22 23:41:26 droidDev32: if you have anymore questions about VCS, i'd be glad to help you... not an expert on Eclipse, though :) Jul 22 23:41:29 git commit Jul 22 23:41:32 lucasoman, real options include mercurial and bazaar maybe ;) Jul 22 23:41:33 ERMAHGERD COMPEXITY Jul 22 23:42:08 so... i take it none of you have had to trail 30 developers on version control Jul 22 23:42:11 *train Jul 22 23:42:27 i have :) Jul 22 23:42:30 give me 30 devs and I'll do it Jul 22 23:42:33 cuz svn couldn t ever do that.. amirite? Jul 22 23:42:35 i've led git workshops at 2 separate companies, in fact. Jul 22 23:42:56 so am i on right track with 2 invisible subviews for each half of screen? Jul 22 23:42:59 thats what i did on iphone Jul 22 23:43:10 lucasoman, thanks for the offer. I am going to do some more research and i will most likely be back Jul 22 23:43:13 mark4, it's not a question of svn not being able to do it... it's a question of it being utterly crap, slow and crap Jul 22 23:43:14 in my, what you might call thorough experience, the only folks rallying against git's complexity are the very folks that don't even use svn properly. Jul 22 23:43:26 folks that basically avoid branching entirely because the complexity is too much for them. Jul 22 23:43:27 seems im hitting similar issue with trying to do simultaneous left and right thumb down,move,up, touches Jul 22 23:43:30 droidDev32: cool! your mind will be blown... don't ever write code without version control :) Jul 22 23:44:40 yea i am making a mess of everything right now Jul 22 23:44:48 jasta: i've administered SVN to manage our entire process, from development to QA to production, with innumerable branches, hooks, automated scripts, and training Jul 22 23:45:01 interestingly, we're currently in the process of migrating to git Jul 22 23:45:04 because it's better Jul 22 23:45:05 zharf and downloading 2875629387465238974 terabyts of the entire version history of every single fine ever checked in or modified over the past 20 years of a repository... thats not slow Jul 22 23:45:10 ... at my recommendation Jul 22 23:45:17 so i don't really get the venom Jul 22 23:45:21 just trying to help the guy Jul 22 23:45:27 which is why it takes 4 hours to repo sync on the initial pull Jul 22 23:45:37 lucasoman: me too. introducing him to svn is not helpful :) Jul 22 23:46:25 mark4: repo sync would take just as long on SVN since the git overhead is pretty slim in AOSP Jul 22 23:46:29 svn is superior to git in every way. git is majorly complex. a pain to use. means every single developer has to have every single version of every single file ever checked in Jul 22 23:46:36 ha Jul 22 23:46:39 heh Jul 22 23:46:40 okay you're an idiot Jul 22 23:46:41 hehe Jul 22 23:46:47 yes, everyone laugh at this fella ;) Jul 22 23:46:58 mark4: sorry, you may want to do some more research on git Jul 22 23:47:03 at least prefix those statements with "in my opinion" Jul 22 23:48:01 one of the goals of git (and all DVCSs) by design is that you would have an entire copy of the repo Jul 22 23:48:05 D = decentralized Jul 22 23:48:05 mark4: i agree that SVN is solid software, but git has a lot to offer, too... i was pleasantly surprised when i started using it for my projects Jul 22 23:48:27 anyway, this isn't really a VCS channel Jul 22 23:48:46 and i think we've lost the interest of the person who originally asked the question Jul 22 23:48:46 * jasta goes back to trying to reverse engineering requirements for WebView's tiling layer Jul 22 23:48:49 :) Jul 22 23:48:52 this thing is seriously complicated Jul 22 23:49:10 * JakeWharton goes back to trolling Yahoo! Answers Jul 22 23:49:37 JakeWharton: so your day consists of trolling yahoo and IRC in turns? lol Jul 22 23:49:46 yep, I just keep alt+tabbing Jul 22 23:49:49 lol Jul 22 23:51:02 hm maybe dont need multiple views unless turns out i need windowEnableSplitTouch Jul 22 23:51:02 hey, can anyone think of an example of a web site that has extremely complex or numerous rendered objects on a _REALLY_ large canvas? Jul 22 23:51:20 i could probably create some sort of test case myself, but i'd rather just find something that fits nicely Jul 22 23:51:28 something that basically will make webkit choke trying to render Jul 22 23:51:35 (and that has a huge canvas size) Jul 22 23:54:04 randomly surf myspace im sure youll find something Jul 22 23:54:31 oh myspace could work nicely :) Jul 22 23:55:23 does android support snowflakes drifting down over your app's layout? Jul 22 23:55:27 lol Jul 22 23:55:43 wait, myspace pages seem better designed than they used to be. damnit Jul 22 23:59:31 im having issues with layouts. something thats supposed to be at bottom left under a custom view is at top right and the custom view is nowhere to be seen Jul 22 23:59:39 so when i touch left thumb i get down,move then while still holding down (going fwd in game), i press right thumb move and release, and i just get move, instead of a simultaneous down,move,up Jul 23 00:00:31 lucasoman: there's an animation demo that does exactly that except with little android guys Jul 23 00:01:13 ahh maybe im not checking ACTION_POINTER_DOWN Jul 23 00:01:13 ohh, perfect idea... Jul 23 00:01:23 docs.google.com with a massive, inane spreadsheet. Jul 23 00:01:28 lucasoman: http://graphics-geek.blogspot.com/2011/08/droidflakes-android-animation-demo.html Jul 23 00:01:29 that's doing the trick :) Jul 23 00:01:33 android:layout_gravity="left" why is this being pushed to the right grrr Jul 23 00:02:50 what does a contentDescription do? why is idea telling me i need to add it Jul 23 00:03:16 And an associated string. therse no label being displayed for these buttons Jul 23 00:03:47 contentDescription is for accessability stuff Jul 23 00:04:17 like for reading out loud what an image would be Jul 23 00:04:39 erm. why is idea insisting i add it Jul 23 00:04:48 android lint is Jul 23 00:04:59 :/ Jul 23 00:05:32 you can customize your inspections in the settings... Jul 23 00:05:36 Your paste can be seen here: http://bpaste.net/show/36325/ Jul 23 00:06:07 can someone look at that and tell me why my custom view is not being shown and why the buttons are being pushed to the right when ive set them to ben on the left? Jul 23 00:06:19 press alt-enter where it whines about the contentDescription, press and change the inspection settings Jul 23 00:06:28 I think that'll take you to the right place Jul 23 00:06:59 aha TYAHN YOU! lol Jul 23 00:07:05 "thank" even Jul 23 00:07:22 you shouldn't use pixels! Jul 23 00:07:36 IDEA will convert that for you though! Jul 23 00:07:44 i know Jul 23 00:07:50 its just fudging for now Jul 23 00:07:51 do tables even support weights? Jul 23 00:08:13 ok i also made the tileview height wrap content. and now its being displayed but WRONGLY Jul 23 00:09:13 linear layout is vertical. at top is tileview. below taht is a table thats horizontal. on the left are buttons. on the right is a bs text view it will be a new custom view Jul 23 00:09:41 instead im getting tileview on the left for the en tire height of the display and the butons instead of being under the tile view are to the right of it :/ Jul 23 00:09:59 im not sure;. i was adding shit all over to try get it to behave the way i was expecting Jul 23 00:10:53 table rows support weights Jul 23 00:11:31 um Jul 23 00:12:00 you have tablerow there without a tablelayout as a parent Jul 23 00:12:17 "If a TableRow's parent is not a TableLayout, the TableRow will behave as an horizontal LinearLayout." Jul 23 00:12:29 zharf yes. thast what droiddraw gave me Jul 23 00:12:42 and when i tried to wrap it in one it totally barfed the xml Jul 23 00:12:54 horizontal? Jul 23 00:13:18 http://developer.android.com/reference/android/widget/TableRow.html Jul 23 00:14:47 JakeWharton, seems like they do have weight Jul 23 00:14:56 interesting Jul 23 00:15:00 never used a table layout in my life Jul 23 00:15:27 me neither Jul 23 00:15:38 they are a pita Jul 23 00:16:28 has droid draw actually been updated in ages? Jul 23 00:16:44 last I checked, it was just crap :) Jul 23 00:17:08 * Zharf prefers to write all his layouts by hand Jul 23 00:17:34 ditto Jul 23 00:18:23 i as having worse issues before i used dd to do this. at least its drawing stuff now tho it wasnt at first Jul 23 00:18:39 and it wouldnt supprise me if dd was buggy as hell and unmaintained Jul 23 00:19:08 seems like it has seen some commits this year Jul 23 00:19:14 a little surprising to me ;) Jul 23 00:20:15 mark4, I would recommend learning the layout system properly, the drawing things just tend to suck and IDEA does have a quite nice preview functionality these days Jul 23 00:21:34 preview wont work on any layouts i try. Jul 23 00:21:43 not even ones from apps i down load the sources too Jul 23 00:22:00 java.lang.NullPointerException Jul 23 00:22:06 for all layouts Jul 23 00:22:18 oh, I guess it's because of the source for your com.reality.retrorpg.tileView Jul 23 00:23:00 which is now 8 pixles wide andas tall as the display Jul 23 00:23:21 instead of the width of the display and at the top above the buttons :/ Jul 23 00:23:47 like I said Jul 23 00:24:01 TableRow, without TableLayout, is a HORIZONTAL LinearLayout Jul 23 00:24:08 i added it in Jul 23 00:24:23 I don't see why there even is a TableRow there Jul 23 00:24:33 and the custom view is still to the left but now instead of being 50% the width of the display its 8 pixles wide Jul 23 00:24:35 it's just pointless Jul 23 00:24:44 ok wait Jul 23 00:25:42 hers what i want. tileview at the top taking up exactly the ammount of space that will leave enough height for the button view at the bottom left. width of buttons should be half the display widht. to its right im trying to put a textview but it will be another custom view later Jul 23 00:26:02 so its all based on the buttons which i want at bottom left. Jul 23 00:26:09 no matter what i do i cant get this to work Jul 23 00:26:24 and droiddraw put that table row there Jul 23 00:26:35 I realise that Jul 23 00:27:05 its a vertical table. top of table is tileview. bottom of table is another table that is comprised of buttons on left, textview on right. Jul 23 00:27:17 text and buttons = same size Jul 23 00:27:24 cant get that to work Jul 23 00:27:32 it can be done in relativelayout Jul 23 00:27:45 make everything in the entire display relative? Jul 23 00:28:05 except. the height of the tileview depends on the height of the button view Jul 23 00:28:22 i.e. buttons take what thney need vertically. tileview gets rest Jul 23 00:28:25 but tileview is at top Jul 23 00:29:05 the linearlayout that you have containing the buttons, but it to the bottom of the page and then have the tileview thing above of the linearlayout Jul 23 00:29:19 so build the layout starting from bottom Jul 23 00:29:22 crap. i almost got it working. Jul 23 00:29:30 i removed the table layout and the table row Jul 23 00:29:59 the tileview is full widht. buttons are full width below that, null text view is full width below that Jul 23 00:30:11 buttons just need to go to left of text and its right Jul 23 00:31:13 take out all those tablelayouts and tablerows Jul 23 00:31:21 no wait Jul 23 00:31:24 including the buttons? Jul 23 00:31:30 I misread the layout.. Jul 23 00:31:45 let me pate the somewhat simplified new version. Jul 23 00:31:46 you have three rows of buttons? Jul 23 00:32:12 Your paste can be seen here: http://bpaste.net/show/36326/ Jul 23 00:32:15 yes Jul 23 00:32:20 3 rows of 3 buttons Jul 23 00:32:35 the tablelayout with the buttons has layout_width match_parent Jul 23 00:33:10 ugh yea that should be wrao Jul 23 00:33:11 wrap Jul 23 00:33:23 and that almsot fixes it Jul 23 00:33:31 the buttons are not all the way to the bottom Jul 23 00:33:54 so i have tileview at top, buttons and text view horizontally below that. blank space below that Jul 23 00:34:17 need to move the buttons down to the very bottom so the tileview scales to fit the rest of the way down Jul 23 00:35:31 android:layout_gravity="bottom" put the buttons at the bottom lokl Jul 23 00:35:40 but the tileview did not stretch down to fill in the space! Jul 23 00:37:22 hi Jul 23 00:37:44 mark4, lookup relativelayout... good night Jul 23 00:39:04 Could someone give me a term to Google or doc/guide to read on positioning of images? I have an image that is intentionally 3x the width of the screen. I want to position it on the screen and when the user scrolls it will continuously scroll as one continuous picture (like a loop). HOwever, I need to know what's centered at that moment. Jul 23 00:41:56 Qby, you'll probably need to do that in a canvas or something. Maybe a gallery view and then check the scroll position? Jul 23 00:42:20 Hey guys, is it possible to have a dialog fragment start and activityForResult()? I mean…the method is there, but you can't ever get the result because the activity is destroyed with the dialog. Jul 23 00:42:38 er fragment is destroyed* Jul 23 00:44:27 * jasta 's head melts for the 2nd time today Jul 23 00:44:38 spelunking WebView/WebKit code is hard work :) Jul 23 00:44:59 jasta: yet you seem surprisingly upbeat about it :) Jul 23 00:45:06 well i'm learning a lot Jul 23 00:45:30 my objective is to basically port it as a utility for rendering any content Jul 23 00:46:00 i have a "crude" first crack at the basic idea of a tiled drawing layer, but it lacks a lot of finesse. i'm reading all this code to figure out how webview is doing it so well and replicating that. Jul 23 00:46:58 what i'm working on understand now is exactly how it achieves the low res tiles (ever notice when you fling quickly on a web view, it renders some of the content blurry first, then crisp later?) Jul 23 00:47:06 it's not clear algorithmically yet how that functions Jul 23 00:47:37 i initially thought it was accomplished by a tree data structure (a lower res tile being found higher up in the tree and used), but i'm not finding any evidence of that. Jul 23 00:48:54 jasta does it just do that for images or the whole canvas? Jul 23 00:49:28 i'm not sure what you mean, but this "blurry" tile effect can be seen with any type of content in the webview, including only text Jul 23 00:49:43 ok yeah that's what I was wondering Jul 23 00:51:02 through a lot of thorough study of webview's behaviour, i've been able to confirm that there are 3 artifacts the user can see for a particular tile: blank tile, blurry tile, or final tile. Jul 23 00:51:27 it's hard to work out exactly when a blank tile is shown versus a blurry one, and moreover trying to understand algorithmically why that would be the case Jul 23 00:51:48 it's like you can fling, see very briefly a blank tile, then rapidly a blurry tile appears over it, and then much later the final high res tile appears Jul 23 00:52:04 anyway, more study is needed to understand why i guess Jul 23 00:52:29 if i wanted a proportional font WHAT (not how) would i select for my paint Jul 23 00:52:46 i'm just about to crank out a custom jellybean build of the sdk that has all the tiling/drawing print debug turned on. Jul 23 00:53:19 I love jelly bean.. Jul 23 00:53:25 jasta: I would imagine it's doing an initial first pass skipping javascript and css details Jul 23 00:53:26 both the treat and the OS! Jul 23 00:53:39 Ryan1013: no, that's not at all how this layer works :) Jul 23 00:53:48 jasta i think ive decided im def going to get cable interwebz. u could compile that after a clobber in 20 minutes or so on this box Jul 23 00:55:41 I have one content provider which I want to share between two different apps and projects. I added it to different library project but now I have problem registering content providers in these two apps. It gives me error when I try to define 2 providers with the same authority which is the correct one. How to solve that problem? Jul 23 00:58:15 can someone tell me of a typeface i can select thats proportional Jul 23 00:58:16 ? Jul 23 01:04:07 where can i get a list of available typefaces Jul 23 01:04:09 ? Jul 23 01:07:02 got my double dpads working! Jul 23 01:07:05 better than iphone Jul 23 01:14:40 congrats! Jul 23 01:17:51 adb shouldn't work with a device when USB debugging is off, correct? Jul 23 01:18:36 I am working on a media player app that plays music in the background. I am trying to set it up so the mediaplayer in the service can tell the activity when it is playing so it can change the play button to pause. I am seeing some examples using broadcasts, some binding the service, and the cyanogenmod music app is using aidl. What would be the best way to do that? Jul 23 01:18:50 i have usb debugging notifications enabled but usb debugging off, yet when I connect my desire z (CM7) via usb, I get the notification _and_ adb works as if USB debugging was enabled Jul 23 01:21:02 maraz: what do you mean debugging notifications? Jul 23 01:21:25 mdwright: with CM7, there's an option to have a notification when usb debugging is connected. Jul 23 01:21:41 not sure if it's android 2.3.7 or CM7, though. Jul 23 01:21:45 maraz: this is a bug with CM7 then, I suspect Jul 23 01:21:49 possibly Jul 23 01:24:04 maraz: I'll look to see if there's a device running 2.3.7 laying around to confirm Jul 23 01:26:46 arch… canvas, layout, resources.. i'm confused. If I have a PNG and I want to display it on my app. Where do I do? I'll get into positioning and scrolling later.. Jul 23 01:27:18 question, is there any reason to worry about updating the support lib jar in ABS? Jul 23 01:27:23 QbY: stick it in the appropriate drawable folder, then use an ImageView Jul 23 01:27:44 i wonder how to do splash screen for opengl app Jul 23 01:27:54 mdwright: OK. That's my next question. Which is the appropriate? hdpi, ldpi, mdpi, xhdpi.. Can I not have a generic folder? Jul 23 01:28:42 QbY: the suffix informs the framework about DPI of the drawable as well Jul 23 01:28:49 mdwright: usb debugging off, reboot -> usb debugging is on after reboot; usb debugging off -> reboot -> usb debugging off -> reboot -> it stays off Jul 23 01:28:57 mdwright: strange Jul 23 01:29:40 mdwright: no idea what caused this, though, will have to investigate if i run into the same problem again Jul 23 01:31:23 QbY: without that, framework won't know how to scale it... at least if it's used in layouts Jul 23 01:31:49 you can just stick bitmaps in assets when they are needed outside of resource provisioning system Jul 23 01:32:34 p_l|home: so place my png files in assets instead of the different drawables? Jul 23 01:32:53 because i have one set of pngs, i'd like to use them on each one, but programmatically set the height and width Jul 23 01:33:54 sounds like bad idea most of the time Jul 23 01:34:09 ok. Jul 23 01:34:21 just seems like i'd be inflating the size of my app Jul 23 01:35:02 anyway, you can just put them in res/drawables Jul 23 01:35:28 ok Jul 23 01:35:56 i tried image view, and keep getting an error that i've run out of memory, its only a 256KB file Jul 23 01:37:36 if you want to completely avoid scaling, use nodpi Jul 23 01:38:41 I believe default dpi is mdpi Jul 23 01:39:45 does android give us the ability to set the height and it automatically calculate the width? Jul 23 01:42:18 QbY: the size on disk of an image has little to do with how much RAM it uses once decoded Jul 23 01:42:25 true Jul 23 01:42:30 just thought of that Jul 23 01:45:23 romainguy_: hehe, reading webview stuff today. i was _way off_ on how i thought all the advanced pieces worked :) Jul 23 01:45:31 :) Jul 23 01:45:32 finally found the magic in SurfaceBacking.cpp Jul 23 01:47:39 romainguy_: i did want to pick your brain briefly on design. you mentioned that you were looking at porting this stuff to the framework itself, what sort of interface did you have in mind? I'm perhaps naively imaginging a simple scrollview like container that renders its child (which would have potentially huge dimensions) using tiles. Jul 23 01:48:00 jasta: actually no Jul 23 01:48:05 I was more thinking of something like ListView Jul 23 01:48:14 in which you get a callback when a tile needs to be rendered Jul 23 01:48:30 instead of getView()-->getTile(SurfaceTexture texture, int x, int y) Jul 23 01:48:32 something like that Jul 23 01:48:35 oh, so much more like a custom framework you'd have to implement? Jul 23 01:48:43 totally independent of view Jul 23 01:48:51 yeah Jul 23 01:48:52 but then Jul 23 01:48:57 we could provide helper classes Jul 23 01:49:04 for instance to render the tiles with Views for you Jul 23 01:49:05 QbY: always take into account the uncompressed bitmap size, or it will kick you in the arse one day Jul 23 01:49:05 that's more like how i have it implemented now Jul 23 01:49:08 or a giant Bitmap Jul 23 01:49:08 etc. Jul 23 01:49:28 right. Jul 23 01:49:45 romainguy_& p_l|home: Is there anyway that I can control how much it opens? The images are intentionally larger than the screen because want them to scroll in a continuous background image.. Jul 23 01:49:48 well i have no need to go down that larger path myself, so i'll happily stay focused on my more narrow problem Jul 23 01:50:17 i did, however, want to make sure my solution was at least in line with what you were thinking so that i could one day integrate Jul 23 01:50:19 QbY: you need to partition the image into smaller ones, then Jul 23 01:50:42 QbY: or use other, advanced methods Jul 23 01:50:53 p_l|home: OK. But would they appear seamless? Jul 23 01:51:01 QbY: if you do it right, yes Jul 23 01:51:13 do you have any doc/tut you could refer me to? Jul 23 01:51:16 nope Jul 23 01:51:19 k. Jul 23 01:52:14 romainguy_: i'm very surprised, btw, that WebView doesn't fade in tiles as they are made available. Jul 23 01:53:12 i'm also surprised how easy it is to catch WebView with unprepared (even low res) tiles and just draw a static color. Jul 23 01:53:26 basically just zooming very far in, then quickly zooming out will show it every time on almost any page even simple ones Jul 23 01:53:54 i'm considering solutions that don't suffer from that particular problem now Jul 23 01:54:19 QbY: as I am right now, any solution proposed by me would end up requiring GLES2 capable phone ;) Jul 23 01:56:08 * p_l|home looks at the half-sketched idea of drawing entire Stars! starmap in one or two shaders Jul 23 02:19:42 is there way to specify devices only with a specific resolution? Jul 23 02:19:53 in the manifest that is Jul 23 02:21:03 maybe not manifest but you can filter devices when publishing Jul 23 02:21:31 find out what devices have x resolution and uncheck every other device Jul 23 02:30:01 T-dub: would have to go through 240 devices individually then i guess :( Jul 23 02:30:18 luckily its only ics+ for now Jul 23 02:50:04 can anyone recommend a good phone with a physical keyboard? Jul 23 02:51:34 canadiancow|work: i've got a Desire Z which has a pretty good keyboard… not the highest-spec phone otherwise though Jul 23 02:51:42 i liked my desire z Jul 23 02:51:47 hahah yeah, its prety old Jul 23 02:51:54 yea im looking for something newer Jul 23 02:52:05 droid pro? Jul 23 02:52:12 that sounds like a verizon device Jul 23 02:52:22 theres not many with keyboard Jul 23 02:52:31 not verizon? Jul 23 02:52:42 verizon is a US company... Jul 23 02:53:13 would it be feasible to bundle my own libwebcore.so in my app for Android 2.x devices? Jul 23 02:54:58 * QbY quits. Jul 23 02:55:05 these layouts are whooping my ass Jul 23 02:56:22 canadiancow|work: there's a motorola xt something on bell, cant seem to find the link now, but it it was dual core and had a physical keyboard around last summer Jul 23 02:57:25 hmm Jul 23 02:57:27 still seems kind of old Jul 23 02:58:10 G1 Jul 23 02:58:25 classic chic Jul 23 02:59:51 lol **** ENDING LOGGING AT Mon Jul 23 02:59:58 2012