**** BEGIN LOGGING AT Mon Jan 13 02:59:59 2014 Jan 13 03:17:22 ok here it is Jan 13 03:19:34 http://i.stack.imgur.com/2jZOf.png Jan 13 03:36:37 My fon (vorginmobileusa, LG-optimusV, 2.2Froyo) is rooted (SuperUser) and I need help! First up is re-flashing the stock ROM. Why? It runs out of space with 8 downloaded apps, no FB. So I had to uninstall Yahoo! mail today to use the Browser. Thanks. Jan 13 03:42:15 tripelb: wrong channel, like I said before. ask in #android-root Jan 13 03:43:41 already have. do you know mucous? Jan 13 03:44:04 I know phlegm Jan 13 03:45:01 durka42: you said before. sorry didnt see and andchat updated. apologies. Jan 13 03:45:57 np Jan 13 03:46:19 Hey guys! I'm having this issue where, when my device is connected to the debugger, one of the activities' UI is not showing up. There is no breakpoint blocking the main thread (nor any other thread)... Jan 13 03:47:01 durka42: mucous helped me. It was, say a year and a half ago. met him here. then he went to #sdx-developers, now empty. :( Jan 13 03:47:17 :( Jan 13 03:47:53 ok thx and happy new year to all and to all a good night. Jan 13 03:49:16 Baluse: i can't see how that would be a fault of anything other than the OS Jan 13 03:50:09 like the network drivers Jan 13 03:52:10 JakeWharton you mean my pc server ? Jan 13 03:52:18 or android Jan 13 03:52:34 either one, or the network in between Jan 13 03:52:55 i set keepalive at your okhttp pool to 10 sec and problem doesnt happen now but seems strange Jan 13 03:54:25 the HTTP client on both sides is just shoving bytes into a socket and receiving bytes from a socket. protocol level problems are going to be caused by the drivers and the behavior of the physical network link Jan 13 03:55:14 Damn, what is this black screen? Jan 13 03:56:45 JakeWharton i noticed that probably doesnt happen at remote server Jan 13 03:56:58 so it couldnt be windows WCF software ? Jan 13 04:00:37 i have no idea what it is Jan 13 04:00:52 you haven't really told us much about what you are doing, how you are testing, or what you expect to be happening Jan 13 04:01:30 Alright, so my activity works perfect when connected to the debugger on my tablet. When it runs on my phone while being connected to the debugger, the activity's view does not show up... Jan 13 04:01:56 What function creates the layout of the activity ? Jan 13 04:02:14 are these magic secret devices? Jan 13 04:02:16 No, I don't think the error is code related.. Jan 13 04:02:38 hey Baluse, this might be relative. https://learningnetwork.cisco.com/thread/39235 Jan 13 04:02:48 Leeds: Why are you doing this? Jan 13 04:03:05 wilornel: why am I asking you what devices are working and not working? Jan 13 04:03:21 No you're asking dumb questions Jan 13 04:03:27 Well, one dumb question Jan 13 04:03:38 really? Jan 13 04:04:07 I thought it was kinda funny Jan 13 04:04:18 I'm being regarded as dumb atm, eh?... Jan 13 04:04:30 eh, fuck off Jan 13 04:04:41 I don't see why.. I can't find the cause of that black screen, so I'm asking here Jan 13 04:04:57 StackOverflow contains no answers, I can't find any on google either Jan 13 04:06:04 nebs there are some lost packets as i saw Jan 13 04:06:25 is it missing a layout for the different screen size or something? Jan 13 04:07:09 wilornel: Do you have ART enabled? Jan 13 04:08:05 JakeWharton: Not that I know of Jan 13 04:08:14 durka42: Give me a minute, I'll check Jan 13 04:11:42 Could it have something to do with the mounting of some folders? Jan 13 04:14:20 + is op when say? Jan 13 04:14:33 wrong channel Jan 13 04:17:10 wilornel, throw a breakpoint in your oncreate, and see whats being passed into setContentView? Jan 13 04:17:35 nebs: I'll note that for tomorrow morning, thanks for the hint Jan 13 04:19:19 you probably have a separate layout resource for tablet vs. phone Jan 13 04:19:25 and the phone layout has an empty layout Jan 13 04:20:19 um, unless I'm misreading, wilornel is trying to say that the problem only occurs when the phone is plugging in and being debugged Jan 13 04:20:46 otherwise, if it happens all the time, why mention the debugger? Jan 13 04:20:54 damned if I know what he's doing Jan 13 04:21:03 he probably has something breakpointed, or poorly written, async code Jan 13 04:21:05 Yep. When the activity is being launched while the phone is plugged and connected to the debugger, there's a black screen Jan 13 04:21:08 race conditions Jan 13 04:21:13 no breakpoints Jan 13 04:21:29 race conditions? Jan 13 04:21:39 but when it's not debugging, it shows the screen you expect? Jan 13 04:21:45 just to be clear Jan 13 04:21:54 if it shows fine when not debugging, you have race conditions Jan 13 04:22:51 nebs: Exactly Jan 13 04:23:29 and if you don't know what race conditions are, time to go back and read up on how to multithread Jan 13 04:23:32 pfn: So you're suggesting I have a thread other than the main one that is obstructing the work of the main thread? Jan 13 04:23:41 maybe Jan 13 04:23:47 I have no idea what y our code is or looks like Jan 13 04:23:57 can only go on the very vague pieces of information you choose to provide Jan 13 04:24:14 pfn: But this situation does not happen when working with the tablet Jan 13 04:24:21 so? Jan 13 04:24:30 The code is the same for both Jan 13 04:24:33 that's the very nature of race conditions Jan 13 04:24:38 Why would a race condition appear in one and not the... Jan 13 04:24:39 oh.. Jan 13 04:32:08 weird, according to the jsse reference guide, SSLContext should have getSupportedProtocols() Jan 13 04:32:55 javadocs are the reference guide Jan 13 04:33:46 seems to be a method on SSLEngine Jan 13 04:34:06 god damn it, for some reason even using spongy castle i can't enable tlsv1.2 Jan 13 04:35:41 Dang, that Metro project only took two weeks Jan 13 04:35:46 its weird; to call SSLEngine.getSupportedProtos i obviously need to create an SSLContext first Jan 13 04:36:05 then create an Engine instance, but thats fucked up Jan 13 04:36:14 capella :) i hear metro is very easy ;) Jan 13 04:36:39 Metro with new about:config screen https://www.dropbox.com/s/evlpe5wk0cc978u/metroAboutConfigAdvanced.png Jan 13 04:36:44 what exactly are you trying to do... Jan 13 04:37:08 er, FirefoxFox Metro Jan 13 04:37:15 :) Jan 13 04:37:27 gah, bbiab Jan 13 04:38:09 pfn by default, android even 4.1+ negotiates with tlsv1.0 which is suckass Jan 13 04:38:17 i'm trying to get tlsv1.2 working Jan 13 04:38:44 not even using openssl; i'm using spongy castle as the provider Jan 13 04:39:00 that stuff still :D Jan 13 04:39:43 so... Jan 13 04:39:49 make it work then Jan 13 04:40:49 it should be easy, SSLContext.getInstance("TLSv1.2"); Jan 13 04:40:59 but this is fucking sparta Jan 13 04:41:27 bbiab Jan 13 05:18:38 capella was it fun ? Jan 13 05:19:45 ;P During upgrade of my Win7 partition I wiped my entire Ubuntu partition as well Jan 13 05:20:13 on purpose ? Jan 13 05:20:42 :( no ... I had backups, took two days to rebuild the bells and whistles, now I have dual boot Win8/Metro & Ubuntu Jan 13 05:20:45 +win8 -linux Jan 13 05:20:48 sounds bad Jan 13 05:21:04 Win8.1 to be precies Jan 13 05:21:11 how is it? Jan 13 05:21:27 how is Win8? Jan 13 05:21:56 win8 works fine for gaming.. my only use case for it :) Jan 13 05:22:05 windows 7 is like gingerbread now Jan 13 05:22:12 does it work any better for gaming than any other version of windows? Jan 13 05:22:25 well, it works better than xp at least Jan 13 05:22:36 but that's only because it supports more than 4gb of ram :) Jan 13 05:22:41 The switching between Metro / Desktop is basically an OS switch under Windows ... add the extra ubuntu partition and my head hurts Jan 13 05:23:39 But after that little project I see how the stupid thing thinks .... it's bifurcated ... no reason to have both except for techies Jan 13 05:25:34 oh weird, getProtocol() returns 1.2; i have to enable it anyhow in the fucking socket factory nevertheless Jan 13 05:25:43 SSLContext.getProtocol Jan 13 05:25:49 so fucked up ;) Jan 13 05:26:47 so that means, now i also have to define a custom SSLSocketFactory ... Jan 13 05:28:40 g00s: Did you ever say what your app does? Jan 13 05:28:58 i dont think so Jan 13 05:29:02 heh Jan 13 05:29:07 ah :D Jan 13 05:29:28 so no further context on why you're torturing yourself with TLS Jan 13 05:29:53 nsa proofing man ! Jan 13 05:30:18 well, thats probably expecting a little too much from tlx Jan 13 05:30:20 *tls Jan 13 05:33:35 “Internet of Things” Jan 13 05:34:54 internet of why-won't-this-friggin-thing-work Jan 13 05:39:49 logcat or it isn't broken Jan 13 05:41:29 capella: we need some t-shirts with these slogans Jan 13 05:41:36 "logcat or it isn't broken" Jan 13 05:41:39 but on the back Jan 13 05:41:45 "if you didn't test it, it doesn't work" Jan 13 05:44:38 who needs interactive debuggers ... flow-control review gives you a more granular understanding of process logic Jan 13 05:45:22 pretty interesting, http://www.securityweek.com/target-confirms-point-sale-malware-was-used-attack Jan 13 05:45:41 "According sources who spoke to Reuters, attackers used RAM scraper, or Memory parser malware to steal sensitive data from Target and other retail victims. " Jan 13 05:45:59 what OS are these POS running Jan 13 05:46:26 that's interesting, so possibly they weren't storing all this stuff in the DB? Jan 13 05:46:38 ah, it corrupted the payment app binary Jan 13 05:46:51 'cause everyone jumped up and said, hey you don't need to send those PINs to the database etc etc Jan 13 05:47:06 target is hard to believe atm, they seem to say things Jan 13 05:47:31 from what i heard they violated pci, but maybe that was mis-info Jan 13 05:48:39 g00s: it seems like Dump Memory Grabber is for windows? Jan 13 05:49:51 yeah. the paragraph that begins ""As compliance with the PCI DSS expands" is very interesting Jan 13 05:52:37 anyone know about GCM/api keys? Jan 13 05:53:03 the docs now say to create an api key with "Android key" but I'm pretty sure that it used to say "Server key" Jan 13 05:53:38 ages ago I obtained an api key from "Server key" and it definitely worked back then to send gcm stuff Jan 13 05:53:52 but I can't see that it works now and am wondering if I need to get an "Android key" or not Jan 13 05:57:22 ah, "server key" still works Jan 13 05:57:26 for new ones too Jan 13 05:57:32 pretty shitty documentation Jan 13 06:12:31 Hello room Jan 13 06:12:50 Can someone give me a bit of guidance on Fragments? Jan 13 06:13:41 I am using a FragmentStatePagerAdapter to swipe between SQLite entries Jan 13 06:13:59 I want to offer the ability to "Edit" the Fragment Jan 13 06:14:16 so I have an EditButton which I have added onClick to Jan 13 06:15:39 Do I catch this and fire up another activity or should I just replace the view with the EditText view Jan 13 06:24:20 Bugger I think what I want to do is more complex than I currently understand :( Jan 13 06:39:03 anyone got idea how youtube doesn't allow android phone to go to sleep when video is playing? Jan 13 06:40:49 Lafi: a wakelock, presumably Jan 13 06:42:00 I meant m.youtube.com, not the youtube app Jan 13 06:43:22 can you code android apps in c++? Jan 13 06:43:40 Coryn: sort of Jan 13 06:45:07 you can write apps in C++ which run on Android, but they run somewhat outside the system framework Jan 13 06:45:44 Lafi: did you see my answer? Jan 13 06:46:16 Not sure if my connection phased out or not Jan 13 06:47:08 Catharsis: I didn't see an answer from you to Lafi, so I guess it didn't reach him either Jan 13 06:47:17 Leeds: sort of? outside? Jan 13 06:47:32 Leeds: I assume you mean that they won't be in "native dalvik something"? Jan 13 06:47:48 yes, but they also won't be using the native UI widgets, for example Jan 13 06:47:50 Leeds: but rather, emulated or something (by an emulator that is in dalvik)? Jan 13 06:47:57 er, no Jan 13 06:47:58 what? Jan 13 06:48:02 idk :p Jan 13 06:48:03 In which case... Jan 13 06:48:07 Lafi: http://developer.android.com/reference/android/os/PowerManager.WakeLock.html Jan 13 06:48:25 Leeds: I'll do some googling, save your efforts ^^ Jan 13 06:48:41 While others are in I will re-ask my question Jan 13 06:48:54 Catharsis: I realize android browser is using that wake lock, but how does m.youtube.com access that ? Jan 13 06:49:08 is it linked to html5 canvas? Jan 13 06:49:19 Lafi: Oh.... probably.. no idea on that one Jan 13 06:49:23 I need to replicate that behaviour Jan 13 06:49:50 Coryn: note the warnings at the top of http://developer.android.com/tools/sdk/ndk/index.html Jan 13 06:50:09 I'm using a FragmentStatePagerAdapter and on each Fragment I want to offer the ability to Edit the fragment Jan 13 06:50:31 Should I just start a new activity or is there a "better" way Jan 13 06:50:47 At the moment I am going down the startActivity route. Jan 13 06:54:16 thanks Leeds Jan 13 06:55:50 Leeds: I assume java is what you'll code in otherwise? Jan 13 06:56:01 yup Jan 13 07:01:14 have you guys experienced any "ugly" tricks here, where they (google) try to make you "dependent" of their particular system, framework, languages, apis etc so that it'll be harder to develop for other platforms? I know that android is a platform and all.. so of course, I'm not referring to that. I'm referring dirty tricks that Microsoft and Apple has used. For example, Microsoft forces you to use .net on some of their hardware f Jan 13 07:01:14 or no apparent reason whatsoever, etc. Jan 13 07:02:58 Coryn it depends; not dirty per se but they are definitely closing things, making the dev more dependent on play services, etc Jan 13 07:03:01 and they've invented pointless apis, just to have their own brand on it while there are better options that they could have included in their framework.. you get the point. In other words: wasting developer's time for the sake of .. Jan 13 07:03:22 g00s: dependent on play services? Jan 13 07:04:01 of course, play services doesn't work on amazon devices ;) Jan 13 07:05:49 it's good for google, but counter productive for the developers. Jan 13 07:06:00 *counterproductive Jan 13 07:06:01 its hard to say Jan 13 07:06:09 fragmentation is counterproductive too Jan 13 07:06:37 consolidating things into non-open apis, and then forcing oems to jump hoops to have said apis, reduces fragmentation Jan 13 07:07:13 hmm Jan 13 07:07:40 wait, so is fragmentation good or bad? I'm confused! Jan 13 07:08:00 apparently google often doesn't return phone calls to small OEMs that want to license play services, needing help to pass the CTS Jan 13 07:08:13 i get the impression google just wants the bigger more mature oems working on it Jan 13 07:08:44 or it could be coincidence those small oems are in china Jan 13 07:08:47 heh Jan 13 07:09:01 but yeah, SkyHook was probably dirty tricks Jan 13 07:09:25 Evil to him who evil thinks. Jan 13 07:09:30 hone another story though Jan 13 07:10:18 Coryn in any case, you are building on rented land Jan 13 07:10:38 WP, ios, android Jan 13 07:11:03 Android less so Jan 13 07:11:09 Leeds: really? Jan 13 07:11:20 but definitely much so on ios Jan 13 07:11:38 Coryn http://www.theverge.com/2011/05/12/google-android-skyhook-lawsuit-motorola-samsung/ Jan 13 07:11:49 and the famous line ""obvious to the OEMs that we are using compatibility as a club to make them do what we want."" Jan 13 07:11:50 heh Jan 13 07:12:04 if Microsoft, Google and Apple all decided to kill their mobile platforms tomorrow, Chinese guys would still be shipping Android devices the next day - iOS would die immediately, and Nokia could just be shut down Jan 13 07:12:42 doesn't Nokia have an android skunkworks phone ? Jan 13 07:13:16 no, nokia has a careful leak of a device which was played with internally to push Microsoft into buying them before they jumped ship and killed WP dead overnight Jan 13 07:13:17 they had one which was "put down" because of the switch to WP Jan 13 07:13:25 hah Jan 13 07:13:33 around here (at least) it sold better then the WP device (same hardware mostly) Jan 13 07:13:48 I don't believe there is any evidence that there were ever any plans to commercialise or release it Jan 13 07:14:26 the device i am talking about was sold in stores around here Jan 13 07:14:30 normal plain provider stores Jan 13 07:14:37 PatrickBic: Nokia have never sold an Android device Jan 13 07:15:16 i dont think they should, anyhow. i don't see what they would get out of it Jan 13 07:15:25 are you confusing it with some meegoblin device? Jan 13 07:15:34 lemme search for the name.. need a few sec Jan 13 07:16:01 meegoblin, yougoblin ;) Jan 13 07:16:20 g00s: not now, of course - they're totally in the MS camp, even before the 'buyout', for better or worse Jan 13 07:16:38 they're effectively MS' phone hardware division now Jan 13 07:17:57 <_genuser_> hello people. RelativeLayout -> child, layout_height="fill_parent" or match_parent doesn't make it fill the entire window layout. is there another way to make it fill the relativelayout? Jan 13 07:20:17 Leeds, mixed up several devices :P you're right Jan 13 07:20:52 although there is an Android port for the n900 (nokia) Jan 13 07:21:16 there are android ports for a lot of things :P Jan 13 07:21:42 yea, i mixed it up with being "android by default" ;-) Jan 13 07:23:17 heh, glad to see i don't have Turkey enabled :D Jan 13 07:23:38 and on that note - very late lunch time!~ Jan 13 07:25:23 Leeds hungry for turkey sandwich ? Jan 13 07:25:33 Does anyone know if I'm using sqlite do I need to use ContentProvider or is it just easier if I do so? Jan 13 07:25:49 well, no - but that was my line of thought Jan 13 07:26:07 turkey bacon ? Jan 13 07:26:09 :) Jan 13 07:26:28 thankfully there is no such thing as goose bacon Jan 13 07:26:34 NO TURKEY! Jan 13 07:28:44 LIe I don't (at the moment) see a benefit of using ContentProvider Jan 13 07:28:57 you dont need to Jan 13 07:29:10 that said, sometimes its easier ;) Jan 13 07:29:39 Well I'm beginning to play with Fragments and my Fragment edits a record in the DB in a different class Jan 13 07:30:09 so I startActivityForResult and then come back to the Fragment on success Jan 13 07:30:31 of course then I need to update the Pager Jan 13 07:30:41 so I'm trying to find the best way to do it Jan 13 07:30:59 Docs seem to be suggesting a Content Provider Jan 13 07:37:08 i guess this keeps happening even in latest AS ; i have a syntax error that gets caught when doing a gradle build, but the IDE is oblivious Jan 13 07:38:29 or at least errors don't get found unless you actually open the file, then red things appear Jan 13 07:38:38 the damn thing is still clunky Jan 13 08:07:50 Can I modify the supported version of my app on the market (from api 15 to 10) ? Jan 13 08:09:49 API version is derived from AndroidManifest.xml Jan 13 08:09:53 you need to change that Jan 13 08:11:15 I know, but can I release it as an upgrade to the current one after I change it? Jan 13 08:11:31 yes. Jan 13 08:11:39 update manifest, update version, upload Jan 13 08:12:13 Thanks Jan 13 08:48:02 Anyone know how to fix the Gradle sync -error after upgrade to Android Studio 0.4.2? Jan 13 08:49:11 cake and bucks, I'm a bunny Jan 13 08:49:27 * Coryn smacks a dildo into nunne's face Jan 13 08:51:57 nunne you have to change to gradle 1.9 Jan 13 08:52:44 and you have to use the new gradle plugin Jan 13 08:52:53 classpath 'com.android.tools.build:gradle:0.7.0' or classpath 'com.android.tools.build:gradle:0.7.+' Jan 13 08:53:14 nunne, that should solve the problem Jan 13 09:11:24 lemonxah: you like dildos >:( DON'T YOU!! Jan 13 09:12:08 sigh .. /ignore Jan 13 09:14:48 lemonxah: I have tried that. just doesn't work :( Jan 13 09:15:17 tried to also download gradle-1.9 manually. but that doesn't work either Jan 13 09:23:39 hey Guys I have a theme defined for all my activities in manifest file, but everytime the app launches I get a blank screen with actionbar Jan 13 09:23:40 ? Jan 13 09:23:49 I'm at loss from where is this coming Jan 13 09:24:43 do you mean whilst the app is starting up? Jan 13 09:25:10 see this Jan 13 09:25:11 http://cyrilmottier.com/2013/01/23/android-app-launching-made-gorgeous/ Jan 13 09:27:01 yes Jan 13 09:34:24 so what's the secret to living a happy life? Jan 13 09:34:35 moving from eclipse to android studio Jan 13 09:41:58 the secret to living a happy life is to have money for freedom, and to have meaning to live but not try to find happiness ;) Jan 13 09:48:43 Greetings, folks! Couldn't anyone suggest me why am I getting "Released unknown bitmap reference" on "Marker.setIcon(Unknown Source)" if just one line above logged BitmapDescriptor as existing object. For info: I do create bitmap descriptor from a resource file. Jan 13 09:50:22 Hi everybody! Jan 13 10:19:47 Hi! I have two activities: Start Screen and Main Activity. In the start screen i have a button to switch to main activity. In main activity i have a button to switch to start screen. When switching to start screen i don't want the main activity to be killed, and when switching to main activity and the main activity is already running, i want this instance to be displayed. Jan 13 10:20:16 When i do this with standard new Intent(this, MainActivity.class), the onCreate method of MainActivity is always called Jan 13 10:27:05 Lets think about the start screen as a start screen and a pause screen... Jan 13 10:32:01 replman: perhaps you want to switch between two fragments, instead of changing of activity. Jan 13 10:35:33 What i want to do is the following: When starting the app there is a screen where you can enter an ip address and press connect. The app connects and presents the main screen. From there you can go back to the start screen and enter another ip and press connect or click on "resume" to switch back to main screen and the active session. Jan 13 10:36:19 How would such an architecture look like? I thought i could have two activities and switch between each other Jan 13 10:42:08 guy is it possible to trigger "pull to refresh" from adb shell, like we can trigger key inputs with "adb shell input keyevent" ? Jan 13 10:45:46 s/guy/guys/ Jan 13 10:56:39 um Jan 13 10:56:52 did anyone have problems with getAdvertiserId() just hanging indefinetly? Jan 13 11:19:51 Hi, I'm a noob to android development, I wanted to develop an app to backup and save SMS/MMS to a cloud service. It seems to start I need to access "/data/data/com.android.providers.telephony/databases/mmssms.db" but it appears as though I need root to do this? Am I correct? Are there other ways to get to the db? I've seen SMS backup-restore so think it is possible Jan 13 11:20:48 Hix, you're on the wrong track Jan 13 11:21:35 in what [how many] way[s] :) Jan 13 11:24:05 Hix, you can access that database via a ContentProvider (although prior to KitKat this was not part of the public API) Jan 13 11:24:53 cool thanks for the info Kegsay Jan 13 11:26:12 hey all plkaying with sql lite db's fun fun......if i store the db vers in the db, is there a way to access this in my SQLHelper constructor? Jan 13 11:30:39 hirsty, I don't think so, why don't you store the version in SharedPreferences instead? Jan 13 11:31:06 hmm? Jan 13 11:31:32 is it possible to manipulate the cookie policy from a webview? I want to forbid setting of 3rd-party cookies Jan 13 11:33:43 Kegsay what i was hoping to do is store the current db vers in the db, when an update is found from the webserver, it will download the changes in an sql file, restart, apply them and clean up after itself without remove data or rebuilding the application Jan 13 11:34:31 or would i just put such a method for check versions in the onCreate method? Jan 13 11:37:15 hope im making sense :D Jan 13 11:37:38 hirsty, you're passed a Content in SQLiteHelper so you can just access SharedPreferences there Jan 13 11:37:44 s/Content/Context Jan 13 11:38:45 not played with sharedpreferences before lol Jan 13 11:41:17 ah so share the db version to the shared preference and check against that Jan 13 11:42:07 Should I use RESULT_OK or Activity.RESULT_OK ? Jan 13 11:42:12 They're the same Jan 13 11:42:49 well if it already extends Activity Result OK Jan 13 11:52:27 how do i detect screen layout on older API? Jan 13 12:02:27 my computer went to sleep :-(. Did anyone answer my question before? Jan 13 12:02:37 can you use SharedPreferences without getSharedPreference Jan 13 12:02:39 ? Jan 13 12:29:39 replman: how about using one activity with fragment pager to show the main screens and a dialog fragment for adding more connections Jan 13 12:31:50 Ankhwatcher: So is it ok that the simple startscreen is an activity and the huge, main program is a fragment? Jan 13 12:32:24 sure, why not Jan 13 12:32:46 I always thought a fragment should be something small which is composed with other fragments, but in my case the fragment would be a fullscreen application Jan 13 12:37:28 replman: http://flic.kr/p/jaZEwT Jan 13 12:38:53 nowadays everything is done in fragments by default, you can't do your processing on the UI thread anyway so if you have heavy lifting to do it will have to be in the background whether it's for an Activity, a Fragment or a Widget Jan 13 12:40:48 Hello, I am working on an application. I need to load data from a table (300Ko data), that i store on variables. But application is very slow on powerfull devices and crash on others. When i delete some lines of my table (from 300ko to 100ko) everything goes fine. Do u have an idea about how i could handle that ? Jan 13 12:41:43 i thought devices could handle less than 1Mo data on RAM :/ Jan 13 12:43:52 macTAR: they certainly can. If you really have some 300 kB byte[] that shouldn't be a problem Jan 13 12:43:55 macTAR: is the table local or on the cloud Jan 13 12:44:09 local table Jan 13 12:44:19 but if you have more complicated objects, then the object representation gets heavier I suppose Jan 13 12:44:46 yeah i got lots of maps and co Jan 13 12:45:08 hmm Jan 13 12:47:09 macTAR: I'd suggest decoding it on demand only for the portions that you need. Jan 13 12:47:31 yeah alankila thats what i was thinking Jan 13 12:47:35 lots of work incoming :) Jan 13 12:47:49 it's not very hard to do something like getRow(n) to access a struct that represents a single row and then maybe use a simple LRU caching scheme from LinkedHashMap to keep 100 most commonly used rows in memory or something. Jan 13 12:48:11 or 1000 most commonly used rows depending on what's a reasonable need Jan 13 12:48:30 you also have the option of putting the data on sqlite db, and using the query+cursor interface on the db to handle this Jan 13 12:53:00 there was a reference once which listed the java object sizes for the common collection types. The people who write trading software often can't use them because they're both too slow and too large Jan 13 13:02:34 yeah, trove4j is awesome for primitives Jan 13 13:02:36 Ankhwatcher: It's like this: http://imagebin.org/286585 Jan 13 13:03:10 This login screen is also fullscreen Jan 13 13:03:47 .so files for x86 in the Gradle layout go into jni/x86/ right? Jan 13 13:04:16 I'm personally kind of wondering why trove hasn't just replaced java primitives, but I guess there's regressions for some other use cases or something Jan 13 13:04:22 or people who do maintenance just don't care enough. Jan 13 13:05:13 hi Jan 13 13:05:23 apparently, java 9 was going to get rid of primitives Jan 13 13:05:37 I mean collections primitives Jan 13 13:05:45 they aren't, of course, strictly speaking primitives Jan 13 13:05:47 I don't know what primitives are Jan 13 13:05:57 Can you use Java 7 and 8 on Android? Jan 13 13:06:12 Java 7 Jan 13 13:06:14 most java 8 features, but java 6 runtime classes mostly Jan 13 13:06:15 no to java 8 so far, but most of java 7 seems to be there I guess. try-with-resources since android 4.4 apparently. Jan 13 13:06:20 uh, java 7 features Jan 13 13:06:22 Except try-with-resources (minSdk 19) Jan 13 13:06:30 Is there a way to pause a thread (i.e. there's nothing to do right now) instead of destroying and recreating it? And if so, what woudl be teh benefits? I have a thread that processes recordd audio, unfortunately it seems to cause buffer overflows in the recording thread when starting.. Jan 13 13:06:43 would love java 8 on android so much oh my god Jan 13 13:06:56 Contain your orgasms, storkme. Jan 13 13:07:03 new File I/O is in Java 7 or 8? Jan 13 13:07:09 freiform: just give it a working queue or something and let it sleep on queue.take? Jan 13 13:07:57 the elements in queue.take would evidently be short[] arrays that you have captured by mic or something I guess Jan 13 13:07:59 nio.2 is java 7 Jan 13 13:08:10 although java 8 is getting streams Jan 13 13:08:21 fucking android is like ie6 of java Jan 13 13:08:32 Is there a nice library to use for lazy-loading data in a ListView? Typically I would just use a CursorLoader and then dump it all in a ListView but this isn't great on large datasets. Short of using LIMIT in the query, is there something I can use which will do that for me? Jan 13 13:08:57 bad luck from google, first sun did fuck-all on java for like 10 years, looks like a stable language. Then it's changing all the time and the pent-up frustration of 10 years bites them on ass Jan 13 13:09:04 i've been writing java 8 code for a while, makes coming back to android feel like cobol Jan 13 13:09:05 Kegsay that isn't lazy loading, thats your own windowing Jan 13 13:09:16 alankila: recording and precessing are two seperate threads. i record e.g. 5s blocks to disk. the processing threads then rereads those blocks and calculated different metrics. Jan 13 13:09:22 well I would load more results when it got to the top g00s Jan 13 13:09:31 s/top/bottom Jan 13 13:09:48 freiform: okay. Sounds odd that you'd have a problem then. I guess maybe you want to try changing thread priorities? Jan 13 13:10:37 I have 1.8.0-b121 on my devel machine, but I don't do much with jdk8 yet. Jan 13 13:11:16 I'm kinda waiting for eclipse to wake up and deliver jdk8. Of course, their schedule is based on the official jdk8 release schedule, and I guess if you want to run the prototypes then that's fine but me lazy, want the smallest finger movement to give me jdk8 support in eclipse. Jan 13 13:11:28 alankila: my recording thread (which is continous) already has MAX_PRIORITY. Every second block or so i get an overflow which somehow seems to coincide with the (re-)creation of the processing thread. I wonder how much this costs, instead of keeping the thread alive using e.g. soem queue liek suggested. Jan 13 13:12:28 Hey guys, can anyone help me? I'm making an app that downloads files over HTTPS, and the default DownloadManager ((DownloadManager)getSystemService(DOWNLOAD_SERVICE)) doesn't support HTTPS, so we used one extracted from the AOSP, but something's wrong... It shows in the notification area as and our app doesn't respond to download progress and download finish anymore... What can be wrong? Jan 13 13:12:36 well, I don't know if that's the problem but use the wait-notify interface or queue or whatever Jan 13 13:13:13 alankila: thank you. is there some sort of profiler to analyse load produced by different parts of a programm? Jan 13 13:13:31 freiform: can't think of anything except the ddms cpu usage chart thing Jan 13 13:13:53 I haven't really used it personally at all, just glanced once that "oh, this exists" Jan 13 13:16:42 is it possible to specify a different cookiemanager for android.webkit.CookieManager? Jan 13 13:17:23 probably a cookie factory somewhere :) Jan 13 13:17:59 mmm... cookie! Jan 13 13:19:00 what did you say … cookie ? Jan 13 13:19:11 androids default cookiemanager lacks of a setting for a policy as it seems Jan 13 13:33:52 public String[] getDefaultCipherSuites() {return getDelegate().getSupportedCipherSuites(); } Jan 13 13:33:58 seems like a bug to me Jan 13 13:34:07 should be getDefaultCipherSuites Jan 13 14:25:12 hi all, I am going to implement a custom image view which load the bitmap according to the view size to avoid OOM problem. However, when I set the resource id in image view in onCreate(), the width and the height is not determined. When can I decode the bitmap once the size is measured? Jan 13 14:26:06 Can I see who +1 my app on the store? Jan 13 14:27:47 Hey, just wondering if someone could just help me go in the right direction please. I am creating an app on android that runs a background service, which i have now asyncronised onto another thread. On this I want a camera to take random photos when the phone is 1. In use, and 2. At a certain orientation. As i said so far I have a background service up and running. Any suggestions on the Jan 13 14:27:48 best way to get the phone to take random photos? Jan 13 14:29:02 <[1]jonc> Cavey1989, http://stackoverflow.com/questions/14421694/taking-pictures-with-camera-android-programmatically Jan 13 14:32:46 looking at http://cordova.apache.org/docs/en/3.3.0/config_ref_index.md.html i cant really undestand the idea Jan 13 14:33:24 I seen something like this, iv been trying to do it bit by bit soi understand it as its taking me ages to learn, although im getting somewhere, just think being in eqlipse will help me more Jan 13 14:33:42 ok guys.......would i be able to read a protected document on the web? as im unsure as i dont want my sql publicly viewable but at the same time not wanting the pass to be stolen from the app if someone attempts to revers engineer it or something daft Jan 13 14:34:26 basically attempting to pass data from an online DB to a local sqllite DB in case of loss of connectivity Jan 13 14:37:57 what would a more basic step for me to be ? so i have my background service running. Now i want to implement a camera that takes a photo in the background when the phone is unlcoked? Jan 13 14:46:48 can I turn of blurring of low res images? (I want the image to be pixelated) Jan 13 14:53:29 hello Jan 13 14:54:12 i have a web view in an activity, I load a url and get memory +50MB. i then kill the web view - remove it from the layout, destroy() on it, etc, and give a gc hint. and only 5 mb are released Jan 13 14:54:19 anyone with experience with WebView? Jan 13 14:55:36 Used memory or just available heap? Jan 13 14:56:01 jonc-1, i'm measuring both by looking at the Apps running view in the settings Jan 13 14:56:02 hi guys. I have a ListFragment with animated list (rows appeat animated). Whenever ListFragment is shown - list is animated. However when I refresh list items programmatically - list is not animated... How do I refresh list with animation? Jan 13 14:56:17 and by calling Debug.getMemoryInfo and looking at PSS Jan 13 14:56:34 jonc-1, what is the difference? Jan 13 14:56:43 It will take more for available heap I think (kind of like how an arraylist will double in size if you reach capacity) Jan 13 14:57:11 Hi, does somebody use SourceTree for their projects? Jan 13 14:57:36 jonc-1, but I'm wondering - if web view is removed from my layout, and from runtime - how is it that the process isn't going back to the first memory profile? Jan 13 14:58:02 Because that 50mb is not all for the webview Jan 13 14:58:10 it is buffer space for future memory allocations Jan 13 14:59:17 the webview only need 5mb but you get more heapspace to help later (give a lot at 1 time instead of asking for small amounts all the time) Jan 13 15:02:27 over time the your heap should shrink if you don't need that excess Jan 13 15:03:47 jonc-1, is there any way to control this and shrink it back? Jan 13 15:04:00 my question is, does it matter? Jan 13 15:04:10 thing is.. i am sharing the memory with a host process and id like to clear anything I'm using as fast as possible Jan 13 15:04:30 yes it matters in my case.. the entire thing gets slowly to 300mb+ over time Jan 13 15:04:52 if it is constantly growing and never stops you are either holding onto too much or have a leak someplace Jan 13 15:05:10 hmm Jan 13 15:05:20 anyone got an idea on how to throw an exception on main thread? Jan 13 15:07:52 bah Jan 13 15:07:55 mediaplayer raaaaage Jan 13 15:07:59 Anyone else seen the issue where the ADT loses the build path when restarting? Happened a few times now, and really annoying! Jan 13 15:12:00 pellis, have you used the DDMS? Jan 13 15:12:11 you can grab a snapshot of the heap and check the Used / Allocated Jan 13 15:12:17 jonc-1, yes. i think everything is native Jan 13 15:14:01 pellis: do you think I should wear a red or a blue dress for the annual transvestite meeting? Jan 13 15:14:17 huh Jan 13 15:14:33 my application currently seems to like to sit at around 15-25% free heap Jan 13 15:16:57 what should I set in my Theme to change the default pressed color of my ListView items? Jan 13 15:28:37 Coryn: gray and also wrong channel Jan 13 15:31:20 funkbox: wait wait........ I totally didn't know that. A troll like me, intentionally trolling for your kind of reactions needs that enlightenment. Why did I say that instead of continuing playing stupid? Because I'm done trolling for the day.. I'll probably sleep soon Jan 13 15:32:14 oh, right.... i misread the thing you wrote. Jan 13 15:32:24 I guess I peed on my on shoes there. Jan 13 15:48:40 does anyone has worked with skyrocket before? i seem to be unable to integrate it Jan 13 15:55:14 to anyone using gradle, are you able to resolve symbols for android plugin (intelligent parser, etc)? Jan 13 15:55:21 using android studio Jan 13 16:03:10 what would a more basic step for me to be ? so i have my background service running. Now i want to implement a camera that takes a photo in the background when the phone is unlcoked? Jan 13 16:05:41 http://stackoverflow.com/questions/3446202/android-detect-phone-unlock-event-not-screen-on Broadcast receiver Jan 13 16:06:22 http://stackoverflow.com/questions/9747564/activity-handle-when-screen-unlocked also Jan 13 16:07:30 action_user_present Jan 13 16:21:17 Mornin'! Jan 13 16:22:14 it is! Jan 13 16:25:21 any better way? such as so i can get a camera to capture an image while the phone is in use? Jan 13 16:26:03 Cavey1989: jonc-1 just sent you two ways to do that, no? Jan 13 16:30:15 i dont seem to understand it to well Jan 13 16:30:43 that doesn't mean you should look for alternate solutions :) Jan 13 16:33:06 basically i want to run a background service that will take photos when the phone is in use and save them. So far I have a background service running. What would you suggest is the best small step i can research into doing?Im trying to learn piece by peice Jan 13 16:33:17 seems to be so many ways to do it Jan 13 16:33:34 then learn how to take a picture Jan 13 16:33:49 there are 2 different ways to do it, intents or camera api Jan 13 16:36:55 if I understand you right, you wanna have the service take photos without the users interaction... or knowledge? or am I jumping to conclusions here? Jan 13 16:37:13 is it considered advertising if I provide an url that showcases an app for which I am looking for beta testers? the app is and will be free forever Jan 13 16:38:42 probably need an intent camera then? Jan 13 16:38:54 nebs that is correct Jan 13 16:38:56 the intent will pull up the camera app Jan 13 16:39:02 ^ Jan 13 16:39:37 the app basically just gatheres users images throughout the day of what thier cell phones can take images of without them knowing Jan 13 16:39:43 cool. can you send me your play store url so I NEVER INSTALL ANY APPS YOU EVER MAKE? thx. Jan 13 16:39:54 so, it just needs to take images when ever the phone is in use without the user knowing Jan 13 16:40:04 then do that Jan 13 16:41:09 nebs - its a project looking into ethical issues, so it wont be on the play store :) Jan 13 16:44:55 you could even use the onFaceDetectionListener to just sit and wait until the camera sees a face and then take the picture Jan 13 16:46:00 is there also an onButtDetectionListener? Jan 13 16:46:27 no but you could probably create one :P Jan 13 16:53:48 hello Jan 13 16:54:03 pls could you help me with problem? Jan 13 16:54:15 i was googling and still nothing usefull Jan 13 16:54:57 Subber: no need to ask to ask. just ask Jan 13 16:55:19 is there any simple console tool to convert binary XML to text XML and text XML to binary XML back? Jan 13 16:55:23 i want only this Jan 13 16:55:27 not full apktools Jan 13 16:55:38 would it be beneficial to do a camera tutorial with an onclick take photo, and then change it to listening to events? Jan 13 16:55:44 Subber: why would you need that? Jan 13 16:56:03 because i am developing dynamic application server Jan 13 16:56:14 you can create android or iOS app Jan 13 16:56:21 Won't it kill the battery life pretty quickly if you're leaving the camera on all day? Jan 13 16:56:24 that application is fullscreen javascript container Jan 13 16:56:54 oka, and i make the apk package, sign it etc Jan 13 16:56:59 everything works great Jan 13 16:57:17 but i need to change id of the application to have installed more applications Jan 13 16:57:52 so i need binary/text manifest xml converter useable from the console Jan 13 16:59:00 Subber: take a look @ https://code.google.com/p/android4me/downloads/list Jan 13 16:59:19 Subber: specifically, AXMLPrinter.jar. may be suitable for you Jan 13 16:59:24 yeah, i found Prints XML document from binary XML file (with correct namespace handing & attribute formatting). Jan 13 16:59:35 but i need to convert text XMLs to binary too Jan 13 16:59:41 not only binary to text Jan 13 16:59:51 * palithius stomps on gradle. Jan 13 17:01:18 i dont know why is google doing this Jan 13 17:01:29 raw XML is pretty format ... Jan 13 17:02:01 no, actually. it isn't. for people and computers xml is pretty horrible. Jan 13 17:02:34 it's horrible for me Jan 13 17:02:36 xml is bad Jan 13 17:02:43 because i need to make that stupid binary xml Jan 13 17:02:50 programically Jan 13 17:02:54 with one simple command tool Jan 13 17:03:18 i found hundreds of binary XML to text XML converters Jan 13 17:03:35 but no one for text XML to binary XML Jan 13 17:07:37 Subber: I almost want to ask why you'd bother with "binary XML", but I really don't want to know the answer. It'd be too depressing Jan 13 17:07:43 i need to implement play services multiplayer messaging in a service for use in a floating always on top window, if i implement gamehelper.gamehelperlistener in my service class, can i just pass the graphical interface setup IDs to the service and create a new gamehelper and issue a ghs connect wihtout having a graphical login element? Jan 13 17:08:28 because google is stupid Jan 13 17:08:38 and i have to have binary xml in apk Jan 13 17:08:58 because it does not accept raw plaintext xml Jan 13 17:09:37 in ipa, i can select plaintext plist and binary plist Jan 13 17:09:40 works both Jan 13 17:09:48 but in apk ... only binary xml works Jan 13 17:10:41 Subber: Maybe pull the content down in your app - store it in a local db instead... Jan 13 17:11:01 i have Jan 13 17:11:08 i use localStorage Jan 13 17:11:25 but i need text xml to binary xml converter Jan 13 17:11:37 because i need to dynamically generate manifest Jan 13 17:12:12 because generated apps have different name Jan 13 17:12:16 has Jan 13 17:17:22 Gradle lets you set some manifest attributes in the build file, or provide different manifest for different flavors/build types Jan 13 17:17:38 anyone know any really good tutorials for using the camera API for beginners?I'm struggling so much, only done windows Phone development before, please dont comment bad Jan 13 17:19:14 Does anyone know of a simple way to proxy traffic from an app on my Android phone? ie. my app requests http://www.example.com/image.png, and I'd like to be able to switch it to another image to test something. Is this possible? Jan 13 17:19:41 Subber: Still not sure that the issue is really - the Android Manifest XML file is just text AFAIK Jan 13 17:20:08 Cavey1989: have you read the Camera api guide on d.android.com? Jan 13 17:20:50 Smashcat: yeah but android manifest XML file after compilation is binary Jan 13 17:21:17 lets decompile any android app .) Jan 13 17:21:26 Subber: why can't you modify it before compilation? Jan 13 17:21:53 Subber: Well, it's part of the APK yes. So you just need to automate the build process, you can't change the manifest once the APK has been built Jan 13 17:22:21 is there a way to just launch the default email client w/o sending it anything? Jan 13 17:23:19 and pls does exist some automation of build process which does not need admin rights? Jan 13 17:23:25 and has to be runnable from linux machin Jan 13 17:23:26 e Jan 13 17:23:45 Subber: I'm sure there is. It's just a tool chain. Jan 13 17:49:16 hey, hey Subber, you. Lemme tell you what :p... u ready? Jan 13 18:09:52 hey there. On my app I get crash reports from time to time showing a NPE at the second line of this snippet: http://pastebin.com/Y3EPzwie . Shouldn't there always be an intent as this is a sticky broadcast? Or in which cases can this be null? Jan 13 18:18:36 I mean, I'd just wrap it in a try/catch, but that doesn't feel right :/ Jan 13 18:25:30 hello Jan 13 18:26:12 IOS developer who uses lots of singletons , I told him that at android I cant use singletons without being destroyed after some time Jan 13 18:26:21 and he told me that this cant be true Jan 13 18:29:26 If the system decides to kill your, then the singleton would be lost too. Jan 13 18:29:28 is there a question around ? :) Jan 13 18:29:46 My question about the battery intent still stands ;) Jan 13 18:32:30 hmm, no idea :) Jan 13 18:32:37 langerhans, read the source? :) Jan 13 18:32:52 Already did an I think I know what the problem might be Jan 13 18:32:56 Is it possible to set the alpha blend mode of an imageview? Jan 13 18:33:01 But the documentation is a bit unclear Jan 13 18:34:29 sry disconnection Jan 13 18:34:33 right now I believe it is multiply, I want it to be subtract (part of the image is set to 0.25 opacity, setting alpha of 0.25 should result in a floor(-0.5) alpha for that image part) Jan 13 18:34:34 somebody wrote to me? Jan 13 18:40:30 *groan* having some trouble with a global vars in my application class Jan 13 18:40:51 i define a var in my activities as such: ShieldComms Global = ((ShieldComms) this.getApplication()); Jan 13 18:41:11 then later when i try Global.getterFunction or Global.setterFunction, i get a null pointer exception and crash Jan 13 18:41:55 I've also defined under the section android:name "ShieldComms" and those functions are in ShieldComms.java Jan 13 19:08:30 I'm using intellij 13 to start a new gradle android project (first time) with fb sdk added and I'm getting an UNEXPECTED TOP-LEVEL EXCEPTION error Jan 13 19:09:03 java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoIcsImpl; Jan 13 19:09:04 Anyone using graphics generated on the android dev's site as images for the play store listings? Jan 13 19:23:40 any reason youre not using android studio:? Jan 13 19:25:01 xastey i think i saw an error like that when i depended on multiple versions of the support library Jan 13 19:27:42 shigeru I thought android studio code was in intellj 13 Jan 13 19:27:47 via plugin.. no? Jan 13 19:28:05 I always forget how to do runOnUiThread, look it up and it never helps me because no one ever puts Activity.runOnUiThread(), they always just put runOnUiThread() Jan 13 19:28:07 android studio is a modified intellj Jan 13 19:28:34 well thats stupid Jan 13 19:28:44 alright I'll download.. thought it was via plugins included in intellj Jan 13 19:28:58 yiati, if what you find is ever just a plain function (like runOnUiThread()) just assume it is an activity that it is being called from Jan 13 19:29:33 especially if you put it where you want it and does not work. Jan 13 19:31:16 Why would you call runOnUiThread from within the activity itself Jan 13 19:31:27 listeners Jan 13 19:32:10 local class / threads Jan 13 19:32:23 so I'm confused because I was reading the CM source where they display the cell signal strength Jan 13 19:32:24 they can use their parents scope Jan 13 19:32:32 and they call getLevel() on android.telephony.SignalStrength Jan 13 19:32:33 however Jan 13 19:32:38 there is no such method! Jan 13 19:32:42 can someone explain the discrepancy? Jan 13 19:33:10 durka42, http://developer.android.com/reference/android/telephony/SignalStrength.html Jan 13 19:33:25 getGsmSignalStrength() ? Jan 13 19:33:29 jonc-1: right, there is no getLevel() method Jan 13 19:33:39 but, https://github.com/CyanogenMod/android_frameworks_base/blob/db6e4704ebe0d1c12e7ed2057b2678bd4ccfa595/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java#L618 Jan 13 19:35:12 huh, the method is definitely there in the CM source Jan 13 19:35:16 but not documented by google Jan 13 19:35:31 hi guys! i'm new to android development. i currently working on a file-system browser, and a want to gave directories an icon in the view. do i have to provide the icon-image with my app or are there build-in icons i can use? if so, how? ^^ Jan 13 19:36:50 I'm using Html.fromHtml() to parse some HTML, and it's working pretty well, except it's not picking up the links - it's just showing them as plain text. I have setMovementMethod(LinkMovementMethod.getInstance()) set, and `linksClickable="true"` in the template. Am I forgetting something? Jan 13 19:36:54 probably be easier for your own icon, just take an image, add it to your drawable folder and display it with an ImageView or as the background of something else Jan 13 19:37:19 heeventuli: you can download icon packs (not that I have the url handy but google provides them); you need to put the icon resources in your app. Jan 13 19:37:30 and I don't know if the icon pack has a folder icon Jan 13 19:37:33 not that it is easier, but spend less time searching on where to find it Jan 13 19:37:35 but you can use it for a style guideline Jan 13 19:48:05 Hello Jan 13 19:48:50 Could anybody tell me how to update the whole UI after my application is recreated (for example change orientation) ? Jan 13 19:49:26 Should I do it in onResume method ? Jan 13 19:50:14 what do you want to update? Jan 13 19:50:32 some textviews, listview (I use CursorLoader) Jan 13 19:51:02 afeter changing orientation I lose that info and it's in initial state Jan 13 19:51:59 kafor7: save any data you want to keep in onSaveInstanceState Jan 13 19:52:21 My spinner's dropdown list is too large and at the top the first element is hidden by the system bar. How can I fix this? Jan 13 19:52:44 kafor7: then to restore, you can do it in onCreate (for Activity) or onCreateView (for Fragment). just extract the data from the savedInstanceState Bundle Jan 13 19:53:34 you can save a fragment to a bundle, although I am unsure if it keeps layout changes Jan 13 19:54:04 what about CursorLoader ? Jan 13 19:54:20 Should it restore automatically ? Jan 13 19:59:45 kafor7: you dont have to worry about Loaders Jan 13 20:01:43 It seems not to work Jan 13 20:02:00 I lost data from a listview after changing orientation Jan 13 20:02:32 then re-load your data Jan 13 20:02:38 maybe should I init it in onCreate ? Jan 13 20:02:41 Does anyone have any idea? Jan 13 20:03:14 I init it after some button has been pressed Jan 13 20:04:01 kafor7: if you call init, it will automatically load data. sounds like you don't want it to load data as soon as your activity is created? Jan 13 20:04:02 In portrait mode, the spinner's dropdown is opening upwards and the first element is almost completely hidden by the top system bar. Jan 13 20:04:24 yes Jan 13 20:04:39 I want to load data after logging into twitter account Jan 13 20:05:05 kafor7: what are you doing in onLoadFinished? Jan 13 20:05:22 adapter.swapCursor(data); Jan 13 20:07:46 kafor7: the cursor that gets passed to onLoadFinished probably pointing to the last row... try logging data.getPosition() and see what it returns in onLoadFinished Jan 13 20:10:59 alexfu: it doesn't seem to call onLoadFinished after changing orientation.. Jan 13 20:11:13 CursorLoader retains the result through configuration changes, so it shouldn't need to load again Jan 13 20:12:26 Assuming you use LoaderManager Jan 13 20:12:51 yes I use Jan 13 20:14:42 I am using runOnUiThread and imageView.invalidate inside of it after retrieving a bitmap from a callback, and the view is still not updating with the bitmap Jan 13 20:14:43 ahhh Jan 13 20:15:15 It works fine if I set it with the same bitmap in the actual fragment itself, and not through a callback Jan 13 20:15:39 I don't know where to look for problems Jan 13 20:15:43 I create new adapter in onCreate method and change it to my listView and now it's empty I guess Jan 13 20:16:32 Create the adapter if it doesn't exist in onLoadFinished.. If it does exist, just change the cursor Jan 13 20:18:33 ehh Jan 13 20:18:55 SimonVT: listview will still be empty on orientation change though Jan 13 20:19:05 after recreating adapter is nuul Jan 13 20:19:07 null Jan 13 20:19:13 so it creates new one Jan 13 20:19:30 alexfu: The loader and its result is retained Jan 13 20:19:46 When you attach to the loader again the result will be delivered Jan 13 20:21:10 but I lose reference to adapter afret recreating Jan 13 20:21:24 is there any way to keep an activity open but hidden and active? Jan 13 20:21:28 How can I get it back Jan 13 20:21:32 Create a new one Jan 13 20:21:42 I created new adapter Jan 13 20:21:59 but it doesn't run onFinishedData Jan 13 20:22:14 onLoadFinished* Jan 13 20:23:02 So our client wants to go with a new name for their Android app, but still wants a search for the old name to bring up the app (the old name is there acronym). Do I just need to make sure and reference the acronym a lot in the description? Not sure how Google's indexing works. Jan 13 20:23:05 Then the problem isn't with the adapter Jan 13 20:23:32 kafor7: thats b/c you're attaching your loader when you click a button, as opposed to oncreate Jan 13 20:24:00 yes Jan 13 20:24:12 I'm just telling you how it works.. If your implementation doesn't work that way, then you messed up somewhere Jan 13 20:24:35 because I want different users to get different data Jan 13 20:24:58 so I set some selection in CursorLoader depending on user login Jan 13 20:25:09 Uh.. So you never call initLoader, and you're wondering why it doesn't load? Jan 13 20:26:37 kafor7: you have to alter your code to be able to re-attach the loader in oncreate Jan 13 20:26:39 I said that before Jan 13 20:27:39 hmm ok so it's good to pass some boolean to onSaveInstanceState ? Jan 13 20:28:19 kafor7: sure. Jan 13 20:29:09 and is it ok to reset adapter manually when logout from my twitter account and init it after loging in ? Jan 13 20:42:26 Has anyone else run into the bug with views with the same id being linked in the gui editor? Jan 13 20:42:36 even if you clear out the names you get issues? Jan 13 20:44:55 What is a good way to disable Google Analytics when debugging / testing. Can't tell what is me and what is from users. Jan 13 20:46:18 theblang: can't you just filter out your own IP Jan 13 20:46:44 durka42 that would be great, let me check Jan 13 20:46:53 What can be the reason why the DownloadManager doesn't work? Its title is null and all the columns stay null, but I believe the file does get downloaded... Jan 13 20:47:15 theblang: https://support.google.com/analytics/answer/1034840?hl=en Jan 13 20:47:45 Ah, wait, never mind... :-P Jan 13 21:07:42 Is it bad practice to use a single activity with multiple ContentViews? Jan 13 21:08:24 different contentviews as different "pages" in your app? Jan 13 21:08:41 yes Jan 13 21:08:53 1 Activity, and then use Fragments Jan 13 21:09:13 what's the benefit Jan 13 21:10:01 durka42 do mobile devices have a MAC address? Jan 13 21:10:16 windy_: look into https://github.com/square/mortar it's a cool concept Jan 13 21:10:24 It is the best practice right now. Fragments allow for cleaner code (pretty much all code to deal with a certain page just goes into a class that extends Fragment) Jan 13 21:10:29 theblang: yes, they do Jan 13 21:11:21 everything has a mac address Jan 13 21:11:24 jonc-1: so basically I should group pages that are related together as fragments under a parent activity? Jan 13 21:11:38 I would suggest against most things that steer clear of fragments and just use activities (Which mortar seems to do) Jan 13 21:12:27 you have 1 activity, you load your LoginFragment or whatever (first Fragment), then use the fragment manager to tell it which fragment to go to next when someone hits login Jan 13 21:12:43 jonc-1: what if I need to do some logic before I load the first activity. like to see if a user needs to login Jan 13 21:12:56 then you just load the loginfragment Jan 13 21:13:00 it is all the same activity Jan 13 21:13:11 theblang: depending on the interface, yes. Any ethernet or wifi device has a mac address. Other radios have their own addressing schemes which may or may not be presented as or referred to as mac addresses, but may not be a 6 byte value like you expect. Jan 13 21:13:42 In the activity onCreate you check if they need to login, you then set which fragment will be loaded and load it Jan 13 21:14:04 "HTC One X and One X+ will not receive KitKat; stuck on Android 4.2 forever" ; probably doesn't matter - bet HTC doesn't make it to 2015 Jan 13 21:14:28 * g00s wonders why they are struggling 9.9 Jan 13 21:14:35 windy_, http://pastebin.com/Ut3usF4N <--- Part of my Activity's onCreate function Jan 13 21:14:44 alexfu dragorn thanks a lot. I am trying to filter out debug crashes on my Google Analytics account. using IP address is tough because my organization is on a huge university network. was wondering if I could use MAC Jan 13 21:15:50 one benefit of using fragments is that when a fragment is detached, it's view hierarchy is destroyed and so you wont be keeping view references in memory when that view is no longer visible. Jan 13 21:15:59 theblang: you'd have to write something to explicitly fetch the mac address from the network interface. At that point you might as well make a random 128bit number and save it in a sharedprefs and just use that in your reports Jan 13 21:17:15 Okay, maybe you can help me with this; the DownloadManager I use (extracted from the AOSP because the DownloadManager from Gingerbread doesn't work with HTTPS) doesn't fire DOWNLOAD_COMPLETE, any idea why and how I can fix it? Jan 13 21:18:29 I can't access any of my application class public variables, instant crash Jan 13 21:18:44 I verified that the application class is definitely initializing, as i call my first activity from its onCreate Jan 13 21:18:56 any thoughts on what im screwing up Jan 13 21:19:49 shinkamui: it'd be useful to post a stacktrace of some sorts Jan 13 21:19:56 ShieldComms Global = ((ShieldComms) this.getApplication()) is defined at the beginning of the activity in the global class scope, but any reference to global.variable or global.method crashes Jan 13 21:21:47 alexfu: like so? http://pastebin.com/KTgK6gb4 Jan 13 21:23:43 shinkamui: what's in ConfigWindow line 47 Jan 13 21:24:48 Log.d(tag, "GoogleData = " + Global.GoogleData); Jan 13 21:24:55 jonc-1: the idea behind mortar is 1 activity just like you are suggesting with fragments Jan 13 21:25:24 GoogleData is an int in that ShieldComms application class that i set to 1 Jan 13 21:25:30 just a test to see if the global data is accessible Jan 13 21:30:01 shinkamui: Global is null. thats why it's crashing. post your activity code Jan 13 21:33:38 ok Jan 13 21:34:59 this says that you need a min of API level 11 to use the DarkActionBar theme without appcompat https://developer.android.com/training/basics/actionbar/styling.html Jan 13 21:35:08 but the compiler is saying api level 14 is required Jan 13 21:35:23 alexfu: http://pastebin.com/UTMf53jM Jan 13 21:35:26 jaynewstrom, I was reading their documentation and they stated that they use many activities (you don't have to but it is what they suggest) Jan 13 21:35:56 jonc-1: the only app using mortar is using three activities for legacy resons Jan 13 21:37:28 JakeWharton: would you recommend using mortar, or a similar approach? Jan 13 21:38:00 eh, i chose not to use mortar after playing with it. other people find it useful. Jan 13 21:38:13 shinkamui: you should be calling getApplication() in oncreate. not when the Activity object is instantiated Jan 13 21:38:32 JakeWharton: what approach do you use, in reference to fragments, mortar, or similar? Jan 13 21:38:51 fragments are the worst thing to ever come to Android Jan 13 21:38:57 they are terrible Jan 13 21:39:09 i'm just using views and a tiny state machine right now Jan 13 21:39:12 Better than multiple activities Jan 13 21:39:14 I found just Activities terrible Jan 13 21:39:32 Fragments is a hell of an upgrade vs activities Jan 13 21:39:43 "upgrade" Jan 13 21:39:43 this guide is incredibly inconsistent http://developer.android.com/guide/topics/ui/actionbar.html Jan 13 21:39:45 they're awful Jan 13 21:40:13 i keep hearing people say that Jan 13 21:40:16 but why Jan 13 21:40:38 if you keep as much state as possible outside of your fragments they seem fine to work with :/ Jan 13 21:40:41 too much complicated coordination of state between all the components Jan 13 21:40:47 too many callbacks Jan 13 21:40:51 and straight activities are worse. I know fragment backwards compatibility sucks (the support library version), but with API 18 (using S4 atm) I haven't run into an issues Jan 13 21:41:06 the support library ones are better Jan 13 21:41:32 this says that you don't need the support lib if you are only supporting API level 11+ but the compiler is saying that @android:style/Theme.Holo.Light.DarkActionBar is only available on API level 14+ Jan 13 21:41:33 I ran into a bunch of shitty errors with them because the lifecycle is broken but cannot be easily fixed Jan 13 21:41:44 what gives Jan 13 21:42:17 Yes, DarkActionBar is 14+ .. If you don't support 2.3, drop HC support as well Jan 13 21:42:55 may as well drop ICS too, its only 16.8% Jan 13 21:43:00 16.9 Jan 13 21:43:17 and shrinking :) Jan 13 21:44:00 windy_: and to back up simon (as if he needed it), https://developer.android.com/reference/android/R.style.html#Theme_Holo_Light_DarkActionBar lists api 14 for that theme. Jan 13 21:44:27 alexfu: lol, what a clumbsy mistake. Jan 13 21:44:33 alexfu: thanks brohan :) Jan 13 21:45:11 ;d Jan 13 21:47:23 dragorn, SimonVT, they should probably fix the guide that says otherwise then :P Jan 13 21:47:52 file a bug, or send a patch to gerrit. all the docs are in AOSP Jan 13 21:48:16 not necessarily arguing with you there, though if you follow the link on the darkactionbar mention in the guide it takes you to the bit that says v14 Jan 13 21:48:25 anyhow, yeah - no reason to deal with honeycomb Jan 13 21:50:59 The action bar got a lot of additions in api14, guess whoever wrote it just didn't consider that it was kinda limited in hc Jan 13 21:51:32 But yeah, kind of a bad example when they specifically mention 3.0 Jan 13 21:51:37 Can I make a drop down spinner open downwards regardless of how much free space there is below? Currently one of my spinners opens upwards but I've seen apps which open them downwards. Jan 13 21:54:17 the more I read the more I hate fragments Jan 13 21:55:38 Why? Jan 13 21:57:26 How is called api that support showing your app at the lockscreen ? Jan 13 21:58:08 bluesm: http://developer.android.com/guide/topics/appwidgets/index.html?&utm_medium=email#lockscreen ? Jan 13 21:58:59 now, that alexfu has solved my idiot mistake i need to find some documentation on the GamesClient object for manual initialization Jan 13 21:59:08 man this stuff doesn't look too fun Jan 13 21:59:09 wabz: And also, the 4.4 (as I heard) support the full screen "background" of the lockscreen. Or something like that ... Jan 13 22:00:37 compac: i had that same problem a few months ago, but i can't for the life of me figure out how i fixed it Jan 13 22:01:28 Hello, anyone know how I can use ContactsContract.Profile.CONTENT_RAW_CONTACTS_URI to get contact id of the "Me" profile? Jan 13 22:02:49 I am using Volley, and am having issues getting the imageView to show the image after it fetches it in the overridden onSuccess of mImageLoader.get(url, ImageListener) https://gist.github.com/anonymous/8408956 Jan 13 22:03:28 I have tried runOnUiThread and invalidating the imageView and the container and none of those work Jan 13 22:10:01 Anyone use contactscontract.isProfileId(long id) ? Jan 13 22:11:30 wow, google bought nest, I'm so jealous Jan 13 22:11:38 I so wanted to work there last year, they're one of those scala shops Jan 13 22:11:39 3~^ Jan 13 22:11:50 little asshat recent college grad gave me the thumbs down, though Jan 13 22:15:28 i think the apple store sells Nests Jan 13 22:15:44 wonder if that will continue :) Jan 13 22:16:32 lmfao right? Jan 13 22:16:40 bankai_, I'm looking at an apk from the market that has that, want me to poke you if I find out? Jan 13 22:16:46 i never really understood why it was any better than a regular thermostat with scheduling Jan 13 22:16:48 erm Jan 13 22:16:57 bankai_, If you remember please tell me :) Jan 13 22:17:05 it's been a couple of hours now.. Jan 13 22:18:28 g00s: you can do it from your phone (such API0 Jan 13 22:19:06 ok Jan 13 22:19:24 guess i was never driving down the road and wished i could turn my home a/c on Jan 13 22:19:31 Ok I found out Jan 13 22:19:46 more retarded SV gadgets ;) Jan 13 22:19:52 bankai_, Was it "adjustNothing" for the windowSoftInputMode? Jan 13 22:21:30 it looks so pretty tho Jan 13 22:22:42 It isn't even in the documentation... Jan 13 22:23:24 Hello, I am trying to set the foreground of an ImageView to the white color when the item is selected, But I don't know why the white color is not applied, although any other color applies with no problem, Here is the code that I used http://pastebin.com/vjZQCFsy Jan 13 22:23:43 Any idea why the white color is not applied ? Jan 13 22:30:50 jacky maybe you will have to log into google+ to manager your smoke alarm now :) Jan 13 22:31:55 compac: don't think i was so elegent with my approach, actually. I think i just hacked it up so the list would never be long enough to dropUp ( or how ever you want to describe it ) Jan 13 22:32:41 bankai_, Yeah, I was thinking I'd have to create a custom dialog which seems to be too much for something like this Jan 13 22:33:05 Anyway, the default behavior is not the same as 'adjustNothing' and as I said there is nothing in the docs about this. Jan 13 22:34:38 hi guys, i searching for a trigger to run my app when have an password error on the lock screen Jan 13 22:34:56 anyboby know a way to do this? Jan 13 22:37:37 zaion: no Jan 13 22:37:44 compac: did you try specifying a spinner 'height' ? Jan 13 22:38:47 bankai_, you mean layout_height ? Jan 13 22:39:12 ya Jan 13 22:39:45 That just sets the height of the spinner, it doesn't do anything for the drop down list Jan 13 22:42:27 hi Jan 13 22:43:01 is Android Dev smooth on Windows 8? Jan 13 22:44:31 which is the best cross platform development tool that works well for Android? Jan 13 22:44:45 monodevelop Jan 13 22:44:49 ?!?!?!?! Jan 13 22:45:08 wabz, checking it now Jan 13 22:45:13 it was a joke Jan 13 22:45:31 either use android studio or get that adt bundle thing Jan 13 22:45:37 or IJ Jan 13 22:45:45 So Google Analytics suggests that the developer call the activityStart and activityStop of the EasyTracker in onStart and onStop. This means that any exceptions caused in onCreate won't be reported right? So does that suggest that I should only do very static stuff in onCreate, and move most of my other logic to onStart? Jan 13 22:45:52 wabz, ok got it :) Jan 13 22:46:12 bankai_, what's IJ? Jan 13 22:46:31 zaki, intelliJ Jan 13 22:46:41 it's what android studio is based on Jan 13 22:47:51 why not Appcelerator? Jan 13 22:48:55 LOL Jan 13 22:49:04 by cross platform did you mean cross mobile platforms? Jan 13 22:49:11 wabz, yes Jan 13 22:49:14 oh lol Jan 13 22:49:15 i think the question was asked backwards Jan 13 22:49:19 i use linux on desktop forever :) Jan 13 22:49:37 my advice to you - don't do it Jan 13 22:50:02 bankai_, ok i'll check Android Studio now Jan 13 22:50:20 the most important mobile OS is Android :) Jan 13 22:50:43 well no, not really, all these "cross platform" implementations are rubbish Jan 13 22:50:59 g00s there's lots of good features in the nest Jan 13 22:51:00 ^^^ Jan 13 22:51:07 omg like just use the native language Jan 13 22:51:09 so much faste Jan 13 22:51:11 has nothing to do with being wifi enabled Jan 13 22:51:24 It's funny, one of the founders made the iPod Jan 13 22:51:26 of Nest Jan 13 22:51:36 yes, apple spinoff Jan 13 22:52:01 I would never have guessed, from the design of it :) Jan 13 22:52:15 er, not spinoff Jan 13 22:53:36 will there be a tech company not the property of Google in 20 years ? Jan 13 22:53:58 while Google Now is able to predict the future... Jan 13 22:54:45 Does anyone know if it's possible to force the "action overflow" button (three dots) to show up on every phone (like GS3 or GS4)? Jan 13 22:56:24 eghdk: once they get 4.4 it will be the default behavior Jan 13 22:56:27 otherwise, no Jan 13 22:56:45 and finally, samsung is getting rid of the menu button on new devices Jan 13 22:56:55 finally Jan 13 22:56:58 I hate samsung's devices Jan 13 22:57:08 i cant stand samsung Jan 13 22:57:30 ^^ Jan 13 22:57:38 I love sony devices Jan 13 22:57:40 why is getting rid of that button important? Jan 13 22:57:40 the galaxy nexus was an ok device Jan 13 22:57:47 because the menu button is anachronistic Jan 13 22:57:50 it serves no purpose Jan 13 22:57:50 not really Jan 13 22:57:56 I really like my moto x Jan 13 22:57:59 best android phone ever Jan 13 22:58:00 period Jan 13 22:58:11 sony xperia is best, i don't like samsung Jan 13 22:58:19 zaki, \o/ Jan 13 22:58:28 don't some apps still depend on it? Jan 13 22:58:40 g00s: lol, nah, they've preventing data collection from being used to identify users Jan 13 22:59:01 the galaxy nexus was better than other samsung devices, but it was still a pretty horrible device Jan 13 22:59:11 I like my nexus 4 ._. Jan 13 22:59:35 jacky "raw data" is an oxymoron ;) Jan 13 22:59:57 its inevitable the data will wind up in your analytics bucket ;) Jan 13 23:00:01 if moto x had a 3200mah battery, i'd be sold Jan 13 23:00:36 not worth giving up my old-as-hell droid razr maxx if i lose 48-hour battery Jan 13 23:01:07 that does sound good Jan 13 23:01:13 android phones drive me crazy with that Jan 13 23:03:28 How does Google force the action overflow on my galaxy s3? Jan 13 23:04:37 doesn't showAsAction="never" do what you want ? Jan 13 23:06:52 Nope. On the galaxy s3 it still forces me to hit the capacitive menu button Jan 13 23:09:29 is the jniFolders list in packageApplications still in use? Jan 13 23:12:51 eghdk: have you tried this: http://stackoverflow.com/questions/18010072/menu-items-are-not-showing-on-action-bar Jan 13 23:21:04 http://stackoverflow.com/questions/18010072/menu-items-are-not-showing-on-action-bar#comment26338515_18010220 +1000 Jan 13 23:34:58 Hello everyone. Jan 13 23:34:59 so im having a very interesting problem Jan 13 23:35:12 i havea bug, that only occurs when the phone is NOT being debugged Jan 13 23:35:23 heisenbug Jan 13 23:35:27 ikr Jan 13 23:35:55 basically, i have a buss tracking app where you can enter a stop ID and it will open a new activity Jan 13 23:35:58 with arrival times for that stop Jan 13 23:36:08 sabreman, race condition Jan 13 23:36:10 if you quit the app (like swipe it off the recent apps list) Jan 13 23:36:10 fix your threading Jan 13 23:36:18 on any screen BUT the stop view screen, it works fine Jan 13 23:36:43 but if you exit it on the stop view screen, next time it starts up it reads in NULL from the file Jan 13 23:36:53 despite previously writing out valid info Jan 13 23:37:02 you probably have an assumption that you're already initialized when you're not Jan 13 23:37:06 AND, like i said, this doesn't actualy happen when debuggin Jan 13 23:37:27 http://textastrophe.com/post/73220323215/the-chilis-gift-card Jan 13 23:37:28 oops Jan 13 23:37:33 you probably have an assumption that you're already initialized when you're not Jan 13 23:37:38 basic Jan 13 23:37:50 pfn is fading off in distance Jan 13 23:37:50 pfn: what do you mean? everything is initilized though? Jan 13 23:38:23 like, i checked through the read function and write function Jan 13 23:38:44 both have valid and initilzed things they are reading.writing from Jan 13 23:39:07 and besides, why would something like this only happen when not debugging? Jan 13 23:42:16 ? Jan 13 23:44:48 http://imgur.com/jacoj Jan 13 23:45:00 really, why is looking at a stack trace and understanding so hard Jan 13 23:45:20 i cant get a stac trace because it deosnt happen when im debugging Jan 13 23:45:51 crash reporter software Jan 13 23:46:05 and the device saves logs with stack traces... Jan 13 23:46:06 but its not crashing either D: Jan 13 23:46:12 regardless of if a debugger is running Jan 13 23:46:31 i know aobut the logs, im looking at them as its running Jan 13 23:46:33 no usefull infromation Jan 13 23:46:45 but pfn, you are right about the race condition Jan 13 23:46:58 making the thing sleep for 5 seconds before reading "fixed" it Jan 13 23:47:05 although i have no idea WHY it's happening still Jan 13 23:47:23 or how to actually fix it Jan 13 23:52:46 scratch that Jan 13 23:52:54 only fixed it 80% of the time. Jan 14 00:02:12 sabreman: maybe if you logged more you'd gain a clue about the state of the program around crash Jan 14 00:02:32 also adb logcat will probably print the stack just fine Jan 14 00:16:59 if you have to sleep 5 seconds, then yes, fix your race condition Jan 14 00:17:41 sabreman, uh, you can get a stack trace without debugging Jan 14 00:17:42 .... Jan 14 00:17:44 learn2java Jan 14 00:39:41 lol Jan 14 00:39:52 I haven't learned formal Java yet Jan 14 00:39:57 my boss doesn't know this Jan 14 00:43:06 Is there a way to get a callback if the user touches the IME if visible? I have a menu I want to close anytime the user clicks out of it Jan 14 00:45:59 mornin' Jan 14 00:46:16 morning :) Jan 14 01:12:16 It is? Jan 14 01:12:30 lasserix, onKey Jan 14 01:12:36 * Jacky hugs g00s Jan 14 01:12:39 welcome back g00s Jan 14 01:12:40 pfn thanks Jan 14 01:12:54 Jacky :) Jan 14 01:13:26 Jacky pfn needs a hug too Jan 14 01:14:05 * Jacky grabs pfn and g00s for a big hug Jan 14 01:14:10 <(^_^)> Jan 14 01:20:15 so in order to present to the user, the available TLS protocol versions available, i had to create a dummy socket and call getSupportedProtocols() … which seems very obtuse Jan 14 01:21:04 Android doesn't allow you to list supported TLS versions? Jan 14 01:21:26 i dont know where else in JSSE to get that info Jan 14 01:21:46 or maybe some android-specific api, which i have not found Jan 14 01:23:34 \o/ for https://developers.google.com/chrome/mobile/docs/webview/overview Jan 14 02:04:00 hmm.. anyone ever have situation where you're using fragments, and when you swap tabs (the onCreateView is called) and theres a slight flicker? Like it starts at the top fo the screen, and then flashes back to where it was previously scrolled to? Jan 14 02:11:27 <_genuser_> json: val = 0.00078021. JSONObject.optString("val") is reading is as 78021E-4 Jan 14 02:11:58 <_genuser_> optDouble("") is also reading it as 78021E-4. anyone see this behavior? Jan 14 02:33:02 *sigh* and of course it doesnt happen on MY devices.... Jan 14 02:33:04 great Jan 14 02:37:46 im pretty sure there's got to be some implementation error Jan 14 02:37:58 but i dont know android well enough to know what it is :/ Jan 14 02:52:42 is there a way to reduce this boiler plate ? http://pastie.org/8631327 Jan 14 02:54:34 it will look cleaner with java 8 ;) **** ENDING LOGGING AT Tue Jan 14 03:00:00 2014