**** BEGIN LOGGING AT Wed Sep 19 02:59:58 2012 Sep 19 03:02:24 freeone3000: how to save by the way in onPause()..and what i am going to save?? Sep 19 03:03:00 freeone3000: Firsttime in android by the way.....and i don't actually know what you mean Sep 19 03:03:52 hmm, i wonder where the developers of the various depth of field / hyperfocal distance calculators get data on all the manufacturer lenses, crop factors, etc Sep 19 03:15:25 g00s: a good deal of this information can be found merely in the APIs. Sep 19 03:15:46 Hodapp: oh, i meant standalone cameras :) Sep 19 03:15:47 g00s: some of it isn't in the APIs, but if you grab a JPEG image from the camera and look at the Exif data, it's there. Sep 19 03:16:08 g00s: oh, for standalone cameras, there are databases that include a lot of parameters Sep 19 03:16:24 one was called clens, but I don't know what form it became (I only used clens circa 2006) Sep 19 03:16:49 hmm, ok thx Sep 19 03:16:54 gonna buy me this soon Sep 19 03:16:54 http://www.motorcyclespecs.co.za/Gallery%20B/Ducati%20Streetfighter%20848%2012%20%203.jpg Sep 19 03:16:56 mmmmm Sep 19 03:17:10 why is bank of america's website so slow Sep 19 03:17:11 * canadiancow misses canada Sep 19 03:17:21 americancow ? Sep 19 03:17:26 also: to everyone who wants to buy me a drink, now is your chance Sep 19 03:17:28 :) Sep 19 03:19:02 and no, im not americancow Sep 19 03:19:09 i'm non-resident-alien-cow Sep 19 03:20:01 hi? Sep 19 03:24:02 ron_frown, very nice Sep 19 03:24:18 hell yes it is Sep 19 03:24:19 Hey guys, so I have been looking for a few weeks how to solve (something that I don't see how could be an issue) screen rotations on a simple ap. I rotate the screen, get a text anything the ap gets an out of memory error. At this point I've stripped it down to a single screen with 2 buttons on it. This one, rotate the screen 2, 3 times, crashes. On the real ap with a background instant crash .. http://pastebin.com/XxnAepkw http Sep 19 03:24:20 ://pastebin.com/XTsQc7Au http://pastebin.com/RNcsAfRJ Sep 19 03:25:21 ron_frown: what does your wife think :P Sep 19 03:25:44 I wanted a cheaper bike, said that one was the one I really wanted Sep 19 03:25:48 and she said just get that one Sep 19 03:25:50 soooo Sep 19 03:26:15 does she have a good life insurance policy out? Sep 19 03:26:17 :) Sep 19 03:28:36 I've been riding 5yr Sep 19 03:28:41 and never had even any close calls Sep 19 03:28:47 not to say it wont happen Sep 19 03:28:54 just gotta have self control Sep 19 03:29:08 well, often its not you Sep 19 03:29:29 I usually get yelled out for going off topic... Sep 19 03:29:30 yep Sep 19 03:29:35 aww that ducati is a nice bike! Sep 19 03:29:44 meh we're the regulars Sep 19 03:29:45 haha Sep 19 03:29:52 fair enough lol Sep 19 03:29:53 like my buddy who was going to the race track; lady came out of parking lot and almost killed him. he can't even see stright - seriously, he's so fucked up. he lived because he had some crazy safety armor stuff on for racing Sep 19 03:30:58 I never get on my bike without that crazy armor Sep 19 03:31:41 nothing quite like riding along the coast in shorts and singlet ;) ( until you come off :P ) Sep 19 03:32:29 I've crashed Sep 19 03:32:45 but thats what you get going into a corner hot, and take it into a ditch going 55mph Sep 19 03:32:59 or there is gravel in the road ... Sep 19 03:33:08 coyote runs in front of you ... Sep 19 03:33:18 I've hit tons of gravel and rocks and shit Sep 19 03:33:22 never had a problem with it Sep 19 03:33:41 or in my case, during downhill mountain bike practice, a fucking cow went across the road Sep 19 03:33:49 my rear wheel loves to get spinning on that shit - our roads suck here Sep 19 03:34:04 yeah I think thats the key Sep 19 03:34:12 get the shittiest jankiest bike and learn to ride that thing good Sep 19 03:34:17 in any conditions Sep 19 03:34:54 then get yourself a nice bike Sep 19 03:35:02 should be able to kick ass and take names Sep 19 03:35:03 you know these new ZX14Rs have traction control ? Sep 19 03:36:20 i always thought traction control and ABS were more of a goldwing thing :\ Sep 19 03:41:31 uhh LOTS of bikes have traction control now Sep 19 03:41:40 the ducati does, the tuonos do, Sep 19 04:38:46 anyone ever root their sgs3? Sep 19 04:40:19 dandaman1: try #android-root Sep 19 04:42:36 saik0: yeah, nobody's active there :\ Sep 19 04:43:11 dandaman1: thats irrelevant to whether or not it's offtopic here Sep 19 04:43:35 yeah, i was just gonna ask and then PM Sep 19 04:45:38 dandaman1 yes Sep 19 04:45:50 vzw sgs3 Sep 19 04:48:34 ron_frown: mind if i PM you? Sep 19 04:48:46 im not getting the install zipi from sdcard option in CWMrecovery Sep 19 04:48:46 go to android-root I'll answer there Sep 19 04:48:49 sure Sep 19 05:02:45 hi Sep 19 05:06:59 so g00s whats new bish Sep 19 05:10:49 I have 3 activities i.e A, B, C. We start with Activity A, in A we show a progress dialogue n make a network call, if it is successful we goto Activity B, in B again we show progress dialogue n make a network call, if it is successful we goto Activity C, the application is working perfectly but problem is I can see the transition from A->B->C, in those activity i am not setting the content view, content View is set if the network call fails, please can Sep 19 05:13:26 for any of you guys interested in my NSURLConnection analysis, i finally posted it: http://devtcg.blogspot.com/2012/09/significant-keep-alive-performance-flaw.html Sep 19 05:16:06 wrong channel? Sep 19 05:18:41 jasta: post it to HN Sep 19 05:18:57 seems kinda like the beefy shit HN geeks eat up Sep 19 05:19:13 and hopefully some good comments, or rebuttal :) Sep 19 05:20:17 ron_frown: hmm … not much, just reading. coming up with new ideas, etc / the usual. oh, and taking lots of crappy pictures ;) Sep 19 05:21:21 selling any apps? Sep 19 05:21:32 i have one app which is not selling :) Sep 19 05:21:43 g00s: was just moving over to there now Sep 19 05:24:36 ron_frown: fix your data grid ? Sep 19 05:24:54 hahahahah yes yes I did Sep 19 05:25:00 it was fucking retarded problem Sep 19 05:25:00 :) Sep 19 05:25:02 REAL retarded Sep 19 05:25:14 I am used to .net where you can do just .Columns etc Sep 19 05:25:28 well I call getColumns() cept in my implementation I had it building views Sep 19 05:25:38 so for each col for each row, it was rebuilding columns arrawy etc Sep 19 05:25:41 array Sep 19 05:26:38 having dynamic column means convertview isnt going to be able to work quite as well as a static view holder etc Sep 19 05:26:43 but it performs a LOT better Sep 19 05:26:54 still planning on a complete rewrite inheriting from view alone Sep 19 05:29:52 Is anyone here using OpenID for a native Android application? Sep 19 05:31:27 I have 3 activities i.e A, B, C. We start with Activity A, in A we show a progress dialogue n make a network call, if it is successful we goto Activity B, in B again we show progress dialogue n make a network call, if it is successful we goto Activity C, the application is working perfectly but problem is I can see the transition from A->B->C, in those activity i am not setting the content view, content View is set if the network call fails, please can Sep 19 05:33:25 faeezkadiri: maybe put the network calls in an intentservice, and just show one activity :) Sep 19 05:34:33 g00s: but its a requirement to do network calls in async task Sep 19 05:34:56 faeezkadiri: its a requirement to do network calls off the main thread; you dont have to use asynctask Sep 19 05:35:07 actually, i never use asynctask for network calls Sep 19 05:35:16 If I want to build only gingerbread, how would I go about setting up repo? Sep 19 05:35:58 flour, eggs, brown sugar, molasses (sp?) Sep 19 05:36:06 g00s why Sep 19 05:36:33 pandahacker, I don't know the answer to your question, but I can tell it lacks enough detail for someone to know what your asking Sep 19 05:36:42 g00s: I know that buddy but i am told to do it that way Sep 19 05:38:28 ron_frown: i'm sure you know this :P Sep 19 05:38:39 faeezkadiri: so run multiple asynctasks in one activity? I dont follow why you're using three. Sep 19 05:38:49 I dont Sep 19 05:40:39 i always do networking in a service. if the app is backgrounded w/asynctask doing networking, the process could be killed and you'll have to waste reading or writing stuff again (battery, cellular bandwidth, $$$). in a service, its a bit more reliable. and i think intentservice + event bus is very easy and elegant Sep 19 05:40:48 Is it ok passing an instance if calling activity in to an AsyncTask? on PostExecute I need to call a function of the activity. will that effect the main thread performance? Sep 19 05:41:32 do you use otto? Sep 19 05:41:38 anoop: use asynctask like this http://stackoverflow.com/questions/3357477/is-asynctask-really-conceptually-flawed-or-am-i-just-missing-something/3359003#3359003 Sep 19 05:41:44 ron_frown: no, i had my own before otto Sep 19 05:42:25 cool Sep 19 05:42:34 I am not sure I agree with that as an ideal solution Sep 19 05:42:41 but certainly apps may make more sense that way Sep 19 05:42:47 :) Sep 19 05:42:50 you have just the network calls/responses happen there? Sep 19 05:43:02 yeah Sep 19 05:43:06 and then the android app just pushes requests for the service to fire Sep 19 05:43:13 g00s: thanks for ur advice will try as suggested by u Sep 19 05:43:36 ron_frown: yeah. basically like virgil in the old i/o talk about android & rest Sep 19 05:43:48 I never saw it Sep 19 05:44:01 still relevant Sep 19 05:44:13 except for the part about "the source will be available" ;) Sep 19 05:44:29 it'd be super easy to move my shit into a service, but being that my connection manager fires of asynctasks Sep 19 05:44:44 it'd probably be better to refactor everything Sep 19 05:45:31 hey anyone has worked with ssl certificates? i have added the certificate for the code to work on android 2.2 or below devices.I am getting java.io.IOException: SSL handshake failure: I/O error during system call, Connection reset by peer . the whole post is here http://stackoverflow.com/questions/12405902/adding-certificate-for-android-2-2 . please help me guys .... Sep 19 05:46:30 IIRC virgil suggested using sqlite backed content provider to store responses (and some request state) Sep 19 05:47:31 saik0: he gave 3 options; i think you are referring to the 3rd Sep 19 05:48:13 holy mother of god, that sounds like a terrible idea Sep 19 05:48:39 Hmm, i vaguely remember the third involving a syncadapter. So maybe second :) Sep 19 05:48:58 Android03, are you trying to make https request if so I did it like this https://gist.github.com/3747894 Sep 19 05:49:50 Android03, and thats for a POST Sep 19 05:49:54 g00s : thanks for the link, http://stackoverflow.com/questions/3357477/is-asynctask-really-conceptually-flawed-or-am-i-just-missing-something/3359003#3359003 Sep 19 05:50:25 g00s my doubt is, will it work the same way if the AsyncTask class is outside the activity class? Sep 19 05:50:49 shit I just realized my network layer may be able to be improved Sep 19 05:50:51 this is because i have to call that task from more than one activities Sep 19 05:50:52 tagrudev : yes i ma making https resquest Sep 19 05:51:07 right now I have a asyntask dispatcher, and then communicate the results back via a handler and messages Sep 19 05:51:10 but I may not need the handler etc Sep 19 05:51:13 Android03, what ssl provider are you using ? Sep 19 05:51:24 since the onPostExecute appears to run on ui theread Sep 19 05:51:25 thread Sep 19 05:51:42 gnuanu: sure. its a static inner class (best practice) but it doesn't have to be Sep 19 05:52:12 g00s: ok, thanks :-) Sep 19 05:52:18 tagrudev : i don't know which ssl provider i m using , this certificate was given by the client . how can i check which provider it is? Sep 19 05:53:13 tagrudev : Actually i saw your code you using defaultHttpConnection , but i want to make use of HttpUrlConnection Sep 19 05:53:19 openssl s_client -connect iamawesome.com:443 Sep 19 05:55:07 interesting that apple designed its own arm cores possibly on the a6; and it looks like it was completed in 2010 Sep 19 05:55:45 meanwhile, sammy announces the sgs4 … uh, for like feb 2013 Sep 19 05:56:47 Android03, so the provider is ? Sep 19 05:58:19 tagrudev : here is the output i m geeting http://pastebin.com/4r98s5bB Sep 19 05:58:42 tagrudev : i don't know where to see the provider name? Sep 19 05:59:03 and what was the command you used ? Sep 19 05:59:54 you have to use the port usually 443 Sep 19 06:00:10 tagrudev : openssl s_client -connect server addreess Sep 19 06:00:43 Android03: openssl s_client -connect host:port Sep 19 06:00:55 tagrudev : oh ok Sep 19 06:01:49 tagrudev : hey but how do i know the port no the server is running on? Sep 19 06:02:08 tagrudev : i ll try with 443 Sep 19 06:02:39 do so Sep 19 06:02:43 hey guys, i'm looking at the GridView source code, and I'm wondering, does anyone know what mLayoutMode in layoutChildren() might do? Sep 19 06:03:10 tarudev : i did by port no 443 it says : gethostbyname failure connect:errno=110 Sep 19 06:03:31 tagrudev : i did by port no 443 it says : gethostbyname failure connect:errno=110 Sep 19 06:03:34 moreover, can i just copy and paste the gridview source code into my own file and modify as I need to? Sep 19 06:03:47 what about these com.android.internal references? Sep 19 06:04:22 Android03, paste me the exact command you're using you can query it to me Sep 19 06:04:30 hey, I'm getting a view from a fragment. but I always get a null pointer exception Sep 19 06:04:37 You need to copy the resources gridview uses to your own project Sep 19 06:04:50 And reference them via your own R Sep 19 06:05:16 SimonVT: sounds doable Sep 19 06:05:17 Is there any reason the garbage collection would be picking this up or something? Sep 19 06:05:33 https://gist.github.com/e44d516a3bcad41f5686 Sep 19 06:05:46 They also tend to use a lot of private fields/methods in the framework Sep 19 06:05:50 Gotta fix those as well Sep 19 06:06:07 tagrudev : yes i have got the provider its geotrust Sep 19 06:06:20 SimonVT: is it worth going through all the effort? Sep 19 06:06:40 i'm trying to create a gridview with equal spacing between items, both horizontally and vertically Sep 19 06:06:50 so that items in a row are not necessarily aligned to each other Sep 19 06:07:02 I'll go down this gridview re-write route if I have to Sep 19 06:07:07 just wondering if there's an easier way. Sep 19 06:07:17 No idea Sep 19 06:07:42 hmm. Sep 19 06:08:26 Android03, check if it has any issues with android now :) Sep 19 06:09:03 tagrudev : i didn't get you. what i need to check with android? Sep 19 06:09:15 Android03, http://code.google.com/p/android/issues/detail?id=10807 Sep 19 06:10:29 tagrudev : i saw this post . do u want to say the failure is from the provider ? Sep 19 06:12:11 Android03, last time i did ssl shits with android I found out that I have to install additional CA certificates on top of the one I had Sep 19 06:12:25 just a thought that your code maybe right and the problem may be this :) Sep 19 06:14:29 tagrudev : so how can i install this additional CA certificate and where i can get this ? Sep 19 06:15:29 "A test of the iPhone 5's new A6 processor yielded a surprisingly quick score on SunSpider's JavaScript benchmarking tool, with the system on chip topping even the Medfield Atom Z2460." … wow, hats off Sep 19 06:16:05 tagrudev : check this i m getting from the command for getting provider . may be you can find out something http://pastebin.com/Zu98kkd0 Sep 19 06:16:13 * g00s adds usual disclaimer about synthetic benchmarks Sep 19 06:16:14 g00s who cares... iphones blow Sep 19 06:16:21 software blows Sep 19 06:16:38 i think the ui is getting stale, the hw is awesome though Sep 19 06:16:52 leave it to apple to tweak a few components of x hardware and spin it off as some miraculous new thing Sep 19 06:17:00 hw isnt really that awesoem Sep 19 06:17:13 ist just that android ui etc requires more resources to get it to run smooth Sep 19 06:17:49 I dont think android would have taken off as well as it did if it were c++ only, but I think it would have been a lot easier to make stuff perform well on a 800mhz processor Sep 19 06:18:03 thats why I wanted android to adopt clutter and mx toolkit Sep 19 06:18:07 vs view shit they have Sep 19 06:18:24 Android03, hmm try to access your host from the browser of your phone if it gets through it is ok Sep 19 06:18:31 i never heard of those. anyhow, i don't plan on getting one (but maybe i would get an ipod touch for dev) Sep 19 06:18:33 I dont know if that woul dhave actually improved anything with the rest of the VM in place Sep 19 06:18:42 Is it possible to open a file from a class that does not extend activity and where I have no reference to a context? Sep 19 06:18:42 tagrudev : ok Sep 19 06:18:46 g00s - clutter is in use in a lot of infotainment/tv's etc Sep 19 06:18:59 mx toolkit is ui components for it that were built for meego Sep 19 06:19:28 interesting Sep 19 06:19:44 anyone ever submitted an app to the samsung store before? Sep 19 06:19:51 https://clutter-project.org/ Sep 19 06:19:54 samsung has a store ? Sep 19 06:20:02 check out the "media explorer" video Sep 19 06:20:02 lulx Sep 19 06:21:06 yeah, pretty cool. Sep 19 06:21:29 I though the 4s was even <= 1ghz Sep 19 06:21:50 you can do shit like that with a fully native application and ui Sep 19 06:22:56 on the other hand, its kinda pointless if the applications and UI are designed to run on a lot less, and its so easy to build compliant apps Sep 19 06:23:24 my boss was askign me why we didnt go quad processor for our custom hardware, and I was trying to explain its additional cost for probably no additional gain Sep 19 06:23:35 ron_frown: is ubuntu using clutter in their forthcoming mobile stuff ? Sep 19 06:23:59 with the exception of MAYBE games... most apps will run decent on my old original galaxy s Sep 19 06:24:02 tagrudev: it open a dailog says : there are problems with the security certificate for this site Sep 19 06:24:03 dunno Sep 19 06:24:15 Android03, so here we have an answer :) Sep 19 06:25:07 tagrudev: i have very little knowledge of certificates . can you tell me what does that mean? Sep 19 06:25:27 g00s its extremely lightweight toolkit thats super powerful, and designed for antiquated hardware Sep 19 06:25:31 like the eepc shit Sep 19 06:25:55 Android03, ask the client exactly what type of ssl did he buy, search for a solution on how to make it trusted on android Sep 19 06:26:04 I was getting pissed at the android dev tools, the ui toolkits etc Sep 19 06:26:08 howdy, I launch the following intent but I don't see any video playing. What am I doing wrong? Log: http://pastebin.com/Un87mU5t Code: https://github.com/phonegap/phonegap-plugins/blob/master/Android/VideoPlayer/2.0.0/src/com/phonegap/plugins/video/VideoPlayer.java Sep 19 06:26:24 I was going to build some helper frameworks for c++ and use clutter+mx on android to build lightning fast apps Sep 19 06:26:48 seems like thats somewhat expirimental atm Sep 19 06:27:02 tagrudev : ok you mean we need to talk to the provider also try make our things work on the android devices Sep 19 06:27:26 tagrudev : ok you mean we need to talk to the provider also to make our things work on the android devices Sep 19 06:27:54 you need to talk to your client and ask him the exact type of certificate he bought :) Sep 19 06:31:56 tagrudev : ok , if he provides me the exact type of certificate then things must be working ? Sep 19 06:32:39 Android03, then you can investigate on how to make it a trusted one for your android Sep 19 06:33:03 tagrudev : i guess there are lots of things involved with this ssl certificate issue. can you provide me the link so that i can better understand this Sep 19 06:35:03 Android03, there is no exact link I can provide get familiar with the topic Sep 19 06:35:35 tagrudev : ok no problem. thanks a lot to help me Sep 19 06:36:04 yw :) Sep 19 06:54:37 does anyone here by chance have a really good understanding of views? Sep 19 06:56:15 lethjakman: I do Sep 19 06:56:56 haha Sep 19 06:57:05 I have a view that I can add items to Sep 19 06:57:09 but only when I'm not inflating it Sep 19 06:57:27 if it's inflated through the setcontentview the items display Sep 19 06:57:42 but if I inflate it from another content view it doesn't work. Sep 19 06:58:01 "but if I inflate it from another content view it doesn't work." << I don't understand what this means Sep 19 06:58:40 https://gist.github.com/ea34ecafd85c8390e594 Sep 19 06:58:43 inflating like that Sep 19 06:59:07 what do you do with afragment then? Sep 19 06:59:14 you need to add it to your activity Sep 19 07:00:04 how do you mean? Sep 19 07:00:11 let me show you everything that would add the list Sep 19 07:00:15 https://gist.github.com/5306608aeade24f690f7 Sep 19 07:00:53 why are you doing addContentView()? Sep 19 07:01:02 oops, ignore that Sep 19 07:01:14 I read online that that's what I needed to do, it just casues a crash Sep 19 07:01:22 call setContentView() Sep 19 07:01:29 you need to add your inflated View to the Activity Sep 19 07:01:30 where? Sep 19 07:01:43 oh! Sep 19 07:01:50 setContentView(R.layout.main); Sep 19 07:01:53 that's at the top Sep 19 07:02:01 I excluded a lot of the tab code Sep 19 07:02:05 but that's a different layout Sep 19 07:02:22 once you inflate R.layout.afragment you need to add it to your Activity Sep 19 07:02:26 you're not doing that Sep 19 07:02:59 setContentView(afragment); Sep 19 07:03:02 is that what you mean? Sep 19 07:03:46 for example, or add it to a viewgroup in your current content view Sep 19 07:05:02 I don't think I'm understanding Sep 19 07:06:39 You have a reference to afragment.. But afragment is not added to your content view Sep 19 07:06:43 So it will not be drawn Sep 19 07:07:13 For it to actually show up on your screen, you have to add it Sep 19 07:07:38 Either through setContentView, or by calling ViewGroup.addView(afragment) on a viewgroup that already exists in your content view Sep 19 07:10:46 if I try either setContentView(afragment); it crashes. is that wrong? Sep 19 07:11:23 SimonVT: huh, should'nt that be added with a FragmentTransaction? Sep 19 07:11:58 it's layout with an inflated fragment, not a programmatic fragment (believe that makes a diff) Sep 19 07:12:14 or perhaps it doesn't even contain a fragment and is just.. cleverly named? Sep 19 07:12:31 it does contain a fragment Sep 19 07:14:01 howdy, I launch the following intent but I don't see any video playing. What am I doing wrong? Log: http://pastebin.com/Un87mU5t Code: https://github.com/phonegap/phonegap-plugins/blob/master/Android/VideoPlayer/2.0.0/src/com/phonegap/plugins/video/VideoPlayer.java Sep 19 07:14:19 note changing the URL from S3 to youtube works just fine Sep 19 07:17:09 I mean....I can see the listview....it's just empty Sep 19 07:17:25 it's inside of a fragment inside of the R.layout.main if I understand right Sep 19 07:18:52 Anyone knows a website with screenshots for Android app showcases? Sep 19 07:19:03 i.e. user interface design and flows Sep 19 07:25:11 hey guys Sep 19 07:25:56 i need suggestion about which is the best JSON parser to be used in Android Sep 19 07:26:54 Hello? anyone?? Sep 19 07:27:16 Clandestine: ? Sep 19 07:27:39 i need suggestion about which is the best JSON parser to be used in Android Sep 19 07:28:11 and here we are again, back in work Sep 19 07:28:20 Good Morning everyone Sep 19 07:28:34 edwinkcw: do you have an idea about it??? Sep 19 07:28:53 Clandestine: I don't know, I used the default one Sep 19 07:28:59 Clandestine: I think gson is okay too Sep 19 07:29:53 edwinkcw: that means you use JSONObject Sep 19 07:30:11 yep Sep 19 07:30:36 edwinkcw: i know about gson, its actually way better than the default implementation. But i was confused about it with other parsers like Jackson, SimpleJson, etc Sep 19 07:31:21 s/SimpleJson/FastJson Sep 19 07:33:14 Anyone, which is the best JSON parser and why? Sep 19 07:34:08 why do you need to concern about it? Sep 19 07:35:43 I'm employing JSON serialization/deserialization in an application to store contact details in sharedprefs... so its quite a concern for me to have the best JSON parser available for android Sep 19 07:35:57 store/retrieve* Sep 19 07:36:19 clandestine org.json... Sep 19 07:38:03 there's no comparison over there.... they just list down the parsers with little bit of specification Sep 19 07:38:25 i put the question here in hope that someone might have done comparison manually Sep 19 07:39:15 Clandestine: but I don't know what you mean "the best" Sep 19 07:39:52 edwinkcw: haha... superlative case... the parser that actually works the smoothest Sep 19 07:41:40 I think in most cases, the default JSONObject is enough Sep 19 07:42:04 do your own benchmark then... Sep 19 07:42:08 srsly Sep 19 07:44:35 edwinkcw: hmmm... i see Sep 19 07:45:20 Ivru: if you don't have to-the-point suggestions, keep mum. Sep 19 07:46:40 Clandestine: I told you about the org.json package... Sep 19 07:50:26 Ivru: thanks a billion tons for that. By the way, the site is a very basic info Sep 19 07:52:29 when i set my key for the google maps api, should i include the colons? Sep 19 07:53:38 strange, when using tabs + swipe and when tabs are shown as a spinner in the action because of a lack of space, when swiping the spinner is not updated Sep 19 07:53:56 is this a known bug? Sep 19 07:54:43 whomp: that colon seperated string isn't your Google Maps API key Sep 19 07:55:07 that's a token which you need to use to generate the API key Sep 19 07:55:08 what is it, then? Sep 19 07:55:14 ook Sep 19 07:55:33 check the documentation at Google Maps documentation properly Sep 19 07:55:39 they have provided steps for it Sep 19 07:56:27 ahh OK Sep 19 07:56:27 thx Sep 19 07:56:40 https://developers.google.com/maps/documentation/android/mapkey Sep 19 07:57:43 that colon separated string is the MD5 Fingerprint of Your Signing Certificate Sep 19 07:57:50 gmazoyer: yeah, there's a bug regarding that Sep 19 07:58:09 gmazoyer: Try googling the method, you should find some posts about it Sep 19 07:58:25 . Sep 19 08:00:21 SimonVT: ok thanks for confirming :) Sep 19 08:21:44 anyone has info on the ILicensingService service part of the LVL, failing to bind (binService() return false), on some generic unbranded ICS tablets ?: https://groups.google.com/forum/#!topic/android-developers/cVzMMQL9yuU. I'm looking to understand under which condition this failure happens... Sep 19 08:46:18 Why am i seeing this in my logcat? http://pastebin.com/X9LL1fWW Sep 19 08:46:56 this is in my onCreate() http://pastebin.com/D5UXmKs7 Sep 19 08:48:53 run roosterparser asynchronous Sep 19 08:49:28 it is ran async... Sep 19 08:50:13 ixc, http://pastebin.com/00XSN5iV Sep 19 08:57:56 ixc? Sep 19 08:59:46 this info log from ur application? Sep 19 09:00:28 http://stackoverflow.com/questions/11266535/what-is-android-choreographer Sep 19 09:00:37 first result on google Sep 19 09:01:13 ixc, yes it's part of the log, and i want to know why it's moaning about it doing too much in the main thread. Sep 19 09:01:37 is GCM free? Sep 19 09:01:59 hoangtran, yes Sep 19 09:02:28 ixc, it's on my phone by the way Sep 19 09:06:59 Hey Sep 19 09:07:32 Is it a feature of MediaRecorder to not tell me that the specified Audio Sampling Rate is not available? Sep 19 09:07:32 iSeeDeadPixels: thx, so if for push notification only, GCM will be better than services like Parse.com, right? Sep 19 09:10:19 probably, yes @ hoangtran Sep 19 09:10:38 ok, new question, why is onCreate() called when i change orientation? Sep 19 09:11:21 iSeeDeadPixels, http://developer.android.com/guide/topics/resources/runtime-changes.html Sep 19 09:12:09 iSeeDeadPixels: hehe, the whole activity recreated when rotating, that's what google choose :) Sep 19 09:18:12 If I was looking to develop (and be required to) use a multi platform IDE like PhoneGap, Titanium, Marmalade,... which would you guys pick, if any? Sep 19 09:19:04 I'd love to develop natively, but are there any frameworks that won't make my eyes bleed because I can't have native Apps and thus, UI look and feel? Sep 19 09:24:12 mono Sep 19 09:25:19 kakazza, eclipse :D Sep 19 09:25:49 ;p Sep 19 09:26:32 iSeeDeadPixels: MonoTouch? Sep 19 09:26:35 almost all multiplatform framework make wrappers for some native function + only a webview Sep 19 09:26:48 I see they have XCode support for Storyboards, so that's a plus. Sep 19 09:27:10 ixc: I know, very few are native. :\ Sep 19 09:27:46 make your application with native code and use opengl Sep 19 09:27:50 easy to port :) Sep 19 09:28:21 ;) Sep 19 09:28:35 I think for that kinda stuff, there _are_ cross platform frameworks. Sep 19 09:28:46 Mostly in C/C++ tho. Sep 19 09:29:13 Are there non-game Apps that are written in OpenGL? Sep 19 09:29:21 I mean, notabale ones. Sep 19 09:29:39 I dunnon about notable ones, but I have made a video player. Sep 19 09:30:01 it renders the frames from opengl es 2.0 textures, because of the need to use software decoder. Sep 19 09:36:00 Xamarin.com is the best cross platform solution... Sep 19 09:44:35 When (for example), weather apps say they'll update every 24 hours, how do they do that? I understand the life cycle of a regular app, but not of a widget on the home screen. Sep 19 09:45:28 They use alarmmanager Sep 19 09:46:24 Thanks, that looks about right. I was looking and all i could find was ebooks (teach yourself in x hours) Sep 19 09:46:48 They can also just define in their provider how often they want the widget to update Sep 19 09:46:52 Hi there, I have a editText inside a frameLayout. How can I set the top margin for the editText to 20dip through code? Sep 19 09:47:07 sorry 120dip Sep 19 09:47:07 SimonVT: Provider? Sep 19 09:47:37 http://developer.android.com/guide/topics/appwidgets/index.html#MetaData Sep 19 09:48:32 If you want that configurable, you can just manage it yourself with a service and alarmmanager Sep 19 09:48:56 Yeah, the provider thing seems a bit better actually. Thanks Sep 19 09:49:36 Depends on what your requirements are Sep 19 09:50:26 If you set it in xml, you'll get a callback to your AppWidgetProvider when it's time to update Sep 19 09:50:32 To onUpdate Sep 19 09:51:12 With alarmmanager you get that as well, you just gotta tell the framework to do it manually Sep 19 09:51:27 ok, FrameLayout.LayoutParams is what I needed Sep 19 09:53:12 I'ts just going to be a weather app for mars weather, so updating every 24 hours is plenty. Sep 19 09:54:49 Yeah, just keep it simple if it's your first widget Sep 19 09:56:06 I am currently writing an App that uses Fragments and the support library for dynamic UIs on different screens (two-pane on tablets)... Now I added a button to the layout of the ListView visible only on single pane displays below the fragment that shows the list. It works on the single pane devices but not on a tablet... the weird thing is that if I put the button above the ListView fragment it works on both systems... Sep 19 09:56:29 how can the sole order of items in a layout cause a NullPointerException on the tablet? Sep 19 09:57:21 It doesn't :p You're missing something somewhere Sep 19 09:57:35 Maybe you forgot to add it to the layout used in some configuration on tablets Sep 19 09:58:58 Actually Sep 19 09:59:03 Make sure you clean the project Sep 19 09:59:05 well I havend used the button yet at all Sep 19 09:59:13 t Sep 19 09:59:30 it's just put in the layout file Sep 19 09:59:42 Reordering views in layouts can sometimes mess up, and not update the id's in already compiled classes Sep 19 10:01:57 I just checked again: if I remove the button from the layout file it works everywhere... and if I just put the