**** BEGIN LOGGING AT Tue May 06 02:59:58 2014 May 06 03:02:50 Why does scrolling only work on the left edge of an ExpandableListView May 06 03:06:06 here's the code https://gist.github.com/tigrang/a69710823215f72198cc May 06 03:11:16 which is unit that required in Bitmap? May 06 03:11:21 px or dp? May 06 03:34:26 -_- May 06 03:36:23 Bitmap.create(src, x, y, width, height) in x, y, width and height, enter it in pixel or dp May 06 03:36:25 ? May 06 03:36:33 pixels May 06 03:36:37 everywhere in android its pixel May 06 03:36:43 only resources are in dp May 06 03:37:22 Napalm: thanks, helpful :) May 06 03:39:48 any tips on why exapandlistlistview isnt scrolling May 06 03:43:59 The first item in the list I can tap and it expands/closes its children, the other items in the list don't react to tapping, and the entire listview doesnt scroll unless you scroll on the left edge May 06 03:50:55 bankai_au this 0.18.2 has a bunch of new operators May 06 03:55:21 i don't like new ... new is different, different is change, change is bad May 06 03:57:00 So I figured out what was causing it. I had that expandablelistview in a fragment that was inside of a ViewPager, I moved the same code into its own activity without a ViewPager and scrolling works. ListView's inside of ViewPagers don't have an issue, though. May 06 03:57:13 https://www.youtube.com/watch?v=1TtGQnyPZ6g May 06 04:06:39 hey Leeds May 06 04:07:11 Napalm so did you figure something out trying to force it into -night ? May 06 04:07:22 afternoon Napalm May 06 04:07:26 yes, but i got diverted May 06 04:07:27 sorry May 06 04:07:29 dudes May 06 04:07:33 heh May 06 04:07:38 i found the gold May 06 04:07:59 but i have the bacon :D May 06 04:08:10 2 strips, on the counter atm! May 06 04:08:24 NO BACON May 06 04:08:40 might even be turkey bacon May 06 04:08:50 thats kosher i think May 06 04:08:51 particularly not on Buddha's birthday May 06 04:09:55 which is today, as I'm sure you all know... it's nice getting Chinese traditional/religious holidays as well as civil and Christian ones :) May 06 04:10:33 i hope all those people going on Hajj don't spread MERS around the world May 06 04:13:40 hey g00s Leeds May 06 04:13:52 sorry, just as i was about to say my bit, the connection dropped May 06 04:13:58 did you get my last message? May 06 04:14:10 you found the gold? May 06 04:14:15 have you ever wanted to retain a View across configuration changes but without requiring the manifest change and also without leaking your previous activity's context? May 06 04:15:32 I guess thats a no :( May 06 04:15:53 g00s Leeds.. your both suppose to be extra excited and ask May 06 04:15:54 :P May 06 04:16:34 Napalm this sounds like some trickery :D May 06 04:16:40 nope.. all above board May 06 04:16:45 any special tricks to working with adb remotely? May 06 04:16:45 yo - rule #3 of android dev, no trickery May 06 04:16:47 i can't believe i didnt see it before May 06 04:17:02 g00s: http://developer.android.com/reference/android/content/MutableContextWrapper.html May 06 04:17:06 and it bloody works May 06 04:17:41 just uploading my example app May 06 04:18:39 Napalm yeaaah, ui dunoo May 06 04:23:44 g00s: check it out https://github.com/slightfoot/android-web-wrapper/blob/master/WebWrapper/src/com/example/webwrapper/BrowserActivity.java May 06 04:25:45 nice, but if you set strict mode, you'll see that it has 2 instances of your activity on every config change May 06 04:26:02 but it's transient until the context is reassigned May 06 04:26:15 i was about to say that :P May 06 04:26:20 anyone using ORM? May 06 04:26:40 plus android keeps the previous Activity around until the new Activity is created May 06 04:27:16 Interesting though May 06 04:28:12 indeed, i'm thinking of many applications where this is handy May 06 04:29:04 i feel so stupid, not seeing this before, i mean MutableContextWrapper has been around since v1 May 06 04:29:08 mattblang_: ormlite May 06 04:29:48 Napalm maybe there is a reason for that May 06 04:29:52 Hammit cool. was wondering about ormlite vs greenDAO May 06 04:30:33 i know nothing of greedao May 06 04:30:33 g00s: i thought so, but I honestly can't see any. I've gone hunting for leaks.. none. May 06 04:31:12 mattblang_, ormlite has good support though and when i started, was more advanced May 06 04:31:35 thanks Hammit! May 06 04:57:54 g00s: btw, that code for uiMode is here: http://pastebin.com/aKgh7wEg May 06 04:58:10 basiclly you just set the new Configuration and recreate the activity and it uses it May 06 04:58:36 Napalm cool thanks May 06 04:58:50 i'm going to make this into something nice May 06 04:58:55 to help manage the mode switch May 06 05:02:18 Napalm the thing that scares me though, is - even if it works, is this the way they intended for us to use it? if not, may be wise to avoid May 06 05:05:13 for example, what it some event causes Configuration.UI_MODE_xxx to be set to something else ? May 06 05:05:43 like docking the phone May 06 05:06:56 then yes, you get a theme change May 06 05:07:12 i'm doing this too support day and night outside of dock mode May 06 05:07:44 Napalm i think it was really dumb they put those restrictions on it May 06 05:07:52 wtf were they thinking May 06 05:07:52 indeed May 06 05:08:07 like it would be great to make a auto mode for reading apps May 06 05:18:17 how can I click on a listview and have it be selected May 06 05:18:52 Napalm i'm kinda surprised that Configuration.uimode is just a public int you can much with May 06 05:19:17 as API design goes, i think ok its OK for me to set that May 06 05:19:21 since there are no setters May 06 05:41:16 hi all May 06 05:41:19 I have query regarding compiling kitkat image for nexus5 May 06 05:41:19 I am trying to add new resources in Browser application values-bn/strings.xml.. but this is not getting compiled in Browser application May 06 06:01:21 g00s: https://gist.github.com/slightfoot/c508cdc8828a478572e0#file-nightmodehelper-java May 06 06:46:19 'nice Napalm May 06 06:46:29 NightModeHelper XD sounds sinister May 06 06:46:38 lol May 06 06:47:27 damn it, why does the default FEATURE_PROGRESS ProgressBar have to be fixed to the top of the ActionBar and not the bottom May 06 06:47:37 that would have been soo helpful May 06 06:52:05 Napalm what do you think of Cards ? May 06 06:52:11 like cardslib, etc May 06 06:52:19 Cards? May 06 06:52:21 cardslib? May 06 06:52:33 you just mean Cards as in the UI May 06 06:52:33 https://github.com/gabrielemariotti/cardslib May 06 06:52:36 yeah May 06 06:52:43 concept and impl May 06 06:53:03 cards in general, and if you have used this lib May 06 06:53:08 yea, i like it, infact my current project us using them May 06 06:53:15 never used that lib May 06 06:53:22 why would you need a lib anyhow? May 06 06:53:42 its just a 9 patch on a view May 06 06:53:42 Napalm, I was thinking the same thing May 06 06:53:49 i downloaded the demos, they do fun things like expand and have that overflow menu May 06 06:53:55 yea? so May 06 06:54:00 how hard is that to add May 06 06:54:12 and you can just create a "base card fragment" that has that simple functionality May 06 06:54:22 and each card could be a fragment, if you so wished May 06 06:54:44 its what PopupMenu is designed to do May 06 06:54:48 no big deal May 06 06:55:23 hm May 06 06:55:29 right, got to go get ready for work May 06 06:55:33 wish i slept now May 06 06:55:34 lol May 06 06:55:38 :O May 06 06:55:49 pull an all nighter ? May 06 06:55:59 yea, the entire weekend almost May 06 06:55:59 lol May 06 06:56:03 catch you on the flip side May 06 06:56:09 worked all night on NightModeHelper :P May 06 06:56:15 lol May 06 06:56:26 oh, if Richard 82 comes knocking can you point him at my WebWrapper repo May 06 06:56:44 thats to anyone May 06 06:56:52 right, bye May 06 07:00:38 hi all May 06 07:00:38 I have query regarding compiling kitkat image for nexus5 May 06 07:00:39 I am trying to add new resources in Browser application values-bn/strings.xml.. but this is not getting compiled in Browser application May 06 07:07:30 Hi, is there a way to fake resource overflow to test how my service will act after it has been killed due to low resources? May 06 07:07:45 resource overflow? May 06 07:07:53 Siamaster, just open your browser May 06 07:07:59 uses RAM like a mofo May 06 07:08:19 ok, gonna try May 06 07:08:30 maybe do a few image searches May 06 07:10:14 can't you just kill -9 it ? May 06 07:10:31 is that the same g00s ? May 06 07:10:43 browser didn't help, I even logged in to fb May 06 07:10:54 i think so; onDestroy doesn't get called, everythng gets shitcanned May 06 07:11:06 ok, gonna try May 06 07:11:08 what about onLowMemory() May 06 07:11:11 ? May 06 07:11:11 browser trick worked on froyo :) May 06 07:11:19 might have to work a little harder nowadays May 06 07:11:20 oh, didnt implement onlowmemo May 06 07:11:35 sorry, Siamaster , that was aimed at g00s May 06 07:11:55 oh ok May 06 07:13:06 ahh, have to get root access to kill May 06 07:13:14 iam adding new resource file like values-bn(bengali) in Browser app.after adding this file that browser apk is not compiling? May 06 07:18:24 oh May 06 07:18:33 all I had to do was to terminate from ddms May 06 07:19:33 but how is that different from adb kill? May 06 07:20:01 i used the terminate app in android studio, but it should use an adb-command for that right? May 06 07:29:15 hey all ~! May 06 07:29:46 I noticed that Android Studio doesn't suggest import statements like Eclipse does. Do I have to enable something? May 06 07:31:01 HashNuke: it should do, it does it on mine. Don't remember having to enable anything :S May 06 07:31:09 alt + enter ? May 06 07:31:49 barbs: I was expecting it to highlight the data type in red and suggest an import. But It's just syntax highlighting and nothing else. May 06 07:32:17 you could have accidentally excluded the import from suggestion? May 06 07:32:22 If I use a class that hasn't been imported, it highlights it in red, then if I press Command-1, it'll suggest an import May 06 07:32:29 assuming the cursor is on that red word May 06 07:32:36 I'm using Eclipse (OS X) keybindings May 06 07:32:46 in which case go to settings -> Editor -> Auto Import and remove that package May 06 07:33:04 barbs: I'm on OSX too. There's no red markings here. May 06 07:33:34 I dont have any excludes. Just checked settings May 06 07:34:21 Siamaster: http://cl.ly/image/0r3R081Z1y17 it looks like this May 06 07:34:45 is this a new project you're working on? Or one imported from eclipse? I'm wondering if the project hasn't been imported properly... May 06 07:34:55 barbs: brand new project. May 06 07:35:17 hmm, should work then :S May 06 07:35:24 do you use alt+enter? May 06 07:35:51 mind giving a screenshot of your code? maybe with the project structure on the left as well? might give some clues about how your project's set up May 06 07:37:13 barbs: http://cl.ly/image/3u3K1f0c311V May 06 07:38:09 barbs: Siamaster: alt+enter imports it for me. But there are no red markings like Eclipse tho. Any way to enable such a thing? May 06 07:38:55 there's probably a setting in preferences somewhere for that, but I couldn't tell you where it is unfortunately :( May 06 07:39:06 barbs: thanks no problem. May 06 07:39:51 it should be flagging an error on that context object you're passing to PreferenceManager.getDefaultSharedPreference(), so maybe you don't have error highlighting set up or something... May 06 07:40:15 i.e. it's not just imports... May 06 07:40:18 barbs: oh May 06 07:41:40 are you on a laptop by any chance? http://stackoverflow.com/questions/19384362/android-studio-is-not-showing-quick-fix-lightbulb May 06 07:42:56 barbs: Siamaster: File -> Power Save Mode was enabled. Everything is fine now May 06 07:43:07 woot! May 06 07:43:33 facepalm ~! such options when enabled should be screaming somewhere in the UI. May 06 07:43:50 agreed. and now I must go. Happy coding! May 06 07:50:30 cool! didn't know about that (useless) feature May 06 07:50:41 who develops on a laptop :P May 06 07:53:23 Siamaster: I don't know why it's even there. My macbook battery lasts about 1.5hrs. And I work away from my desk most of the time. Now that's going to be a painful feature. May 06 07:55:03 what feature did you guys find ? May 06 07:57:14 File -> Power Save Mode May 06 07:57:23 g00s: File -> Power Save Mode. It disables error highlighting. May 06 07:57:34 oh yeah, i tried that once, but it turns AS into vim May 06 07:57:42 lool May 06 07:57:53 g00s: haha. "it turns AS into vim". ROFL. May 06 07:58:14 so i bet Leeds would love that :D May 06 07:58:34 g00s: I suddenly found myself with no auto-imports, no error highlighting and had no clue what was wrong. Some random StackOverflow post tipped me off. May 06 08:11:25 Auto Imports are off by default, even when not in Power Save Mode iirc. May 06 08:11:27 Which sucks May 06 08:21:49 hm, adb devices shows 'offline' … this happens once in a while and i can't figure out how to fix it May 06 08:21:55 adb kill-server didn't fix May 06 08:48:13 g00s that happend to me several times aswell, found no solution but to restart as May 06 08:48:31 or oh May 06 08:49:01 you mean some other problem :P also happend to me May 06 08:49:26 but mostly on windows May 06 08:56:55 what's a good Android oauth client? May 06 09:00:28 Hi guys. I'm trying to get a response from a dialog fragment, when the latter has closed. This dialog fragment can be triggered from an existing fragment or an activity. May 06 09:00:29 I wanted to use a callback interface all items using my dialog fragment will have to implement. May 06 09:00:29 But I saw the onActivityResult() exists, but I need to launch my dialog fragment with an intent, which is impossible directly. Any advices? May 06 09:03:22 Actually, my use case is, check if the BT is enabled, if not, ask Android to enable it, get the RESULT_OK. If RESULT_CANCEL received (because the user doesn't want to enable the BT), display my dialog fragment ("the app needs BT, blablabla"). As soon as the user click on the only button of my dialog fragment, quit the app. May 06 09:05:25 Hello guys, is ActionBarActivity derived from Activity or Fragment? May 06 09:05:47 can i get a callback when the user disables the location service? May 06 09:06:06 i know how to check whether it is available, but i'd like to be notified... May 06 09:06:17 @Number5 FragmentActivity May 06 09:06:23 fancy42 there should be broadcasts about that May 06 09:06:37 don't know exactly what action May 06 09:06:41 but I recall there is May 06 09:06:51 @Number5 http://developer.android.com/reference/android/support/v7/app/ActionBarActivity.html May 06 09:07:07 metallian, thank you my friend :) May 06 09:08:29 @Number5 Welcome :) May 06 09:10:57 perhaps I wrong, there is only the connectivity action May 06 09:11:04 I'm* May 06 09:18:14 hey May 06 09:21:12 Siamaster, thanks, i'll check it out May 06 09:22:39 how do you enable list view item slide? May 06 09:27:22 fancy42 there is also the Intent.ACTION_AIRPLANE_MODE_CHANGED May 06 09:27:34 I mean, if there is no wifi, you already lose one location provider May 06 09:27:52 so it could be helpful to know about the wi-fi status May 06 09:29:06 is there any sample project that splits android libraries into multiple dex files May 06 09:29:17 using gradle DSL May 06 09:29:17 ? May 06 09:29:39 I've read your name in some google app, I believe. May 06 09:29:47 play app I mean May 06 09:30:14 Omnipotent: me? May 06 09:30:24 Yes, or something very similar May 06 09:31:11 BeeTalk. I am currently facing issues trying to solve the dex limit on Gingerbread May 06 09:31:40 isn't the dex lmit everywhere ? May 06 09:31:56 Proguard it? May 06 09:32:08 yeah but on Gingerbread especially Huawei phones its not even 64K May 06 09:32:15 its around 50K May 06 09:32:21 d'oh! why ? May 06 09:32:41 manufacturer related modifications i guess. May 06 09:33:06 well 50k is fine enough for showing adds May 06 09:33:12 XD May 06 09:33:45 Mavrik: already doing that, i used to have Google Protocol Buffer, changed to square's Wire saved about 30-40 K methods :/ May 06 09:33:58 how bout merging optimizations? May 06 09:34:01 those are off by default May 06 09:34:08 MohitKanwal using protobuf-light ? May 06 09:34:26 g00s: Wire reduces the method count by a huge margin May 06 09:34:52 Mavrik: yes tried horizontal and vertical mergings May 06 09:35:10 final proguarded method count: 52K May 06 09:35:55 cant reduce below that. But I am just thinking no one has tried doing multiple dex with gradle build script? May 06 09:37:57 broguard May 06 09:41:11 Siamaster, thanks, but for our app the user HAS to enable full-on GPS :D May 06 09:41:36 ok May 06 09:41:46 what is it a runkeeper-like app ? ^^ May 06 09:41:54 MohitKanwal just out of curiosity, what other libs are you using ? May 06 09:42:46 play services is a big stinker May 06 09:42:57 ormlite, libphoneutils, picasso, httpmime, volley, facebook, geocoder, gson, wire May 06 09:43:13 and support libraries May 06 09:43:26 good luck! May 06 09:43:29 and google analytics May 06 09:43:32 *really* May 06 09:43:59 you need both picasso and volley ? May 06 09:44:15 i'm betting FB is probably the largest lib? May 06 09:45:32 Need to refactor, we have a http client that makes use of the volley request queue May 06 09:46:30 for FB the classes.jar is huge but i suppose with vertical and horizontal merging enabled in proguard it should be shrinked May 06 09:46:43 how to add google play services to my emulator device? May 06 09:47:09 how programmatically stwich tab in https://github.com/kamoljan/Nefete/blob/master/nefete/src/main/java/org/kamol/nefete/ui/activity/MainActivity.java ? May 06 09:47:40 ponugoti5_: that's not a supported configuration May 06 09:47:46 You answered stupid questions like the one from Number5, but I've still no answer to mine ;-) May 06 09:47:46 Btw, I looked again on the web and this answer is not really https://stackoverflow.com/a/13433770/3514658 easy to implement since setTargetFragment(this, XXX) cannot be applied when 'this' represents an activity :-/ May 06 09:48:19 bankai_au: any alternative? May 06 09:48:24 g00s: interestingly geocoder is huge, there should be a *lite* version somewhere May 06 09:48:26 use a real device May 06 09:48:38 Hi, I have a question. I created an activity to write data in a file to sdcard, but i don't have a real physical device to test. Can it work on emulator. I'm an android newbie so maybe i'm stuck at something very simple but help required.Here's the simple code if it is corrrect=http://pastebin.com/nTmivbmz May 06 09:48:53 wget, if my answer was stupid, no one would answer me. Who's question is stupid now? May 06 09:48:56 bankai_au: okay May 06 09:49:53 wget, what's your brilliant question anyway? Cam't see it. May 06 09:49:58 Number5: It was easily findable, if you looked on the API sheets. May 06 09:50:16 Number5: Just before yours ;-) May 06 09:51:56 I have manifest permission also= May 06 09:52:39 wget, what's your question now? You want to launch a DialogFragment from an Activity launched by an intent? May 06 09:53:32 write your question in as much as you can fit into one sentence, SanB, cause by the time you get to the actual question after the introductions, the reader would have dismissed previous statements May 06 09:54:07 ah, you have, sorry May 06 09:54:47 Number5: If you backlog, my whole question is properly detailed. http://pastebin.com/5HkR99hF May 06 09:54:59 Number5: If you're ready to help, this would be nice ;-) May 06 09:55:07 Anyone have any experience with DataWedge? I'm struggling to find any decent information, specifically I'm wondering if there is some way to create a data wedge profile programatically? May 06 09:56:21 I need to implement this in my project, so i really need to know, please May 06 09:56:50 SanB: Could you check the result of that boolean value? if(Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState()) May 06 09:57:13 SanB: I don't think the emulator emulates an external storage :-/ May 06 09:57:29 wget, well goodluck May 06 09:57:44 Sure, you can set the SD Card size May 06 09:58:10 The boolean returns false May 06 09:59:15 SanB: Then you cannot write on that external storage, since the emulator doesn't have one. May 06 09:59:17 make sure of what setting the SD card size on the emulator actually does May 06 09:59:28 SanB: Use the internal storage instead or try with a real device. May 06 09:59:52 and use Genymotion for emulator! May 06 09:59:55 the best! May 06 10:02:35 I asked someone about getExternalStorageDirectory and i was replied that its of 2 types and it will write on the internal storage only, also i tried to run it on my friend's phone yesterday where boolean returned true but still no directory + file was created May 06 10:05:54 then there is certainly something missing in the code May 06 10:06:07 wait May 06 10:08:40 this sdcard.getAbsolutePath May 06 10:09:01 just say "/sdcard/yourdir/yournesteddir" May 06 10:10:11 and use FileWriter May 06 10:10:26 SanB: This is what I actually do, mFile = new File(Environment.getExternalStorageDirectory().getPath() + "/Android/data/ " + getPackageName() + "/files/" + myFileName; May 06 10:10:49 you should use environment class to get your apps dir May 06 10:10:59 sounds much more solid May 06 10:11:15 the restrictions are getting tighter as to where you can write May 06 10:15:16 g00s: wep, I saw a report a few month ago made by Chainfire. May 06 10:15:29 for kitkat though. May 06 10:21:39 Seems like no real device, no work, but my friend's phone has both internal as well as external sdcard, any idea why didn't it work there? May 06 10:21:51 Context#getFilesDir() May 06 10:22:11 If you want to write files that get deleted when you uninstall your app. May 06 10:22:39 yes May 06 10:22:48 There's also https://developer.android.com/reference/android/content/Context.html#getExternalFilesDir(java.lang.String) May 06 10:30:46 thanks all for your inputs May 06 10:32:08 does Geocoder uses google apis? May 06 10:44:12 so how do I add volley to my gradle dependency? May 06 10:47:49 compile 'com.mcxiaoke.volley:library:1.0.+' May 06 10:48:29 gdrc: That should go into build.gradle right? May 06 10:48:46 yes the one in your module May 06 10:49:44 gdrc: Tried adding that and building the project. I get "unclassified occurances" May 06 10:50:37 hey May 06 10:51:04 gdrc: Here's what the errors look like - http://cl.ly/image/40403T0n2s0z May 06 10:51:07 can anyone remember that API to clear app data.. they opened it up not too long ago if I remember correctly May 06 10:51:29 HashNuke: I'm installing android studio wait May 06 10:51:38 gdrc: ok May 06 10:57:26 HashNuke: Gradle setup... meanwhile try this https://github.com/lukaspili/Android-Volley-library May 06 10:58:55 gdrc: similar error. May 06 10:59:09 no way to use the official Google git source? May 06 10:59:59 yes http://stackoverflow.com/questions/16659620/volley-android-networking-library May 06 11:01:14 gdrc: yes was trying that... May 06 11:01:16 installing ant May 06 11:01:30 gdrc: I was trying to use other libraries too. Like Square's retrofit lib. The readme of these libs usually mentioning adding the compile line. But I get similar errors in gradle. May 06 11:02:14 It's strange. You have two build.gradle file right? May 06 11:03:07 gdrc: yes one outside my project and one inside. May 06 11:03:16 gdrc: I added it to the one inside my project. May 06 11:03:42 I'm trying May 06 11:04:47 Is there any seperate IRC channel for Android Studio? That would very much help for such stuff. May 06 11:05:38 I created brand new project, in module build.gradle I've added compile 'com.mcxiaoke.volley:library:1.0.+' . I synced and works. May 06 11:05:49 gdrc: Ah... May 06 11:05:53 Please paste your build.gradle file May 06 11:06:27 gdrc: http://pastie.org/9145524 May 06 11:08:03 Don't know... try to wipe your .gradle folder in your username directory. Launch time May 06 11:08:54 gdrc: ok. I'll rm -rf gradle and then relaunch android studio. May 06 11:11:02 i'm using a theme with this: ?android:attr/textColorTertiary This textColorTertiary is also set in 3 seperate styles, my activity sets 1 of 3 styles and then it looks at this tertiary color to color the text. Can I also define my own custom property so that I can define it in a style and use it in another style? May 06 11:11:58 i want for example to set a textview's style and have it take the color from a property like ?android:textColorTertiary, except then that it's my own May 06 11:15:05 bankai_au: are you free for a moment? May 06 11:15:08 Hi folks May 06 11:15:55 Is there a way to combine 2 or 3 android apps into a single main app, say by converting them to libraries or some such thing? May 06 11:16:09 I have a few small apps I'd like to release as a single apk May 06 11:30:52 gdrc: Is there a way to run gradle sync via command line? May 06 11:34:44 gdrc: running gradlew assembleDebug downloads the volley lib fine. May 06 12:10:30 What do you guys suggest - making own normal Navigation Drawer or using library like SlidingMenu? May 06 12:11:39 What would be the best approach to combine 2 or more android apps into one single APK container? Libraries? May 06 12:16:03 WantToCode: I had no problems using the NavigationDrawer that comes with the appcompat library. May 06 12:16:48 I am currently using the normal one too. I was just looking for some useful libraries and came accross SlidingMenu, thats why asked May 06 12:17:47 only feature that I think is different is that the slidingMenu doesnt overlay but shifts the view which is behind May 06 12:35:52 how can i know whether or not the user has enabled an internet connection or if he doesn't have an internet connection (if he's in a bunker or deep in the woods or something) May 06 12:36:38 fancy42, http://developer.android.com/training/monitoring-device-state/connectivity-monitoring.html is one option May 06 12:38:05 hi ! how can i do a context menu which appear under my finger and does not need to be pressed ? (release the finger fire the event) May 06 12:38:35 HashNuke: did you manage? May 06 12:38:57 gdrc: Yes ~! I ran "gradlew assembleDebug" in the cmd line and it worked :) May 06 12:39:08 oh ok May 06 12:47:06 reaxion, i used that, that only determines wether or not there is an internet connection. i want to 'blame' the user if he deliberately turned off the mobile data May 06 12:54:55 can uiautomator record and replay? May 06 13:04:16 hello is there a way to get styleable by name, for example if i have string "Text" is it possible to get R.styleable.CustomView_Text value without reflection? May 06 13:50:54 what exactly are you trying to accomplish May 06 13:52:26 Will android get Java 8? Any idea when if it is? May 06 13:53:23 are runtime annotations still bad in 4.x? May 06 13:54:45 Hello May 06 13:54:52 I am Japanese May 06 13:55:03 I live in Japan May 06 13:55:12 vozz: Does it even support j7? Im not sure ^^ May 06 13:55:41 I am smartphone apps developer May 06 13:55:46 mattblang_, reflection in general is still slow May 06 13:55:49 not as terrible as 4.x May 06 13:55:59 but still slow enough to make apps terrible :) May 06 13:56:15 vozz, tomorrow. May 06 13:58:49 Pretty sure it's java 7 already May 06 13:59:12 okay. didnt know that. But makes no difference for me anyway May 06 13:59:26 only thing that im missing is switch(String) from 7 May 06 13:59:44 I need my lambdas and such from 8 :( May 06 14:00:19 * Zharf sighs May 06 14:00:24 mediacodec is a fucking mess May 06 14:00:31 Zharf, oh yeah. May 06 14:00:41 one of those totally halfassed APIs May 06 14:00:45 made just for vendors :P May 06 14:00:53 danijoo, Java 7 support is partial May 06 14:00:56 illegalstateexception paradise May 06 14:00:57 but switch with strings is in afaik May 06 14:00:58 java 7 support was added in build tools 19. So I woulndt expect java 8 in the enar future :D May 06 14:01:02 yeah just googled May 06 14:01:16 Java 8 would require extensive Dalvik modification May 06 14:01:17 I'm not able to get anything but 320x240@30 working May 06 14:01:22 so my guess is somewhere between 2075 and never. May 06 14:01:27 ART? May 06 14:01:30 changing any parameters will cause illegal state exception -.- May 06 14:01:45 Zharf, yeah you probably have to keep to standard 1280x720, PAL, etc. resolutions :) May 06 14:01:51 with proper padding. May 06 14:02:04 Mavrik, I tried 1280x720, same deal May 06 14:02:14 Zharf, any driver barf? May 06 14:02:25 I tried the stuff I get from CamcorderProfile, same deal May 06 14:02:35 and then in 2075 you only have it for new devices running android 10 (and still need to support 2.3.3) ^^' May 06 14:02:37 Leeds, considering anything will require updates to phones to function, waiting for 80%+ new Android adoption is gonna take awhile :) May 06 14:02:47 05-06 17:02:27.966 24849-25055/fi.elisa.reelsome E/OMXNodeInstance﹕ OMX_GetExtensionIndex failed May 06 14:02:50 05-06 17:02:27.986 24849-25066/fi.elisa.reelsome E/SoftAVCEncoder﹕ Failed to initialize the encoder: -8 May 06 14:02:53 05-06 17:02:27.986 24849-25055/fi.elisa.reelsome E/ACodec﹕ [OMX.google.h264.encoder] ERROR(0x80001001) May 06 14:02:56 05-06 17:02:27.986 24849-25055/fi.elisa.reelsome E/MediaCodec﹕ Codec reported an error. (omx error 0x80001001, internalError -2147483648) May 06 14:02:59 -.- May 06 14:03:10 Mavrik: eh, anything less than API20 isn't interesting ;) May 06 14:03:47 now we made him leaving :( May 06 14:16:47 fun May 06 14:16:59 calling getCodecInfo throws illegalargumentexception May 06 14:17:33 I guess it doesn't work when calling createByCodecName.. May 06 14:18:14 Is there a known method for merging two or more android packages into a single APK? I'm trying to combine my small apps into a larger one. May 06 14:19:43 hello May 06 14:19:53 hello blues-man May 06 14:20:02 hi reaxion May 06 14:20:54 reaxion: automatically? Not that I know of, it's not something that happens very often. In terms of making it actually happen? Just define two activities w/ the launcher attributes and you'll get 2 icons. May 06 14:21:12 reaxion: you'll have to deal w/ refactoring all the code/resource names to not collide yourself May 06 14:22:20 dragorn: I've no problem doing it manually, yeah. May 06 14:22:43 dragorn: refactoring should be straightforward in the new Android Studio though, right? May 06 14:23:25 dragorn: I'd prefer just a single icon, and then the launcher I'll build will trigger the relevant activities rather than having multiple icons May 06 14:23:26 reaxion: moderately. I don't know of any way to automatically split the res/ dirs up. Your code is probably in different classes already May 06 14:23:43 dragorn: yeah, everything currently has its own res/ dirs May 06 14:23:54 i suppose if your app will only ever be used under your custom launcher, go nuts May 06 14:24:00 :) May 06 14:24:02 Righty ho May 06 14:24:03 for anyone installing it on their own launcher, that'll suck May 06 14:24:27 It's for a custom platform I'm putting together, so updates will be handled outside Google Play May 06 14:25:53 dragorn: thanks for your comments... I'll give it a shot and let you know how I get on May 06 14:26:07 there's a SLIM chance you could do something clever w/ gradle May 06 14:26:11 to keep 2 resource directories May 06 14:26:13 but I suspect not May 06 14:26:16 Ok May 06 14:26:22 because when it goes to merge you'll get file name collides May 06 14:26:23 They can share res dirs May 06 14:26:33 yeah. that's the path I expect you'll have to take May 06 14:26:36 none of the resources currently conflict May 06 14:26:48 where there are same-name files they contain the same stuff May 06 14:26:48 no duplicate ic_launcher, layout_main etc? May 06 14:26:58 fair enough. your life is fairly simple then. May 06 14:27:18 Yeah. I'll probably need to spend a fair amount of time tinkering with it to get it working. May 06 14:32:52 just create an empty app project and reference your individual projects as library projects May 06 14:32:57 should be straightforward and easy May 06 14:33:03 gradle should make it pretty easy, too May 06 14:33:13 automatic manifest merging will automatically add all your activity entries May 06 14:36:49 Can anyone take a look at this answer? Does that make sense to do? http://stackoverflow.com/questions/23482377/get-width-of-imageview-returning-0/23482473?noredirect=1#23482473 May 06 14:46:36 hm, all oreilly ebooks off 50% today May 06 14:49:58 g00s, because of international day against drm https://defectivebydesign.org/dayagainstdrm/ May 06 14:50:35 awesome :) May 06 14:51:31 :) May 06 14:52:21 new Intent(TAKE_ACTION); //:D May 06 14:57:30 hmm, so tempted to get another 16gb of ram for my pc May 06 14:57:33 why not go 32gb... May 06 15:05:26 Can anyone take a look at this answer? Does that make sense to do? http://stackoverflow.com/questions/23482377/get-width-of-imageview-returning-0/23482473?noredirect=1#23482473 May 06 15:11:16 Anyone have any advice on how to create an SMS list efficiently? May 06 15:12:22 For example: I query the sms/conversations Uri to get all conversation thread_id's and snippets. Then for each thread_id, I query the sms Uri for the participants address, date May 06 15:12:58 I throw all of this into an SMS class. Then for each object, I query the Contacts Uri to find the display name from the address May 06 15:13:04 Then I load all of this up in a listView May 06 15:13:13 Wit a lot of messages, this takes 3-4 seconds May 06 15:13:34 I've done this using Async, so the Activity loads, but the user still needs to wait 3-4 seconds before the view is populated May 06 15:15:23 historypeats, 3-4 seconds for each n items displayed? May 06 15:15:45 historypeats: you should only be loading the convo history per item that you're displaying. May 06 15:15:51 you don't want to do everything upfront. May 06 15:16:59 eghdk, why don't you just set the width/height to what the bitmap is sized to... May 06 15:18:22 lov: Think I can PM you quickly? May 06 15:19:14 it won't be very helpful to do so. May 06 15:19:25 lov: Hmm, okay May 06 15:19:25 if you have questions, you should ask in the channel, since I'm very frequently AFK May 06 15:19:36 also, because I don't know everything, so others can see our question, and help you! May 06 15:20:21 lov: So what you're saying is. I should query all of my data for a single thread_id, then populate listview[0] with that, then query all of my data for the next thread_id, and then poplate listview[1], etc? May 06 15:22:34 pfn: Because the bitmap is a larger size I believe and the image views scales it down and makes it proportional May 06 15:22:51 no, that's absolutely not what I'm saying. May 06 15:23:04 actually, sorry, that was what I was saying, but that's wrong. May 06 15:23:10 lets start again. May 06 15:23:33 what do you want the app to do? Display a list of contacts whom you have had SMS conversations with? Do you want the list to be sorted by recency? May 06 15:24:12 lov: I want to re-create the SMS history that the native SMS app uses. i.e. the first activity that is loaded when you click the SMS app May 06 15:24:30 ignoring that manufacturers typically customize the SMS app, OK. May 06 15:24:31 Displays the person's name (or address if no contact name), and the last message of the conversation May 06 15:24:46 Have you tried looking at the stock SMS app to see how that works? May 06 15:25:37 basically, you're running into the reason that you want to do as absolutely little work as possible up front. May 06 15:25:55 also, I really don't know how contacts, SMS, etc is structured May 06 15:26:10 I'd say you should do the following: May 06 15:26:31 have a list adapter that queries the conversations URI, to get your basic list info. May 06 15:27:00 for each item in the list, in the adapter, IN THE RELEVANT METHOD IN THE ADAPTER (i.e. not up front), you should be querying the participant's information etc. May 06 15:28:08 that is, you should be implementing getItem such that it gives you something with the relevant information. Let the adapter lazy load for you. May 06 15:28:30 lov: Thanks for the advice. I'll look at the source code and think about your methodology and see if I can come up with a solution May 06 15:32:05 Why does this piece of code (on my ActionBar Spinner) http://pastebin.com/y5pkqz93 show the text dark instead of light? Here is how it looks: http://i.gyazo.com/93df27bc928155acd35f83229cda778e.png May 06 15:32:24 Only for VIEW_TYPE_ITEM May 06 15:40:27 came across this problem with joda time and effeciency: http://stackoverflow.com/questions/5059663/android-java-joda-date-is-slow . The strange thing is, I don't think it has affected me until now. May 06 15:43:28 oh yeah, i remember that May 06 15:44:02 mattblang_ you can try grabbing jsr310 ? May 06 15:45:00 jodatime... meh May 06 15:45:35 mattblang_ try https://github.com/ThreeTen/threeten May 06 15:45:40 good thing I don't do shit with calendar often May 06 15:45:46 g00s, pfn oh cool, it was finished in March! I haven't used it. I honestly don't really need joda time anyway to be honest, I was just using it to do some easier calculations with milli and nano seconds. I just find it strange that I haven't seemed to notice this slowdown until now. May 06 15:45:52 "A backport of the API, but not the JSR, has been provided for JDK1.7 users:" May 06 15:46:33 who knows if it works on android though ;) May 06 15:49:19 Future fut = requestJson(url).recover(fromFile(cacheNameFor(url))).map(saveAndParseJson(cacheNameFor(url), type)); May 06 15:49:20 too cool, heh May 06 15:52:19 of course, all that goodness just runs async May 06 15:52:46 http call -> if fail, load from file -> parse json -> save file, return T of 'type' May 06 15:53:50 guys, which best way to implement background service in app? I need do some network logic on the background, while user uses an app. May 06 15:54:01 threads May 06 15:54:05 Is IntentService good for that? May 06 15:54:14 depends on what you need May 06 15:54:52 Basically I need some sort of service, which will upload some data with network in background (when internet is connected) May 06 15:57:07 woozly, id May 06 15:57:08 f May 06 15:57:19 woozly: an IntentService is probably fine for that. May 06 15:57:25 lov: thank you May 06 15:58:03 depending on how important what you're uploading is, as pfn suggested, simply spinning off a thread may be more than sufficient. May 06 15:59:41 Okay guys! Thank you. May 06 16:11:55 What do I use, if I want to buld string, from SortedMap into "K=V&K=V&K=V…" String? May 06 16:12:12 creitve, Gson? May 06 16:12:20 If JSON is ok, of course May 06 16:13:49 But I'm not dealing with JSON in this particular case, is it necessary? I thought there vere some kind of string factories, or string builders, to iterate and add bits to a string? May 06 16:14:14 creitve, if you just want that string, iterate through it with for loops May 06 16:14:19 foreach* May 06 16:14:36 I see, okay. May 06 16:15:22 ideally, how many ms should an activity take to load? i know this can vary a lot, but assuming a decent new phone May 06 16:17:16 mattblang_, between 1ms and 100000 ms May 06 16:17:53 It doesn't matter if the phone is new. If the app needs a lot of loading time, it will take a long time May 06 16:21:35 Can anyone help with this? http://stackoverflow.com/questions/23499420 May 06 16:22:45 autrilla: is the textview visible in the xml? May 06 16:23:02 why not use the constant for white? May 06 16:23:06 thepoosh, yes May 06 16:23:10 dammit, can't google it. How I can send data to running IntentService? for example, I've started IntentService in one place and want to send data to it from another place May 06 16:23:22 pfn: thanks for those tips May 06 16:23:26 I need only one instance of IntentService May 06 16:23:27 thepoosh, it shouldn't even be needed. The text should be white without me needing to specify it. May 06 16:23:40 The Actionbar theme should be Holo.Dark May 06 16:27:52 hi everyone i need some help with drawer May 06 16:29:12 Also the approach I have taken for the "header" doesn't seem to be very good, it takes too much space. It should be more like this: http://gyazo.com/fbe1d4f3c9cdd4ce5ec08d3e26441d02 May 06 16:29:19 am i the only one thinking the NavigationDrawer is gonna be a failure? May 06 16:30:38 thepoosh if it is, damn it, because I spent more time than I feel I should getting it working correctly May 06 16:31:18 You're forcing the font color to white alright.. Completely transparent white, but white.. Also, inflating views for use in the action bar you have to use the themed context May 06 16:31:22 mattblang_: our next release is going to have it, and I fought with the CPO to get it in May 06 16:31:31 don't think it was my best move May 06 16:31:47 SimonVT, the context I pass to the Adapter is themed May 06 16:32:15 SimonVT, and is 0xffffff transparent? Wouldn't 0xffffffff be transparent? May 06 16:32:18 autrilla: why pass a Context? May 06 16:32:27 thepoosh, to inflate the view? May 06 16:32:31 it's a good way of getting a circular reference May 06 16:32:37 use the parent.getContext() May 06 16:32:56 thepoosh what is making you have regrets about it? May 06 16:33:15 I feel like it's going to be a fad May 06 16:33:17 .. What's the issue with circular references? May 06 16:33:23 circular references are not a problem May 06 16:33:36 and that it's not better than just having tabs May 06 16:33:46 pfn, SimonVT: why is that? May 06 16:33:51 because they aren't... May 06 16:34:01 and tabs suck in that they're always visible May 06 16:34:11 well, yes May 06 16:34:22 but the nav-drawer might not be a trivial thing May 06 16:34:26 taking up real estate is annoying May 06 16:34:31 thepoosh, the context I pass is themed. parent.getContext() is not themed May 06 16:34:33 huh May 06 16:34:37 (for the actionbar) May 06 16:35:05 Who's there? May 06 16:35:06 autrilla: you can create a themed context with ContextThemeWrapper May 06 16:35:10 nav drawer is quite trivial... May 06 16:35:19 it's just another container you can throw shit into May 06 16:35:19 not in apps like gmail May 06 16:35:23 yes May 06 16:35:27 I might be wrong May 06 16:35:32 I'll wait and see May 06 16:35:45 tabs are not a better solution to nav drawer May 06 16:35:48 within the next few weeks we should finish the implementation May 06 16:35:51 is nav drawer the best solution, who knows May 06 16:35:58 but it's not going away in the next year, probably May 06 16:36:14 thepoosh, pfn it wasn't that difficult implementing the drawer, what irritated me was little things. like, if you are launching a new activity with it the transition looks clunky with the generated AS example. May 06 16:36:16 pfn: Facebook implemented navbar very nicely May 06 16:36:18 Alright, now it's white May 06 16:36:23 It seems SimonVT was right May 06 16:36:27 lol May 06 16:36:35 I need someone that could help me reading a logcat and understanding what's the problem with a rom... May 06 16:36:41 Anyone? May 06 16:36:43 Removing the setTextColor() call fixed it, but the separators are still dark May 06 16:36:43 Please! May 06 16:36:45 mattblang_, who cares about generated examples May 06 16:37:03 mattblang_: the state machine should be in the activity, so this shouldn't be too hard May 06 16:37:55 pfn I know, I was just using the generated example as a guide. thepoosh, what do you mean? do you have a one activity many fragment architecture? May 06 16:37:57 pfn, SimonVT: had numerous memory leaks due to circular references of a child storing a reference to it's parent May 06 16:37:59 http://i.gyazo.com/921462db0ac91e39fbd6bed7fcc33307.png May 06 16:38:03 thepoosh, that's false May 06 16:38:09 the leak is not because of circular references May 06 16:38:10 O_O May 06 16:38:19 What pfn said May 06 16:38:19 I beg to differ May 06 16:38:20 circular references do not cause leaks May 06 16:38:23 you beg wrong May 06 16:38:31 you're leaking because the child is strongly referenced May 06 16:38:34 or the parent is May 06 16:38:36 don't they prevent GC? May 06 16:38:40 yes May 06 16:38:41 but not because the child references parent and vice versa May 06 16:38:41 no May 06 16:38:45 no May 06 16:38:48 gc is not a refcounting system May 06 16:38:52 it was a strong reference May 06 16:39:08 wrong May 06 16:39:12 strong reference is irrelevant May 06 16:39:15 well, I mended my ways! May 06 16:39:21 gc is a roots-based system May 06 16:39:22 go read up May 06 16:39:27 thepoosh: GC checks references from live objects - two dead objects referencing each other are still dead May 06 16:39:28 circular references do not affect May 06 16:39:36 and started using weak or soft references May 06 16:39:47 using strong or weak reference makes no difference for cycles May 06 16:39:53 hmmm May 06 16:39:55 hmmmm May 06 16:40:11 cycles are irrelevant May 06 16:40:22 could be that something else was keeping it alive, but MAT clearly said that it was hanging due to that reference May 06 16:40:44 I m using following piece of code to add items there: http://goo.gl/OSk41i this places some fixed items like all in position 0, favorites in position 1, search in position 2 and in rest of position that is 3 and above contains list of feeds that user has added from feed list. i want to move the feed list between position 0 and 1.. does anyone know how to do that? May 06 16:40:51 Either way, circular references does not prevent GC May 06 16:41:17 do you have a good article I can read? May 06 16:42:06 thepoosh: https://www.cs.kent.ac.uk/people/staff/rej/gc.html <--- this + hit a university library May 06 16:42:26 p_l: from what I remember from my course May 06 16:42:50 on this subject GC doesn't always run with the same algorithm May 06 16:43:06 and Ruby can be my case since I wrote an assay about it's GC May 06 16:43:21 thepoosh: yes. But refcounting is pretty much the only algorithm that has issues with circular refs May 06 16:43:31 anyone please? May 06 16:43:43 hmmm May 06 16:43:58 I think Mark&Sweep is also not that good with it May 06 16:45:54 thepoosh you metioned earlier, "the state machine should be in the activity, so this shouldn't be too hard". What did you mean by that? May 06 16:46:34 well, controlling a state machine is very important in my opinion May 06 16:47:06 thepoosh do yall have a one activity many fragment arcitecture to do that? May 06 16:47:12 and when using multiple fragments in an activity, the navigation is made easier if the activity controls what is shown May 06 16:47:22 we have more than 1 activity May 06 16:47:29 Anyone good at reading logcats? May 06 16:47:45 i don't know what we will do with navdrawer but we will see May 06 16:47:50 mackief: just ask May 06 16:48:58 thepoosh the reason I am asking is because when I was implementing the nav drawer, it felt like maybe I should have one activity for all the fragments accessable in the nav drawer. but I was just learning fragments and didn't want to take the plunge yet. May 06 16:49:22 well, that sounds fine May 06 16:49:38 Who can tell me what's wrong with an AOSP rom (some processes crash and make not possible to use the phone)? May 06 16:49:39 thepoosh as of right now, I have fragments mainly just for doing master / detail. all of my nav drawer items launch new activities, which was irritating with some things like the close animation looking clunky May 06 16:49:41 Here's the logcat.. May 06 16:49:44 http://pastebin.com/xYrRK28K May 06 16:49:48 well can anyone help me with navigation drawer> May 06 16:49:59 mackief: #android-root for custom roms May 06 16:50:20 There's no one there.. May 06 16:50:46 Well, this is the wrong channel May 06 16:50:52 thepoosh and also I had to do something to make sure the title didn't double swap sometimes, since you are "supposed" to change the title when the drawer opens May 06 16:51:06 yeah May 06 16:51:11 that is part of the reason May 06 16:51:13 thepoosh I dunno, I just had the feeling that I should be using less activities I think May 06 16:51:24 nah May 06 16:53:17 I wish PHP would be available such as Java for phones, development would be so much faster May 06 16:53:26 ... May 06 16:53:27 NO May 06 16:53:28 I like Java May 06 16:53:29 yeah no May 06 16:53:32 I hate PHP May 06 16:53:36 * p_l looks for an axe May 06 16:53:39 but it's just so fucking slow makes want to puke May 06 16:54:18 learning how to do android apps, eclipse fucked up for some reason I had to reinstall everything to get it working again May 06 16:54:25 spent almost a day trying to make it work again May 06 16:54:40 bleh, yeah, those kind of issues are really frustrating May 06 16:54:46 yeah May 06 16:54:55 in PHP you just edit in whatever-editor May 06 16:55:07 you can do it too with android of course! May 06 16:55:22 but it's not the same, that's just the way I see it :( May 06 16:55:42 yeah, no way I'm inviting an even slower language May 06 16:55:45 * thepoosh is thinking about shit like PAAMYIM_NEKUDOTAYIM in android May 06 16:55:51 and want to kill himself May 06 16:55:53 that is also utterly, utterly crappy May 06 16:56:23 p_l: maybe after ditching dalvik it will be fine May 06 16:56:31 thepoosh had to google PAAMYIM_NEKUDOTAYIM May 06 16:56:36 :: May 06 16:56:58 mattblang_: I am from israel, i know the meaning of hebrew errors May 06 16:57:06 thepoosh oh cool May 06 16:57:21 thepoosh: PHP would be slower than Dalvik May 06 16:57:32 also, Dalvik by itself is not bad. May 06 16:57:37 php will be slower than anything but python May 06 16:57:46 thepoosh: even Python can overtake it May 06 16:57:56 and Ruby? May 06 16:58:06 that is slowness in the making May 06 16:58:15 Should this override Light or Light.DarkActionBar? http://i.gyazo.com/cfda25ef8d2fdbde88017ad5d86ae987.png May 06 16:58:19 thepoosh: I've seen benchmarks that showed that Ruby *1.8* could operate faster in practical situation than PHP May 06 16:58:27 nice May 06 16:58:34 who uses ruby any more XD May 06 16:58:38 Ruby One-point-Eight, aka "fucking evaluator" May 06 16:58:40 ruby GC is very bad May 06 16:58:50 g00s: hipsters May 06 16:58:52 good morning May 06 16:58:58 g00s: actually... I do May 06 16:59:10 anyway, brb May 06 16:59:11 PUBLIC SHAMING!!! May 06 16:59:35 p_l hold on, i have a graph for you May 06 16:59:51 g00s: dude, the dinnerplace will close in 30 minutes, I have to go :P May 06 17:00:07 g00s: i want to see May 06 17:00:23 p_l ok May 06 17:00:26 autrilla: light themes have black text, dark themes have white text May 06 17:00:57 well, here it is http://redmonk.com/dberkholz/2014/05/02/github-language-trends-and-the-fragmenting-landscape May 06 17:01:10 i love that green line Ruby taking a nosedive May 06 17:01:35 SimonVT, alright, thanks May 06 17:02:03 perl is screwed, and even PHP was going down so maybe there is a god May 06 17:02:33 g00s: perl is still very good for scripting May 06 17:02:40 How to show a list like spinner's list onClick button? May 06 17:02:46 my brother for some reasons swears by it May 06 17:03:19 its a replacement for grep and awk May 06 17:03:25 and sed May 06 17:03:27 :) May 06 17:03:32 yes May 06 17:03:41 he writes micro-kernels and drivers May 06 17:04:18 ... in perl? May 06 17:04:31 C and scripts in Perl May 06 17:04:59 well i wouldn't want to script in C May 06 17:05:36 well May 06 17:08:06 my GSON says it expected begin_array, but has begin_object. there is nothing unclear, but I do not use GSON directly, but through the retrofit. I don't know where to alter the way it handles incoming json from request May 06 17:08:32 you need a custom gson deserializer May 06 17:08:41 no May 06 17:08:52 More likely that your model class us incorrectly defined May 06 17:08:56 yes May 06 17:10:07 Aha, I see. May 06 17:11:50 so, if I passed ArrayList as a callback type, how do I modify it to deserialise everything first one level down and fit elements into array? May 06 17:12:38 creitve: is the top level element of your json an array? May 06 17:13:06 or is it an object that contains an array? May 06 17:15:09 frankdoyle: I suppose it is an object. It starts like {"events": May 06 17:15:39 and then [] May 06 17:15:45 creitve: ok, cool. what you need to do is have an events model object that contains an ArrayList May 06 17:16:02 then your callback type should be MyWrapperModel May 06 17:16:46 Aha I see. How would this wrapper model constructor look? I mean, where do I put an ArrayList inside it? May 06 17:16:51 so like 'public class MyWrapperModel { public ArrayList events} May 06 17:16:58 ' May 06 17:17:07 Aha I see, thanks. May 06 17:17:25 (a lot!) May 06 17:18:57 creitve: no worries. something to keep in mind: gson operations are reversible, so if you build out your model object, then turn it into json, it should match the json you're trying to deserialize into your model. if the structure doesnt match, then you probably need to rework your model May 06 17:19:37 meh, perl... people still use that? May 06 17:20:51 maybe sysadmins or something May 06 17:20:59 perl lol May 06 17:21:50 the only thing I use it for is replacing say a link within all files in a directory tree with perl -pi -e ... May 06 17:23:04 "the only thing I use perl for is doing things that perl is good at" May 06 17:24:05 I've been with this fucking problem since yesterday ADB recognizes my device but eclipse doesn't May 06 17:24:09 I've tried everything May 06 17:24:15 or almost everything May 06 17:24:29 Eclipse or AVD don't see my device May 06 17:24:35 pthreat: which device ? May 06 17:24:37 sounds like a job for intellij May 06 17:24:57 shmooz: my phone May 06 17:25:03 adb devices May 06 17:25:29 9003L252b0001 device May 06 17:25:42 * shmooz googles 'my phone' May 06 17:26:13 yeah you probably need to get the new version of the USB drivers for your device May 06 17:26:26 I have the ADT bundle May 06 17:26:26 How do I set a Uri to the right path? I've been messing around with it for a little bit May 06 17:26:35 isn't that supposed to come with the ADT bundle? May 06 17:26:39 no the USB drivers for your phone May 06 17:26:46 not always May 06 17:26:54 I have: Uri avi; May 06 17:26:54 avi.parse(DatabaseQueryer.getData("getAvatar.php")); May 06 17:26:55 avatar.setImageURI(avi); May 06 17:26:57 ok May 06 17:27:00 lets see May 06 17:27:02 I had to download my USB drivers separate to get it working May 06 17:27:12 fucking nightmare May 06 17:27:18 it was working last week May 06 17:27:38 this while thing is just so fragile, it sucks May 06 17:27:41 are you using a different USB port ? May 06 17:27:41 whole* May 06 17:27:55 Ill try using all of them May 06 17:29:05 shmooz: Nope, still AVD doesn't detects it May 06 17:29:48 adb devices detected the device in the four ports May 06 17:30:10 I cna perform other commands such as adb shell and it works May 06 17:30:13 s/cna/can/ May 06 17:31:32 downloading my drivers May 06 17:31:47 yeah that should fix it May 06 17:31:54 I'll let you know May 06 17:32:02 pthreat: I'm not sure what you're talking about for AVD. May 06 17:32:11 do you mean ddms or something? May 06 17:32:30 AVD stands for "android virtual device", which is a polite way of saying "emulator" May 06 17:32:33 No, by AVD I mean the device and virtual device administration panel that ships with the SDK May 06 17:32:38 uh May 06 17:32:51 ok, well, that's never going to show your phone sooooo May 06 17:33:19 consider starting an actual AVD instance, and seeing if eclipse can detect that. May 06 17:33:25 lov: it does May 06 17:33:29 lov: it will show, it does on mine May 06 17:33:37 lov: see? May 06 17:33:39 :P May 06 17:34:18 but sometimes it acts funny and shows numbers instead of a name and then I have to replug the device in and it works again May 06 17:34:40 shmooz: That is soooooooooooo stable May 06 17:34:43 LOL May 06 17:34:51 that happens with my N7 tablet but the HTC phone is solid, never disconnects May 06 17:35:04 Shouldn't happen anyways May 06 17:35:08 :) May 06 17:36:52 shmooz: Seems like I had already installed these drivers May 06 17:37:02 reinstaling ... I guess May 06 17:37:12 uninstall and reinstall them anyway May 06 17:37:32 shmooz: I know, its a weendos thang May 06 17:38:16 flat design is so sexy May 06 17:39:40 Mango_Man: that must be sarcasm, flat and sexy have nothing to do with each other May 06 17:39:59 haha May 06 17:40:09 Mango_Man: said windows 8 May 06 17:40:21 Guise ... checkout my wiener ... https://scontent-a-mia.xx.fbcdn.net/hphotos-ash3/l/t1.0-9/10155138_275589972600244_1038867655_n.jpg May 06 17:41:18 i think i understand what 'p' threat means now May 06 17:41:25 * g00s isn;t clicking May 06 17:42:06 (s)he has the same expression as the lady in this picture: http://walkingdead.wikia.com/wiki/File:AND_Carley_Devoured.png May 06 17:42:13 a tiny wiener. May 06 17:42:21 hahaha May 06 17:42:25 Mango_Man: similar May 06 17:43:11 JUST LOOK AT THAT HAIR SHINE LOOK AT IT!!!!! https://scontent-b-mia.xx.fbcdn.net/hphotos-prn2/t1.0-9/10153226_275598829266025_831622294_n.jpg May 06 17:44:05 oh thats my other wiener btw ... May 06 17:45:55 shmooz: I have great news May 06 17:46:09 it worked ? May 06 17:46:15 shmooz: Your mom called, she told me to kick you in the nuts for making me reinstall those drivers May 06 17:46:22 xD May 06 17:46:36 shmooz: now adb devices shows nothing xD May 06 17:46:52 I'm bursting in tears laughing xD May 06 17:47:01 hey at least its CHANGE! what you voted for May 06 17:47:17 mc cain of course (? May 06 17:47:45 i'm not here often around this time, seems like i'm not missing all that much :| May 06 17:47:46 I'll restart see if ... err something changes May 06 17:47:56 bbiam May 06 17:52:45 who said he wasn't here that often? May 06 17:53:46 Dude listen ... if you are NOT part of android-dev you might be missing some of the super-secret-developer-techniques we exchange. And wiener dogs May 06 17:54:41 hey everyone, when it comes to a custom listadapter and updating it with new entries added to my arraylist, is the best way to call arrayList.clear(), populate it, and then call adapter.notifyDataSetChanged()? May 06 17:54:55 because if I don’t call clear(), it just appends the new entries and everything shows up double May 06 17:55:42 Is there a channel log? May 06 17:57:24 burmat probably best to extend BaseAdapter ;) May 06 17:57:25 burmat: that's usually how i do it May 06 17:57:44 g00s: yes, i am May 06 17:57:48 ok, so my problem then May 06 17:57:57 i have a menu item i can push to refresh May 06 17:58:08 and doing the clear(), repop, and notify works fine May 06 17:58:09 unless i know exactly which items i am adding/removing May 06 17:58:41 if you are refreshing, then yes, definitely clear and repopulate with new content May 06 17:58:55 i am trying to implement a pull-down-to-refresh listview and when i pull it down to trigger the refresh and call my async task to clear, repop, and notify, the items disappear May 06 17:58:55 but sometimes you might just want to add or remove a single entry May 06 17:59:22 it’s almost like the clear is being called and somewhere notifydatasetchanged() is being called without my doing May 06 17:59:48 are you not repopulating it as expected? May 06 17:59:58 they are repopulating just fine May 06 18:00:21 I have these build.gradle, http://pastebin.com/t30sNx6S , and Jake Wharton told me what I needed to do to fix Could not find property 'bootClasspath' on com.android.build.gradle.AppExtension_Decorated@3340552, but my logs don't reach May 06 18:00:21 but, if i use the menu item, the list contents stay put until notifydatasetchanged is called AFTER the new arraylist is populated May 06 18:01:02 if i pull down and call the SAME async task, the items disappear and then the new adapter presents the updated list when it is all done May 06 18:01:16 and from a user perspective, i don’t like having an empty list while I am waiting for it refresh May 06 18:01:31 are you using a pull to refresh library? May 06 18:01:42 yes i beleive, let me find the exact github link May 06 18:02:11 PullToRefresh-ListView: https://github.com/erikwt/PullToRefresh-ListView May 06 18:02:13 if the pull to refresh trigger and the menu item are both calling the exact same method, it might be something in the library causing it May 06 18:03:01 okay, well that would make sense for sure, i guess i should dig into that then May 06 18:05:00 yeah, i can’t find anything referencing a update for the adapter May 06 18:06:42 burmat: is the pull to refresh causing the listview to update ui with redraws? if so maybe you are clearing your data before the listview is done taking ui actions. in your asynctask why not just create a temporary data set, on complete commit it to your adapters data¬ifyDataSetChanged May 06 18:07:14 JakeWharton, are you around? May 06 18:07:23 depends what you're offering May 06 18:07:42 burmat: i dont see anything either May 06 18:08:12 JakeWharton, remember yesterday I was getting an error with Hugo? Cannot find property bootClasspath May 06 18:08:21 yes May 06 18:08:28 And you told me how to solve it, but my logs don't reach and can't remember May 06 18:08:36 I have classpath 'com.android.tools.build:gradle:0.10.+' May 06 18:09:05 that should be it May 06 18:09:14 Huh. I'll try cleaning May 06 18:10:16 JakeWharton, it still does it. I'm sure it's Hugo, if I remove the classpath and apply plugin hugo it doesn't give any problems May 06 18:10:17 Hello there! May 06 18:10:26 i have a very difficult and interesting question :P May 06 18:10:27 And hugo is too useful to drop it :( May 06 18:10:32 tksko, surprise us May 06 18:10:37 lol May 06 18:10:43 i have a "simple" problem May 06 18:10:54 I am using the background property in layouts.. May 06 18:11:12 but in some phones (specially Motorolas one), the backgournd doesnt show and it appears white May 06 18:11:26 i have try lot of emulators, with diff android versions.. and they work ok May 06 18:11:38 but i have some friends with motorola phones... and they see a white background.. May 06 18:12:06 tksko: is it just in listView or a particular view type? May 06 18:13:42 heh, i forgot about moto changing the background color of listviews on older phones May 06 18:14:29 canvs2321: your right, because you scroll down it triggers getView() a few times and that must be triggering an update of the list contents. May 06 18:14:29 first time i saw my app on a moto a few years ago i was like 'WTF?!?!', but then i didnt change it because i didnt want to change the users experience from what they expect on their device May 06 18:15:14 burmat: just clear the list immediately before repopulating it May 06 18:15:37 the view can be invalidated any time after you call clear before the list is populated again May 06 18:15:49 JakeWharton, this is my build.gradle, in case there's something else that's wrong. http://pastebin.com/tPmw761E May 06 18:17:02 birbeck: yeah, that’s what I was doing. I just don’t want the list items to go anywhere until I say so. I’m going to have to set something up on the side and set it when it is all good and updated May 06 18:19:41 IJAVAPROBLEM May 06 18:19:43 I am creating the pastebin May 06 18:19:49 ahahahaaaaaaaaaaaaaaaaa hahaha haha haha hah ha ... May 06 18:20:15 http://pastebin.com/CESKxHU8 May 06 18:20:30 this is the xml of my layout.. its a gridview inside a relativelayout May 06 18:21:12 autrilla: i don't know. i can try and look this weekend May 06 18:21:25 JakeWharton, that would be great. I'll stick around May 06 18:21:36 there's also other people here who might be able to help May 06 18:25:48 okay, so now i am having trouble trying to get the ListFragment. it keeps returning null so I can’t set the new adapter to it May 06 18:26:01 Why the fuck you cant copy paste .java files into the src folders in eclipse xD May 06 18:27:12 Right I have to click into the super top secret menu context procedure to get me to import a text file wow May 06 18:27:29 I have LBS tolerance May 06 18:29:20 any help about why the background doesnt show on motorolas phones : http://pastebin.com/CESKxHU8 ? May 06 18:33:09 tksko how old is the phone May 06 18:34:30 tksko: android:cacheColorHint="@null" May 06 18:35:38 shmooz: reinstalled, still the same May 06 18:35:41 I dont know May 06 18:35:45 this is just fucked up May 06 18:36:29 tksko seeing this? http://www.anglelabs.com/motorola-list-views-on-android-2-3-x/ May 06 18:37:02 which is https://forums.motorola.com/hives/58b810112f/summary May 06 18:37:28 hmm, that link is bad now May 06 18:37:47 so http://stackoverflow.com/questions/7245923/listview-background-is-grey-on-droid-3 May 06 18:38:20 shmooz: I can see the device listed in DDMS May 06 18:38:28 I can also see the debug running May 06 18:40:45 shmooz: now it works xD May 06 18:40:47 ahsahajkhdajkshfdñ{asj klñsjdfkldgj May 06 18:40:49 qe3q4io21u3o2jreñqwhñoafh }ef g00s ui May 06 18:40:50 12 0 May 06 18:40:51 w as May 06 18:40:58 (sorry) May 06 18:43:22 the phone is new.. May 06 18:43:35 I am talking about Motorola Razr i.. May 06 18:43:39 Motorola X May 06 18:43:48 Android 4.x or 4.2.x May 06 18:43:59 that the android phone i want:D May 06 18:44:28 Is it the motorola X dev ed? May 06 18:44:32 but it only happens on motorola phones.. May 06 18:44:53 and perhaps on Lg.. May 06 18:44:56 lov: This was the problem android:minSdkVersion="9" May 06 18:44:58 i though that background was universal May 06 18:45:02 Had to switch that to 8 May 06 18:45:28 tksko,Is it the new dev for moto X? May 06 18:46:42 what? May 06 18:46:51 i dont know anything about motorola.. i dont like them :P May 06 18:47:09 what android:cacheColorHint="@null" is for? May 06 18:47:23 who the one that has the phone moto x Sorry i abit new to android hardware. May 06 18:49:48 hmm, offline google maps May 06 18:50:23 i must said something wroung. May 06 18:54:44 finding the dominant hues of an image is a pretty interesting programming problem May 06 18:54:53 not to mention it makes for neat looking custom views May 06 18:56:15 if you ever give up trying to solve it: https://github.com/MichaelEvans/ColorArt May 06 18:57:13 noooo that's cheating May 06 19:13:40 is this an appropriate channel for android source code modification discussion, or is this just for app development? May 06 19:14:01 Just app dev May 06 19:14:17 You can try #android-root May 06 19:14:20 ok, thanks. any idea what channel i should join May 06 19:14:22 ok thanks May 06 19:16:05 Can I change the action bar spinner divider? May 06 19:38:57 Regarding buttons and small static images in the application itself, do I have to make mdpi, hdpi, xhdpi and xxhdpi versions too? May 06 19:39:10 or is that just for launcher icons, actionbar icons and such? May 06 19:45:44 I always thought the speech recognition on Android delegates to a server @ Google that handles the recognition part of it... May 06 19:46:21 so.. how can speech recognition on 4.0.3 be so terrible in comparison to 4.4? May 06 20:00:17 Hey, guys. Does anyone here know why setOnTouchListener does not work on GLSurfaceView while it's drawing? May 06 20:01:48 It's actually the other way around. It recognises touches only while it's drawing. May 06 20:08:51 How can I have an activity communicate with its launching activity? i.e. A luanched B to get some information, now B needs to tell A what happened. May 06 20:10:21 onActivityResult May 06 20:10:50 Scorp1us: you have to setResult in the child activity May 06 20:11:01 then in onActivityResult you can get whatever you put in your setResult May 06 20:11:05 ah, ok. May 06 20:11:38 I was looking into how to get the previous avtivity off the back stack. but using setResult will be much easier. Thanks! May 06 20:16:22 Any clues about GLSurfaceView? May 06 20:20:33 Hrm, how do I return the data with setResult()? I just get to set a code. May 06 20:21:26 Scorp1us: it's overloaded. one takes an int (like SUCCESS or CANCEL) one takes both the int and an intent May 06 20:21:28 I apologize if this is off topic, but could someone explain how I could import a maven project (specifically from AndroidKickstarteR) into Android Studio (0.5.7)? May 06 20:22:00 MarkyCL should be able to just go to open, then select the pom.xml May 06 20:22:04 open project * May 06 20:22:31 frankdoyle: ahh, I was trying to *import* a project. I'll try opening May 06 20:22:34 nevermind, it is just open May 06 20:22:36 yeah May 06 20:22:47 how would I return a sessionId from an Activity that took login info, did the login, and returned a string session Identifier to the calling activity? May 06 20:23:13 The docs tell you how to start and handle the result, they don't tell you how to set it. May 06 20:23:41 you'd make a new intent, put your session string in the intent, then do setResult(SUCCESS, mySessionContainingIntent) May 06 20:23:48 then finish May 06 20:23:54 finish() May 06 20:25:30 Ah. Thanks. May 06 20:25:33 I'm having trouble with service discovery on wifi direct, anyone here experienced in this area? May 06 20:25:38 That was so not obious. May 06 20:28:59 sogard: I don't know the answer, but if you google for "grepcode android glsurfaceview" and spend some time there then I bet you will learn more than enough to use that component correctly. :P May 06 20:29:47 You're probably right. The problem is that it was working before I ported my engine to 4.3 and OpenGL ES 3.0 May 06 20:34:32 View mainScreenMenuView = inflater.inflate(R.layout.main_screen_menu, null); , gives me a warning in AS saying I should avoid passing null, I looked a bit and it seems I should replace null with the viewgroup I want to attach the inflated layout to...so if I am using: mainScreenLayout = new LinearLayout(this); , mainScreenLayout.addView(mainScreenMenuView); , May 06 20:34:45 should I use "mainScreenLayout" instead of null as the parameter? May 06 20:42:16 im having trouble getting setError to work on a textView in API 19 - has anyone experienced this? May 06 20:42:50 the textview is not editable, so I call requestFocus on it, which displays the popup in other API versions May 06 20:42:55 but not on 19 May 06 21:35:24 why is there not a web version of google play magazines May 06 21:35:47 maybe then people wouldnt be so pissed about google killing google reader May 06 21:36:20 didn't you hear? apps killed the web May 06 21:43:57 hey all, i have a problem with threads and runnables. I have an activity that is graphing some data, I wrote a test activity that generates random numbers (in a runnable/thread) and executes an updateGraph() method on the UI thread. The problem is that when I press the back button, the thread/runnable still persists. I ahve some boolean flags in there that should prevent this from May 06 21:43:57 happening but it's obvoiusly not working out like I expected it to. Any pointers? May 06 21:43:58 http://pastebin.com/tXgjGiNq May 06 21:44:06 sorry for the formatting... eclipse May 06 21:51:19 Tricknology: kill/end your update thread in your activity ondestroy May 06 21:51:23 Tricknology: or onbackground May 06 21:52:16 should i do so using the boolean flag or call updateThread.interrupt()? May 06 21:54:02 probably both - i'd set a flag in your thread that says "ui is dead" and then dont' call your ui update call, and die, when you get to it May 06 21:54:10 since you can't actually kill a computationally blocked thread afaik May 06 21:54:30 beause right now i am gettting the interrupted exception, then the damn thing just gets going again May 06 21:54:32 sounds like a great rxjava use case *ducks* May 06 21:55:51 Tricknology: i'm assuming you've got something like while (1) { do stuff; updateui(); } ... just make it while (1) { do stuff; if (timetodie) return; updateui(); } May 06 21:56:24 Tricknology: working on the assumption the majority of time in thread is spent in dostuff, that'll catch it at the earliest time May 06 21:57:12 ok let me decipher your pseudo code and apply it to my situation quick :P thanks May 06 21:57:27 same would apply for a runnable that did do stuff; update ui; postdelayed; May 06 21:57:35 just check and die before update ui May 06 21:57:41 oh i do May 06 21:59:07 well its like while(!die){if(die) break; else{ dostuff; doUIstuff;} May 06 21:59:57 neither in dostuff or doUIstuff is die touched, only on onbackpressed May 06 22:01:40 and you are right, die is being changed (onbackpressed) sometime within the execution of run(), not aways at the beginning when it checks (die?true) May 06 22:02:41 I have to put ad on my app. What service should I use? May 06 22:10:14 yeah, dragorn it's not working very well :( May 06 22:10:47 here is the pastebin http://pastebin.com/rh23Cznu May 06 22:15:27 woop May 06 22:15:33 forgot super.onDestroy(); May 06 22:36:10 woo, finally, hit gold in lol May 06 22:38:46 I’m trying the Facebook SDK and have implemented a simple login-example following https://developers.facebook.com/docs/android/login-with-facebook/v2.0 But when I’m logged in, the button text is still showing “Log in with Facebook” instead of logout… What is wrong? May 06 22:45:40 Does anyone know how to select the NDK toolchain the ndk-build command uses? May 06 23:59:12 hey everyone, i have a question about the back button and intents.. I know that when i hit the back button, it calls onDestroy() or finish() which invokes onDestroy(). But what about the intents? May 06 23:59:35 What about them? An intent is just a data container May 06 23:59:53 It doesn't have any functionality or a lifetime itself. May 07 00:00:25 if I override the onDestroy() method and pass an intent/extras to an activity without using startActivity() will the activity be able to receive the extras? May 07 00:01:18 basically i want to know if the back button has been pressed and from which activity it was pressed so i can pass a boolean calibration option around. May 07 00:01:19 how do you pass an intent to an activity without using startActivity? May 07 00:01:34 i never have, i didnt think i was possible, only trying to configm May 07 00:01:41 confirm* May 07 00:02:11 well, like I said, an intent is just a collection of data. May 07 00:02:18 yes May 07 00:02:26 If you have some method in your activity: injectIntent(Intent someIntent), and you call that with some intent May 07 00:02:38 but the next activity wouldnt be able to pick up the bundle in it's onResume()? May 07 00:03:02 at that point it's just like any other object on the heap May 07 00:11:23 what do you mean by that? accessible? May 07 00:17:23 ok.. let me get back to the basics.. if I'm a few activities deep, and i hit back, the activity above/behind it calls onResume()? and if i navigate away from the activity like startActivity() it calls onPause() unless i explicity call finish() or onDestroy()? May 07 00:20:17 "The user performs an action in your app that starts a new activity. The current activity is stopped when the second activity is created. If the user then presses the Back button, the first activity is restarted." got it May 07 00:21:26 question is: does it save all the initial variables? May 07 00:21:41 all the ones initialized in onCreate May 07 00:37:11 anyone know why eclipse might be stuck on "invoking android pre-compiler"? May 07 00:40:34 check the eclipse log May 07 01:03:49 I'm getting a weird Parent view is not a textview error May 07 01:03:52 application crashes May 07 01:03:59 i'm just setting an adapter to a list view May 07 01:04:02 View mainScreenMenuView = inflater.inflate(R.layout.main_screen_menu, null); , gives me a warning in AS saying I should avoid passing null, I looked a bit and it seems I should replace null with the viewgroup I want to attach the inflated layout to...so if I am using: mainScreenLayout = new LinearLayout(this); , mainScreenLayout.addView(mainScreenMenuView); May 07 01:04:12 should I use "mainScreenLayout" instead of null as the parameter? May 07 01:05:53 is mainScreenLayout the view group, or i need to turn it into a view, or something else is the viewgroup May 07 01:24:18 Hi I have some html text that I got from json url and want to fill a textview with that html, Im currently using textview.setText(Html.fromHtml(jsonString)); but is slow as hell, is there an alternative ? May 07 01:24:49 Im using a viewpager where the textview is in May 07 01:24:51 sorry for my english May 07 01:57:31 acp: file 'out/target/product/ls840/bootloader' does not exist. can anyone elaborate this build error? May 07 01:58:10 aaaah May 07 01:59:18 ther is May 07 01:59:43 bootloadeer doesnt exits May 07 01:59:59 whats the problem May 07 02:00:13 whatis is840? May 07 02:00:23 ls840 device May 07 02:00:38 hmm May 07 02:00:47 you need to reinstall the software May 07 02:00:56 are you on linux? May 07 02:01:09 android? May 07 02:01:11 ubuntu May 07 02:01:58 what are you trying to do> May 07 02:02:33 build custom rom from source. May 07 02:02:43 #android-root May 07 02:02:43 for android May 07 02:02:51 ok bye May 07 02:17:15 anyone worked with Facebook sdk? after user login in my app, user can delete her data from the server. However, I don’t know how to verify user from server side? May 07 02:37:22 any otto users here? the sample BusProvider meantions, "Maintains a singleton instance for obtaining the bus. Ideally this would be replaced with a more efficient means May 07 02:37:22 * such as through injection directly into interested classes." What is an ideal way would you say? May 07 02:37:55 with injection May 07 02:39:25 dependency injection May 07 02:40:47 dagger is good, i hear May 07 02:42:27 I just have a single bus in my application context object May 07 02:42:27 JakeWharton it needs to be a singleton, so can I use Dagger to @Inject @Singleton? May 07 02:45:19 using injection makes it easier to test, but meh, I don't write tests May 07 02:45:26 Hi everyone May 07 02:46:14 has anyone ever used any XMPP library for android? May 07 02:48:04 google probably has an answer for that May 07 02:49:53 i searched around, but couldn't find anything May 07 02:50:06 i tried Smack May 07 02:50:16 but is isn't compatible with Android May 07 02:50:38 tried aSmack, but it is not compiling giving a filenotfound error **** ENDING LOGGING AT Wed May 07 02:59:58 2014