**** BEGIN LOGGING AT Thu May 23 03:00:00 2013 May 23 03:05:27 are sockets supported in the current api May 23 03:05:43 what should i do if i want network programming in android May 23 03:06:09 does anyone here have any experience with buying and selling android apps? May 23 03:06:52 I just bought an Android app and it was transferred to my account, now the IAPs are broken and I can't push out a new apk because the pass for the keystore that I was given is not working May 23 03:07:08 the IAPs work, we get the money, but the users are nto getting hte currency anymore May 23 03:09:26 well you need the "real" keystore pass no ? May 23 03:09:36 ask whoever you purchased it from May 23 03:09:46 yeah ... but he apparently doesn't know May 23 03:09:54 the one he gave me doesn't work so he said he doesn't knwo it May 23 03:10:01 what app is it ? May 23 03:12:41 darbsllim: um, you only get one chance with a key. if its not good - forgot the password - you're totally screwed May 23 03:13:11 you'll have to create a new app with a new package, from what i understand May 23 03:13:30 tahts the problem this app has like 2 million downloads May 23 03:13:40 I dont' want to start over from scratch May 23 03:13:48 what app is it ? May 23 03:13:55 cuz if you have to unpublish it, you lose all the history like? May 23 03:14:05 I'm coming from the iOS world I don't know much about android - it's called Rocka Bowling May 23 03:14:21 can someone help me for a moment? May 23 03:14:46 i think ive been stuck for like 2 days on trying to get the slidingmenu to work on my app May 23 03:15:49 darbsllim: I'm pretty sure a dev who does an app of that quality, will both know the importance of a release keystore AND keep the auth/password safe May 23 03:16:26 he hasn't done anything to it for a year, and he fired the dvelopers who were previously working on it 6 months ago May 23 03:16:36 so he said if the pass he has doesn't work there's not much he can do to find it May 23 03:16:46 oh sh*t May 23 03:16:55 yeah, your screwed then May 23 03:17:12 unless you have a renderFarm/server stack and a fair amount of time May 23 03:18:18 I have no idea really, other than I think thats the most trouble you can be in May 23 03:19:36 i think back in 2010 google posted an app which even they lost the key too May 23 03:19:59 at least that was the rumor. abandon all hope May 23 03:20:36 is anyone using the android studio without a hitch? May 23 03:21:15 erdos: i am but im stuck -_- May 23 03:21:37 hehe, so you have a hitch May 23 03:21:59 yeah but its more so a common problem with development in general May 23 03:22:07 not something with studio itself May 23 03:22:10 oh right May 23 03:22:17 what's your problem? May 23 03:22:49 trying to get actionbarsherlock and slidingmenu on my app and im getting some stupid error from a xml file May 23 03:23:09 what's the error? May 23 03:23:34 error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Sherlock.Light.DarkActionBar'. May 23 03:24:12 if sherlock is in an imported library do you need to define the namespace at the top of the xml? May 23 03:25:15 i dont think so May 23 03:26:24 erdos: in win7 after I add the JDK_HOME, and select the android sdk from configuration > project properties, I have no more problems with Android Studio so far May 23 03:27:01 hmmm maybe ill have a stab at it May 23 03:27:22 erdos: are you have a problem with studios? May 23 03:28:38 nah no problems, i was just deliberating about whether to try move from eclipse to it yet May 23 03:29:08 ContentResolver operations are causing frame drop :s May 23 03:29:14 is this expected? May 23 03:29:35 erdos: the earlier you jump on Android Studio the better I guess May 23 03:29:52 ok i'm doing it! downloading now May 23 03:30:47 oh and turning on strict mode doesn't flash screen but i can see in log cat, 117 frames skipped etc May 23 03:33:16 so what happens if you lose the keystore pass May 23 03:33:31 SOL. May 23 03:33:40 kiss your app goodbye May 23 03:33:41 what happens when you unpublish an app May 23 03:33:44 and replublish it May 23 03:33:55 is it the same as on ios where you lose all downloads and ratings and history May 23 03:34:08 and would not ppl loose their iap ? May 23 03:34:54 how can i backup my android apps May 23 03:35:44 linuxuz3r: this is an app dev channel May 23 03:35:54 sorry May 23 03:36:03 but adb backup May 23 03:36:03 read xda forums May 23 03:36:19 ok May 23 03:36:21 has anyone unpublished an app here beofre? May 23 03:36:28 i have no root or unlocked yet May 23 03:37:20 darbsllim: is there no way google can reset the password if you contact them with proof of ownership? May 23 03:38:04 how would they have the password ? May 23 03:38:11 Somebody already used this lib? https://github.com/jess-anders/two-way-gridview May 23 03:38:11 by they you mean google ? May 23 03:38:17 they wouldn't have it, they would reset it May 23 03:38:41 I'm trying to use it, but did not figured out how to insert into my app. May 23 03:40:10 anyone know why ContentResolver operations would cause frame skip? May 23 03:40:32 Afzal: you asking it to do lots ? May 23 03:40:37 maybe May 23 03:40:59 mmm, no, only around 20 inserts May 23 03:41:12 Afzal: could be something big inside a loop, which should be outside the loop May 23 03:42:22 not that i can see. I shall go deeper and check out my ContentProvider then May 23 03:42:23 or your loops nesting redundantly May 23 03:42:33 no loops here May 23 03:42:52 ah May 23 03:42:57 you might just be right May 23 03:43:01 there is this ONE loop May 23 03:43:16 yes, thanks! I'll try and fix that. :) May 23 03:44:52 noobish question: i need to run some javascript in my app to return a dynamically generated url from a server. Is running the javascript in a webview inside an activity my only option? Ideally I would like to perform this action invisibly. May 23 03:45:56 donkeykhan, why can't you do the same thing in java? May 23 03:46:03 (same thing = what the javascript does) May 23 03:47:01 i'm not sure. i started w/ the assumption that i had to use the provided javascript. it's a call to an ad server. May 23 03:47:38 also, me <-- complete noob May 23 03:48:13 donkeykhan: You don't need to run the Javascript itself, translate it to java. May 23 03:48:53 heh. that was a completely unexpected yet superior solution to what I had in mind. :) May 23 03:50:36 donkeykhan: try to run the JS inside your app would be harder than translate its' functionality May 23 03:50:58 Somebody here already used TwoWayGridView lib? May 23 03:51:03 jesus, seems like google are updating thier apps twice daily now May 23 03:51:32 hi can someone here be so kind as to create a 30 cent app in the play store so i can get rid of my google play balance May 23 03:51:54 well, my initial concern is that i don't know enough to do the translation but I'll spend a bit of time researching it May 23 03:52:05 Tjh: lol May 23 03:52:35 Sambarboz: i am serious..i cant buy shit on the play store because i moved to canada and the damned thing wont accept my canadian credit cards May 23 03:53:42 Tjh: So, you need to spend 30 cents? May 23 03:53:46 I'm pretty sure $.99 is the min May 23 03:54:01 JesusFreke: F&^&* May 23 03:54:25 Sambarboz: yes May 23 03:54:31 Tjh, accepts my canadian card :/ May 23 03:54:38 as a followup contingency plan, as I already have the js running ok in a webview, what is a smart/recommended way to grab/parse the returned URL so I can send it elsewhere? May 23 03:54:46 you need to open the canadian play store i think May 23 03:55:16 welcome to my country :), please keep it clean and quiet May 23 03:56:10 Afzal: really, you have your home country set to US and it accepts your canadian credit card with canadian address? May 23 03:56:28 why would i have my home country set to US when I'm in Canada? May 23 03:56:39 that would be my problem May 23 03:56:41 change your country to Canada <_< May 23 03:56:45 i CANT May 23 03:56:48 why not? May 23 03:56:49 because of the damned 30 cents May 23 03:56:57 i have google play balance in USD May 23 03:57:05 since i bought n7 in us and got the $25 May 23 03:57:20 ah lol May 23 03:57:23 oh oh oh May 23 03:57:24 exactly May 23 03:57:36 go to shoppers and get a disposable visa May 23 03:57:46 and set your country to US in that May 23 03:57:48 thats my backup plan yea May 23 03:57:53 anyway, this is off topic May 23 03:57:55 but that'd waste $5 May 23 04:00:09 what database does android support? May 23 04:00:17 sqlite May 23 04:00:28 ok May 23 04:07:13 some version of sqlite :) May 23 04:17:52 Somebody already used TwoWayGridView library? May 23 04:18:42 I want use a library, but it's not compiled, it,s served as android app source code May 23 04:18:52 How should I import it into my project? May 23 04:19:09 as a library project May 23 04:19:47 How do I do it? May 23 04:20:22 Hm… something like the facebook lib way? May 23 04:20:36 if only there was like an easy way to search the internet May 23 04:20:41 using keywords May 23 04:20:47 oh well, maybe one day May 23 04:20:54 :) May 23 04:21:24 lol May 23 04:21:25 uhoehuoehuao May 23 04:21:48 StingRay_: You give me a light! Thanks. May 23 04:39:51 hi. what is the standard practice for publishing app? should i use my own key to sign app or should i tell client to use his own key? May 23 04:39:54 help May 23 04:40:27 who owns the app May 23 04:41:13 client May 23 04:41:31 but he has not paid the remaining 50% yet May 23 04:42:02 this is just business and contract May 23 04:42:07 not really app dev May 23 04:42:08 :) May 23 04:42:49 so should i sign with my key? will that give me control to pull down app in case i do not gate remaining payment? May 23 04:43:25 and in future if anything goes wrong due to app then will i be responsible for it because i signed the app? May 23 04:44:24 in order, again business up to you….. no, the account used to publish will ….. nothing to do with it May 23 04:44:50 don't publish or deliver until they pay May 23 04:44:54 you should use their key May 23 04:46:17 JakeWharton, to use their key i need to tell then to publish themselve right? i mean can i just get their key and publish myself? May 23 04:46:27 StingRay_, ok May 23 04:47:50 ideally they would have their own play store account and their own signing key May 23 04:48:38 they dont. they are not that aware. May 23 04:48:44 that much* May 23 04:52:07 then you're on your own May 23 04:52:32 ok :-( May 23 04:54:50 JakeWharton: I need a pointer or two May 23 04:55:06 0x16AC53B8 May 23 04:55:18 0x9347CCE3 May 23 04:55:24 see about a year ago I would have though…wtf May 23 04:55:28 go over the top and give him three May 23 04:55:31 but now I find that funny May 23 04:55:31 those are 32-bit, I can find some 64-bit pointers if you need them May 23 04:55:40 thought* May 23 04:56:08 I have a multi select listview in a dialog that returns selection to currentActivity, it's a form/editor layout thingy May 23 04:56:33 it needs to show the selection using the same views that were in the dialogs adapter/listview May 23 04:56:43 I have thought of many ways to do this May 23 04:56:58 what would you recommend ? May 23 04:57:36 linearLayout with adapter and update data / getView etc May 23 04:58:38 problem there, it obviously in the very rare circumstance that the data is 30+ items with icons and/or images, does not use the listViews loading, so there is a pause May 23 04:59:49 I can create the contents quicker in code, but attaching seems to be where the time goes, I take it that it draws/calcs off-screen too May 23 05:01:08 I created async and threads to do work off main ui, but still the addView and draw seems to….well….slow May 23 05:01:11 er, I don't fully understand the situation May 23 05:01:20 imagine contacts list May 23 05:01:36 you choose 50+ contacts May 23 05:01:51 you want to then display that selection in a form May 23 05:02:04 using the same layout that the user just selected May 23 05:02:19 in the selection popup dialog listView May 23 05:02:29 the form is in a scrollView May 23 05:02:50 second one? May 23 05:03:28 in a second display in the form yes May 23 05:05:25 at the moment I have a listView where user selects numerous items, then presses ok, then that info in the same visual format needs to be displayed in a form element that is in a scrollView May 23 05:05:32 maybe thats a better explination of it May 23 05:06:10 so the user selects a ton of things from a list, the click something, and then in another layout (the form layout) you want to display all of the selected items using the same layout? May 23 05:06:22 I did make a custom listView that resized based on content …but that has some nice problems May 23 05:06:34 JakeWharton: yes May 23 05:06:50 um May 23 05:06:54 i see. so yeah you can't put a ListView in a ScrollView May 23 05:07:04 oh you can :) May 23 05:07:15 just aint too bright May 23 05:07:18 I'd probably show up to 5 items and then if there are more have a row that says "8 More Whatevers" May 23 05:07:28 yeah see I thought of that May 23 05:07:29 where if clicked would display the entire list in a dialog May 23 05:07:46 or maybe expanded +5 on click May 23 05:08:01 and yes, it maintains selections passed back to dialog, but just wondered if there was a way May 23 05:08:09 cause the user pov problem with that is this May 23 05:08:21 select 10 from top, 1 from middle and 2 near end May 23 05:08:31 looking at what you selected is a bit of a pain May 23 05:08:52 to solve that, have the selections 1st in the dialog is not nice flow or consistancy May 23 05:09:01 so I'm…. vexed May 23 05:09:40 you want to select 50 items then swipe to new list view? May 23 05:09:54 no May 23 05:10:18 StingRay_: rewind; whats the user's goal ? May 23 05:10:50 its hard to express UI in text May 23 05:10:54 to add elements to a form component that displays a list like view with the same layout as a list view May 23 05:11:15 like the Contacts editor ? May 23 05:11:39 ok here we go imagine May 23 05:11:41 you have a form May 23 05:11:46 StingRay_: and where scroll view comes in? May 23 05:11:50 waait …….. May 23 05:11:51 loads of mixed items May 23 05:12:01 text, lists checks etc May 23 05:12:29 they are in a scrollView and this log list is a assasin contract etc May 23 05:12:49 you go to the kill these people section and choose select May 23 05:12:58 a popup of your contacts comes up in a listView May 23 05:13:06 you select who you want deaded May 23 05:13:14 confirm May 23 05:13:41 then that selection goes to the form element and uses the same item layout that you just looked at in the listView May 23 05:13:45 tadaaaa May 23 05:13:48 thats what I wanted May 23 05:14:00 kill? not this morning.. May 23 05:14:10 got close with an auto expanding listView May 23 05:14:46 but layout is called (item x pixel height ) May 23 05:15:05 now the problem is if on a very rare occurance I want to kill 50+ people May 23 05:15:35 it's very slow to do in most of the ways I have tried, if those layouts have icons/images May 23 05:16:06 suggestions ? Ideas ? May 23 05:16:56 Anyone here? Got a bit of a question. May 23 05:16:57 hm, so it sounds like you had some form - which probably had some limited bounded number of items, and you now want to add some unknown unbounded number of things to it May 23 05:17:24 I know how to do it in a few ways May 23 05:17:41 just all the ways I have tried are slow to shit slow May 23 05:18:32 If anyone's available to help me try to parse a bit of a bug(Yes, I have a logcat log in a pastebin) and help nail down its source, I'd greatly appreciate it. May 23 05:19:09 why it is slow? May 23 05:19:27 you load new listView with 50 items May 23 05:19:35 not a listView May 23 05:19:47 as it's a scrollView that the component sits in May 23 05:20:34 suppose I could put blank views in there and use ViewTreeObserver and only populate / swap when drawn or pre-draw ? May 23 05:21:04 first listview, confirm form, and final listView are all in one scrollView? May 23 05:21:29 currently there are no listVIews in the form May 23 05:21:47 the selection listView pops up in a diag fragment May 23 05:22:16 its not good to play with how items are freed/cached May 23 05:22:26 I did do a custom expanded listview, but that dont get round the slow, addView May 23 05:22:30 squ I dont May 23 05:23:29 Anyone? Bueller? May 23 05:23:45 kadri: just ask your question and give relevant info May 23 05:24:02 doubt anyone will commit to answering something that you have yet to ask May 23 05:24:04 :) May 23 05:24:27 App is crashing on a nonstandard distro(Cyanogen). Logcat notes it as a java problem. http://pastebin.com/HWZnayiu May 23 05:24:42 lol @ java problem May 23 05:24:58 (App is "Galaxy Online 2." And yes, I asked in the CM channel already. their response involved a photo of a man with a cactus in his rectum.) May 23 05:25:18 oh that's pleasant of them May 23 05:25:29 Yeah, real classy folks. May 23 05:25:40 is this "your" app ? May 23 05:25:55 No, it's not mine, but I'm quickly running out of reliable places to ask for assistance. May 23 05:26:15 no one here can help you then, this is an app dev channel May 23 05:26:33 The app runs on standard Android distros(As well as emulated on the PC), which tells me it's a problem with the CM distro. May 23 05:26:42 yep, so take it up with them May 23 05:27:21 Stupid hotkeys. May 23 05:27:35 Anyway, can you at least look at the pastebin and gimme some sort of basics here? May 23 05:27:42 kadri: sure that the devs have support you can contact May 23 05:27:43 kadr May 23 05:27:52 You don't know IGG very well :P May 23 05:28:06 are you using aidl to communicate between a service and a gui app? May 23 05:28:11 (Their support is...Well, lets just say they've left a chat bug alone since the app was brand new) May 23 05:28:30 Ron: Not a clue, I'm not a developer, just a user. May 23 05:28:48 oh well the best I can tell it looks like there is a binder issue there May 23 05:28:56 Fun stuff. May 23 05:28:57 and that really doesnt surprise me on a cm rom May 23 05:29:17 people like to make rash decisions on what stays and what goes without appropriate testing May 23 05:29:21 Frabjous. Any way to get around that, or is it basically screwed with using that for now. May 23 05:29:26 I know there were a couple diff binders out there people were trying to mess with May 23 05:29:32 rom May 23 05:29:59 I'd say if it only happens on cm... its a rom issue May 23 05:30:32 Gotcha. So watch the nightlies for a release with mention of solving binder issues in the changelogs, basically? May 23 05:30:42 honestly... when I build my android shit the concensus is generally if you are on a custom rom and the app works.. .great May 23 05:30:44 if not May 23 05:30:50 dont know what ot tell you May 23 05:30:57 Fantastic. May 23 05:31:13 I am not saying its guaranteed to be a binder issue May 23 05:31:19 I dont see any super obvious thing there May 23 05:31:21 Well, thanks for at least looking at it, it's more than most have bothered to try to do. May 23 05:31:31 actually that says input dispatcher May 23 05:31:54 okay...? May 23 05:32:07 got shell May 23 05:32:08 ? May 23 05:32:15 Doubt it. May 23 05:32:22 http://source.android.com/tech/input/getevent.html May 23 05:32:28 "showing live events" May 23 05:32:36 fire that up May 23 05:32:44 and dont touch the phone while the app is running May 23 05:32:48 see if you get a shitload of entries May 23 05:33:02 Gotcha, half sec. (And it's a tab, 10.1) May 23 05:34:20 in anycase I dont know what to tell you May 23 05:34:53 if you see a shitload of input events, its likely a rom issue and not gonna be something you can easily fxi May 23 05:34:59 Dunno how to use that, to be honest, novice user when it comes to android devices to be honest. Hate that I am, but it's in the process of being worked on. May 23 05:35:07 I've got alogcat, will that do? May 23 05:35:17 adb May 23 05:35:27 use the adb shell whatever whatever whatever May 23 05:35:41 I dont mean to throw a few ideas out then split but I've gotta get some sleep May 23 05:35:53 sleep , wut ? May 23 05:35:54 No problem, thanks for the help as it is. May 23 05:36:40 g00s gotta get up early tomorrow May 23 05:37:29 alright then May 23 05:37:35 (Alogcat shows nothing going on, input or otherwise, when the device is left to sit) May 23 05:38:08 (Aside from the occasional cb_onMotion, but that's mainly because the device is balanced on my knee :P ) May 23 05:40:43 Ooh, didn't see this before. What would a "F/libc (30734) Fatal signal 11 (sigsegv) at 0x00000000 (code=1), thread 30784 (fp_audiocallbac) entail... Something tells me that's not a good thing. May 23 05:55:50 So, no one else that can help me parse that/offer assistance with this, I take it. May 23 05:59:13 kadri, a sigsegv usually means a thread tries to access memory it does not have permission to access May 23 06:00:24 is anyone here May 23 06:00:31 Fun beans. Any way to force it to be able to have that access? May 23 06:00:58 hey im rooting my phone and i seam to be having trouble May 23 06:01:10 What's wrong, Cin? This one I might be able to help you with :) May 23 06:01:38 kadri, I'm not sure your pastebin has all the useful information needed to figure the problem out from your logcat May 23 06:01:59 well im using crag something May 23 06:01:59 Ologn: Tell me what you need, I'll put another one together if need be. May 23 06:02:10 Cin: Not familiar with that one. May 23 06:02:13 im at the downloading page thingy May 23 06:02:16 Dr_CinnamonBun, as the topic says, #android-root has more Android rooting experts May 23 06:02:22 but it just going in a loop May 23 06:02:25 What they said. May 23 06:02:31 no on is talking May 23 06:02:33 one May 23 06:02:43 (Curious, did you wipe your data before trying to install the new rom?) May 23 06:02:52 it's a one click May 23 06:03:04 Ahh, yeah, there's most of the issue, most likely. May 23 06:03:05 http://droidviews.com/tag/sgh-i747-oneclick-root/ May 23 06:03:27 Better to use Odin and Clockworkmod Recovery. May 23 06:03:53 That way you can make sure you get the specific one for your device, and you can more easily go from there :) May 23 06:04:03 can i link u images May 23 06:04:14 If you'd like, but I'm not certain how much it'll help. May 23 06:04:23 this is an app dev channel May 23 06:04:29 kadri, for example, there are different log level messages. If it starts with D that is Debug, which can be almost anything. I/info is usually not much. W/warning can have stuff, but is all over the place. There is one E/error, which do tend to be important, but it does not look like the most relevant one. May 23 06:04:31 im sorry May 23 06:04:32 have you tried #xda-devs May 23 06:04:36 ? May 23 06:04:45 no May 23 06:04:51 xda like the biggest community on said subject that there is May 23 06:04:53 :) May 23 06:04:58 would be my 1st choice ;) May 23 06:06:14 no response May 23 06:06:18 F/libc (23615): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 23665 (FP_AudioCallbac) I/DEBUG ( 116): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** is the only other one. May 23 06:06:27 Dr_CinnamonBun: cause it's a silly question May 23 06:07:02 no1 can be arsed to say…. oh yes… I'm here I'm here May 23 06:07:22 cept me…then….ok twice…. but there is a point to that! May 23 06:07:59 i think its something to do with the gadget serial controll May 23 06:08:16 seriously, not the right place May 23 06:08:20 :) May 23 06:08:26 ok May 23 06:09:06 Dr_CinnamonBun: but try and ask a proper question in xda May 23 06:09:10 see what you get May 23 06:09:12 :) May 23 06:09:37 i did May 23 06:09:59 Dr_CinnamonBun: please read our topic May 23 06:10:07 Dr_CinnamonBun: no you didnt May 23 06:10:10 and have still not May 23 06:10:28 you ask is ne1 there …. again pointless…then you just stated something May 23 06:10:55 so a ) no1 gives a sh*t to answer if they are there or not, and b ) it;s a statement May 23 06:10:59 it's* May 23 06:13:40 :| IntelliJ keeps underlining spelling errors; i have a lot of things in Maorian :( May 23 06:14:11 sounds like you need a maorian spell check dictionary May 23 06:14:22 or turn that sht off May 23 06:14:35 think everyone is afk May 23 06:14:58 g00s: so a library is a module May 23 06:15:19 wabz: :) May 23 06:15:25 there should be some transitional docs from eclipse to IJ May 23 06:15:33 or pointers at least May 23 06:15:37 I can't figure out how to add a library jar May 23 06:15:42 in android studio May 23 06:15:42 pointers as in tips May 23 06:15:49 StingRay_: yeah "idea for eclipse refugees" May 23 06:15:56 :) May 23 06:16:21 eclipse *intellij; May 23 06:16:24 i still dont' have a problem with eclipse; after a week i can't decide what i like more. May 23 06:16:38 isn't android studio a bit prettier? May 23 06:16:49 visually, probably May 23 06:16:54 that's what matters! May 23 06:16:59 eclipse is fugly - and that is important ;) May 23 06:17:13 well its fugy on os x May 23 06:17:16 for people in osx … hell yes May 23 06:17:19 + May 23 06:17:52 and I use pro IPS displays, so white is not the best thing for my eyes, although I seem to be more tanned May 23 06:18:02 i also noticed that the UI seemed sluggish on os x compared to windows; i used eclipse on windows for quite a while and - thought it was as good as any java desktop app May 23 06:18:14 oh will this help May 23 06:18:17 Initialising connection... May 23 06:18:17 Detecting device... May 23 06:18:17 ERROR: Failed to access device. libusb error: -12Installing drivers May 23 06:18:17 Driver Problems suck. Lemme make it easy. May 23 06:18:17 1. Check that your device is download mode and connected up. May 23 06:18:18 2. Select the one that says ---Gadget Serial--- in the main window May 23 06:18:18 3. Click ---install driver---. May 23 06:18:19 4. Close out zadig and use CASUAL.Note: the USB port which you install this driver will be converted May 23 06:18:19 to use Heimdall instead of Odin for download mode. It only affects May 23 06:18:20 ONE usb port. May 23 06:18:20 Heimdall v1.4 RC2 May 23 06:18:32 Dr_CinnamonBun: please go away May 23 06:18:34 Dr_CinnamonBun: erm… wrong channel May 23 06:21:05 its nice looking at darcula at night; very relaxing :) May 23 06:23:29 g00s: did you end up getting a dslr ? May 23 06:23:58 StingRay_: nope; broke May 23 06:24:12 that 100d looks cute May 23 06:25:08 what sensor does android use to get the rotationVector data? magnetometer? May 23 06:25:25 I have AOSP master checked out but I seem to be missing a bunch of repos. An instant set that jumps out is all the tools repos May 23 06:25:40 i have tools/external/fat32 but not any of the others May 23 06:26:21 anyone know how to coerce them out? May 23 06:27:27 they have a 'notdefault' group in the repo manifest May 23 06:31:17 trial and error figured it out May 23 06:35:29 yeah they were removed May 23 06:35:36 i think because they werent necessary for platform builds May 23 06:38:01 yeah makes sense. they're syncing down now, though! May 23 06:45:00 damnit May 23 06:45:04 it deleted everything else May 23 06:45:18 how do I checkout default + tools? May 23 06:47:55 the number of people in here using their real full-names as irc nicks is too damn high! May 23 06:48:03 unimaginative lot, you. May 23 06:48:05 I tried -g default,tools but it didn't work May 23 06:48:44 they're called irc *nicknames* for a reason May 23 06:48:45 JakeWharton, ask me tomorrow May 23 06:48:49 pragma- +1 May 23 06:49:16 there's an irc name field for real names May 23 06:49:30 the field is called "realname", surprise, surprise! May 23 06:49:42 canadiancow: so... 11 minutes? May 23 06:49:52 i can always edit the manifest but that seems wrong May 23 06:57:54 HA May 23 06:57:58 -g all May 23 06:59:08 g00s: dracular…I get that reference no May 23 06:59:20 * StingRay_ is quick, but also just looked at AS preferences May 23 07:00:04 StingRay_: its under "ide settings / appearance" May 23 07:00:10 i know May 23 07:00:11 now May 23 07:00:19 earlier I just thought you'd been drinking May 23 07:00:21 :) May 23 07:00:46 * g00s doesn't drink, smoke, chew or go with girls that do :D May 23 07:01:06 nothing wrong with a bit of "rough" May 23 07:01:31 that's what your mom said May 23 07:01:38 StingRay_: hows your listView? May 23 07:02:05 you mean my linearLayout driven by adapter May 23 07:02:16 nice and fast < 10 May 23 07:02:26 not so > 20 May 23 07:02:39 I mean that one with asasination confirm May 23 07:02:52 ) May 23 07:02:55 pft, i have a listview and adapter with over 750,000 items in it and it's blazingly fast May 23 07:03:04 the listView popup was never the prob May 23 07:03:09 (network packets) May 23 07:03:20 just getting that many views into a widget of a form is May 23 07:03:39 you're doing something completely wrong. May 23 07:04:13 * g00s remembers the very gold advice not to have more than 100 views up May 23 07:04:13 it is not a listView May 23 07:04:17 *old May 23 07:04:17 have you covered "the world of listview" ? May 23 07:04:27 I wonder when there will be version in french May 23 07:05:13 pragma-: a listView among other things that sits in a scrollView requires a fixed height onDraw mod May 23 07:05:20 and even then it;s not brill May 23 07:05:29 you don't put a listview in a scrollview May 23 07:05:57 if it's not ment to scroll you can May 23 07:06:21 but you get problems on add/remove views with onLayout May 23 07:06:27 any senior level android devs interested in contract work? i'm a ios dev and i'd like to partner with an android dev to sub android ports out to May 23 07:06:44 pragma-: ListView will behave the same no matter how many items you have in the adapter (unless you are doing something very very weird :) May 23 07:06:49 robonerd: why don't you read the /topic? May 23 07:06:57 romainguy: tell that to StingRay_ May 23 07:07:03 omg no no no May 23 07:07:10 I'm not using a listView May 23 07:07:15 in my scrollView May 23 07:07:40 i did, create a custom listView with fixed height, but still found probs and didn't solve the main problem May 23 07:07:42 speed May 23 07:07:54 StingRay_: maybe you should have a separate tab for people to assasinate May 23 07:07:54 is it possible to write android apps with 1 UI which proportionately/dynamically accomodates any android tablet screen size? May 23 07:08:06 basically in a form, I wanted views that are in a "list" May 23 07:08:07 a ListView with a fixed height inside a ScrollView will behave pretty much like a LinearLayout May 23 07:08:11 robonerd: yes May 23 07:08:11 oh wait, you can have any arbitrary field in the parent form May 23 07:08:43 robonerd: with lots of work :) May 23 07:08:51 romainguy ah that's great May 23 07:08:59 g00s: not that much work :p May 23 07:09:09 in that "list" I wanted to use the same item layout that the user selected in a popup listView May 23 07:09:44 top of the morning gents May 23 07:09:55 crap film May 23 07:09:59 good animation though May 23 07:10:12 I added vertical listview in a horizontal scrollview (to swipe pages of listviews) May 23 07:10:18 it worked fine May 23 07:10:21 ? :-) May 23 07:10:28 it will May 23 07:10:28 ? May 23 07:10:38 squ: was that a question :P May 23 07:10:41 squ: yes, that's fine; the problem would be a ListView in a vertical ScrollView May 23 07:10:43 cause the listView is max height an no more May 23 07:10:55 romainguy: ok May 23 07:11:06 hi. in eclipse: hi. I have this line of a class member variable "private AdController mController;" in about 30 files. and i want to delete it in all of them. is there any quick way? May 23 07:11:08 my prob if I were to use a listView is the height goes off screen cause of the scroll May 23 07:11:08 phew :) May 23 07:11:27 and then wants all the views at once, defeats the idea of a listView May 23 07:11:53 but anything I do, kinda wants all the views at once really May 23 07:13:11 romainguy: what would you suggest if I have a form that requires a section of it, to be populated by user selections from a popup listVIew May 23 07:13:20 so I want to use the same item layout May 23 07:13:25 use a ListView? May 23 07:13:35 cant May 23 07:13:38 why not? May 23 07:13:41 it's in a scrollView May 23 07:13:47 as it's part of a form May 23 07:13:55 romainguy: quick OT q; when you import into Lr; what is 'Develop Preset' supposed to be: None, Zeroed, etc ? I just want 'plain' May 23 07:13:56 make the form a ListView? May 23 07:13:57 form = collection of all widgets May 23 07:14:16 cant May 23 07:14:20 why not? May 23 07:14:43 the collections are dynamically generated, and have controls May 23 07:14:52 and? May 23 07:15:03 g00s: None May 23 07:15:09 thx May 23 07:15:10 g00s: Zeroed works the same for JPEGs May 23 07:15:19 but the default preset doesn't set all the sliders to 0 May 23 07:15:23 for RAW May 23 07:16:10 and if i import them with the wrong preset, have i really messed things up? May 23 07:16:21 nope, everything in Lightroom is non-destructive May 23 07:16:28 ;) May 23 07:16:29 a preset is just values for the sliders May 23 07:17:19 i wasn't sure if clearing history would take me back to the imported preset; so if i did that wrong i would be having to select None/Zeroed a lot May 23 07:17:37 * g00s is just learning May 23 07:17:42 you could just select all the images and apply a preset to all of them May 23 07:17:50 or do it on one image and then sync all images to that one May 23 07:18:26 oh , cool. thanks. the imported raw look SOOO awful compared to DPP; i wonder if it even knows what my camera is :| May 23 07:19:01 sounds like you did something wrong May 23 07:19:07 very red, no greens May 23 07:19:11 uh oh May 23 07:19:18 dont forget a RAW image has more info and depth than your screen May 23 07:19:28 differences between RAW processors are usually quite subtle May 23 07:20:09 romainguy: why isn't fast-scroll-thumb enabled by default for listviews? :( That thing is so useful and so many developers don't seem to realize it exists. May 23 07:20:20 oh no. i saw that when the thumbnails were being built, they went from what dpp would show to something very desaturated May 23 07:20:23 because it only makes sense in sorted lists May 23 07:20:26 or lists with clear sections May 23 07:20:44 g00s: ah the thumbnails you see by default are the embedded JPEG previews generated by the camera May 23 07:20:55 g00s: and then you see the RAW with default settings May 23 07:20:59 what? no, it makes sense for large lists where you don't want to have to keep flinging to scroll. May 23 07:21:02 ahh May 23 07:21:22 a "flat" look is what you want really with RAW files May 23 07:21:37 pragma-: a lot of list views are not very long May 23 07:21:58 and for those listviews, it wouldn't have any effect May 23 07:22:20 except it would May 23 07:22:23 and it would be weird May 23 07:22:24 how so? May 23 07:22:34 because the thumb would be there? May 23 07:23:03 is there a way to check if certain intent/pendingintent is scheduled in alarmamanger? May 23 07:23:21 shrug, i just edited the listview source in my personal rom to have it always enabled and I'm quite pleased with it May 23 07:23:28 pragma-: like when you get lost while driving, and you speed up, you dont know where your going, but your moving fast :) May 23 07:23:41 it would feel like that :) May 23 07:23:51 you're* May 23 07:24:20 i'd rather see the thumb on short listviews than not see it on long ones. May 23 07:24:29 good morning May 23 07:24:33 What is the difference between Thread and HandlerThread ? May 23 07:24:36 if in activity i create an Handler A and a Thread B from the main UI thread, it's possible to send message from Thread A to Hanlder B ? May 23 07:24:45 I'd rather people use the indicator on it in ordered lists May 23 07:24:46 or Thread A must be an HandlerThread ? May 23 07:25:23 romainguy: a compromise could be to automatically enable it if the listview exceeds a certain threshold May 23 07:26:19 pragma-: you see it jumping and chaning size though ? May 23 07:26:25 cause that annoys me somewhat May 23 07:26:27 there is nothing more painful than having to fling and fling to scroll long listviews that don't have fastscrollthumb May 23 07:26:34 StingRay_: no. May 23 07:27:05 it has a height variance that jumps around May 23 07:27:16 and it's relative position seems to also May 23 07:27:25 nearing the end of a list May 23 07:27:27 StingRay_: actually, yes, i've seen the scrollbar itself act a little wonky May 23 07:28:05 i can't really recall the specifics of it since i haven't seen that behavior in a while May 23 07:28:32 i guess it's guessing remaining distance May 23 07:28:34 Hi :) May 23 07:29:46 i miss hardware keyboards; at least with those you could start typing and it would scroll the listview to that May 23 07:30:21 and they were decent control pads for games May 23 07:30:48 xda-exec, still my fav, aquired taste May 23 07:31:34 or I think US called it HTC Universal May 23 07:31:45 * pragma- vomits on htc. May 23 07:31:48 U.S.* May 23 07:32:00 HTC were kinds back then!!! May 23 07:32:06 kings* May 23 07:32:13 ok I'm tired now May 23 07:32:39 i had a htc mytouch slide back then. thing fell apart and the screen ribbon cable snapped after 1 year. May 23 07:32:42 never again. May 23 07:33:13 i had a HTC universal 3 years running (as upgrade) May 23 07:33:17 never failed me May 23 07:33:21 any of them May 23 07:33:41 so ended up with 3 cause no other phone was a worthy replacement May 23 07:34:21 htc lost another exec May 23 07:34:29 they are pretty much in freefall May 23 07:34:50 the problem is, you can make the best phone and still not go up against sammy May 23 07:34:56 if they had just added 1 more button to the "one" :) May 23 07:35:04 i dont think its because of the removable battery / storage May 23 07:35:16 no sdcard == deal breaker May 23 07:35:46 pragma-, Get a GS4 May 23 07:35:48 I maybe interested in a google s4 May 23 07:35:58 Sonicadvance1: I'm happy with my SGS3 May 23 07:36:17 Ah, I only read part of the conversation May 23 07:36:28 GS4 is the best phone on the market :P May 23 07:36:41 is it plastic ? :P May 23 07:36:49 g00s, Best phone for hardware* May 23 07:36:57 asthetics are a personal opinion May 23 07:37:06 aesthetic May 23 07:37:09 i prefer metal frame May 23 07:37:14 external frame May 23 07:37:24 I see Google is selling a variant of the SGS4 with stock Android instead of Samsung Android. I can only hope it outsells their N4 so they understand how popular sdcards are. May 23 07:37:36 yea, the phone shell is a personal choice May 23 07:37:50 but from a pure hardware perspective the GS4 is better than all else :P May 23 07:37:51 I prefer plastic. May 23 07:38:07 i guess the worst is glass :P May 23 07:38:10 how much cpu would use an empty Service triggered by an AlarmManager every second? May 23 07:38:12 Indeed May 23 07:38:28 You know, until Samsung introduces the Galaxy Note 3 next month with Octa and Mali-T628 graphics :P May 23 07:38:59 zhulikas: aweful? :D May 23 07:39:04 *awful May 23 07:39:07 just wondering May 23 07:39:13 wonder no more :) May 23 07:39:35 zhulikas: once a second isn't much, really May 23 07:39:35 * zhulikas is developing a virus which runs in the background and destroys user personal data May 23 07:39:48 if you turn the phone on with alarm manager, a whole bunch of other shit might go too May 23 07:39:48 and is invincible May 23 07:40:06 pragma-, exactly my thoughts May 23 07:40:11 somebody used the PagerSlidingTabStrip on github before? May 23 07:40:22 I think I'll leave it run for a day May 23 07:40:25 and check battery statistics May 23 07:40:30 but wasn't sure that's necessary May 23 07:40:52 zhulikas: let us know the results of your experiment :P May 23 07:41:00 zhulikas: are you creating a service or just sending a message to it? May 23 07:41:00 which will be done in about 3 hours XD May 23 07:41:35 ok, will report back to yo May 23 07:41:37 you* May 23 07:42:08 pragma-, I have a single service and during app startup schedule a repeating AlarmManager PendingIntent on it May 23 07:42:15 i'm not really sure what the overhead of creating/starting a service is, but it'll be more than simply sending a message. May 23 07:42:23 and just for curiousity will start it every second May 23 07:42:45 if it's not significant, it's awesome May 23 07:42:50 why not just leave the service running/ May 23 07:43:01 that's not guaranteed May 23 07:43:10 g00s: want to remote to my machine and convert my eclipse workspace to AS ? May 23 07:43:12 :) May 23 07:43:19 StingRay_: no :D May 23 07:43:28 oh... May 23 07:43:29 i didn't import anything May 23 07:43:30 :( May 23 07:43:54 StingRay_, Having problems with it? May 23 07:44:01 I just did an import and it worked right away May 23 07:44:03 i have idea and eclipse stuff in the same project, each created from source - not eclipse -> idea May 23 07:44:19 hmm May 23 07:44:28 Sonicadvance1: no, just looking at the moment May 23 07:44:40 may give it a shot in 10 hours or so when I wake up May 23 07:44:52 i think it read the manifest and figured it out. BUT close down eclipse, and do a thorough clean … it was finding 2 manifests May 23 07:45:03 and other weirdness May 23 07:45:18 how can one find out what user/group an app runs under? I accidently deleted a data folder, and forgot to check the permissions May 23 07:50:36 g00s: you saying you just created a new project ? May 23 07:50:48 yeah May 23 07:50:50 copied src and just refreshed etc ? May 23 07:50:57 well and manifest etc May 23 07:50:58 no, not copied May 23 07:51:09 just 'craete project from these sources' May 23 07:51:59 hmmm that maybe not an AS thing May 23 07:53:24 absurd, pm list packages doesn't have an option for showing uids/gids? May 23 07:54:26 you can cat /data/system/packages.list to see the uids/gids May 23 07:54:35 (if rooted) May 23 07:55:01 or write a quick app to use PackageManager May 23 07:55:09 absurd that pm itself doesn't already do it May 23 07:55:12 romainguy: its tough creating keyword lists (basically ontological engineering) … i didn't want to use any pre-canned lists because they didn't seem organized to the way i was thinking or were too long (had waaay more stuff than i needed … don't need the exact bird species) May 23 07:56:20 at the same time having a good hierarchy seems like a decent idea when going into the exercise of keywording your pics May 23 07:56:29 i dont want to do this again :/ May 23 07:56:52 g00s: like the floating modes :) May 23 07:57:01 hmm, well this is strange, i have an out of bounds exception, but every method in the stack trace is internal, can anyone shed some light on this? http://pastebin.com/raw.php?i=LrxNa3mw May 23 07:57:38 StingRay_: i remember trying idea in 2008 and was like "meh", its gotten much nicer since May 23 07:57:49 then again, eclipse was meh too :D May 23 07:58:01 fk me I'm lost in this thing though May 23 07:58:04 actually, eclipse seems the same now as 2008 :/ May 23 07:58:23 StingRay_: i think the UI is more cluttered May 23 07:58:30 think I may continue to look at this later today after some sleep, tis now 9am here May 23 07:58:30 more menus, longer menus, etc May 23 07:59:19 now does it save my layouts across lots of monitors May 23 07:59:40 oh yeah, that is frustrating with eclipse May 23 08:01:38 hmmm ok this is not built for ppl with 3 monitors May 23 08:02:32 1st world problem s May 23 08:02:35 too many monitors May 23 08:03:33 it's ok in eclipse if you just open a new window, but it would be a lot better if you could organize all those tabs across different monitors instead of having different perspectives on different windows May 23 08:03:57 but you could May 23 08:04:03 you could drag windows to other monitors May 23 08:04:07 Hello, my app doesnt seem to rotate on android 2.2, it rotates from portrait to landsace on android 4 .. but not on 2.2 (not sure about 2.3...) have you ever seen something like that? May 23 08:04:34 nah, it messes up and goes all over the place when one window changes into debug or something like that May 23 08:04:58 well the problem I see here, is the concept of window grouping, eclipse you can pretty much drag/combine any views you want May 23 08:05:12 not so what I've found in my 5 minutes in AS :) May 23 08:07:27 store 1 custom layout ? what ? May 23 08:07:31 ok tired May 23 08:07:35 off to bed May 23 08:07:37 l8rz May 23 08:08:22 how the hell did he leave and post l8rz after that May 23 08:08:42 he didnt May 23 08:08:42 :D May 23 08:08:45 because he's "StingRay_" May 23 08:09:47 Can JOptionPane be used when creating an app in eclipse? I'm getting mixed answers to this question when I search Google. May 23 08:11:02 i don't think so, no swing in android May 23 08:12:26 Yeah, that's one of the answers I read. At the same time, there are other pages that say it can be used, and even provide examples. May 23 08:12:29 weird May 23 08:12:48 What's the alternative to JOptionPane for android? Do you happen to know? May 23 08:13:45 what should i install for eclipse as a sed equivalent? May 23 08:15:26 what should i install for eclipse as a sed equivalent? sed is a command line editor used in Unix May 23 08:16:04 superlinux-hp: just keep a console open May 23 08:16:22 ok May 23 08:16:59 p_l, what i really want is to delete the google ads from my project May 23 08:17:18 remove at admob jar? May 23 08:17:22 the* May 23 08:18:46 jellybee, i did May 23 08:19:02 jellybee, but still there is the XML views of it May 23 08:19:21 jellybee, that what makes it harder May 23 08:19:39 What's usually used to display a prompt in android apps if JOptionPane can't be used? May 23 08:19:56 superlinux-hp:you can put a place holder view instead the adMob view May 23 08:20:14 Can I somehow mock location on physical device using adb / debug monitor? May 23 08:20:29 llkmj: fragment dialog May 23 08:21:10 jellybee: Does that allow user input as well? May 23 08:21:39 yes... what kind of input do you need? May 23 08:22:00 need user to be able to type in a 5-digit number May 23 08:22:50 you can put an EditText inside it May 23 08:23:02 llkmj: you'll want to take a look through the ui section of the docs, there's well defined methods for all this kind of stuff May 23 08:23:10 http://developer.android.com/guide/topics/ui/index.html May 23 08:23:23 it's fairly straightforward May 23 08:24:13 Thanks very much for the help. I spend about 10 hours trying to get JOptionPane to work .. I can finally move on. May 23 08:24:59 if you use a dialogFragment. make sure you use the support library to support devices with android 2.0 May 23 08:25:29 Okay, I'll write that down. Thanks again. May 23 08:25:41 np May 23 08:34:59 if I have a "public final Handler myHandler = new Handler(){}" defined in my activity file, and would like to have access to it in another class (different file but same package), how can i do this? I am currently trying to call myHandler.blablalba but it does not exist... should I declare it somehow? May 23 08:38:11 you don't have to do it that way with an inner class May 23 08:38:30 erdos, how can I do it? May 23 08:39:07 wait, pastebin yuor code May 23 08:39:17 erdos, thanks May 23 08:39:24 wait May 23 08:39:32 are you asking me to post my code? May 23 08:39:39 yeah May 23 08:39:42 ah ok May 23 08:41:56 one more sec pls May 23 08:43:44 erdos, http://pastebin.com/RAgzFgfy May 23 08:43:55 erdos, I tried to leave what is essential May 23 08:44:39 you can extend handler May 23 08:45:06 erdos, what does that mean May 23 08:45:41 erdos, you mean, my activity? May 23 08:45:54 erdos, Activity extend Handler? May 23 08:46:31 erdos, I'm confused here May 23 08:47:55 1 sec May 23 08:49:08 oh how are you referencing myHandler in MyRunner? May 23 08:49:48 thats the point, I dont know how to have access to it inside MyRunner May 23 08:50:24 how new are you to java? May 23 08:50:41 I would put my self in the newbie class May 23 08:50:53 I am not new to programming though May 23 08:51:27 hehe well this is kind of a java question, if you don't know this you're really going to need to do a bit of boning up first May 23 08:51:45 get this book "thinking in java" May 23 08:51:55 erdos, great... May 23 08:52:06 erdos, thanks anyway May 23 08:56:34 does somebody have used the PagerSlidingTabStrip (on github) before? May 23 09:00:00 btw, just solved it, I was not so far from the solution May 23 09:00:22 i use a viewpager with a FragmentPagerAdapter. When i add my fragment for the first time, it swipes good, but if i open another fragment, then open an instantie of my fragment with the viewpager again, the swipe (switch page) doesn't work anymore May 23 09:03:59 it's not a difficult solution, but you're going to run into a shitload of issues if you don't know the basics of how java works May 23 09:05:14 does anyone experience LocationClient (from google play services) returning null Location for getLastLocation? May 23 09:19:18 how can I create an enum that is compatible with int's? I mean, when i try to test if my enum equals some int, it yields an error May 23 09:19:54 handler msg: if (msg.what == MSG_TYPE.MSG1){} May 23 09:20:35 this yields Incompatible operand types int and ... MSG_TYPE May 23 09:21:44 you're doing it wrong May 23 09:21:51 are you going to learn java like this? May 23 09:22:03 is this possible: FragmentA with a viewpager , uses a FragmentPagerAdapter that gives instances of FragmentB --> Viewpager inside Fragment that uses fragments as pages May 23 09:22:29 erdos, you're being very helpful on my learning May 23 09:22:32 ... May 23 09:22:40 gmag: needs casting I think, like this: EnumName.values()[x] where x is the oridinal of MSG_TYPE.MSG1, don't forget enums are classes in java May 23 09:23:42 Spec-Chum, I see. That makes things a bit unelegant. Thanks mate! May 23 09:27:20 yeah, expensive too as it'll create a copy of the enum every time, I'd do it another way buddy May 23 09:28:19 here's a nice way: http://www.coderanch.com/t/571255/java/java/compare-enum-int May 23 09:28:43 2nd post May 23 09:32:02 viewpager inside FragmentA that uses a FragmentPagerAdapter (getItem --> return new FragmentB()) . Is this possible? May 23 09:34:57 Does anybody know how to make a RelativeLayout react (highlight/selectable) to external/bluetooth navigation (up/down)? I want it to behave like a ListView item from the keyboard perspective May 23 09:37:12 hi all May 23 09:38:19 i am a total n00b when it comes to android. I have an .apk file and I want to deploy it to my galaxy tab. How to? I have connected the USB, and I see file structure of the tab in my computer, but where should I copy the .apk? May 23 09:39:07 Spec-Chum, ahh thanks a lot May 23 09:39:32 or how is the .apk file deloyed into an android devbice? May 23 09:39:39 Assault, use adb May 23 09:39:48 Assault, adb -r install filename.apk May 23 09:40:08 wahts adb May 23 09:40:14 whats* May 23 09:40:22 https://www.google.co.uk/search?q=install+adb+windows&oq=install+adb+&aqs=chrome.2.57j0l3j60.4445j0&sourceid=chrome&ie=UTF-8 May 23 09:41:03 Or... just email the APK to your phone May 23 09:41:21 Or... use Dropbox to get it on your phone May 23 09:41:50 emulator: ERROR: Snapshots and gpu are mutually exclusive at this point. Please turn one of them off, and restart the emulator. May 23 09:41:53 :( May 23 09:42:08 gmag: no worries May 23 09:42:48 Android studio/intellij idea using android libraries via gradle. How do I add it to the class path? at the moment I cant see classes from my libraries May 23 09:43:05 Do I need to add them as module dependcies in the intellij gui? May 23 09:44:30 Yes May 23 09:44:49 JuiceSSH: cant i just copy the .apk to my device over USB? May 23 09:45:09 Assault, you could yes, then use a file manager app to find it, and run it from the phone May 23 09:45:41 JuiceSSH, is that yes to me? So in intellij I need to bring up the modules page and set project dependcies manually? May 23 09:46:46 is there somebody who is member of an Android Developer Group with meetups? May 23 09:53:13 ClockworkAnt, Yes - I had to do that May 23 09:54:09 That sucks JuiceSSH whats the point in having dependcy management if you need to reference it in two places? ridiculous May 23 09:54:18 But thank you for your assistance May 23 09:54:31 FrancescoV, I've been a few of the london android group meetups - including the I/O Extended one recently which was awesome May 23 09:54:41 FrancescoV, depends where you're located really :) May 23 09:56:55 JuiceSSH: I'm from Belgium but i would like to create a new development group here because there isn't one! :p juist trying to know how i can realise this May 23 09:58:16 The london one uses http://meetup.com to organise the meets May 23 09:58:20 Seems to work nicely May 23 10:03:51 tnx :) May 23 10:17:24 JakeWharton, I'm trying to create tests for my project that uses ActionBarSherlock but when I try to run it says "java.lang.IllegalStateException: You must use Theme.Sherlock, Theme.Sherlock.Light, Theme.Sherlock.Light.DarkActionBar, or a derivative." although when I run the application itself and not the tests this doesn't happen May 23 10:23:51 What would be the most accurate way to determine someones position inndoor? May 23 10:24:49 If someone was to develop a system capable of doing so - Which approach would be most suitable. I was considering WiFi triangulation but considering the battery drainage that would cause May 23 10:25:30 lite_: there is no good way May 23 10:25:34 lite_: WiFi triangulation + INS, *maybe* Bluetooth as well. Don't see any options outside that May 23 10:25:44 INS? May 23 10:25:57 even if you don't constrain yourself to stuff in phones May 23 10:26:05 SpeedEvil I dont May 23 10:26:16 ins drifts badly May 23 10:26:19 Inertial Navigation System, use accelerometer and gyros to provide location updates (included in Samsung firmwares for SGS2/3 and Note 1/2) May 23 10:26:30 My solution involves showing the location of users on the phone. but the actual tracking could happen using another device May 23 10:26:31 well, yes May 23 10:26:39 SpeedEvil: because we have shitty accelerometers and gyros, duh May 23 10:26:55 SpeedEvil: but it can be a way to decrease WiFi drainage, I guess May 23 10:27:13 but the accellerometers have noise in the range of 100ug/sqrt(hz) May 23 10:27:37 you can be most of a kilometer out after a minute May 23 10:27:47 lite_: working WiFi triangulation systems tend to use the APs for triangulation and then transmit the result to device May 23 10:28:31 using the camera can work quite well May 23 10:28:31 p_l, that was my first thought.My second thought was having the users carry around IR sensors and installing a bunch of receivers on location May 23 10:28:42 lite_: budget? May 23 10:28:48 imagine "infinite" May 23 10:29:06 this is basically a thought project May 23 10:29:08 cameras to track everyone and reconstruct 3d May 23 10:29:29 somewhat down from that May 23 10:29:43 What do you think about having the user carry around IR sensors? May 23 10:29:48 users* May 23 10:29:56 is that solution plausible? May 23 10:30:01 what's this for? May 23 10:30:14 and how accurately do you need to track the people May 23 10:30:19 lite_: IR sensors are bad idea May 23 10:30:30 would just in rooms work? May 23 10:30:33 its for a hospital. Helping doctors and nurses finding eachother May 23 10:30:34 yea May 23 10:30:41 just knowing which room they're in would be fine May 23 10:30:56 lite_: There are already location systems like that in form of extra devices (still operating on RF) May 23 10:30:59 turns out nurses spend hours on a daily basis looking for eachother May 23 10:31:03 rfid can work if you instrument the doorways May 23 10:32:15 lite_: there are bracelet "tags" that provide pin-point accuracy within a facility equipped with apropriate transceivers (used to quickly evacuate night staff from factories, for example) May 23 10:32:16 do any consumer phones have ir receivers these days? May 23 10:32:36 p_l thats perfect May 23 10:32:49 these RFID's could be inserted into lab coats or whatever May 23 10:33:27 lite_: those are a bit bigger than RFID, but yeah May 23 10:33:52 http://en.wikipedia.org/wiki/File:Microchip_rfid_rice.jpg May 23 10:34:30 lite_: RFID at those sizes has *horrible* range May 23 10:34:47 would only have to be a few meters May 23 10:35:11 you would need to put a reader coil round each door May 23 10:35:29 the bracelets would be active (you leave work, you leave them on charging station) and provide high quality location data easily May 23 10:35:32 for passive RFID May 23 10:35:36 hmm May 23 10:35:43 p_l whats the name of those bracelets? May 23 10:35:48 bracelets may have hygiene issues May 23 10:35:56 at the resolution of RFID-in-doors stuff, you could just use triangulation May 23 10:36:30 well, i imagine these bracelets could be rearranged so that you could fit them in your coat/pocket/whatever May 23 10:37:16 lite_: I don't know the name, I happened to see them used by some places (contractors needing to visit onsite in a huge datacenter at night, having to wear bracelets both for security and for fire evacuation) May 23 10:37:28 alright May 23 10:38:29 Would using something like ZigBee be possible ? http://en.wikipedia.org/wiki/ZigBee May 23 10:38:32 googling personell tracking solutions brings up lots of hits May 23 10:39:45 in principle, a low cost solution might be lots of low power wireless APS May 23 10:40:21 and a service that notes what AP each phone is logged into May 23 10:43:44 hm May 23 10:43:49 yes May 23 10:44:14 but that leaves me back at the problem with battery lifetime May 23 10:44:33 not really May 23 10:44:39 No ? May 23 10:44:56 a day for a mostly idle phone is pretty reasonable May 23 10:45:26 Even if the phone is "constantly" having to calculate its distance from a number of aps ? May 23 10:45:27 workday, that is May 23 10:45:35 not distance May 23 10:45:50 you set it up to autplogon to a network May 23 10:46:03 you then have a wireless access point per room May 23 10:46:19 you monitor which the phone is connected to May 23 10:46:37 Ah. okay. May 23 10:47:14 and what are the risks of such an ap being accidentally connected to by a phone in the next room ? May 23 10:47:20 how this would work does depend on the building construction though May 23 10:47:37 in some cases, it will not work well May 23 10:48:50 there are APs that can do triangulation and only send the determined position over network to teh phone May 23 10:49:10 that is, the APs themselves communicate with each other to perform triangulation May 23 10:49:19 sounds expensive May 23 10:49:38 any model or manufacturer names you recall May 23 10:49:45 Cisco among others May 23 10:49:57 basically, the "enterprise" AP stuff May 23 10:50:07 hm May 23 10:50:10 thats clever May 23 10:50:31 but how does an ap do that ? May 23 10:50:58 lite_: the same way a phone might do, except instead of looking for APs it looks for stations (STA mode devices) May 23 10:51:03 sounds like an intelligent(expensive) network. May 23 10:51:05 have an internal clock synchronized between APS. May 23 10:51:19 compare times of arousal May 23 10:51:24 arrival May 23 10:51:29 lol May 23 10:51:35 I want that app! May 23 10:51:39 so you switch on wifi, it connects to the network, the phone lights up as STA mode device May 23 10:52:08 if you don't have synchronized clocks, you're doing something horribly wrong anyway May 23 10:52:17 Alright May 23 10:53:11 Maybe the solution is to offer up more ways of inndoor tracking. And determining which solution to offer up based on the costumers needs(economy and construction of buildings) May 23 11:10:15 p_l how accurate do you reckon this solution is ? May 23 11:10:31 lite_: which one? The AP-side triangulation? May 23 11:10:53 depending on density May 23 11:11:14 should give you room-level accuracy at least, possibly more May 23 11:11:41 aight, cool. May 23 11:15:11 isn't this the proper way to read ParcelableArray from an intent's extras and turn them back to their original class? http://pastie.org/7947317 May 23 11:16:41 I'm ending up with a NullpointerException on line 24 when I try to access this newly constructed ParcelableArray's length so I could use it to construct the custom class array of objects May 23 11:16:56 this is the class definition for the array of objects I'm sending as Parcelable; it implements Parcelable of course, http://pastie.org/7947318 May 23 11:20:05 p_l im having difficulties finding any resources about ap side triangulation May 23 11:20:25 lite_: check out on Cisco' site? May 23 11:26:38 Hi. Is it possible to remove completly the button bar on the devices without hardware buttons for home and back? May 23 11:32:13 sure May 23 11:32:19 media player apps do it May 23 11:32:24 some games too May 23 11:32:34 look at angry birds May 23 11:33:57 hey guys...i have a question about the AudioTrack object May 23 11:34:04 i'm generating sound procedurally May 23 11:34:16 my sample generation seems to work (i have a C version of my program that works May 23 11:34:19 ) May 23 11:34:48 but how do i know when to fill the AudioTrack buffer? right now i'm using a java.util.Timer object, but that doesn't seem right May 23 11:35:02 in linux, alsa can give a callback when it's time to fill the audio buffer May 23 11:35:09 is there something similar for android? May 23 11:35:30 does it perhaps block when you try to fill a full track? May 23 11:35:46 maybe that's what's happening May 23 11:36:11 my timer is at 100hz, and on the tick i fill 441 samples (the audiotrack is configured for 44100) May 23 11:36:26 but it sounds terrible May 23 11:40:50 can somebody help me with this: http://pastebin.com/JHuvfKri May 23 11:48:10 maybe something with getFragmentManager & getSupportedFragmentManager ? May 23 11:54:01 does add work with tag? i thought it was only replace May 23 11:54:16 or May 23 11:54:28 it could be that you call getSupportFragmentManager() but then also call getFragmentManager().beginTransaction(); May 23 11:54:46 ie the ft needs to be getSupportFragmentManager too May 23 11:55:58 can't call getSupportFragmentManager() inside a Fragment from android.support.v4.Fragment May 23 11:56:21 oh May 23 11:56:27 well i am guessing that may be the problem May 23 11:56:48 ie the support fragment manager does not see the fragment manager May 23 11:56:51 Is it bad to keep the instrumentation in the release app May 23 11:58:38 lasserix: I can find my fragment if i use ft.addToBackstack(null); May 23 11:58:46 ahh yeah May 23 11:59:16 sorry just did 10 hours of straight hw for a class (entire semester worth of hw :) May 23 12:00:00 lasserix: still student? May 23 12:00:31 yeah May 23 12:00:43 have a portfolio? May 23 12:00:54 app portfolio? May 23 12:01:02 yes May 23 12:01:27 haven't put one together yet, will probably once i finish my most recent contract May 23 12:01:33 I have a http post code that works fine on my desktop, but as soon as i put it into my android app it ceases to work, http://pastebin.com/qgequhaU any ideas? May 23 12:01:47 the phone is using wifi only May 23 12:04:19 how can you remove all fragments in the fragmentmanager except one? May 23 12:05:06 or all fragment that are added after a specific fragment? (--> all fragment above fragmentX) May 23 12:06:35 other question: can it become a problem to put always fragment on top (with ft.add(...) ) , my app uses +- 20 fragments now May 23 12:06:52 Failed to start render thread happens every 10 app launches on adt/ubuntu... May 23 12:07:03 How do you use -20 fragments? May 23 12:09:35 not -20, 20 different fragments May 23 12:09:41 o for the love of god May 23 12:09:52 forgot to get the app to request network perms May 23 12:11:15 is there anywhere a good howto describing the motivation between themes, styles and attributes and how they can be used? May 23 12:11:19 fransceco popbackstack May 23 12:11:33 * Ge0rG is fed up with cargo-cult-copying xml from SO May 23 12:11:59 i tried but how can i filter/check to a specific fragment? May 23 12:15:27 Hi May 23 12:15:40 hey there May 23 12:15:47 Is there a default way to display to the user that EditText value is invalid? May 23 12:16:00 To highlight it, for example May 23 12:16:08 Or only plain text toast? May 23 12:17:01 hmmm.. you can have input types that validate certain string May 23 12:17:03 like emails May 23 12:17:25 so there's probably a standard way to do it... although im not sure what it is sorry! May 23 12:17:43 I want to check for empty fields May 23 12:17:55 Ah, I forgot that I can disable simply login button May 23 12:18:01 simply disable * May 23 12:18:31 But what is the standard way to show that an incorrect character was entered? May 23 12:18:45 having the app call the police! May 23 12:18:53 I have to use only ASCII letters because the protocol doesn't support Unicode May 23 12:19:20 No, that would be too few May 23 12:19:39 Having the app call FBI, CIA and SWAT sounds better May 23 12:20:59 ^______^ May 23 12:21:33 Warning: User is an idiot and handling this phone is a clear and present danger to him/herself and those around him/herself. May 23 12:22:04 dont think there is a standard May 23 12:22:16 you could just change the bg color of the edit text? May 23 12:22:22 or the text color? May 23 12:22:31 this doesn't look Holo-ish May 23 12:22:36 what happens when you put in an invalid email? May 23 12:22:58 well, I think I should add a toast showing allowed characters May 23 12:23:07 so it's clear what characters can be used May 23 12:43:31 is there any API to tell if bluetooth network tethering is enabeld on a device ? May 23 12:46:23 Hi Everybody! May 23 12:49:46 Which method is called when a ViewPager "recycles" a fragment? May 23 12:49:51 wait May 23 12:50:00 Which method is called on the fragment when a ViewPager "recycles" a fragment? May 23 12:51:59 hi everybody May 23 12:57:33 xor42: hey! May 23 12:57:53 lite_: try googling "fragment lifecycle" May 23 12:58:37 Ankhwatcher i know the lifecycle. I just dont know how the viewpager handles its fragments May 23 12:58:59 Does it actually destroy the fragment or only the view May 23 12:59:00 ? May 23 13:00:30 lite_: maybe this will help: http://android-er.blogspot.ie/2012/09/life-cycle-of-fragments-in-viewpager.html May 23 13:01:44 I would've liked that to be a graph instead of code :p May 23 13:02:00 Zharf: ? May 23 13:02:41 graph of fragment life cycle in viewpager May 23 13:03:01 that blog format makes the code crappy to read May 23 13:03:12 Zharf: there are pretty good flow-chart making tools in the drawing app in Google Drive, go for it. May 23 13:03:30 no way, someone else shoudl do it May 23 13:03:40 I don't have the interest to study the subject further right now :p May 23 13:03:55 also 0 interest in sharing my knowledge on that kind of format! May 23 13:04:22 Zharf: you know I didn't read anything on the page except the title before I posted the link right? May 23 13:04:35 * Ankhwatcher is busy fighting Widgets May 23 13:04:53 :) May 23 13:05:33 specifically I'm not sure why my widget doesn't update May 23 13:05:44 appwidgets are crap :E May 23 13:05:46 Activity Context vs Application Context May 23 13:06:15 each activity hasit's own context, but only 1 application context exists in the entire application, like Singleton pattern May 23 13:06:20 confused... May 23 13:06:56 Can anyone explain me this context thing? May 23 13:09:44 Zharf: they certainly aren't easy, I was really thrown off by the view objects you can't use when I started May 23 13:10:19 it makes sense though May 23 13:10:28 but I just can't think of any good appwidgets :p May 23 13:10:36 the whole concept is just useless to me May 23 13:12:00 Zharf: are you a lost IOS dev? May 23 13:12:09 no May 23 13:12:19 android was the first mobile platform I worked on May 23 13:12:24 Android - widgets =? May 23 13:12:45 I've never had any widgets on my homescreen though May 23 13:12:49 well I've tried some May 23 13:12:55 but never found any of them to be any good May 23 13:13:15 Zharf: I always have a TeslaCoil flashlight widget on my homescreen May 23 13:13:29 Zharf: and Audio Manager May 23 13:13:36 what's "audio manager"? May 23 13:13:51 the Google Calendar widget is pretty handy too May 23 13:14:03 I never use a calendar -.- May 23 13:14:12 of any kind May 23 13:14:15 Zharf: it's an app which helps you ... manage... your audio... May 23 13:14:22 Ankhwatcher, but how? May 23 13:14:29 Magic! May 23 13:14:32 what does it do May 23 13:14:52 ffs May 23 13:14:58 it's free just try it May 23 13:15:09 can't, not enough space to install May 23 13:15:20 lol May 23 13:16:45 Zharf: then you won't be using my app, will you? ;-) May 23 13:16:52 probably not May 23 13:17:04 I have a problem thats rather difficult to explain: I have an activity which has a ViewPager that has three fragments. These fragments show the results of some data depending on which item is selected in a dropdown list in the activitys ActionBar. http://pastebin.com/index/vNtg9La9 May 23 13:17:28 I generally don't look for new apps to use, I have my music player, endomondo, ssh client and sleep with android, what else would I need? :) May 23 13:17:46 ssh server? :-) May 23 13:17:47 fine I also have a guitar tuner and a metronome... May 23 13:18:09 The problem is that calculating this result is cpu intensive and since the method calculating these results is called in the ViewPagers onPageSelected I have a resulting "laggy" UI when swiping back and forth May 23 13:18:11 xor42, why would I put ssh server on a phone? -.- May 23 13:18:24 OMG I so want this: http://www.kickstarter.com/projects/secretlabs/agent-the-worlds-smartest-watch May 23 13:18:30 so u can log into it from u desktop May 23 13:18:36 and do what May 23 13:18:58 ewww .net May 23 13:19:08 Zharf: i used scp to copy files over to the device May 23 13:25:25 Ankhwatcher what is wrong with .net? May 23 13:25:36 same things as with java May 23 13:25:37 ;) May 23 13:26:26 im waiting Ankhwatcher May 23 13:26:27 in Google Play Store, how has google done it with the "option" on each app? (= the 3 little squares on each item in a listview May 23 13:26:53 lite_: it's not java May 23 13:27:02 sigh May 23 13:27:25 lite_: i'd have to boot into windows to work with it May 23 13:27:33 Why have so few people used wifi direct? May 23 13:27:54 FrancescoV, the what now May 23 13:27:58 Ankhwatcher so you dont have a problem with .net or youre simply not competent enough to actually have an opinion? May 23 13:28:12 lite_: the second one May 23 13:28:17 thought so May 23 13:28:55 id ask you what your problem with windows was but i dont want to get into an off topic discussion here May 23 13:29:28 I can see they have their reasons and I'll back the project next time I get paid, but it would have been convienient for me if it was java May 23 13:30:14 I don't have a problem with Windows (7), but I prefer to work in Linux. May 23 13:31:08 Zharf: each item in the Google Play store has something like options where you can install directly without opening "app-profile" May 23 13:31:45 oh right May 23 13:31:58 stupid endomondo forgot my credentials again May 23 13:32:02 wonder what's up with that May 23 13:33:56 FrancescoV, I don't have time to do research but if you find it out, do tell me May 23 13:34:47 FrancescoV: are you trying to figure out how to make a dialog, or what an art object is called? May 23 13:35:21 I have created a DialogFragment before but what is an art object? May 23 13:35:35 FrancescoV: the dots May 23 13:36:11 yes, don't know how to realise that (for example to show options) May 23 13:37:29 but i would like to know it ;) May 23 13:39:03 Ankhwatcher: if you could help be, that would be awsome, but i'm back in 5 minutes May 23 13:40:18 I'm not sure i can tbh May 23 13:42:12 Why have so few people used wifi direct? Does it indicate a reason I should not use it? May 23 13:44:28 lite_: by the way did you consider making a service to do your long calculation and delivering the response through a Provider? May 23 13:44:54 conor_f: I think it's just very new. I'm not sure what it May 23 13:44:57 's for tbh May 23 13:47:58 Ankhwatcher: good reason I suppose. Thanks May 23 13:54:55 Ankwatcher: http://midhunhk.blogspot.be/ I mean the 3 dots option menu like 2nd picture May 23 13:55:15 with install and "add to wishlist" May 23 13:56:55 wow, the widgets are acting wacky May 23 13:57:26 I'm trying to make them update when you click on them, I just clicked on one and the other one updated May 23 13:59:05 what's really surprising/confusing is that the refresh icon I put on the top bar to clue in users that it would update the app is spinning May 23 13:59:21 ... I never asked it to May 23 14:00:50 morning everyone May 23 14:09:26 why can't I set my AsyncTask to return something of my choosing? I am setting the target type in the return type of doInBackground but I am always forced to changed it back to Void because it doesn't match the signature of the AsyncTask (the signature is used to tell what each of the 3 overriden functions accept as parameters, not as return values!) May 23 14:11:29 Sicp: Can you pastebin your code? May 23 14:11:32 If so I'll take a look May 23 14:11:55 http://pastie.org/7947988 May 23 14:12:29 I just want to get back that damned Result array! been at this since yesterday, no longer implementing the impossible Parcelable May 23 14:13:09 If the file an ImageView is showing has been changed, how can I force the view to refresh it? May 23 14:13:35 Sicp: So the issue is that you want to to return a value, not a void? May 23 14:13:41 Sicp: What are you trying to return May 23 14:13:45 yes, a value being Result array of objects May 23 14:13:58 it's called resultFinalFacebook, in the code May 23 14:15:34 Well May 23 14:15:43 I'm not sure what the Result[] type is, since I hav eno familiarity with is May 23 14:15:46 but you should change your extends May 23 14:15:47 to be May 23 14:15:52 AsyncTask, Void, Result[]> May 23 14:16:12 make sense Sicp? May 23 14:16:13 it's just a custom class May 23 14:17:21 and where do I actually return now? May 23 14:17:48 I now have doInbackground being able to return the array and onPostExecute forcing me to change the type of parameter it takes to Result[] May 23 14:18:23 Sicp: Thats because the return value of doinbackground gets passed as the parameter to onpostexecute May 23 14:18:26 thats how it works May 23 14:18:33 yea, didnt read much.. May 23 14:18:38 thank you for tolerating May 23 14:18:44 Its k May 23 14:18:48 we all gotta learn eventually May 23 14:18:49 :P May 23 14:19:00 Although you'll eventually find out how to use Loaders May 23 14:19:10 and you'll realize that most of the time you dont even want an asynctask May 23 14:19:16 cause loaders do everything May 23 14:21:08 argh, now I can't set the return value of the AsyncTask to Result[], the variable must be of type AsyncTask May 23 14:21:10 what the fuck May 23 14:22:08 Sicp: Thats becuase ASyncTask is an object... May 23 14:22:10 not a function May 23 14:22:18 it returns an ASyncTask Object, not a value May 23 14:22:37 hey, so i've got this task, i want to have a ProgressDialog show the user what's happening, i had this, but the gbv.save() blocked the Dialog from showing. so i tried to run it in a different thread like this, http://pastebin.com/pNnyAien but still the same issue May 23 14:22:40 and from that object..... May 23 14:22:44 am i going about this wrong? May 23 14:23:25 Sicp: you create the asynctask, start it and then sometime later it processes the result in AsyncTask's onpostExecute May 23 14:23:28 oh whoops, here's the first attempt http://pastebin.com/QJwAXEam May 23 14:23:38 wrong May 23 14:23:50 Sicp: What he said May 23 14:23:57 the ASyncTask isn't supposed to return anything May 23 14:24:07 its supposed to post the data to the UI in some manner usually May 23 14:24:21 or I suppose you could use it to save something to local storage as well May 23 14:24:35 that's what I was doing in the beginning before it stopped making sense May 23 14:24:39 it doesn't work like this: AsyncTask t; result = t.execute(); result.doStuff(); May 23 14:26:37 I'm going to post what I was trying in the beginning May 23 14:31:12 odd, ./android refuses to download the repository xml files unless run as root May 23 14:31:24 Where can I get the newest update on smartphone market shares? May 23 14:31:30 says file not found unless I do sudo ./android May 23 14:32:42 Sicp: Well do it May 23 14:32:51 yea, I was writing it back May 23 14:33:07 http://pastie.org/7948096 May 23 14:33:09 see line 215 May 23 14:33:28 it's as if it didn't even pass through the doInBackground May 23 14:36:05 Sicp: Do not use Toast May 23 14:36:08 even to debug May 23 14:36:18 Especially for debug May 23 14:36:19 I should say May 23 14:36:24 alright, but what about where it comes up null? May 23 14:36:24 use Log for debug May 23 14:36:28 it won't even get to the Toast part May 23 14:36:40 For example, Log.v("LogTag", "LogMessage"); May 23 14:36:46 I do, in doInBackground, and results are showing up properly, until I get to postExecute May 23 14:36:50 Sicp: That could just be toasts being weird May 23 14:37:04 causing the lines before them to error?... May 23 14:37:05 make a log to make sure you know when the loader is doing onpostexecute May 23 14:37:07 outside of any ifs May 23 14:37:12 then do one inside that logs the value returned May 23 14:37:44 right so, quick question. if your phone has only an 'sdcard0/Android/Data' folder, and not an "Android/Obb" folder, and all obb files seem to install in the former, should i just put the files in the 'data' folder instead? May 23 14:38:25 Brian|CB how do I get http://pastebin.com/zrRncSk1 setTimePeriod to run asyncronously? The problem being that the method actually sets a bunch of different textviews in the fragment being "swiped" to May 23 14:39:06 same error, Brian|CB May 23 14:39:17 The data used to set these dataviews is what's causing me to need to have it in another thread than the UI thread May 23 14:40:23 Sicp: Then the issue is with your code May 23 14:40:27 somethings not getting retrieved May 23 14:40:38 they are in doInBackground, just not outside May 23 14:40:49 is there any reason why a urlconnection would be slower to do in a app then in the browser? May 23 14:40:51 just a matter of having moved the Logs and they stopped showing up May 23 14:40:55 it takes around 5 seconds in a app May 23 14:40:59 and its instant in browser =/ May 23 14:41:04 what's there to deliver? I initialize them when the AT begins, fill them up and......print them in onPostExecute May 23 14:41:14 Sicp A = Parameters to pass to the task, B = parameters to pass to onProgress and C = whatever doInBackground returns May 23 14:41:51 And whatever doInBackground returns, onPostExecute takes as parameter May 23 14:42:09 anyone? May 23 14:43:08 i'm not pirating anything, just installing the iron man 3 game manually. it's not available here otherwise. May 23 14:43:47 if anyone has any reservations. one person did in the main channel. May 23 14:44:59 hmmm, can anyone tell me on here why gbv.save(pf); is blocking the ui thread? http://pastebin.com/pNnyAien May 23 14:45:09 lol May 23 14:45:11 this is ridiculous May 23 14:45:17 pf doesn't show until gbv.save(pf) completes May 23 14:47:14 >______< May 23 14:48:02 there is no way that the array is being returned back to onPostExecute, always coming up Null no matter what I do May 23 14:51:39 Sicp: don't use resultFinalFacebook in onpostexecute, use the passed parameter instead May 23 14:51:50 and are you sure it is connecting to facebook (instead of twitter?) May 23 14:52:15 Sicp: Step through your code with a debugger May 23 14:52:50 I am using the passed parameter and all the results show up correclty except for when I access postExecute May 23 14:53:12 first it's all filled, then it's NULL; magic! May 23 14:54:56 inside the doInBackground if at some point I say return thisArray; will it return that or does it wait until doInBackground is finished to return only 1 "thing"? May 23 14:55:01 cause I need two things to be returned May 23 14:55:28 anyone got sdk 22 on linux and can't run ./ unless root? May 23 14:57:14 Methods can only return 1 thing.. May 23 15:24:02 I have ic_popup_sync on my widget and when you drag the widget out of the application drawer ic_popup_sync animates! does anyone know why it's doing this? May 23 15:27:57 is there any reason why when I compose an html email via intent (text/html) the default email client doesn't retain the html markup thus making links unclickable? May 23 15:36:11 so my desktop at work doesn't have a mouse, so I enabled the numpad as mouse controls May 23 15:36:12 lul May 23 15:39:19 hehe Brian|CB May 23 15:42:11 hi, i have some doubt, the verge app use 3 tabs. ok sherlock with tab but i don' understand if there are fragments o ViewPager May 23 15:42:38 Hopefully fragments May 23 15:42:46 fragments provide more ease of transition to tablet devices May 23 15:45:04 sigh, I'm stuck here, can someone on linux please run android (sdk manager) as normal user and see if it works? May 23 15:45:17 I can only run it as root, and yes I'm the owner lol May 23 15:47:09 well, it runs but says file not found for the .xml files from the google server. Works when I sudo ./android It's really weird May 23 15:47:27 is there a way to create bubble overlays over certain words in a paragraph? May 23 15:47:45 or should I just start a DialogFragment and show it in there? May 23 15:48:13 (these bubbles would contain hints and definitions) May 23 15:50:36 also, is there any info whether or not Android Studio's Preview is already looped into an update scheme, as atm it's "Check for Updates" gives an error May 23 15:51:09 Spec-Chum: I can't say I've had any problems with that May 23 15:51:46 thanks Ankhwatcher May 23 15:51:53 without sudo :Fetching URL: https://dl-ssl.google.com/android/repository/repository-8.xml May 23 15:51:54 Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-8.xml, reason: File not found May 23 15:52:04 finds the file when I use sudo May 23 15:52:06 I'm baffled May 23 15:53:16 firefox finds and opens https://dl-ssl.google.com/android/repository/repository-8.xml fine May 23 15:54:13 Spec-Chum: which folder is it? I want to run it from command line May 23 15:54:42 it's just the normal android file from tools May 23 15:54:55 I've tried both the standalone sdk and the bundle May 23 15:54:56 same May 23 15:55:52 Spec-Chum: have you tried fiddling with the permissions? May 23 15:56:03 yeah, I'm the owner of the entire folder May 23 15:56:27 yeah but try setting 777 across the whole thing, see if that helps May 23 15:56:38 btw can you wget those files? May 23 15:56:40 k, gimme sec May 23 15:57:28 same May 23 15:57:34 belgianguy, i believe the update mechanism works May 23 15:57:42 but there might not be any updates yet May 23 15:58:59 every file and folder is drwxrwxrwx lol May 23 15:59:06 only on my home tho May 23 15:59:09 in May 23 15:59:18 How can I override getChildDrawingOrder to make it reverse the drawing order? May 23 16:02:14 Ankhwatcher: did you try it from your side? May 23 16:02:46 Spec-Chum: yep, works fine May 23 16:02:57 you're on 22? May 23 16:03:23 yep May 23 16:03:32 k, I'll keep digging lol May 23 16:03:53 canadiancow: ah, true, now it doesn't error out May 23 16:03:55 Add-on XML Shema #5, Repository XML Schema #8 May 23 16:04:06 but a few days ago, it did, good that it's fixed May 23 16:08:57 Ankhwatcher: hmm, I did have it in /opt before I moved it to home, does it store a config file anywhere? May 23 16:09:04 Hello. I'm using android emulator with 4.0" device profile (it corresponds to my device). Today I found out that it disappeared! Only 3.7" and several others remained. How can I bring it back? May 23 16:09:08 I rm -rf'd the /opt dor May 23 16:09:10 dir May 23 16:09:34 Spec-Chum: maybe in ~/.android May 23 16:11:25 bingo May 23 16:11:26 hah May 23 16:11:35 lol May 23 16:11:51 deleted that folder and works now May 23 16:12:14 .android was owned by root May 23 16:12:43 so it couldn't add the xml file to it, it was finding the file on-line but couldn't access the local copy! May 23 16:15:08 and that all happened because you ran it as root on the first go May 23 16:18:57 guys May 23 16:19:01 why does android studio hate me May 23 16:19:58 Because its the devil May 23 16:20:12 D: May 23 16:20:13 * aaa801 is still wondering why the hell a urlconnection takes 5 seconds in a app May 23 16:20:23 Because your connection is bad? May 23 16:20:26 because your API is bad? May 23 16:20:29 Local connections May 23 16:20:30 because your network protocol is bad? May 23 16:20:47 it is quite simply a http post to a web interface on my pc May 23 16:21:04 It works fine from the browser, but when i try it in a app it lags balls May 23 16:21:17 experianced it in multiple apps, might be a issue with the rom im using tbh May 23 16:21:28 anyone else using the Android Studio beta/alpha/io preview/whatever? I'm already finding it better than Eclipse, just because of the better code completion May 23 16:21:42 oops, just saw Brian|CB is May 23 16:39:48 Sicp: (belated) Awesome! Glad that you got it sorted out! Parcelable isn't really all that complicated, it's just that some black magic happens under the hood (reflection) to make it all work May 23 16:40:11 oh no, I ended up trying something else May 23 16:40:27 * pfn fixes his sbt plugin some more May 23 16:40:56 dun_atcmd_invalid May 23 16:40:59 dun_atcmd_invalid everywhereee May 23 16:47:25 evancharlton, i thought the whole point of parcelable was that it DIDNT use reflection :S May 23 16:47:54 canadiancow: it uses reflection to find/call the static final CREATOR field May 23 16:47:57 (AFAIK) May 23 16:48:03 ah ok May 23 16:48:04 i'd buy that May 23 16:48:15 indeed May 23 16:48:16 why doesnt it just have an interface method getCreator() or something May 23 16:48:28 because you can't have interfaces on statics May 23 16:48:32 because statics suck ass May 23 16:48:57 err... it wouldnt have to be static May 23 16:49:04 and what instance would you call it on? May 23 16:49:04 you could just return the same CREATOR object May 23 16:49:09 oh May 23 16:49:11 h May 23 16:49:12 yeah May 23 16:49:13 ok May 23 16:49:16 :D May 23 16:49:33 any sort of metaprogramming around statics will require reflection May 23 16:52:42 my sbt plug in now cleans all classes when the contents of r.java changes, yay May 23 16:53:08 no more stupid desync issues around adding and removing resources May 23 16:58:38 in intelliJ whats the diff between a module and library ? and how would I add a project library and a jar lib…. or module….or……dam this thing is different May 23 17:00:02 So, who else is excited for the return of the beefy crunch burrito? May 23 17:03:56 StingRay_, i believe a "module" is like a "project" in eclipse May 23 17:03:58 jessus this project window is not simple May 23 17:04:06 but we're quickly approaching the limit of my intellij knowledge May 23 17:04:12 A module is intellij speak for a project.. A project is intellij speak for workspace (basically, kinda) May 23 17:04:15 lol May 23 17:04:17 when you start adding lib projects, unless I'm doing it wrong May 23 17:04:57 well I just imported a lib project and now in project view I have a few root dirs like debug, main, and r ???? May 23 17:05:04 wtf May 23 17:06:25 ´well ... someday maybe i get the idea of .settings May 23 17:06:42 it's a directory but it's content is magic to mee May 23 17:06:43 yeah think I must have imported module wrong May 23 17:07:06 and for some reason, dont look easy to remove….wow this is great May 23 17:07:08 :) May 23 17:09:09 yeah, IDEs are annoying May 23 17:11:17 wouldn't mind but there is no starting point May 23 17:11:29 from a transition May 23 17:16:47 So im using eclipse, and logcat isn't running/connecting =/ ? May 23 17:18:52 * aaa801 is soo confused about what the hell in a simple urlconnection could lag so much May 23 17:22:28 mhm May 23 17:22:36 OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream()); takes forever =/ May 23 17:24:02 buffer it May 23 17:24:29 Its a http post May 23 17:24:49 gprs? :) May 23 17:25:19 Nope =/ May 23 17:25:22 over local wifi to my desktop May 23 17:25:38 this is the code, i see nothing that should be causing slowdown =/ http://pastebin.com/EcKx3jsU May 23 17:26:01 it's probably the part that's writing to the output stream May 23 17:26:22 because, you know, it's writing over an HTTP connection to another computer May 23 17:26:31 1. buffer it May 23 17:26:35 2. do it on a background thread May 23 17:26:48 So why is it when i do it in the browser its instant ? May 23 17:27:02 1. they buffer it May 23 17:27:06 2. they do it on a background thread May 23 17:27:34 Ok May 23 17:27:39 * aaa801 goes back to the eclipse May 23 17:28:47 for 3.x is must be threaded anyway May 23 17:29:58 anyone here ever head of deeplink.me? May 23 17:30:48 it says it lets you detect where a user is coming from and whether or not they have your app installed on the device when they click a URL May 23 17:30:59 http://pastebin.com/eWULuJD3 That was does it instantly May 23 17:31:02 way* May 23 17:31:03 :D May 23 17:31:06 so if they do have the app installed, you can configure it to open an activity in your app May 23 17:31:12 and if not it opens the play store listing for your app May 23 17:31:33 how does that even work.. May 23 17:34:09 you capture the URL in your manifest May 23 17:34:16 otherwise it redirects to play store May 23 17:36:57 so say my url was "http://foo.com May 23 17:36:59 " May 23 17:37:11 i would set that up to redirect to "http://play.google.com/apps...myapp" May 23 17:37:21 and in my manifest set up an intent-filter for "http://foo.com"? May 23 17:38:00 Exactly May 23 17:39:06 can you use maps api w/ a debug keystore? May 23 17:39:08 ah that makes sense actually May 23 17:39:40 thanks May 23 17:40:14 Anyone here that is using the beta release feature ? May 23 17:43:58 jakewharton/simonvt if I do it that way, when the user clicks on the http://foo.com link that my app handles in the manifest is there a way to prevent the chooser dialog from appearing that lets people select between the browser and my app? May 23 17:45:40 No, it's up to the user May 23 17:46:23 Otherwise random apps would be able to hijack e.g. google.com May 23 17:46:38 good point May 23 17:49:11 SimonVT: so to get your drawer lib into this IntelliJ thing… I create a new project from git "as lib", then add a module that points to it ? May 23 17:49:49 SimonVT: you ever retrofit mangling your query params? i May 23 17:50:05 submit a failing test case May 23 17:50:32 StingRay_: Wat May 23 17:50:52 Import module, from existing sources May 23 17:51:14 You don't actually select existing sources anywhere, you just point it to a folder.. with existing sources May 23 17:51:26 Or switch to maven and pull it from central May 23 17:51:33 funkbox: Nope, not yet May 23 17:51:44 i had to throw two ?? to make sure it gets by May 23 17:52:29 eclipse is the best ide ever!!! May 23 17:54:34 eclipse is nice yea May 23 17:54:43 emacs is the best ide ever May 23 17:57:01 i've installed android studio, but have not really done anything in it yet May 23 17:57:44 i've installed it, mostly all I've done is had to force close it a few times May 23 17:57:51 :) May 23 17:58:43 Hi May 23 17:58:56 How do I add spacebar or newline to android:digits of EditText? May 23 17:59:29 i would check the source May 23 18:02:41 Hello, is there any problem in select a contentLayout with a if condition ? like this https://gist.github.com/anonymous/1aaa605fd141f00429d9 I'm geting nullPointerException May 23 18:02:55 Gonna validate on OK key press instead of using android:digits May 23 18:04:04 button press * May 23 18:05:16 i like the private libraries google introduced in the recent sdk May 23 18:05:41 it took me a while to actually get it, why my apps are crashing May 23 18:05:42 ? May 23 18:06:20 JakeWharton: ^ May 23 18:06:56 SiPlus: have you thought about using a custom inputfilter on your edittext May 23 18:07:18 How does ButterKnife works? Annotation processing, replaces all the @injectView and Views.inject, with the standardd code e.g. findViewById() May 23 18:07:19 validating on keypress is okay but it would be nicer to stop the user from doing something wrong before they do it :) May 23 18:07:40 crised: that's right, yeah. It generates java code to inject the class values for you May 23 18:09:49 stork: So the compiled code will have the boiler plate code? May 23 18:09:57 so jdk sees no annotation at all? May 23 18:10:04 confused May 23 18:10:31 i believe that's how it works, yeah. May 23 18:11:32 if you open up your .apt_generated folder you can see the generated code in there May 23 18:11:37 Yes, it iterates over all InjectView annotations and generates java code May 23 18:11:47 At runtime, the generated classes is accessed via reflection May 23 18:12:07 SimonVT: is that part of googles new stuff? May 23 18:12:16 what's that have to do with google? May 23 18:12:20 lord knows it should be :D May 23 18:12:21 No, that's ButterKnife .. JakeWharton's library May 23 18:12:37 i'd like to get rid of roboguice May 23 18:12:46 but i am not sure what is actually better May 23 18:12:56 codegen will be a little faster May 23 18:13:03 well butterknife is a small tool for doing a single job May 23 18:13:10 but why get rid of roboguice if it's doing a good job for you already May 23 18:13:11 i don't need reflections for View's or IDs May 23 18:13:16 i use android binding for that May 23 18:13:28 android binding? May 23 18:13:37 mvvm for android May 23 18:15:11 i use roboguice for creating the viewmodels May 23 18:15:16 this really really rocks ;) May 23 18:17:37 Anyone here used the new DrawerLayout item yet? May 23 18:26:05 funkbox: i fixed that. need to make a release May 23 18:26:07 will do today May 23 18:26:17 JakeWharton: ah, thanks! May 23 18:26:25 i thought for a second i was doing something wrong May 23 18:26:26 stupid off-by-one May 23 18:27:03 but other than that, it's awesome stuff. i'm ripping out a few kloc of code and replacing it with all that. feels good May 23 18:30:58 I have a custom ViewPager that overrides canScroll(View, boolean, int, int, int) and checks if the View is an instance of MapView and returns false. I would expect this to prevent the ViewPager from scrolling, however it doesn't... am I missing something here? May 23 18:35:10 It stops the viewpager from intercepting touch events, it can still act on touch events that are delivered through the usual onTouchEvent May 23 18:36:26 SimonVT, oh, I see... so ultimately I would have to override onTouchEvent? May 23 18:39:07 sup May 23 18:41:25 I've been developing on android for sometime and I've always run into a feeling of coupling between data view and activities. I am wondering what the best approach to decoupling my activity (controller of sorts) from the data I am representing on my view and the views them selves? May 23 18:41:25 I wish I had a model that represented the view and that model was managed such that I could manipulate it through it's exposed interface from either the activity or from generic user interactions with the rendered view. I guess I wonder how I keep my self from having to hold my view and my data in my activity when I feel like my view should delegate events from the UI to my activity for the activity to respond to. I'm not really sure w May 23 18:41:26 Activity has every thing and micromanages all of the details of the view and the data on the view. Is it possible to get a complete decoupling and handle it all through events? As a developer I would like only to react to actions taken by a user and delegate subsequent actions to the view renderer (show dialog to user) or (slide left). Rather than this composition approach that keeps every thing more or less spaghetti coded in an activ May 23 18:41:27 Maybe I've been doing it wrong? May 23 18:41:38 hey everyone May 23 18:45:53 ok how does one add a drawable folder in intellij where ij respects the context of it, eg, create menu knows that you cant create a class in there ? May 23 18:46:17 oh, nvm May 23 18:47:57 ndk May 23 18:51:02 ok on a new project why am I having to try and find how to add a xml schema ? http://db.tt/UXuK8c4r (intellij) May 23 18:54:05 StingRay_: Is the better question where do you add the xml scheme? May 23 18:54:05 why are you adding an xml schema May 23 18:54:18 see image May 23 18:54:34 that's annoying May 23 18:54:36 apparently I'm missing something that "it" generated May 23 18:54:43 that should be included in android studio already May 23 18:54:55 It tells you right there. Settings > Project Settings > Schemas and DTDs May 23 18:55:31 yeah, nice that, but there is no "Settings" May 23 18:55:38 I assume it means preferences May 23 18:55:41 hey sting May 23 18:55:48 i got it working May 23 18:57:02 Just go to preferences and type schema and dads into the search... May 23 18:57:41 View.getLocationOnScreen method. The docs say it returns the X and Y location. I assume it's the top left most location? May 23 18:58:29 devnull_: yeah there, where /how do I add May 23 18:59:09 StingRay_: Now go search help for the same phrase. Documentation is also online on jet brains website. May 23 19:00:02 well my point is this is AS, what am I doing attempting to get a new default project to work May 23 19:00:09 hmm, annoying x 10 May 23 19:00:57 StingRay_: don't know where you issues come from, but I never had anything like that either in IntelliJ itself or with AS May 23 19:00:58 Dunno what to tell you. I'm a bad test case. I imported my settings from my existing intellij instance so every thing I needed was already configured May 23 19:01:56 StingRay_: Do you have your SDK installed? May 23 19:02:09 all the ones I use May 23 19:02:21 so yes May 23 19:03:20 oh May 23 19:06:22 j #android-root May 23 19:06:25 oops May 23 19:06:53 what's the default directory debug.keystore is placed in? trying to find it on my mac and the search isn't working. :-/ May 23 19:07:03 I need to find it to generate an api key for maps May 23 19:07:17 copy past this ~/.android May 23 19:07:22 So I can use it without having to do a full export. May 23 19:07:22 into go to folder May 23 19:07:27 ah May 23 19:07:38 paste* May 23 19:07:40 :) May 23 19:07:49 danke! :D May 23 19:12:00 Hey anybody here? May 23 19:13:05 http://pastebin.com/JkGP5sFY LOOK AT THIS ERROR.. it has been annoying me for the last 3 hours May 23 19:13:23 win 13 May 23 19:13:25 fail May 23 19:14:04 what? May 23 19:14:37 you spent three hours on that? May 23 19:14:39 hrmm, got the key right but still not getting maps access May 23 19:15:08 stork yes May 23 19:15:09 Wonder if it takes a sec for google to update after I change the certificate fingerprint May 23 19:15:12 ilhami: did you try reading this https://developer.android.com/reference/java/lang/Thread.html#start() May 23 19:16:09 can you tell me whats wrong? I tried to interrupt the thread. May 23 19:18:13 stork May 23 19:19:02 narf May 23 19:19:16 it looks like you're trying to start a thread that has already started May 23 19:20:00 Yes... obviously but how do I stop it? May 23 19:20:24 try not doing what you were doing May 23 19:20:47 those of y'all using gson, can i specify paths with @SerializedName ? May 23 19:20:59 setting up my new android dev environment at my new office, and the first library I install is ABS. Thank you based god. Thank you JakeWharton May 23 19:21:04 very funny stork May 23 19:21:05 that sounds mental, why would you wanna do that May 23 19:21:28 i just ripped out ABS. minSdkVersion=14 baby May 23 19:21:36 funkbox: +1 May 23 19:21:36 woooaaahhhhh May 23 19:21:41 we got a badass over here May 23 19:21:53 I have a route tracker.. when I have saved the route after running I want the thread to stop... but it doesnt stop... so when I go to my routetracker activity again I want a new thread to start.. May 23 19:21:58 did you understand? May 23 19:22:01 stork: i like to live dangerously May 23 19:22:17 create a new thread, stop trying to start the same one again May 23 19:23:01 anyone has experience with AccountManager and might be able to help me: when calling accountManagerFuture.getResult(), my LoginActivity is started just like should be, but if BACK button is pressed, it does NOT throw OperationCanceled as should be. Any ideas? May 23 19:23:37 funkbox: WOOT May 23 19:23:38 why would you start a new thread when you have one already? May 23 19:23:47 which works fine May 23 19:23:55 What's the most sane way to deal with Location in Android? Normal API or are there librarie doing the footwork for me? May 23 19:24:11 Normal API May 23 19:24:26 how do I interrupt a thread? May 23 19:24:34 JakeWharton: i've even bought myself a very nice bottle of tequila to deal with the inevitable 1 star reviews May 23 19:24:54 ilhami: Click the link stork provided and read it aloud. All of it. May 23 19:25:17 I came here for help.. not to read the doc May 23 19:25:33 The doc will help you. May 23 19:25:35 Read it. May 23 19:25:38 I read the doc in Eclipse.. its the same May 23 19:25:50 Ok, what does it say it Throws? May 23 19:25:51 ilhami: if you want competent help, you need to pay for it. May 23 19:26:46 Ge0rG LOOOOL.. are you not competent? May 23 19:26:59 ilhami: no, I'm only here for the lulz May 23 19:27:00 we're not paid to fix your simple problems :p May 23 19:27:02 ilhami: Did you read the doc yet? May 23 19:27:08 ilhami: in other words, you want us to do your work for you? :) May 23 19:27:31 ilhami: you can interrupt a thread by rebooting the device May 23 19:27:50 hahahaha May 23 19:28:13 very informative... May 23 19:28:25 ilhami: Stop replying here. Read the _three_ sentences in the doc. Use the link from stork. May 23 19:28:42 Then return, tell us what you've learned. May 23 19:29:16 HI guys. Any idea how to solve this error (android studio): java.lang.NoClassDefFoundError: org.joda.time.DateTime May 23 19:29:35 which three lines? May 23 19:30:10 I said sentences. Maybe this will clarify it even further. Last line. Then the "Throws" paragraph. http://docs.oracle.com/javase/7/docs/api/java/lang/Thread.html#start%28%29 May 23 19:30:19 anyone use commons logging with android? May 23 19:30:35 I have it already setup, but I am just wondering how to now enable it May 23 19:30:39 on my emulator May 23 19:30:45 I found this reference: http://stackoverflow.com/questions/3246792/how-to-enable-logging-for-apache-commons-httpclient-on-android May 23 19:31:01 which talks about setting system properties, but when I do that, it does not allow me to set the property May 23 19:31:47 ilhami: We're all trying to help you. You just have to trust us when we say "read the docs". May 23 19:31:55 have you tried doing 'adb shell setprop ' from the command line May 23 19:32:05 i dunno if that'll work on a device, but it works on an emulator May 23 19:32:29 IllegalThreadStateException May 23 19:32:52 That's the description of that Exception? May 23 19:33:24 When specifying android:theme="@android:style/Theme.NoTitleBar" in the manifest under the activity..I'm getting a null exception error. May 23 19:33:52 sleepster: what logging? Log.v(...) ? May 23 19:34:10 ilhami: What are you doing and what is the Exception suggesting? May 23 19:34:30 I'll help you. I'll paste it here. "IllegalThreadStateException if the Thread has been started before" May 23 19:34:40 FLeiXiuS: getActoinBar() ? May 23 19:34:50 Thrown when an operation is attempted which is not possible given the state that the executing thread is in. May 23 19:34:58 funkbox, I'm using actionbar yes May 23 19:35:21 FLeiXiuS: getActionBar returns null if there's no action bar May 23 19:35:23 Has anyone used external libraries with the new android studio? May 23 19:35:48 funkbox, This isnt a problem with actionbar. I don't want the App title bar to display. May 23 19:35:49 I'm at a loss here, ilhami. We gave you two links, both describing EXACTLY what you're doing wrong. stork has already provided the solution, too. May 23 19:35:51 monsti, correct May 23 19:36:09 stork, yeah I tried that, but the keys are too big.. because they are the package name which are big May 23 19:36:23 And when I google "call start twice thread" (note how I didn't even have to say "Java") the first result is also the solution. May 23 19:36:36 I have done it with some pretty meaty package names in the past, sleepster. Have you tried sticking them in "quotes" or something? May 23 19:36:37 kakazza dude I know what the problem is... I dont know how to solve it May 23 19:36:40 sleepster: there are serveral logcat tools May 23 19:36:55 stork, thanks. I'll try playing around with it again. May 23 19:37:02 monsti, yeah I was just hoping to have something that I can turn off May 23 19:37:10 ilhami: Ok, what is the problem? And how did you try to solve it? May 23 19:37:44 with the android logger, it doesn't allow me to have something like: if (logger.isDebugEnabled()} { logger.debug(..); May 23 19:38:17 sleepster: well yeah - use your brain :) May 23 19:38:40 Ok now the problem is different... I have a while loop in my thread which runs all the time... First time I save data its fine... second time I try to save the data from my routetracker activity it doesnt store the data.. I get a nullpointer May 23 19:38:43 if (DEBUG) May 23 19:38:48 if (BuildConfig.DEBUG0 May 23 19:38:54 s/0/)/ May 23 19:39:17 kakazza, that is a compile time check though :( May 23 19:39:17 if(MyConfig.DEBUG && MyConfig.INTERNAL && MyConfig.EXPERIMENTAL) .... May 23 19:39:21 ok, so another problem with AsyncTask; I have it working on some value to fetch it and after it's done I want to create the UI (ListView) from those results; I cannot do that inside onPostExecute() and if I try to do it outside of onPostExecute I get that the values are not ready yet May 23 19:39:24 what the fuck do I do May 23 19:39:46 sleepster: you have a dual core 1.5ghz cpu - i don't care about idological "problems" or "feelings" ;) May 23 19:39:50 funkbox, Any other ideas? May 23 19:40:05 monsti, haha. I mean I was hoping to be able to enable it later May 23 19:40:08 in case I need it May 23 19:40:10 sleepster: if you care - just create MyConfig.java at compiletime May 23 19:40:16 sleepster: if (MyConfig.isDebugEnabled). May 23 19:40:18 if I do a compile time check, it's going to remove it from my source May 23 19:40:26 so it will never allow me to do it later on May 23 19:40:29 Or wrap Log.v... in your own Logger class. May 23 19:40:33 sleepster: i did this with ant once as a pre step to compilation May 23 19:40:48 in my current project i just don't care any loginer ... May 23 19:40:57 with commons logging, I can enable it later on when I need it May 23 19:41:00 i read DEBUG from a values/config.xml May 23 19:41:21 oh I see May 23 19:41:43 but in the end it's some singleton/static value May 23 19:42:12 and this will cause an if(...) every fscking time you put it in there ;) May 23 19:42:34 How do I disable vertical scroll in a viewpager May 23 19:42:36 so i suggest using "//if( ...) Log.v("debug", "foo"): May 23 19:44:35 why does building a library project give me Gradle errors on a library project but the source java has no such error May 23 19:44:44 in this intellij thing May 23 19:44:54 does not exist error May 23 19:48:19 good evening. I need some help. I am trying for hours to solve a error I get when I try to debug my app: "Could not find class XXXXX, referenced from method YYYYY". This is a class that I made and this was working until I had to format my disk. I had to create the project again and all that stuff. I have changed build path so it should work, I have no idea what to do next to solve this :( May 23 19:48:38 I have no errors on my code May 23 19:48:47 it is at the moment I try to run it that I get the error May 23 19:48:58 the jar file is in libs folder May 23 19:49:02 are you running adt 22? if so, have you installed the new thingy? May 23 19:49:40 stork, I am using adt v22.0.0-675183 May 23 19:49:54 stork, which new thingy? May 23 19:49:55 So like, I can't get ABS to properly import to Android Studio May 23 19:49:57 in your sdk manager under 'tools' there should be three items, do you have all of them installed? May 23 19:50:13 stork, lemme check May 23 19:50:27 I prefer my abs in my own body, thank you very much May 23 19:50:49 i keep mine perfectly concealed in a layer of adipose. May 23 19:51:11 stork, I have all 3 tools. Just one thing, I am usng API 16 SDK platform, should this be a problem? Should I install 17? I would like to be sure that my code will run on API16 capable devices May 23 19:51:36 shouldn't be a problem but you should always be building against the latest sdk version where possible, gmag May 23 19:52:10 stork, even if the app willl run on a 4.1.1 android? May 23 19:52:39 try: open your project properties, go to java build path -> libraries, add your jar, then go to order and export and make sure it's ticked, then do a build->clean and try running it again. May 23 19:53:30 kakazza.. was it too hard for you ? :) May 23 19:54:26 gmag: yep, set your targetSdkVersion to the latest tools, it will still work on older devices (unless you use some apis only available in 17, but your IDE should warn you if you're doing that) May 23 19:54:27 stork, :-o May 23 19:54:40 stork, it works May 23 19:55:08 ARGHH fu*@#~£ May 23 19:55:18 gmag: what I did right after that was remove the jar from the libraries tab right afterwards, and it just kept working May 23 19:55:18 Is anyone familiar with fillInIntents? I want to allow a list item to fill in a URL and have the pending intent launch it, but I'm not sure how to do that? May 23 19:55:29 stork, it is working mate May 23 19:55:35 stork, you solved it May 23 19:55:50 yeah but if you remove it it should keep working :) i think having it in there might mess with the export process May 23 19:56:10 i ran into the exact same thing today when upgrading from adt21 to adt22 - it's a real headscratcher May 23 19:56:32 stork, ok ok, I am going to close eclipse and see what happens May 23 19:56:40 fingers crossed. May 23 19:57:24 no worries, I am going to mess with this again because I really want to understand what is going on with this thing :) May 23 19:57:25 does someone knows a library to parse json of foursquare? May 23 19:57:34 dont cross your fingers May 23 19:57:35 best of luck to you :) May 23 19:57:36 help me May 23 19:57:45 stork, it is taking a bit to build workspace :) May 23 19:58:12 stork, yup, working fine May 23 19:58:14 :) May 23 19:58:21 god bless ya May 23 19:58:26 glad i could help May 23 20:02:49 Hello, my eclipse stops highlights when I click in a variable. Do you know how to fix it ? May 23 20:05:06 http://pastebin.com/fDrakSgs May 23 20:05:29 I get an error while installing the android SDK, it says java_home is not set to a jdk May 23 20:05:36 and the above paste shows that it is, I think? May 23 20:05:38 wviana: alt+shift-O May 23 20:06:28 it's called "toggle mark occurence" and should be on the menu identified by a yellow marker pen May 23 20:06:33 tortal: (zero) ??? May 23 20:07:24 letter "oh" May 23 20:07:26 ... May 23 20:07:46 also under preferences -> java -> editor -> mark occurence May 23 20:08:20 tortal: thanks May 23 20:08:37 tortal: I found, its a icon :D May 23 20:08:55 yup May 23 20:10:00 Xabster: what OS do u use May 23 20:10:05 windows 7 May 23 20:10:17 have you set environment variable java_home ? May 23 20:10:25 the paste shows that I have May 23 20:11:48 it should point to the root folder May 23 20:11:50 not bin May 23 20:11:56 tried it May 23 20:12:00 at least thats what i have here.. all working May 23 20:12:10 how come the tilde at your path? May 23 20:12:17 maybe eclipse doesnt like it May 23 20:12:20 stackoverflow suggested it May 23 20:12:22 i dont use eclipse May 23 20:12:32 what do u use May 23 20:12:40 right now i want to install the SDK May 23 20:12:42 just the SDK May 23 20:12:46 ic May 23 20:13:18 Xabster: I think you have 2 probs May 23 20:13:25 these are guesses May 23 20:13:35 1. the order of the paths, jdk should be 1st May 23 20:13:43 2. jdk1.7 may not work May 23 20:13:50 the java_home is shown in the paste, jdk is first May 23 20:14:06 jdk7 not working? oh right, android is 1.6.xxx? May 23 20:14:08 brb May 23 20:14:33 Xabster: yes May 23 20:14:40 but i think the compiler should work anyhows May 23 20:14:51 jdk7 ie May 23 20:15:26 uninstall jdk, try again. the sdk installer should auto-install jdk if it's missing May 23 20:15:47 " The installer checks your machine for required tools, such as the proper Java SE Development Kit (JDK) and installs it if necessary" May 23 20:15:59 delete your env path also May 23 20:16:52 Xabster: set a new environment variable in Win 7 called JDK_HOME and have it point to your jdk_1.7_xx dir May 23 20:17:12 shmooz, JDK_HOME? the ASDK installer says java_home May 23 20:17:32 yeah but only JDK_HOME worked for me May 23 20:18:12 shmooz: jdk_home wasnt probably what fixed your problem May 23 20:18:26 tortal: it was May 23 20:18:46 it didn't for me May 23 20:18:49 i'm install java 6 May 23 20:18:53 C:\Users\T>echo %jdk_home% May 23 20:18:53 %jdk_home% May 23 20:18:53 installing* May 23 20:18:54 ok, so another problem with AsyncTask; I have it working on some value to fetch it and after it's done I want to create the UI (ListView) from those results; I cannot do that inside onPostExecute() and if I try to do it outside of onPostExecute I get that the values are not ready yet May 23 20:19:06 maybe you're right shmooz, at least it's not required May 23 20:19:16 tortal: nice echo May 23 20:19:38 why nice May 23 20:19:49 Eclipse wouldn't even start until I set JDK_HOME May 23 20:19:58 sure it will May 23 20:19:58 I mean Android Studio , oops May 23 20:20:01 oh May 23 20:20:18 ah, never tried intellij May 23 20:20:35 and then it said the Android SDK was missing May 23 20:20:40 or any of its extensions May 23 20:21:19 how can I find out which app is keeping GPS active? May 23 20:21:52 back May 23 20:22:21 Xabster: do the monkey solution (often the fastest) by uninstalling everything, clean reg (/w ccleaner or smth), ensure no java_path or other java* is set. and simply run the SDK installer. can't really help you more than that sorry. May 23 20:22:21 anyone done any opengel/filter work here? May 23 20:22:23 so I had to goto Configuration => Project Defaults -> Project Structure -> New , and select Android SDK May 23 20:23:09 and then everything worked, I imported my project and compiled, yay ! May 23 20:24:50 shmooz: your luck May 23 20:25:05 4 hours and still attempting to figure out library projects and why things cant be found May 23 20:25:10 lucky* May 23 20:25:19 I believe this is offtopic, I am putting it here because I am programming on android stuff. So, my projects exist in a perforce workspace which restricts permission to write to files depending on perforce settings, I mean you can change files after doing checkout. What happens is that once I open eclipse it tries to automatically build and do things which need permission to write files. Which means every time I launch eclipse I have to previously checko May 23 20:25:19 ut all my projects which is silly. Have someone experienced this issue? May 23 20:25:27 StingRay_: you have external dependencies ? May 23 20:25:35 a fair few May 23 20:26:44 anyone got a tutorial link for making nice ui's in apps May 23 20:27:05 well mine is a simple Video app with VideoView in it, not even a warning from Android Studio, just worked May 23 20:27:15 hey, I have a ListView with a custom Adapter and custom Item views. I fill the ListView with data I get from a list of objects. Now I get a notification that the item with id X (NOT index) has changed. How do I find the item view? May 23 20:27:24 but I guess if I had used ffmpeg I'd have headaches May 23 20:27:36 well i have a few libs May 23 20:27:40 and my own libs May 23 20:27:53 may ditch this unintellj shit shortly May 23 20:28:04 * tortal agrees May 23 20:28:21 hang in there, cause its not going away anytime soon May 23 20:29:12 i just really dont understand all this crap May 23 20:29:16 why are people insisting in troubling themselves with studio. eclipse works fine - dont fix it if it isnt broken. Studio is broken atm - as mentioned "early access preview" May 23 20:29:22 help them fix it so it becomes seemless May 23 20:29:28 I would think importing a library project easy May 23 20:29:40 gmag, I use git-p4 May 23 20:29:46 gmag, and all my perforce issues go away May 23 20:30:22 tortal, simple, people don't like and don't want to use eclipse May 23 20:30:40 well I wanted to try IDEA because everyone here kept talking how it was superior, but was lazy to, until Google gave me a reason May 23 20:31:18 does anyone here use library projects in intellij ? May 23 20:31:22 Anybody who can look at my code really??? May 23 20:31:25 pfn: intelliJ has worked fine for android dev for years May 23 20:31:32 studio is in its infancy May 23 20:31:42 the only reason its downloadable is because of the I/O May 23 20:32:03 ilhami: where is your code? May 23 20:32:10 will you look at it? May 23 20:32:13 tortal: but doesn't Android Studio contain the latest IDEA stuff plus some more ? May 23 20:32:19 ilhami: at an hourly rate of 90usd, you will find somebody. May 23 20:32:21 So where would I go to figure out problems with my Google Maps v2 API Key? I've triple-checked the certificate signature, package name (it's the maps demo, com.example.mapsdemo) and made sure the API key matches my console. I'm still receiving auth failures from Google though. May 23 20:32:29 ilhami: only if i can see it - nopaste.com? May 23 20:32:36 err com.example.mapdemo* May 23 20:32:41 pastebin.com? May 23 20:32:46 whatever ;) May 23 20:32:52 my eyes need content May 23 20:32:55 Fallout2man, your manifest pastebin plz May 23 20:32:55 LOL May 23 20:32:56 Fallout2man, your maps api key probably has to match your package? May 23 20:33:16 monsti want to look at it in a query? May 23 20:33:20 its disturbing here May 23 20:33:24 pfn: I made an API key specifically for the com.example.mapdemo package May 23 20:33:44 I wouldn't trust it... May 23 20:33:49 no i want to look at pastebin.com May 23 20:33:51 not for com.example May 23 20:34:08 pfn: So I should try renaming the package and making a new key May 23 20:34:08 ? May 23 20:34:17 maybe, yes May 23 20:34:25 pfn: Worth a shot then, thanks! May 23 20:34:26 ok monsti.. :) May 23 20:35:14 What´s Samsung´s idea behind their Chord SDK.. May 23 20:35:17 Let me tell you my problem. First time I try to track a route it works.. but the second time I get a nullpointer. May 23 20:35:23 only compatible with Samsung devices :| May 23 20:35:35 Joozey: makes sense for the galaxy note May 23 20:35:43 pfn, I see. The problem is I am not very fluent with git. But that's fine, I just stopped automatic build on eclipse that should work for now... May 23 20:35:44 ok so I have to add a jar to libs forlder, tell intelli j it;s a lib, then add it to deps. then config build,gradle ? May 23 20:35:45 e.g. for enterprise solutions May 23 20:35:48 I will bring you the code in a moment. May 23 20:36:03 gmag, git is much more enjoyable to work with than p4 May 23 20:36:05 does that seem a bit…odd when eclipse was drag and drop for such things ? May 23 20:36:12 having to p4 edit alone is a huge reason to stop using p4 May 23 20:36:22 Fallout2man: did you create the api key with your debug cert? May 23 20:36:30 StingRay_: it will likely improve :) May 23 20:36:31 gmag, all you really have to know with git-p4 is git p4 sync, git p4 submit; and git commit May 23 20:36:34 http://pastebin.com/XVN8NX0z here is one class May 23 20:36:37 monsti, but they want a whole lot more apps for their devices, that has been their main critic May 23 20:36:47 codebutler: yes, I did. May 23 20:36:50 so waht do they do? create a challenge where you have to use their SDK... May 23 20:36:54 JesusFreke: do I have to do the same thing for lib projects "modules" ? May 23 20:37:04 hmm, android studio builds with gradle? May 23 20:37:09 not just galaxy note May 23 20:37:11 codebutler: and this is testing with a debug build. May 23 20:37:13 StingRay_: dunno, I haven't played with library projects in AS/IJ May 23 20:37:22 Joozey: well if you don't like to eat meat - just eat fruits ... May 23 20:37:27 pfn: yep, it appears to May 23 20:37:32 http://pastebin.com/mVHucpJW here is another class monsti May 23 20:37:40 I like their prices though :) May 23 20:37:45 any people here in the development of Android Studio, they should be taking notes from people here to improve it for next version May 23 20:38:05 http://pastebin.com/KQtXmvhK LocationService May 23 20:38:08 I posted the relevant code May 23 20:38:18 I will brb May 23 20:38:27 ilhami: a stack trace would be useful May 23 20:38:45 pfn, thanks for the tips. Definitely should look at that May 23 20:38:47 ilhami: yeah? May 23 20:39:01 i "look" at your code - but what's the resason? May 23 20:39:16 gmag, other things, don't commit your eclipse configs and generated crap into p4 May 23 20:39:19 I really dread to ask this since in eclipse it was done with a single button push, how do I add google drive api ?….I take it there is no google apis manager of intellij ? May 23 20:40:07 uh oh, StingRay_ is installing eclipse again, 3 2 1 lol May 23 20:40:11 what error/exception/logcat is the product of your problem ilhami May 23 20:41:01 Spec-Chum: well so far, love the look and feel of intellij, it just lacks too much and creates too much work May 23 20:42:25 other than romain_guy who else here is a part of the Android team ? May 23 20:42:26 pfn, exacly!! I was gonna ask, what exacly is needed if I would want to sync from another computer and easily get eclipse running my project? I think the important part would be src/ of course, gen/, libs/, res/ and the apk inside bin/ May 23 20:42:42 gen, never May 23 20:42:45 bin, never May 23 20:43:16 pfn, gen has BuildConfig.java and R.java, are you sure? May 23 20:43:18 I get a nullpointer when I want to record a route the second time... in the RunningActivity May 23 20:43:32 gmag, never save gen into source control May 23 20:43:34 the nullpointer is in the SaveRouteActivity line 381 May 23 20:43:45 :), much more specific May 23 20:43:51 ilhami: i just closed the window in my browser May 23 20:43:56 pfn, those are generated at build time? May 23 20:43:58 hey, I'm having some erros while using google-play libraries, anybody could help me ? May 23 20:44:02 << timeout ;) May 23 20:44:03 gmag, yes May 23 20:44:09 pfn, I see May 23 20:44:15 whaat? May 23 20:44:16 pfn, what about res May 23 20:44:21 did you look at it? May 23 20:44:40 ilhami: safari has it in the cace May 23 20:44:47 pfn, there is layout, I'll keep that May 23 20:45:05 gmag: only gen and bin are generated May 23 20:45:28 tortal, I see May 23 20:45:31 thanks a lot May 23 20:45:38 for (index = 0; index < myList.size(); index++) { May 23 20:45:47 myList is null May 23 20:46:45 where is the call from May 23 20:47:47 pfn: Well, changing the package name did change something. Now it just displays an error saying it failed to contact Google's servers. It doesn't say it's a definitive auth error as it did before, heh. May 23 20:47:47 nvm May 23 20:47:56 i thought it was in some custom method May 23 20:48:26 JakeWharton: can you help? I can't get ABS to work in Android Studio :S May 23 20:48:33 pfn: Of course, my maps app works fine, so pretty sure it's an auth error. May 23 20:48:43 Fallout2man: are you using any kind of emulator, do you have google-play services installed on the testing device May 23 20:49:05 tortal: Testing on my Gingerbread 2.3.3 HTC Evo 4G May 23 20:49:11 and let's see that manifest May 23 20:49:23 does anyonr have any information about the volley imagecache? the docs seem to me totally lacking May 23 20:49:26 do i need older android API's to build for older OS's? Or is it like normal java where you can build apps for java6 while using java7 jdk? May 23 20:49:31 also, tell us what command you did to get our SHA May 23 20:49:36 ur* May 23 20:49:39 stork: what are you looking for? May 23 20:49:59 if so, is there a "popular" version to use to hit a big percent of users? May 23 20:50:04 i assume they're backward compatible May 23 20:50:34 tortal: one moment May 23 20:50:53 sample implementation, I guess. I wrote something pretty basic, but I seem to remember there's something in the docs that says to use something non blocking @ evancharlton ? May 23 20:51:06 Xabster:https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels May 23 20:51:24 monsti I know but why? May 23 20:51:27 stork: you can use mine: http://github.com/evancharlton/folly May 23 20:51:36 i think smth like 70% are api8 and up May 23 20:51:45 but that will most likely rapidly change May 23 20:51:48 stork: the ImageCache is setup here: https://github.com/evancharlton/folly/blob/master/src/com/evancharlton/folly/FollyApp.java May 23 20:51:50 Xabster: set your minSdkVersion and target the latest SDK, it should be backwards compatible as long as you follow the warnings about minSDK May 23 20:52:20 l s May 23 20:52:51 monsti is only second time it gives me a nullpointer.. the first time I track my route it works May 23 20:52:55 that's a lot simpler than I thought, evancharlton - I was under the impression it was supposed to be a file cache or something. Whoops :x May 23 20:53:23 no, ImageCache sadly exists just to break the dependency on LruCache :( May 23 20:53:38 since it can't assume API >= 14 or the support library May 23 20:54:00 I'll make a mental note to improve the docs on ImageCache to mention that, heh May 23 20:54:46 are you on the Volley team? May 23 20:54:59 tortal: Sorry for the wait, here's the pastebin that should answer all of your questions: http://pastebin.com/vEfdQre8 May 23 20:55:12 stork: "team" :) there are just a few of us who work on it in our spare time, haha. I've submitted a few patches May 23 20:55:38 you weren't in the presentation video at i/o were you? :p May 23 20:55:43 nope! May 23 20:55:51 aw. May 23 20:55:53 that was my coworker ficus May 23 20:56:24 Volley seems like a really great tool that solves a lot of problems, I'm really surprised there is so little to read about it. May 23 20:56:37 tortal: The sort explanation is I just got a key and am trying out the Sample code to figure out how to work the Maps API into an app I'm building. May 23 20:56:45 stork: yeah, we're working on the "nowhere to host the docs" issue. Patience, sadly :/ May 23 20:57:00 stork: I assume it'll (eventually) find a home on d.android.com May 23 20:57:03 tortal: The above is all from the sample app, which I renamed the package name per suggestion in channel. May 23 20:57:28 that'd be great. I know if I'd known about it sooner it could have saved me re-implementing a lot of (shitty, wonky) wheels :D May 23 20:58:17 embarassingly, although being employed as an android developer for the best part of 18 months, I've only recently gotten my head around the whole activity-dying-on-rotate thing. May 23 20:58:56 :| May 23 20:59:12 yeah I hate myself for it. May 23 20:59:34 stork: tell us your interview secrets May 23 20:59:47 stork, wow... May 23 20:59:48 :p May 23 21:00:04 well it was a junior role, and I'm the only android developer at the company May 23 21:00:15 tortal: hrmm, noticed the rename didn't rename one of the permissions, trying one more time. May 23 21:00:44 stork can you look at my code? May 23 21:01:09 i can take a look May 23 21:02:25 ilhami: did you fix that null pointer list? May 23 21:02:32 the list is "NULL" May 23 21:03:41 No I didnt fix it May 23 21:03:48 I dont know how to solve it May 23 21:03:56 ok please, does anyone import fresh lib projects to intellij ? May 23 21:04:06 cause wasting too much time on this now May 23 21:04:28 JakeWharton: Halp May 23 21:04:34 if(mList == null) mList = new ArrayList<....>(); May 23 21:05:18 where should we put that? May 23 21:05:43 print it an put it on the book "my java tutorial" May 23 21:06:06 Lol I don May 23 21:06:26 Lol I don't get why people append 'm' in front of a field a name May 23 21:06:58 monsti... honestly.. Ive got a headache because of this error. I have tried so many things. May 23 21:07:06 I do that all the time, not entirely sure why. May 23 21:07:22 ilhami: the line before your nullpointer reference - the mList is null May 23 21:07:30 so fill it with an empty list if it's empty May 23 21:07:42 or jump out May 23 21:07:48 or throw an exception May 23 21:07:55 i don't "know" what you want ;) May 23 21:08:13 beginner question: even for a project that depends on external .jar, the binary apk should be the only thing to be installed on the device, correct? May 23 21:08:36 StingRay_: didn't get it working in AS. just used my standard IntelliJ build, imported the lib there and opened the project afterwards in AS. however, it does not build with gradle then, but I don't need it, because I use either IntelliJ's oown build stuff or build with maven May 23 21:08:43 Is there a way to remove Zoom buttons on a MapView? May 23 21:08:58 gmag: yes the android toolchain puts the content of the jar in the apk file May 23 21:09:14 monsti, sweet May 23 21:10:10 monsti, a simple adb install would install the whole application then. I've been using the IDE for this (by pressing the run/debug button :P) so I never knew exacly what was happening underneath May 23 21:10:38 gmag: there is a pre and post build event in eclipse that does the magic May 23 21:10:53 monsti, nice May 23 21:10:54 gmag: the prebuild creates the R. classes May 23 21:11:04 gmag: as long as the application isnt using something like google play services May 23 21:11:12 tortal: updated the manifest to correct a permission error. Getting proper auth failures again May 23 21:11:18 tortal: pastebin here http://pastebin.com/pKdrXdVz May 23 21:11:18 and the postbuild puts the compiled class file to the dex tool and packages the apk May 23 21:11:42 tortal: thank you for the help May 23 21:12:02 I see May 23 21:12:24 monsti :D can you fix it? May 23 21:12:35 I think the problem is with onresume May 23 21:12:40 ilhami: i told you the solution 30min ago May 23 21:12:46 ilhami: yes May 23 21:12:58 yes what? May 23 21:13:01 ur broadcast reciever May 23 21:13:04 tortal: actually no, it erased my updated text, hold please ;_; May 23 21:13:17 why is it commented out May 23 21:13:23 what about it? May 23 21:13:29 its what sets the myList May 23 21:13:47 your anonymous broadcast reciever May 23 21:14:05 in which class are you talking about now? May 23 21:14:28 tortal: http://pastebin.com/UJTg8KBg May 23 21:14:32 why is registerReciever commented out May 23 21:14:46 tortal: Sorry it took so long. -_-;; May 23 21:14:48 Fallout2man: will check May 23 21:14:59 in which class? because we have changed some stuff... May 23 21:16:36 tortal? May 23 21:22:46 Fallout2man: your metadata tag is inside application May 23 21:23:05 it should be under manifest May 23 21:23:32 android-apt-compiler: Cannot run program "C:\Program Files (x86)\Android\android-sdk\platform-tools\aapt.exe": CreateProcess error=2, The system cannot find the file specified May 23 21:23:52 that error when googled shows that it started recently to bug like that, you guys know of a fix? May 23 21:24:10 Tortal: D'oh! total newbie mistake May 23 21:24:18 i would put stuff like "meta data" right before permission May 23 21:24:37 Fallout2man: not really :) XML is not readable imho May 23 21:25:14 i hope lint would find this error May 23 21:26:14 ilhami: im sorry, but i dont have time to crunch the amount of code your presented May 23 21:26:23 i do however believe it's a life cycle issue May 23 21:26:38 read more on broadcast reciever if you already havent May 23 21:26:55 tortal can I query you? May 23 21:27:03 Need to ask you something May 23 21:27:27 im semi afk but go ahead May 23 21:27:42 does onProgressUpdate receive back results sent from doInBackground May 23 21:29:24 Sicp: when you publish them from doInBackground yes May 23 21:29:25 how to stop a broadcast? May 23 21:29:30 unregisterReceiver? May 23 21:29:33 ah, publish May 23 21:29:49 publishProgress() or something like that May 23 21:29:54 hmmmm well publish called from doInBackground takes Void May 23 21:30:09 thats your doing :) May 23 21:30:28 right, from what I passed above in the signature of AT May 23 21:30:36 read up on the async params May 23 21:31:43 ilhami: strangely enough, abortBroadcast() May 23 21:33:08 tortal: When I place my API key outside the tag the app now crashes saying it can't find the API key. o_O May 23 21:34:19 what does unregisterReceiver mean? May 23 21:34:39 maybe you should try learning android May 23 21:34:48 by reading May 23 21:34:50 :) May 23 21:34:56 I have tried... May 23 21:35:06 Fallout2man: it should still be inside tag May 23 21:35:07 not easy May 23 21:35:18 tortal: it is May 23 21:35:53 ilhami: maybe do something else then May 23 21:35:54 post again and ill check (as a homage to the best game ever) May 23 21:36:40 how can I tell if my device requires a uImage (uboot) ? May 23 21:37:02 tortal what? May 23 21:37:18 tortal: http://pastebin.com/rkgaVx9L May 23 21:37:50 StingRay what is this forum for? May 23 21:37:54 when you cant help others? May 23 21:37:59 or this channel May 23 21:38:04 help is one thing May 23 21:38:06 ilhami: it's for helping others to learn android May 23 21:38:07 teaching another May 23 21:38:21 you are not teaching anything May 23 21:38:24 learn to program for android* May 23 21:38:27 you are referring to links May 23 21:38:36 oh then thats being google May 23 21:38:38 whoops I'm always in the wrong place May 23 21:38:43 and not many people want that either May 23 21:38:47 I didnt come here to read more.. I could find all those links myself in a second May 23 21:38:55 if you want to enrol in my private #android-dev course, tuition is $10k for a 3 month session May 23 21:38:57 ilhami: then do it May 23 21:38:59 i'll give you 3 hours/week May 23 21:39:05 but the problem is when you dont understand it May 23 21:39:14 speak up now if you don't want me to /kick ilhami May 23 21:39:17 then you use that search again :) May 23 21:39:21 thats soo quick and easy May 23 21:39:26 I didnt come here to read more.. <--- in a IRC channel May 23 21:39:26 till you do May 23 21:39:28 evancharlton, wait until he accepts my offer May 23 21:39:37 :( May 23 21:39:42 canadiancow: :) May 23 21:39:45 evancharlton: +1 May 23 21:39:50 :) May 23 21:40:11 ilhami: seriously, this is not #android-spoon-feeding May 23 21:40:15 canadiancow can you give me free lessons? May 23 21:40:28 no. 3 hours/week for 12 weeks May 23 21:40:29 if you don't want to learn, leave. If you don't want to leave, we'll help you. May 23 21:40:30 $10k May 23 21:40:35 ilhami: nah, you don't want his rendering code. May 23 21:40:48 .... May 23 21:40:55 can't tell if joking serious or clinically insane May 23 21:41:13 BustyLoli-Chan: I get the feeling ilhami is just idiot-trolling May 23 21:41:16 canadiancow 10000 dollars? May 23 21:41:20 are you kidding me? May 23 21:41:30 I was referring to canadiancow May 23 21:41:34 ok fine. i'll give you a discount because evancharlton doesn't like you May 23 21:41:39 clearly he means canadian dollars. May 23 21:41:40 $6k May 23 21:41:46 BustyLoli-Chan: oh. I suspect canadiancow is deadly serious. May 23 21:41:58 50% off May 23 21:41:59 one time offer May 23 21:42:05 didnt you throw me out evan? May 23 21:42:06 LOL May 23 21:42:45 if you just take the time to read the many available links May 23 21:42:46 I just.... I don't... I've been coding and learning for about 5 years now and learned everything I know entirely from google May 23 21:42:59 BustyLoli-Chan, exactly May 23 21:43:02 google != internet May 23 21:43:07 ilhami: I kicked you out, but I haven't yet banned you. May 23 21:43:10 in what universe? May 23 21:43:17 yet. May 23 21:43:19 I don't see why anybody anywhere would ever need to pay to learn to code May 23 21:43:22 google clearly === internet May 23 21:43:24 michaelnovakjr: key word. May 23 21:43:26 try to ban me :D I will find a dynamic IP LOL May 23 21:43:26 i doubt you learned everything from knol May 23 21:43:33 ilhami: challenge accepted. May 23 21:43:40 :) May 23 21:43:41 heh May 23 21:43:53 Fallout2man: what error do you get May 23 21:43:55 he didn't say how much time May 23 21:43:59 someone ping me if he comes back May 23 21:44:05 yea, or me. May 23 21:44:05 ok so now ditched AS and trying intellij … wtf does java: Fatal Error: Unable to find package java.lang in classpath or bootclasspath mean ? May 23 21:44:13 he will lose that challenge. May 23 21:44:17 it cant find jdk paths May 23 21:44:20 I think freenode restricts most anonymous connection methods anyway... May 23 21:44:30 maybe he has a botnet May 23 21:44:49 edcba: I doubt he could google for what a botnet is May 23 21:44:50 or hacked freenode May 23 21:45:18 tortal: one sec and I'll get the error, it's basically a crash in the maps api May 23 21:45:28 when people say things like "I will find a dynamic IP", i get concerned over what they'll do May 23 21:45:47 So I've been asking this question for 3 days now... I guess Ill give it a shot again... May 23 21:46:21 Does anyone have experience with hosting fragments inside of fragments specifically a tabhost inside of a tab host? May 23 21:46:32 are tabhosts even used any more? May 23 21:46:48 oh apparently they are May 23 21:46:59 can you nest them though? May 23 21:47:06 and better question: is that good ux? May 23 21:47:11 Fallout2man: can't find smth wrong with the manifest yet.. what's the error? also run lint-check if haven't already May 23 21:47:12 eek. TabHosts should die. May 23 21:47:15 like yo dawg, i heard you like tabs May 23 21:47:17 I'm trying to nest them... May 23 21:47:53 Generally I might consider a different UI scheme but it's modeled after this websites chat so I'd like to try to keep it familiar May 23 21:48:10 I want the users to feel like they are still using the site when they are using the app to connect to it May 23 21:48:18 viewpager May 23 21:48:22 with a custom control May 23 21:48:36 (if ViewPagerIndicator doesn't fit your needs) May 23 21:48:43 sorry, but no one is answering on #eclipse, I might get some feedback here, even being offtopic. Anyone using eclipse with black background fonts? I mean not only for the code editor, but also the "package Explorer" and the "Outline" May 23 21:49:15 gmag, please take that to #eclipse :P May 23 21:49:41 kk no worries May 23 21:49:48 no one uses Eclipse anymore ;) May 23 21:49:59 nioncode, what else then? May 23 21:50:04 nioncode ? May 23 21:50:13 I've used a viewpager before, but I don't want the slide ability I want the actual flip through tabs ability... and I can't use the action bar because my target API is >= 8 May 23 21:50:28 torchie, ?? May 23 21:50:31 ups May 23 21:50:33 AS of course (or just IntelliJ while AS is so buggy with libraries etc.) May 23 21:50:35 tortal, ?? May 23 21:51:42 you can turn off the slide ability (though I don't know why you'd want to), and you don't need an actionbar to use a viewpager May 23 21:51:46 nioncode: "no one uses eclipse", iJ wankers are just like mac-wankers and other fanatics May 23 21:52:05 tortal, lol, I thought you were saying "nioncode" as the name of an IDE. I googled it and got nothing, so I was "WHAT??" :P Just figured out that's the name of some mate here sorry :d May 23 21:52:18 gmag: g-d will forgive u May 23 21:52:39 gotta go to sleep now, afk o/ May 23 21:52:41 tortal, I think I'm too tired already... May 23 21:53:08 tortal: was just kidding, but personally I would never go back to Eclipse, it was very slow on my two Linux machines and looks just ugly, whereas the dark IJ theme is very nice imho May 23 21:53:24 I am taking the ride May 23 21:53:41 g night \o May 23 21:54:10 FFUUUUU May 23 21:54:12 android studio pls May 23 21:54:15 wont let me use ABS at all May 23 21:54:16 i understand the wow-factor of iJ and esp what AS seem to eventually promote.. however, eclipse is like java, it will never disappear May 23 21:54:19 also I think I've read that maven integration in eclipse is buggy May 23 21:54:19 keeps having gradle errors May 23 21:55:20 Brian|CB: tried for hours to import libraries in AS, but it just didn't want to work. using old IntelliJ based projects works just fine though, so that's what I am doing currently May 23 21:56:24 what are the differences for android dev between AS and standard IJ ce ? May 23 21:56:39 tortal: here, updated with the crash http://pastebin.com/hQER3Ajw May 23 21:56:51 ... there should be a #android-dev-ide chan aswell.. May 23 21:57:10 as well* May 23 21:58:09 tortal: lint freaks out, says "Unexpected namespace prefix "map" found for tag fragment" in several files May 23 21:58:19 tortal: this is Google's maps V2 api demo code sooo... May 23 21:59:08 the error says it should be in the application tag :) May 23 21:59:15 * tortal was wrong May 23 22:00:23 im comparing it now to one of my projects that used gmaps May 23 22:01:49 hu wa May 23 22:07:52 so I have http://pastebin.com/PWwEMr0T which handles drawing the tab bar and the tabs for the first tab host and then http://pastebin.com/DBgM3jiF which should handle drawing the second tab bar and the second tab May 23 22:08:26 oddly enough it does actually draw the second tab inside of the first tab, but it doesn't draw the actual tab host or tab bar, it just draws the tab content May 23 22:08:39 I think I messed up on the second tab factory somehow May 23 22:08:42 hi there, when i start an intend and go back to my app. i'm still in the intend view. f.e. i start a browser intend i end in the browser and cant go back to the activity which started this intend. how do i solve the problem? May 23 22:08:59 I don't think I converted it to work properly within a fragment, since I converted it for being within an activity May 23 22:12:42 smart1, itym "intent", and you just keep hitting back, and you never get back to your first activity? May 23 22:12:48 or what do you mean May 23 22:13:52 i just go back to the activity which run the intent when i press back multiple times May 23 22:16:40 canadiancow: atm i run Intent.ACTION_VIEW and parse the url. but my idea i to pass some informations with a post request to the browser and call a website. when i start the myactivity again in my app screen, i end up in the browser, not in the app itself May 23 22:18:15 ugh, install standard intellij now, still never finds any lib projects like simonVT menu :( May 23 22:18:18 not impressed May 23 22:19:54 Fallout2man: i really dont know - are you sure u generated it from the correct debug.keystore file in .android folder, and in the correct way? can't help u more than that atm May 23 22:20:39 StingRay_: not really any difference, everything in AS will be included in IJ v13 as well afaik. compared to v12 there are things like inlined string resources, icon previews, multiple layout previews etc May 23 22:20:47 tortal: yup, otherwise the key wouldn't match on the debug error message I got which said auth failure. May 23 22:20:56 tortal: Either way, thanks for the help man! :) May 23 22:21:13 smart1, that's because the browser is added to your task stack May 23 22:21:35 nioncode: do you use library projects in intellij ? May 23 22:21:38 read http://developer.android.com/guide/components/tasks-and-back-stack.html May 23 22:21:53 tortal: There might be some obscure problem somewhere creating all this havoc I've overlooked. It's always something small like that. I appreciate you lending your eyes over for a bit though. Always helps keep a dev honest. May 23 22:21:55 StingRay_: yes, have been using ABS and my own May 23 22:22:26 well I dont know what else to do to get this working May 23 22:22:33 StingRay_: what build system are you using? May 23 22:22:45 I take it I can have a library project that uses library projects …as in nested May 23 22:23:29 maybe first try a simple case, like only ABS in a sample project May 23 22:23:46 StingRay_: is this just an IDEA project or did you import from maven etc? May 23 22:23:57 created new May 23 22:24:00 : so singleInstance is my choice? May 23 22:24:01 dumped src in May 23 22:24:11 ok so you have to add each library project as a "Module" May 23 22:24:16 correct May 23 22:24:29 add it also as a dep May 23 22:24:33 no smart1 =\ May 23 22:25:06 hi May 23 22:25:08 ok and then what happens? May 23 22:25:20 it sits there nice May 23 22:25:30 cept main project dont see it May 23 22:25:55 library projects have android facet and are marked as a library module? May 23 22:26:46 yes and yes May 23 22:26:52 and just 1 lib at the mo May 23 22:26:54 simonVT May 23 22:26:59 slidingDrawer May 23 22:27:03 or menu May 23 22:27:06 or whateva May 23 22:27:07 :) May 23 22:27:44 see this is why intellij is not really for a noob like me May 23 22:27:49 elcipse is just soooo easy compared May 23 22:28:36 it's just a different way of thinking May 23 22:28:54 isn't the menu drawer part of the latest support package? :) May 23 22:28:55 sounds like everything is set up correctly. any errors in the event log? libraries build ok? May 23 22:29:30 i mean, is R generated at least? May 23 22:29:42 no not yet May 23 22:29:49 why cant i mkdir in /mnt over adb ? May 23 22:29:55 or even busybox May 23 22:30:08 but would that have a affect on symbol lookups ? May 23 22:30:09 you don't have permissions to do so, unless you've rooted your device May 23 22:32:36 : short quesiton, a task means a stack of activitys, each time i call an intent and start a new activity by an existing one it get on top of the stack, and so it's task May 23 22:33:03 sry, i'm totally new in android May 23 22:36:22 yeah, basically May 23 22:36:28 i'd suggest reading a few of the guides on d.android.com May 23 22:41:49 what would be the best solution for a login view before you get to access the app? two activities? May 23 22:47:00 Hello, how can I use Theme.Halo with min sdk 7 and target 15 ? May 23 22:47:18 I wanna use action bar May 23 22:51:56 wviana, those are two separate things May 23 22:52:03 look for actionbarsherlock for the actionbar on 7+ May 23 22:54:22 canadiancow: thanks May 23 23:06:37 sorry, back May 23 23:07:09 this is my cursed AsyncTask and it is never reaching FINISHED state, can you please check it out? http://pastie.org/7950519 ; I see Pending, I see Running and I see Not Finished but I never get to see FINISHED so I can't really do shit! :o May 23 23:09:01 hi May 23 23:09:45 im searching for a library for creating a simple image gallery inside my app (no intent) May 23 23:09:55 any good name of such libraries ? May 23 23:10:49 Gallery View? May 23 23:11:18 carousel ? May 23 23:11:33 not sure how it's called in english sorry May 23 23:11:44 but a view to display an album of poctures May 23 23:11:49 *pictures May 23 23:11:56 http://www.inter-fuser.com/2010/01/android-coverflow-widget.html May 23 23:12:32 thanks May 23 23:12:35 or search for android coverflow May 23 23:34:17 I have to make a Network operation in a service, but it is not allowed in new android versions cause uses the UI thread, I think in put it inside a Thread(){...}.start() but the method in the service return a boolean :( any Idea ?? https://gist.github.com/anonymous/d11c0461683abd5fba4a May 23 23:52:46 that question is a little….erm…. hard to understand May 23 23:56:52 StingRay_: in android older versions just works fine :\ May 23 23:58:22 StingRay_: in a past problem I just did it and solve to new versions but the task was simpler May 24 00:02:28 LOL :D May 24 00:02:30 HEeey May 24 00:03:03 you lost the challenge evans : May 24 00:04:43 everyday a new IP :D May 24 00:05:32 this app needs to monitor something online and then notify when it changes, whats the most efficient way to monitor something like that? especially if app is put in back ground? traditionally id prob just have a timer task that checks every x mins or something but this might waste battery or die when app is in background May 24 00:05:52 Gaz`: have a server do it and use GCM to send a tickle May 24 00:05:55 don't have the phone do it May 24 00:06:22 right, thats what we thinking, we just dont have time to set the server up to do gcm right now, unless i can do something today that will help him May 24 00:07:08 thanks im reading up on that again May 24 00:08:08 I hope you have time to charge your battery May 24 00:08:10 :) May 24 00:08:30 :) May 24 00:13:12 so when are they going to make solar power attachments for our devices? May 24 00:14:05 https://www.google.com/search?q=usb+solar+charger May 24 00:14:18 hi, whats the better way for a menu. switching views or starting activitys? May 24 00:14:28 pragma-: a long time ago. http://www.amazon.com/dp/B00449U3K0 May 24 00:14:43 smart1: action bar overflow menu May 24 00:15:22 $27. Yeah, I'll pass. May 24 00:15:23 just a decicion between these two. my main activity is a grid view. each grid element start another view May 24 00:15:48 Yup, vindicated by 1-star reviews. May 24 00:16:05 or activity, f.e. a list view. so the question is, changing the view of the activity or changing the activity May 24 00:16:10 When shopping on amazon.com, ignore the 5 star reviews and just read the 1 star reviews. Trust me. May 24 00:16:34 pragma-: protip: no solar panel that size is going to charge your phone May 24 00:16:55 but you linked it! May 24 00:17:03 You asked for it May 24 00:17:37 http://www.suntactics.com/shop/usb-scharger-12/?gclid=CI-atMa7rbcCFeU5QgodXSwAgw May 24 00:17:38 I'm pretty sure that qualifies as a "solar power attachment" May 24 00:17:41 "charge two devices at once" May 24 00:18:52 I'm holding out for a nuclear battery May 24 00:19:05 make mine quantum May 24 00:36:59 tangential question about NFC -- besides the yubico NEO, are there (cheap?) devices that combine both usb and nfc interfaces to a smartcard? May 24 00:37:13 AsyncTask is beautiful *_* May 24 00:37:37 wviana: look harder May 24 00:38:32 StingRay_: I thought it too but now I see it is easier than Thread :) May 24 00:39:45 it is a thread May 24 00:40:04 just an easy way to create one May 24 00:40:15 manage and make calls on UI May 24 00:41:11 StingRay_: Do you know if have a way to a thread do something when ends to do what it needs to do ? May 24 00:41:38 handler, callback etc May 24 00:41:41 up to you May 24 00:43:03 my 0.02 -- after much futzing, I've concluded that it's simplest to run background tasks in a service; and get notified of "completion events" via a separate pub/sub thread. Both are fairly simple to write once, and are considerably more trouble-free than asynctask/loadermanager May 24 00:44:04 ok, even though I still have 1,000s of problems, I am starting to see AS/IntelliJ advantage May 24 00:44:16 but not gradle May 24 00:44:18 :) May 24 00:44:32 the advantage of gradle is that it is not ant :) May 24 00:44:47 yeah see dont think I'm sharp enought to get that yet May 24 00:44:50 :) May 24 00:49:09 ant always seemed like an experiment in a worse-is-better approach to build systems :-) was quite surprised to see it take off in the java world; but maybe it was just less worse than the alternatives... May 24 00:57:16 kbs: i agree - for mutating things; for queries of ephemeral things from db i still use loaders May 24 00:57:55 Hmm why doesnt the application class have an ondestroy May 24 00:59:12 g00s: ah, interesting -- gotcha. For my app at least, db results were generally usable across activities, and it didn't seem worth the trouble to use a different code path for the occasional case. May 24 01:00:17 g00s: in the worst case, results continue to be fetched on the service, and the final completion event is just popped of the publisher queue May 24 01:00:28 "popped off" May 24 01:00:50 sounds nice May 24 01:01:50 I wish i'd stumbled on this approach earlier -- it has some lucky side-effects that I had not anticipated (eg: stuff gets cached in memory often, even if the result is not immediately used) May 24 01:03:34 so what is the advantage of gradle ? May 24 01:03:39 besides it not being ant May 24 01:03:56 StingRay_: one thing is seriously pissing me off about idea ce; many times when i have an unresolved class / interface, its help winds up being "Create class x / Create interface x" … when all it needs to do is import an existing. so its constantly missing "import x" May 24 01:04:17 eclipse is not fucking this part up May 24 01:04:33 well cmd + option + enter May 24 01:04:40 and 2 clicks done May 24 01:04:49 but yeah… May 24 01:05:33 so is it easy to switch from ant to gradle in an project / May 24 01:05:35 ? May 24 01:05:43 no idea - let us know :) May 24 01:05:46 and how does one detach current VC May 24 01:06:04 the manager pannel, erm…. is not really a manager pannel May 24 01:06:06 :) May 24 01:06:13 and why cant I save multiple layouts May 24 01:13:27 so no andvantages to gradle over ant ? May 24 01:13:41 wanting to know if I should switch May 24 01:13:57 as I'm in a position where I'm wasting soooo much time atm neways :) May 24 01:16:04 StingRay_: I watched the gradle presentation at i/o -- and my thought was that it's very early stages still. Unless there's a real need to start using gradle right away for some reason, ant seems less worse May 24 01:16:25 decision made :) May 24 01:16:27 cheers May 24 01:16:30 oh but May 24 01:16:51 there was some question about ant in AS/IJ being not fully functional May 24 01:17:09 looked at a response from nb and they seemed to say that May 24 01:17:32 oh -- okay. Unfortunately I don't use android studio, so sorry -- not familiar with using grade in that context. May 24 01:19:12 yeah, if you want to use AS, then you need to switch to gradle, afaik May 24 01:19:30 well it seems fine with ant atm May 24 01:19:38 eh, ok. maybe not then :) May 24 01:19:40 was just reading more b4 I actually do any work today May 24 01:20:46 and wanted to know the steps to change to gradle if needed May 24 01:20:58 wheres the "convert to X" button ??? May 24 01:22:40 there is no "convert to gradle" button :) May 24 01:22:49 i know May 24 01:22:52 AS is super early still :) May 24 01:23:01 but there should be a export config May 24 01:23:15 so I can import/close as May 24 01:23:19 clone* May 24 01:26:18 StingRay_: I would create a new project in AS, and then copy in the source and resources and stuff May 24 01:26:36 yeah suppose May 24 01:26:41 will try shortly May 24 01:26:52 if you have any .jars in the libs folder, I think you'll need to manually add a dependency for them in the gradle file May 24 01:26:55 can't wait for version 1.0 gold of AS May 24 01:27:23 JesusFreke: yeah but I think I had a prob with modules before May 24 01:27:51 shmooz: so about 8 years then ? May 24 01:27:54 StingRay_: library project? May 24 01:27:57 ya May 24 01:28:03 what you freaks call modules May 24 01:28:04 :) May 24 01:28:05 yeah, I'm not positive how to set that up in AS May 24 01:28:16 sorted now with ant May 24 01:28:16 well, it is called a module in IDEA May 24 01:28:32 so I want to try what I just done with a gradle config May 24 01:28:34 but it's called a library project in Android terminology. heh May 24 01:28:42 so yeah, will try it shortly and report back :) May 24 01:28:54 I would try file->new module May 24 01:29:01 and I think there should be an android library module May 24 01:29:17 but, it may or may not work :) May 24 01:29:19 well everyone should be using to help improve it fast, and they can keep their Eclipse and Ant installed for when things don't work with AS and gradle, to fallback on May 24 01:29:23 modules != library projects May 24 01:29:40 modules are components of a project. May 24 01:29:42 michaelnovakjr: you import a library project as a module in IDEA May 24 01:29:44 afaik May 24 01:29:46 yea May 24 01:29:53 but yeah, they're not the same thing May 24 01:30:06 I have a test module and app module and then modules for library projects. May 24 01:30:22 err no test module anymore, but definitely an app module. May 24 01:30:31 yea May 24 01:30:46 basically the way you have projects in an eclipse workspace but a million times less painful. May 24 01:41:20 michaelnovakjr: still a primative layout, in an organisational way thought (AS/IntelliJ) May 24 01:41:54 different and nicer !have to mean less comprehensive May 24 01:42:24 pretty flexible for what i've been doing. May 24 01:42:37 I haven't run AS yet though, just been using IntelliJ for a few years. May 24 01:42:46 I can see that on a single monitor yeah, or a laptop it would be nice May 24 01:43:25 but when you have over 8ft sq of screen, it aint great May 24 01:43:36 you lost me. May 24 01:43:49 I have 4 x 24 inch monitors May 24 01:44:01 and in eclipse based on what I was doing I would switch layouts May 24 01:44:13 AS/IJ seems to have 1 custom layout May 24 01:44:15 thats it May 24 01:44:22 what do you mean by layout? May 24 01:44:32 UI layout of IDE May 24 01:45:01 in eclipse I can place any tab in any window in any kind of config layout i want May 24 01:45:09 not true here from what I have seen May 24 01:45:17 you can pull tabs out of a window in intellij as well May 24 01:45:20 You can drag a tab.. yeah. May 24 01:45:24 no May 24 01:45:30 I mean yes you can May 24 01:45:31 lol I just did... May 24 01:45:32 but no May 24 01:45:52 you can also float the various views that are pinned in the window as well. May 24 01:46:02 I do kinda get what you're saying May 24 01:46:06 what if I wanted event log taking half of a popout window and device man and vcs taking a split 50% May 24 01:46:18 and to place on 1 monitor May 24 01:46:33 it dont have that level of customization May 24 01:46:35 don't see why you couldn't. May 24 01:46:56 cause the views are enclosed and context based May 24 01:47:02 you can only rip it off May 24 01:47:07 not combine it to your own May 24 01:47:17 rip it of = float :) May 24 01:47:21 off* May 24 01:48:16 * michaelnovakjr hasn't worked with multiple screens since getting one really big screen. May 24 01:48:51 * StingRay_ needs multiple for his professional work May 24 01:49:04 as in CG/VFX design May 24 01:49:09 video stuff too May 24 01:49:34 * michaelnovakjr is glad that isn't his situation May 24 01:49:35 :) May 24 01:49:50 I always hated having multiple screens. May 24 01:49:54 when adding a jar lib May 24 01:50:00 "Level" May 24 01:50:10 project Vs Global May 24 01:50:43 by Global it means any project ? May 24 01:50:55 any project that has a module ref to this one ? May 24 01:51:03 I believe so, I only dealt with jars a little bit. I've been using maven for a while. May 24 01:58:11 having to manually manage build.gradle config is …erm May 24 01:58:14 not nice May 24 01:58:43 yeah, I imagine that will be improving (but don't know this for a fact :)) May 24 01:59:05 cause if you rely on a viersion named google api that updates May 24 01:59:10 erm....nightmare May 24 01:59:15 "gdrive" being one May 24 02:02:43 yeah how does that all work? do you reference them as files? May 24 02:03:03 well I have a folder in libs May 24 02:03:13 call gdrive with all the jars May 24 02:03:19 10 of them I think May 24 02:03:27 added as a library group May 24 02:03:30 awful May 24 02:03:40 then have to add them to gradle config too May 24 02:03:57 if only someone would have solved this dependency management and resolution problem before... May 24 02:04:06 eclipse did it all for me with litterally 1 button push from the eclipse google api pluggin May 24 02:05:22 eclipse google api plugin? May 24 02:05:27 yeah May 24 02:05:38 adds a little button with an api manager inside May 24 02:05:46 was bliss for something like gdrive May 24 02:06:06 https://developers.google.com/eclipse/docs/googleapis May 24 02:10:06 hmm now how to tell gradle about modules May 24 02:10:18 anyone ? May 24 02:13:59 StingRay_: you're a glutton for punishment :) May 24 02:14:09 hey all works well May 24 02:14:18 and learning gradle syntax May 24 02:14:26 just these lib/modules May 24 02:14:30 the dsl is pretty simple May 24 02:14:46 not really a fan of groovy though May 24 02:15:31 JakeWharton: sure people must have asked you about this with ABS May 24 02:26:54 Hi Everybody! I've already tried a lot of methods, via intent, via file. But i just can't manage to take a picture and use it in my appliciation. May 24 02:27:18 you fix my prob, I will fix yours May 24 02:27:25 sound fair ? May 24 02:27:56 hi there, I got bunch of proguard warning and notes when running 'ant release' in command line. All of them are related to 3rd party jar I used in my android project. Can I just 'dontwarn' or 'dontnote' them? What will proguard do if I choose 'dontwarn' or 'dontnote' May 24 02:27:57 Somebody here used the camera intent api with success? May 24 02:28:01 Mine returns null :( May 24 02:28:47 Sambarboz: thats depends on what options the intent has for the camera May 24 02:29:00 eg if your saving a file, what does it need to return ?? May 24 02:29:09 since you must have given it a file to save to May 24 02:29:17 a uri that is May 24 02:29:46 Sambarboz: http://developer.android.com/guide/topics/media/camera.html, I strictly followed this guide, and it works May 24 02:29:55 have you tried? May 24 02:30:00 Yep. May 24 02:30:09 And so many others :( May 24 02:30:19 Maybe an issue with Galaxy Nexus? May 24 02:30:39 Just copy every piece of code, don't change anything May 24 02:30:46 Did ti :( May 24 02:30:49 ... May 24 02:31:08 StingRay_: I've tried with file too, but it is generating an empty image May 24 02:31:23 If it's convenient, you may paste your code somewhere May 24 02:31:40 Sambarboz: do you pass it all the correct info ? May 24 02:31:53 StingRay_: for examlpe? May 24 02:31:57 example May 24 02:32:04 cause if you did and if fires camera and you take a pick and press ok, it should just save to file May 24 02:32:51 It saves, but the image is empty May 24 02:32:55 well a valid uri that you have permission to write to May 24 02:33:21 a vakud MediaStore action May 24 02:33:26 ugh May 24 02:33:30 valid* May 24 02:33:42 a type May 24 02:33:58 and intent action type May 24 02:34:09 yep May 24 02:34:18 I have permission, it creates the file May 24 02:34:22 paste code May 24 02:34:28 pastebin or something May 24 02:34:56 Tried this:http://thanksmister.com/2012/03/16/android_null_data_camera_intent/ May 24 02:35:05 And this methods May 24 02:35:06 http://dharmendra4android.blogspot.in/2012/04/save-captured-image-to-applications.html May 24 02:35:26 ok May 24 02:35:27 I think you should just stick with the official guide first. May 24 02:35:35 make it work May 24 02:35:35 past your code to pastebin May 24 02:35:56 I'm using the method 2 from this guy: http://dharmendra4android.blogspot.in/2012/04/save-captured-image-to-applications.html May 24 02:36:00 copy and paste. May 24 02:36:43 yeah thats just odd to me May 24 02:36:52 do what luoluoluo said May 24 02:36:56 use google example May 24 02:36:59 it just works May 24 02:37:01 :) May 24 02:37:12 Damm. May 24 02:37:13 Haha May 24 02:37:22 It was my first try :( May 24 02:37:29 Thanks anyway. May 24 02:38:19 StingRay_: experienced with proguard? May 24 02:38:25 nope May 24 02:38:29 ok May 24 02:38:46 experienced with sorting problems our with proguard and g-drive libs May 24 02:38:47 ;) May 24 02:39:32 seems like the next version of proguard has more gradle support May 24 02:40:11 4.9 had the gradle task, first cut ;) May 24 02:41:25 Does 'dontwarn' or 'dontnote' on 3rd party libs dangerous? **** ENDING LOGGING AT Fri May 24 02:59:58 2013