**** BEGIN LOGGING AT Sat Sep 15 02:59:59 2012 Sep 15 03:46:49 Leeds, was this post by rubin in response to what you posted ? http://officialandroid.blogspot.com/2012/09/the-benefits-importance-of-compatibility.html Sep 15 03:47:03 g00s: yeah, he commented more directly on his G+ Sep 15 03:47:10 ahh, ok Sep 15 03:47:28 https://plus.google.com/u/0/112599748506977857728/posts/H7eC4uaJ12Q Sep 15 03:48:02 thanks Sep 15 03:51:05 "Aliyun will not success", hah Sep 15 03:56:48 how can i debug the passing of a parcelable through a bundle? the bundle on the receiving activity is getting nothing Sep 15 05:01:46 is the ability to have a custom view in layout.xml not supported in old donut? because ClassLoader sure seems unhappy with it. Sep 15 05:16:00 (trying to get this working on an old donut device, and it throws classnotfound: http://developer.android.com/guide/topics/ui/custom-components.html) Sep 15 05:27:53 that's not a problem with custom views, that's a problem with your custom class Sep 15 05:28:07 looks for VerifyErrors in the logs that's causing it to be evicted from the ClassLoader Sep 15 08:45:53 finally, yay Sep 15 08:52:58 woohoo Sep 15 08:53:10 so I found a huge, awesome bug in my datagrid Sep 15 08:55:55 Congratulations? :p Sep 15 08:57:08 nickserv was down Sep 15 08:57:22 oh you were talking to ron_frown , nm Sep 15 08:58:11 haha Sep 15 08:58:42 basically I was generating views for column headers on every call to getColumnHeaders() Sep 15 08:58:45 http://www.huffingtonpost.com/2012/09/13/ervin-mckinness-driving-drunk-tweet-yolo-dies-car-crash-dui-_n_1880348.html Sep 15 08:58:54 and I was calling getColumnHeaders in many many many places in drawing Sep 15 08:58:54 URL says it all in that one Sep 15 08:59:47 good riddance Sep 15 08:59:51 I dont know anything about the guy Sep 15 09:00:05 me neither Sep 15 09:00:08 people evolving their dumb genes out of the gene pool is actually a good thing Sep 15 09:00:35 what a dipshit though - tweeting you only live once while ding 120 drunk in a residential area Sep 15 09:00:46 one shot, so let's go screw it up Sep 15 09:00:57 Haha Sep 15 09:01:02 That's kind of hilarious Sep 15 09:01:03 You only live twice, one when you are born, and once when you look death in the face Sep 15 09:01:03 oh well =) Sep 15 09:01:20 hope he didn't have kids Sep 15 09:01:35 it only counts if he died before breeding, otherwise darwin doesn't apply Sep 15 09:04:06 true Sep 15 09:04:51 <-- at amsterdam android hackathon Sep 15 09:05:51 making anythnig good? Sep 15 09:05:55 WeedFinder Sep 15 09:06:35 find the nearest coffeeshop and compare prostitute prices with AmsterDAMN! Sep 15 09:14:15 speakingcode: way ahaead of ya: https://play.google.com/store/apps/details?id=com.codestare.smokeout Sep 15 09:14:23 "you only live once, so have fun" or "you only live once, so care for your life" Sep 15 09:21:38 osxorgate: can you make one for bacon cafes too ? Sep 15 09:21:49 where you smoke bacon Sep 15 09:22:00 i can Sep 15 09:22:05 :) Sep 15 09:22:39 probably cannabis is healthier than bacon Sep 15 09:22:57 but bacon is legal Sep 15 09:23:02 they could be additive Sep 15 09:23:03 cool Sep 15 09:23:20 i smoke my cannabis wrapped in bacon Sep 15 09:23:29 bacon blunts ftw Sep 15 09:24:04 i'll just stick to bacon myself. i'll wrap the bacon in another bacon and smoke that Sep 15 09:24:15 yuo ever seen epic meal time? Sep 15 09:24:22 no Sep 15 09:24:28 its a series on youtube now, but the first one Sep 15 09:24:36 they did like Sep 15 09:24:52 a pig stuffed with a turkey stuffed with a duck stuffed with a chicken, or something like that Sep 15 09:24:56 then bacon wrapped the whole thing Sep 15 09:25:06 then garnished it with BurgerKing meat stackers Sep 15 09:25:31 thats too hardcore for me Sep 15 09:25:35 >.> Sep 15 09:25:36 Bacon strips and bacon strips and bacon strips and.. Sep 15 09:25:39 it was for like 15 people Sep 15 09:25:42 * Ge0rG just started realizing the parallels between starwars and smartphones. an android army fighting for market territory against the (financial) empire, the latter equipped with white unibody armor Sep 15 09:26:53 part of star wars was based on george lucas' views and experiences with corporatism impeding creativity in cmmercialized markets Sep 15 09:26:58 Ge0rG: are you suggesting LucasFilm will sue google next ? Sep 15 09:27:43 g00s: whom did they sue last? Sep 15 09:27:44 ironically, theres striking parallels in his career to the transition of annakin to vader Sep 15 09:28:08 Ge0rG: dunno . i was just joking :) Sep 15 09:28:27 ron_frown: how did you fuck up so bady with your datagrid ? Sep 15 09:28:32 *badly Sep 15 09:28:48 g00s he was hanging out with osxorgate Sep 15 09:28:52 testing out his smokeout app Sep 15 09:28:53 g00s: with lawsuits, you can never know. Sep 15 09:29:16 I dont know Sep 15 09:29:19 actually I do Sep 15 09:29:32 I assume getColumns() was just a getter for Columns property Sep 15 09:29:40 instead it was dynamically generating columns Sep 15 09:29:59 ron_frown: hear of the query / command separation principle ? Sep 15 09:30:11 damn i've been up almost 24 hours and i got an all day infosec conference to attend in 5 hours Sep 15 09:30:41 g00s sure Sep 15 09:31:19 ron_frown: btw, i had an air leak in the intake manifold gasket :( Sep 15 09:31:27 hmm Sep 15 09:31:46 those magnum engines... Sep 15 09:31:52 I dont know... not a huge fan Sep 15 09:32:47 i'm just hanging on to his vehicle in hopes that something good & innovative will happen with fuel efficient vehicles Sep 15 09:33:44 AlbumsViewerFragment albumsFragment = (AlbumsViewerFragment)getFragmentManager().findFragmentById(R.id.albumsFragment); Sep 15 09:33:57 why is that sayingi cannot vast from Fragment to AlbumsViewerFragment Sep 15 09:34:26 its all about diesel Sep 15 09:34:32 it's all about bicycle Sep 15 09:34:40 and mass transit Sep 15 09:34:42 You're missing a support in there Sep 15 09:35:18 speakingcode - america is a big place... especially out of the few major metro areas Sep 15 09:35:22 elaborate? Sep 15 09:35:32 ron_frown yeah, i'm in memphis Sep 15 09:35:45 I'm in somewhat rural california Sep 15 09:35:47 20mi from work Sep 15 09:35:52 i was just being an ass Sep 15 09:35:55 that'd be a bitch of a bicycle ride Sep 15 09:36:02 plus fuck bicyclists Sep 15 09:36:06 haha Sep 15 09:36:13 always acting like they own the road Sep 15 09:36:21 20 miles is easy peasy on a road bike Sep 15 09:36:27 well technically, you're supposed to yeild to them Sep 15 09:36:35 never ceases to amaze me how many fo these bicycle riders are the biggest fatasses on the planet Sep 15 09:36:44 and they have to have their tight ass biker shorts Sep 15 09:36:56 oh we got ron_frown started on something Sep 15 09:37:00 yeah Sep 15 09:37:02 haha Sep 15 09:37:14 he probably hit a biker when he was drunk, and got his ass kicked when he got out to look Sep 15 09:37:19 yeah I got stuck in *DELPHI* training of all things Sep 15 09:37:21 all week Sep 15 09:37:23 and god damn... Sep 15 09:37:24 wow Sep 15 09:37:26 it sucked Sep 15 09:37:36 isn't that like latin Sep 15 09:37:36 ron_frown: i thought your pic of your truck had a limb or something hanging out of the bed :P Sep 15 09:37:49 SimonVT can yuo elaborate on the support missing? Sep 15 09:37:57 getSupportFragmentManager Sep 15 09:38:04 speakingcode - shit man I thought delphi was honestly completely dead like 10yr ago Sep 15 09:38:17 tools themselves are like 10yr behind visual studio Sep 15 09:38:24 language and platform, is like win3.1 Sep 15 09:38:30 ron_frown: embarcardero delphi ? Sep 15 09:38:33 it was just pure torture Sep 15 09:38:37 yes unfortunately Sep 15 09:38:37 ah, thanks Sep 15 09:38:41 what is the diff? :-\ Sep 15 09:38:52 ron_frown: why is anybody using that at your place ? Sep 15 09:39:01 code base thats 20yr old Sep 15 09:39:04 if the go tits up, you guys are fucked Sep 15 09:39:15 and nobody wants to spend the time to make shit right Sep 15 09:39:15 nm i see Sep 15 09:39:16 ah, ok. legacy code Sep 15 09:39:33 I'm moving stuff over to common .net shared libs Sep 15 09:39:37 slowly but surely Sep 15 09:39:56 eeek .net Sep 15 09:39:56 thats what they dont get... its going to be a shitton more expensive and harder to find delphi developers in the coming years Sep 15 09:40:01 whereas .net is abundant Sep 15 09:40:18 uh yeah Sep 15 09:40:22 and delphi is just complete and utter shit Sep 15 09:40:28 they are gonna have to take their best guys and train them on delphi Sep 15 09:40:28 SimonVT: abs comes with a compat lib. if i am using a different compat lib, do i drop it into abs libs/ or put it in my project / libs ? Sep 15 09:40:40 .net is one thing I'll adamantly back up as far as a well designed product from ms Sep 15 09:40:40 Both Sep 15 09:40:50 SimonVT: so both work? ok Sep 15 09:41:00 ron_frown yeah, m$ is good to developers Sep 15 09:41:00 speakingcode - I kept telling my boss, I'm not gonna write delphi, and I'm going to do my best to not read it Sep 15 09:41:02 You have to drop it in both Sep 15 09:41:07 I dont get why I am in this training Sep 15 09:41:10 SimonVT: ah, ok . thx Sep 15 09:41:19 If the jars aren't exactly the same, you'll get build errors Sep 15 09:41:26 basically what they pay me, they were just throwing at least a couple g's right in the shitter Sep 15 09:42:05 this dude must not have messed with much outside of delphi... he went into how to build a simple web pages served up with delphi webserver tech Sep 15 09:42:07 whatever that was called Sep 15 09:42:28 in about 3hr we had one page that had a dynamic time, and a link to another page hosted in the same framework Sep 15 09:42:41 bahahaha Sep 15 09:42:44 "...this is exactly how asp.net mvc works... its very cool, and very powerful..." Sep 15 09:42:57 uhh except that I could build that in asp.net mvc in literally less than 1 minute Sep 15 09:43:09 probably less than 30sec Sep 15 09:43:44 was he implementing the server too? Sep 15 09:43:57 or explaining things in retarded detail and going off on tangents? Sep 15 09:43:59 nah theres some convoluted cgi shit Sep 15 09:44:14 to get it to serve up a page of content there are actually quite a few things you have to do Sep 15 09:44:15 haha Sep 15 09:44:21 I'm spoiled with mvc =) Sep 15 09:44:50 that's nuts Sep 15 09:44:56 I could probably knock out a site with custom auth, dal, service layer, etc with the ui for general account settings, signup account etc Sep 15 09:45:02 from scratch in a couple hr Sep 15 09:45:09 hopefully whatever legacy bullshit you will be working on is not serving up pages that way Sep 15 09:45:20 I am building new stuff Sep 15 09:45:27 if your company is serving up pages that way i need to make sure to avoid them ;p Sep 15 09:45:29 android hardware, and the os that runs on it Sep 15 09:45:55 I built a mass remote control of android devices remotely Sep 15 09:46:18 I really shouldnt ever need to dick around with delphi Sep 15 09:46:31 I hope they dont expect me to pick it up and get crackin on it... I'll just quit Sep 15 09:46:35 no one should at this point Sep 15 09:46:41 i think your manager is punishing you ron_frown Sep 15 09:46:58 they should have at least migrated to c or something by now Sep 15 09:47:06 c++ * Sep 15 09:47:06 c# Sep 15 09:47:07 cobol at least Sep 15 09:47:08 c# Sep 15 09:47:26 c# is fucking amazing... I mean I know theres a lot of anti-ms hate, but c# is amazing. Sep 15 09:47:34 it aint bade Sep 15 09:47:36 it's basically java Sep 15 09:47:46 c++ 11 is getting a lot of c#/java features so that will be good Sep 15 09:47:48 generally speaking at least Sep 15 09:47:59 uhh its java done right with a TON more language features =) Sep 15 09:48:12 yeah it's got some cool stuff Sep 15 09:48:24 i've only really looked at it breifly from a wni 8 metro perspective Sep 15 09:48:32 win* Sep 15 09:48:43 they've blended a lot of concepts from functional programming languages, dynamic programming languages etc Sep 15 09:49:07 ah Sep 15 09:49:08 big push for asynchronous task synchronization, and multithreading for last release Sep 15 09:49:14 yeah Sep 15 09:49:21 saw some of that with win 8 Sep 15 09:49:27 the promises or whatever Sep 15 09:49:30 haha Sep 15 09:49:54 isn't that what they call them? that super easy way of doing async callbacks Sep 15 09:49:58 well the async await stuff could technically be achieved in java with reset events etc, but it makes things a lot more straightforward Sep 15 09:50:03 yeah await** Sep 15 09:50:27 i think promises is the javascrpt equivalent they added in for metro Sep 15 09:51:28 promises? I've never heard the term Sep 15 09:51:31 are you thinking closures? Sep 15 09:51:42 nah Sep 15 09:51:49 hmm Sep 15 09:52:00 it's something microsoft added into the langauge for metro development Sep 15 09:52:35 it's basically like someAsyncFunction().then { //callback instruction } Sep 15 09:53:04 smilr to the await stuff, but for javascript Sep 15 09:54:03 oh Sep 15 09:54:06 continuations Sep 15 09:54:11 http://msdn.microsoft.com/en-us/library/windows/apps/hh700330.aspx Sep 15 09:54:28 fuck ms Sep 15 09:54:31 bs name Sep 15 09:54:52 i guess windows phone 8 was RTM's today Sep 15 09:54:57 RTM'd Sep 15 09:55:20 g00s - I wish them the best of luck... honestly Sep 15 09:55:26 but I have a feeling I know how its all going to end Sep 15 09:55:49 I think their best bet would be to opensource it, but they just cant do that Sep 15 09:56:06 lots of proprietary and licensed libraries etc Sep 15 09:57:10 i think it will do pretty well. Sep 15 09:57:17 it may pick up when windows 8 starts rolling out with the ultrbooks Sep 15 09:57:44 people will want the "seamlessness" it will offer between phone and desktop/laptop/tablet Sep 15 09:58:10 yeah, if there is a coherent and seamless UX between all the ms form factors, thats great. Sep 15 09:58:14 also for coding Sep 15 09:58:44 i'm not sure where the phone platform is at this moment but as far as the other forms , there is some pretty amazing stuff MS is doing with seamlessness Sep 15 09:58:55 i think to the degree that tablets take off, ms will win, and android will lose in that area Sep 15 09:59:22 in the metro sdk, you can save data in a special folder withhin the app (basically equivalent to saving any file) but the OS will automatically sync it to the users cloud account with windows live Sep 15 09:59:30 so you can maintain state across devices Sep 15 10:00:23 write to that folder, and read from it appropriately and a user can walk away from their desktop and resume right where they are with a tablet or what have ya Sep 15 10:00:40 i don't see android winning the tablet market. Sep 15 10:01:00 if they integrate the metro sdk into the phone (which i'm sure htey plan to do seeing that they put the winrt kernel on the phone) Sep 15 10:01:09 the ones i've seen, they try to emulate a traditional desktop too much Sep 15 10:01:16 then the phone would get that same type of seamless UX Sep 15 10:01:41 nexus aint bad and jelly bean is amazing Sep 15 10:01:59 android's hurdle right now is the carriers slow ass update rollouts Sep 15 10:02:20 yeah, i wonder how MS will handle OTAs Sep 15 10:02:24 Carriers and hardware manufacturers, both Sep 15 10:02:30 oh noes Sep 15 10:02:47 Lots of very large markets have very little carrier lock in. Example: India. Sep 15 10:02:55 yeah. well, offering the nexus at that price indicates googles strategy may be to just take over the android market Sep 15 10:05:24 jelly bean has some pretty impressive stuff but that doesn't mean much if everyone is stuck on older platforms Sep 15 10:07:16 this is the year of gingerbread :) Sep 15 10:08:48 All of sudden my HTC Desire Z phone switched off and I can't get it past the boot screen with the green HTC logo... It is not rooted and hasn't had any modifications made to it. I don't mind if I lose the data on it, but I just want the phone to work again. I tried everything in the hard reset HBOOT menu, including recovery and factory reset mode but I can't get anything to work. The Sep 15 10:08:48 only thing I haven't tried is putting the PC10IMG.zip radio file in the root directory of my SD card and trying to reinstall Android, but I'm not sure which one I am meant to use as there are so many! Also, if there is any other solution please let me know. Thanks! Sep 15 10:09:12 k3v0rk1: wrong channel, try #android-root Sep 15 10:09:16 oh sorry Sep 15 10:09:16 Try #android Sep 15 10:09:24 thanks guys Sep 15 10:10:37 rather android-root Sep 15 10:11:02 where would i find an explanation of how hard keylayout/chars work? Sep 15 10:11:03 Given that he said "it is not rooted", I found android to be a better fit Sep 15 10:14:04 hmm Sep 15 10:14:14 the way he is talking i don't believe him Sep 15 10:14:43 it's not rooted but i'm all up in the rom Sep 15 10:16:12 honestly its not rooted Sep 15 10:16:43 i thinking it could be a hardware failure but i hope not Sep 15 10:20:04 yeah i'm just mesisn with ya, good luck tho Sep 15 10:45:36 hey Sep 15 10:45:39 I have a strange problem Sep 15 10:45:47 I have a receiver listening for BOOT_COMPLETED Sep 15 10:45:54 but somehow, it never seems to receive the event Sep 15 10:46:07 Have you launched your app at least once? Sep 15 10:46:08 here's my manifest: http://pastie.org/private/yhkkg3ayumuygxsyo0uynq Sep 15 10:46:20 from 3.x you need launch ur app once for it Sep 15 10:46:27 oh Sep 15 10:46:35 there isn't really anything to launch Sep 15 10:46:36 That means starting an activity Sep 15 10:46:52 Then make something Sep 15 10:47:05 yeah, the app in question doesn't have any activities Sep 15 10:47:12 ok, is there any way around that? Sep 15 10:47:18 Until your app is run once it's in a stopped state, meaning it wont get system broadcasts like boot_completed Sep 15 10:47:23 Nope Sep 15 10:47:37 hm, that sucks Sep 15 10:48:10 I'm trying to implement a workaround for http://code.google.com/p/android/issues/detail?id=34880&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars Sep 15 10:48:39 SimonVT: but I only need to open an activity once, right? not after every boot Sep 15 10:48:50 Right Sep 15 10:48:53 ok Sep 15 10:49:03 If you needed to do it every boot it'd kinda make boot_completed useless :p Sep 15 10:49:16 it's a stupid restriction anyways imo Sep 15 10:49:27 android makes it to hard to work around its bugs ;P Sep 15 10:49:30 *too Sep 15 11:01:43 SimonVT: thanks for the tip with the activity, it seems to work now :) even though it's kind of stupid I have to do this: http://pastie.org/private/j4lvrom1qxsovqvhs7q Sep 15 11:06:58 I think it's perfectly reasonable that the user has to actually start an application before it can listen to arbitrary broadcasts Sep 15 11:08:45 And leaving out a security feature because it might affect the ability to work around a bug that's introduced 4 platform versions later isn't very sensible Sep 15 11:17:09 you're probably right, I'm just pissed at google because of how they ignore that bug Sep 15 11:18:51 I'd ignore that issue tracker as well if I was making android Sep 15 11:19:14 122 comments, probably 2 useful Sep 15 11:19:46 well, but would you ignore a bug that severely damages your money-making ecosystem while making devs of paid apps (the ones that actually make you money) pissed off? Sep 15 11:22:22 Every bug in there potentially affects someones ability to make money Sep 15 11:22:27 What is it you want them to say? Sep 15 11:22:48 well, why not let us devs disable the encryption via a switch in google play until they get it fixed? Sep 15 11:27:13 my money-making ability is lso severely limited by some change in jellybean, and the bug report was makred as "unreproducible" Sep 15 11:29:39 Ge0rG: wow, that sucks :/ Sep 15 11:29:45 haha, '@Google: We need a new app category at Google Play called "Workarounds for Android bugs"' Sep 15 11:29:50 +1 on that Sep 15 11:29:52 google should really improve their dev support Sep 15 11:30:06 50% of my users are on JB Sep 15 11:30:10 so that bug is killing me Sep 15 11:30:58 but that's what I get for catering to early adopters, I guess Sep 15 11:31:07 * Ge0rG got only 6% of his users on JB; some of them are asking for a refund already or give 1-star reviews Sep 15 11:31:39 Ge0rG: I don't even look at reviews anymore, because it's so frustrating Sep 15 11:31:41 or both Sep 15 11:32:15 ,oO( http://xkcd.com/1098/ ) Sep 15 11:32:17 Ge0rG: what's your app btw and how is it affected? Sep 15 11:36:32 mots: https://play.google.com/store/apps/details?id=de.duenndns.forwardedcall - it is using the adb radio logcat to determine a call's status; and with JB, you can't read the radio log anymore from an app Sep 15 11:36:47 mots: http://code.google.com/p/android/issues/detail?id=36869 Sep 15 11:38:03 well, that issue is going to be very stinky Sep 15 11:39:37 p_l|backup: admittedly, the whole approach I had to take to obtain the call forwarding status is pretty stinky already; still - people need that feature and there is no cleaner way if you are not Google or an OEM Sep 15 11:40:04 Ge0rG: yeah, you relied on a kind of unsupported mechanism Sep 15 11:40:09 still, sucks that google just broke it Sep 15 11:41:03 mots: not sure how far google considers "logcat -b radio" to be unsupported Sep 15 11:42:12 mine is https://play.google.com/store/apps/details?id=org.mots.haxsync and thanks to that bug in jelly beans app encryption, the account (and all of it's data) gets deleted on boot Sep 15 11:42:15 thanks, google! Sep 15 11:46:37 the best thing is that the update cycle means majority of users won't get it fixed other than fixes done through Play Store... Sep 15 11:47:33 i finally made the workaround work, thanks to SimonVT, though Sep 15 11:47:38 so all's well on my end :) Sep 15 11:47:45 thanks again! Sep 15 11:48:59 maybe SimonVT has a workaround for me as well, then... :> Sep 15 11:53:30 Nope! =) Sep 15 11:59:54 hello, I know that the camera in the torch flash mode will always fire itself when focusing, previewing or taking pictures. is that right? and in this case how to make it just fire itself without any of those? Sep 15 13:04:06 how do i print the full HTTP request sent out from DefaultHttpClient and HttpPost? Sep 15 13:05:13 including headers Sep 15 13:38:39 Hey Sep 15 13:39:38 I have an application which shows two-panel on some devices and one-panel on others? How can I detect in Java which layout it's using? Sep 15 13:43:04 oh actually, here it is: if (findViewById(R.id.page_detail_container) != null) Sep 15 13:43:24 Ankhwatcher: why do you need to detect that? Sep 15 13:43:58 (the method of detection is different depending on why :) ) Sep 15 13:44:08 zinx: I'm using webview and I want to draw progressbars differently based one which screen orientation is being used Sep 15 13:44:32 sorry, not orientation Sep 15 13:44:38 size Sep 15 13:45:19 Ankhwatcher: consider using Resources.getDisplayMetrics() or similar Sep 15 13:45:43 that will literally spit out the size though, won't it? Sep 15 13:45:52 Ankhwatcher: and more importantly the density Sep 15 13:46:06 Ankhwatcher: so you can make your progress bar size like other Android widgets Sep 15 13:46:26 Your approach is fine, Ankhwatcher Sep 15 13:47:34 oh good Sep 15 13:47:42 (as a side note.. it /would/ be nice if Android webkit had extensions to support dip :) ) Sep 15 14:09:42 hello, I'm using requestLocationUpdates() with mintime=60000 and mindistance=10 parameters and then I have a custom onLocationChanged() method to process the gps coords; everything works fine when only my app is using the GPS (I have an update every minute and a few seconds), but if a turn-by-turn navigation app is being used I got tons of GPS updates ... Sep 15 14:11:03 I'm confused, it looks like onLocationChanged() is called for every gps update and not only by mine app Sep 15 14:17:39 ertl: the mintime is a suggestion only Sep 15 14:17:45 you get 0 guarantees Sep 15 14:19:35 Not until JB it seems (yay documentation) Sep 15 14:21:53 I'm using 3.2, so ... Sep 15 14:23:44 Well there you go, working as documented Sep 15 14:26:22 forgive my cluelessness, but http://developer.android.com/reference/android/location/LocationManager.html is for 4.1 I guess, where can I find the 3.2 release? thanks Sep 15 14:27:52 What do you need it for? Just check the API level of the methods before using them Sep 15 14:28:55 SimonVT: according to you there's a difference between 3.2 and JB, no? Sep 15 14:29:40 According to the docs, minTime is just a suggestion before JB, yes Sep 15 14:30:36 SimonVT: just saw it, sorry for the noise Sep 15 14:32:33 running AVD within min and target SDK not showing up when prompted for a device. has permission for camera. would it hide emulators from me because of that? Sep 15 14:33:51 Try and start the emulator first Sep 15 14:48:04 Good afternoon all. Can someone point me to instructions on how to get AVD to display the hardware buttons? (AVD & Tools r21-pre4). There are lots of instructions online but they seem to be out of date, referring to skins and other things that aren't available in r21 Sep 15 14:52:27 how do i log every HTTP request made from my app? Sep 15 15:08:22 i'm running fedora and also have an arch box, how do i get the Nexus 7 to show up as a device? it shows up as ???????????? is there a package i need to install? Sep 15 15:09:59 jasonmog: It depends where you want the requests logged. If you want the app to do it for debugging use log.d("HTTP Request",url.toString()); or similar Sep 15 15:10:20 i want the full HTTP request Sep 15 15:10:37 jasonmog: If you want to see the log on your server which is responding to the requests, set a user agent string within your app, so you can filter your server logs Sep 15 15:10:47 i don't control the server Sep 15 15:11:52 jasonmog: then adding log statements is the way to go for debugging. Another option to consider is using the google Analytics android SDK, if you want such a log in production Sep 15 15:12:21 of course you' want to disclose that data collection to your users Sep 15 15:13:16 the challenge is not logging Sep 15 15:13:22 it is getting the full HTTP request Sep 15 15:15:30 jasonmog: so you'd need to parse the request and log the request URL plus any POST parameters, but if you're asking for a pre-packaged way to do that aside from extracting the relevant fields from the request objet and logging them, there isn't Sep 15 15:16:44 jasonmog: the log method does some object unwrapping but not enough to meet your needs I don't think, if you just logged the request object itself Sep 15 15:57:00 Hello Sep 15 15:57:06 I am Japanese Sep 15 15:57:17 I live in Japan Sep 15 16:01:46 Anyone got any ideas on how to set the padding on a GradientDrawable_ Sep 15 16:05:48 Maybe it doesn't have padding Sep 15 16:07:11 You can set a padding when setting up the shape in XML, and it says that it links to the GradientDrawable class Sep 15 16:07:38 And it is part of the internal workings, just annoying that it doesn't seem like you can get at it programatically Sep 15 16:13:43 anyone home? Sep 15 16:14:48 i just changed which version of the NDK i'm using for my project, from 8 to 9; and now it won't build Sep 15 16:15:00 i've some seekbars + textviews which show the value of the seekbars via OnSeekBarChangeListener. but when i start the activity and load some saved/default progress values for the seekbars, i'd like the textviews to show these progresses. can/should i simply call the OnSeekBarChangeListeners or do i need to manually set the textviews (which would result in duplicate code)? Sep 15 16:15:13 i checked, and version 9 is definitely in the NDK folder Sep 15 16:16:19 it says; configure build path ... open the have build path property page of projects 'myproject' Sep 15 16:16:50 and little red crosses are everywhere in my java source files; in eclipse Sep 15 16:17:36 JakeWharton, https://snipt.net/tweakt/sherlocklistviewjava/ ;-) Sep 15 16:18:28 actually, its when i change 'target=android-8' in project.properties to 'target=android-9' Sep 15 16:20:19 i think i should probably set the android os target level (to 9) somewhere in the project properties dialog window, somewhere? Sep 15 16:20:22 is that correct? Sep 15 16:20:47 bbiab Sep 15 16:24:00 SimonVT: It seems like it may be possible to just wrap the GradientDrawable in an InsetDrawable class. Failing that, some hackery with setBounds() might fix it Sep 15 16:25:32 MrQwak: also change targetSdk in manifest, I guess Sep 15 16:25:56 hey Sep 15 16:26:16 in project properties; in the android tab, i can set the project build target Sep 15 16:26:53 i have 'Android 2.2 - Android Open Source Project - API level 8' Sep 15 16:26:57 and a load of others Sep 15 16:27:01 mrenouf: https://snipt.net/tweakt/sherlocklistviewjava/#line-45 shouldn't nit be return handled; Sep 15 16:27:04 most are API level 8 Sep 15 16:27:18 and I have 2 at 15 and 2 at 16 Sep 15 16:27:28 i guess i need to download or install some more? Sep 15 16:27:40 i need API level 9? to target 2.3+? Sep 15 16:28:14 how (where) do i download 2.3 (API level 9) Sep 15 16:29:16 MrQwak: Through the Android SDK manager Sep 15 16:29:41 thanks. :) (new to eclipse) Sep 15 16:31:30 can't see API level 9 in the SDK manager Sep 15 16:31:42 there is API level 8 and then level 10... Sep 15 16:32:11 mrenouf: Your check for which activity it's attached to is not good enough :F Missing a few.. Might have to come up with a different solution there than instanceof'ing X activities Sep 15 16:32:43 ah, i need to check 'Show: Obsolete' to get API level 9 Sep 15 16:33:38 how come 2.3.1 is obsolete, but 2.1 isn't? Sep 15 16:33:49 There are hardly any 2.3 users Sep 15 16:34:01 ah Sep 15 16:34:02 thanks Sep 15 16:34:09 mostly 2.3.3? Sep 15 16:34:15 Yeah Sep 15 16:34:16 and very few 2.3.1? Sep 15 16:34:22 It was substituted pretty quickly Sep 15 16:35:08 oh right Sep 15 16:35:22 it says 0.3% for API level 9 Sep 15 16:35:43 57.2% for API level 10 Sep 15 16:35:51 looks like i will be targeting 10 then! Sep 15 16:35:54 thanks :) Sep 15 16:39:08 what the hell? HttpURLConnection sends a different request between device and emulator Sep 15 16:39:17 not just user agent either Sep 15 16:42:28 is there anything like that (HTTP connection) in the NDK? Sep 15 16:54:26 i get 400 bad request back from server on <= API 10 Sep 15 16:57:38 i really need some way to intercept these requests to see what the headers are Sep 15 17:00:28 strange problem: I've an onTouch listener which simply calls finish() and returns true/false. If it returns false (which in my opinion it shouldn't) it runs fine but if it returns true i get a warning "Duplicate finish request for HistoryRecord..." Sep 15 17:06:16 WHAT THE HELL THE BASE64 ENCODE METHOD ADDS A NEWLINE IN EARLIER SDKS Sep 15 17:09:48 ok, checking with isFinishing() solves this, but if there's a better/cleaner solution, let me now Sep 15 17:09:51 *know Sep 15 17:12:13 jasonmog: you can use emulator and add http proxy to it Sep 15 17:14:19 vavirta: SSL Sep 15 17:15:01 need to get the raw HTTP request before it goes out Sep 15 17:15:09 aaah, ok Sep 15 17:52:39 I have a confusion about Services...I've created a service, and it talks to my Activity and vice versa...but I cant see how it works. On my activity I simply created a ServiceConnection object, but I cant figure out what CALLS ServiceConnection::onServiceConnected to connect my background service to th client Sep 15 18:22:11 wtf. i did git pull origin master, i see all the files updated in the directory, but not in eclipse... am i leaving something out Sep 15 18:23:39 Oops! Sep 15 18:23:39 Unfortunately, this merchant no longer accepts payments through Google. We apologize for the inconvenience. Sep 15 18:24:01 romainguy, why google not accept google ;x Sep 15 18:24:11 SimonVT, re: SherlockListView -- it needs to get access to the sherlock-provided ActionMode. Is there a better way? Sep 15 18:25:02 SimonVT, OH. I forgot, SherlockListActivity, etc do not extend the same classes. Ugh Sep 15 18:25:51 SimonVT, I was thinking maybe there could be a Sherlock interface which all classes can implement and provide those common sherlock-compatibility versions of things through... Sep 15 18:28:37 ... ehh... I love link errors in native activities Sep 15 18:29:24 apparently between ICS and JB some code in libskia changed :/ Sep 15 18:49:27 Hey there! Sep 15 18:50:27 I have a textview that shows some numbers. I want to make the numbers editable, so you tap a number and it opens a dialog. How to do that? Sep 15 18:50:52 I only came up with the idea of chopping the text view into tiny text views, some clickable, some not, but that seems very clumsy. Sep 15 18:52:21 Hello, If i want to get 5 images from the web and display then in an application, in what way would be most efficient to store them? Sep 15 18:52:27 in a cache Sep 15 18:52:51 There's something somebody else made. I think it's called "ImageLoader" Sep 15 18:53:05 Though it doesn't work well if you use the images in ListViews. Sep 15 18:53:24 or was it that you can't load an image to cache without showing it? Hm. Sep 15 18:53:29 friktion: i dont know which is most efficient; i use lrucache for it Sep 15 18:54:05 Is there a way to make individual words in a textview clickable? Sep 15 18:54:44 Or do I have to resort to a lot of small text views that wrap? Sep 15 18:55:04 RedNifre: you can make a onclick/touch event for it Sep 15 18:55:28 but how would you know which word was touched Sep 15 18:56:45 you can find it from coords and sizes Sep 15 18:56:53 i think it has some better way :) Sep 15 18:57:25 btw i think can make links with html too Sep 15 18:57:45 Yes, but it needs to show a dialog where you input the new value for the number in the text. Sep 15 18:58:55 and why it all in one view? Sep 15 18:59:29 Gnnh, that makes my strings.xml very ugly. You have items left Sep 15 18:59:46 To display "You have 5 items left" and make the 5 clickable. Sep 15 19:00:51 btw you can make link, and make a intent filter (and a dialog themed activity); im not sure about it fit your project Sep 15 19:01:09 The thing is that I want to show two values in one sentence. Like "You have <5> in the " and you can click on any of those to open a menu to select or input another option. Sep 15 19:01:36 ixc that sounds like it could work. Though it seems a bit weird to do it that way. Sep 15 19:02:42 you should google, i dont think it is nice :) Sep 15 19:02:47 just possible :) Sep 15 19:04:56 I asked Google and they say that your idea is how to do it. :) Sep 15 19:06:44 btw maybe better way if you get the touches and search back text for coords Sep 15 19:06:54 if no other way Sep 15 19:08:09 http://stackoverflow.com/questions/7142378/how-can-i-use-ontouchlisteners-on-each-word-in-a-textview Sep 15 19:09:10 and https://developer.android.com/reference/android/text/style/ClickableSpan.html looks good Sep 15 19:18:48 Thanks, i think il use lru cache, i am using imageloader, and i disabled cache because i want to handle it manually Sep 15 19:19:47 thanks ixc Sep 15 19:21:28 So, the WebView.loadDataWithBaseUrl() method gives me a warning when executing it from a separate thread, hinting that it might not be possible to do it in future android versions. By running it from the thread, I prevent my app from freezing for a tiny bit. Why would they remove this functionality? Sep 15 19:22:25 you can load data on other thread, but you should call the loaddata on main thread Sep 15 19:22:39 i think it also will work async Sep 15 19:23:19 ixc: I do load and parse my data in another thread, and I used to call loadDataWithBaseUrl in the UI thread, but when I put this in the thread also, the app doesnt freeze as much Sep 15 19:24:31 I got a bunch of webviews in a viewpager, so it is noticable when scrolling between them (freezes when the page is rendered) Sep 15 19:31:06 hey Sep 15 19:31:14 how can i force hide the keyboard? Sep 15 19:31:34 i have an EditText that pops the keyboard, then when the user clicks a button, it's not hiding it. Sep 15 19:33:28 Try ((InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE)).hideSoftInputFromWindow(mEditText.getWindowToken(), 0); Sep 15 19:35:14 skfax: yup that worked, thanks! Sep 15 19:35:26 yw Sep 15 19:39:00 Whle installing the android SDK, I get "$(^Name) has stopped working" from windows on the second install screen. Sep 15 20:07:13 Avast Sep 15 20:07:34 I've been having an issue with edittexts inside listviews (or scrollviews) inside of a ViewPager; if anyone could help me I'd be eternally grateful Sep 15 20:09:14 the short version is that I've got a listview or a scrollview with multiple edittexts; the list/scrollview is on its own page of a ViewPager. If I select say the 4th edittext down, it will: gain focus, cause the keybaord to open (good), and then lose focus (bad) becasue the topmost edittext will automatically gain focus whenever the keyboard opens. Can anyone help me stop this from happening? If I do the same thing but simply Sep 15 20:09:25 then there is no issue. Something about the ViewPager is causing focus to be stolen Sep 15 20:17:53 anyone have any experience or ideas? Sep 15 20:23:41 Hey guys, my app silent crashes when starting an activity and I have no idea why since I didn't modify anything in that code's activity Sep 15 20:23:48 umm, in that activity's code Sep 15 20:24:00 09-15 21:22:16.507: E/Trace(2486): error opening trace file: No such file or directory (2) Sep 15 20:24:01 is the only error Sep 15 20:28:27 I added breakpoints and it doesn't even get to the super.onCreate(savedInstanceState); in the new activity Sep 15 20:28:31 What did I break :( Sep 15 20:28:53 nothing in logcat? Sep 15 20:29:03 also, none of us have crystal balls, so guessing what you broke would be impossible. Sep 15 20:30:00 Nope, when I press the button to open the activity it just does 09-15 21:29:34.616: E/Trace(3068): error opening trace file: No such file or directory (2) and then crashes Sep 15 20:30:13 As in, crashes without anything further Sep 15 20:30:25 Could there be a problem with the intent? Sep 15 20:31:21 does your app write to external storage? Sep 15 20:31:38 Yep Sep 15 20:31:58 and this is an actual device you're testing with, not the emulator right? Sep 15 20:32:08 Yep Sep 15 20:32:34 I'd check your sd card first, if that's not the case, no idea then Sep 15 20:33:02 it's a galaxy nexus Sep 15 20:33:03 <.< Sep 15 20:33:35 I'm sending a pretty big string with the intent, maybe it's that Sep 15 20:33:39 It's, uh, 263484 characters long Sep 15 20:35:59 it gets put into the intent fine though Sep 15 20:42:24 Apparently it is the intent Sep 15 20:42:44 Since if I comment out the adding of the string it just crashes in the new activity with nullpointer when trying to access said string out of the intent Sep 15 20:42:54 Which means without that in the intent the activity actually starts Sep 15 20:42:59 So, uh, how to fix? Sep 15 20:48:07 Wow. Creating a static map of strings instead of just doing some ifs feels kinda lazy (3 strings) Sep 15 21:08:50 how do I find the screen resolution of my android 3? Is it possilbe to change the screen resolution on it? Sep 15 21:10:24 I have a friend on Credo Mobile which runs under sprint. I was wondering if i could flash a root from the sprint section of the forums for the phone and then just update the prl or whatever needs updating ,...? Sep 15 21:14:35 hi, what's the plan for C++0x support in android so far? Sep 15 21:16:40 io2: afaik stuff that is in GCC 4.6 works, but you might need to link statically libc++ Sep 15 21:17:47 p_l|backup: how much of the standard library is in, wouldn't it be better to provide a full version built for it from scratch? Sep 15 21:18:26 io2: the thing is, if you don't link libstdc++ statically, you are dependant on the one included in system Sep 15 21:18:57 of course Sep 15 21:18:59 there are few options available regarding level of C++ support, but as it happens, most of the C++0x stuff is templates and compile-time stuff Sep 15 21:19:22 is there any roadmap page i should be aware of? Sep 15 21:20:19 afaik no. Using C++ in a system where you don't ship your own runtime is perilous anyway Sep 15 21:20:29 yup Sep 15 21:20:37 (and that's C++ fault) Sep 15 21:20:53 does anyone know how to prevent auto-focus on an EditText? Sep 15 21:20:56 sigh, yeah, eventually we could be having Go, no? ;) Sep 15 21:21:00 thanks p_l|backup Sep 15 21:21:06 io2: or you know, a sensible language Sep 15 21:21:09 and it's not just the keyboard I care about. I actually don't want the focus there. Sep 15 21:21:28 go is badly understood and has some crazy bugs in runtime sometimes Sep 15 21:21:58 most StackOverflow solutions say to set a LinearLayout to focusable in touch mode Sep 15 21:22:20 but... romainguy wrote a comment on a blog post saying NOT to do that. Sep 15 21:22:25 tho I'm unsure why. Sep 15 21:23:05 looks like i will have to see a bit more in depth C++11 wherabouts in the ndk anyway Sep 15 21:23:44 io2: check G++'s 4.6 info Sep 15 21:24:05 just remmember that C++0x stuff is disabled without setting --std=c++1x or something like that Sep 15 21:25:04 yup i know Sep 15 21:25:22 p_l|backup: anybody having done a gcc 4.7 port? Sep 15 21:25:54 io2: haven't head about it. Not really that interested in C++ Sep 15 21:26:10 the ndk tools are build from the android firmware asI recall, so you should be able to pull your own gcc into there Sep 15 21:26:16 though i've never cared to try Sep 15 21:26:45 ok Sep 15 21:27:13 You can also just build an arm gcc and statically link everything Sep 15 21:27:20 so practically, if i want all the features i am used of using in non android gcc, the best way is to bootstrap a gcc for it myself Sep 15 21:28:04 io2: you can link to libc etc. from ndk Sep 15 21:28:29 Depending what you want to do with the ndk you'll have various levels of success Sep 15 21:29:13 if you're building libs for JNI you should probably stick with the internal stuff Sep 15 21:29:31 if you're building your own binaries, go nuts, just remember you have 4 or 5 platforms to deal with now Sep 15 21:29:34 well, you have to be careful about ABIs Sep 15 21:29:52 I used to run uClibc binaries on android Sep 15 21:30:12 When I run android Sep 15 21:30:14 fail Sep 15 21:30:38 when I run tools\android.bat I get 'find_java.exe has stopped working' from Windows Sep 15 21:31:24 i will just be sticking to native only code for some experiments i want to do with it, i am kind of rusty in ndk since when i checked it some time ago it was a "C with classes" mode C++ that was practically allowed there. Sep 15 21:40:00 thanks so far guys, i'll pick it up through what I can google over this subject Sep 15 21:46:08 i have a listarray adapter class , where i show information from a json response in the list row , while scrolling when i reach to the end i reload more data . I call notifydatasetchanged to refresh the list but it refreshes the previous items also Sep 15 21:46:36 my list contains images fetched from web , so they also get refreshed again and reloaded again Sep 15 21:46:49 When I run tools\android.bat I get 'find_java.exe has stopped working' from Windows. Any way to get around this? Sep 15 21:47:02 is there a way to prevent the refresh of items that were pre-exiting while getting the new items Sep 15 21:48:24 IsaacAsimov: I tried to run android.bat in a Windows 7 x65 environment with Java for 64-bit Windows installed. Is this your setup as well? Sep 15 21:49:19 Yes Sep 15 21:50:10 drlaban ^ Sep 15 21:51:36 Ok, after a bit of searching, I added the path to java.exe (c:\program files\oracle\java\bin _i think_) as an addition to the Path-system variable and renamed java.exe in c:\windows\system32 to java.exe_old Sep 15 21:51:43 IsaacAsimov: ^ Sep 15 21:51:47 Is there a straightforward way to test sqlite specific code without needing to run it within the emulator? Ie, some sort of standalone library/mechanism that lets me run unit tests on db code Sep 15 21:52:21 drlaban: I have a registry key set up to append java to the path variable already Sep 15 21:52:26 well, for SQL queries there's sqlite3 cli Sep 15 21:53:11 drlaban: I just get that 'find_java.exe has stopped working' once I run android.bat Sep 15 21:53:16 No output from it before that Sep 15 21:53:22 p_l|backup: I don't mean a way to look at the db itself. What I'd like to do is unit-test java code, that will eventually run within the android environment. However, if at all possible, I'd like to test that code without needing to run it within the emulator. Sep 15 21:53:31 IsaacAsimov: I didn't have to edit the registry at all Sep 15 21:53:41 Once I close that dialog, I get that there is no suitable java found Sep 15 21:54:03 drlaban: It appends it to path every time I open a command prompt Sep 15 21:55:11 IsaacAsimov: I added the path to java.exe, located in c:\program files\oracle\java\bin, through Start -> Right-click Computer -> Properties -> Advanced System settings -> Environment variables -> Edit Path string Sep 15 21:55:26 Then I renamed java.exe in c:\windows\system32\ Sep 15 21:55:47 chinmaya: not a direct solution, but look at koush's github for URLImageViewHelper, it will cache te images fairly well Sep 15 21:55:48 *the Sep 15 21:56:27 drlaban: Can I just directly start the SDK without android.bat? Sep 15 21:56:36 IsaacAsimov: I couldn't Sep 15 21:56:39 :/ Sep 15 21:57:05 IsaacAsimov: Ok, let me ask you this instead: Do you have java.exe in c:\windows\system32? yes/no? Sep 15 21:57:06 anone able to help me with IMEI *#06# sticker mismatch repair? Sep 15 21:57:19 drlaban: Yes Sep 15 21:57:23 Rename it Sep 15 21:58:08 I have java.exe, javaw.exe, and javaws.exe Sep 15 21:58:23 IsaacAsimov: For now, just rename java.exe to jave.exe_old Sep 15 21:58:27 Mmk Sep 15 21:58:28 I need my phone unlocked and IMEI number is knackered i guess Sep 15 21:58:40 aand still not working Sep 15 21:59:55 Is this a repair that I can do at home or is it a shop repair? Sep 15 22:00:08 or totally knackered Sep 15 22:01:59 IsaacAsimov: Alright, I can only tell you that this is what made it work for me: http://stackoverflow.com/questions/3052743/android-create-call-fails-in-windows-7-missing-jdk Sep 15 22:03:02 IsaacAsimov: Especially the second reply comment: "I had the exact same problem! Deleting C:\Windows\System32\java.exe made it work!", althoug I didn't delete but renamed it instead. Sep 15 22:03:56 i am making my first command-line based app, and i keep getting this error message in my log when i launch the app: "Unable to instantiate activity ComponentInfo{com.michaeleisel/com.michaeleisel.main}: java.lang.ClassNotFoundException: com.michaeleisel.main in loader dalvik.system.PathClassLoader[/data/app/com.michaeleisel-1.apk]". what might be wrong? Sep 15 22:04:31 IsaacAsimov: Reading your original question again, it might be your error is different to the one stated on StackOverflow, but it seemed pretty similar... Sep 15 22:05:09 f2prateek_, i am not looking for a caching solution of the imageviews , but my problem is when the thread runs to fetch the new data set , once data is recieved it calls notifydatasetchanged() for updation on the listrow , the previous listrows which were visible also get redrawn , but since the one of the items is an imageview , Sep 15 22:05:35 the images get fetched from the web Sep 15 22:06:10 i want if there some way to prevent the existing rows not to get updated or ignore the notifydatasetchanged request Sep 15 22:07:43 woohoo Sep 15 22:07:46 I got it to work Sep 15 22:08:21 IsaacAsimov: How Sep 15 22:08:31 drlaban: http://stackoverflow.com/a/9888396 Sep 15 22:09:04 IsaacAsimov: Alright, at least I wasn't too far off then. :) Sep 15 22:09:12 :) Sep 15 22:09:13 IsaacAsimov: Nice that you got it to run at last. Sep 15 22:09:28 Thanks for showing me that post on stackoverflow Sep 15 22:09:29 :3 Sep 15 22:10:01 * IsaacAsimov is mainly using the sdk to get adb to boot into recovery mode on his tablet in case of emergency on setting up Cynogen mod Sep 15 22:13:19 IsaacAsimov: Well, I never thought it would be such an issue just getting Android's shell-parts of the SDK to run on a Win7 x64... But then it was and I had to somehow figure it out. :) Sep 15 22:13:50 :3 Sep 15 22:14:01 On another net, something fail happened to me Sep 15 22:14:10 "[18:10] -ChanServ- You have been halfopped on #ishaq by Ishaq" appeared in #EliteBNC on that net Sep 15 22:14:30 So I thought I was halfopped there Sep 15 22:14:39 So I said "Yes!" Sep 15 22:14:42 sudden humiliation Sep 15 22:14:43 -_- Sep 15 22:15:39 Now, I need to figure out how to get adb to know about my tablet Sep 15 22:21:44 Anyone know why even though my device has USB debugging on and my tablet is plugged into my computer, the tablet is not showing in adb? Sep 15 22:22:26 what system? Sep 15 22:22:55 p_l|backup: Computer is Windows 7, tablet is android 4.0.4 Sep 15 22:23:38 IsaacAsimov: do you have another android device? Sep 15 22:23:54 p_l|backup: The only one adb knows of is an emulator Sep 15 22:24:15 I'm talking about another device you may have used with that computer Sep 15 22:24:27 Oh Sep 15 22:24:29 Nope Sep 15 22:24:37 (unless an emulator counts) Sep 15 22:24:50 then I have no idea what is the problem Sep 15 22:24:55 :/ Sep 15 22:24:56 Hi Sep 15 22:25:06 if I have a question about AOSP, should I ask here? Sep 15 22:25:23 (though software installed from tablet's manufacturer can be suspect, as they often use ADB themselves... leading to broken adb support) Sep 15 22:26:58 IsaacAsimov: Driver installed correctly for the tablet? Sep 15 22:27:06 drlaban: hm Sep 15 22:27:12 I only have the Google usb driver Sep 15 22:27:31 IsaacAsimov: if your tablet isn't running Cyanogen (or similar) and it isn't Nexus 7, that driver won't work Sep 15 22:27:49 and now you're welcome to uninstall that driver before installing tablet's driver :) Sep 15 22:27:57 :| Sep 15 22:27:58 IsaacAsimov: That will most likely work for you, _if_ the inf-file has the VID/PID for your tablet in it. Sep 15 22:28:21 IsaacAsimov: the .sys driver file is basically the same, but the .inf is different Sep 15 22:28:33 IsaacAsimov: What tablet is it? Sep 15 22:28:37 Anyone have a driver for the Mach-Speed Trio Model Stealth Pro? Sep 15 22:28:44 ... wat Sep 15 22:28:51 drlaban: That answer your question? Sep 15 22:28:55 fail Sep 15 22:29:02 Forgot to include my computer OS Sep 15 22:29:03 IsaacAsimov: Was just about to ask if it was a "noname" brand or a more popular one. :) Sep 15 22:38:11 anone able to help me with IMEI *#06# sticker mismatch repair? Sep 15 22:39:31 Liked to get his phone unlocked Sep 15 22:39:54 his = this Sep 15 22:46:36 hey guys, i'm doing fragmenttransaction.replace and then when i rotate the app crashes, says error in the xml file. every experience this? Sep 15 22:57:29 can someone share which package has the source code for the gallery app in the jellybean source code ? Sep 15 22:57:52 or where to find the source code for the gallery app of jelly bean Sep 15 22:59:20 looks like my droid 3 is 960x540 Sep 15 22:59:54 lol can fit 9 commodore 64 screens on that Sep 15 23:00:03 I think it is called gallyer2 or gallery3d Sep 15 23:00:09 Anyone have USB drivers for the Mach Speed Trio Model Stealth Pro tablet? Sep 15 23:00:09 I wonder if there is a C64 emulator for android Sep 15 23:00:33 Google yields no results that are useful Sep 15 23:03:02 Hello, can someone give me an idea on how to remove the red marked part of this image https://dl.dropbox.com/u/1536427/Namnl%C3%B6s.png ? it looks like this without the mark https://dl.dropbox.com/u/1536427/schedulegenerator%20%282%29.png Sep 15 23:21:58 Anyone have USB drivers for the Mach Speed Trio Model Stealth Pro tablet? Sep 15 23:23:13 friktion: setVisibility(View.GONE) Sep 15 23:24:55 snooplsm: the image i sent you is a bitmap loaded from the internet Sep 15 23:25:47 I want to GET a web request, ie, resolve GPS coordinates using the google API, but am finding a lack of tutorials aimed at my beginner skill level, with no prior knowledge of Java. I'm trying here, but have tried many examples and am still pulling out my hair. Any recommendations for a good tutorial? Sep 15 23:26:33 learn java? Sep 15 23:27:02 I'm learning as I go here. Sep 15 23:29:07 I went through some of vogella tutorials, but couldn't figure out how to implement it to my needs. Sep 15 23:29:25 The httpclient ones. Sep 15 23:32:31 friktion, you need to iterate over the 2d array looking for that color and mark it as white or something Sep 15 23:39:45 Anyone? Sep 15 23:40:39 So you want to reverse geo locate? Sep 15 23:40:58 easiest way is to provide the lat/lng to google maps v3 api Sep 15 23:40:59 Anyone have USB drivers for the Mach Speed Trio Model Stealth Pro tablet? Sep 15 23:43:31 Is that onboard or does google just send out a web request to do that? Sep 15 23:43:43 Hi. Can anyone help me :) ? I've compiled AOSP and it is not exactly like stock :/ I mean not because there is apps missing or whatever but because of this : 1. Sounds are different (Keyboard, etc..) 2. Bootlogo is different. 3. In the Launcher2 (App Drawer), size of column/row are different Sep 15 23:44:02 Nm. I still need to learn how to do a simple get request. Sep 15 23:44:27 web request Sep 15 23:44:40 Yes Sep 15 23:49:07 I was playing with vogella tutorial, but am missing something, because I couldn't figure out where his example was putting the data retrieved: http://www.vogella.com/articles/AndroidNetworking/article.html Sep 15 23:49:42 wow. it's going to take more than 20G of disk space to build 4.1.1, isn't it? Sep 15 23:51:15 I am getting the error "Call requires API level 3 (current min is 1)" when trying to build the facebook library for my app, can someone explain to me how to address this? Sep 15 23:51:31 I have the android target set to 2.2 Sep 15 23:51:33 so Im not sure what it's referring to Sep 15 23:51:39 set the level on the facebook lib Sep 15 23:51:40 too Sep 15 23:52:27 it's set to 2.2 on both Sep 15 23:53:25 Anyone have a Windows 7 64bit USB driver for a Trio Model Stealth Pro tab? Sep 15 23:55:03 Ooo a celebrity! Sep 15 23:56:11 apparently there is a bug where it shows that error when it shouldn't Sep 15 23:56:13 hmmm Sep 15 23:57:02 disable lint Sep 15 23:57:04 too Sep 15 23:57:37 is there a way to manage a development and production build in a single project? Sep 15 23:58:02 or do I have to do it in code? i.e. inProduction == true -> ... Sep 16 00:06:09 is there a channel specifically for help using the facebook API for android? Sep 16 00:19:59 GadonJ: you could try the #facebook channel, but i don't think there is one specifically for the android facebook api Sep 16 00:25:45 I FINALLY GOT ADB TO FIND MY DEVICE ^-^ Sep 16 00:26:35 woo! Sep 16 00:47:54 Hi. Can anyone help me :) ? I've compiled AOSP and it is not exactly like stock :/ I mean not because there is apps missing or whatever but because of this : 1. Sounds are different (Keyboard, etc..) 2. Bootlogo is different. 3. In the Launcher2 (App Drawer), size of column/row are different Sep 16 01:04:47 Please anyone :( Sep 16 01:04:53 I really need an answer to continue my work Sep 16 01:07:01 How would I use a actual android device in a android AVD vm? Sep 16 01:07:52 Am I in the good channel ? Sep 16 01:08:08 Idk Sep 16 01:10:33 what? Sep 16 01:10:38 depends on what your work is! Sep 16 01:14:30 Sicp: Sep 16 01:14:38 AOSP related stuff Sep 16 01:14:47 I have no idea what that stands for Sep 16 01:14:56 Android Open Source Project Sep 16 01:15:24 you made up an acronym for it? lol Sep 16 01:16:27 he didn't make it up Sep 16 01:16:41 that's what it's called :/ Sep 16 01:17:14 yeah xD Sep 16 01:17:27 zinx are you good in AOSP stuff? :) Sep 16 01:17:42 no i am bad programming ever Sep 16 01:17:47 zinx Will repaste my question in case you know the answe :) it would be so nice Sep 16 01:17:48 Hi. Can anyone help me :) ? I've compiled AOSP and it is not exactly like stock :/ I mean not because there is apps missing or whatever but because of this : 1. Sounds are different (Keyboard, etc..) 2. Bootlogo is different. 3. In the Launcher2 (App Drawer), size of column/row are different Sep 16 01:18:49 Jamesst20: we don't deal with Rom stuff, this is more about App Development Sep 16 01:21:17 drpenguin I see thanks you :) I've been wasting 3 hours in the wrong channel then xD Sep 16 01:21:53 How would I use a actual android device in a android AVD vm? Sep 16 01:22:11 IsaacAsimov: What? an AVD is a virtual Android Device Sep 16 01:22:23 you either test stuff in a real Android Device o r an AVD Sep 16 01:23:51 drpenguin: I want an AVD image of my device to do things that may brick the actual hardware Sep 16 01:24:06 That just doesnt make any sense Sep 16 01:24:12 :| Sep 16 01:24:19 How does it not make sense? Sep 16 01:24:29 it makes sense Sep 16 01:24:37 I dunno if you can do it but it makes sense Sep 16 01:24:54 why you would even want to do that is beyond me Sep 16 01:24:57 you may have to set up a similar environment by hand Sep 16 01:24:58 I want to try to run a custrom rom made by my friend Sep 16 01:25:12 This isnt the IRC for custom roms Sep 16 01:25:18 #android-root is for that Sep 16 01:25:18 I know that Sep 16 01:25:22 then dont ask Sep 16 01:25:27 I'm just saying Sep 16 01:25:42 I need to know how to get a AVD image of actual hardware Sep 16 01:25:51 again, thats off topic for here Sep 16 01:25:55 -_- Sep 16 01:31:09 this is killing me Sep 16 01:31:36 my listview from simplecursoradapter of sqlite data wont load the data on 2.1-2.3, works fine on 4.1 Sep 16 01:33:18 whats in the listview? i havent had issues with using SCA in 2.1-2.3 Sep 16 01:33:49 http://imgur.com/gallery/XVS3z/comment/5733387 Sep 16 01:34:17 drpenguin: you mean what's supposed to be in the listview or what's actually in the listview on 2-1-2.3? :) Sep 16 01:34:41 explosivo: well, whats IN it, but maybe you should explain wahts happening pre 4.1 and in 4.1, also, does it work in 4.0? Sep 16 01:35:22 drpenguin: i'll try 4.0, haven't yet. right now it's just blank in 2.1-2.3 .. there is data in the database Sep 16 01:35:35 explosivo: anything in DDMS? Sep 16 01:36:18 drpenguin: what part of ddms? :) Sep 16 01:36:56 logcat? Sep 16 01:37:03 no, nothing in logcat Sep 16 01:37:20 ya sure about that? if you were doing a bogus query there should be SOMETHING in there.. Sep 16 01:38:43 nothin. i don't think it's a bogus query, like i said same code works on 4.1... Sep 16 01:39:00 can you verify during operation that there IS data in the database Sep 16 01:39:43 well, i opened up the DB in an app called aSQLiteManager on the device, and there is in fact data Sep 16 01:47:47 ok, looks like it wasnt actually working on 4.1.. i uninstalled/reinstalled, now it's not working there either.. so something with my code is busted Sep 16 01:50:11 looks like it was because i was calling a changecursor in my onresume .. that was to fix having a blank listview when resuming Sep 16 01:50:39 so if i take out change cursor, i get the data in the listview, but it disappears onresume Sep 16 01:51:45 not sure how to prevent the listview from being empty on resume Sep 16 02:02:18 got it.. changecusor was working ok, but i was closing the cursor too in onresume .. so there we go Sep 16 02:21:12 in eclipse, when i get an error, it only prints a certain number of lines from the stack trace and then ends with "? 11 more". i need to see these 11 more! how can i do that? Sep 16 02:24:26 nm got it **** ENDING LOGGING AT Sun Sep 16 02:59:59 2012