**** BEGIN LOGGING AT Thu Jan 10 02:59:59 2013 Jan 10 03:05:06 Okay I'm hoping to get this answered once and for all. The docs say when surfaceHolder.unlockCanvasAndPost returns, the screen is updated. But does it return immediately? Or does it wait until the device is ready for the next frame? Jan 10 03:05:29 As in defers to the refresh rate Jan 10 03:07:03 Excuse me all Jan 10 03:07:28 Youre excused Jan 10 03:07:31 i want to make listview, but not use Activity, i want use Fragment Jan 10 03:07:48 And the listview not vertical but display horizontal Jan 10 03:08:06 And i will put the fragment on the activity Jan 10 03:08:33 greatjustice:thank you Jan 10 03:08:36 :) Jan 10 03:10:27 Anyone can give me some enlightenment..?? Jan 10 03:23:54 oi Jan 10 03:24:12 let me seee that THoooOOOOooOOONG BABY that THONG THONG THONG THONG THONG Jan 10 03:25:27 Hey, the cursor is always not on the UI thread right? Jan 10 03:25:41 i don't think u should say that here, u will most likely be disappointed/disturbed Jan 10 03:25:56 Like if I'm using a cursor to update my listview and then I add it, it runs as an asynctask? Jan 10 03:26:19 while i have nothing to back me up i doubt it Jan 10 03:26:43 i mean if your interacting with the cursor how is it magically going to hope onto another thread? Jan 10 03:29:54 Jug6ernaut: Magic, duh Jan 10 03:30:32 I thought that was the point of the URI thing? Jan 10 03:58:57 scumbag maps v2 api: i tell it to move to lat/long, it moves to really-close-to-lat/long Jan 10 03:59:30 hi all Jan 10 03:59:40 osxorgate: any hacks to use maps v2 api on emulator? Jan 10 03:59:57 Maziz: i havent used emu in a year, and im quite happy with it Jan 10 04:00:18 i see Jan 10 04:52:03 I'm trying to use setLayerType(LAYER_TYPE_SOFTARE, null) to disable hardware acceleration on a webview for ICS devices as I was hoping that might work around issues with font rendering webkit seems to have when composited layers are used, but it doesn't seem to have any effect... Jan 10 04:52:31 it seems webkit rendering has taken some huge steps backwards between GB and ICS... Jan 10 04:52:50 i think there's also a setting that forces gpu Jan 10 05:33:05 hi guys Jan 10 05:33:37 its my undertanding opengl es 2 is strictly for rendering the images, does that mean all game logic will still need to be handled in java? Jan 10 05:35:29 opengl is a 3d api, correct Jan 10 05:35:45 Hello. Jan 10 05:35:53 it could be c++ but yes what you are looking for is opengl isnt the actual code necessarily at all Jan 10 05:36:33 I want to visualize audio, and I'm using MediaPlayer and Visualizer. Jan 10 05:37:06 But Visualizer is affected by MediaPlayer.setVolume. Can I avoid from it? Jan 10 05:37:24 Hello. Jan 10 05:37:43 I'm using API level 15. Jan 10 05:39:07 Hello. Jan 10 05:39:18 repeating will get you nowhere Jan 10 05:39:20 I assure yout aht Jan 10 05:44:27 Hello. Jan 10 05:50:43 mh35, you will have to make your own animation then Jan 10 05:50:51 mh35, got me? Jan 10 05:51:17 make a custom view.. and fill it with whatever Jan 10 05:52:18 I cannot understand what you say. I implemented a custom view, and it worked if the volume was (1.0, 1.0) Jan 10 05:53:20 But if the volume was (0.0, 0.0), it resulted the value was fixed. Jan 10 05:53:23 mh35, just make it like this logic: while MediaPlayer is playing run a custom view Jan 10 05:54:03 it's a custom view.. has nothing to do with media player Jan 10 05:54:37 but you just make this relationship thru that condition Jan 10 05:55:05 Are there any examples? Jan 10 05:55:39 so in code : while ( mediaplayer.isplaying()) invalidate Jan 10 05:56:31 and this has to be in a thread so to let the custom view run smoothly. Jan 10 05:56:39 I see. Jan 10 05:56:48 mh35, ok great Jan 10 05:56:59 so in code : Jan 10 05:58:25 I'm using Visualizer.setDataCaptureListener, and onFftDataCapture makes the custom view update. Jan 10 05:59:11 Thread t = new Thread(){ void run(){ while (mediaplayer.isplaying()) {myview. invalidate()} } } ; t.start(); Jan 10 05:59:34 useless use of t Jan 10 05:59:43 mh35, i don't know the Visualizer class Jan 10 05:59:47 pragma-, why? Jan 10 05:59:58 also, horrible busy-loop Jan 10 06:00:37 well.. how would you check for media player if it's playing? Jan 10 06:00:59 or yeah Jan 10 06:02:13 hello all Jan 10 06:02:20 so....what version of java is running on android 2.2? Jan 10 06:02:22 otherwise is if you run mediaplayer.. make the custom view always invalidate itself thru checking the flag Jan 10 06:02:33 For those of you using SQLite in your apps, do you use the auto_vacuum pragma? Jan 10 06:02:49 I dont Jan 10 06:02:52 because thats how I ROLL Jan 10 06:02:59 I'm using two MediaPlayer instances, and one MediaPlayer instance volume is 1.0, and the other's one is 0.0. Jan 10 06:03:07 ron_frow_: hah nice Jan 10 06:03:28 superfluous: none Jan 10 06:03:32 1.0 MediaPlayer displays visualization, but 0.0 does not Jan 10 06:03:34 right, its dalvik Jan 10 06:04:14 i'm the iOS guy, but the android guy seems to be having problems with @Override on 2.2, and he asked me to look into java versions and such Jan 10 06:04:21 pragma-, when are we going to be allowed to use jave 7? Jan 10 06:04:43 it's really annoying! i love using switch statement Jan 10 06:04:51 1.6 Jan 10 06:05:01 superfluous - nice Jan 10 06:05:06 good sign of a great android guy=) Jan 10 06:05:14 uh, java has switch before 7 Jan 10 06:05:28 ron_frow_: he doesnt speak english that great Jan 10 06:05:33 ahh Jan 10 06:05:35 even more fun Jan 10 06:05:40 pragma-, no.. the switch statement is weak in 1.6 Jan 10 06:05:49 i'm the only native english speaker on the team :D Jan 10 06:06:13 but there shouldn't be a problem using @Override on 2.2 as far as anyone here knows? Jan 10 06:06:13 I had some time working in person with some of the htc android teams back in the day Jan 10 06:06:14 it just does the switch on int and booleans and enums only Jan 10 06:06:17 it was... interesting Jan 10 06:06:37 I'm white bread american, dont speak any languages that would be useful communicating Jan 10 06:06:49 yeah except English lol Jan 10 06:06:55 LOL! Jan 10 06:07:11 wll the english was... say something... and watch blank faces Jan 10 06:07:14 well i am an arab.. i know languages from here and there Jan 10 06:07:18 oohh Jan 10 06:07:33 or nods and then try to guess if they actually understood what you were saying Jan 10 06:07:33 haha Jan 10 06:07:36 of course i know english as my main second language Jan 10 06:07:50 I can speak english, spanish, and enough german to get me slapped Jan 10 06:07:54 "main second" Jan 10 06:07:55 but i know words or sentences from other languages Jan 10 06:08:01 BURRITO Jan 10 06:08:04 CHIMICHANGA Jan 10 06:08:09 haha Jan 10 06:08:21 silencio pendejo Jan 10 06:08:49 I'll admit to being decent at Japanese Jan 10 06:09:02 pragma-, i mean the first foreign language i would think of using Jan 10 06:09:19 "foreign" Jan 10 06:09:29 yes Jan 10 06:09:32 I took japanese on rosetta stone... and I gotta say, they show you the little stick figure houses and shit Jan 10 06:09:34 I am an arab Jan 10 06:09:35 english is not foreign anywhere. Jan 10 06:09:36 and say a word Jan 10 06:09:40 it is the language of earth. Jan 10 06:10:11 its one of those languages I don tthink I could learn unless i twas my first language Jan 10 06:10:17 i know japanese well enough for a large japanese company to hire me full time and put me on a team of 30+ no-english japanese people Jan 10 06:10:20 to us arabs it's a foreign language. Jan 10 06:10:21 so i think its well enough Jan 10 06:10:22 at least cyrillics seem to have SOME familliar characters =) Jan 10 06:11:39 the language of the earth , like someone said, is SEX LOL Jan 10 06:11:46 I usually speak Japanese. Jan 10 06:13:26 pragma-, english or american? Jan 10 06:14:48 The queen's english is silly. Jan 10 06:14:50 superlinux-hp: wrong, food and sex Jan 10 06:15:17 trinity, oh true! i forgot about food. yummmmmm Jan 10 06:15:50 yum.. not apt-get (debian linux pun) Jan 10 06:15:51 anyone here eaver heard of a user named GMDynamics? Jan 10 06:16:09 nope Jan 10 06:16:25 if i have plans for a cross platform game, should i stick with opengl and java Jan 10 06:16:39 ill have to rewrite all the java game logic though, right? Jan 10 06:16:39 beast, what kind of game? Jan 10 06:16:45 well awesome, we're using a small, unknown json parsing library..this will end well Jan 10 06:16:47 3d rts Jan 10 06:17:03 cool cool. Have you heard of HaXe? Jan 10 06:17:04 pragma-, i think you should learn arabic or french as your other language. Jan 10 06:17:10 nope Jan 10 06:17:13 check it out Jan 10 06:17:33 looks insane Jan 10 06:17:36 but is it bloated? Jan 10 06:17:36 So, it doesnt have to do with @Override at all Jan 10 06:18:00 they made a new keyword... @PropertyName("input here") Jan 10 06:18:08 ill look into it Jan 10 06:18:14 I've got a friend who worked for some big name companies and he's all about it Jan 10 06:18:14 I dont know that much about java...but is there any reason doing something like that would fail in 2.2? Jan 10 06:18:19 anyone have experience with the libgdx? Jan 10 06:18:45 apparently, HaXe's code generator is smart enough to generate very nicely optimized code so i hear Jan 10 06:18:54 beastmanrage: #libgdx Jan 10 06:19:01 nice Jan 10 06:19:09 oh Jan 10 06:19:10 didnt see that Jan 10 06:19:25 ;), use libgdx, web + desktop + android Jan 10 06:19:32 no iphone? Jan 10 06:19:42 i heard they were working on it Jan 10 06:20:22 i might just shoot for my own engine right now for experience, but im reading all this opengl stuff and i was wondering wheres the actual game logic go? Jan 10 06:20:35 what do you mean? Jan 10 06:20:43 opengl to me feels like the final step in the process Jan 10 06:20:52 OpenGL is an application-agnostic 3D rendering system Jan 10 06:21:03 beastmanrage: Beginning Android Games - Mario Zechner Jan 10 06:21:10 ^ great book Jan 10 06:21:14 2 frameworks included, with good documentary Jan 10 06:21:16 well ill order it then Jan 10 06:21:19 if you need help, #android-games Jan 10 06:21:24 i bought the one from munshi Jan 10 06:21:50 question, do you guys make games? Jan 10 06:21:56 yep Jan 10 06:22:00 i used to Jan 10 06:22:01 as an employee? Jan 10 06:22:05 yes Jan 10 06:22:09 yeah Jan 10 06:22:10 is it good money? Jan 10 06:22:15 one second... Jan 10 06:22:19 if you're good, any android job is good money Jan 10 06:22:25 if you're not good, no job is good money Jan 10 06:22:31 http://archives.igda.org/breakingin/home.htm this Jan 10 06:22:33 well thats not true Jan 10 06:22:33 im an EE about to finish one more semester, but i love this shit Jan 10 06:22:48 http://archives.igda.org/breakingin/path_programming.htm and the salary Jan 10 06:23:04 well maybe ill stick to the hobby Jan 10 06:23:13 it's tough to break into Jan 10 06:23:21 you need to know people Jan 10 06:23:23 beastmanrage: I heard horrible stories about corporate game programmers Jan 10 06:23:31 ^ depends on the studio Jan 10 06:23:44 yea thats what i was wondering, do you sit in a cubicle all day and slave Jan 10 06:24:00 yea definetely on the studio, but majority requires you to be a complete nerd, work long hours, and become a machine Jan 10 06:24:25 most studios are looking for programmers who have 0 social life Jan 10 06:24:28 the bottom line is you have to know the corporate culture before you apply to work somewhere Jan 10 06:24:38 trinity, thats crazty Jan 10 06:24:52 doesnt that just sap the creativity out of people Jan 10 06:25:12 tbh that can be said of any software engineering job in general Jan 10 06:25:36 not just gaming Jan 10 06:25:48 so is anyone a free lancer with a bomb app? Jan 10 06:26:21 ive never worked anywhere that required "slavery" Jan 10 06:26:27 is it generally bad (stylistically or otherwise) for your main activity (or any activity?) to implement a bunch of interfaces like OnClickListener, OnFocusChangeListener, etc. rather than subclassing them? Jan 10 06:26:29 and that "high" salary is pretty low Jan 10 06:27:08 yeah it doesn't pay as much as banking or the algorithmic trading Jan 10 06:27:18 no i mean for gaming Jan 10 06:27:20 canadiancow: that's cause youre talented enough to be wanted by "creative" studios Jan 10 06:27:24 lol Jan 10 06:27:25 :) Jan 10 06:27:27 I know. Jan 10 06:27:31 if you guys developed an app that got to a point where it could explode, how would you expand? Jan 10 06:27:35 aka, Google. Jan 10 06:27:39 flagship for creativity Jan 10 06:27:59 beatmanrage: i'd prefer to think about that when it explodes ;) Jan 10 06:28:10 gaming is about working with awesome people doing awesome stuff. not so much the pay Jan 10 06:28:36 ^ point++ Jan 10 06:28:37 very true, i have a hard time creating things for the money of it anyways Jan 10 06:28:39 if you're working for a company with more than like 5 people, it's not going to be "awesome people doing awesome stuff" Jan 10 06:28:41 unless it's google Jan 10 06:28:42 i dont think my brain would work Jan 10 06:29:03 Valve is supposed to be nirvana to work at Jan 10 06:29:24 I feel bad for the devs of Battlefield 3 Jan 10 06:29:29 If you ever feel like feeling jealous, check out their new employee manual. it's publicly available Jan 10 06:29:31 no kidding^ Jan 10 06:30:10 MercuryTW: don't need to. I've already seen heaven for programmers. http://www.google.com/about/jobs/lifeatgoogle/ Jan 10 06:30:32 disagree Jan 10 06:30:39 you can't tell how the environment is until you've been there Jan 10 06:30:40 you guys wouldnt know if they did EE internships at google? Jan 10 06:30:43 the people are everything Jan 10 06:30:46 beastmanrage, they do Jan 10 06:30:52 google.com/jobs Jan 10 06:30:58 that would be awesome. Jan 10 06:31:41 <\n> 03:27:07 osxorgate | apparently a \n suffices Jan 10 06:31:42 <\n> wat Jan 10 06:32:49 if you seriously think that message was for you, you probably shouldn't be here Jan 10 06:32:54 and if you're making a joke, it's not funny Jan 10 06:33:55 If you have the time and skills, I think it is very easy to carve out a $100k a year business right now Jan 10 06:34:25 Ologn: are you talking about a self-employed business? Jan 10 06:34:29 trinity, yes Jan 10 06:34:52 if you have the time and skills, you can do much better than 100k Jan 10 06:35:07 it all comes down to one thing, passion. Jan 10 06:35:09 canadiancow, sure. I'm being conservative. Jan 10 06:35:18 passion -> success in any area Jan 10 06:35:39 and CDC - Concentration, dedication, confidence Jan 10 06:35:56 centers for disease control? Jan 10 06:35:56 Thank you. Jan 10 06:36:06 trinity -> Tony Robbins Jan 10 06:36:11 trinity - and also reflection, insights Jan 10 06:36:31 and endurance Jan 10 06:37:12 any Google emps in here I can add to my application? Jan 10 06:37:23 lol Jan 10 06:37:31 :-D Jan 10 06:37:33 so i believe they want google employees you KNOW Jan 10 06:37:52 honestly, the best you're going to get is "he came on irc and bothered me about getting a job" Jan 10 06:37:52 a brief introduction should suffice Jan 10 06:38:05 haha Jan 10 06:38:11 lol Jan 10 06:38:23 or "i saw him in #android-dev at least once" Jan 10 06:38:33 but honestly, im in here all the time Jan 10 06:38:33 automatic - "distraction for other employees do not hire" Jan 10 06:38:36 and i have no idea who you are Jan 10 06:38:39 yea right, ive been creeping in and out of here for years Jan 10 06:38:41 or if you know anything Jan 10 06:38:53 ring a bell? Jan 10 06:38:56 no Jan 10 06:38:59 pssht Jan 10 06:39:00 pwnstamp. Jan 10 06:39:14 i remember pragma- from like 3.5 years ago helping me out with a viewgroup Jan 10 06:39:23 or you know what, that would have been 2.5 years ago Jan 10 06:39:33 i vaguely remember exchanging graphics with u at one point Jan 10 06:39:38 logos Jan 10 06:39:47 ..or something Jan 10 06:39:51 but see, you actually help out technically, and people will remember you Jan 10 06:40:02 canadiancow: remember me? lol or kaikai Jan 10 06:40:02 and then when you say "HAY CAN I HAZ GOOGLER REFERENCE", someone might say yes Jan 10 06:40:12 yes, kinda Jan 10 06:40:15 but you're pretty new arent you? Jan 10 06:40:22 1 week Jan 10 06:40:29 yeah Jan 10 06:40:35 trinity == kaikai? Jan 10 06:40:35 or maybe 4 days don't remember Jan 10 06:40:37 so i recognize your name, but you're not "OH I KNOW HIM AND HE'S GOOD" Jan 10 06:40:53 LOL, pwnstamped Jan 10 06:40:53 ^ that's why I use the same nick everywhere :) Jan 10 06:41:09 thats why i didnt change my nick to something more professional :P Jan 10 06:41:17 i log onto beastmanrage to ask the really dumb questions Jan 10 06:41:22 what would be a more professional ign canadian Jan 10 06:41:24 this nick still has some pride Jan 10 06:41:30 yeah you keep the same one too canadian? How old is it? Jan 10 06:41:39 ive used this for like 10 years Jan 10 06:41:44 in #android-dev, for 3.5 Jan 10 06:41:48 any news on when tegra 4 tablets will be released? Jan 10 06:41:52 damn. respect Jan 10 06:41:53 hey guys Jan 10 06:41:57 ive been thinking about changing it for the past 4 months, but it would be too much adjustment Jan 10 06:42:23 i'd have to go canadiancow->ccow->skennedy-cow (that might be too long)->skennedy Jan 10 06:42:32 so i forgot the password for my NickServ for Trinity, but somehow I can still use this nick on my KaiKai NickServ. Should I use kaikai or should i use trinity Jan 10 06:42:41 and parco: yea kaikai = trinity Jan 10 06:43:02 trinity = trinsta Jan 10 06:43:10 man I'm trapped in an unprofessional sounding yahoo address Jan 10 06:43:26 you know you've got to pay for fucking pop3 on yahoo? Jan 10 06:43:32 lol Jan 10 06:43:35 switch to gmail Jan 10 06:43:36 MercuryTW: can't be worse than my sisters. ****duhducky@yahoo.com Jan 10 06:43:36 :) Jan 10 06:43:40 it's how they force the lockin Jan 10 06:43:45 and shes 28 Jan 10 06:43:54 I want to switch to gmail but I've been stuck in my yahoo for years Jan 10 06:44:09 anyone with nexus 10? Jan 10 06:44:14 i have a n10 Jan 10 06:44:16 but not with me Jan 10 06:44:18 I'd need to use an outside program to manually pull emails from the yahoo until I've updated all my contacts Jan 10 06:44:25 so do that Jan 10 06:44:27 i wonder how much free ram you usually have with 2gb onboard? Jan 10 06:44:36 is that relevant at all? Jan 10 06:44:37 i'd hope none Jan 10 06:44:39 yeah I plan on it. It's a big switch Jan 10 06:44:41 free ram is wasted ram Jan 10 06:44:54 canadiancow, ? Jan 10 06:44:56 canadiancow was a vista use Jan 10 06:44:56 MercuryTW: switch to gmail, heard yahoo is still having trouble with XSS Jan 10 06:44:57 r Jan 10 06:45:03 ? Jan 10 06:45:10 i wonder how much free ram you usually have with 2gb onboard? Jan 10 06:45:14 yahoo is crap. I want to switch to gmail. trust me Jan 10 06:45:17 [22:44:38] <+canadiancow> i'd hope none Jan 10 06:45:20 [22:44:42] <+canadiancow> free ram is wasted ram Jan 10 06:45:23 i can play this game all night Jan 10 06:45:28 ^ linux user Jan 10 06:45:39 yes trinity Jan 10 06:45:54 name an operating system that doesn't fill up your RAM as fast as it can Jan 10 06:45:58 full ram is predicted cache, nobody wants that Jan 10 06:46:22 not "predicted" Jan 10 06:46:23 Mercury: switch to gmail, use thunderbird Jan 10 06:46:28 canadiancow, linux Jan 10 06:46:33 linux absolutely does Jan 10 06:46:37 windows Jan 10 06:46:40 and os x Jan 10 06:46:58 currently using 3.73GB of my 12GB, windows 7 Jan 10 06:46:59 it's pretty ironic when you're watching a "life at google" video and you see macs everywhere Jan 10 06:47:17 macs are popular for laptops Jan 10 06:47:23 engineers all have linux desktops Jan 10 06:47:28 unless you do more than word processing Jan 10 06:47:52 thinkpads are a joke now right? Jan 10 06:48:04 no? Jan 10 06:48:06 i have one Jan 10 06:48:09 i like it Jan 10 06:48:17 on my tablet i got 273mb free ram onboard i got 1gb ram is getting a tablet with 2gb ram advantageious Jan 10 06:48:17 i liked my old one better Jan 10 06:48:18 ive been thinking about getting one, but i thought the lenovo buyout made them shit Jan 10 06:48:33 linuxuz3r, if you have free ram, then no, more is not beneficial Jan 10 06:48:38 thinkpads are the AK-47 of laptops Jan 10 06:48:42 I couldn't imagine using a non-Linux desktop Jan 10 06:48:51 i use windows, mac, and linux Jan 10 06:48:53 regularly Jan 10 06:48:59 not in that order Jan 10 06:49:18 ok hit me with this, why use a linux desktop over a windows Jan 10 06:49:24 ^ this Jan 10 06:49:27 it depends what you're doing Jan 10 06:49:30 canadiancow, why is that not good Jan 10 06:49:31 trinity pls Jan 10 06:49:35 at work, it's beucase our build system doesn't work on windows (easily?) Jan 10 06:49:37 compilation is remotely reasonable Jan 10 06:49:37 also +1 to canadian Jan 10 06:49:38 if youre not setting up a lamp Jan 10 06:49:51 MercuryTW: pls what? Jan 10 06:50:03 parco: here is a command line I ran today on a web log Jan 10 06:50:10 pls your shenanigans are wacky Jan 10 06:50:15 parco: cat access.log|grep feed.ebooks | awk '{print $1,$7}'|awk -F'/' '{print $1,$5}'|sort|uniq|awk '{print $2}'|sort|uniq -c|sort -rn Jan 10 06:50:19 i try to jump on the bandwagon but installing simple things is such a head fuck Jan 10 06:50:31 linux laptop > linux desktop Jan 10 06:50:31 parco on what Jan 10 06:50:34 linux Jan 10 06:50:37 don't see anything wrong with that Jan 10 06:50:38 linux seems like its easier to install shit on Jan 10 06:50:39 haha Jan 10 06:50:41 this package needs something else, and so on Jan 10 06:51:00 sudo apt-get install libsomethingdev5 python3.2 javajre etc Jan 10 06:51:05 parco: you can't get productivity that fast on any other OS. The problem is it takes time to get familiar with sort, and uniq, never mind grep, awk etc. Jan 10 06:51:19 "productivity" Jan 10 06:51:23 i feel awkward installing stuff without a package manager or autoinstaller on *nix systems Jan 10 06:51:24 like programming? Jan 10 06:51:32 I found myslef fighting tons of shit until I started building with a linux box Jan 10 06:51:44 building what, C programs? Jan 10 06:51:45 lol wtf Jan 10 06:51:52 i wanna know what everyone is building Jan 10 06:51:54 I do platform dev which is for all intents and purposes undoable unless you are linux Jan 10 06:52:09 canadiancow, why does having 2gb ram not advantageous over 1gb ram? Jan 10 06:52:15 because you're not even using 1GB Jan 10 06:52:22 parco Jan 10 06:52:22 http://imageshack.us/a/img560/2002/overviewm.png Jan 10 06:52:27 How about NDK stuff. that goes much smoother or a *nix or derivative Jan 10 06:52:30 http://imageshack.us/a/img716/7200/drag12.png Jan 10 06:52:37 and now the hardware and os that goes with it Jan 10 06:53:08 MercuryTW, I've been doing a lot of NDK stuff on Ubuntu Jan 10 06:53:16 exactly Jan 10 06:53:29 that's what im saying. NDK sucks on windows Jan 10 06:53:34 idk what im looking at, looks like a BOM Jan 10 06:53:38 Actually my upstream just ported a Quake clone to Android, with high ratings from Google Play reviewers Jan 10 06:53:50 My NDK library upstream Jan 10 06:53:54 parco not in either of those screenshot Jan 10 06:53:57 MercuryTW: http://www.youtube.com/watch?v=JUaHiONTM1I and I thought my "shennanigans" were wacky Jan 10 06:54:05 but some parts of this app deal with boms Jan 10 06:54:09 inb4 rickroll Jan 10 06:54:10 just industrial automation shit Jan 10 06:54:34 looks intense ron Jan 10 06:54:53 how do I play a mp4 stored in the assets folder? Jan 10 06:55:22 so let me get this str8, u write this on a linux box? Jan 10 06:55:28 yeah Jan 10 06:55:30 that so happens to look like android? Jan 10 06:55:35 does having 2gb ram advantageous than having 1 gb ram? Jan 10 06:55:37 that is android Jan 10 06:55:51 ron_frow_, Jan 10 06:55:53 but os dev and shit is nearly impossible on mac Jan 10 06:55:53 trinity: My favorite youtube shenanigans. I was searching for a nice TCP/IP overview lecture on youtube and I found this: http://www.youtube.com/watch?v=Yylh3WNE09w&feature=share&list=FL_cN74nPORgTVSsC76vBI5A Jan 10 06:55:54 is this an emulation window im looking at, or your whole OS is android Jan 10 06:56:05 im deciding if i should get a nexus 10 Jan 10 06:56:21 whole os is android, but whole android os consists of a lot of c++ =) Jan 10 06:56:26 and c for that matter Jan 10 06:56:35 thats actually pretty sweet Jan 10 06:56:45 that was running on a tablet Jan 10 06:56:48 now its all custom hardware Jan 10 06:56:54 omap 4460 Jan 10 06:56:54 talk about cranking some apps out, and not having to deal with SWING Jan 10 06:56:55 anyone can answer my question Jan 10 06:57:14 linuxuz3r, about N10? Jan 10 06:57:15 holy crap Jan 10 06:57:19 linuxuz3r: are you looking for a media consumption device? Jan 10 06:57:20 linuxuz3r - its gonna allow you to have more apps stay open, longer Jan 10 06:57:25 linuxuz3r: or a tablet? Jan 10 06:57:25 i dare you to ask that question one more time Jan 10 06:57:34 (hint: dont) Jan 10 06:57:35 a tablet Jan 10 06:57:44 lol Jan 10 06:57:49 does the nexus 10 have an external sd? Jan 10 06:57:53 no Jan 10 06:57:56 or any external mem Jan 10 06:57:58 usually a device has a per app memory limit, unless overriding it with large memory device whatever in manifest Jan 10 06:58:01 dude, that would be my deal breaker Jan 10 06:58:26 parco, why is that Jan 10 06:58:26 i bought my 60 year old father a nexus, nuff said Jan 10 06:58:39 parco, which one? Jan 10 06:58:45 nex 7 Jan 10 06:58:56 best gift ever Jan 10 06:59:00 chea Jan 10 06:59:03 p Jan 10 06:59:06 he doesnt use it Jan 10 06:59:06 I was shocked the nexus 7 didn't have a backfacing camera. seriously, what the fuck Jan 10 06:59:18 oh, er, should I not be cursing in here? Jan 10 06:59:26 probably no Jan 10 06:59:29 MercuryTW no you shouldnt be god damn it Jan 10 06:59:35 haha Jan 10 06:59:48 EYE MUFFS Jan 10 06:59:49 EYE MUFFS Jan 10 06:59:50 MercuryTW, it depends on what Leeds says, he runs everything here Jan 10 07:00:22 what about my ram question Jan 10 07:00:23 Although he's not around, so I guess it's OK Jan 10 07:00:25 ron_frow_: do you still use the xml layout and all that? Jan 10 07:00:31 yeha Jan 10 07:00:36 how do you make apps use 1gb of ram? Jan 10 07:00:47 all the framework stuff is still built using xml layouts Jan 10 07:00:50 LOL. Jan 10 07:01:03 ok Jan 10 07:01:12 ill stick with my transformer Jan 10 07:01:18 haha Jan 10 07:01:23 systemui app handles most of what you see outside of launcher and your apps (the menu bars etc) Jan 10 07:01:28 was it something i said? Jan 10 07:01:34 they should put sdcard on nexus devices Jan 10 07:01:41 dude dont let me steer u away, go nuts Jan 10 07:01:46 everythings cloud based anyways Jan 10 07:02:01 how does a user manager storage when there are two devices? Jan 10 07:02:09 is anything critical allowed on the removable sotrage? Jan 10 07:02:13 if so, what happens if it's removed? Jan 10 07:02:20 what should a user see when they connect it to a computer? Jan 10 07:02:28 what should happen if there is no extra storage plugged in? Jan 10 07:02:33 where should an app save files by default? Jan 10 07:02:37 etc Jan 10 07:02:56 ^^question every man should ask himself Jan 10 07:02:59 those don't sound like tough questions Jan 10 07:02:59 linuxuz3r, there is a reason Google does not put SDCards Jan 10 07:03:00 questions* Jan 10 07:03:07 but I might just be a noob Jan 10 07:03:09 NightRave: why is that? Jan 10 07:03:12 at the same time Jan 10 07:03:13 am I the only one who finds even 16GB pf storage enough? Jan 10 07:03:14 NightRave, whats the reason behind it Jan 10 07:03:29 NightRave, have you seen the size of 1080p porn Jan 10 07:03:30 that 1/2gb or ram is actually ram usable for keeping things resident Jan 10 07:03:37 trinity, linuxuz3r, as far as i know it's done to prevent mixing filesystems Jan 10 07:03:44 parco, i dont watch it Jan 10 07:03:44 not the actual how much can I save on it Jan 10 07:03:59 lol, good man Jan 10 07:04:02 take my Galaxy Nexus. I don't actually see everything on the device when I connect it to a computer Jan 10 07:04:03 MercuryTW, different people answer those questions differently Jan 10 07:04:06 and that's the problem Jan 10 07:04:10 well its costly Jan 10 07:04:23 but you can mount sdcard on a different folder NightRave Jan 10 07:04:37 anyone? Jan 10 07:04:43 how do I get something from the assets folder? Jan 10 07:05:12 linuxuz3r, one more thing, there are many cloud solutions, why do you need SD? Jan 10 07:05:24 etcetera: http://java.llp2.dcc.ufmg.br:8080/apiminer/docs/guide/topics/resources/overview.html Jan 10 07:05:24 SD is always needed Jan 10 07:05:39 removable storage will be needed until the end of time. Jan 10 07:05:41 NightRave, flashing roms and then resetting to factory defaults Jan 10 07:05:46 MercuryTW: resources are not assets. Jan 10 07:05:58 well, there is internal for that Jan 10 07:06:02 it was ignorant to not include it in the nexus' Jan 10 07:06:03 well I suck Jan 10 07:06:11 don't you think 8 or 16GB is enough people Jan 10 07:06:15 No Jan 10 07:06:22 I have a noob question.... while looking at ios dev and doing a few tutorials I found you can pass a method / trigger to another method for use on completion.... is the android way of doing this with something like a callback or runnable ? Jan 10 07:06:23 why the only android virtual device that works is nexus one profile Jan 10 07:06:28 etcetera: AssetManager Jan 10 07:06:34 NightRave, when you reset to factory default doesnt it delete the installed roms aswell? Jan 10 07:06:41 trinity: what if I want a direct path to the asset? Jan 10 07:06:51 linuxuz3r, as far as i know it does Jan 10 07:07:20 so thats one disadvantage of not having a sdcard Jan 10 07:07:24 getAssets().open(fileName); Jan 10 07:07:30 so Jan 10 07:07:34 StingRay so you're looking to pass a method as a parameter? Jan 10 07:07:37 any idea Jan 10 07:07:43 MercuryTW yes Jan 10 07:07:47 trinity: that will five me a descriptor. Jan 10 07:07:49 not a path. Jan 10 07:07:59 I guess I should ask...how do I use VideoView with AssetManager Jan 10 07:08:05 or the simple fact that if you have no connection to the cloud, you're SOL Jan 10 07:08:34 can you not do that in java? Alternatively, create an interface that defines a method prototype void handleCompletion( any params); Jan 10 07:08:45 if i kept multiple cards for music/recordings, i could simply pop them in Jan 10 07:09:07 how much ram on average does a 3d game consume? like one of those high end shooting types Jan 10 07:09:15 and pass in an anonymous instance of that class Jan 10 07:09:31 linuxuz3r tis variable and based on how it handles mem managment Jan 10 07:09:55 depends on the context and data loaded, and settings etc Jan 10 07:09:59 so what about me Jan 10 07:10:02 What's the survey say? Are there function pointers (or equivalents) in java? Jan 10 07:10:15 WHO_A_HOE wants a question answered... Jan 10 07:10:32 who: saw your question, don't know the answer. sorry Jan 10 07:10:35 WHO_A_HOE: you're developing for android. buy an android device Jan 10 07:10:54 yeah. Tbh the AVDs are awful Jan 10 07:11:00 disabled limited govement income Jan 10 07:11:01 unless you're doing the most basic stuff Jan 10 07:11:20 which is a hoe Jan 10 07:11:35 AVD in my opinion is to dip your feet into android to see if you like it or not Jan 10 07:11:44 I've been playing with the android VM in virtualBox (with full HW accel) Jan 10 07:11:48 pretty sweet Jan 10 07:11:54 etcetera: what are you trying to do with assetmanager Jan 10 07:12:00 AVD is great for the Hello World tutorial Jan 10 07:12:01 did I answer your question, stingray? Jan 10 07:12:05 trinity: get assets into video view. Jan 10 07:12:09 oh i've already took the cannonball in to android Jan 10 07:12:19 getAssets().open(fileName); Jan 10 07:12:25 paco: lol yeah if you're willing to wait 2 hours for the device instance to start up Jan 10 07:12:39 who listen, names not paco budday Jan 10 07:13:03 MercuryTW kinda, ish, I have interfaces defined for things like fragment calls, but this is just one of those sits... where just a pointer to a method would be cool, remembered in ios dev you can do it Jan 10 07:13:12 etcetera: decodeStream into video or something like that i'd assume Jan 10 07:13:29 oh yea, i remember those days, and with the way i debug it really does get annoying Jan 10 07:14:05 right. That's a C-family thing. I don't know if Java supports function pointers. Further, support for member function pointers is nonexistant in C++ to my knowlege, so you might kind of be screwed. Jan 10 07:14:38 etcetera: http://tinyurl.com/adq3yka Jan 10 07:14:45 but you can define a class that implements an interface inline by overriding a function Jan 10 07:14:49 what did you guys do after college? Jan 10 07:14:53 trinity: none of those are useful. Jan 10 07:14:56 like this... (one moment) Jan 10 07:15:02 asset manager return a stream . Jan 10 07:15:08 not a file path or uri that's useful for videoview. Jan 10 07:15:17 i guess im fooked Jan 10 07:15:20 http://tinyurl.com/adq3yka , or decodestream Jan 10 07:16:25 again, none of those are useful. Jan 10 07:17:01 time for bed Jan 10 07:17:24 etcetera: http://stackoverflow.com/questions/8269353/how-to-load-videos-from-assets-folder-to-play-them-with-videoview 2nd answer Jan 10 07:17:40 trinity: that does not use assetmanager. Jan 10 07:18:21 do you have to use assetmanager? Jan 10 07:19:17 trinity: that's what you just told me I had to use. Jan 10 07:19:25 And yes I would prefer to use a concrete type instead of a magic path. Jan 10 07:20:05 you asked me how to get resources from assets, i get my bitmaps by using Assetmanager and decoding stream Jan 10 07:20:23 then you clarified your question by asking me you need to get a video from assetmanager into videoview Jan 10 07:22:27 user AssetFileDescriptor + MediaPlayer Jan 10 07:22:45 + setDataSource Jan 10 07:30:50 sory for the delay stingry Jan 10 07:30:53 http://pastebin.com/BxnNA4sF Jan 10 07:31:04 you see what's going on in that code? Jan 10 07:31:09 i'm pretty patient and grateful :) Jan 10 07:32:10 let's say Handler is an interface that functionThatTakesCallback() takes. AbstractHandler is a prototype, and inline you're creating an anonymous implementation of AbstractHandler that implements the public void handle(...) function Jan 10 07:32:22 really, this is a snippet from code I was using Jan 10 07:32:56 you could just as easily say Handler handle = new Handler(){ public void handle(...) { blah; } }; Jan 10 07:33:09 if that was all it took to fully implement the Handler interface Jan 10 07:33:45 this way you just write one single Interface and have zero implemented classes to juggle, if your interface will be used in a very specific way Jan 10 07:33:56 yeah, I have done it this way b4 "ish" using handler.Callback Jan 10 07:34:00 Should I be able to set a style programmatically doing this?: http://stackoverflow.com/questions/14198460/problems-putting-a-black-cursor-in-my-autocompletetextview-as-many-others Jan 10 07:34:22 just never really been taught this so wanted to ask Jan 10 07:34:28 no problem. Jan 10 07:34:44 here's a fully implemented class that uses that paradigm Jan 10 07:34:58 http://stackoverflow.com/q/14224455/1819560 Jan 10 07:35:05 anli: is that your question? Jan 10 07:35:06 scroll down to the code in the ask Jan 10 07:35:24 anli: if so try using 9patch for the cursor so it wont look as funky stretching, etc Jan 10 07:35:39 Well, its only a black rectangle Jan 10 07:35:49 The problem however is that the cursor will still be white Jan 10 07:35:56 So the code seems to not be effective Jan 10 07:36:07 sorry, no experience with custom stuff like that Jan 10 07:36:49 lol I searched for function pointers in java and they basically said to use the same thing I just said Jan 10 07:37:14 MercuryTW good to know :) and thanks for help/confirming Jan 10 07:37:58 I kick myself sometimes Jan 10 07:38:08 self learning is sometimes not the best way !! Jan 10 07:38:10 :) Jan 10 07:38:32 lol glad to help. happy hacking Jan 10 07:39:04 mental note to self, "always check to see if any of your listViews have wrap_content set for height"... if so, stick yourself with a pin Jan 10 07:39:25 thats called classical conditioning ... gonna see if it words Jan 10 07:39:29 works* Jan 10 07:39:48 lol with an arduino you might be able to automate it Jan 10 07:39:49 I/Choreographer(1929): Skipped 109 frames! The application may be doing too much work on its main thread. Jan 10 07:39:52 what is that? Jan 10 07:40:09 squ. You're not supposed to do very heavy work in your UI thread Jan 10 07:40:15 haha also the result of doing what I just said above Jan 10 07:40:26 lol Jan 10 07:40:28 StingRay_: self conditioning: when app crashes, error occurs, doesn't happen as planned. self destruct project Jan 10 07:40:49 like playing on hardcore mode for D3 ;P Jan 10 07:40:56 MercuryTW, how do I know what is going on? Jan 10 07:41:03 squ: if you're going to do processing intensive work or call functions that might block, kick off an AsynchronousTask or a thred Jan 10 07:41:06 because emulator is just iddling Jan 10 07:41:20 do you call functions that block? Jan 10 07:41:24 doing nothing Jan 10 07:41:43 so ne1 actually using vm HW accell android machine instead of emu ? Jan 10 07:41:48 maybe something is happening that I dont know Jan 10 07:42:03 you're still debugging right now? Jan 10 07:42:13 nope Jan 10 07:42:23 squ: afaik with rev 21 something in the emulator is broken. i have the same problem. Jan 10 07:42:32 just updating to 21.0.1 to see if it is fixed Jan 10 07:42:43 (or was it rev 20?) Jan 10 07:44:17 ok, thank you Jan 10 07:44:32 anyone even tried androVM as alternative to emu ? Jan 10 07:44:43 cause if not it's worth a look ;) Jan 10 07:45:05 http://androvm.org/blog/ Jan 10 07:45:30 ATI videocards are supported? Jan 10 07:45:53 not sure, I have nvidia Jan 10 07:46:07 I would assume so as I doubt it does anything direct with gfx HW Jan 10 07:47:00 androVM not good for performance testing though Jan 10 07:47:11 uses too much of your host PC to be relevant Jan 10 07:47:18 as in "sh*t quick" Jan 10 07:47:50 but good to have the "full" android image on there, play etc Jan 10 07:47:55 hi Jan 10 07:49:09 how to install it on macos? Jan 10 07:49:50 squ i use it on osx Jan 10 07:49:56 do you guys know what he means: 08:34