**** BEGIN LOGGING AT Tue Sep 24 02:59:59 2013 Sep 24 03:00:50 yea Sep 24 03:00:53 i hated it Sep 24 03:01:02 so footery Sep 24 03:01:20 could spend a couple of hours easy just doing digrams Sep 24 03:04:16 only if programing was as eas as reading all though programing books lol Sep 24 03:12:03 thepiratebay to the rescue, they actually have links to the videos I want Sep 24 03:12:23 <^cheeky> what videos ? Sep 24 03:12:51 some old anime Sep 24 03:12:58 I ripped and encoded some of my dvds to bring with me Sep 24 03:13:03 but I corrupted copying an episode to my nexus 7 Sep 24 03:13:03 yaoi ? Sep 24 03:13:32 lol Sep 24 03:13:46 speak for yourself Sep 24 03:13:47 <^cheeky> anime!!!! yess Sep 24 03:14:07 you guys remind me that I am way behind on my watching queue Sep 24 03:14:12 and I have no way of fixing that Sep 24 03:14:28 sure you do, just turn it on as your background noise Sep 24 03:14:39 pfn: My current hw won't play Sep 24 03:14:44 <^cheeky> guys , do have to only use inBitmap if i find one in the Re-usable hashset ? Sep 24 03:14:56 pfn: I have to wait for few paychecks to come in Sep 24 03:15:02 * pfn wanders downstairs to the gym Sep 24 03:15:02 I hope it doesn't suck Sep 24 03:15:04 p_l, saywhat Sep 24 03:15:17 use any pc to play? Sep 24 03:16:07 pfn: my only PC is broken rather much Sep 24 03:16:29 and a lot of my storage is locked out as well till I bring parts Sep 24 03:16:31 bummer Sep 24 03:17:18 no streaming from my laptop as well, unless they fixed uni network Sep 24 03:17:30 (previously it isolated every client from each other) Sep 24 03:18:19 hey ... can someone tell me what i need to do to receive a system broadcast intent? im specifically trying to receive an indication when the bluetooth state changes, which is sent out by the system Sep 24 03:19:02 canurabus, simple, add it to your intent filter Sep 24 03:19:16 all broadcasts can be received as long as it's not targeted to a component Sep 24 03:20:11 pfn: is that something i do in an activity? Sep 24 03:24:36 Is Android Studio on topic here? Sep 24 03:25:57 lots of topic around AS, especially about it ruining projects when people upgrade ;) Sep 24 03:26:53 Heh - I was just going to mention a funny: If you start a block comment towards the top of a class, POOF! all your imports get deleted Sep 24 03:27:11 AS immediately removes all the 'unused' imports Sep 24 03:28:15 CTRL+Z will get you back, and I guess you can turn on autoimport, but somewhat of a PITA Sep 24 03:28:28 never saw that Sep 24 03:28:37 Overall AS > Eclipse for sure Sep 24 03:28:49 well, really, anything is Sep 24 03:28:55 I think you can disable import cleanup Sep 24 03:29:10 maybe I have a goofy IDE setting, but in a class constructor I started a block and BAM no more imports Sep 24 03:29:20 looking now Sep 24 03:30:17 I have goofy key bindings in IntelliJ that make me look slightly insane/impatient. Sep 24 03:30:32 like what ? Sep 24 03:31:53 I have a parent view where a TextView is one of its grand child. I want to force the textview to remeasure (to accomodate its changed text) from parent view. forceLayout or requestLayout or invalidate did not work. Any suggestion? Sep 24 03:32:43 "Optimize imports on the fly" is the setting that will screw you Sep 24 03:33:03 my life with AS has been relatively hassle free , but i make an effort to not stray from the straight and narrow Sep 24 03:33:17 I turned it off, and block comments work now, all the imports just turn gray until I close my block comment Sep 24 03:33:36 I try to as well, since I was sooo sick of Eclipse, I'm using AS in production Sep 24 03:34:08 but use Vim for all server side coding for Node.js Sep 24 03:35:08 how's node going for ya ? Sep 24 03:35:36 I love it Sep 24 03:37:00 I have an Android REST client and Node.js is providing my REST server Sep 24 03:37:45 very active developer community, just like Android Sep 24 03:37:46 do you have something behind node to do the data calls or does node do it all for you? Sep 24 03:38:06 I use MongoDB NoSQL database Sep 24 03:38:23 and the native node.js mongo database driver Sep 24 03:40:04 my only struggle is my own, DB atomicity in an async evironment. Sep 24 03:40:36 i don't really get it, to be honest. it just seems like a "do it coz you can" kinda thing Sep 24 03:41:28 Nah, Node is a dream, seriously, BUT I didn't come from Ruby/Rails Sep 24 03:41:59 coming from a LAMP stack to Node is sweet Sep 24 03:42:34 neeky: well, LAMP involves two fundamental errors: PHP and MySQL. I don't see how fixing only one of them is that great ;) Sep 24 03:42:54 bankai_ yeah, i dont get it either from the "is you know js, you can use it here too perspective" … but wonder if there is value in having js on the server if code is shared between both client / server (maybe for validation) Sep 24 03:42:55 node fixes AMP, and the L is good Sep 24 03:43:28 the "A" is not really fixed - I wouldn't put node on directly facing host Sep 24 03:43:37 p_l P can be bython Sep 24 03:43:42 very little code is shared between client and server the majority of the time, that's not really a reason top use node Sep 24 03:43:50 lol PYThon Sep 24 03:44:01 g00s: it stands usually for something much different, with occasional smattering of Perl ;) Sep 24 03:44:04 neeky oh, ok. Sep 24 03:44:09 but theer is a browserify bandwagon that people jump on, but I'm not on it Sep 24 03:44:42 what about all the queuing, threading, caching etc. are you writing all that yourself in node ? Sep 24 03:44:57 But I DO run nginx in front of node, for SSL and general security Sep 24 03:45:09 bankai_: not like he didn't have to write that in PHP as well ;) Sep 24 03:45:16 Node is javascript - no threading :) Sep 24 03:45:32 ok definitely don't see a point in it now Sep 24 03:45:36 i dont even think js has real integers :| Sep 24 03:46:13 node is asynchronous, so no threading is a huge advantage Sep 24 03:46:38 node is single-threaded, non-concurrent mess of callbacks and state ;) Sep 24 03:47:05 nihil novi sub sole Sep 24 03:47:25 how are people running this on a large scale then ? Sep 24 03:47:59 bankai_, thats the deal, people get hung up in threading (see the pun) but node is tremendously scalable and fast Sep 24 03:48:13 how ? Sep 24 03:48:27 bankai_: the same thing they did with Rails, PHP, and JS in browsers: Crotch rocketry Sep 24 03:50:10 the scalability mirage comes from the fact that a lot of node apps are i/o bound anyway, so if you remember to jump around a lot you're fine Sep 24 03:51:08 I have a parent view where a TextView is one of its grand child. I want to force the textview to remeasure (to accomodate its changed text) from parent view. forceLayout or requestLayout or invalidate did not work. Any suggestion Sep 24 03:51:51 bankai_: funny thing - PostgreSQL is faster at NoSQL stuff than Mongo, iirc Sep 24 03:52:04 p_l i've been kinda confused to see a few projects, embedded like arduinos, come with Js as their main environment Sep 24 03:52:36 g00s: well, it's the new BASIC Sep 24 03:54:08 I suppose node.js is faster than other ways for constant updating Sep 24 03:54:11 LinkedIn mobile is an example of a well scaled node app Sep 24 03:54:24 so is AirBnB Sep 24 03:54:45 shmooz: not really, afaik you still need to restart the app Sep 24 03:56:41 I use forever, it restarts my app when code changes Sep 24 03:57:00 Unless you have hot-patching, you have nothing new over everyone else ;) Sep 24 03:57:17 neeky where does LinkedIn use node ? Sep 24 03:57:34 (and hot-patching has been there since 80s - even Windows has some level of support for it!) Sep 24 03:57:37 then again, FB uses PHP so thats not a good argument ;) Sep 24 03:57:48 Their mobile server is 100% node Sep 24 03:57:54 i see Sep 24 03:58:11 NyTimes uses node too Sep 24 03:58:46 neeky: they don't need that much processing in it, frankly speaking Sep 24 03:59:24 Personally, I think a lot of the "scale" is because a lot of web devs are used to stuff that has *horrible* performance and *horrible* model behind it Sep 24 04:00:02 ok I'm gonna read this crap now, thanks to you guys ... http://www.nodebeginner.org/ Sep 24 04:00:06 even Rails was in a way a step-up from PHP, and it was excessively slow and broken even without the evaluator model of Ruby MRI <=1.8 Sep 24 04:00:23 neeky that new Blog platform uses Node … whats it called Sep 24 04:00:29 shmooz: if you ever want crazy scale in terms of concurrency, look up Erlang :) Sep 24 04:00:34 what are the benefits, why would someone want to use it ? Sep 24 04:00:52 Ghost Sep 24 04:00:58 shmooz: of Erlang? Sep 24 04:01:04 no node Sep 24 04:01:16 anyway, that site will tell me all about it I suppose Sep 24 04:01:40 g00s, not sure Sep 24 04:01:51 neeky http://ghost.org/ Sep 24 04:01:54 ah Sep 24 04:01:54 I was about to do php mysql connection to android app, but now maybe this is better Sep 24 04:02:09 shmooz waaat Sep 24 04:02:11 I'm having very good luck with it Sep 24 04:02:13 shmooz: php and mysql are rarely a good choice Sep 24 04:02:36 We are no longer constrained by shitty shared hostings with PHP and MySQL as only options Sep 24 04:02:39 p_l: you need a mid layer php to communicate between android app and mysql Sep 24 04:02:40 node.js, express, mongodb, and mongoose are the major components of my REST api Sep 24 04:02:57 shmooz: MySQL is not a good option either Sep 24 04:03:14 well its what I had on my server already Sep 24 04:03:15 mongodb is asking god to test your disaster recovery skills, too :) Sep 24 04:03:30 I deploy on Amazon Ec2 in seconds, using post-commit git hooks Sep 24 04:03:32 mongo disasters Sep 24 04:03:57 and funnily enough, it seems that PostgreSQL can kill Mongo in performance Sep 24 04:03:58 yes, i've heard all about the mongodb disasters, but i have not second guessed myself yet - Sep 24 04:04:39 CoucDB and Cassandra are options Sep 24 04:05:01 yeah, I got no bones about PostgreSQL Sep 24 04:06:19 but i'm not sure what started the 'mongo is bad for disaster recovery' meme Sep 24 04:06:26 you'll still need some php with PostgreSQL for security reasons Sep 24 04:06:43 you don't want to store your db user/pass on the app apk Sep 24 04:07:14 yeah, you'll want a session based REST API if you need to consume data services Sep 24 04:08:41 that was the best part, the Android side was a piece of cake Sep 24 04:08:54 just http verbs, and JSON Sep 24 04:09:07 weird thing about intellij is one of my projects, it keeps importing the nested classes of R Sep 24 04:09:21 so my R.whatever.foo becomes whatever.foo Sep 24 04:09:23 very annoying Sep 24 04:09:32 shmooz: and PHP is also not a good choice ;) Sep 24 04:09:39 php is teh suck choice Sep 24 04:09:54 ok a server side language Sep 24 04:10:02 I like php Sep 24 04:10:08 it's so garbage Sep 24 04:10:16 it reminds me of C Sep 24 04:10:23 of C? Sep 24 04:10:24 saywhat Sep 24 04:10:28 it's a bastardized perl Sep 24 04:10:31 how can it remind you of C Sep 24 04:10:32 and it's deliriously kept to CGI model Sep 24 04:10:41 perl reminds me of C too Sep 24 04:10:57 the only reason perl can remind you of C is that many of its built-in functions mirror posix C calls Sep 24 04:11:00 but that's it Sep 24 04:11:01 pfn: well, it was written as macros in C that resembled C because Perl was too hard for the author ;) Sep 24 04:11:04 it has absolutely no resemblance to C Sep 24 04:11:10 I'm in a specific situation where I need to initialize a list adapter before the view being inflated for the ListFragment. This is my code : https://gist.github.com/anonymous/6680264 Since every time the onActivityCreated() is called, the onScroll Listener is being called with (0,0,0) as its parameters. Is there any way to fix this problem? Sep 24 04:11:17 * pfn remembers when php was phpfi Sep 24 04:11:30 anything that ends statements with semicolons reminds me of C Sep 24 04:11:46 so java reminds you of C Sep 24 04:11:47 ok Sep 24 04:11:55 of course Sep 24 04:11:59 Is there any way to clear off all the list items when a fragment is resumed atleast? Sep 24 04:12:36 they are all C like languages Sep 24 04:13:29 well, java is somewhat C like in syntax Sep 24 04:13:32 perl... not so much Sep 24 04:13:33 and I've found PHP libs to be pretty useful and convenient Sep 24 04:13:38 * napster believes the Fragment lifecycle should have been as same as the Activity's, that a resuming fragment should land in onResume() and not in onCreateView() :) Sep 24 04:14:40 well, java does have curly brackets :P Sep 24 04:14:48 reminds me of c :D Sep 24 04:14:53 p_l, oh, and about your uni network isolating all your devices from each other, buy a cheapshit router to get around that and nat your dorm room Sep 24 04:15:01 also, the FUD about mongo was before it had journaling - it is as durable as couch and PostgreSQL since version 2 something Sep 24 04:15:06 pfn: right now I have no room nor place to sleep Sep 24 04:15:19 homeless bum Sep 24 04:15:29 go sit on the corner and hold a sign up saying "will code for food" Sep 24 04:15:30 :p Sep 24 04:15:36 neeky: it's nowhere as durable as Postgres, sorry. It might not have horribly idiotic behaviour, but it will take time for it to be vetted Sep 24 04:15:40 pfn: the problem is not money Sep 24 04:15:53 I can throw it, but nothing happens Sep 24 04:16:47 throw the money my way then ! Sep 24 04:17:26 hargh I cant seem to change the theme using android studio Sep 24 04:17:40 what's to change? Sep 24 04:17:44 set the theme in AndroidManifest.xml Sep 24 04:17:49 what does android studio have to do with it? Sep 24 04:17:52 Holo.Light.NoActionBar.FullScreen still shows action bar :\ Sep 24 04:17:57 i dunno, I was thinking maybe its a bug Sep 24 04:18:14 maybe he means the theme of the IDE Sep 24 04:18:22 shows actionbr where? Sep 24 04:18:22 in the preview? Sep 24 04:18:22 * pfn shrugs Sep 24 04:18:30 no the preview looks right Sep 24 04:18:33 I never really count on the design preview Sep 24 04:18:34 the app itself doesn't match the preview Sep 24 04:18:44 tnzr, then your app isn't reading the manifest like you think you set Sep 24 04:18:52 use aapt d xmltree Sep 24 04:19:16 hmm ok.. I did notice that ther eare several values folders under res Sep 24 04:19:26 pfn: ok Sep 24 04:22:19 I'm in a specific situation where I need to initialize a list adapter before the view being inflated for the ListFragment. This is my code : https://gist.github.com/anonymous/6680264 Since every time the onActivityCreated() is called, the onScroll Listener is being called with (0,0,0) as its parameters. Is there any way to fix this problem? Sep 24 04:37:51 how can I change the Project Build Target from android 4.3 to an earlier version? I don't see anything in the eclipse "Project -> Properties -> Android -> Project Build Target" ui to change this :( Sep 24 04:39:17 ahhughes: you declare it in your AndroidManifest.xml Sep 24 04:39:22 you might have to change in the project.properties file Sep 24 04:39:44 ahhughes, You must install the api first then edit build-target Sep 24 04:40:51 I've got all the api's installed since 2.2 Sep 24 04:41:31 but I only have a checkbox in the ui for 4.3 Sep 24 04:44:36 i'm never going to figure this out. i need "how to partition your layouts, fragment, activities for phones and tablets of all sized for dummies". looking at the iosched app, its structure is not obvious to me at all. Sep 24 04:44:44 project build target goes in project.properties Sep 24 04:44:47 or build.gradle Sep 24 04:44:54 project api target goes in AndroidManifest.xml Sep 24 04:44:59 api target defines app behavior Sep 24 04:45:08 build target declares what version to compile against Sep 24 04:45:34 ahhughes, just quit eclipse, edit project.properties Sep 24 04:45:48 and change target=android-N Sep 24 04:45:57 re-start eclipse and presto, everything works like magic Sep 24 04:46:09 <^cheeky> when i get different size images .. they never gonna be able to use inBitmap, even if calculate the inSamplesize :( Sep 24 04:46:29 try coherent english? Sep 24 04:47:01 cheers! Sep 24 04:50:03 <^cheeky> i am trying to implement inBitmap with BitmapFactory.Options, these images i get from flikr, are all different sizes, even after i calculate the inSample size for the BitmapFactory, and decode these images never match Sep 24 04:53:53 never match what? Sep 24 04:54:22 <^cheeky> the images stashed in the LruCache object Sep 24 04:54:45 now you're really making no sense Sep 24 04:55:36 <^cheeky> ok .. inBitmap usually works for images of the same size right Sep 24 04:56:02 <^cheeky> so if i am using images fetched from the net, they are all of different sizes Sep 24 04:56:52 <^cheeky> how would i re-use the bitmap or use the Bitmapfactory.options.inBitmap functionality Sep 24 04:59:22 well, first off, you can't re-use the bitmap Sep 24 04:59:27 a bitmap has a fixed dimension Sep 24 04:59:39 so if your input bitmaps all have different dimensions, they will be scaled Sep 24 05:00:25 hello all Sep 24 05:00:39 napster, but onResume is the landing call... Sep 24 05:00:51 napster, anything else is counter to what is documented, and would be wrong Sep 24 05:01:12 hey QubeZ Sep 24 05:01:25 hey g00s Sep 24 05:02:54 <^cheeky> pfn: they will be scaled differently hence the widths and heights would be different Sep 24 05:03:15 ^cheeky, have you even read the documentation for what inBitmap does? Sep 24 05:03:20 The current implementation necessitates that the reused bitmap be mutable and of the same size as the source content. Sep 24 05:03:25 reading OP Sep 24 05:03:26 <^cheeky> yes ..:( Sep 24 05:04:04 <^cheeky> ok i am not very bright i am just trying not have such big pauses caused by the GC Sep 24 05:05:37 create less garbage, recycle earlier and faster Sep 24 05:06:14 gc pauses also get longer as you maintain more references Sep 24 05:06:30 store less crap in memory results in fewer gc pauses even if you're freeing stuff constantly Sep 24 05:07:24 gc pauses are most noticeable when you have to run full gc Sep 24 05:07:45 on the jvm at least Sep 24 05:08:06 <^cheeky> all i am storing, are the scaled down images .. Sep 24 05:09:13 <^cheeky> i also think its to do with my inner classes Sep 24 05:09:32 <^cheeky> ill keep trying to solve it Sep 24 05:11:14 pfn, In the docs I see onCreateView() is the landing call after return. Take a look : http://developer.android.com/images/fragment_lifecycle.png Sep 24 05:11:43 there's several approaches, use traceview to see where time is actually spent, not assuming that it's gc, check your drawing performance, and use a memory analyzer to see what your actual memory usage is and in-heap stuff Sep 24 05:11:53 bitmaps aren't actually backed by vm heap, they're backed by native heap Sep 24 05:12:02 or at least I was under the impression that they went under native heap Sep 24 05:12:13 and wouldn't necessarily be subject to vm gc Sep 24 05:12:38 napster, onResume is the final call before being "active" Sep 24 05:13:03 I don't see how you call onCreateView the "landing" call Sep 24 05:13:40 the initial call, maybe, synonymous with onCreate, but not onResume Sep 24 05:13:40 may be I'm a bit confused with the fragment lifecycle. Sep 24 05:15:19 seems like it Sep 24 05:15:44 oy, must go to bed Sep 24 05:17:17 damnit, I didn't get the concierge room, no free breakfast/dinner Sep 24 05:21:13 when I try Run As -> Android Application. I get an error because ./bin/com/example/HelloWorld.apk does not exist... I have a class there but no apk.. what would cause such a problem? Sep 24 05:21:29 you fubared your project setup Sep 24 05:21:47 oh, you can't just right click a class and say run as android application Sep 24 05:21:56 you can only run your whole project as an android application Sep 24 05:22:07 thats what Im doin Sep 24 05:22:22 it doesn't build the apk... thats the problem :/ Sep 24 05:22:32 nope, you right clicked HelloWorld.java and said run as android application Sep 24 05:23:35 errr, nope. Sep 24 05:23:41 I promise. Sep 24 05:24:20 * pfn shrugs Sep 24 05:24:29 then your project is not an android project Sep 24 05:24:45 I think you might be onto something... Sep 24 05:25:32 mind you I have no idea what "makes" it an android project.... historically speaking I am a maven person.... but in this case I can't go that way. Sep 24 05:25:40 sure you can Sep 24 05:25:47 maven builds android projects just fine Sep 24 05:25:55 * pfn go zzz & Sep 24 05:26:09 * pfn highly recommends intellij rather than eclipse Sep 24 05:26:13 nah, not the issue... doing phonegap dev. Sep 24 05:26:24 pfn: agreed in principle Sep 24 05:27:05 so, what aspect of my project setup is missing the bit that packs the apk? Sep 24 05:27:36 does GridView support CAB? i've never seen it used that way Sep 24 05:28:45 g00s, what is CAB? Sep 24 05:28:56 contextual action Sep 24 05:29:00 bar Sep 24 05:29:03 ok Sep 24 05:29:18 i guess it should Sep 24 05:29:21 hm Sep 24 05:34:12 hehe, pretty cool 'pastebin for layouts' :D Sep 24 05:34:25 http://www.asciiflow.com Sep 24 05:35:34 hahah how cool is that!?!?! Sep 24 05:42:10 wow :D Sep 24 05:43:30 When I launch a web page in the browser using intent, can I detect if the window is closed or 404's? Sep 24 05:44:17 if there is a way to start browser as activity for result Sep 24 05:44:21 that'd be my best guess Sep 24 05:45:15 ah, and then listen for the result as well as capturing the intent Sep 24 05:45:26 i'm doing some twitter oauth via webpages Sep 24 05:46:18 g00s, quit calling it CAB, no one gets it here, call it by its api Sep 24 05:46:24 action modes Sep 24 05:46:46 and action modes are agnostic to what your list pattern is Sep 24 05:50:02 i guess then i should ask if action modes work with GridView they way they do with ListView when setChoiceMode(ListView.CHOICE_MODE_MULTIPLE_MODAL); Sep 24 05:50:21 by showing checkboxes Sep 24 05:50:27 oh well, i'll have to try it Sep 24 05:50:49 Apparently 20gb was not enough space to do a repo sync. Sep 24 05:50:56 I hate my life. Sep 24 05:52:05 aww shit Sep 24 05:52:13 Nilium just get the repos you need Sep 24 05:52:24 But I want them all. Sep 24 05:52:25 ALL. Sep 24 05:52:54 Ok, let's see, which one had all the Android resource files in it.. Sep 24 06:02:03 I created a really simple broadcast receiver to indicate when the state of the bluetooth adapter changes... unfortunately nothing seems to happen (my receiver doesn't seem to ever have its onReceive method called). Sep 24 06:02:28 do i actually need to create an instance of the class? the docs seem to indicate android would handle creation and destruction of the object on its own Sep 24 06:02:46 canurabus, may be show us the code? Sep 24 06:03:58 here's the manifest, where i set the receiver class and the intent-filter (at the end of the file) http://pastebin.com/qdftUFmU Sep 24 06:05:07 and this is the receiver: http://pastebin.com/rkHnYzrQ Sep 24 06:06:44 oh im missing the bluetooth permission Sep 24 06:07:09 maybe adding that will let me receive the broadcast intent Sep 24 06:24:14 hello Sep 24 06:31:20 Hey guys, is there anyway i can force a child to remeasure from a parent view. requestLayout on parent doesn't work. Sep 24 06:35:36 Is there any book or reference to learn all the tricks and useful stuff about android dev, and be a master android dev? (I already know all the generic programming stuff outside of Android... I just need to learn the things that are specific to android) Sep 24 06:36:32 BTW: Is there any way to run tests created with roboelectric in an android device? (I'm not interested in the discussion whether it's a good idea or not... I just want to do it) Sep 24 06:43:30 hi everybody, anyone else here has a problem with memory leaks in volley Sep 24 06:44:36 brrt: nope... Sep 24 06:44:55 brrt: because a wise friend told me... volley seems great!!! but not yet ready to use xD Sep 24 06:45:15 volley is pretty good Sep 24 06:45:19 but memory leaks are BAD Sep 24 06:45:31 and it seems to me there is one Sep 24 06:46:57 i wonder if they will add volley to the support library, or the support repository Sep 24 06:55:44 any other great libraries to consider for apps? Sep 24 07:00:05 dunno Sep 24 07:00:11 volley is actually pretty good Sep 24 07:00:20 this memory leaking business however.... Sep 24 07:02:01 guava shall be good Sep 24 07:07:13 Aaaand I just now found out about ~compile in sbt. Sep 24 07:07:23 I feel like an idiot. Sep 24 07:33:51 <^cheeky> i like this too much to give up , :( .. so i take it i cant use the view holder pattern Sep 24 07:34:15 <^cheeky> if i am downloading images async or using handler thread messages Sep 24 07:36:16 <^cheeky> YESS Sep 24 07:36:18 <^cheeky> i can Sep 24 07:36:20 <^cheeky> :))))) Sep 24 07:37:17 ^cheeky, whaddayamean Sep 24 07:37:51 <^cheeky> no i was able to Sep 24 07:38:17 <^cheeky> coz .. in the getView of the adapter i load my images from flicker into the list view Sep 24 07:38:53 <^cheeky> so implemented the view pattern and it worked, i am trying to get always reduce heap size .. Sep 24 07:39:26 <^cheeky> right now after downloading 300 images into the list view my heap has grown to be 13.799 MB Sep 24 07:39:47 <^cheeky> i dunno if thats good .. or bad :/ Sep 24 07:39:49 <^cheeky> :( Sep 24 07:40:00 14mb? Sep 24 07:40:08 i guess it is good Sep 24 07:40:41 <^cheeky> really ??? Sep 24 07:41:09 300 imgs are a lot of downloads. how much size is each pic? Sep 24 07:41:37 <^cheeky> i didnt check i could get it to spit it out after decoding it Sep 24 07:42:07 <^cheeky> and scrolling back up .. the heap went back down to 13.88 mb Sep 24 07:42:29 i guess you could do something to lower it by triggering the gc someway, but I would expect that size Sep 24 07:42:46 <^cheeky> you can call the Gc ? Sep 24 07:43:13 <^cheeky> the next one i am gonna try , is using a weak reference to the image view where i load it into Sep 24 07:43:23 well not directly, but there are patterns for which the gc knows want to be running Sep 24 07:43:25 <^cheeky> during the async doInbackground Sep 24 07:43:32 <^cheeky> oh nice Sep 24 07:43:34 like having objects without a reference Sep 24 07:43:54 nulling your references does the trick a lot of times Sep 24 07:44:24 <^cheeky> nulling them .. like on top of the fragment before initializing it /? Sep 24 07:45:33 when you are done using the heavy object. if you have an input stream is good to call close() and then null it. the null part is what i do to trick the gc Sep 24 07:46:25 <^cheeky> in my close huh .. nice ill first do sall changes and see how it goes Sep 24 07:46:38 <^cheeky> OMG i a soo excited i hope it works !!!!!1 Sep 24 07:46:45 <^cheeky> *i am Sep 24 07:46:49 :) Sep 24 07:46:59 Hey all Sep 24 07:49:02 guys, anyone using In App Billing and experiencing problems verifying signature for some (not all) transactions? Sep 24 08:30:38 I'm sure Google had some really intelligent reason for making android.R.string.yes/no the same as android.R.string.ok/cancel, but I cannot for the life of me imagine what it would be. Sep 24 08:32:07 I'm just starting out on android development. Going through the android training stuff. Are there any other good resources / lists ? Sep 24 08:32:22 lol? Nilium really? Sep 24 08:32:29 never tried yes and no xd Sep 24 08:32:32 I will smack you. Sep 24 08:32:39 (ノಠ益ಠ)ノ彡┻━┻ Sep 24 08:33:15 mediumscary: Don't know, but I suggest you get really friendly with the documentation. And the Android source code. You're going to be spending a lot of time reading both. Sep 24 08:34:36 yes, that's the plan :) Sep 24 08:40:18 ┬─┬ノ( º _ ºノ) Sep 24 08:41:33 Nilium: Yeah, that was kinda painful to find out with yes/ok... Sep 24 08:42:13 I have this weird feeling like I already knew about it and forgot and just got annoyed for the second time. Sep 24 08:42:49 You are addicted to anger and adrenaline. Sep 24 09:02:51 cd #gimp Sep 24 09:03:02 too much linux Sep 24 09:07:13 for anybody interested, the problem was the cache layer of volley Sep 24 09:08:01 linux 4 the win xd Sep 24 09:09:35 4 the win xp lol Sep 24 09:51:23 hello to all, I have downloaded the android source. After setting up the env and build correctly the entire project I have imported the sources in Eclipse. This last one give me few errors in imports such as on com.android.timezonepicker.TimeZoneInfo there is anything wrong in my configuration in Eclipse? Sep 24 09:54:01 stefanosaladino: are you trying to build AOSP? Sep 24 09:54:17 Yes sorry for omitting it Sep 24 09:55:39 Ankwatcher Sep 24 09:57:26 Ankhwatcher :P Sep 24 09:58:05 does it make sense to use datepicker for multiselection (of dates of course)? Sep 24 09:58:32 or better use 3 listviews (day,month,year) Sep 24 09:59:32 No i'm only trying to import correctly the AOSP with all its dependencies Sep 24 09:59:59 it was only an example there are many import broken Sep 24 10:00:04 app inventor for noobs help here? I'm on iceweasel (squeeze) and opening the blocks editor seems to work but does not connect with my project (helloPurr). Sep 24 10:00:40 Java shows the official logo, and I've turned off ABE in noscript Sep 24 10:02:17 my java is sun-java6-jre and sun-java6-plugin Sep 24 10:02:58 Your APK cannot be analyzed using 'aapt dump badging'. Error output:Failed to run aapt dump badging: ERROR: dump failed because no AndroidManifest.xml found Sep 24 10:03:32 someone is trying to upload the apk i signed and sent them to market but they keep getting that error Sep 24 10:04:01 what should i do? Sep 24 10:14:19 hey i need some advice. im uploading photos from gallery to a RESTful service by encoding/converting the photos to base64. but sometimes, the images are half uploaded and portions of the photos is gray. any solution to this? is it common? Sep 24 10:21:03 omid8bimo: a wild guess is that the encoding and decoding functions are using different base64 variants. Sep 24 10:22:03 omid8bimo: such as one is using an URL-safe variant, while the other is using the standard encoding used by email Sep 24 10:23:28 if available, a base32 may work as there is only one common scheme Sep 24 10:23:41 jimcooncat: no no, dont get me wrong. it works. most of the time the uploaded photos shown ok on the site, but something its like connection was lost during post and half of the image (better to say its base64 string) was sent to the server Sep 24 10:24:51 omid8bimo: which might happen if the server is expecting URL-safe characters and drops characters outside that range Sep 24 10:25:49 jimcooncat: im not familiar with url-safe characters. let me read on that Sep 24 10:26:12 omid8bimo: http://en.wikipedia.org/wiki/Base64 Sep 24 10:31:36 aside from that, i was wondering if there are better ways to upload an image to a RESTful service other than base64? Sep 24 10:37:10 I figured how to get the java console to appear, the only glitch I see is "systemId is file:///home/jim/ignore_lang_def.dtd publicId is null". Do you think that is why it won't connect to my project? Sep 24 10:50:02 omid8bimo: base64 overhead is 30 percent. but still if you find any other way, let me know Sep 24 10:54:59 neuro_sys: im reading this stackoverflow link thats used MultipartEntity. i have no idea what is that Sep 24 11:03:17 I asked this earlier, but has anyone here been able to use Holoeverywhere? Sep 24 11:03:42 Or are there other alternatives for having the same theme across versions down to 2.x Sep 24 11:04:51 can i set an EditText's font in xml or do i have to do it in code? Sep 24 11:19:10 <^cheeky> strange... my heap doesnt grow as much if ... i actually run it on an actual device Sep 24 11:20:23 <^cheeky> sheesh using the .. view holder pattern ... increased my list view scrolling++ Sep 24 11:22:29 neuro_sys: http://android-holo-colors.com/ Sep 24 11:22:49 http://jgilfelt.github.io/android-actionbarstylegenerator/ Sep 24 11:25:06 kakazza: you're amazing Sep 24 11:25:08 thanks Sep 24 11:25:25 <^cheeky> ok .. this might be stupid , coz i know that gallery apps obviously should use gridView, but i have used a listView .. coz i wanted to learn about it, but in the same app i want to use a gridView as well . so i want to have the user choose between the two layouts, so i was thinking i could use the action bar to let the user, choose between the two, so what would be a good icon or .. a spinner ... would be good item to place in the ac Sep 24 11:29:34 ^cheeky: the three vertical dots open the menu for those options ? Sep 24 11:29:51 <^cheeky> overflow thingy yeah ? Sep 24 11:30:00 use that Sep 24 11:30:18 <^cheeky> thanks man Sep 24 11:30:32 <^cheeky> coz no other item would fit, Sep 24 11:30:36 <^cheeky> at least i know off Sep 24 12:21:38 ok so now I implemented a runnable thread to keep track of when MediaController.isShowing() is false to hide the soft menubar , but how can I avoid running a thread and directly detect when isShowing becomes false ? Sep 24 12:22:00 like a callback when MediaController goes away, I guess I just override the isShowing somehow ? Sep 24 12:25:14 oh ok I override the hide method :) Sep 24 12:25:22 <^cheeky> soft menu_bar, so you want to remove the menu Sep 24 12:25:46 yeah for displaying true fullscreen video when the user turns the device to landscape Sep 24 12:26:00 does asynctask create a new thread for every task? Sep 24 12:28:06 After some time working with the emulator it starts to swap a lot to the poing my 2GB swap partition gets full. Sep 24 12:28:16 Does someone have the same problem? Sep 24 12:28:55 I'm not executing anything so memory consuming in the emulatorç Sep 24 12:29:16 my pc has 4GB ram, the emulator is set to use 1GB Sep 24 12:31:33 its just closing the emulator and the swap drops from 95 or 99 to 35 or so Sep 24 12:31:47 those are percents Sep 24 12:33:38 DwordKnight: what else do you have running? o.O Sep 24 12:34:31 with eclipse Sep 24 12:35:58 but it should be some problem with the config of the emu to be using so much ram, or something related to it, i don't know Sep 24 12:36:24 nothing releases the swap until i close the emulator, so the problem has to be around it Sep 24 12:39:15 also there is a problem with the apps that comes with it, the ExchangeService is constantly spamming the logcat with exceptions Sep 24 12:39:45 although i dont think that could be causing to fill my swap Sep 24 12:39:56 or could it be? Sep 24 12:43:32 I've disabled the service, let see Sep 24 13:01:30 Is there a way to structure a project so different devs can work on it in the IDE of their choice? From my understanding eclipse and android studio aren't exactly compatible with each other Sep 24 13:07:45 let the developer import it by hand Sep 24 13:10:10 hey everyone, I have an edittext that i'm setting the input type to NumberDecimal. If i'm using a local that uses a "," instead of a "." I can't enter a the "," , is there any way around this? Sep 24 13:10:25 local = locale Sep 24 13:15:54 get a keyboard that does the right thing Sep 24 13:16:43 DwordKnight: the emulator has overhead - 1GB is the internal ram the virtual device "sees" but it doesn't mean it will only use 1GB of *your* ram Sep 24 13:17:30 pfn: so it can be done? Sep 24 13:18:24 voicu are you telling me that it doesnt manage its ram usage taking in consideration that limit? Sep 24 13:18:47 i thought it worked like a vm Sep 24 13:19:20 DwordKnight: a vm also uses more RAM than what you allocate to it, i.e. if you allocate 512MB usually it uses 1.5-2 times that Sep 24 13:19:48 DwordKnight: the virtual device or virtual machine will be able to use the amount you allocated to it - that's what that value means Sep 24 13:20:03 it'll never use less ram for the system than what you allocated Sep 24 13:20:16 uses more ram but not up to 3 times the ram specified, just like 200mb or so, 1gb at most Sep 24 13:20:21 DwordKnight: if you allocate 512MB does RAM consumption drop at all? Sep 24 13:20:48 DwordKnight: an emulator is a lot messier Sep 24 13:20:48 aha let see Sep 24 13:20:53 emulators are pretty resource intensive Sep 24 13:21:06 you're running another computer inside your computer Sep 24 13:25:54 ive set 512mb of ram. then i should expect it to use a bit more, but 1gb at most, that means if my swap is used 30%, and swap size is 2GB, it shouldn't fill it Sep 24 13:26:07 if I understood you right :/ Sep 24 13:28:47 happens that after about 10 apk uploads or so from eclipse, it started to fill the swap up to 99% having me to close before I ran out of it. the system runs pretty unstable and slow if I let the program run from that point Sep 24 13:28:57 DwordKnight: I have 16GB of RAM and setting 1.5GB fails because I dont have enough RAM Sep 24 13:31:04 voicu lol I dont think I understand why. the difference between the memory management of an emulator and a vm. ive run a 4gb vm inside a 8gb ram pc without it filling more than 65 percent or so of ram Sep 24 13:31:14 because it's a 32bit emulator... Sep 24 13:31:15 not because you don't have enough ram Sep 24 13:33:29 DwordKnight: a virtual machine usually uses a mapping from the host's RAM to the guest's RAM (at least on modern CPUs) Sep 24 13:33:53 DwordKnight: an emulator can't do that - it likely has a lot more overhead depending on the format the virtual device expects the RAM to be in Sep 24 13:34:20 having 2-3 times the RAM usage is a little overkill I know but it can happen Sep 24 13:34:52 pfn: 1.5GB fit nicely into 32bits Sep 24 13:35:04 pfn: my current android phone has 2GB of RAM Sep 24 13:35:49 anyone any solution for this? http://stackoverflow.com/questions/18981968/handle-android-half-uploaded-broken-uploaded-images-to-server Sep 24 13:36:07 sure, don't stop sending data halfway in Sep 24 13:36:48 and for that matter, don't encapsulate binary data inside of json... Sep 24 13:36:50 that's just ugly Sep 24 13:37:10 RESTful is so overrated Sep 24 13:37:24 Sep 24 13:37:59 pfn: what do you mean by "don't encapsulate binary data inside of json"? Sep 24 13:38:28 exactly that Sep 24 13:38:30 im not sending halfway in; it happens when during post/upload, connection is lost. Sep 24 13:38:45 tcp does not looses packages Sep 24 13:38:46 then validate content length Sep 24 13:39:31 pfn: what choice do i have then? as far as i can see, the best way to transfer an image to a web service, is to convert it to a base64 json and then send it. Sep 24 13:40:29 omid8bimo: if you did it like that the image cant be uploaded only half way Sep 24 13:40:39 omid8bimo: the json string either is complete or the request wasnt successful Sep 24 13:41:01 omid8bimo: except you are transfering with udp Sep 24 13:44:12 ohcibi: well, im using List c = new ArrayList(2); to add my data (images base64 + photo caption and stuff) and then sending Sep 24 13:44:16 ohcibi: is it wrong? Sep 24 13:44:41 anyone who used inapp billing api know if I can find out the billing cycle (yearly/monthly) of an SKU using getSkuDetails? Sep 24 13:44:48 Voicu interesting, thanks for answering :) Sep 24 13:45:07 omid8bimo: idk.. but i guess you are transfering the json string with http and in this case it is impossible that it gets transferred only half way Sep 24 13:45:20 omid8bimo: which means the error must be something else Sep 24 13:46:02 DwordKnight: no problem :D virtual machines and emulators are cool, it's like playing god - creating machines that create other machines... Sep 24 13:46:33 ohcibi: can i paste the snippet and show it to you? if you can check it out and maybe tell me what you think? Sep 24 13:47:28 omid8bimo: you can but dont expect me to be able to help you... I just said that your json cant be transferred only half way Sep 24 13:48:17 Voicu I agree, it should be fun to develop :D Sep 24 13:49:06 DwordKnight: yeah but I bet it's PITA most of the time - so many random little quirks with every device and platform Sep 24 13:51:18 ohcibi: i know, i would appeaciate anyway. i guess your hint would be useful. Sep 24 13:51:22 this is my code: http://paste.debian.net/45631/ Sep 24 13:52:51 ohcibi: so anything you think is wrong here? Sep 24 13:52:58 you're decoding an image and copying the bytes to a byte array Sep 24 13:53:10 decode straight to a byte array and avoid the copy Sep 24 13:53:51 Anonymous thread, never do that. Lookup CachedThreadPoolExecutor Sep 24 13:54:03 omid8bimo: i'm not sure.. but what I see is that you are urlencoding your image somehow... i know that querystrings are limited in size, idk about the internals of the http client your using but if its appending the data as query-string it shouldnt work Sep 24 13:55:57 in fact don't even decode the image, or create a byte array Sep 24 13:56:44 have the server take the bytes via a stream transfer them directly Sep 24 13:57:29 that's probably why your compression is at 50 Sep 24 13:57:32 memory issues Sep 24 13:57:53 your code has 3x the bitmap in memory Sep 24 13:57:56 one for the bitmap Sep 24 13:57:59 one for the byte array Sep 24 13:58:06 and one for the b64 string Sep 24 13:58:18 demonstrably inefficient Sep 24 13:58:55 nseidm1: i dont know how to do direct stream transfer. can you gimme a link sample? Sep 24 13:59:16 any regex heroes? i wanna find strings that contains both "foo" and "bar" like "foo-blah-bar" Sep 24 14:00:18 osxorgate: (foo|bar) Sep 24 14:00:20 the b64 string is also larger than the bitmap - specifically 4/3 times larger Sep 24 14:00:44 osxorgate: oh.. you want to include _both_? Sep 24 14:00:48 ohcibi: they both need to be in there Sep 24 14:01:15 osxorgate: does order count? Sep 24 14:01:32 no, i think it should be .*foo.*bar Sep 24 14:02:02 if you only need to find 2 values I would just search for them Sep 24 14:02:07 faster than running regex on the string Sep 24 14:02:10 osxorgate: in this example foo must come before bar Sep 24 14:02:21 ohcibi: yeh thats fine for what im doing Sep 24 14:02:29 but it works, thanks :) Sep 24 14:02:35 ? Sep 24 14:02:39 whatever Sep 24 14:02:50 it's for my awesome intellij plugin Sep 24 14:03:15 osxorgate: try to ask what you are actually trying to do and not what you think is a good solution for it Sep 24 14:04:07 right, i want to find filenames that contain "drawable.xml" Sep 24 14:04:32 Hello! I have a generic question about organization of ssl url connection in android. Do i need provide SSLSocketFactory and HostnameVerifier for connection or i can skip one of these? Sep 24 14:06:52 what kind of stuff is RenderScript generally geared towards? Sep 24 14:07:19 osxorgate: so you want a regex like this "drawable(.+?)\\.xml" Sep 24 14:12:17 hello. how do I recompile Zygote for Android? (I changed ZygoteInit.java and I'd like to reflect the changes on my development board) Sep 24 14:12:36 (not a java programmer at all) Sep 24 14:13:52 not easily... Sep 24 14:13:56 make world Sep 24 14:14:01 and copy it over maybe Sep 24 14:14:06 pfn: I wish I could avoid it Sep 24 14:14:06 osxorgate: so your regex would be drawable.*\.xml Sep 24 14:14:23 oh Sep 24 14:14:25 pfn: I need to be able to alter arbitrary parts of android, recompile and test Sep 24 14:14:25 already answered Sep 24 14:14:29 thanks :) Sep 24 14:14:33 just make world Sep 24 14:14:45 pfn: and then what would I copy over the development board? Sep 24 14:14:54 Voicu: why the ?? Sep 24 14:15:21 lamedude, the code that you're looking to replace Sep 24 14:15:41 ohcibi: so it only consumes enough characters for the match to work Sep 24 14:16:14 pfn: it's ZygoteInit.java. at this very moment I mean to prevent from from preloading classes. but later on I'm likely to need more Sep 24 14:16:33 i.e. if you give it drawableSOMESTUFF.xml.xml it matches SOMESTUFF for the parantheses and not the first .xml Sep 24 14:16:33 pfn: there seems to be a lot of interoperation between java and c++ in the area I'm looking at :/ Sep 24 14:16:35 Voicu: ah.. i remember.. this was to emulate non-greedy behaviour, right? Sep 24 14:16:51 yes Sep 24 14:17:03 but I wouldn't use the word "emulate" - it actually does that Sep 24 14:17:53 right.. there was a modifier, that was not standard-regex which also does that and which spoiled me 8-) Sep 24 14:18:20 for this case it probably doesn't matter - if you have .xml.xml in the filename no amount of guessing will help you make a decision Sep 24 14:19:12 that's just how I like to write them. It also makes the regexes a little less cpu intensive Sep 24 14:19:41 xgear: if the server has a trusted public cert sure you can skip all the fancy stuff Sep 24 14:20:34 pfn: would you be able to tell where ZygoteInit.java lands ultimately? is it compiled into native form or some form of .dex? Sep 24 14:21:33 anyone used playstore billing? if so do you know where I can find out the billing period of a subscription? Sep 24 14:21:49 nseidm1: i don't understand. Sep 24 14:21:51 from getSkuDetails Sep 24 14:22:18 lamedude, some form of dex Sep 24 14:22:36 trusted certs are baked into the Android master keystores. The only reason you'd need a custom socket factory is to essentially provide a custom keystore Sep 24 14:22:52 Hey there, anyone know a really easy tool to make apps ? (cant code and only need to test if the suppliers intent command works) Sep 24 14:23:11 obv free is the golden word Sep 24 14:23:52 no Sep 24 14:25:24 well poop :P Sep 24 14:25:28 cant code for poop Sep 24 14:25:59 then you shouldn't be assigned to this task Sep 24 14:26:09 unless you want to learn Sep 24 14:26:44 im not assigned to this task. Im simply assigned as QA and we have 2 companies delivering two pieces of software and one has to listen to the intent programmed by the second. Sep 24 14:27:20 SrRaven-work: you don't need to code to build an app and upload it to a phone if that's what you want Sep 24 14:27:42 he wants to test sending and receiving the intent that these apps work with Sep 24 14:27:45 yeah, I just remember a long long time ago there was an online app builder where you could do really simple stuff Sep 24 14:28:00 appinventor Sep 24 14:28:00 which has been shut down Sep 24 14:28:08 yeah thats the one I was thinking of Sep 24 14:30:31 well, I guess it's still there at mit Sep 24 14:30:49 I see what you mean, but if you are actually required to fake intents then that should be included in the automated unit test instead Sep 24 14:31:16 normally human QA would simply require you to use all the features offered by the application in every way possible to you Sep 24 14:32:06 well, for sending intents is easy Sep 24 14:32:12 just use am Sep 24 14:32:18 for receiving... well Sep 24 14:32:40 you can just fake it with a very simple android project Sep 24 14:32:52 depending on the intent you're expecting, it can be declared in the manifest Sep 24 14:33:07 and it can pop up a simple hello world activity (default for generated projects) if it's correct Sep 24 14:33:18 Yeah thats exactly what I a m thinking Sep 24 14:33:23 android create project -p ... ; edit AndroidManifest.xml, set appropriate intent filter, go Sep 24 14:33:42 if it's a broadcast or service, it'll take a little more legwork to validate Sep 24 14:34:04 this hsould really be part of a test suite instead Sep 24 14:34:18 test suites aren't always part of the deal Sep 24 14:38:04 yeah, im the living test suite Sep 24 14:38:10 and only QA guy for this product Sep 24 14:43:21 app inventor for noobs help here? I'm on iceweasel (squeeze) and opening the blocks editor seems to work but does not connect with my project (helloPurr). Sep 24 14:43:50 my java is sun-java6-jre and sun-java6-plugin and I've turned off ABE in noscript Sep 24 14:45:25 this is not the place to ask about appinventor Sep 24 14:45:51 sorry pfn, and thanks Sep 24 14:49:21 wait I thought appinventor was gone, how is he using it :o Sep 24 14:49:33 I said it's still hosted by mit Sep 24 14:49:39 google gave it to mit, where it's basically dying Sep 24 14:50:13 ah,ok Sep 24 14:59:21 I'm curious about why mit would want it. Sep 24 15:00:03 I suspect in the sense that it's coolish, educationalish, and they've got the spare resources kicking around to host it Sep 24 15:02:26 I once was lost, but now I'm found :) Sep 24 15:03:17 app inventor had its place Sep 24 15:03:17 I'm glad you've been found lol Sep 24 15:04:38 there was a development environment back in the early 90's bundled with the wordperfect suite that was a drag-n-drop style interface Sep 24 15:04:47 cant for the life remember what it was Sep 24 15:06:15 I suppose google didn't liked the shitty apps people were spamming to the market done with it, they could've thought that who wants to make an app he must work it out xd Sep 24 15:07:45 well I'm gonna make my app named YAP for Yet another player Sep 24 15:08:07 :D Sep 24 15:08:10 that's a good name Sep 24 15:08:22 do eeeet Sep 24 15:08:58 do eat :3 Sep 24 15:09:06 no, I'm fat already Sep 24 15:20:47 is it easier to "fake" a button or a textview to look and behave (clickable) like a ListViewItem? or even use a list view with only 1 item Sep 24 15:20:59 alright shit, the intent would work,but our supplier presets the "http://" command before the line we wanted to insert the intent in Sep 24 15:21:35 honest opinion, if we enter it as an URL and the build is done. And their coders have to edit it by hand. How hard would it be ? (im guessing ctrl+f and removing the http part) Sep 24 15:25:07 skullcrasher: what are you actually trying to do? Sep 24 15:26:06 i want a listview in the navigationdrawer, but one single item at the bottom of the drawer, and all should look the same Sep 24 15:26:27 so that there is space between the normal menu items and single item Sep 24 15:26:55 skullcrasher: either have your adapter always generate the bottom item, or inflate the same layout your adapter is inflating and then set an OnClickListener on that row Sep 24 15:27:04 er, on that "row" (pseudo-row) Sep 24 15:27:27 I'm setting up a MediaRecorder and I get the RuntimeException "start failed: -19"... how can I find more information about why it fails? Sep 24 15:27:54 evanc: yes, but my problem is the space between the menu items, if i put all in the same ListView Sep 24 15:28:03 I've looked up the error code -19 and I get the explanation "start failed" Sep 24 15:28:32 so i thought of a relative layout with the listview at the top, and bottom a button/textview that is clickable Sep 24 15:29:25 skullcrasher: you could easily a) special-case it in getView() or b) have a separate layout for the bottom row, which just has Sep 24 15:29:36 the latter would be a far better solution Sep 24 15:30:14 hmm I will look in that approach and see if it works as expected Sep 24 15:30:34 10dp padding top is maybe a bit to few :) (4 menu items only) Sep 24 15:31:08 hah, don't copy-paste that code :) Sep 24 15:31:17 no ofc not! ;) Sep 24 15:38:09 anyone experienced want to check the previously stated problem again so the software delivery company cant tell me utter shit? Sep 24 15:41:37 SrRaven-work: modifying that should be simple. If it's not, then that code is horrible :D Sep 24 15:42:08 SrRaven-work: it probably isn't just a CTRL+F and replace but not difficult Sep 24 15:42:16 alright Sep 24 15:42:22 thats good enough for me Sep 24 15:43:50 I have question on web-login for secure wifi. When I open android app I want to shutdown app alerting user to web-login and get network connectivity. what I see is I get back response from connection attempt which is redirection html Sep 24 15:44:51 so does anyone know how I can debug MediaRecorder? I get start failed: -19. The setup goes ok without expections Sep 24 16:31:13 I'm trying to subclass GridView, but for some reason i can't access the attributes defined in the layout file. Sep 24 16:32:07 also, it seems that the superclass can't access them either, I've set both width and height to match_parent in the xml, but it seems to be using wrap_content instead... Sep 24 16:32:11 any ideas? Sep 24 16:33:21 Here's the constructor i'm using http://pastebin.com/n935sVsP Sep 24 16:34:50 Do you have to redefine the attributes you want to access in attrs.xml under your own namespace? Sep 24 16:35:23 Not sure, do I? also, would that let the superclass access the width and height? Sep 24 16:38:22 I'm just guessing, but unlikely it would affect the superclass since that should work without having to redifne the attributes Sep 24 16:39:25 that should work just fine Sep 24 16:40:06 Redefining the attributes, or the way I'm currently doing it? Sep 24 16:40:39 using the attributes as-is, provided that the R.styleable you're using is actually visible Sep 24 16:40:41 but if it compiles, ship it Sep 24 16:40:58 lol it compiles, but it's not actually working :-( Sep 24 16:41:19 it comes back with row and col count as 0 Sep 24 16:41:39 and it's definitely not setting itself to match parent Sep 24 16:42:26 lol, just ship it, yeah Sep 24 16:42:33 just configrming, are you extending GridView or GridLayout? you said GridView but hte attributes seem to be under the GridLayout namespace Sep 24 16:42:36 any one used androidviewclient ? Sep 24 16:42:36 with "some bugfixes pending" Sep 24 16:43:30 maybe you have to redefine the attributes, I don't recall exactly Sep 24 16:43:40 I'm pretty sure you don't have to, though Sep 24 16:43:41 Sorry, meant to say GridLayout Sep 24 16:45:14 What's strange is that I had a problem like this before, subclassing a ViewSwitcher. It wouldn't take into account the layout_width and layout_height in the xml file Sep 24 16:45:24 Question: Do the support libraries actually enable you to use newer Android controls like the ActionBar or is it just there so that the code will run without crashing on previous API levels? Sep 24 16:45:47 Fallout, it lets you use them Sep 24 16:45:54 Because I have an app right now that uses support libraries v4 and v7 but the ActionBar is not displaying on my gingerbread handset and I'm not sure why Sep 24 16:46:16 are you subclassing the right activity? Sep 24 16:46:18 ChainsDD: Danke, do you know perhaps why I might be missing an ActionBar then? It's kind of stumping me. Sep 24 16:46:26 ChainsDD:FragmentActivity Sep 24 16:46:33 ChainsDD: FragmentActivity* Sep 24 16:46:43 excuse me i want to start with development of apps for android and i have a question what do you think about frameworks like phonegap is that a good option for start or not ? Sep 24 16:46:44 If you're using v7, subclass ActionBarActivity Sep 24 16:47:29 http://developer.android.com/tools/support-library/features.html#v7-appcompat Sep 24 16:48:10 you need to subclass ActionBarActivity and set Theme.AppCompat Sep 24 16:48:44 chuspisarmiento, if you have absolutely no desire to learn/understand java, phonegap is really the only way Sep 24 16:48:58 it's also very limiting and makes some terrible apps Sep 24 16:49:56 chuspisarmiento: if you want to make a terrible app that works horribly on iphones and android phones, then yes, use phonegap Sep 24 16:51:27 any one used androidviewclient ? Sep 24 16:51:43 ok i understand your point, thank you for the answer i will start with the own android sdk Sep 24 16:53:18 well, with a lot of effort, one could make a phonegap app work very nice Sep 24 16:53:23 but it takes lots of design chops Sep 24 16:53:44 then again, many apps on android by large firms are just garbage anyway... Sep 24 16:53:54 so you'd probably still be better than them while using phonegap Sep 24 16:54:05 like, bofa's app... I don't understand how they can be so shitty Sep 24 16:54:09 as well as "having nearly zero to actually do outside of I/O" or "everything important is coded in native module anyway" Sep 24 16:54:10 or verizon's Sep 24 16:54:52 and all of those things, you could do purely with XHR in phonegap Sep 24 17:08:02 Ok, I figured out half of the problem, i had to use a custom namespace for the row and column count Sep 24 17:08:23 becuase I'm using the support library's GridLayout Sep 24 17:09:38 w00t Sep 24 17:10:44 Now I just have the problem of the GridLayout ignoring layout_width and height... Sep 24 17:11:32 Also, strange logcat messages, "horizontal constraints … are inconsistent" Sep 24 17:30:07 Can someone take a look at this code for me please. http://pastebin.com/FAt7gKx3 Sep 24 17:30:49 pay attention to line 95. I'm using a println (Yea... I know, but it's just for simple testing) that is between two if statements Sep 24 17:31:11 However, it doesn't get called unless the first if returns true..... which shouldn't matter. Sep 24 17:31:58 I've gotta be just missing something... but I can't for the life of me figure out what it is. Sep 24 17:56:53 This is driving me nuts… any view that I use on it's own will follow the layout_width/layout_height Sep 24 17:57:05 but if I subclass it, then the new view ignores it... Sep 24 18:08:21 this code has error in last line Sep 24 18:08:23 for (int i = 0; i < size; i++) { cursor.moveToPosition(i); imageID = cursor.getInt(columnIndex); uri = Uri.withAppendedPath(MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, "" + imageID); Cursor cursor2 = managedQuery(Uri.withAppendedPath(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, "" +imageID), proj, null, null, null); cursor2.moveToFirst(); Sep 24 18:09:27 i want to show path of images displayed in a grid view (there actual path) what could i do for that ? Sep 24 18:10:53 i used this code and after a displaying around 50 images the app crashes with error on the last line Sep 24 18:11:15 i know there is something wrong with the loop and as i am inserting path to the list Sep 24 18:11:42 can anybody please look into the problem and help me out on this issue ? Sep 24 18:12:17 Ah, now this is odd… I tried just using GridLayout, not my subclass, and it still seems to be ignoring the width and height… Maybe it's a different problem all together Sep 24 18:12:34 use hierarchyviewer to see what is actually happening Sep 24 18:13:00 pfn : can you please look into my matter and guide me to a proper direction Sep 24 18:13:10 I would love to… but it doesn't work on my GN... Sep 24 18:13:32 "unable to debug device..." Sep 24 18:13:40 i have a grid view showing all the images in SD card , i need there location (exact location with name) Sep 24 18:14:20 h Sep 24 18:15:28 Oh yeah, emulator Sep 24 18:19:13 chinu, read the error and fix it Sep 24 18:28:17 pfn : how can i get the name of the image i am diplaying from Sd card ? Sep 24 18:29:26 Now I see, The GridLayout is taking up the entire screen, but within the GridLayout, it seems to be using arbitrarily small cells that I'm not sure where's it's getting those dimensions from Sep 24 18:32:08 chinu, the same way you get the image? Sep 24 18:35:26 Ok, I've figured it out… Sep 24 18:46:03 Hey, how do I update my main activity in a proper way? Right now the "lower" activities and views and what not are updated because they're destroyed and re-created and the call to onCreate will create them properly (and this is what i want), but my mainactivity is not recreated and i don't want to destroy it Sep 24 18:47:03 Xabster, then update it onResume Sep 24 18:47:09 rather than onCreate Sep 24 18:47:20 ah Sep 24 18:47:25 that seems obvious... Sep 24 18:47:36 :p Sep 24 18:47:52 yep Sep 24 18:51:51 what if i all of a sudden get data via network Sep 24 18:51:58 how do i redraw it on that event? Sep 24 18:52:38 your service can post something on the UI thread Sep 24 18:52:43 or execute a callback that psots on the UI thread Sep 24 18:52:58 or send an event of some sort either via callabck or messagehandler to your UI which then pulls the updated data from the backend and draws it Sep 24 18:53:59 how do i execute on the UI? Sep 24 18:54:25 runOnUiThread Sep 24 18:54:38 what is that? Sep 24 18:55:11 ahh got it Sep 24 18:55:50 ah, googled it Sep 24 18:55:57 i thought you were joking :) Sep 24 18:56:18 I typically use a service in the same process so I can pass a callback class instance from the UI when I bind it Sep 24 18:56:33 and then use runonuithread in the callbacks to put the data in Sep 24 19:00:08 Hey, what would be the best library to use to abstract Geolocation Sep 24 19:01:54 awesome! Jetbrains PyCharm CE is free Sep 24 19:02:10 i thought it wasn't? maybe i'm cofused Sep 24 19:05:39 BenOrnstin there is the little fuzzy one, haven't used it though Sep 24 19:11:27 pfn : I am displaying Images in a grid view so when i display there path it is displaying their tem path , i want the origional path Sep 24 19:12:00 Xabster : can you please help me in getting image path or name (origional) onclick image in a gridview Sep 24 19:12:50 i'm somewhat confused how intellij handles imports; i remember in eclipse, if you let it add them for you, they were always "optimized" but you may have an unnecessary one. but they were in the right order. now AS has this "optimize imports" that totally reorders mine, even though the IDE added them all to begin with, which is somewhat annoying from a version control persective Sep 24 19:15:05 g00s, thanks Sep 24 19:15:43 BenOrnstin you found it :) i only vaguely remembered the name Sep 24 19:19:00 Yeah, found it, anything will be better then my current system Sep 24 19:19:15 And I don't have the time to redo it so? why reinvent the wheel? Sep 24 19:19:18 Thanks again! Sep 24 19:22:03 heh, these Touch Covers for the Surface are cool. I guess the 1st gen was just a keyboard with 80 sensors in it? The new one has over 1000 so I guess its like a huge trackpad :| would be awesome if there was a Lr blade cover XD Sep 24 19:22:35 i keep asking myself how ms went down the tubes like it did, they do have some cool stuff Sep 24 19:24:06 blame fanboys Sep 24 19:26:01 but they are everywhere Sep 24 19:26:04 for all platforms Sep 24 19:26:38 Why can't I add an onClickListener into my switch in my onMenuItemSelected? BTW my layout isn't an activity its just a layout file which is refrenced Sep 24 19:28:58 anyone? Sep 24 19:29:06 I'm not even sure what you're trying to do Sep 24 19:29:15 you mean attach a callback to an item in a view when a menu item is selected? Sep 24 19:30:33 i want a button inside of a different layout to launch something but it crashes Sep 24 19:31:22 I still have no idea what you're trying to do. Sep 24 19:31:31 g00s: but Microsofts demise is because its "cool" to be an Apple fanboy Sep 24 19:31:44 oh .. heh Sep 24 19:31:52 not that Microsoft doesnt have any, its just a small pool, its not cool any more Sep 24 19:31:54 a button is in another activity.....how do i launch it......from this activity Sep 24 19:32:11 if it's in another activity, you don't. You could send that activity an intent and handle it. Sep 24 19:32:22 Or you could have a common function which both activities activate Sep 24 19:32:54 how do i do that? Sep 24 19:33:05 Or you could have a service which brokers backend activities, which sounds like it might be what you're really looking for, and then both activities tell the service to do the same thing Sep 24 19:33:46 intents and services are documented on the android developer site and are more complex than I'd care to try to type over IRC, especially when the docs are all there. Common functions - just make a utility class with static functions or something, I dunno, whatever makes you happy. Sep 24 19:34:16 thanx ill check the docs out Sep 24 19:54:45 Sure this question is thrown around a lot, but: best android tablet for dev? Sep 24 19:54:55 As in, I'm sure* Sep 24 19:56:29 probably N10, even if it may get a refresh soon. kinda bad timing Sep 24 19:58:23 depends on what you mean by best for "dev" Sep 24 19:59:58 if you're looking for the most screen real estate possible, N10, sure Sep 24 20:00:09 if you're looking for something most practical, you can't beat the N7 Sep 24 20:01:37 BenOrnstin this is why i mentioned the N10 https://plus.google.com/+AdamWPowell/posts/cz5TxuoNDfG Sep 24 20:02:39 yes, you can't test 10" layouts on a 7" device Sep 24 20:03:00 that's actually pretty useful, I should take advantage of that, but I can't be bothered Sep 24 20:05:18 heya Sep 24 20:08:48 anyone working on anything interesting? Sep 24 20:12:18 TechEffigy i doubt it Sep 24 20:14:59 blehrn. Sep 24 20:15:07 Android SDK Manager is grayed out in Android Studio Sep 24 20:18:06 Bourbon it isn't for me O.o Sep 24 20:18:30 i dont see how it could be without major messing with, since AS comes with the SDK anyhow Sep 24 20:19:00 im also out of ideas...need a good project Sep 24 20:19:21 yeah Sep 24 20:19:29 I know... it's lke my boss is an expert at making android build tools fail Sep 24 20:20:11 What's better. Learinig more on higher level, or understnd more deeply ? Sep 24 20:20:16 *understand Sep 24 20:20:18 both Sep 24 20:20:25 im still in a design for a text adventure that has a watsapp interface, using natural speech to help a lady out of an saw type puzzle environment, has a chatbot side to it aswell Sep 24 20:20:35 its like, being a specialized generalist Sep 24 20:20:59 Actionbar with ViewPager was working fine until I change Fragments to ListFragments and added a ListView to the layout. When I'm on a Tab with a list and trying to swipe to the next page nothing happens... like the ListView can't be selected or something like that ... Sep 24 20:21:33 bluesm_ http://www.agilemodeling.com/essays/generalizingSpecialists.htm Sep 24 20:21:59 i dont think it applies to just that domain , though (agile) Sep 24 20:22:07 Scott is smart as hell, would love to pick his brains Sep 24 20:28:00 mergeadapter Sep 24 20:28:27 solve the list problem with mergeadapter Sep 24 20:30:03 TechEffigy, mergeadapter ? First time I hear about mergeadapter!! :O Sep 24 20:30:30 go check it on the SDK docs Sep 24 20:31:06 I will. Thanx Sep 24 20:31:32 was reading about it today, thats how u do the heading seperators aswell Sep 24 20:31:50 merge list adapters into one Sep 24 20:31:55 hi, is version control and github different? in terms of android development? Sep 24 20:32:40 TechEffigy, merge list adapters into one...yeah I can see some logic here! :) Sep 24 20:39:57 so i have an object, with lotsa viarables and arrays and functions, things get shifted alot in this object. then a phone call comes in, then the memory gets full an kills my app. how do i save that object with all its info? is it wise to persist it into a file when the app pauses? or should i use a bound service for the object so that has time to save, or should i store it somewhere else? any advice Sep 24 20:40:41 and dont forget orientation changes Sep 24 20:44:25 periodically save your state somewhere Sep 24 20:44:25 when u type a long question...and there is silence... Sep 24 20:44:35 learn some patience Sep 24 20:44:39 we don't live to answer questions Sep 24 20:44:57 would serializing the object and saving it to a file be practical? Sep 24 20:45:22 maybe Sep 24 20:45:25 depends on how often Sep 24 20:46:13 so how do normal game engines save their paused states after the user leaves the app? Sep 24 20:46:27 Ive looked through some source codes Sep 24 20:46:42 but text adventures on android are very rare Sep 24 20:47:06 and other apps rely mostly on content providers and services Sep 24 20:47:29 save in onPause Sep 24 20:47:57 looks like gradle 1.8 was released today, but Alex Ruiz says it breaks stuff in AS. best to stay with 1.7 :D Sep 24 20:48:30 * g00s wonders if the publication stuff was finalized yet Sep 24 20:49:17 Ive seen one app save in the onpause, but then will it let me finish the save or should i get a thread to do the saving? Sep 24 20:49:33 if it takes more than a couple ms, yes, it should go in a thread Sep 24 20:49:50 k cool thanx for the reassurance Sep 24 20:50:22 nothing like other programmers reassuring other programmers Sep 24 20:51:25 I am trying to update apps on my android device and it shows there is an update but after it downloads says X app is not installed when it is. Is there a way to find out why it does this? I do have a sd card mounted(installed) Sep 24 20:52:31 * g00s wonders if he is the only one that makes his browser window narrow enough so the responsive web design aspects of google+ kick in to show a single column of cards rather than alternating ones Sep 24 20:53:57 witchaboard for android....wheres the magic... Sep 24 20:59:32 if anyone wants to see a good source code: check out yaic on github, its a full pledge irc client Sep 24 20:59:40 Hello Sep 24 20:59:40 I am trying to update apps on my android device and it shows there is an update but after it downloads says X app is not installed when it is. Is there a way to find out why it does this? I do have a sd card mounted(installed) Sep 24 21:00:26 try go to applications under settings and move it to internal storage or vice versa Sep 24 21:00:54 LLckfan #android Sep 24 21:01:30 no help Sep 24 21:01:34 I am in that room Sep 24 21:02:12 No care Sep 24 21:02:16 Not here Sep 24 21:02:41 try move the app to internal storage or external Sep 24 21:03:13 It is already there Sep 24 21:04:25 is there a way to make a TextView look just like and edit view, but not editable? Sep 24 21:04:50 Give it the same background Sep 24 21:04:50 why? Sep 24 21:04:58 But that doesn't really make sense Sep 24 21:04:59 with the little underline, etc Sep 24 21:05:17 then try move it to external storage Sep 24 21:05:17 Hello Sep 24 21:05:24 no hel[p Sep 24 21:05:31 well it dos to me, when you have two fields side by side and one is editable, and the otehr is not, it looks like crap Sep 24 21:05:39 or try killing the process then update Sep 24 21:06:06 Not running Sep 24 21:06:21 LLckfan, TechEffigy: Take it to #android Sep 24 21:06:41 This isn't the channel for user support Sep 24 21:07:04 o well try #android or Google Sep 24 21:09:04 I have Sep 24 21:09:05 This is what I'm talking about: http://imgur.com/qN9I648 Sep 24 21:09:34 Any idea how to load a native lib in a service running in a separate process? Sep 24 21:09:54 tried getApplicationInfo().nativeLibraryDir. still no workie Sep 24 21:09:59 Looks like you need to re-think your design rather than making something that's not editable look like an edittext Sep 24 21:10:18 compound views Sep 24 21:10:31 create ur own compound view Sep 24 21:27:16 Hey guy's, by default do webviews auto size pages? have problems with it, designed a small site for my s3 (720x1280) portaite but the webview is resizing it and making it not fit in the view Sep 24 21:33:01 turn off autozoom Sep 24 21:33:18 there is a property for the zooming Sep 24 21:33:47 or u didnt do ur layout or pics correctly Sep 24 21:33:54 overflow Sep 24 21:35:11 hmm weird, i have that turned off its made it to small... Sep 24 21:35:29 i know for a face that divs width is set to 720px Sep 24 21:35:51 dont see why its not filling the full width of the screen Sep 24 21:36:59 fact* Sep 24 21:42:23 take a look at another mobile sites source Sep 24 21:42:47 theres a shortcut for android internet to view source, Google it Sep 24 21:43:24 or Google, s3 web design dimensions Sep 24 21:46:59 I am trying to update apps on my android device and it shows there is an update but after it downloads says X app is not installed when it is. Is there a way to find out why it does this? I do have a sd card mounted(installed) Sep 24 21:47:31 o_O Sep 24 21:47:48 taking chances with that question Sep 24 21:48:08 x-( Sep 24 21:51:41 how isn't it fitting? Sep 24 21:51:58 some devices 'lie' about their height/width Sep 24 22:02:42 TechEffigy, I never liked yaaic back when I tried it, it was gawdawful slow Sep 24 22:03:32 i have a galaxy pocket and it does fine Sep 24 22:03:41 and looked crappy Sep 24 22:03:41 even has doc Sep 24 22:04:04 just doesnt do a /list well Sep 24 22:04:43 Ive used other paid irc clients, Bt yaic doz well Sep 24 22:08:28 people that gave me 1* reviews for no dcc... never plan on supporting them Sep 24 22:11:39 hey, then u havent been to #ebookz on undernet Sep 24 22:12:05 dcc ebooks, very rare stuff there Sep 24 22:12:47 irc dcc is the last of good underground resources Sep 24 22:13:23 meh, don't really care Sep 24 22:14:00 the reason irc died compared to 10 years ago, is because of these commands, need to be transparent Sep 24 22:14:15 huh? died? compared to 10 years ago? Sep 24 22:14:18 like ms cartoon chat Sep 24 22:14:20 user level has remained relatively steady Sep 24 22:14:48 I guess efnet has gone down a little, about 32k vs. 50k users Sep 24 22:14:56 Nah, the average person use to be on irc, now its just geeks :) Sep 24 22:15:07 then again, there's about 83k users on freenode Sep 24 22:15:13 no, the average person was never really on irc Sep 24 22:15:14 and lots of servers shutdown Sep 24 22:15:35 well i remember the #bathtub channels an flirt Sep 24 22:15:39 do yuou know how hard it is to find irc channels? Sep 24 22:15:53 I mean on internet. people rarely list any channel. Sep 24 22:16:05 Google is your friend Sep 24 22:16:08 I had to bounce few channels I guessed at to find this one Sep 24 22:16:16 well duh I used google Sep 24 22:16:19 always met people that dnt really know pc's but someone helped them with the commands Sep 24 22:16:22 google is our god Sep 24 22:17:12 i was quiet happy as a programmer to find freenode active, undernet use to be my place, Bt they barely say a word there Sep 24 22:17:43 too many "dead" users Sep 24 22:18:02 people that stay in channel but never spoke for months or even years. Sep 24 22:19:21 haha, o is that what they are Sep 24 22:20:01 didnt know u get a dead user, is it purposely done, or just ? Sep 24 22:20:11 dunno Sep 24 22:20:33 maybe person used to be active but less and less, but since irc client still autojoins Sep 24 22:20:38 guys still here Sep 24 22:20:49 coz a server pings a user every minute to see i they alive Sep 24 22:20:55 silly question, I have a feeling I'm going to be unhappy with java's lack of multi-inheritance :-) Is there some way to subclass a SettingsActivity, in addition to using appcompat (ie, action bar support library?) Sep 24 22:21:11 kbs, no Sep 24 22:21:28 I once made custom settings object for settingsactivity Sep 24 22:21:31 used slider Sep 24 22:21:32 draw your own fake actionbar instead Sep 24 22:21:55 ah, rats Sep 24 22:22:03 public class SeekBarPreference extends DialogPreference implements SeekBar.OnSeekBarChangeListener Sep 24 22:22:11 i was thinking today of an app theme that looks just like windows Sep 24 22:22:15 win98 Sep 24 22:22:31 but ill see where i can apply it Sep 24 22:26:36 hey guys Sep 24 22:26:57 anybody have any idea what other libraries are used for fading actionbar? Sep 24 22:28:58 fading actionbar? Sep 24 22:30:23 probably something like google play music Sep 24 22:30:56 https://github.com/ManuelPeinado/FadingActionBar Sep 24 22:31:05 this one isn't robost enough to support fragment Sep 24 22:32:43 there are people that sill dont use fragments? Sep 24 22:34:13 * kbs raises hand :-) Sep 24 22:42:09 birbeck: in some cases you must use it Sep 24 22:42:36 headless fragments Sep 24 22:43:15 how do people retain data in a headless fragment? very little about th subject is written Sep 24 22:43:52 everyone tells u how to make a headless fragment but not the actual retention of objects Sep 24 22:44:00 I'm sure this is blasphemy to say here :-) but I've often straight-up activities to be simpler and [sometimes] more flexible than dealing with fragments Sep 24 22:44:22 retaining is the key Sep 24 22:44:33 activities dont retain well Sep 24 22:45:01 speaking for myself, I put any non-transient stuff within a service... Sep 24 22:45:02 hi Sep 24 22:45:22 ive formated my sd card using cwm and now is read only sistem Sep 24 22:45:34 how to solve this? anyone know? Sep 24 22:45:48 i need to restore a backup rom Sep 24 22:46:28 is there any command from adb to solve? Sep 24 22:47:12 TechEffigy: the pattern I use is roughly - all async stuff within a service that runs a few (controlled) threads - and handles any in-memory caches, et. al. Responses come back via an queue, that activities subscribe/unsubscribe at resume/pause. That simplifies things considerably for me, while also allowing flexible thread management Sep 24 22:47:30 gdrc: with the compat library, fragments are available all the way back to 1.6, why would you ever have to NOT use fragments? Sep 24 22:48:33 birbeck: becouse activity could be enough Sep 24 22:49:06 /could/, but if they deprecated Activity, I wouldn't mind Sep 24 22:49:44 kbs i made an rss client like that for a resume....i did not get hired :) Sep 24 22:49:45 deprecate Activity? o_O Sep 24 22:49:58 TechEffigy: i'm sure it's their loss :) Sep 24 22:51:27 but Ive found that using propper ways have considerably improved my code, fragments i believe is mostly good for apps that are going to work on different layouts Sep 24 22:51:39 an thats why fragments are the standard Sep 24 22:51:46 :-) Sep 24 22:52:00 I have a cursor loader linked up to an arrayadapter. I'm noticing that the loader keeps resetting itself every 3-4 seconds... what could be causing this? (android 2.3.4) Sep 24 22:52:34 content provider refreshing? Sep 24 22:52:35 the cursor loader is reading from the media store Sep 24 22:52:39 so the info should be static Sep 24 22:52:54 can someone explain to me what noHistory="true" in does? from reading http://developer.android.com/guide/topics/manifest/activity-element.html#nohist , it sounds like if activity A with noHistory="true" launches another activity B, and i click back, it should not return to A Sep 24 22:53:00 and the information isnt different Sep 24 22:53:29 but that doesn't appear to be true -- clicking back from B is still returning to A, even with noHistory="true" set for A's Sep 24 22:53:43 back works on a stack Sep 24 22:53:57 Google nohistory activity Sep 24 22:54:23 TechEffigy: I'm sure lots of people agree with you; though I'm rather in gdrc's camp myself. Personally, I find the complexity rather too much, and the benefits rather skew designs in particular directions. But hey - whatever makes the use like the product is what really matters in the end :) Sep 24 22:54:30 shouldn't loaders only be refreshing if their data changed?... Sep 24 22:55:52 TechEffigy: i'm not sure what you mean. at the link i gave, the documentation says this: "It will not remain in the activity stack for the task, so the user will not be able to return to it." Sep 24 22:56:06 but when i click back, it goes back to A. isn't that "returning to it"? Sep 24 22:56:46 kbs, if it works fine then thats fine, just always remember, fragments will whisper in ur ears until oneday ull use them all the time Sep 24 22:57:30 birbeck: the app I'm devoloping had not any fragments, just activities and it was perfect but I wanted to implement Navigation Drawer so I was forced to use fragments (yes, they are cool) Sep 24 22:57:40 TechEffigy: fair enough - hope some new wisdom comes to all of us over time, at least :) Sep 24 22:57:45 ill go lookup nohistory Sep 24 22:58:26 my cwm turns my sdcard read ony file system. how to solve this? is there any adb command? Sep 24 22:58:27 FWIW: here's some bits from dumpsys: http://pastebin.mozilla.org/3140311 Sep 24 22:58:41 org.mozilla.gecko.Restarter is the activity with noHistory="true" Sep 24 22:59:26 http://stackoverflow.com/questions/13560155/flag-activity-no-history-not-working Sep 24 23:00:16 i've seen that, but there are no answers :P Sep 24 23:00:47 i've also seen a similar post where CLEAR_TASK is being used as a workaround, but i'm curious why noHistory doesn't work Sep 24 23:01:03 i wish that android would make coding normal and rather save the entire VM state oneday ull Sep 24 23:01:36 anyone receive this message before ? " Your APK cannot be analyzed using 'aapt dump badging'. Error output: Sep 24 23:01:38 Failed to run aapt dump badging: Sep 24 23:01:39 ERROR: dump failed because no AndroidManifest.xml found" Sep 24 23:01:39 TechEffigy: in that example, he is setting no_history on the new activity Sep 24 23:01:42 save dalvik VM state in app folder and go to next app Sep 24 23:01:57 reload VM state, no hassle to the programmer Sep 24 23:02:06 TechEffigy: no_history does not "clear" the back stack, it just doesnt put the new activity in it Sep 24 23:02:35 i never red it, just saw it was the same question u asked Sep 24 23:02:54 eh? i didnt ask it :-) Sep 24 23:03:29 o ok Sep 24 23:03:52 nicolsen asked it Sep 24 23:03:56 oh, that was bnicholson Sep 24 23:06:06 anyone here work at Google? Sep 24 23:06:21 birbeck: that's my understanding too -- so why does it return to the activity when i hit back? Sep 24 23:06:28 TechEffigy: kroot and romainguy iirc Sep 24 23:06:38 ovcourse u wont find a Google engineer here work:) Sep 24 23:06:49 anyone got a working grub2 entry for androidx86/IA its being a pain in the as Sep 24 23:06:56 because the previous activity is on the back stack, you have to launch it with no history Sep 24 23:06:58 *s Sep 24 23:07:18 or call finish() Sep 24 23:07:41 can anyone help? im relly stuck on this... formated sdcard with CWM and now its read only fille system.... Sep 24 23:07:59 fabiobik: wrong channel, try #android-root Sep 24 23:08:10 its not clearing the back stack, no_history just doesnt add the new activity to the back stack, the activity launching it is already on the back stack and is not cleared Sep 24 23:08:30 birbeck: under the activity's entry in AndroidManifest.xml, i have noHistory="true". doesn't that mean it will always be launched with noHistory? Sep 24 23:08:34 bankai_, thanks, im allready there... you never had this kind of problems? Sep 24 23:08:38 startActivity with FLAG_ACTIVITY_NO_HISTORY, has nothing to do with the currently running activity Sep 24 23:09:41 birbeck: just to be clear, i have A->B->C. B is the one with noHistory="true", clicking back on C is still going to B. Sep 24 23:09:52 are you saying that's expected for what i have now? Sep 24 23:12:01 in that case it should be going to A Sep 24 23:12:17 are you calling startActivity() with any other flags? Sep 24 23:12:35 im pretty sure there is a stack manager...o wait thats for fragments Sep 24 23:12:38 you should addFlags(), not setFlags() Sep 24 23:12:45 shud rather use fragments Sep 24 23:12:58 fragments still have a back stack Sep 24 23:13:57 looks like startActivity is being called with FLAG_ACTIVITY_NEW_TASK and FLAG_ACTIVITY_CLEAR_TOP Sep 24 23:14:36 did you only add those because no history wasnt working? Sep 24 23:15:01 this is pretty old code, i'm not sure what those flags are for Sep 24 23:15:20 (firefox for android in case you're curious) Sep 24 23:15:28 you shouldnt be using those unless C is calling startActivity() on A and you want to clear B and C from the stack Sep 24 23:15:50 but u can programmaticly control it with fragment manager Sep 24 23:16:32 try removing those flags, but at any rate, you should use addFlags() not setFlags().... with setFlags() you are resetting the activity flags, so its not taking into account the no history flag from your manifest Sep 24 23:17:06 birbeck: aha, i missed your comment about that before. yeah, we're using setFlags Sep 24 23:17:17 i bet that's the problem. giving it a try... Sep 24 23:17:29 TechEffigy: you can also programmatically control the back stack for activities Sep 24 23:18:08 i remember something like tht Bt yet it seems unfimiliar Sep 24 23:22:03 How does one get hold of the ShareActionProvider from the appcompat library in order to set the share intent? (in < android-14, I mean) Sep 24 23:23:27 ive only used it with actionbarsherlock, i havent tried using a action share provider with actionbar compat yet Sep 24 23:24:15 okay. (And I see a MenuItemCompat with some static method that might help, reading up on that ...) Sep 24 23:24:27 birbeck: argh, still no dice :( this is after removing all other flags from startActivity() for both B and C Sep 24 23:25:50 can you try addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY) in the code? Sep 24 23:29:14 birbeck: also doesn't work. that's supposed to go in A's startActivity() call for B, correct? Sep 24 23:30:34 actually my stack was a little off, it's more like A->B->A, where A is a singleTask activity Sep 24 23:30:54 and after B launches A, i'm expecting the back button to go back to the launcher Sep 24 23:31:30 hey birbeck, long time Sep 24 23:31:41 anyone here got the chromecast android app apk? Sep 24 23:31:50 or package-path Sep 24 23:33:07 com.google.android.apps.chromecast.app Sep 24 23:33:08 got it Sep 24 23:33:18 so you want A to be no_history Sep 24 23:33:36 or you want a to be clear_top, and finish B when you start A Sep 24 23:34:26 hey Napalm Sep 24 23:34:34 im always here... just idle :) Sep 24 23:34:47 google fail > https://play.google.com/store/apps/details?id=com.google.android.apps.chromecast.app < pressing Developers Website takes you to a 404 Sep 24 23:34:56 birbeck: got a chromecast? Sep 24 23:35:09 hrm, A no_history? i don't understand. with no_history, "It will not remain in the activity stack for the task, so the user will not be able to return to it." Sep 24 23:35:39 if A were no_history, wouldn't that mean clicking back after A->C would go straight to the launcher instead of back to A? Sep 24 23:35:51 (if this were all working as expected anyway) Sep 24 23:36:31 you said there is no C, A->B->A Sep 24 23:37:05 in this case yes, but A can launch other activities Sep 24 23:37:35 so dont set any flags on A in the manifest then, start it with clear_top from B, and then call finish() on B directly after startActivity() Sep 24 23:39:05 yeah, that was going to be my workaround approach. but i was expecting setting noHistory="true" on B's to have the same effect Sep 24 23:39:57 well, AS won't let me delete a file. error message : "INVALID INVALID" oh my! Sep 24 23:40:54 your INVALID is INVALID, man you really f'd that one up ;-) Sep 24 23:40:59 anyone from stellenbosch? Sep 24 23:42:04 maybe that's someone's clever way of saying success Sep 24 23:43:13 bnicholson: setting no_history on B means this: A->B->C = C->A when you press back, but if you want to go back to the home screen, you need to remove A Sep 24 23:44:24 so if B is no_history, and you go A->B->A, then A is on top and back will go to the home screen Sep 24 23:44:39 you can also accomplish that with setting clear_top on A when you launch it Sep 24 23:44:41 yes, that's exactly what i wanted/expected Sep 24 23:47:08 weird...if i override onBackPressed() for A and have it do only moveTaskToBack(), things work as expected Sep 24 23:47:19 i just found an interesting icon that Chromecast requests Sep 24 23:47:19 https://lh4.ggpht.com/msh4KHCCIxciBu7712d8u-Vh1DY4io5TGoQORBX6uuVKGV6717fxdALBOcuMigYY8A=w195-h195 Sep 24 23:47:32 ? Sep 24 23:47:32 net split :( Sep 24 23:47:32 dafuq Sep 24 23:47:38 server down Sep 24 23:47:53 that is, A->-B->A, click back, now it goes to launcher as expected Sep 24 23:47:55 why are we still connected? Sep 24 23:48:11 we are connect to one server, while they are connected to another node Sep 24 23:48:17 ah Sep 24 23:48:20 the connection between them was dropped Sep 24 23:54:19 and we are back Sep 24 23:54:44 and we are front Sep 24 23:55:13 hey jug6ernaut_ Sep 24 23:55:20 and sides is here again Sep 24 23:55:21 where's my right leg? Sep 25 00:00:15 having a weird problem with multiple

