**** BEGIN LOGGING AT Sat May 25 02:59:57 2013 May 25 03:00:45 anyone know if there is an icon for "wizard to help create a new Android Project" in Eclipse with the Android ADT? May 25 03:01:34 buddyq: what ? May 25 03:01:50 buddyq: your making me think i need more coffee now! May 25 03:01:52 in my Lynda.com video, they have an icon for it. May 25 03:02:03 icon for ? May 25 03:02:08 but the video was made when Gingerbread was the latest. May 25 03:02:19 an icon inside Eclipse. May 25 03:02:38 elipse is an ide with 100s of icons May 25 03:02:45 still not sure what you on about May 25 03:02:54 nevermind. May 25 03:02:57 * StingRay_ looks over to the kitchen, there is more coffee there May 25 03:04:56 g00s: IJ is better on the eyes May 25 03:05:29 and ditching gradle and using ant, it's easy and matches what I currently need it for May 25 03:05:38 ooo and it has a bitbucket pluggin May 25 03:05:47 so, so far, not too bad May 25 03:06:29 StingRay_yeah, IJ is much easier on the eyes. i did find a decent eclipse theme i liked tho (3.8) - haven't even tried 4.2 to see what theme is available there May 25 03:06:37 not really sure i like textual May 25 03:06:58 g00s: ask yourself this May 25 03:07:24 is IRC important enough to take you time trying clients, when the one you have….just works May 25 03:08:00 colloquy 2.4.1 was having some sort of memory leak issue May 25 03:08:16 they just updated it today to 2.4.2 tho May 25 03:08:54 leaking xx K of < 100mb aint really a prob May 25 03:09:00 well for me May 25 03:09:29 and not had it creash/fc so May 25 03:09:32 it works May 25 03:12:24 g00s done yet May 25 03:14:55 ron_frown no :( May 25 03:15:18 i dont think i'm going to be finished May 25 03:16:02 crap May 25 03:16:06 somethign happen May 25 03:27:12 hi, may somebody help me with my app fetching data in server? what tools, technology or how it's gonna be created upon loading the latest data like images and text upon splashscreen loading May 25 03:27:52 I think your asking too much there May 25 03:27:59 but that could be just me May 25 03:28:03 :) May 25 03:28:40 StingRay_textual colors your nick pink. do you like pink ? May 25 03:28:57 pink is ok May 25 03:29:03 i'm open minded May 25 03:29:15 i'm new with this technology and I don't know how will i gonna start with this concept. help? May 25 03:29:16 but stop spending time on the pointless May 25 03:29:18 :) May 25 03:29:44 rtyJay15: learn from tutorials on d.android.com May 25 03:29:49 StingRay_ then i would just shut down irc altogether :) May 25 03:30:14 no, irc brightens your day and you know it!!! May 25 03:30:41 i'm sure today we'll finally resolve eclipse vs idea May 25 03:31:29 got so many problem running adt with ecli[pse May 25 03:40:25 Eclipse seems slow! May 25 03:40:50 I've been using android studio for about a week, opened it up today and got this : http://i.troll.ws/18a178fc.png May 25 03:40:58 any ideas? May 25 03:41:53 it's that smart it's attempting to teach you a better, more efficient language May 25 03:42:25 I dont even think thats a language, regarless of encoding :) May 25 03:43:39 I didnt say it's and existing language May 25 03:43:45 it's that smart ;) May 25 03:44:40 it's just the display tree right ? May 25 03:44:44 I tried uninstalling and deleting the directory and it still comes back that way May 25 03:44:48 your dir/files are not like that May 25 03:44:53 all the menus too May 25 03:45:25 even with a new project ? May 25 03:45:57 yup May 25 03:46:30 I did install the roboto fonts. All of them from the android repository May 25 03:46:58 The only thing I can think of that might have caused the issue May 25 03:47:08 what is the default IDE font? May 25 03:47:35 andale mono May 25 03:48:07 probably not the issue then May 25 03:48:16 but that a char map fkup, seems odd that it's a font issue May 25 03:49:08 as in it's a consistant problem, name of build.gradle is identical in all views May 25 03:49:15 all be it, fudged up to hell May 25 03:49:56 checked the C:\Users\\AppData\Local\Android\android-studio\ dir... is there another dir where ide settings are stored? May 25 03:50:20 dont touch windows, so dont know May 25 03:50:39 oh the project does though right ? May 25 03:50:51 but you said same thing happens on new project ? May 25 03:51:15 hi.. what tool am i going to setup when I want to create a server for fetching data from android? May 25 03:51:35 tool ? May 25 03:51:49 you mean api ? May 25 03:52:37 ad0le: try removing those fonts, or remove your settings folders .AndroidStudioPreview dir from your c:/Users/UserName May 25 03:53:10 or uninstall AS , remove the settings folders, reinstall AS May 25 03:53:22 schmooz, ive done that twice. Even reinstalled the JDK May 25 03:53:38 did you make sure you removed all folders that keep track of your preferences ? May 25 03:53:41 This is odd... the tip of the day is half and half : http://i.troll.ws/ab2a264f.png May 25 03:54:03 not odd May 25 03:54:09 obviosly those fonts caused the problem May 25 03:54:13 consistant with the other images May 25 03:54:24 or your disk is getting corupt May 25 03:54:34 *corrupt May 25 03:54:45 *obviously May 25 03:54:48 shmooz: how would that be the case ?? May 25 03:54:58 the evidence is against that May 25 03:55:15 well he said he installed some fonts May 25 03:55:26 its showing crazy characters May 25 03:55:35 but not randomly May 25 03:55:47 and the crazy is consistant May 25 03:55:47 yeah like they are some other language May 25 03:55:47 got it fixed.... deleting .AndroidStudioPreview did it May 25 03:55:57 ugh, what a piece of shit (textual fc'd) May 25 03:56:09 ad0le: cool :) May 25 03:56:18 thanks shmooz May 25 03:56:21 * StingRay_ wishes he had the time and freedom to test osx irc clients May 25 03:56:31 * StingRay_ looks at g00s May 25 03:56:37 StingRay_ you're beta testing AS, wtf May 25 03:56:48 I'm fkin working now May 25 03:56:49 :) May 25 03:57:05 thats how I beta test it May 25 03:57:09 do some actual work May 25 03:57:10 :) May 25 03:57:15 lets try this again May 25 04:02:07 that font is horrific in the above screenshot May 25 04:02:18 the editor font, not the obviously broken one May 25 04:04:34 StingRay yes api May 25 04:09:20 rtyJay15: lots of them depending on how your going to do it May 25 04:09:45 getting the data, probably http* objects May 25 04:10:53 for example an updated text and images May 25 04:11:25 what you do with the data is not really the point May 25 04:11:35 where it is, and how you get it is May 25 04:11:42 json? May 25 04:12:01 may you enlighten me what api to use? May 25 04:12:30 yes the concept is there fetching data(txt and images) upon splash screen loading May 25 04:12:57 I think your missing the point May 25 04:13:06 do you do programming ? May 25 04:13:16 i'm new May 25 04:13:27 then you should learn from the begining May 25 04:13:38 rather than what your wanting to attempt May 25 04:13:50 its my thesis project May 25 04:14:57 rtyJay15: many people here are very anti-splash-screen ;) May 25 04:15:26 I'd say if its some cute game, or if its covering up some load time, its ok May 25 04:15:31 but i think it's the only solution skipping the delay fetching from slow connection May 25 04:15:51 but if its takes up more time than the time to load the app, then its wasting time May 25 04:16:04 you're supposed to make the user awesome while they are waiting May 25 04:16:37 splashscreen is awesome isn't it? May 25 04:17:47 GTA III has a very long splash screen but gives you the option to skip it May 25 04:17:56 irrelevant as to if it's awesome or even if people are against it, it's a design choice with many factors May 25 04:18:13 1 of those factors is loading time, but that not a splash, thats a loading screen May 25 04:18:14 :) May 25 04:18:26 haha May 25 04:18:36 correct sir May 25 04:19:17 what api to use? i'm new with a technology where android needs to fetch data from a server asynchronously May 25 04:19:36 and there should be an option to disable splash screen in the app prefs for the user to toggle May 25 04:19:40 many May 25 04:19:49 look at the http* ones May 25 04:21:30 when i want to get the data from a server? May 25 04:21:33 or from json May 25 04:21:37 database May 25 04:21:49 see above answer May 25 04:23:24 tnx May 25 04:25:56 is it feasible to use GAE or playframework to hasten my development? May 25 04:29:49 use what you want based on what you need and that matches whats required May 25 04:39:18 any IJ users ? May 25 04:39:52 in eclipse the run config, I could target "all" currently open/detected devices. Is that possible with IJ ? May 25 04:45:26 or I could set "always use this device" May 25 04:54:24 https://imageshack.us/a/img18/4352/110917084839.png May 25 04:57:04 that's pritive humour at best May 25 04:57:11 *primitive May 25 05:00:34 JakeWharton: what are the most likely causes for getting a NPE when injecting something (event bus) with dagger May 25 05:10:50 Are you sure the class is actually being injected? May 25 05:16:21 JakeWharton: How can I verify that? My application and base activity classes are more or less like the android-simple sample May 25 05:17:19 only difference being that I actually add two modules to the graph return Arrays.asList( May 25 05:17:19         new AndroidModule(this), new MyModule() May 25 05:17:19     ); May 25 05:18:51 MyModule just provides a bus and has an public no-args constructor May 25 05:27:37 JakeWharton: ok just restarted studio and it worked :/ May 25 05:41:57 Android Studio is much better than even IntelliJ ultimate's Android Integration May 25 05:42:00 I love you GOogle May 25 05:42:03 Google May 25 05:42:09 XD May 25 05:42:59 how difficult would it be to write a barcode scanner? i'm not just trying to write another bar code scanner app. it actually integrates into the rest of my app doing something useful that none of the others do. i am wondering how difficult it would be. May 25 05:43:33 BullShark: some bar code scanner apps have an intent api so you can just make it do the work May 25 05:43:58 BullShark: http://code.google.com/p/zxing/wiki/ScanningViaIntent May 25 05:44:12 clever -> nice, and it wouldn't violate any copyright or license to use that? May 25 05:44:35 BullShark: dont see why not, they give a lib and docs on how to use it right on the site for the app May 25 05:44:46 oh ok May 25 05:44:53 great, thanks for that info May 25 05:45:34 now i just have to search around google play to make sure my idea hasn't already been created like most other ideas ive had =/ May 25 05:46:17 Holy Fuck I wish I could go next year to IO cuz I wanna meet the Android Dev from 2012 I know May 25 05:46:32 whats IO? May 25 05:46:42 Google I/O May 25 05:46:46 http://google.com/io May 25 05:48:30 I'm still watching the videos from google I/O some are pretty zzzz boring May 25 05:50:24 Yeah, but the KeyNote is epic May 25 05:50:31 I'm only 31 mins in XD May 25 05:50:54 yeah where they introduce AS is exciting May 25 05:51:10 :P May 25 05:51:18 gtg May 25 05:51:24 I'm watching Technical Sessions 2, on Compute Engine/App Engine May 25 05:52:31 damn, i want one ! http://www.gizmag.com/b-rc-quadcopter-car/27655/ May 25 05:53:12 g00s SO May 25 05:53:22 you are giving up or you past your housing thing May 25 05:55:53 oh does any AS/IJ user know answer to "can I tell it to run on all detected devices?" and "maybe toggle always use this device?" like I used to be able to in eclipse ??? May 25 05:56:54 g00s: tell them you will write Android software to remote control it, and maybe they send you a free one ;) May 25 05:59:19 shmooz :D May 25 06:08:11 holy shit, this is awesome too. these kinds of things make sensor journalism possible … citizen environmental monitoring, etc http://www.gizmag.com/iphone-photonic-biosensor/27654/ May 25 06:25:45 hi g00s o/ May 25 06:25:57 hi hackkitten :D May 25 06:26:10 :3 May 25 06:26:16 hackkitten you like Qt right ? May 25 06:26:20 yup May 25 06:26:59 hackkitten did you see this? http://qt.digia.com/boot-to-qt May 25 06:27:14 i love that graphic: java / jvm : NO May 25 06:27:21 slash* May 25 06:27:41 also, see http://www.h-online.com/open/news/item/Tizen-with-GNOME-3-shell-shown-by-Intel-1868948.html May 25 06:28:02 Qt for Tizen May 25 06:28:15 I saw it, yes :o May 25 06:28:19 it's experimental at this point May 25 06:28:25 but I was planning to check it out :3 May 25 06:28:27 commercial endeavor May 25 06:28:35 I dont see ho wits anything diff than what they already do May 25 06:28:51 qt has had fb "embedded" qt forever May 25 06:29:13 so now they wrapped it up using androids kernel and decided they can sell it May 25 06:29:40 they have to eat somehow May 25 06:30:00 :3 May 25 06:30:08 waiting for the OSS version, I guess May 25 06:30:13 they obviously aren't pushing advertising :D May 25 06:30:21 * hackkitten kitteh smashes Android's Java~ (o/ May 25 06:30:32 hackkitten you broke all the things ! May 25 06:30:36 :< May 25 06:30:39 good! >.< May 25 06:30:41 * hackkitten pouts~ May 25 06:30:52 * hackkitten is currently trying to fix a botch job of an Android app :D May 25 06:31:07 hackkitten you work fro the companhy I work for? May 25 06:31:17 ron_frown: unless you work for a German company? :) May 25 06:31:44 no May 25 06:31:48 I kinda wish I did May 25 06:31:56 go live in the motherland May 25 06:36:20 all lands are the motherland May 25 06:36:29 earth is the mother. May 25 06:36:40 except the one pragma- came from, the sissyland :D May 25 06:36:51 * pragma- punts g00s to the fatherland May 25 06:36:57 (into the sun, that is) May 25 06:37:17 earthlings, pfft May 25 06:37:30 g00s is from uranus May 25 06:37:33 g00s good point May 25 06:37:53 we are ultimately all from the stars some place May 25 06:38:05 no, you're from a vagina May 25 06:38:32 classy May 25 06:39:14 oh right, germans are a little uptight about natural things, right? May 25 06:39:24 uhh May 25 06:39:35 as I understand, quite the contrary May 25 06:39:53 nevermind, the amount of whooshing in here is too damn high. May 25 06:54:02 regarding this Boot 2 Qt thing, i don't understand why google didn't do that :| May 25 06:54:35 not like Qt is new ;) May 25 06:54:57 after startActivity() is called, does any lines of code after that get executed? May 25 06:55:10 sure, startActivity is async May 25 06:55:54 http://www.youtube.com/watch?v=9pmPa_KxsAM#t=23m\ May 25 06:55:59 http://www.youtube.com/watch?v=9pmPa_KxsAM#t=23m May 25 06:56:01 ! May 25 06:56:01 so i can call finish() right after that new activity is started to remove the previous one? May 25 06:56:16 you can call it right after startActivity May 25 06:56:21 ok May 25 06:57:13 i wonder why android:noHistory="true" in the manifest for that activity is not killing it May 25 07:01:01 g00s: but, but... Java (o/ May 25 07:01:03 *_* May 25 07:01:14 * hackkitten falls over giggling~ May 25 07:01:31 at i/o somebody asked burke about the java situation May 25 07:01:37 the fireside chat May 25 07:01:54 dont remember what he said May 25 07:01:57 g00s: whats about that? May 25 07:02:02 the answer was long time May 25 07:02:06 and better May 25 07:02:14 StingRay_ what was it? May 25 07:02:21 what is that java situation? May 25 07:02:37 it has been difficult with oracle May 25 07:02:39 but May 25 07:02:44 it's going to get better May 25 07:02:54 and android and java will be here a long long time May 25 07:02:56 blaaa May 25 07:02:59 blaaaaaaa May 25 07:03:01 :( May 25 07:03:02 bla bla May 25 07:03:03 well, somebody made the case that JSE 6 is no longer supported but thats what google wants us to use - burke said that jse 7 works now w/o any hassles May 25 07:03:15 they implied that oracle is not cooperating with them about java 8 and so on, but said AS works with 1.6 and 1.7 fine May 25 07:03:45 i think the web docs still say jse 6 as requirements; so they should update that at least May 25 07:03:46 they should use C, like Apple does May 25 07:03:46 with switching from eclipse to android studio they might have switched from java to perl as well May 25 07:03:56 and tack on some awful messaging interface May 25 07:03:58 * hackkitten nods sagely May 25 07:03:59 but yeah, just keeping up with java in general May 25 07:04:06 thats bad news May 25 07:04:08 :( May 25 07:04:20 good for m May 25 07:04:22 me May 25 07:04:22 but at least no more eclipse May 25 07:04:46 hackkitten: you can do C in NDK May 25 07:04:48 I dont care what you all say about java/surface flinger etc May 25 07:04:54 squ: I know :) May 25 07:04:58 I just meant in general :D May 25 07:05:14 I'm thinking from time to time to use it.. instead May 25 07:05:23 its not good if android becomes the IE6 of the java world May 25 07:05:31 heh May 25 07:05:38 * hackkitten looks at ancient 2.x devices May 25 07:05:58 they better stay on top, yes :) May 25 07:06:57 g00s: this check can be done at google store, when you upload your app May 25 07:08:24 The trick is you stop supporting 2.3 :P May 25 07:08:38 any experience IJ users here? May 25 07:08:45 Then shitty chinese companies will stop using Android 2.3 May 25 07:09:03 i dont see why May 25 07:09:13 Sonicadvance1: hard to just drop 48% of your market, though :) May 25 07:09:16 2.3 buys dont care about apps May 25 07:09:28 i mean, somebody buying 2.3 today May 25 07:09:33 oh sure May 25 07:09:45 many android phones get used as feature phones May 25 07:09:47 but if you look at the Market stats, lots of people with 2.3 devices on there May 25 07:10:00 http://www.google.com/trends/explore?q="android studio" May 25 07:10:04 i read again the other day, like 90% ecomm traffic comes from ios devices May 25 07:10:09 Hello May 25 07:10:19 How easy is it to shoot a photo with ones Android phone and then upload it to a normal discussion forum? May 25 07:10:21 g00s: everybody knows iPhone users have too much money :) May 25 07:10:21 hackkitten, I guess my app doesn't really need to run on 2.3 May 25 07:10:36 (as opposed to say Instagram where the shooting, uploading as well as the forum itself are all part of the same service) May 25 07:10:47 boytoy: you can read it from the memory from a PC and copy it to anywhere you want :) May 25 07:10:50 boytoy: you're writing an app to do this? May 25 07:11:21 hackkitten: what do u mean exactly? May 25 07:11:24 Leeds: sorta yeah May 25 07:12:10 Leeds: i got one website and one native app in the making. the website with regular http upload will be released first, then in a couple of months ill have the native app with the builtin camera functionality etc. May 25 07:13:22 im just curious exactly how userfriendly the website will be considering users have to use some external cam program or whatever May 25 07:16:24 boytoy: oh, I thought you meant the manual method :) May 25 07:16:46 boytoy: does uploading the image to a free photo sharing service which let's you copy/paste markup into a discussion forum to embed the image do the trick? May 25 07:17:11 hackkitten: ah, nope :) May 25 07:17:16 :3 May 25 07:17:57 Jc_Dev: in my case the discussion forum is also the photo sharing service May 25 07:18:02 i guess this is more of a UX question May 25 07:18:41 what's the UX question? May 25 07:18:43 i.e. will teens and non-tech-savvy folks find it easy to take photos with their default cam app and upload it to a normal forum type website May 25 07:19:28 a teen will probably write more complex apps than that, not sure about non-tech folks though May 25 07:20:25 StingRay_: the teen is a user not a developer though, shes not writing any apps May 25 07:20:56 boytoy: i'd say the answer is probably yes, as long as all they have to do is click one of the share buttons from the image (this means you'd need to support that) May 25 07:20:57 "shes" ? I thought we were just using generalisations :) May 25 07:21:11 shes a big fan of snapchat and sexting though May 25 07:21:16 StingRay_: oh we are May 25 07:21:25 "s/he" May 25 07:21:39 kewl May 25 07:22:41 pretty_function: http://www.youtube.com/watch?v=9pmPa_KxsAM#t=23m May 25 07:22:44 Jc_Dev: dont they have to like.. 1. shoot the photo and save the file somewhere, 2. go to the forum, 3. click new topic, 4. find the file input and click on it, 5. locate and select the photo they just shot, 6. press upload? May 25 07:24:45 boytoy: normally, yes - i'm suggesting your forum would have a companion app that adds a "share" option for images, which would also automatically bring up a draft topic May 25 07:25:15 with image already uploaded and present in the draft May 25 07:25:41 you could do this without an app too May 25 07:25:49 interesting.. May 25 07:26:07 by giving forum members a special email address that they email the photo to, and it becomes available in new posts they make May 25 07:26:30 you can email a phone easily already, so you wouldn't even need to make an app, just have a service server side May 25 07:26:35 hmmm May 25 07:26:55 sounds fascinating my man! May 25 07:27:10 do u know of any websites that already do this? May 25 07:27:12 *email from a phone May 25 07:27:47 hmmmmm trying to remember where i saw the email picture feature, think it was wordpress actually May 25 07:28:09 Good morning May 25 07:28:12 boytoy: to be honest i don't use photo services other than G+, so i wouldn't really know May 25 07:28:28 cool May 25 07:28:49 g+ probably has something similar too for those who havent installed the app? May 25 07:29:06 they have something even better - instant upload May 25 07:29:36 your pictures sync automatically to a private feed and you can share them out of that album as you like, from your phone or your computer May 25 07:29:51 apple has something similar May 25 07:29:59 "live stream" or something May 25 07:30:02 wow May 25 07:30:52 they support private url's too, so you can share it outside of G+ (anyone with the link will be able to see it) May 25 07:32:07 Hiho. What is the best way to store tons of strings? I tried using a SQLite DB (but the data should be stored fast and SQLite sometimes try to access a locked DB). Storing in a HashMap() reults in outofmemory in some cases. May 25 07:32:08 marvellous May 25 07:33:12 misterli: SQLite is your best bet, you probably just have an implementation issue. Another technique would be to store them on a server and have the app act like a client, and only pull across the strings that are needed in an on-demand way May 25 07:33:30 but that would require an internet connection to use your app (which might be ok, depending on your needs) May 25 07:34:00 yeah, storing on the server.. I need to store the Filelist of /* (its a filemanager) on the server. Currently i store all in a HashMap send submit it via POST Request. It works on all new devices but on some older devices it fails with oom May 25 07:34:30 SQlite is fine on most cases too. Open the DB,insert via rawquery, close. But in some cases it's trying to access a "locked" database May 25 07:34:45 I have to open,write,close because it takes some minutes and if the device crashes while the process then the database is corrupted May 25 07:34:49 misterli: sounds like you might need to implement paging concepts - only load say, 10k strings at any given time May 25 07:35:34 Would it differ if i create more then just one hashmap? ;) May 25 07:36:04 think about how gmail app works - it doesn't show you every single email in your inbox at once May 25 07:36:14 I was thinking about storing it to a flatfile (e.g. .txt) in app's files/ folder May 25 07:37:04 storing it as a file vs db won't matter if it's too much to load into mem at once - you'll have to page it in and out of memory May 25 07:37:11 yeah, i know. This is easy if it does something like google mail. But i need to upload the filelist only once. After this the users can browse through on the data stored on the server. I dont want to have Internet access after it has been stored once May 25 07:37:33 yeah but a "file" has not a real lock like a SQL DB has, isnt it? May 25 07:37:58 oh ic, yeah that mechanism might act differently, not sure to be honest May 25 07:38:12 is it the upload that is time consuming? May 25 07:38:25 are you compressing the data first? strings compress very nicely May 25 07:38:37 No, but it should be uploaded as soon as the user is in Wifi and request the Command May 25 07:39:17 String compressing? May 25 07:39:43 yeah May 25 07:39:53 Ah. You mean gZIP them May 25 07:39:59 yep yep May 25 07:40:08 would save on upload, not on much else May 25 07:40:43 perist to db, upload in batches if loading all into memory at once is too big May 25 07:40:46 its a good starting point but still not a solution for Future :-) May 25 07:41:14 Currently i prefer storing them in a flatfile because it locate ram while opening and writing and release while closing the file May 25 07:41:20 (should do that) May 25 07:43:46 i'm assuming you're doing something like enumerating the file system and storing it locally, then later uploading it to a server? May 25 07:44:24 yes May 25 07:44:36 Jc_Dev: do lemme know if u manage to recall which website it was that let u mail ur photo to them May 25 07:44:49 boytoy: pretty sure it was a feature of wordpress May 25 07:44:58 oh ok May 25 07:45:05 getting all files with a recursive listFiles May 25 07:45:05 it would auto-post a blog entry May 25 07:45:06 thought u meant some wordpress site May 25 07:45:18 oh - nah, the actual wordpress software May 25 07:45:24 kewl May 25 07:46:15 so from a UX point of view it'd definitely be easier to email a photo to a site rather than using the site's existing html upload? May 25 07:46:34 misterli: as you're building up the list, when you hit a limit (e.g. a certain number of files), write it out to a zip file listing001.gzip, reset the vars internally to let them get garbage collected, and repeat until everything is enumerated May 25 07:48:03 boytoy: i think the email idea is the best way to do it without having to write any mobile OS software, from a UX standpoint implementing a "share to" option on the phone directly which launches an app specfic to your forum which auto-uploads and pops up a draft ready to post is probably a better UX experience May 25 07:48:27 Jc_Dev, sounds great. Ill think about something similar May 25 07:48:31 boytoy: also check out tapatalk.com May 25 07:49:36 boytoy: have you heard of that one? May 25 07:50:01 nice May 25 07:50:05 no i have not :) May 25 07:50:09 not sure if they have photo support, but they might May 25 07:50:35 pretty neat May 25 07:52:58 Jc_Dev: i dont have an iphone though and last time i checked sites like www.browserstack.com havent yet been able to emulate mobile apps May 25 07:53:09 (just certain mobile browsers) May 25 07:54:08 are there other ways perhaps? May 25 07:56:27 textual sucks ass May 25 07:56:41 2nd crash - i don't think i've ever had colloquy crash May 25 07:56:53 http://www.kickstarter.com/projects/cmwdotme/iemu-an-open-source-ios-device-emulator May 25 07:59:46 ah its available for android, neat May 25 08:00:06 they dont seem that good on UX though, considering I had to press the close button to open the website May 25 08:01:48 * StingRay_ hates the term ux May 25 08:02:01 oh and workflow and pipeline too May 25 08:02:05 StingRay_: what do you like to call it May 25 08:02:23 UI end of May 25 08:02:31 you do not DESIGN the user experience May 25 08:02:52 your attempt to predict the highs and lows and accordingly design just the UI May 25 08:03:19 ux,workflow, pipeline etc… all words invented and used by producer types May 25 08:03:28 cause they know not wtf they are on about May 25 08:03:32 most of the time ;) May 25 08:04:49 yeah those are kind of pie in the sky, i don't mind ux though, it encapsulates more than the ui, it can include things like tactile feedback, performance, etc May 25 08:05:32 StingRay_: good point :) May 25 08:05:54 Jc_Dev: na, ux you dont design May 25 08:05:55 yeah i dont mind ux either May 25 08:05:58 you account for May 25 08:06:03 and hope it's good May 25 08:06:14 rhymes with bucks May 25 08:06:15 at my work they call it "human factors" May 25 08:06:25 there ya go May 25 08:06:38 as good as we are, we do not control them May 25 08:06:43 or Human Computer Interaction May 25 08:08:10 I love these job ads, UX designer/creator etc May 25 08:08:22 what they looking for ? Universe ? God ?? May 25 08:08:25 what ? May 25 08:08:48 a telepathic maybe May 25 08:08:55 who can control the minds of users May 25 08:09:07 May 25 08:09:18 cause I know I'm gonna stop smoking May 25 08:09:37 getting a bad feeling about quitting May 25 08:09:43 I'm not a quitter ! May 25 08:10:08 lulz May 25 08:11:01 StingRay_ overwhelmingly people who smoke say they feel better after they quit :) that seems like a good reason May 25 08:11:14 "transitioning to oxygen full-time" May 25 08:11:41 hey I have stopped many times May 25 08:11:53 sometimes 4 months, sometimes 8 etc May 25 08:12:07 it just looks sooo f*kin cool though!! May 25 08:12:31 thats cultural. when i see somebody smoke, i think they are an uneducated dumbass May 25 08:12:32 get one of those electronic cigs, they're pretty cool, can even get them with nicotine in them and you can smoke them indoors May 25 08:12:48 its like obesity May 25 08:12:56 g00s: and when your look at me thinking that, I'm so cool I dont care :) May 25 08:13:06 when you loko at the group, statistically, there are traits which are over represented in that group May 25 08:13:18 grand master of ux May 25 08:13:18 searching for a billion bucks May 25 08:13:18 chilling as such May 25 08:13:18 love my peeps in #android so much May 25 08:13:45 * boytoy drops the mic and puts his hands in the air May 25 08:13:54 same with smoking, personality disorders are common in that group May 25 08:14:21 go boytoy go ! May 25 08:15:13 a couple i met at the dog park - known them for years - smoked so much they even killed their dogs - they could not sell their house, furniture, or car May 25 08:15:23 because it all smelled like shit May 25 08:15:34 but, the smell is just a proxy for toxic :) May 25 08:17:30 the other sad thing, is fathers that smoke. dna is damaged; epigenetic mutations; 3rd hand smoked passed to kids while hugging (conicotine found in urine, etc) May 25 08:17:42 oh well, end rant ! May 25 08:18:21 StingRay_ so what do you think of AS so far ? May 25 08:18:33 I think the UX could be betterer May 25 08:18:49 i thought it was cluttered May 25 08:18:52 maybe the pipeline with my workflow too May 25 08:19:00 when i start eclipse, it actually looks clean :| May 25 08:20:28 so how is AS anyways? May 25 08:20:51 do you think youll be switching to it anytime soon? 0r let others test and then see May 25 08:21:02 AS is ok May 25 08:21:07 gradle is not imho May 25 08:21:10 I like the cute android logo on AS May 25 08:21:11 well not for what I want May 25 08:21:13 whats AS? May 25 08:21:19 Android Studio May 25 08:21:24 oooh right right May 25 08:22:54 AS/IJ is missing a few things though May 25 08:23:09 a fair number of things I miss for android dev May 25 08:23:10 :( May 25 08:23:33 ask the devs of AS to include those features May 25 08:23:39 its bound to surpass eclipse though May 25 08:23:57 features Vs eclipse, it aint there yet May 25 08:24:02 well for me May 25 08:24:09 JetBrains is working with Android hand to hand May 25 08:24:13 I miss too much in eclipse atm May 25 08:24:26 but i hate change :/ May 25 08:27:31 i tried sublime2 yesterday, its pretty nice. i use vim / emacs but less and less, seems like all my real work is done in rstudio, eclipse, idea, or xcode May 25 08:27:50 eventually VS May 25 08:29:01 the only think i edit often beside config files is python then; i was using vim or komodo for that May 25 08:30:39 and git commit messages :) May 25 08:30:54 yeah I had to train myself to get used to other more normal editors because I had a bad vim addiction May 25 08:31:58 people laugh at you when you pop up wordpad and can't type May 25 08:33:11 heh, wordpad. thats like TextEdit for Mac - i think its meant mostly as an obj-c / xcode / mac example May 25 08:34:19 damn, i cannot get my PC to recognize the device May 25 08:34:27 the problem is the usb drivers May 25 08:34:38 im on Win 7, the device is Galaxy Tab 2 May 25 08:34:55 you have the sammy bs installed ? May 25 08:35:05 it worked fine but then i installed Android SDK and it stopped recognizing May 25 08:35:17 no i have no Sammy bs, dont even know what it is May 25 08:35:32 oh, i thought you needed the Kies drivers or something May 25 08:35:37 Assault: can you reinstall the usb driver again ? May 25 08:35:38 yeah i tried those too May 25 08:35:52 shmooz: yeah, i have tried May 25 08:35:58 the install always fails May 25 08:36:09 uninstall first May 25 08:36:20 install with administrator May 25 08:36:32 as* May 25 08:36:46 yeah i install always as admin May 25 08:37:00 shmooz: and thats done in the device manager, right? May 25 08:37:22 uhm, yeah probably May 25 08:37:43 or add/remove programs May 25 08:39:31 Assault: mine shows up in the Control Panel > Programs May 25 08:40:06 shmooz: u have the SDK installed as well? May 25 08:40:16 because thats what broke this thing May 25 08:40:16 Assault: yes May 25 08:40:24 whats your device? May 25 08:40:35 htc mytouch 4g clone May 25 08:41:23 in my Program list, it shows up as 'HTC Driver Installer' May 25 08:41:27 theres some google drivers included in the SDK extras, some instructions say i should use those...but cant install them either May 25 08:42:09 I updated the SDK recently and it didn't break my driver May 25 08:42:49 maybe you need to find another version that works better May 25 08:43:31 Assault: what do you mean you can't install them? May 25 08:43:48 maybe you need to create an ~/.android/adb_usb.ini file May 25 08:44:28 try http://blog.apkudo.com/2012/08/21/one-true-adb_usb-ini-to-rule-them-all/ May 25 08:45:12 not sure if this applies to windows tho May 25 08:45:30 does anyone have problems with GCM too? Sometimes messages are not received (or with heavy delay) and sometimes the App keeps staying in Wakelock... May 25 08:46:47 Assault, have you tried manual driver install? system -> device manager -> device name -> right click -> install driver and browse for google usb drivers in android sdk/ May 25 08:47:13 Solupus: when I do that it says something like cannot locate driver May 25 08:47:22 ill check soon whats the actual message May 25 08:47:26 but heres what happens: http://s3.postimg.org/ojc0jdrs3/androidsux.png May 25 08:47:38 hehe nice name :) May 25 08:48:39 =) May 25 08:49:07 ok so when i try the manula driver update and give the path to the google drivers that came with SDK, it says the best driver is alrady installed =) May 25 08:49:15 http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/the-mtp-usb-device-driver-doesnt-install-i-cannot/c85da1e4-9303-4d36-8659-c06864554cbe May 25 08:49:17 seems youre not alone May 25 08:50:02 http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/mtp-usb-device-drivers-were-not-installed/00b4f831-6381-4eae-98ef-f2c00bcdb35b May 25 08:50:06 try Shevon Silva's answer May 25 08:50:42 and if that doesn't work just keep scrolling down :) and i think itll fix May 25 08:54:13 so they are saying you need to uninstall first as well May 25 09:08:18 errr where is "save as" ? May 25 09:08:39 ok I uninstalled all the drivers and rebooted...now should I install the drivers using Kies and then connect device? May 25 09:09:03 Kies has this conenction error wizard thing that reinstalls drivers May 25 09:10:50 nope, same fucking result May 25 09:11:11 ive wasted too many hours of my weekend because of Android already May 25 09:12:05 guess I just have to keep trying May 25 09:13:20 Assault: on that link http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/mtp-usb-device-drivers-were-not-installed/00b4f831-6381-4eae-98ef-f2c00bcdb35b try what 'Colin in Teesside' has tried to fix it May 25 09:14:21 ok im gonna try that later, gonna get out away from computers for a while now =P May 25 09:14:37 Assault, I have the same version of Galaxy 2 Tab as you. IMO, Kies causes more problems so i'd recommend wiping it from your computer May 25 09:14:54 it seems more of a windows 7 error than an Android one though May 25 09:19:03 Assault: its only just begun (android wasting hours) ;) May 25 09:23:00 g00s: the default device or all devices for run config is missing from IJ/AS and thats bad May 25 09:23:09 I really dont like that at all May 25 09:23:11 is it faster to load a resource drawable via ID or Uri? May 25 09:23:25 one likely delegates to the other at some point, right? May 25 09:24:15 would have thought Uri is a much higher representation than a simple id May 25 09:24:45 i'm using Bitmap.decodeXxx May 25 09:25:01 trying to figure out if it's worth it to special case resource IDs or not May 25 09:26:41 would that not depend on the amount of lookups ? May 25 09:26:56 i'm a library May 25 09:27:32 a resource management lib ? May 25 09:28:08 I *think* that a resource ID is only a pointer to an underlying mapping of Uris basically May 25 09:29:41 wow really ? I would have thought the opposite May 25 09:29:58 it calls down into native code pretty deep ( http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.2.2_r1/android/content/res/AssetManager.java#AssetManager.getResourceValue%28int%2Cint%2Candroid.util.TypedValue%2Cboolean%29 ) which maps an ID to some string for lookup here: May 25 09:29:58 http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.2.2_r1/android/content/res/AssetManager.java#AssetManager.openNonAsset%28int%2Cjava.lang.String%2Cint%29 May 25 09:30:32 which is also in native code. it's definitely using a string for the actual mapping to eventual input stream May 25 09:36:16 can't find the cpp that backs the native calls though May 25 09:44:21 maybe try loading that cluster of c files into doxygen for a call flow graph May 25 09:46:56 doing some "scientific" testing instead May 25 09:47:18 got your lab coat on ? May 25 09:50:58 i forgot my lab coat. hope there are no dangerous chemicals around May 25 09:52:16 * g00s takes the bunsen burner away from thecodeischaos May 25 09:52:29 and no Na in H2O either ! May 25 09:53:32 how about Cs? May 25 09:54:10 hm, dunno how that will work. give it to JakeWharton , i think he's the only one with goggles May 25 09:54:30 Uue :D May 25 09:54:42 Uri is slower May 25 09:54:51 by an order of magnitutde May 25 09:55:27 not surprising really, but the difference is larger than I would have expected May 25 10:03:25 JakeWharton: Care to share the actual numbers? May 25 10:04:02 And testcase. May 25 10:04:06 1000 Bitmap decodes of a resource by ID in 293ms, by Uri was 2354 May 25 10:04:55 testcase was a for loop to 1000, a 40x40 image and two calls to BitmapFactory.decodeResource/decodeStream wrapped by System.nanoTime() markers May 25 10:04:55 makes sense May 25 10:04:59 Good to know. I guess that's for Picasso? May 25 10:05:12 yeah May 25 10:05:17 in the res case the apk ist maped by nmap May 25 10:05:40 The portsanner? May 25 10:06:11 off by one error May 25 10:06:33 sry mmap not nmap ;) May 25 10:06:39 But what are you going to do with that information? Can you really special-case it? Because I guess, I, as the user, decide whether I provide a Uri or an Id. May 25 10:07:25 you can provide either but whether i treat them differently or normalize to the same code paths is up to me May 25 10:08:59 True. May 25 10:10:01 You said in the 1.0.2 changelog that the native disk cache is only used in API 14+ but mentioned that "you're all using OkHttp". Does OkHttp have its own or a backported DiskCache? May 25 10:10:04 * kakazza digs into the code May 25 10:10:12 yes May 25 10:10:23 it's a 100% standalone implementation that works on all API levels May 25 10:10:33 it also add SPDY, better connection pooling, etc. May 25 10:11:32 So it's tailor made and not just a backport? May 25 10:12:43 sort of. it has a long, tumultuous history May 25 10:12:58 Heh May 25 10:15:00 What part of it was the hardest to write/design? Caching algorithm fit for Android? May 25 10:15:21 I'd think caching is difficult to write as a 'one size fits all' solution. May 25 10:17:28 1.5 years ago OkHttp was a standalone port of the code that backed UrlConnection in AOSP. Over the last year we've updated it to be better at everything. A month or two ago it was accepted back into AOSP as an external library that will back UrlConnection on future versions of the platform. May 25 10:17:51 So you see, it wasn't just written from scratch. It's evolved. May 25 10:19:02 Hmm, do you think http-requests could make OkHttp an optional dependency? May 25 10:19:21 With the same trick Picasso does it? (And when I say trick, I mean if/else condition) May 25 10:19:31 yes. Picasso and Retrofit do it already. They both use OkHttp automatically if it's detected. May 25 10:19:48 But do you think http-requests would profit from it? May 25 10:20:25 Every HTTP connection that uses UrlConnection in any capacity would profit from using it. May 25 10:29:27 I'd love to hear more about the details. I guess the major advantages are listed on the okhttp website in the bullet points of the first paragraph. May 25 10:30:35 just think of it this way: OkHttp gains a feature. You only see it on the next major version of Android if you use Url.open. You see this on every version of Android if you use OkHttp directly. May 25 10:37:25 Yeah, but if I had to argue with other developers, why I am suddenly dropping in a library for something that already works, I'd need more than that. May 25 10:37:59 Sure I see the list of features, but then again, I never dug deep enough into UrlConnection to see why it's better and what the difference is in implementation and result. May 25 10:38:16 normalization May 25 10:38:29 What is normalized? May 25 10:38:41 everything dealing with HTTP May 25 10:38:53 no more API-specific bugs and problems May 25 10:39:02 You mean not having UrlConnection or ApacheHttpClient but "just" OkHttp? May 25 10:39:35 well it's still the UrlConnection API, it's just better code that backs it and it's the same code on every API level because it's a standalone library May 25 10:41:28 Very well May 25 10:41:50 greetings, can someone give me a hint how to go about adding a new project library (google_play_services), in the new Android Studio IDE? May 25 10:43:40 just grab the jar an put it in May 25 10:43:54 J-J-JAM IT IN!! May 25 10:43:55 many tutorials on SO about how to add a jar lib May 25 10:43:57 then thrust the spear into the jar May 25 10:44:04 play services is not a jar May 25 10:44:10 it is May 25 10:44:26 it isn't May 25 10:44:29 JakeWharton is right. May 25 10:44:38 google-play-services.jar May 25 10:44:40 mornin. May 25 10:44:43 * StingRay_ looking at it now May 25 10:44:49 gmorning Mavrik May 25 10:45:47 StingRay_ just had to send textual devs 3 crash reports; yeah this was stupid. colloquy worked May 25 10:46:01 StingRay_: it's a library project May 25 10:46:43 SDK/extras/google/google_play_services/libproject/* May 25 10:47:52 correct. it's a library project that contains a compiled jar in libs/ instead of source code in src/ May 25 10:49:59 arses so I should be using the full src ? May 25 10:57:52 I am calling setDefaultKeyMode(DEFAULT_KEYS_DISABLE) in my activity. Yet I can still press the BACK button to exit the app. What am I missing? I suspect I need to put something into the AndroidManifest.xml too? May 25 11:00:09 you just want to stop people for exiting your app ? May 25 11:00:18 or just stop back button ? May 25 11:03:38 He just wants to make his users suffer May 25 11:06:07 hi. i have a scrollview but when i run my android application it starts centered. is there a way to start it with the scroll at top instead of at middle? May 25 11:07:31 you can scroll to a position, but I'd probably figure out why it starts in the middle May 25 11:07:34 cause thats not normal May 25 11:08:07 oh you mean the scroll view is in the middle May 25 11:08:07 it starts in the middle perhaps because it is a long scrollview layout May 25 11:08:11 yes May 25 11:08:37 scrollview.pageScroll(View.FOCUS_UP); May 25 11:08:40 will it be something like this? May 25 11:08:52 no May 25 11:09:24 so the items in there above and below where it starts ? May 25 11:09:36 cause thats a bit odd :) May 25 11:10:06 unless you focused a view somehow, or you set selection or something May 25 11:10:53 yes the items on top are hidden behind the actionbar May 25 11:11:34 and the items at the bottom are too ? May 25 11:11:39 well run off the bottom May 25 11:11:41 ? May 25 11:11:51 By default, it's not scrolled down.. So you did something somewhere to make that happen May 25 11:12:46 yes they are. hm.. i have a relative layout inside a scrollview (this is the root in xml).. perhaps there's something wrong in there? May 25 11:13:35 i have scrollview with fill parent in width and height and relativelayout with wrap_content in both too May 25 11:14:07 ok, now can you scroll with your finger so that it's where you would expect it ? May 25 11:14:20 yes May 25 11:14:58 do you requestFocus / or anything on any of the views in the scroll ? May 25 11:15:03 no May 25 11:15:29 whats view is just fully visible at the top May 25 11:15:46 move that to the bottom and see if anything changes May 25 11:16:41 are there any views that would expect to have focus in some way ? EditText etc ? May 25 11:17:10 oh balls. I have like half a day of cigs left May 25 11:17:15 then thats it :( May 25 11:17:29 wtf will I do with all that time ??? May 25 11:18:11 learn to do deep meditative breathing May 25 11:18:25 there's a textview that i want to be at top May 25 11:18:40 barad: editText ? May 25 11:18:53 lasserix: I cant, would get out of breath May 25 11:18:57 too much work doing that May 25 11:19:16 there such a thing as short meditative breathing ? May 25 11:19:22 yeah May 25 11:19:25 no May 25 11:19:38 barad: pastebin your layout May 25 11:19:42 of course you do at your own pace, but idea is to make the breathing a rythm May 25 11:20:14 and this will somehow bend space and time and get my body the nicotine it needs to stop me killing everyone ? May 25 11:20:16 overtime you take longer to inhale and you can take deeper breathes May 25 11:20:17 yeah May 25 11:20:32 it is fixed May 25 11:20:34 because if done right you can "zen out" for a few minutes the craving itself will pass May 25 11:20:49 i wrote that in xml of my layout inside scrollview May 25 11:20:50 android:focusableInTouchMode="true" May 25 11:21:10 you may not totally drop the addiction, but you will have better circulation and feel better :) May 25 11:21:25 thanks for the help :) May 25 11:21:34 lasserix: well my plan was to hit some weights everytime I wanted a ciggy May 25 11:21:51 then hit the door after the weights failed or got too hard May 25 11:22:02 same idea just easier to do if you don't have weights laying around May 25 11:22:22 I have the weights prepped behind me in my office May 25 11:22:23 :) May 25 11:22:47 plus while it does make a huge difference not smoking and exercising, it is literally easy to excerise despite smoking May 25 11:23:47 that's why stage is two is only smoking the tabacoo you grow yourself :) May 25 11:24:27 * StingRay_ thinks about skipping stage one and going to stage 2, looks online for pre-grown tobacco plants May 25 11:24:29 i think part of the problem is cigs are so much like the perfect mass produced consumed commodity, but if you had a nice wood pipe and sit on it like gandalf or merlin, might be more enjoyable and less of a nasty habit May 25 11:24:30 who knows May 25 11:24:51 anyways gtg good luck! May 25 11:24:56 I did actually get a pipe to smoke my tobaco May 25 11:27:00 its all fun and games until you're coughing up blood May 25 11:27:20 ^thats the funnest part May 25 11:27:43 I bet i would look cool doing that :) May 25 11:27:53 but if i recall, smokers have higher all-cause mortality rates; so you're more likely to die from everything :F May 25 11:28:25 Die from ALL the things! May 25 11:32:38 kakazza that would be like, getting eaten by a tiger while drowning and burned from a lightning strike May 25 11:34:11 while suffering from malaria... May 25 11:35:09 and all other infectious diseases, viruses, etc ... May 25 11:35:19 radiation exposure ... May 25 11:35:28 blunt trauma May 25 11:35:44 well, that would probably come from the tiger knocking your head off May 25 11:36:01 russian satellites falling from space May 25 11:36:11 meteor to top it off May 25 11:36:28 fuck man, maybe the infectious disease came from the meteor May 25 11:37:13 Leeds i guess you heard, google edition of htc one May 25 11:39:09 I heard rumours... May 25 11:39:31 it's gonna be eexpensive :( May 25 11:39:39 wtb nexus five :( May 25 11:40:06 stork: ITYM "It's going to be full retail price!" May 25 11:40:29 that's pretty much what i mean, yeah May 25 11:41:21 g00s: lots of "sources say" - no "HTC say" May 25 11:44:52 oh, i've restricted most of my tech news these days to the verge - they usually don't report rumors May 25 11:45:20 guess it comes down to this Russel Holly guy May 25 11:45:59 meanwhile … http://www.androidpolice.com/2013/05/24/google-services-bug-causing-location-issues-for-htc-owners-google-working-on-a-fix/ May 25 11:48:00 the special stock versions are kinda useless in my opinion. sure, it is great to have stock running on these devices, but without the stuff samsung and htc put on top of it, they are not really better than/different to the nexus 4 (despite the cpu/gpu power, which is kinda irrelevant though) May 25 11:48:52 maybe it's irrelevant to you, but I think a lot of people put a lot of stock in display/cpu/gpu/aesthetics/etc May 25 11:49:54 the s4 is ugly as shit (my opinion) compared to the nexus 4, the one is beautiful of course May 25 11:50:06 I personally despise the chrome rim around my nexus 4 and can't wait to ditch it asap :D May 25 11:50:43 the only thing annoying me on the nexus 4 is that it falls of everywhere because it slides so easily May 25 11:51:02 I'd be happy to get the new revision with the little dots at the bottom to prevent this May 25 11:51:12 I keep thinking that light reflected off the chrome rim is my notification light flashing and it drives me insane May 25 11:51:47 https://www.facebook.com/photo.php?fbid=10151638760850708&set=a.122848340707.136721.103692790707&type=1&relevant_count=1&ref=nf May 25 11:51:49 i hate those embellishments; i like the closest thing to a thin slab of glass May 25 11:52:08 hmm somehow my UriMatcher does not match on '/#123' ids. somehow I need to format my urls differently, but I don't really know what to change May 25 11:52:23 don't have any issues with the chrome reflecting anything on mine May 25 11:53:51 I think I'm just retarded or something May 25 11:54:06 yeah probably :) May 25 11:54:08 stork no, thats interesting May 25 11:54:30 mostly happens at work where there are a lot of flourescent panels above.. shrugs. May 25 11:57:54 well, this is why Play is filled with total crap https://play.google.com/store/apps/details?id=com.gr8media.doubbass May 25 11:58:08 This app utilises some 114 video lessons on how to play the double bass. May 25 11:58:24 6 pages of this shit on play ... May 25 12:00:59 from the same dev May 25 12:01:57 g00s: well "I am rich" on iOS for $499 makes more sense to me :) May 25 12:02:31 Android sources <3 found the issue with my UriMatcher May 25 12:03:49 * stork ponders the best way of using twitter4j asynchronously. May 25 12:07:32 asynchronously, of course ! May 25 12:07:52 yeeaah but howww May 25 12:08:01 new Thread(..).start() May 25 12:08:08 \o/ May 25 12:08:16 and callback via handlers? May 25 12:08:48 You probably want to use a service or something May 25 12:09:17 seems like overkill for just retweeting/favouriting/replying from within the app May 25 12:09:30 i want to use a top model May 25 12:09:31 or does it May 25 12:10:01 probably more of a pita to maintain that state in an activity May 25 12:10:11 make activities / frags as stateless as possible May 25 12:13:27 could use an intentservice to do it for me but then how would I handle the result in the activity? intentservice isn't good at holding state either May 25 12:15:48 Is it a twitter client? May 25 12:16:12 thankfully not May 25 12:16:21 just an app that has some twitter functionality May 25 12:17:10 You could use e.g. an event bus May 25 12:18:15 you can also use what android gives you, ContentResolver.notifyChange() and ContentResolver.registerContentObserver May 25 12:18:28 depends on how simple your needs are May 25 12:18:53 esp if you are api 16+, this works nice b/c the observer actually gets the Uri change May 25 12:19:06 prev versions of android didn't; so fucking lame ! May 25 12:19:40 is there a way to "package" your .apk file so others can install it without 3rd party tools? May 25 12:23:11 atm most of my twitter stuff is encapsulated in a model class which is pretty much a singleton, maybe I could use that to hold state and use an eventbus to pass it around May 25 12:24:21 could hold maps holding result from async tasks like retweets/favourites for specific tweets May 25 12:33:40 StingRay_, SimonVT, About BACK button; I just want to exit gracefully. Currently when user press BACK, sometimes message "App has stopped unexpectedly" pops up. So instead, I code my own exit functionality that stops everything before exiting. I'm sure it worked at some point, but I must have changed something because now the setDefaultKeyMode() has no effect. BACK button can be pressed anyway, even if I disable my own exit functionality. May 25 12:34:20 sounds sort of like sticking a band-aid over the problem rather than fixing it May 25 12:34:20 is that just onPause(), onStop(), onDestroy() etc ? May 25 12:35:33 StingRay_, I'd think so yes. May 25 12:36:00 so why are you not using them to stop, whatever it is that you need to ? May 25 12:36:20 I'm guessing your app doesnt rotate either ? May 25 12:36:22 :) May 25 12:36:59 Is it possible to use the sans-serif-light typeface without italics? May 25 12:37:01 StingRay_, Well true, it's a portrait only app, set in manifest, but rotating worked fine before I got to that though. May 25 12:37:59 why not just fix whats causing to to close ? May 25 12:38:07 force close I mean May 25 12:38:52 Fix the issue that's causing it.. you get several callbacks when the activity is finishing May 25 12:39:04 StingRay_, What's forcing the close is that the user pressed back button, isn't it? Then my app doesn't always get to complete the loop it's doing, meaning it'll try to access SurfaceView while SurfaceView is not visible = bang. May 25 12:39:45 then onPause or onSurfaceView*** handle it May 25 12:40:16 you cant change the way android works to solve a problem that is dev related May 25 12:40:24 thats just…well…. bit odd May 25 12:40:26 :) May 25 12:40:51 and btw, I'm an artist … and even I think that ;) May 25 12:41:40 StingRay_, Well... I'm (trying to) develop the same game for Android + JavaME with someone the same code. That's probably part of the issue. May 25 12:42:09 the problem I think is your not dealing with state change in the app May 25 12:42:31 I am May 25 12:42:48 not if your attempting to access something thats null your not :) May 25 12:42:56 I'm not. May 25 12:43:11 oh, then I'm missing something May 25 12:43:34 well no the view draw ability of surfaceView then May 25 12:43:53 eg, why would you draw to something that is not there ? May 25 12:44:02 and not in a visible state May 25 12:44:47 neways, override onBackPressed() if you want…but it's a bit wrong May 25 12:44:57 -r May 25 12:45:17 onBackPressed requires API level 5. May 25 12:45:42 holy munchkin batman May 25 12:45:44 There is a setDefaultKeyMode() function one is supposed to use. May 25 12:45:49 whats your target ? May 25 12:45:54 min sdk i mean May 25 12:45:58 API 4 May 25 12:46:11 wow May 25 12:46:14 funky May 25 12:46:19 hi May 25 12:47:07 the led color when the phone is off , it s from the firmware, from android or it s wired in ? May 25 12:47:35 orogor: yes May 25 12:47:46 ... yes whicj one ? May 25 12:47:49 all May 25 12:48:03 android controls the firmware call that is wired in to the led May 25 12:48:04 StingRay_, It's part of the hobby; making it challenging. So, target API 4 along with MIDP2.0 CLDC1.0 JavaME at the same time. Fun. May 25 12:48:05 :) May 25 12:48:31 so a bit everything May 25 12:49:02 whats the best known android certification out there May 25 12:50:46 StingRay_, Using onDestroy forces me to type some code I don't particular like. E.g. threadrunning = false; while (!done) {wait for thread to be done} May 25 12:52:20 there is "thread.join()" for this very reason ;) May 25 12:53:34 Mavrik, That's exactly right. But you still have to do e.g. : retry = true; while (retry) { try { thread.join() retry = false; } catch (Exception e) {} } May 25 12:53:37 mr_lou: There's challenging and there's wasting time. Do yourself a favor and drop API <9 May 25 12:53:48 That just looks messy to me. May 25 12:53:55 kakazza, No. :-) May 25 12:54:15 Out of the 0.1% of users on API 4, zero will download your app. May 25 12:54:16 Gotta get those extra 5 users May 25 12:54:25 kakazza, I know. It's not about that. May 25 12:54:52 But about...? May 25 12:55:54 kakazza, I just like to be able to say that it runs on limited platforms. May 25 12:58:20 What I want to do is simply, to catch the user key press, and ask. if (keycode == KEY_BACK) nextState = EXIT; // That lets the current loop complete before it changes to exitting. In order for that to work, I have to be able to disable default keys though. setDefaultKeyMode(DISABLE_DEFAULT_KEYS) should do that, but it doesn't. So what am I missing? May 25 12:59:11 Oh wait...hmm May 25 12:59:17 * mr_lou checks something May 25 13:02:42 Oh god I'm so stupid (You get that one for free). Turns out I included in my own library; if (keycode == BACK or VOLUMEKEYS) letSystemHandleIt(). May 25 13:02:45 * mr_lou dumbslaps himself May 25 13:04:06 See, that's why you fix your bugs instead of hiding them with crap like that May 25 13:05:24 Ok SimonVT May 25 13:17:08 * StingRay_ is liking intelliJ if it just had a few features of eclipse/adt it would be perfect May 25 13:18:39 mhm May 25 13:20:59 well maybe it does, but no1 answers when I ask :) May 25 13:21:06 and i cant find them May 25 13:23:04 StingRay_, like which ones? May 25 13:23:37 simple things May 25 13:23:49 like ability to "always target this device" May 25 13:24:00 or even better "target all connected devices" May 25 13:24:20 that option should be in run configurations May 25 13:24:42 i highly doubt you can run app on multiple devices at once though May 25 13:25:17 it is not, and eclipse could May 25 13:28:19 you can with a script May 25 13:28:24 probably May 25 13:29:41 http://www.theverge.com/2013/5/24/4363960/google-no-longer-able-to-pay-developers-in-argentina-for-apps-pulling May 25 13:29:54 also at http://www.reddit.com/r/Android/comments/1f04vw/google_no_longer_able_to_pay_android_developers/ May 25 13:32:45 im glad i dont live in argentina May 25 13:33:55 that is really unfortunate for devs out there May 25 13:34:21 yeah May 25 13:34:32 the woman running argentina seems a bit crazy May 25 13:35:27 even though, Google doesn't give much effort into fixing these kind of things May 25 13:35:58 Cristina Fernández de Kirchner May 25 13:36:09 Argentina is totally mad, they even restricted the possibility for people to buy foreign currency and travel May 25 13:36:28 ie, they are afraid of hyperinflation, but are reacting to it in the worst way possible May 25 13:37:27 Mavrik probably because they have to spend so much time trying to prevent their own government from ruining the internet and their business... May 25 13:37:36 meh May 25 13:37:57 it isnt googles job to fix argentinas problems May 25 13:37:58 * Looney considers that what happens in Far Far Away should stay in Far Far Away May 25 13:37:58 I'm living in country where I can't sell apps and services over play May 25 13:38:10 what country is that mavrik? May 25 13:38:12 take their sopa blackout, without them it may of not had such a big affect...take all the millions they spend on lobbyists in washington or the billions they're forced to spend on patents... May 25 13:38:13 while Apple couldn't be happier letting us sell apps and buy media services (Google Music of course is dead) May 25 13:38:21 thecodeischaos, Slovenia May 25 13:38:50 i see May 25 13:38:54 and no, we don't have Argentina-style regulations, neither do we have our own currency. Google just doesn't give a damn. May 25 13:39:06 of course, that means most people develop for iOS and sell their stuff there. May 25 13:39:22 Mavrik you assume google could make argentina change their mind May 25 13:39:37 maybe they did try and lobby them and were shot down May 25 13:39:53 Speedstick, I just wonder how much could they do to transfer USD into argentina May 25 13:40:06 no country is going to be against getting hard currency into the economy May 25 13:40:13 or maybe there's not that many argentina devs...so perhaps they don't care, I really don't know May 25 13:40:33 Mavrik yeah maybe they'll work something out May 25 13:40:34 let's check if Apple still allows Argentinean devs to sell apps shall we? May 25 13:40:43 go for it May 25 13:40:54 Mavrik if apple does it may not be for long May 25 13:41:14 i wouldnt be surprised if apple bribed people too May 25 13:41:34 apple also doesn't own one of the top search engines on the planet, you forget lot of these government pressure companies in different ways, if they don't get their way on one thing they can ruin another May 25 13:42:00 for instance china I believe wants to spy on google.com traffic so google is pulling out of there or something like that May 25 13:42:25 " Google pulls out of China. " May 25 13:42:38 Microsoft has said it does not have plans to follow Google's lead and pull out of China. May 25 13:42:42 haha why would they May 25 13:42:49 they already don't have much market share :) May 25 13:43:03 Speedstick, that's old news May 25 13:43:20 yeah but my point is you never really know what's going on behind the scenes May 25 13:43:21 Google works perfectly in China May 25 13:43:53 Speedstick, and my point is, Google's Play international support is crap in comparison to their greatest competitor May 25 13:43:56 well that article is 2 and a half years old, so the issue wasn't that long ago May 25 13:44:10 Mavrik well to be fair May 25 13:44:25 android store doesn't charge $100 a year like their compeitors May 25 13:44:29 play store whatever May 25 13:44:33 and? May 25 13:44:47 they DO charge 30% off every download May 25 13:44:55 other companies have more money to through at the problem May 25 13:45:00 throw even May 25 13:45:09 more money than Google? May 25 13:45:32 i think apple has more May 25 13:45:45 yeah and apple is googles greatest compeitor May 25 13:45:55 in terms of mobile app revenue May 25 13:46:22 "support is crap in comparison to their greatest competitor" May 25 13:46:50 I've said before, if google ever published proper app figures that actually mean something, they would loose lots of "potential" developers May 25 13:47:14 both these companies are running a business. i am sure some employees care about the greater good... but most of their decisions are strategic, so what works in what country is down to their strategic choice and what they could achieve if it was worth the effort in their opinion May 25 13:47:35 yeah exactly May 25 13:48:05 I bet google is working with argentina still May 25 13:48:08 StingRay_, yeah, sales numbers are abysmal on play store May 25 13:48:15 not that May 25 13:48:25 Speedstick, hmm, I just think you really didn't deal with them directly enough May 25 13:48:36 (having said that, dealing with Apple directly is even worse) May 25 13:48:43 i can imagine the figures now, top 100 apps account for 98% of revanue, of the 4 billion downloads, 90% uninstalls May 25 13:48:58 Mavrik it's because they need to charge a yearly fee, just like everyone else does, that way it'll really discourage spammers/abusers and increase the quality because only those who are serious in app dev will release products May 25 13:49:02 Speedstick, I have worked with companies which decided to rather roll their own services instead of having a single additional meeting with Google lawyers May 25 13:49:12 the extra money can be used more to help stop malware too May 25 13:49:15 so I think you're slightly overestimating Google goodwill ;) May 25 13:49:20 on average, indie devs get 100 downloads and a retention of 10% :) May 25 13:49:27 yeh. the whole meta thing is a bit unbalanced, the top few apps get the best reviews which gets them more downloads and the cycle goes on May 25 13:49:29 StingRay_, yeah, but that's not a secret May 25 13:49:36 that's a typical distribution everywhere May 25 13:50:43 thecodeischaos that's for anything though May 25 13:51:07 kindle is the same way, where as ebay you have to filter through the crap and the quality and do guesswork May 25 13:51:16 not kindle but amazon rather May 25 13:51:21 true May 25 13:52:05 I do wish the playstore would highlight new apps though, or maybe apps on sale May 25 13:52:18 it is slightly compounded on play store though, because of how the top app show up first by default. where as amazon and ebay have more random content May 25 13:52:19 have a seperate section for that, so early adopters get good deals May 25 13:52:29 Speedstick: I would want them to have a pro rating May 25 13:52:35 yeh, having more options on play store would be nice... im sure they will add some in future May 25 13:52:45 but as it is now it is useable anyway May 25 13:52:58 and im pretty sure my apps will be in the top 10 anyway :) May 25 13:52:59 lol May 25 13:53:25 I seen a guy on the /r/android-dev subreddit get a letter saying he was banned for life from the play store May 25 13:53:29 wonder what he did May 25 13:53:43 or banned "indefinitely" May 25 13:55:35 probably a terrorist training app or something May 25 13:56:27 or just malware May 25 13:56:40 anyone know why I'd get "Could not find com.android.tools.build:gradle:gradle." when attempting to use the new gradle build system? May 25 13:57:48 IJ or AS ? May 25 13:58:37 hm? I'm just running gradle tasks from the command line May 25 14:03:34 http://pastie.org/7957666 here's the output May 25 14:05:28 Too many :gradle's May 25 14:05:47 dont you normally get that when it cant resolve a libaray ? May 25 14:06:02 ah. one sec then, lemme retry May 25 14:06:28 I guess the samples they uploaded yesterday are broken May 25 14:07:11 I think AS/Gradle is broken at the moment May 25 14:10:26 yeah, seems like it. the 0.3 samples build just fine, it's the 0.4.1 samples I'm having trouble with May 25 14:28:48 playing around with android studio. How do I get it to inspect String val = getString(R.string.app_name); so that it shows the string instead of getString? May 25 14:45:49 just came up with a great app idea May 25 14:45:59 its actually a widget May 25 14:46:11 have you guys ever used a htc hd2 windows phone May 25 14:46:19 well i used to have one and loved it May 25 14:46:27 i loved the weather widget on it May 25 14:46:46 it was by far the best weather widget i ever seen May 25 14:47:02 so i wonder if i can find the code for it on the web or the widget May 25 14:47:10 and then decompile it May 25 14:47:16 and write it for android May 25 14:47:32 what do you guys think of that idea May 25 14:47:43 or can you suggest to me a really great weather widget May 25 14:47:51 i have a samsung galaxy s4 May 25 14:47:55 not sure what decompiling it is going to get you.... May 25 14:49:28 i like eye in the sky May 25 14:49:43 +1 May 25 14:54:50 i found this decompiler that decompiles into psuedo code May 25 14:54:51 i think May 25 14:54:59 i think it was very expensive though May 25 14:55:03 don't remember May 25 14:55:15 it would decompile assembly or machine code May 25 14:55:20 into psudeo code May 25 14:55:37 seems foolish to me. May 25 14:55:46 really May 25 14:55:47 what language are windows phone apps written in? May 25 14:55:50 c# May 25 14:55:57 ahh May 25 14:56:03 it was windows 6.1 May 25 14:56:05 lol May 25 14:56:07 that would be pretty decompilable right? May 25 14:56:13 windows mobile 6.1 May 25 14:56:19 I wouldn't even bother with that :) May 25 14:56:30 man you haven't seen the weather widget May 25 14:56:31 then May 25 14:56:41 what's so great about it? May 25 14:56:46 you don't need the code to replicate it. May 25 14:57:04 clouds come across the whole screen and they are transperent May 25 14:57:13 and it automatically updates the weather May 25 14:57:17 where ever you are May 25 14:57:22 and it knew where ever i was May 25 14:57:26 and im in australia May 25 14:57:37 sounds like the htc widget. May 25 14:57:43 none of the other weather widgets i seen know exactly where i am May 25 14:57:46 yer htc widget May 25 14:57:49 so gps + get weather data from internet + animations? May 25 14:57:56 yes May 25 14:58:02 yea, the HTC widget ships on HTC android phones. May 25 14:58:19 i think even if you decompiled it, the android sdk has completely different ways of doing everything May 25 14:58:20 but the htc widget on android phones looks crap May 25 14:58:29 compared to the hd2 windows htc May 25 14:58:42 this isn't really a development question, pretty off topic. May 25 14:58:52 it had no where the amount of detail in it May 25 14:59:15 yer you might be right erdos May 25 14:59:21 but i was going to port it May 25 14:59:33 rewrite it for android May 25 14:59:54 you could probably just think it all through and build it up May 25 15:00:05 yer May 25 15:00:07 which part is particularly tricky? the location stuff? May 25 15:00:17 yer the gps stuff May 25 15:00:25 and where do i get htcs weather from May 25 15:00:29 it seems to be great May 25 15:00:45 because that's completely abstracted away with android, you just ask the phone where you are and it tells you May 25 15:00:53 realy May 25 15:01:09 because of google maps? May 25 15:01:30 no it's just part of the sdk May 25 15:01:33 oh May 25 15:01:46 http://developer.android.com/guide/topics/location/strategies.html May 25 15:01:54 the samsung weather widget is nice May 25 15:02:08 but i always wanted that hd2 widget back May 25 15:02:56 i ended up bricking my htc hd2 after i put a ported version of gingerbread android on it and then tried to load telstra windows mobile onto it being a t mobile phone May 25 15:03:02 telstra is australian May 25 15:03:12 i actually bought it in the usa May 25 15:03:17 and came back to aus May 25 15:03:36 didnt know i had a slightly better phone then the other hd2s May 25 15:03:40 and bricked it May 25 15:03:41 lol May 25 15:04:04 but i love my samsung galaxy s4 May 25 15:04:50 do you know if they have a pdf version of all that android documentation May 25 15:05:13 no, but the print style sheet is fine, i just printed out the whole thing May 25 15:05:13 on http://developer.android.com May 25 15:05:19 really? May 25 15:05:23 yah May 25 15:05:26 i wanted to put it on my phone May 25 15:05:34 oh, you can download it May 25 15:05:46 as a bunch of html May 25 15:05:49 if you want it on your phone May 25 15:05:52 oh May 25 15:06:09 how would i do that May 25 15:06:14 save the whole page May 25 15:06:19 nah May 25 15:06:25 and subdirectories May 25 15:06:25 have you downloaded the sdk? May 25 15:06:28 yes May 25 15:06:42 its in the sdk? May 25 15:06:54 in the sdk manager, where you choose which versions of the sdk you want, you just check to download the docs May 25 15:07:08 then it plops them in a docs folder next to the sdk files May 25 15:07:39 ahh May 25 15:07:41 thanks May 25 15:07:45 np May 25 15:07:49 i having a problem May 25 15:07:53 with android studio May 25 15:08:23 i can't create a project without it saying my sdk is out of date May 25 15:08:36 i downloaded the adt bundle cause i read somewhere i need to update that May 25 15:08:47 cause i had an older version for eclipse it seems May 25 15:09:05 just exracting it now May 25 15:09:15 you do sdk updates through the same thing you're using to get the docs May 25 15:09:24 for sure May 25 15:09:37 but keep in mind android studio has only just been released, there's sure to be issues with it May 25 15:09:40 but i deleted eclipse and the old android sdk May 25 15:09:49 and installed android studtio May 25 15:10:01 and i can't find the sdk manager May 25 15:10:20 you can open it apparently in the studio May 25 15:10:23 but i cant get in lol May 25 15:10:40 so i got the adt bundle it has a manager in it i checked in the zip file May 25 15:10:46 its taking ages for it to extract May 25 15:11:02 and then i run the sdk manager and update and i hope it fixes it May 25 15:13:37 do you know what the adt is called in it May 25 15:13:53 in what? May 25 15:14:03 the sdk manager May 25 15:14:20 i selected pretty much everything May 25 15:14:23 ADT is an eclipse plugin.. It's not in the sdk manager May 25 15:14:37 except older versions of android past 4.0 May 25 15:14:40 oh thanks simon May 25 15:14:50 then i need to update anyway May 25 15:15:34 is adt/eclipse dead now or will google continue the support? May 25 15:16:29 They'll continue support May 25 15:17:02 yesterday i tried borland together 12.5 May 25 15:17:21 i used together about 10 years ago for c++ uml modeling May 25 15:17:48 the 12.5 version is an eclipse plugin and it's slow like hell ;( May 25 15:20:23 its strange i took the sdk manager.exe file and put it in the directory above the sdk as i downloaded it but in android studio May 25 15:20:27 and it wont run May 25 15:20:34 hey im not sure whats going on my everything on my screen is moving May 25 15:20:42 so im gonna run it anyway May 25 15:20:46 in that directory May 25 15:21:04 the sdk came with android studio May 25 15:21:24 and reckons i need to update it but i cant update cause i can get into where i can update it May 25 15:22:02 Dr_CinnamonBun, it's ok, you're just drunk. May 25 15:22:33 no im not May 25 15:22:56 im tired i've been to bed the past nights May 25 15:22:58 come on now, you are a little bit May 25 15:23:10 no May 25 15:23:20 yes May 25 15:23:25 anyone have a link where i can clone the volley library... May 25 15:23:30 * jug6ernaut can't find it to save his life May 25 15:23:38 Dr_CinnamonBun: can you please stay on topic. May 25 15:23:50 Dr_CinnamonBun, ok, so what does "everything moves on screen" mean? :) May 25 15:24:02 jug6ernaut: https://android.googlesource.com/platform/frameworks/volley/+/master May 25 15:24:08 my pc's doing ti noe May 25 15:24:14 https://android.googlesource.com/platform/frameworks/volley/ May 25 15:24:20 ^ at the top is the clone command. May 25 15:24:39 Dr_CinnamonBun: knock it off. May 25 15:24:40 awesome May 25 15:24:41 thx May 25 15:25:02 it's looks like they're in space May 25 15:25:07 acid? May 25 15:25:17 no May 25 15:25:22 dmt? May 25 15:26:59 lol erdos May 25 15:29:52 im gonna check out eye in the sky May 25 15:35:57 That's the sun, dude May 25 15:43:34 does anyone can give ANY hint what could be wrong? http://stackoverflow.com/questions/16694221/camera-servier-died-while-taking-camerashot-in-android trying to fix this since month now... :) May 25 15:47:15 hey, android emulator seems to take a long time to start up for me, anyone know why that is? i've tried the intel image, i've 'downgraded' the emulated device specs, still takes 2-3 minutes to boot May 25 15:52:12 SimonVT, You were a graphics artist? May 25 15:52:21 *are May 25 15:53:52 misterli, hmm, did you try that on several devices? May 25 15:54:08 if I recall correctly, several drivers don't want to take pictures without a visible surface May 25 15:54:37 Mavrik. On around 20.000 devices, yes May 25 15:54:52 and all of them fail? May 25 15:54:56 and tons of different roms. Some do, some dont May 25 15:55:08 doesnt matter if android 2.3 or 4.2 May 25 16:14:52 how do you not have a visable surface? May 25 16:14:57 misterli, May 25 16:15:04 cover your lens on the camera? May 25 16:16:06 how are you guys handling Android Studio? May 25 16:16:18 lol i cant start it up May 25 16:16:27 when i click new project May 25 16:16:28 Zeppelin, how so? May 25 16:16:38 tells me i need to update my sdk to version 22 May 25 16:16:44 yet the sdk came with it May 25 16:16:52 i did have eclipse installed with adt May 25 16:17:00 but i deleted it May 25 16:17:41 this is the message i got May 25 16:18:17 well, android studio comes with the SDK in the same folder May 25 16:18:24 SpearThruster, I think a huge number of people here was using IDEA anyway before AS :) May 25 16:18:26 your android sdk is out of date or is missing templates. please ensure you are using sdk version 22 or later May 25 16:18:35 so if you used Eclipse Bundle (which is basically SDK + Eclipse in one structure), maybe you deleted your SDK there as well May 25 16:18:44 and you may need to download it again :) May 25 16:18:51 i did delete it May 25 16:19:05 Mavrik, how was developing Android apps in Intellij - with 0 support? May 25 16:19:18 SpearThruster, er… it had all the support? May 25 16:19:23 it did? May 25 16:19:26 yep. May 25 16:19:35 Android Studio added one or two details and Gradle integration May 25 16:19:47 everyhing else was there for awhile ;) May 25 16:20:01 I switched to Intellij like a week-two ago... mainly due to the IO of course May 25 16:20:11 but I decided to use Intellij for my web things as well May 25 16:20:28 mhm, my whole team is on IntelliJ more or less May 25 16:20:34 web guys use the WebStorm or whatsit May 25 16:20:43 hmmm, it definietly outshines eclipse in all stuff May 25 16:20:45 backend guys and android people just use IDEA Ultimate May 25 16:22:10 we have a pilot project in our company (where the team uses Intellij) May 25 16:22:19 and god do I hope we switch soon May 25 16:23:12 just too many issues. from maven integration, to basic UGLY UX interaction May 25 16:23:26 SpearThruster, U wont be sorry! I have an IntelliJ Ultimate License, its a amazing May 25 16:24:16 even Spring (which is main javaEE framework out there), has so much better integration with intellij May 25 16:24:26 than the Spring Toolsuite (which is basically branded Eclipse) May 25 16:24:28 :> May 25 16:24:39 kaendfinger, I think so too May 25 16:24:52 currently I am coding @ home in Intellij but using eclipse @ work May 25 16:24:56 this terror needs to stop May 25 16:25:08 XD Lol May 25 16:31:39 yer i want to get android studio to work May 25 16:31:48 eclipse sucks the fat one May 25 16:31:51 :P May 25 16:32:53 currently i downloaded another sdk updated it May 25 16:33:11 and i copied it into the android studio sdk folder May 25 16:33:18 all the extra files and stuff May 25 16:33:23 except 6 files May 25 16:33:28 and i still had the same error May 25 16:33:34 so now im geting those six files May 25 16:33:38 gonna do the same with them May 25 16:33:46 i hope it fixes the problem May 25 16:34:08 currently geting system image for api 16 May 25 16:37:27 Anyone here want a free CI? May 25 16:37:32 I have space on my Jenkins May 25 16:38:01 whats a ci May 25 16:38:09 Continuous Integration May 25 16:38:16 https://jenkins-ci.org/ May 25 16:39:28 don't think i need it May 25 16:39:41 im not compiling a lot of things May 25 16:40:28 what kind of android phone do you have kaendfinger May 25 16:40:35 O.o May 25 16:40:42 Galaxy Nexus from Google I/O 2012 May 25 16:40:46 i just got myself a samsung galaxy s4 May 25 16:40:49 and a Nexus 7 May 25 16:40:55 black mist May 25 16:40:57 Zeppelin, I want one May 25 16:41:05 i love it May 25 16:41:11 now i have to sell my iphone 4 May 25 16:41:40 :P Thank God, fuck iOS May 25 16:41:43 yer i got it on contract for 2 years May 25 16:42:04 with my service provider May 25 16:42:06 vodafone May 25 16:42:09 im in australia May 25 16:42:17 :D Cool May 25 16:42:33 70$ a month get 1gb of data and infinite calls and smses May 25 16:42:39 even smses to overseas May 25 16:42:39 73% downloaded Android Studio! May 25 16:42:40 :D May 25 16:42:43 infinite i think May 25 16:42:47 :D Cool May 25 16:43:01 1300 numbers arent infinite though May 25 16:43:07 i got 45$ worth of them May 25 16:43:15 its ok hardly need them May 25 16:43:38 been on the plan since i got the iphone 4 like 2.5 years ago paid it out and got the samsung May 25 16:43:45 s4 is great May 25 16:43:58 79% May 25 16:43:59 :P May 25 16:44:06 had a red s3 in the usa and htc one x and the s3 got really hot and slowed down May 25 16:44:20 and the one x turned off one day and wouldnt turn back on the next morning May 25 16:44:31 i had some bad experiences May 25 16:44:37 but i took a chance May 25 16:44:41 I hate to sorta kinda Advertise, but this is truly cool, anyone interested in joining a Code Umbrella Company? May 25 16:44:42 and the s4 is great so far May 25 16:44:57 whats a code umbrella company May 25 16:45:29 im looking for a programming job May 25 16:45:47 Basically its where a Group has Projects, and the members of the group can help/code each other on each project May 25 16:46:01 ahh May 25 16:46:06 And the group provides tools like Atlassian JIRA, Confluence, etc. May 25 16:46:10 thought it might have been May 25 16:46:23 i want a coding job in java May 25 16:46:29 cause i know java May 25 16:46:47 I am piloting off on mine, its not even a company yet, but we might pay developers at some point. May 25 16:46:50 well in 2009 and 2000 i did courses in it May 25 16:47:01 i want to able to code from home May 25 16:47:10 i am still yet to learn android coding May 25 16:47:24 but i figure i know java it should be pretty easy to pick up May 25 16:47:42 I thought my self to code Java May 25 16:47:45 And I know a lot now May 25 16:47:48 mind you im not a master java programmer May 25 16:47:59 :P May 25 16:48:01 like theres lot of stuff i need to look up i bet May 25 16:48:20 and for one i need to look most of it cause i forgot the code for it May 25 16:48:26 but i did 2 courses in it May 25 16:48:38 half a 2 year diploma and then a certificate 4 for a year May 25 16:48:42 all in java May 25 16:48:47 Zeppelin, What apps do you have? May 25 16:48:53 skype May 25 16:48:57 ebay May 25 16:48:59 gumtree May 25 16:49:07 thats about it at present May 25 16:49:17 and the stuff that came with the phone May 25 16:49:23 a lot of bloatware May 25 16:49:50 i forget exactly what about yourself May 25 16:49:51 :P May 25 16:51:03 what apps do you have May 25 16:51:07 yay, detaring Android Studio May 25 16:51:36 lol im about to do a recopy of all the sdk to android studios sdk folder May 25 16:51:41 4.11gb May 25 16:52:32 :P May 25 16:52:40 God I'm still untaring May 25 16:52:54 whole afternoon, can't make android studio to play ball with google_play_services May 25 16:52:57 *sigh* May 25 16:52:58 if you ever try to delete it May 25 16:52:59 :P May 25 16:53:02 it takes ages May 25 16:53:05 Zeppelin, :p May 25 16:53:06 the sdk May 25 16:53:12 Yeah ikr May 25 16:54:51 here we go with the big file copy May 25 16:54:55 i might go play a game lol May 25 16:55:07 i reckon its gonna take some time May 25 16:55:20 :P May 25 16:55:44 might see ya a bit later May 25 16:55:48 Ok May 25 16:58:00 has anyone managed to integrate google_play_services with Android Studio? May 25 16:58:19 I am getting bunch of errors on the sample project that comes with the sdk May 25 16:58:28 mainly layout related May 25 16:58:33 on the map: attribute May 25 17:07:26 i am still geting the same error May 25 17:07:57 Hmm May 25 17:08:03 gtg May 25 17:08:54 cya May 25 17:09:18 How can I fix "Gradle: : java.lang.IllegalArgumentException: Main Manifest missing from C:\Users\Dylan\AndroidStudioProjects\PROJECT\AndroidManifest.xml" May 25 17:12:13 does anybody know how? May 25 17:15:56 Anyone? May 25 17:23:11 Does anybody know how to fix that problem? May 25 17:31:04 Anyone here? May 25 17:42:52 DylanG_, if anyone knew the answer, they'd probably help you :P May 25 17:43:00 i have not yet used gradle, so i have no idea May 25 17:44:32 hey canadiancow May 25 17:44:36 hi May 25 17:59:12 hi :) i load a feed rss to create a list of post in my app. images in rss xml are very very smal. how can get images of single post ? google+ app load image when i write a link, how can i implement a google+ similar methods? May 25 18:19:27 SpearThruster: I am not sure if there's a more correct way to do this, what I did was build an aar package for play services and included it in a maven repo within my app's source tree. May 25 18:22:02 hi, i am beginning to develop some simple application on android, i have a nexus 4 but when i connect it to my pc it becomes very slow, it is difficult to swype too, seems that the problem is related to the os, i am using windows 7, on another pc with xp seems to works fine, any advice? May 25 18:26:39 Hi May 25 18:26:47 How do I reenable disabled error check in Eclipse? May 25 18:27:12 I accidentally pressed "disable error check" instead of "disable error check in this file only" May 25 18:29:04 it's a warning May 25 18:29:07 found lint settings May 25 18:30:44 nvm May 25 18:44:57 guess what May 25 18:45:04 i finally got the piece of junk to work May 25 18:45:10 after all night working at it May 25 18:45:15 its now 4:45am May 25 18:45:17 lol May 25 19:04:26 im looking for an appropiate way to load some icons (to be set on Markers on gmaps api).. so I've got icon1.png, icon2 ... icon n.png in my res-folder. I'm looking for a way to dynamically get the resources instead of writing a gigantic switch-statement. Only thing i can find is https://developer.android.com/reference/android/content/res/Resources.html#getIdentifier(java.lang.String, May 25 19:04:26 java.lang.String, java.lang.String) - The docs say that the method is discouraged - i can't however think of any other way around it. Anybody have any good workaround for this ? May 25 19:10:58 im trying to debug my app on my nexus 7... however it doesn't show up in my list. I've enabled the debugging by clicking the build button 7 times what else do i need to do? May 25 19:14:01 enable usb debugging. May 25 19:15:18 oops it wasn't installed in device manager xP sorry bout that May 25 19:22:50 Hi there, could come one help me with an error I'm getting (activity manager: error type 3) May 25 19:22:53 I made this post: http://stackoverflow.com/questions/16753102/android-error-activity-manager-type-3-eclipse-using-jni May 25 19:26:20 Idk why this: Error: Activity class {es.rks.paperage/es.rks.paperage.PaperAgeAndroid} does not exist. May 25 19:26:32 why 2 es.rks.paperage???? I need only one May 25 19:39:17 managed to get a working example in Android Studio with google maps May 25 19:40:02 I have a feeling like I just built my "Taj Mahal". :] May 25 19:53:51 stinky May 25 19:59:10 im reading articles that say i shouldn't use getters/setters in my classes... is this crazy talk? May 25 20:00:37 What is their argument? May 25 20:07:05 hi all May 25 20:09:26 kakazza, if i was reading it correctly it was arguing that it is costly in execution time... idk I just went on to doing it like I was taught ;P May 25 20:10:50 Please help me…. http://stackoverflow.com/questions/16753102/android-error-activity-manager-type-3-eclipse-using-jni May 25 20:29:21 i'm getting a java.lang.NoSuchMethodError when i try to call getApplicationContext from a NativeActivity. here is a link to some c++ code http://ideone.com/hcntpC May 25 21:27:27 anyone have success using android studio in linux yet? May 25 21:28:27 I can only view xml as text I have yet to figure out how to enable preview pane views May 25 21:28:35 I dont even see them listed anywhere May 25 21:31:13 here on gentoo it runs perfectly May 25 21:34:30 http://i.imgur.com/BzuM3TS.png May 25 21:34:53 based on screens I am seeing on stackexchange it looks like I am missing views/toolbars ? May 25 21:35:13 i have ben fumbilng through all the settnigs and docs online not sure how to enable it May 25 21:35:20 *settings May 25 21:36:57 MusicHackathon, interesting May 25 21:37:03 ;_; May 25 21:37:32 DroidBurgundy, preview pane should show up automatically after you open a view xml May 25 21:37:40 or at least be displayed in right pane May 25 21:37:46 AndroidManifest.xml isn't a view xml ;) May 25 21:37:57 does someone try Volley Library? i want use to load xml rss fedd May 25 21:38:00 ah lol May 25 21:39:36 can someone tell me what the (EditText) part of this is? May 25 21:39:38 final EditText et = (EditText) findViewById(R.id.editText1); May 25 21:40:03 thanks Mavrik ;) , works fine ha May 25 21:40:19 way easier for noob wizardry as compared to ADT plugin May 25 21:40:34 buddyq, typecast May 25 21:41:22 buddyq, I suggest reading up on object inheritance in Java (if you don't know it) and then look up typecasting :) May 25 22:06:21 when im debugging how can i go to the next line of code instead of the next breakpoint? May 25 22:06:51 fwaokda, "step over", F6 IIRC May 25 22:06:55 (in Eclipse) May 25 22:07:04 fwaokda, the icons are on top of the thread window in Debug perspective May 25 22:07:18 ok i'll try that, im in android studio btw guess i should've mentioned ;( May 25 22:08:02 oh i see the icons now May 25 22:10:48 Has anyone been actively using Android Studio? Is it ready for full time? May 25 22:11:51 It's a developer preview for a reason. May 25 22:12:17 You might encounter no problems, but don't expect a finished product. May 25 22:13:40 i understand that, but this is google, gmail was beta for a decade, always have to ask with things from google May 25 22:16:46 jcase, i've seen alot of people with problems around here May 25 22:16:52 most of them connected to Gradle May 25 22:17:04 on the other hand, IDEA 13 EAP from the same codebase works perfectly fine for me May 25 22:17:09 yeah i tried using it at io but gradle servers were slammed May 25 22:17:21 Mavrik: Oh, I was wondering about IDEA 13 EAP. May 25 22:17:26 Mavrik, too used to ant/eclipse, how do i add a new class with intellij May 25 22:17:28 Don't want to wait until December for the stable. May 25 22:18:05 NullPointerException May 25 22:18:26 SocketTimeoutException May 25 22:18:59 that's a lot more exotic May 25 22:19:13 i added an UnexpectedPoopException May 25 22:19:28 jcase, uh, what kind of question is that... May 25 22:19:41 Mavrik, a real stupid one apparently May 25 22:19:46 kakazza, I've switched from IDEA 12 and I haven't seen any noticable stability decreast May 25 22:19:47 hence wondering if its a bug May 25 22:19:48 *decrease May 25 22:20:02 jcase, you just right click and select "new->class"? May 25 22:20:08 then its a bug May 25 22:20:12 chase "class" doesnt exist May 25 22:20:14 on that menu May 25 22:20:31 wat. May 25 22:20:34 > Gradle version 1.3 is required. Current version is 1.6 May 25 22:20:48 Mavrik: you're trying the new build stuff ? May 25 22:21:03 i tried it and gave up on it, and instead chose maven and had a beer and was much happier May 25 22:21:24 jcase, well you DO have to click on a source folder ;) May 25 22:21:37 i have May 25 22:21:38 funkbox, yeah, just on a toy project May 25 22:21:45 funkbox, using maven for pro stuff May 25 22:21:52 ah May 25 22:21:54 let me restart this thing May 25 22:46:07 Got a bit of a weird issue here. I have a Dialog with a simple RelativeLayout that has a couple TextView's in it and they have autoLink="web" set. When I touch one of the links, it works as expected and opens the browser, but when I hit Back or switch back to the app by other means, the TextView is still highlighted (the link looks selected like I was going to copy it). How do I clear that? May 25 22:47:17 (btw, if I click one of the other links after going back, now that one is selected/highlighted as well - it doesn't deselect/unhighlight the first one) May 25 22:51:37 Things I've tried: set selectAllOnFocus to false, textIsSelectable to false, and setSelected to false May 25 22:52:34 silly java question time: I have something that derives from Fragment using extend, but I can't cast it to Fragment or return it in a method of type Fragment, what the heck May 25 22:55:03 what is the best way to center a text with an image to the right in an action bar? i created a custom layout and if i use just the text, it is centered. but if i use an image to the right it looks like this http://imgur.com/Z4fQsU5 .. my layout is this http://pastebin.com/GiKLBNGb I already tried without the nested relativelayout changing from the root linearlayout to relativelayout but May 25 22:55:03 doesnt work. any idea of how to fix this? May 25 22:57:42 barad: you should probably just use the normal layout for the action bar, it's like that on purpose, since you can promote overflow items to the action bar, show text beside them, and it handles it automatically if you switch orientation or are using a tablet - you're trying to consume all that space yourself just so you can have the text centered, i wouldn't recommend it May 25 22:58:29 what is the normal layout for the action bar? the default one? May 25 22:58:52 you may want to look into using a menu for the action bar and promoting one or more of them out of the overflow menu, you can specify text and icon for them, and they become clickable May 25 22:59:17 yeah, the default one May 25 22:59:36 hm i did that because i needed to center the text because by default it is centered on the left May 25 23:00:25 yes, that's standard - the other side is typically used for overflow menu and any actions promoted out of the overflow menu and onto the action bar itself May 25 23:01:21 just wanted to make sure you understood that before you customize the layout - if you're not planning to use the menu then you're probably fine to center the text May 25 23:02:16 StingRay_: quick question - any idea why java won't let me return MyFragment in a method override that returns a Fragment, where MyFragment extends ListFragment which extends Fragment? May 25 23:02:40 returns it to what ? May 25 23:03:01 and why would you want to return it to anything ? since fragmentManager does that for you ? May 25 23:03:08 i'm overriding getItem in FragmentPagerAdapter May 25 23:03:25 oh fragments in an adapter ? May 25 23:04:02 Jc_Dev so the idea is to use the standard layout and use a menu to center the text and show an image to the right? May 25 23:04:48 Jc_Dev: tbh i mostly blank out at questions that have the word "ListFragment" May 25 23:05:27 StingRay_: it's really more of a java question i think, i'm doing this and it says TypeMismatch, cannot convert: @Override public Fragment getItem(int position) { return new MyFragment(); } May 25 23:05:29 same if someone starts talking to me about "xFactor" or "xxx got talent" May 25 23:06:04 oh May 25 23:06:16 i think it's just me being silly because java != C# or something May 25 23:06:47 barad: i imagine you'd need to use a custom layout to do that - i'm just warning you about what you're potentially breaking by doing it May 25 23:07:21 MyFragment is not type "fragment" May 25 23:07:32 oh ok i got it May 25 23:07:34 it extends ListFragment which extends Fragment May 25 23:07:45 but any idea why it is not centering? May 25 23:08:05 so isn't it type Fragment via polymorphism? May 25 23:08:19 barad: sorry no, i'm new to that stuff myself May 25 23:08:40 well for convinence I have always returned items from getItem as Objects May 25 23:08:46 and typecast when I wanted use May 25 23:09:01 cause by default thats what baseAdapter does i think May 25 23:09:09 and thats the useage pattern May 25 23:09:12 it's an @Override, i'm assuming i can't change the signature - ah well i'll play with it May 25 23:09:27 but I'm a designer btw May 25 23:09:29 :) May 25 23:09:39 just try casting in the return to fragment May 25 23:09:52 it will error on castClassExc* if it dont do it May 25 23:10:02 classCastExcept* May 25 23:10:18 (Fragment) new myFragment() May 25 23:10:22 etc May 25 23:10:28 ok May 25 23:11:08 sounds like you're more like a designer that knows how to code hehe May 25 23:11:39 well I'm a vfx artist, 3d td, designer, dev in that decending order I think May 25 23:12:13 actually more like 3D TD, VFX, Instructor, Dev May 25 23:12:41 Development is my weakest skill atm I think May 25 23:12:41 i'm a lover, a fighter, a developer May 25 23:13:06 aha i figured it out, one was a v4.app.Fragment and the other was app.Fragment, yeesh May 25 23:13:21 funkbox: oh fk, we including non-make believe things ? May 25 23:13:38 :) May 25 23:13:43 Jc_Dev: got any ideas on my autoLink staying highlighted issue? probably an easy one and I'm just missing something obvious May 25 23:13:44 love isn't make believe. i thought i felt it once but it turned out to be gas. but others told me it's real! May 25 23:16:53 KaosMcRage: sorry no, haven't played with that control yet May 25 23:17:04 rats… thanks anyway May 25 23:18:05 when i need to go to a url, i use an intent like this: new Intent(Intent.ACTION_VIEW, Uri.parse(getString(R.string.my_url)); May 25 23:19:46 well setting autoLink on my TextView seemed to be exactly what I want and the action itself works (opens the URL)… it just results in a weird visual side effect :\ May 25 23:19:56 doesn't happen in the emulator of course… May 25 23:20:46 Somebody knows any Listview that can scroll horizontally? May 25 23:22:02 whats the best way to cover up that u rooted your phone May 25 23:22:18 Dr_CinnamonBun: wrong channel May 25 23:22:40 k May 25 23:22:48 Dr_CinnamonBun: #android-root May 25 23:22:56 thank u May 25 23:22:59 i think we mentioned this already May 25 23:23:00 StingRay_: Do you live here? May 25 23:23:22 oh my phone is now all bloted May 25 23:23:44 I'm not a mind reader, where is your "here" or do you mean to imply it's possible to live and exist ONLY in irc world ? May 25 23:23:46 :) May 25 23:24:01 Yeah! May 25 23:24:10 I mean, you're a bot. May 25 23:24:10 no then May 25 23:24:19 its good to be on irc, you learn a lot May 25 23:24:20 Do you know Botten Anna? May 25 23:24:24 I know :) May 25 23:24:51 Boten Anna from Basshunter, do you know this song? May 25 23:26:52 well. May 25 23:26:54 rs May 25 23:27:04 oh well would it be better to take to lets say a bestbuy or an ATT store May 25 23:27:30 Dr_CinnamonBun: this irc is not meant to support phone problems. May 25 23:27:42 Dr_CinnamonBun is mentally handicapped or doesn't care May 25 23:27:45 It's about developing apps for Android May 25 23:27:49 you can put him on ignore May 25 23:28:06 i did that once May 25 23:28:22 all it did was say hello world :P May 25 23:30:59 Dr_CinnamonBun: you have the power to make it do what you want! Isn't that amazing ? May 25 23:31:33 most amazing thing I say May 25 23:33:35 i know May 25 23:37:47 Can anyone help me pass a cookie (i think) from a defaulthttpclient to a web view to maintain a session? May 25 23:42:04 * StingRay_ is able to pass cookies all the time, no problem May 25 23:42:23 oh httpclient, yeah no idea :) May 25 23:43:19 i new to cookies so im lost on what is going on with cookiemanager and cookiesyncmanager May 25 23:49:31 Well that is a horrible solution but it's all I've got. Ended up just checking if the Dialog was showing in the Activity's onPause and if so, calling dismiss and show again. Can't be the best solution but at least the links don't look stupid anymore. May 25 23:57:39 you know I think we should petition for a new basic fundimental OS clipboard operation May 25 23:57:54 so we have copy/paste/swap May 25 23:58:19 i thought there was clipboard manager May 25 23:59:24 I want to cntrl + x to cut, then highlight and cntrl + s to paste yet copy the selection that I'm pasting in to May 25 23:59:28 swap :) May 25 23:59:39 copy/past/cut/swap May 25 23:59:46 seems logical May 26 00:01:35 g00s: hows your IJ experience going ? May 26 00:02:01 i'm using eclipse mostly May 26 00:02:06 it was fun May 26 00:02:08 copy to list , paste from list May 26 00:02:11 hi, i'm trying to populate a GridView w/ images i'm asynchronously retrieving from the web. do I need to wait until after the images are received before calling setAdapter, or will it automatically update when needed? May 26 00:03:12 so you can copy an image and some text and some sound to a object list clipboard and paste all or partial from there May 26 00:04:09 i just want….swap May 26 00:04:19 no list control, no managing anything May 26 00:04:23 just swap May 26 00:04:35 the clipboard should have a history May 26 00:04:51 no clipboard management viewing May 26 00:04:55 just swap May 26 00:04:56 :) May 26 00:05:42 that doesn't get in the way of simple copy but you can pop up if you need somehow May 26 00:06:07 no popups, just 1 kb shortcut, swap :) May 26 00:06:15 make my life so much easier I think May 26 00:06:28 suprised it's not actually done as a primative action by now May 26 00:08:23 oh noes May 26 00:08:27 after hours of mingling May 26 00:08:36 it would appear I need some srs XML schooling May 26 00:09:08 design editor does not == knowing things May 26 00:09:09 *sigh* May 26 00:09:57 DroidBurgundy xml is ugly to look at , but the attributes are usually well documented May 26 00:10:14 its better that you start with xml and only use the gui when it makes you more efficient May 26 00:10:18 yeah i thought i could blindly use the wysiwyg tools lol May 26 00:10:24 yeah i an see that May 26 00:10:38 because once i got started May 26 00:10:44 i finally went to check the text May 26 00:10:55 and it was mostly gobldygook May 26 00:11:24 eclipse / adt have 3 ways of looking at xml: ADT gui , adt xml , and structured tree. i like the latter 2 May 26 00:11:55 its also nice to have the adt nicely format the xml according to guidelines May 26 00:12:03 kinda like built in checkstyle May 26 00:12:16 yeah I am stil very novice with android dev May 26 00:12:34 wante dto just spend the day with android studio May 26 00:12:50 that has nice assistance too May 26 00:12:53 I think i will just keep using it in hopes that it graduates to beta May 26 00:13:04 I mainly use eclipse for EE May 26 00:13:12 if you are a novice, i think i would still recommend plain idea May 26 00:13:12 i ddnt get too indepth with ADT yet May 26 00:13:54 if you like AS, no need to go to eclipse May 26 00:14:08 i mostly do backend java stuff, so having a feel for making and using layouts is harder for me so far May 26 00:14:09 if you want something more stable, just use plain idea May 26 00:15:29 i hope they dont overengineer AS the way they did with ADT - i'm probably minority, but all i care about is lint (heuristic checking) , content assist, and layout preview. May 26 00:15:37 wizards and GUI tools be damned ;) May 26 00:15:45 DroidBurgundy: just find some tutorials and examples that you can further modify to fit your needs May 26 00:15:48 GUI helpers of layouts, that is May 26 00:16:54 yeah i have just been working through all the tutorials on the dev site for now May 26 00:17:02 got a few oreily books to read too May 26 00:17:11 fun :) May 26 00:20:48 DroidBurgundy which books did you pick up ? May 26 00:35:01 what is the difference between a Hoover and a Harley ? May 26 00:35:34 the position of dirtbag ;) May 26 00:36:09 yeah, they both suck .... May 26 00:38:03 gah, i can't believe this shit has been there since api 1 and its still missing any reasonable documentation http://developer.android.com/reference/android/widget/CursorTreeAdapter.html#changeCursor%28android.database.Cursor%29 May 26 00:38:36 more methods in this class are undocumented than documented May 26 00:40:31 wtf is the difference between changeCursor() and setGroupCursor() ? May 26 00:40:37 hi :), how can i get video's list of a youtube channel? May 26 00:42:20 i think using JavaDoc for documenting large systems - operating systems - is a failure May 26 00:42:27 warpmobile: have you tried RSS? http://www.youtube.com/t/rss_feeds May 26 00:42:42 i bet they dont want to change things because it would screw up the git hitsory May 26 00:42:47 *history May 26 00:44:56 Hi. I am trying to include a prebuilt .so library with my project. How can I set this up in Eclipse? May 26 00:45:57 Jc_Dev, thanks. I thought youtì tube api for android May 26 00:46:01 ajd: have you tried right-clicking Referenced Libraries in your project's Package Explorer and clicking Import? May 26 00:46:08 I tried putting the file in libs/armeabi and then System.loadlibrary("libname") May 26 00:46:17 Jc_Dev, No I have not I can try that now May 26 00:46:19 warpmobile: yeah they might have an API too - i wouldn't know though :) May 26 00:47:24 warpmobile: if so, it would just be some sort of web-based API though, i doubt they have anything android specific outside of the actual youtube app May 26 00:47:38 warpmobile: there might be third-party libs though May 26 00:49:00 Jc_Dev, ok i'll see in github for some lib May 26 00:50:31 Jc_Dev, I'm not seeing a Referenced Libraries in the package explorer is there another name for it? I'm using eclipse 4.2.2 May 26 00:52:04 ajd: ah, you may not get that folder until your first import - you can access the same menu from right-clicking on the project in package explorer too May 26 01:11:44 Hi there, I have an adapter, but when it calls getView the convertView comes not null even if it is the first time you are scrolling down May 26 01:12:04 and by the way, it does have a view of say position 3 or 4 May 26 01:12:32 my app load a rss feed and show list of post but preview image is very small. google+ get images from link how does it work? May 26 01:12:35 so I can't use the validation if(convertView != null) { createView(position)} May 26 01:12:50 tyoc213: yes you can May 26 01:13:02 there is no guarentee about when getView will be called May 26 01:13:05 or in what order May 26 01:13:09 but... if fails, then return the view at index 4 May 26 01:13:13 instead of index 7 May 26 01:13:13 it can be called in the background May 26 01:13:28 to approximate the scroll height of the abslist May 26 01:13:44 yeah, but I always tought scrolling creates the new visible element May 26 01:13:48 no May 26 01:13:52 it recycles May 26 01:13:54 even if you debug, you will see calls to fill May 26 01:14:10 pastebin your adapter May 26 01:14:11 so, it is not guarantee that I get May 26 01:14:18 a null view May 26 01:14:24 when going down May 26 01:14:27 ¿? May 26 01:14:40 I can understand, if oyu say it recicles May 26 01:14:45 you can do if(convertView == null){inflate} May 26 01:15:02 I always thougth it saves the views in memory for display them when the GUI wanted May 26 01:15:12 no it re-uses May 26 01:15:15 else only feel May 26 01:15:18 eg May 26 01:15:26 the findViewWithID May 26 01:15:28 you list has a visible capacity of 10 items May 26 01:15:39 in your data you have 100 items May 26 01:15:46 it will only ever create 11 views May 26 01:15:57 I see May 26 01:16:03 when you scroll May 26 01:16:03 what if I create 1 each time May 26 01:16:10 doesnt matter if it gives me May 26 01:16:15 view(0) goes off May 26 01:16:17 null or not null on convertview? May 26 01:16:19 OK May 26 01:16:28 and item 11 uses view(0) at the bottom May 26 01:16:31 thanks StingRay_ I get it now May 26 01:16:44 so you have to set your data every time in getView May 26 01:16:54 and there is no guarentee of order either May 26 01:16:59 OK May 26 01:17:01 :) May 26 01:17:02 and I think there are also background calls May 26 01:17:12 that are visually irellevant May 26 01:17:25 like check the size of the thing May 26 01:17:39 I have never ween when it calls the ID of the object May 26 01:17:40 yeah, guess the size of the thing more like May 26 01:17:43 or for what it is ussed May 26 01:18:22 you should never try and fight listView in any way :) May 26 01:18:29 it wins 90% of the time May 26 01:18:32 lol May 26 01:18:47 I have never called for example: getItemId May 26 01:18:53 sounds like StingRay_ is speaking from experience :) May 26 01:19:03 no, I'm that 10% May 26 01:19:14 ALL OF IT!!! May 26 01:19:19 all mine! May 26 01:20:29 well only thing I do is cache data resolutions May 26 01:20:48 that it would otherwise call every time and waste time resolving May 26 01:21:23 thats the extent of my fight with listView, but it's not listview, it's my flawed design :( May 26 01:21:29 that I cant be arsed changing May 26 01:22:23 I was asking yesterday how to truncate items in a ListView. clever and StingRay_ told me about using ellispes. But ListView doesn't have that Property. So after some more searching, I found out about making a ListView adapter with a TextView inside. May 26 01:23:01 Anyway, here is my question: is this the right approach? I'm still new to Android coding so I just want some feedback confirmation. May 26 01:23:55 well I dont quite understand that… cause turnicating a listView would be only displaying x items and having the last item as a "show more" button or something May 26 01:24:39 but u can have any number of views in a listView item May 26 01:25:09 but how would you specify truncation if ListView doesn't have that property? May 26 01:25:12 if you just want paging... http://stackoverflow.com/questions/14037108/listview-paging-in-android May 26 01:25:19 hi all May 26 01:25:56 roadfish: you lost me May 26 01:26:00 truncate listview in what sense? May 26 01:26:09 yesterday I just thought you were talking about a textView May 26 01:26:10 StingRay_: ah, what I mean is that I want each item in a ListView to be truncated to a single line. May 26 01:26:29 then thats down to the textView May 26 01:26:44 the fact it sits in a list is almost irrelevant May 26 01:27:13 you have a textView with ellips + maxLines probably May 26 01:27:19 thats it May 26 01:27:31 oh and match_parent on width I would presume May 26 01:27:38 does textView have singleLine like edittect? May 26 01:28:01 it has a Lines property May 26 01:28:22 so I had to set the Lines property to "1" and the Ellipses property to "end" May 26 01:30:04 StingRay_: Now I wanted to display a ListView but I wanted truncation on each item in the ListView. So, as best as I understand, I had to create a LinearLayout xml file and then use this inside the ListView by using a SimpleAdapter. May 26 01:30:36 anyway, everything is working. I'm just wondering if I went about this is the cleanest way. May 26 01:30:50 roadfish: yeah May 26 01:30:57 you not done any listView tuts ? May 26 01:31:02 you should if not May 26 01:31:04 worth it May 26 01:31:05 * StingRay_ is off for a cig…almost out of them …hmmm, I feel a disturbance in the force…as if a millions souls all cried out in pain!!! May 26 01:31:29 Ok, I did see a series on the listview that builds up in complexity. maybe I'll go through that next May 26 01:32:11 maybe the millions of souls are your lung cells. May 26 01:33:57 roadfish hehe May 26 01:46:52 ugh May 26 02:06:24 wow, the ui editor in AS is a bit…erm…. different May 26 02:06:36 better for us osx users I think May 26 02:09:11 I'm starting to really like this May 26 02:09:13 :) May 26 02:10:18 <[deXter]> Hey, it looks great in linux too! May 26 02:10:32 hey everyone... what would cause the google maps v2 api to work for a little while, then stop working after a few days? May 26 02:10:34 <[deXter]> Fits in really well with my dark theme May 26 02:11:45 im using the android version of v2, not the google one May 26 02:13:11 maxpowers wow, you got it to work for a few days ? :P May 26 02:14:02 ya... im wondering if the api key is expiring, but i cant see anything in the console about when the key expires May 26 02:27:07 solved (mysteriously) May 26 02:28:14 for a new game mode in my Mobile First Person Shooter, What sounds better, Team MMO, Teams MMO, or Factions MMO? May 26 02:32:01 Team MMO May 26 02:32:04 imho May 26 02:33:46 yeah, its the closed to Team Deathmatch really May 26 02:33:55 basically, its my verison of the DayZ mod May 26 02:34:15 except, when i originally made my zombie mode, its currrently FFA , because i was designing it like WarZ May 26 02:34:30 its popular, but i know that people would rather have teams instead May 26 02:34:40 https://play.google.com/store/apps/details?id=net.RealDefinition.FutureOpsOnlineAlpha May 26 02:34:44 if u want to see what im talking about May 26 02:35:18 ya thats the way fps's seem to be going... at least with MP May 26 02:35:29 but im finding with the 3 options you gave, less is more May 26 02:36:03 yeah, im not sure what else to clal it May 26 02:36:17 i mean, Team Survival MMO does fit May 26 02:36:19 actually May 26 02:36:29 that sounds pretty good doesn it lol May 26 02:36:41 Capture The Point, is as long as Team Survival MMo May 26 02:36:56 except the same letters amount May 26 02:37:00 exactly^ May 26 02:37:42 do you need the MMO? why not just "Team Survival"? May 26 02:38:06 its alot of players in a game May 26 02:38:11 i mean its not thousands or anything May 26 02:38:16 a cell phone wouldnt handle that so well =P **** ENDING LOGGING AT Sun May 26 02:59:58 2013