in a webview... Sep 25 00:02:07 scrap that i am having a problem with paragraph elements in webview even when i am just using one Sep 25 00:23:43 hey Leeds , did you see that Intellij PyCharm CE is open source now ? Sep 25 00:23:52 er, no? Sep 25 00:27:30 i'm not using python these days for web; i dont do any web dev ;) more for stats along with R. but it seems nice so far. I was using a eval version of komodo Sep 25 00:28:01 does anyone have a lot of experience with loaders? Sep 25 00:29:16 vogella Sep 25 00:29:31 Google "android vogella" Sep 25 00:29:42 he's got very good articles Sep 25 00:29:50 Pyuruku better to just ask a queston Sep 25 00:29:56 think there was a good one on loader Sep 25 00:30:50 if u would appreciate it, id quickly swift through my dl books an tell u whitch had the best loader chapter Sep 25 00:33:29 i want to make a pos system for drug dealers Sep 25 00:33:50 what is a good books to learn pos systems? Sep 25 00:34:51 Not android - but it just me, or is google+ busted on Safari? Loads, loads, see content, finally everything blanks out. Sep 25 00:35:12 it's a feature telling you you need to upgrade your browser ;) Sep 25 00:35:28 is that the issue? hm Sep 25 00:35:44 kbs i use Chrome for *.google.com, yeah even FF seems busted Sep 25 00:35:53 i doubt google cares ;) Sep 25 00:36:25 plus has always loaded like a dog for me, regardless of OS/browser Sep 25 00:36:44 all those cards going through the interwebs Sep 25 00:36:50 they get jammed Sep 25 00:36:57 when the tube gets narrow Sep 25 00:37:16 It's gotto be the high-speed tubes on the mountain view campus Sep 25 00:38:11 birbeck: well i think i found the issue...activity B overrides onCreate(), and it calls System.exit(0) at the end. ugh. Sep 25 00:38:25 System.exit(0) FTL Sep 25 00:38:26 i'm sure that was wreaking all sorts of havoc Sep 25 00:38:57 removing that makes all of these flags work as expected Sep 25 00:45:55 System.exit() wtf? Sep 25 00:46:45 offtopic, but is there any way to get around geo restrictions? i really want to install fifa 14 on my phone but can't Sep 25 00:47:27 download a geo faker app and try Sep 25 00:47:45 else download a cracked copy from piratebay Sep 25 00:50:45 ohh they have two different apps.. one for north america and one for not Sep 25 01:13:16 decompile it with dex2jar and crack it urself since this is a programming channel Sep 25 01:14:13 dex2jar then jar decompiler, change what u need, sign it, then jartodex Sep 25 01:15:21 hahaha :) Sep 25 01:15:42 good luck recompiling anything from a decompiler Sep 25 01:15:57 wish I had skill to do that or I'd make bbc android player work in usa Sep 25 01:16:37 TechEffigy have you even tried that, or just assuming it works :| Sep 25 01:16:56 i have Sep 25 01:17:15 Ive decompiled and read source code Sep 25 01:17:40 but i havent re signed them, Bt there was a tutorial on how to do that Sep 25 01:18:11 thats how u crack android adks Sep 25 01:18:45 y do u think piratebay has 400mb a month of cracked android games Sep 25 01:18:56 last time i used dex2jar & co, the output was between vomit and hilarious Sep 25 01:19:29 after dex to jar u use a proper jar decompiler Sep 25 01:20:05 cnt remember what its called Bt if u ask nicely ul look, it outputs almost perfect java Sep 25 01:20:15 ill Sep 25 01:20:39 Ive learned alot from my java decompiler Sep 25 01:20:49 a lot = two words Sep 25 01:20:56 it even gives the programmers comments Sep 25 01:21:14 ill quickly look Sep 25 01:21:15 no it doesn't :) Sep 25 01:21:26 that information isn't kept in a dex file/jar file. Sep 25 01:22:28 well i decompiled the news24 app and it had comments and everything Sep 25 01:22:40 its called java decompiler Sep 25 01:23:12 but in general, this probably isn't the best forum for talk of pirating/cracking apps :) Sep 25 01:23:21 Bt i see amazon market uses proguard Sep 25 01:23:33 dno how to.crack proguard Sep 25 01:23:50 are you a bit special, TechEffigy ? why are you using all these odd shortcuts ? Sep 25 01:24:01 decompiling is programming VM instruction set Sep 25 01:24:02 Bt, dno, cnt ... Sep 25 01:24:12 im on the phone Sep 25 01:24:47 my phone keyboards a bit small and effortful Sep 25 01:25:12 swype it up Sep 25 01:25:47 i found android source code isn't readily available so i decompile apps to learn from them Sep 25 01:26:08 I have a loader querying the media store to display the images/videos a user has on their phone in my app. All is working well, however when you have 1k+ images, and the loader decides to reset, then i lose my position in the list of data, and i have the list recreate , which takes quite a long time... I thought about somehow merging the new data with the current data to prevent the massive refresh, but that introduces a O(n^2) algorithm Sep 25 01:26:09 when dealing with an array. Is there a better way to handle / display this data? I don't want to lose position on refresh, and i want to have the latest data in the adapter Sep 25 01:26:29 i havent really used swype, ill give it a try Sep 25 01:34:22 i dnt have swype on this phone Sep 25 01:41:13 JesusFreke intellij / AS question, if i have Class A { static class B { String str } } … and I want to be able to say B.str in my code, with the right import ( import A.B } how do I do this, AS insists on fully qualifying the whole thing Sep 25 01:41:44 so it keeps substituting A.B.str which is too verbose Sep 25 01:42:01 it winds up being FooContract.FooColumns.Str for example Sep 25 01:44:28 the autocomplete suggests FooColumns, but when i hit enter it actually puts the whole thing Sep 25 01:46:15 Alt-Enter on the thing Sep 25 01:46:18 and do a static import Sep 25 01:47:14 I am trying to update apps on my android device and it shows there is an update but after it downloads says X app is not installed when it is. Is there a way to find out why it does this? I do have a sd card mounted(installed) Sep 25 01:48:45 delete the app and reinstall Sep 25 01:49:21 romainguy hm, alt-enter only showed a list of "Exclude xxx from completion', with various forms of xxx. Sep 25 02:03:19 please how do I begin android programming Sep 25 02:03:33 know java and its oop concepts first Sep 25 02:05:23 XXCoder, so i have to master java first before moving to android? Sep 25 02:05:33 it would help Sep 25 02:05:44 Hello Sep 25 02:06:12 XXCoder, Thanks then Sep 25 02:06:18 no problem Sep 25 02:06:31 * bePolite Back to reading "Java how to program 9th edition" Sep 25 02:06:56 its easier to learn java without having to deal with android "meta programming" stuff Sep 25 02:07:13 coding is pretty much same Sep 25 02:07:19 bePolite what book is that ? Sep 25 02:07:45 Hello Sep 25 02:07:45 I am trying to update apps on my android device and it shows there is an update but after it downloads says X app is not installed when it is. Is there a way to find out why it does this? I do have a sd card mounted(installed) Sep 25 02:08:09 oh, i thought so . . . Dietel Sep 25 02:08:13 yuck Sep 25 02:08:14 g00s, Its a book I found on Java after alot of digging Sep 25 02:08:28 g00s, do you have some better alternatives? Sep 25 02:08:42 hm Sep 25 02:09:59 LLckfan: why do you spam every channel you go in ? Sep 25 02:11:11 bankai_, maybe he is paranoid Sep 25 02:11:19 bePolite probably http://www.amazon.com/Introduction-Programming-Java-Interdisciplinary-Approach/dp/0321498054 Sep 25 02:11:59 i think i learned from "Core Java" + tuts on the web; then eventually read "Effective Java 2e" and "Java Concurrency in Practice" which were good Sep 25 02:12:26 okey Sep 25 02:12:47 but Core java was two editions; i think too fluffy Sep 25 02:12:48 g00s, How long did you learn java before moving to android dev? Sep 25 02:13:17 i didn't really use it before android Sep 25 02:13:50 only a little JEE Sep 25 02:14:09 whats jJEE? Sep 25 02:14:26 java enterprise stuff, EJBs, etc Sep 25 02:14:34 mostly crap Sep 25 02:14:57 lol Sep 25 02:15:25 I think I will study java for this 2 semesters than hack android during the break Sep 25 02:15:33 i remember Norvig slamming Dietel's Python book ... Sep 25 02:15:48 but i /knew/ the editor of Dietel's books Sep 25 02:15:59 turns out, a team wrote the book :) Sep 25 02:16:00 Oh i forgot can i program on android using python?? Sep 25 02:16:08 hm, not officially Sep 25 02:16:16 okey Sep 25 02:16:24 too many languages Sep 25 02:16:29 one problem to be solved Sep 25 02:16:55 bePolite what other languages do you know ? Sep 25 02:17:15 c# is possible. dunno on any other besides java Sep 25 02:17:17 Hello Sep 25 02:17:18 I am trying to update apps on my android device and it shows there is an update but after it downloads says X app is not installed when it is. Is there a way to find out why it does this? I do have a sd card mounted(installed) Sep 25 02:17:23 g00s, I know C thats all Sep 25 02:17:28 LL must be a bot Sep 25 02:17:45 i think he's just a c-u-next-tuesday Sep 25 02:17:55 bePolite hm, ok then no OO …. well android isn't terribly OO, but it may be a shift in thinking Sep 25 02:18:00 NOT A BOT Sep 25 02:18:02 LLckfan, just be patient somebody will respond with a "ban" Sep 25 02:18:38 ban usually is good experence Sep 25 02:18:46 g00s, I love programming and I believe i can get along with any language possible Sep 25 02:18:53 then he just goes into another channel and does the same thing Sep 25 02:18:54 g00s, do you do C Sep 25 02:19:01 bePolite i started in C Sep 25 02:19:07 yeah good idea to understand oop concepts Sep 25 02:19:13 my first programming book was the K&R, in high school Sep 25 02:19:26 and java. enough to do ok in programming in java, then move to android and learn its concepts Sep 25 02:19:47 can an annotation on an abstract method be inherited? Sep 25 02:19:51 yeah, the tricky part always comes with concurrency Sep 25 02:20:04 fun stuff. I still dont understand that 100% Sep 25 02:20:13 g00s, then I wasn't the only one who started with C Sep 25 02:20:14 bePolite leverage existing high level stuff like jsr166 / RxJava if you can Sep 25 02:20:14 just that some stuff thats bad can happen Sep 25 02:21:01 XXCoder, how long can one study java before moving on to android Sep 25 02:21:13 I'm not best person to ask Sep 25 02:21:14 it depends on the person Sep 25 02:21:15 g00s, how are pointers called in java Sep 25 02:21:22 they are references Sep 25 02:21:24 whats important is bit of confience Sep 25 02:21:25 dnt think java is that essential to android Sep 25 02:21:34 okey Sep 25 02:22:11 bePolite maybe just try the oracle tuts first and see if you can do with that Sep 25 02:22:18 maybe don't need a book :) Sep 25 02:22:20 i come from a Delphi background, dived straight in android programming, just quickly braized through a java for android book Sep 25 02:22:52 oh, Philip Khan, those were the days ! Sep 25 02:23:21 TechEffigy, what do you mean by Delphi background? Sep 25 02:23:46 its just those inner classes, interfaces that i had a problem learning Sep 25 02:24:04 Ive programmed Delphi my entire life Sep 25 02:24:39 g00s, please for the link Sep 25 02:24:42 is it free? Sep 25 02:24:49 and java primitive data type like byte and int get passed as params as copies Sep 25 02:24:55 and not pointers Sep 25 02:25:15 although objects get passed by pointer Sep 25 02:26:28 TechEffigy, so you learbed all these by diving starigt to android Sep 25 02:27:18 yip,and just for a day or two checking out some chapters in a java for android book Sep 25 02:27:42 but i understood oop b4 hand anyway Sep 25 02:27:58 whatss opp? Sep 25 02:28:08 Bt if u dnt understand oop, get a java book an practice their examples Sep 25 02:28:28 object oriented programming Sep 25 02:28:40 i now understand Sep 25 02:28:47 I know nothing about opp Sep 25 02:29:22 then programming android will take u 3 years Sep 25 02:29:52 romainguy i need to have "use imports for inner classes" checked in AS; thanks Sep 25 02:30:15 TechEffigy, thats discouraging Sep 25 02:30:19 learning a language is one thing, learning to design an application and gaining programmers logic takes years Sep 25 02:31:02 bePolite you'll be OK Sep 25 02:31:27 i dont find super advanced OO required for android at all Sep 25 02:31:32 TechEffigy, I understood that when learning C Sep 25 02:31:37 its true, Ive been programming since i was 15 an im 28 now, an the most difficult part was design patterns and when to use them Sep 25 02:32:18 Hello Sep 25 02:32:19 I am trying to update apps on my android device and it shows there is an update but after it downloads says X app is not installed when it is. Is there a way to find out why it does this? I do have a sd card mounted(installed) Sep 25 02:32:39 if there advice for learning fast oop, read 2d game source codes Sep 25 02:33:48 they use factory patterns, downcasting, upcasting, polymorphism, threads and all that stuff Sep 25 02:33:58 LLckfan, Somebody will solve your problem just be patient and stop spamming Sep 25 02:34:04 singletons Sep 25 02:34:53 i think llck is a bot Sep 25 02:36:36 id love to get angrybirds source, great physics engine Sep 25 02:38:01 g00s, the apps im currently building requires heavy polymorphism Sep 25 02:41:17 wow polymorphism Sep 25 02:42:22 well bepolite what type of apps do u want to build? Sep 25 02:43:03 games, net clients, basic UI apps? Sep 25 02:44:03 i do more scientific programming, so maybe my advice is more aimed at that Sep 25 02:45:21 TechEffigy, I'm more interested in productivity apps using net clients Sep 25 02:45:25 not a game fan Sep 25 02:45:54 TechEffigy scientific programmin? i have a question for you then. Lets say you have sensor data (30 parameters) arriving every 2 seconds. A mixture of floats and integers; nothing with more than 5 significant figures. How would you go about storing this compactly on Android ? Sep 25 02:46:03 aaah ok, well then it will take a year Sep 25 02:47:27 bePolite btw, study the iosched 2013 code, lots of good stuff in there Sep 25 02:48:45 g00s, thats after i study java right Sep 25 02:48:54 doesnt sound scientific, but Ive seen someone doing that before using an sqlite db, an then id use interpolation to cut the data down, or some kind of stream of compression. Sep 25 02:49:09 just from the top of my head Sep 25 02:49:32 bePolite should be easy to read once you understand classes Sep 25 02:49:36 by if u gave me more details, id be able to do more research Sep 25 02:50:16 TechEffigy would you store in sqlite as reals or fixed point ints (scaled) ? Sep 25 02:51:05 i deal more with neuralnets, ai, Markov chains and dynamic algorithms Sep 25 02:51:59 id store as blobs of streams, but that depends how i would filter through the data later Sep 25 02:52:37 TechEffigy what kinds of neural networks ? Sep 25 02:53:40 mostly feed forward back Propogation, Bt doing more research into feedback Sep 25 02:53:53 an recurrent Sep 25 02:54:01 g00s, downloading the app now Sep 25 02:54:55 run tracker does what u want, and its source is available Sep 25 02:55:14 yeah, its pretty lame code Sep 25 02:55:16 :) Sep 25 02:56:15 gotta run Sep 25 02:56:36 one thing i db like about android programming is i cant do all the heavy duty ai i did before, i see most apps just send it off to a web service an returns a result Sep 25 02:56:58 gr8 Sep 25 02:57:54 im currently working on a text based game Sep 25 02:58:45 imagine ur gf kidnapped in a saw type puzzle horror, and u talk to her over watsapp and lead her out Sep 25 02:59:39 its a text adventure where u talk to a bot to lead her out of the evil puzzling world she is in **** ENDING LOGGING AT Wed Sep 25 02:59:59 2013