**** BEGIN LOGGING AT Sun Nov 10 02:59:58 2013 Nov 10 03:48:57 What does youtube.com resolve to to you? Nov 10 03:49:31 74.125.229.160 bhut it will likely be different for you Nov 10 03:49:43 youtube.com has address 213.189.45.* Nov 10 03:50:03 Seems to be all in 213.189.45.0/24. Nov 10 03:50:03 Getting really frustrated at this damn app, Nov 10 03:50:09 shave999, why is it different? :^ Nov 10 03:50:22 round robin DNS Nov 10 03:50:35 different location Nov 10 03:50:48 shave999, 74.* is correct, I'm getting 74.* at my EC2. And 213.* from home. When I first saw this, I was, like, O_O Nov 10 03:50:58 Hmm. Nov 10 03:51:25 So they have, like, servers somewhere in my country, too? Nov 10 03:51:37 Caching servers, that have the most hit content? Nov 10 03:51:55 kind of Nov 10 03:52:00 Mkay. :o Nov 10 03:52:38 yes the do replicate the most common content for greater availability of likely requests Nov 10 03:54:11 the round robin DNS will redirect you to the IP that will require the least hops to get back to you OR distribute multiple requests to different locations for load balancing Nov 10 03:54:33 ultimately.... why are you asking.... that's a symptom... not a problem Nov 10 04:28:10 Hm, GitHub no longer lists my most-used languages or those of anyone I know. Nov 10 04:56:52 How expensive is Html.fromHtml? Would using it in an adapter on strings like this be bad? http://pastebin.com/PJxySi5Q Nov 10 04:57:46 huh? Nov 10 04:58:04 ? Nov 10 04:58:21 I'm not clear on what the question is Nov 10 04:58:27 how expensive Nov 10 04:58:45 is html.fromhtml, because i wish to use it in an adapter getview Nov 10 04:59:12 what do you mena html.fromhtml?? Nov 10 04:59:16 *mean Nov 10 04:59:23 ? Nov 10 04:59:37 http://developer.android.com/reference/android/text/Html.html Nov 10 05:00:47 oh.... yeah, i don't know anything about that Nov 10 05:01:07 okay... Nov 10 05:01:31 well that was productive Nov 10 05:01:53 glad i could(n't) help... lol Nov 10 05:03:17 lo all Nov 10 05:03:54 bonsoir Nov 10 05:04:03 whats new Nov 10 05:04:19 just working on some stuff Nov 10 05:04:29 fun Nov 10 05:04:52 i'm fighting with jenkins Nov 10 05:07:20 glorious. Nov 10 05:07:41 quite... Nov 10 05:09:31 now that ive got genymotion working its quite good Nov 10 05:13:54 whats genymotion? Nov 10 05:14:29 super fast emulator Nov 10 05:15:01 what are you emulating???? Nov 10 05:15:01 ah neat Nov 10 05:15:11 shave999: this is #androiddev Nov 10 05:15:15 take a guess :P Nov 10 05:15:47 um.... i thought maybe you were emulating something ON and android Nov 10 05:35:30 hi there, any with experience using AudioTrack in here? Nov 10 05:35:42 newp. whats that? Nov 10 05:36:27 that's android's low-ish level audio playback lib Nov 10 05:38:55 i'm porting an audio app I made in pure Java to Android but I can't seem to get the audio engine to work in Android. Nov 10 05:39:01 ah neat Nov 10 05:39:11 wish i could help but i've not touched it... Nov 10 05:39:23 i'm stuck on how to keep track of my fragments... Nov 10 05:40:14 aah ok Nov 10 05:40:46 i wish i could help with fragments but i've briefly played with them Nov 10 05:41:03 no worries... Nov 10 05:41:05 i'm not an Android expert at all Nov 10 05:41:27 it works mostly but after the app's been running on myu phone for a while, it seems to loose the reference to the fragment objects Nov 10 05:41:41 i'm trying to find a way to have it know when to recreate them and update the reference map... Nov 10 05:41:51 and crossing my fingers while doing that :) Nov 10 05:41:57 aah Nov 10 05:42:07 well good luck Nov 10 05:44:50 thx. you as well Nov 10 05:45:08 rburgosnavas: are you getting any errors or anything with yoru audio stuf? just not working or what? Nov 10 05:46:57 it plays audio for a fraction of a second with a gap of < 10 seconds and repeats the whole thing Nov 10 05:49:06 huh, odd Nov 10 05:49:11 i tried AudioTrack at first with a simple generated tone and it worked fine, no gaps. but when i tried to implement my little audio engine it started behaving this way... Nov 10 05:49:30 can you implement your engine a little at a time maybe? Nov 10 05:49:35 pin down whats going weird? Nov 10 05:52:31 i'm sort of inclined to do so, but i'm dreading the work it would entail, haha Nov 10 05:52:39 i hear ya :) Nov 10 05:53:09 and the interweb is not giving me any help from my searches... Nov 10 05:53:45 things like that are sometimes hard to find help on... Nov 10 05:53:52 lots of guys in here have been awesome at helpin gme look at code Nov 10 05:53:59 but audio is something kinda not too prominent Nov 10 05:54:56 yeah Nov 10 05:55:44 specially when using Java for audio. ideally one would want to use C/NDK and i think i would find more help with that but i don't know C Nov 10 05:55:52 yeah Nov 10 06:08:02 I WIN JENKINS LOOSE Nov 10 06:08:03 muahaha Nov 10 06:08:15 only took 4 hours... Nov 10 06:08:16 :-\ Nov 10 06:09:44 jenkins is loose? Nov 10 06:09:51 lose :) Nov 10 06:09:58 and yes it is loose... Nov 10 06:10:05 running all over the place Nov 10 06:11:34 ^ maybe he knows audio... with Wav in the name and all... Nov 10 06:29:45 anyone set up building an android app through jenkins? Nov 10 07:02:14 Any UI pals on? I need some design help for a list item with a thumbnail, title, description, and date. So far I have this: http://gyazo.com/95e2206cb9c61fa7b7b68180e2c47ee5 but it doesnt have a date and looks crappy Nov 10 07:08:45 hi Nov 10 07:10:20 is there a way to detect the exact orientation of a device? i'm trying to use this for a game where i need to know if the device has been rotated in any direction on the x. the only things i'm seeing are the gyroscope, which appears to give delta rotation, and some functions which give very rounded values ( to each 90-degrees) Nov 10 08:21:58 I'm trying to create a basic Android application but I am getting this: Errors occurred during the build. Errors running builder 'Android Resource Manager' on project 'HelloAndroid'.java.lang.NullPointerException Nov 10 08:22:08 In Eclipse IDE. Nov 10 08:26:07 Anyone know why ADT doesn't let me create a new Android project wit the given error aboe? Nov 10 08:26:08 above Nov 10 08:39:57 Android ADT broken lately? Nov 10 08:40:04 Doesn't seem to work out of the box. Nov 10 08:45:30 Does android leaves use of drawable-ldpi and similar folders for different resolution drawables ? Nov 10 09:40:12 hey guys Nov 10 09:40:15 got a question for you Nov 10 09:40:29 I made an xml element and gave it the id left_button Nov 10 09:40:46 it turns out, you can conflict with Android-internal things...I had a naming conflict Nov 10 09:40:52 simply giving it a different id fixed the bug Nov 10 09:41:01 sounds like I should put all my ids in a namespace Nov 10 09:41:17 I wonder if there is a better way to do this than just naming them like mynamespace_left_button Nov 10 09:45:00 ProgramMax i like to use intellisense tabbing to code, so in this case i'll usually use first letters of view type followed by a descriptor eg b_left_activityMain Nov 10 09:45:47 note that you can reuse names like b_left in seperate layouts and then use same reference code, so you can more easily reuse layouts Nov 10 09:45:53 well some of it is used elsewhere Nov 10 09:46:02 right Nov 10 09:46:23 sounds like you're saying the way to namespace it is b_ though Nov 10 09:46:42 i do this because, like i said, i use intellisense a lot Nov 10 09:47:48 if your semantic scheme allows for this, you can just prefix your ids with the viewtype like i mentioned Nov 10 09:48:24 yeah, I see what you're saying Nov 10 09:49:32 any JSoupers in here Nov 10 09:49:54 wanted to confirm if I am parsing html efficiently Nov 10 09:50:14 I get() the html and separate the body Nov 10 09:50:36 and from the body, I extract Elements, I am interested in Nov 10 10:12:37 and does the android vm collect the garbage automatically ? ? Nov 10 10:18:06 hi Nov 10 10:20:02 Looney: the GC on Android - as long as you are using the SDK/Java - is done automatically, yes. Nov 10 10:20:31 ok, I am on SDK Nov 10 10:20:51 i guess it's in my best interest to start the emulator and always leave it running, eh? it seems like it takes forever and a day to get going Nov 10 10:21:11 If you connect your device and set logcat to "info" you can see GC messages fly by. (like this one on my device: 11-10 11:18:17.086: D/dalvikvm(14085): GC_CONCURRENT freed 388K, 18% free 2634K/3180K, paused 8ms+2ms, total 39ms Nov 10 10:21:11 ) Nov 10 10:21:32 Gorroth: if you have a "real" device somehwere, you should probably use that. Nov 10 10:21:40 ah, I see them a lot Nov 10 10:21:41 I personally don't like the emulator at all. Nov 10 10:21:48 so, this is garbage collection message Nov 10 10:22:04 "GC_ ..." garbage collection Nov 10 10:22:05 Miklas: that wasn't my query. Nov 10 10:22:11 emulator is a resource hungry clock-cycle sucking mean bully Nov 10 10:22:17 is standard practice just to leave the emulator open? Nov 10 10:22:52 do not open it if you can Gorroth Nov 10 10:23:15 Gorroth: silly question, really. If it works when leaving it open; saving you time; then yes. Nov 10 10:23:33 okay... not asking fi i should open it or not. i'm asking if when using the emulator, is it basically standard practice to leave it open, or do people often close it and reopen it for some reason? Nov 10 10:23:50 As long as you have no reason to close it, leave it open. Nov 10 10:23:55 okay Nov 10 10:24:02 that agrees with what i was hoping Nov 10 10:24:05 thanks Nov 10 10:24:05 Gorroth: try to test on phone/tablet Nov 10 10:24:10 If your system is running out of resources you might think of closing down things. Nov 10 10:24:14 for love of everything that is holy Nov 10 10:24:26 Looney: The GC is really slow -- you should limit those messages to the minimum. Nov 10 10:24:33 Does anybody know how to make some kind of menu that moves in half way when clicked Nov 10 10:24:40 my VM is dedicated to android and codeblocks/c++ dev Nov 10 10:24:46 so i think it'll have the resrouces Nov 10 10:25:16 The more references you don't use anymore, the more the GC collector will come by. Nov 10 10:25:19 like when you hit the menu button (bottom left one) it will move the screen half way to the side and put a menu like screen on the left half Nov 10 10:26:00 does android:background work in relativelayout tag Nov 10 10:36:53 I've done a fair bit in c++ but I might like to do some work in Java (android apps). how different is it? and would it be easy to switch? Nov 10 10:37:27 Java is glorious Nov 10 10:40:20 "Java is memory management porn" Nov 10 10:41:42 Let us start with the syntax Nov 10 10:41:56 perfection... The elegance and simplicity Nov 10 10:42:06 it brings a tear to my eye Nov 10 10:42:14 Nefarious___: knowing C++ helps with some OOP concepts but you'll have to type stuff you've never seen before Nov 10 10:42:16 Then the object orientation Nov 10 10:42:35 are you being facetious, DarkSlay3r ? Nov 10 10:42:38 oh the glorious objects singing in perfect harmony Nov 10 10:43:06 DarkSlay3r: I'm guessing you like it?:P Nov 10 10:43:53 Gorroth: no Nov 10 10:44:22 Nefarious___: Java is great Nov 10 10:44:25 Nefarious___: java is a lot weaker than c++ in many ways (no templates), but the IDE is pretty reasonable (eclipse). using shared_ptr and friend in c++ you also got memory management Nov 10 10:45:02 Nefarious___: if you're pretty good at C++, your core concepts should fall into java nicely Nov 10 10:45:46 that's nice to know. regarding difficulty levels? Nov 10 10:46:15 it's easier than c++ Nov 10 10:46:17 Anyone have good tip on discerning updated content when a content observer is triggered (pref w/o holding a state of current data content) Nov 10 10:46:20 Looney: yeah android:background does work in RelativeLayout Nov 10 10:46:50 cool, so you still hanging around shmooz ;-) Nov 10 10:47:39 yeah I come here and randomly read stuff that's been said a few minutes a day and try to run my mouth Nov 10 10:48:09 great Nov 10 10:50:09 Guys, Im starting my first app with server-side integration. What you suggest to use as language/PaaS? I was thinking about GAE+Java, but seem that it isn't very good... Nov 10 10:58:55 if it was me, i'd choose whatever you are the most comfortable in fixing Nov 10 10:59:27 and all of the PaaS have their own suck, so it depends what you need in your app Nov 10 11:01:25 wmealing_: I want something new... kidna tired of php :-/ Nov 10 11:01:31 *kinda Nov 10 11:01:48 i understand entirely Nov 10 11:02:07 SidGBF: why are you tired of it ? Nov 10 11:03:07 if you're doing this for pay, i'd recommend sticking with something you can fix if you need to. Nov 10 11:03:08 most likely his answer would be that it (php) ain't no C or C++ :-P Nov 10 11:03:12 I mean, PHP is great in many ways, but, I want to learn something new... Just it. I was thinking on Java cause python and ruby, afaik, ends up not being compiled too... So a compiled backend would be something really new... Nov 10 11:03:42 Looney: lol Nov 10 11:04:21 php just has some library inconsistencies that drove me mad.. 3.x timeframe.. thats maybe fixed now. Nov 10 11:05:15 but you were not asking me Nov 10 11:05:23 SidGBF: well then use plain C with gcc and postgres or something Nov 10 11:06:26 I was kidding and now you are trollin shmooz :-P Nov 10 11:06:40 lol Nov 10 11:08:25 is there a method to breakpoints work on eclipse when running on the emulator ? Nov 10 11:08:44 or is "debug" perspective almost entirely useless when it comes to android Nov 10 11:11:09 it is very much not useless Nov 10 11:11:09 wmealing_: my suggestion is to not use snapshots an let eclipse open the emulator it self. Debugging is really helpful. Nov 10 11:11:37 there's a slight issue with the emulator sucking, so not sure about that one Nov 10 11:12:15 darn, my Integer.toString() was not working. and yes, there was a bracket mismatch :'( Nov 10 11:14:29 Raziel: i set breakpoints and it doesnt break Nov 10 11:15:13 wmealing_: post a screenshot of how you're doing... There's an icon that globally disable the breakpoints Nov 10 11:15:14 Raziel: i click debug on the toolbar, it seems to upload a new apk Nov 10 11:15:22 ok Nov 10 11:15:30 this may be a few moments though, thank you for your assistance Nov 10 11:15:50 hmm, how come my listview is null Nov 10 11:16:54 wmealing_: sometimes the debugger doesn't connects to the emulator. Then it happens, I close the emulator and eclipse... Nov 10 11:17:09 that.. may have been what it is.. Nov 10 11:17:14 it seems to be working now Nov 10 11:17:16 not sure what i cahnged Nov 10 11:17:18 changed Nov 10 11:18:29 now i can debug Nov 10 11:18:36 gr8 Nov 10 11:18:40 thanks again Nov 10 11:37:18 hmm, strange Nov 10 11:37:36 I can add to items to arrayadapter in new thread Nov 10 11:38:25 but I can neither setAdapter in the UI thread nor in the new Runnable :-( Nov 10 11:38:49 why are you even using arrayadapter -_- Nov 10 11:39:08 Looney: are you extending from BaseAdapter to make your custom ListAdapter ? Nov 10 11:39:16 Mavrik: what's wrong with using array adapter (just to know)? Nov 10 11:39:38 SidGBF, it's not very flexible as soon as you try to show more data Nov 10 11:39:49 what do you suggest Mavrik Nov 10 11:39:57 +1 Nov 10 11:40:02 I need to have my data inside listview Nov 10 11:40:19 SidGBF, plus it hides some implementation details, which means that I commonly see code where people store data in arrayadapters array and then store it again in their derived class Nov 10 11:40:24 leading to very wierd bugs :) Nov 10 11:40:40 SidGBF, that's why I usually rather have that people derive from BaseAdapter Nov 10 11:41:05 and implement it themselves... after all all you really need is to create an ArrayList and implement size() funcion :) Nov 10 11:41:10 Mavrik: So you suggest creating a forma class and stuff... Nov 10 11:41:17 Looney: there are examples that extend BaseAdapter to store list items, use one of those Nov 10 11:41:47 yeah, a basic adapter needs getId(), getSize() and getView() anyway Nov 10 11:41:47 Mavrik: arraylist it is then ;-) Nov 10 11:42:04 Looney, this might not be the solution to your problem (haven't seen your code) but it did save me alot of grief :P Nov 10 11:43:00 the thing is that I see in docs that ListView uses setAdapter(ListAdapter XXX) Nov 10 11:43:15 so, what should be ideal options Nov 10 11:43:24 *option Nov 10 11:44:47 I forget, is there a way to register another nick to my account? Nov 10 11:44:59 ex: Exleh-Mobi Nov 10 11:46:41 Hey guys Nov 10 11:46:54 Hey Xtreme Nov 10 11:46:54 how can i download the apps DB from the cellphone? Nov 10 11:47:23 i have a sqlite db.. Nov 10 11:47:25 cp Nov 10 11:47:28 i want to get it to check Nov 10 11:47:30 or scp Nov 10 11:47:33 wmealing_, i am not routed.. Nov 10 11:47:37 rooted* Nov 10 11:47:39 will it work? Nov 10 11:48:34 good question.. i use the emulator and just cat/edit it that way Nov 10 11:48:40 failed, permission denied.. Nov 10 11:48:43 i imagine you can too Nov 10 11:48:50 Xtreme: ddmd? Nov 10 11:48:54 *ddms ? Nov 10 11:49:01 adb shell cat /data/data/com.wmealing.weightplates/shared_prefs/com.wmealing.* >> whatever Nov 10 11:49:32 dont know if that works on third party signed apps though Nov 10 11:50:24 SidGBF, trying to find it in android studio Nov 10 11:52:10 SidGBF, do you know where it is in android studio? Nov 10 11:52:15 in eclipse its used to be at top Nov 10 11:52:17 neat stuff Exleh|Away you discovered Nov 10 11:52:38 wmealing_, nope.. no luck Nov 10 11:53:11 No, Looney. I just havent used IRC in like 3 years and I forget the details :P Nov 10 11:53:41 hehe Nov 10 11:53:46 no worries Nov 10 11:55:49 Xtreme: didn't used it ye Nov 10 11:55:51 I saw the mIRC icon today when I was going through some stuff, and was like "Ohai I remember this. Nov 10 11:55:58 " Nov 10 11:56:08 Unresolved dependencies: Nov 10 11:56:10 - com.android.support:appcompat-v7:+ Search Nov 10 11:56:22 what do I need to install to fix this? Nov 10 11:56:44 elazzam: what's your ide? Nov 10 11:56:49 i have a small image set as a layout backgroud and would like it to repeat,.. i used android:tileMode="repeat" , but it doesnt work.. any clues? Nov 10 11:56:55 SidGBF: android-studio Nov 10 11:57:02 anyone facing similar issue.. "run-as" does the trick Nov 10 11:57:10 elazzam: can't help it :/ Nov 10 11:59:46 There. Nov 10 12:00:00 Had to get my phone set up for AndroIRC. Nov 10 12:01:02 Test Nov 10 12:06:25 is there any way to refresh the log cat ? Nov 10 12:06:28 in eclipse Nov 10 12:19:14 what do you mean refresh Nov 10 12:19:17 its always up to date on mine Nov 10 12:22:59 tonyMontana9099, check your filters Nov 10 12:27:17 well, you change a filter, sometimes i need to close eclipse and reopen it, so it shows those filters etc Nov 10 12:27:21 specially when I edit a filter Nov 10 12:35:40 <^cheeky> morning :)) Nov 10 12:36:12 ^cheeky morning Nov 10 12:36:25 guys, when should I serialize a class ? Nov 10 12:36:50 * ^cheeky waves @ tonyMontana9099 Nov 10 12:37:34 <^cheeky> ummm.. one reason i could think of .. would be when you ummm writing to file Nov 10 12:38:18 when you need it to be sent to any other device. Nov 10 12:38:21 <^cheeky> like json data to file to retrieve back and forth, but if you are wanting to send stuff between intents .. you would use parcelling rather than serializing the data.. but .. i only know a lil Nov 10 12:39:01 why is this alarmmanger stuff so complicated Nov 10 12:42:28 ^cheeky, wmealing_, I actually am reading someone else's code where the are classes he has implemented serializable. Nov 10 12:42:47 wmealing_ in those, he is parsing JSON stuff, yes. Nov 10 12:43:05 wmealing_ but I work with jsons without even serializing them. Nov 10 12:44:21 wmealing_ , the class serialized, is an object class that holds data retrieved from a json. Nov 10 12:44:49 ok Nov 10 12:45:02 serialization isnt required if you're working within an application Nov 10 12:45:08 its probably not worth it in most cases Nov 10 12:45:27 but as with all advice, there may be some requirement that needs it Nov 10 12:45:34 or it is a performance benefit Nov 10 12:45:38 so test and measure Nov 10 12:45:44 yes, could be. Nov 10 12:45:58 actually, the way I see it, things can be done manually too.. Nov 10 12:47:33 there is another thing this developer has done,, he has made listener class (extending onClickListener) and using that class when a button is clicked... Nov 10 12:53:04 Any idea why after my map loads this returns map.getProjection().fromScreenLocation(new Point(0, 0)); actual LatLng object with actuall coordinates and this map.getProjection().getVisibleRegion().farRight; returns 0.0 Nov 10 12:54:18 Also since first option (map.getProjection().fromScreenLocation(new Point(0, 0));) seems better how can I get the width of my map. I know how to get screen size but that includes the title bar of my application. Nov 10 12:56:59 Anyone here know how to use multiple WakefulIntentServices? Triggered at different time intervals? Nov 10 13:03:21 what could be causing an app to crash when going from one activity to another? Nov 10 13:03:38 check the log messages Nov 10 13:03:39 Dragonya: how should we know? maybe use logcat to read Nov 10 13:03:51 that will be more definitive Nov 10 13:04:36 are we allowed to copy like one line into the chat or do we have to link it into some other site? Nov 10 13:04:59 use a pastebin Nov 10 13:05:07 and get the whole backtrace Nov 10 13:07:21 http://pastebin.com/BBLEGWyW Nov 10 13:07:25 thats from logcat Nov 10 13:09:03 Am i right if i assume that the onClick event somehow failed? Nov 10 13:11:24 Anyone able to help here Nov 10 13:11:37 Dragonya, (SearchActivity.java:29) Nov 10 13:11:39 lookythere Nov 10 13:11:47 there's a null pointuh there Nov 10 13:12:12 ah Nov 10 13:13:57 neredsenvy, if you ask a question people may or may not be able to help with it Nov 10 13:14:22 words of wisdom from Raziel Nov 10 13:14:46 Ok, i see whats causing it now Nov 10 13:14:53 thanks Raziel :D Nov 10 13:16:36 np Dragonya :D Nov 10 13:17:12 i havent been on these IRC thingies in a while.. is there a way to give you +1 or something? Nov 10 13:19:39 Nope XD Nov 10 13:27:06 im trying to get the text_View element by doing this -> http://pastebin.com/SBS2uRcZ but its saying edit_Text cannot be resolved or is not a field. What am i doing wrong? Nov 10 13:27:43 is there an and edit_Text in your layout Nov 10 13:27:50 yes Nov 10 13:27:56 is that its id ? Nov 10 13:28:37 ooooh Nov 10 13:28:40 i forgot to add id xD Nov 10 13:28:45 thanks a bunch dude :D Nov 10 13:28:59 * Raziel patpats Dragonya. Nov 10 13:29:00 Hi guys, I have a question, is the AdMob ID something which i should keep secret or is it in a way "public"? Nov 10 13:29:30 gnuton, while I'm sure you wouldn't mind other people using your admob ID for their ads, thus giving you the revenue, I don't think the ID has any reason to be public Nov 10 13:29:41 unless this isn't the ID I'm thinking of... Nov 10 13:31:21 I'm talking aboutthe AdMob publisher ID Nov 10 13:31:41 I'm asking this because I would like to know if I could push it in a commit Nov 10 13:32:02 or if I should write it there anytime I make a release Nov 10 13:32:55 Nov 10 13:32:58 ... Nov 10 13:33:04 I probably wouldn't include it in public code Nov 10 13:33:04 Hello Nov 10 13:33:20 does anyone know if android.graphics component from android sdk is hardware accelerated? Nov 10 13:34:21 Raziel, thanks a lot. I will follow your advice! Nov 10 13:34:51 gnuton, yeah, there's not much/anything someone can do with it, but still Nov 10 13:35:01 ison__, https://developer.android.com/guide/topics/graphics/hardware-accel.html Nov 10 13:36:34 oh, so it is? very nice Nov 10 13:36:51 i was just wondering if there's any advantage of using plain opengl over android.graphics Nov 10 13:37:09 but as i can see android.graphics is as fast and more user-friendly if im not mistaken Nov 10 13:37:25 Basically everything is Nov 10 13:37:34 Although that doesn't always help much Nov 10 13:37:57 I think openGL is still faster if done properly, but it depends on what you want it for too Nov 10 13:39:29 i'm just making a simple 2d game, i just want it to have at least 60 fps Nov 10 13:39:59 Oh, a game. Nov 10 13:40:06 Anyone know why I get all of the interfaces from GoogleMap except https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/GoogleMap.OnMapLoadedCallback Nov 10 13:40:17 You might find yourself limited by android.graphics quite quickly. Nov 10 13:41:32 why? Nov 10 13:41:50 basically all i need is bitmap rendering with multiply/additive blend mode and font rendering Nov 10 13:43:03 Actually I guess you might not be, android.graphics seems to support enough stuff for a game Nov 10 13:56:03 is there any built in way to mimic the iOS bar that happens to be on the bottom (whatsapp, viber) on android ? Nov 10 13:56:36 what bar? Nov 10 13:56:50 in 90% cases you shouldn't mimic iOS. Nov 10 13:56:59 Mavrik I am trying to create the same feel Nov 10 13:57:24 the one that whatsapp has on iOS, or Viber Nov 10 13:58:23 ok, if you can't even clearly explain which bar in those apps you mean... we can't help you. Nov 10 13:58:40 and for the record, Android users mostly don't want iOS feel. Nov 10 13:58:57 so don't be surprised if you'll get bad ratings. Nov 10 13:59:36 Mavrik relax mate, Nov 10 13:59:45 wait, ima show u a link image of the bar Nov 10 14:02:27 Mavrik http://asset2.cbsistatic.com/cnwk.1d/i/tim2/2013/07/17/whatsapp-iphone.jpg Nov 10 14:03:02 yeah, you really shouldn't do that, since this will cause problems with misclicks Nov 10 14:03:06 it's called a tab bar Nov 10 14:03:09 and Android has them on top Nov 10 14:03:16 Mavrik I know. Nov 10 14:03:23 if you want to create it like that you'll have to do it yourself. Nov 10 14:03:30 no built-in elements for that. Nov 10 14:03:43 okay, is there any 3rd party library that I can implement or extend ? Nov 10 14:04:28 I dpibt there is, because noone is foolish enough to think that making android look like iOS is a good idea Nov 10 14:04:32 *I doubt Nov 10 14:05:04 well, I dont really want to do it exactly like that. Nov 10 14:05:46 sonOfRa have you seen the app wunderList ? Nov 10 14:05:56 I want to implement the one they have Nov 10 14:06:58 either a company that recently raised 5 million $ and has 10 million + downloads is "foolish enough" or you guys jabber for the sake of jabbering, Nov 10 14:07:19 http://www.androidnext.de/wp-content/uploads/Wunderlist-android-1-1-0-a.png Nov 10 14:09:33 http://developer.android.com/design/patterns/pure-android.html Nov 10 14:09:51 What they did is a terrible design decision and breaks conventions Nov 10 14:10:14 That screenshot also looks nothing like the current market version, so they smartened up Nov 10 14:10:27 sonOfRa, android's elements look the best anyway. Nov 10 14:10:35 Specially when everything else on the platform uses them >_> Nov 10 14:10:50 well, yes, currently they did some changes, but still have the tab bar thing at the buttom. Nov 10 14:11:07 I guess tabs at the bottom isn't that bad in itself, but ehhhh Nov 10 14:11:36 I wonder if anyone uses the tabs above actionbar bug as a feature. Nov 10 14:11:37 lel Nov 10 14:11:51 Raziel,well some do. Nov 10 14:12:15 Haven't they fixed that yet? Nov 10 14:12:24 SimonVT, nonotrly Nov 10 14:12:33 Happened to me on 4.3 Nov 10 14:13:12 With target 4.4 Nov 10 14:13:19 So I assume it happens in 4.4 too Nov 10 14:13:54 Raziel, SimonVT, is using the tabLayout frequent now ? Nov 10 14:13:57 That's.. not how it works Nov 10 14:14:12 SimonVT, no it's not, but it won't stop me from assuming! Nov 10 14:14:17 I'll prolly get a nexus 5 soon Nov 10 14:14:23 what is the best way to achieve a tab layout structure.. I'll be using 3 items.. Nov 10 14:15:21 tonyMontana9099, you can do tabs as "part" of the actionbar, or you can do tablayout Nov 10 14:15:45 Raziel, yeah. I think I won't do the action bar thing.. looks ugly.. Nov 10 14:15:59 I'll try the tablayout...got something here. http://www.androidhive.info/2011/08/android-tab-layout-tutorial/ Nov 10 14:16:01 it looks the same as tablayout on phones >_> Nov 10 14:16:12 but, let me get some coffee first Nov 10 14:16:22 tonymontana: that link from 2011? Nov 10 14:16:39 canvs2321 indeed. Nov 10 14:16:47 An article that says "don't use this article" Nov 10 14:16:51 then delete it Nov 10 14:17:01 SimonVT hehehe Nov 10 14:17:04 i just saw it Nov 10 14:17:09 check out, viewpagers,actionbars, navigation drawers etc.. Nov 10 14:17:18 oh, tablayout is actually deprecated now? Well whaddaya know Nov 10 14:17:30 the guy was kind enough to point to a new link Nov 10 14:17:31 Oh wait, I never actually used tabLayout, I used tabhost manually under a relative layout Nov 10 14:17:32 lel Nov 10 14:17:56 canvs2321 how about some 2013 stuff > http://www.androidhive.info/2013/10/android-tab-layout-with-swipeable-views-1/ Nov 10 14:18:48 yeah read up on that to get the idea of how things have progressed in terms of navigation&actions Nov 10 14:18:58 tonyMontana9099, yeah that's fine, but that looks the same as actionbar tabs or manual tabhost implementation Nov 10 14:19:28 any idea how to use runOnUiThread from a Service? Nov 10 14:19:35 it's not coded the same tho (actionbar tabs tend to use fragments (which are kinda more limited)) Nov 10 14:20:52 Raziel, ima give this tutorial a test Nov 10 14:21:07 if it works, as canvs2321 suggested, I'll dig more into it Nov 10 14:21:16 Apparently that one uses fragments too Nov 10 14:21:28 Fragments are fine if you don't wanna add anything other than the tabs on the activity that holds the tabhost Nov 10 14:21:47 raziel, what do you mean ? Nov 10 14:21:57 under the tabs, I wil be having some stuff Nov 10 14:22:03 fragments are great Nov 10 14:22:23 Well you might see that the fragments are always gonna draw over whatever else you try to add in that space Nov 10 14:23:01 Actually, I still am not good enough with Fragments, as I have never digged deep into those.. Nov 10 14:23:09 I mainly use activities. Nov 10 14:24:26 Yeah, it depends on what you wanna do with the tabs and the activity that contains all those tabs Nov 10 14:25:16 Well, my objective is Nov 10 14:25:33 whenever the user clicks on the tab, I will be changing what is beneat the tab Nov 10 14:25:44 suppose the tabs will be - Basketball, Football, Tennis Nov 10 14:25:57 I will be getting the results (from a server) of each sport and put them in a list Nov 10 14:29:26 tonyMontana9099, yeah you can use fragments Nov 10 14:29:43 Since you only have the content of the actual tab fragments under the tabs(tabhost) Nov 10 14:34:49 Raziel is it possible to use the ActionBar tabs, without a view pager below ? Nov 10 14:36:05 tonyMontana9099, think so Nov 10 14:36:39 https://developer.android.com/guide/topics/ui/actionbar.html#Tabs Nov 10 14:36:51 Uses fragments and a listener Nov 10 14:36:59 one might want to use the tabs and not navigate left and right for example. Nov 10 14:38:36 whaddaya mean? Nov 10 14:40:44 Raziel i might for example want to move from Basketball to Football, but just clicking on Football in the tabhost, rather than swipting from left to right to perform the transition. Nov 10 14:41:10 afternoon :) Nov 10 14:42:13 tonyMontana9099, I do not believe swiping to change tabs is enabled by default in that Nov 10 14:42:17 Actually I'm pretty sure it's not Nov 10 14:42:48 Raziel, me too, ima check. Nov 10 14:43:04 Raziel have you implemented this tutorial ? Nov 10 14:43:25 Yeah Nov 10 14:43:50 how can i fill a linearlayout with 5 empty framelayouts(android:background=@colors/black) without getting them over each other? Nov 10 14:44:00 Also, I now actually READ it as well, and I now know why my tabs were always drawing over stuff! Nov 10 14:44:00 lol Nov 10 14:44:42 Terramoto, well... if they're empty I don't think it'll care enough to space them. Maybe try addings weight to them Nov 10 14:44:52 Raziel hehehe Nov 10 14:44:56 Raziel happens :P Nov 10 14:45:04 I usually just use relativeLayout unless I have a good reason not to Nov 10 14:45:08 Since I like the control it gives me Nov 10 14:45:42 tonyMontana9099, indeed Nov 10 14:45:55 I implemented it in a hackathon so no time to actually read the thing, obviously. Nov 10 14:45:55 lol Nov 10 14:47:00 Raziel: what if i put them all to width=fill_parent? why do they get over each other, shouldn't they all fit all together in the parent layout? Nov 10 14:47:13 Ummm Nov 10 14:48:29 if only one had fill_parent and the others had wrap_content i would image such scenario but every framelayout is set to fill_parent (or match) Nov 10 14:48:47 imagine* Nov 10 14:49:12 try match_parent and layout_weight 1 Nov 10 14:50:59 works like a charm, thank you! gotta check how to weight works, i thought it was used to set childs over each other Nov 10 14:52:29 nope, it's used to set the sizes and orders of the components relative to eachother and the holding linearlayout Nov 10 14:52:31 ...I think. Nov 10 14:53:51 why actionBar = getActionBar();is giving me an error ? Nov 10 14:54:38 you have no actionbar? You're calling it outside of an activity? Nov 10 14:54:41 I dunno, what's the error? Nov 10 14:54:51 nop Nov 10 14:55:02 maybe I need to set my layout of xml to Holo Theme with Dark ActionBar Nov 10 14:55:21 I am inside the FragmentActivity Nov 10 14:55:28 I created an action bar globally Nov 10 14:55:39 private ActionBar actionBar; Nov 10 14:55:55 and inside onCreate, I am using : actionBar = getActionBar(); Nov 10 14:55:56 weird Nov 10 14:56:23 well it works for me, so what's the error? Nov 10 14:56:59 are you calling it before super.onCreate? Nov 10 14:57:12 The method getActionBar() is undefined for the type ActionBar Nov 10 14:57:18 nop man Nov 10 14:57:24 did you import android.app.ActionBar; Nov 10 14:57:44 wait Nov 10 14:57:53 yes I have Nov 10 14:57:57 you're not supposed to call getActionBar() on the actionbar Nov 10 14:58:13 just do actionBar = getActionBar(); in onCreate Nov 10 14:58:47 did. done. success. yippey. Nov 10 14:58:56 Raziel : wtf I was thinking hehehe Nov 10 14:59:14 prolly a biproduct of spending 15 hours a day infront of laptop. Nov 10 14:59:51 Nahhh Nov 10 15:00:07 Ney nah nah nah Nov 10 15:55:01 what are my options to track app installation if I am going to offer app off the app-store Nov 10 15:55:23 any analytics which people use here Nov 10 15:56:13 new relics maybe ? Nov 10 15:59:33 guys what should I call inside onTabSelected, so that it can show my fragment ? Nov 10 16:04:42 tonyMontana9099: im not sure but probably fragmentmanager for fragmenttransition Nov 10 16:07:36 could someone help me with this http://pastebin.com/ADyfwyL9 Nov 10 16:07:43 it doesnt show the framelayouts Nov 10 16:12:09 heya Nov 10 16:12:19 whats new? Nov 10 16:14:28 terramoto: not sure the effect, but setting fill viewport to true on scrollview makes it show in designer Nov 10 16:15:48 what says the people about Text Adventures Nov 10 16:21:30 Hi guys, I have the following snippet for creating a searchable activity https://gist.github.com/jrm2k6/f78705ccbc6c8547fc5c Nov 10 16:21:52 Hello Nov 10 16:21:55 It detects the click on the searchable view, get the searchableInfo, but does not create the SearchableActivity Nov 10 16:21:59 I have no idea why Nov 10 16:22:25 When will the googleplay for education open? Nov 10 16:22:26 I think my manifest, and different xmls are good, can someone confirm that? Nov 10 16:23:26 canvs2321: tks gonna check it out. Nov 10 16:24:30 hello! just a noob question with my very first android app in eclipse... am i supposed to add the "bin/" and "lib/" directories to a remote GIT repository? or is this something devs create in their own IDEs? Nov 10 16:25:27 anix: do not add bin or gen, with lib there are different possible approaches Nov 10 16:25:54 anix: if you have libraries in lib/, you can either require the devs to download them or add them into your git tree, depending on how hard it is do get them Nov 10 16:26:14 * Ge0rG is using a custom build of the asmack library in his yaxim project, and adds the jar file to git Nov 10 16:26:41 Ge0rG: ok, i have no custom libs.... it seems the ADK added just a single file: android-support-v4.jar Nov 10 16:27:15 Ge0rG: thank you :) Nov 10 16:28:13 that one is a beast :Y Nov 10 16:30:21 is it possible that the net.dns property contains something which is not an ip address? Nov 10 16:31:03 my app is crashing on first start because it does InetAddress.getByName() of that value, and causes android.os.NetworkOnMainThreadException Nov 10 16:39:44 hi Nov 10 16:40:26 when I use traceview with DDMS from eclipse on my phone, the trace doesn't show any frames from my apk Nov 10 16:40:26 drblarts: hey Android-x86 buddy Nov 10 16:40:58 sorry Nov 10 16:41:02 it only shows stack frames from other libs (XML frameworks etc.) but doesn't show the place in my app where I called that Nov 10 16:41:59 do I have to build the app in a special way to get those stack frames? Nov 10 16:43:53 guys, I am loading textures in my Android OpenGL app, both, JPG and PNG are just white. Is there a special format they have to be in ? Nov 10 16:46:05 ANN-TechCoder: depends. Can your shaders render solid colors? Nov 10 16:46:36 No using shaders but yes I can Nov 10 16:46:37 How did you bind them? I've had some issues that were resolved by making sure the textures were power of two. Nov 10 16:47:05 ANN-TechCoder: So you're using OpenGL ES 1.0? Nov 10 16:47:13 Did that. still the same. The same code works on Linux and Windows, just ported it to Android and all textures are white Nov 10 16:47:16 yes Nov 10 16:47:36 Solid colors are rendered correctly Nov 10 16:47:50 I use GL_RGB or GL_RGBA only in my code? Is that the issue ? Nov 10 16:48:56 Doesn't ring a bell so far. Nov 10 16:50:22 And my knowledge of ES 1.0 is a bit limited, generally you want 2.0 for most purposes. Perhaps someone else or Google can help you out. Nov 10 16:51:06 ok. will keep searching Nov 10 16:51:07 thanks Nov 10 17:01:44 ANN-TechCoder: I will be bugging you later to learn about GL ES stuff ;-) Nov 10 17:01:55 you have been "hit-listed" Nov 10 17:02:03 :-P Nov 10 17:02:29 good to know Nov 10 17:02:50 Looney: Do not "spot" people, there are enough resources out there (books, tutorials, etc.) which are probably a better way of learning. Furthermore, it seems ANN-TechCoder is using OpenGL ES 1.0. Nothing wrong with that, but I strongly recommend using ES 2.0 where possible. Nov 10 17:03:21 is there some device limitation with ES 2.0 Nov 10 17:03:53 I mean, I can run my app on archaic phone similar to mine Nov 10 17:06:03 I don't know exactly what the requirements for 2.0 are (the specific Android version or hardware requirements). However, 2.0 is around long enough to make a safe assumption most devices will run it. Nov 10 17:10:08 There's stats for opengl es versions along with platform versions on the dev site Nov 10 17:14:55 Okay... so Loaders are good for loading data -- what's good for saving data? Nov 10 17:16:18 https://developer.android.com/training/basics/data-storage/index.html Nov 10 17:18:13 gdrc: That's a good basic "how" -- but it doesn't take it off the UI thread in any meaningful way. Nov 10 17:18:50 And when dealing with flash storage, writing is way more expensive than reading, which makes removing it from the UI thread even more imperative than reading with a Loader. Nov 10 17:19:16 <|0xD34D|> so remove it from the UI thread using Thread or AsyncTask Nov 10 17:42:22 Hi I just learn about adding a custom button by using the android:imeOptions, but how do I add a custom one? Nov 10 18:03:30 I'm building make 3.82 because I'm using make 4.0 and android isn't compatible, is anyone around who can give me a little assistance with this? Nov 10 18:03:37 I just have a few questions Nov 10 18:09:34 nevermind, figured it out Nov 10 18:34:26 my voluntary organisation needs to send 'instant' alert messages (notifications) to groups of ~2000 subscribers (SMS is too expensive)...is there an app for that? (otherwise I'll build it myself!) Nov 10 18:36:37 looked into jms as a technique? Nov 10 18:39:09 hi Nov 10 18:40:56 GCM supports 1000 recipients in a single message so it would not be technically difficult to implement this...just if anyone knows of an off-the-shelf app it'll save time Nov 10 18:41:02 https://developer.android.com/training/cloudsync/gcm.html Nov 10 18:42:40 I have an application that inserts contacts, however in the address book next to my contact it doesn't show my app logo? As in where some contacts have google logo or facebook. Nov 10 18:43:29 It shows a SIM logo Nov 10 18:47:14 hi Nov 10 18:47:46 Unable to start activity ComponentInfo{com.example.beerlist/com.example.beerlist.DisplayMessageActivity}: java.lang.IllegalArgumentException: No view found for id 0x7f070042 (com.example.beerlist:id/container) for fragment PlaceholderFragment{41413ca8 #0 id=0x7f070042} Nov 10 18:48:04 I get this error after trying to follow this guide: http://developer.android.com/training/basics/firstapp/starting-activity.html#RespondToButton Nov 10 18:48:15 im using Android Studio Nov 10 18:48:32 dunno what's missed :o Nov 10 18:49:06 hi Nov 10 18:50:27 Would someone familiar with contacts in android help me? I am inserting contact from my app and in the android native contact app, it doesn't show my app logo next to the contact, instead it shows a SIM logo? Nov 10 18:52:40 Anyone there? Nov 10 18:53:50 Miklas, Hey, still here ? Nov 10 18:54:34 #Ann-TechCode can you help me figure out why a icon isn't shown next to contact inserted from my app? Nov 10 18:55:17 No. It is my second day on Android and I code in OpenGL not even using Java Nov 10 18:55:24 Sorry Nov 10 18:55:51 Is there any one that knows now to link contacts from app? Nov 10 19:03:23 gagand_: you might like to keep your irc client open a while and see if anyone replies. there's no need to repeat your question Nov 10 19:09:29 anyone know anythign about creating .pom files for android ? Nov 10 19:16:14 if i'm getting a view thats null after a lifecycle (event?) ((not sure what its called... when my app sits in the background for a while then is used again)) Nov 10 19:16:30 I obviously need to inflate the view again Nov 10 19:17:04 its currently in onCreateView. Is there something else I need to do or somehwere else that I need to put that to have it called again when android recreates the app on its own? Nov 10 19:51:20 is there a way to automatically create a pom.xml for your android app? Nov 10 19:53:48 Hm, I haven't had any app sales since my mom asked me about how to install my app. Nov 10 19:53:49 I think she might be cursed. Nov 10 20:19:19 is it possible to set environment variables before starting an application? Nov 10 20:30:31 canurabus: Have you tried overriding the Application instance to set the variables before anything else in your app is acted upon? Nov 10 20:31:27 greymalkin, what do you mean by Application instance? Nov 10 20:31:38 hey there Nov 10 20:32:13 In the manifest, if you give the a name, Android will try to start a subclass of android.app.Application with that name. Nov 10 20:32:31 can anyone tell me if the efuse dmg on the note 3 makes any affect on the phone? Nov 10 20:34:24 greymalkin, ... but i dont get how id be able to pass environment vars to the application by doing that Nov 10 20:37:23 hmm i think i can just call setenv(...) from native code Nov 10 20:52:28 anyone know how to make pom.xml ? Nov 10 20:52:33 so very stuck :( Nov 10 20:58:06 phutchins, what're ya using maven for Nov 10 20:58:40 Raziel: I've got jenkins set up to do continuous integration Nov 10 20:58:51 and trying to have jenkins automatically create an apk artifact for me. Nov 10 20:58:59 and I think that Maven is the correct thing to use to do that Nov 10 20:59:09 Sounds like a huge pain! :D Nov 10 20:59:23 Using maven 3.1.1 in Jenkins... Juste having a ton of trouble getting the pom.xml right. Keeps giving me errors... Nov 10 20:59:29 Raziel: hah yeah. seems it is :) Nov 10 20:59:42 I haven't used maven enough to know how to make one, I've only slightly used it once to build a project that used it Nov 10 20:59:59 i don't think i'm tryign to do anythign too crazy. just starting simple but still troublesome... Nov 10 21:00:06 Hi, I could use some comments on my new app Custom NavBar. It displays launcher icons, shortcuts and widgets on top of the navigation bar without requiring root (works on Android 4.1-4.3). A free trial version is on Google Play: https://play.google.com/store/apps/details?id=com.cygery.customnavbar.demo Nov 10 21:00:11 i'm trying to find a newish android project that has a pom file that works already. Nov 10 21:05:07 interesting, kotlin compiles to javascript ? Nov 10 21:05:22 i have a sneaky suspicion that some day this could all be useful on android Nov 10 21:07:02 Can't seem to get an answer on XDA. I have a GNex. For some reason, my audio seems to just cut off a few minutes into phone calls. It has persisted through clean installs, and I'm on a stock google 4.3 image right now, with the most updated radio. Any ideas? Nov 10 21:07:17 EPG: aww now that's very interesting Nov 10 21:07:37 greyskull: #android Nov 10 21:08:16 Yeah, pinged there already. Trying different channels, but I guess this isn't the place. Thanks. Nov 10 21:09:02 bankai_, thanks. If you have any questions, feel free to ask me (here, pm or email) :) Nov 10 21:22:33 Guys, please help. Wasted all day - no result. I am rendering a Quad on Android with SDL, If i color it it comes out fine in color. But ALL the textures are white cubes. All textures I have tried are Power Of 2. Nov 10 21:22:40 Did anyone had that issue ? The same code with no changes runs on Windows and Linux just fine and textures show up Nov 10 21:23:04 I have Google a s***t out of it - no result. I have wasted 10 hours straight - no food :) still can't make it work Nov 10 21:31:02 hello why if I use AudioTrack.getMinBufferSize(44100,AudioFormat.CHANNEL_IN_MONO,AudioFormat.ENCODING_PCM_16BIT) I get 4096 and when I use AudioTrack.getMinBufferSize(44100,AudioFormat.CHANNEL_OUT_MONO,AudioFormat.ENCODING_PCM_16BIT) I get 4820 ;/ Nov 10 21:31:39 hey guys i gots a question Nov 10 21:33:19 i've got a class (class A) that implements another (class B) and I'm getting an error that says I need to implement some methods of class B but class A already contains the exact signatures of these methods Nov 10 21:33:24 what am I doing wrong Nov 10 21:33:56 You're reading wrong and class A doesn't have those methods Nov 10 21:34:21 I don't completely understand Nov 10 21:35:31 if I click the quick fix of adding the unimplemented methods, it gives me errors on the methods that are in class A already, saying that there are duplicates Nov 10 22:02:20 Anyone have good tip on discerning the updated content of a content provider when a content observer latched to that provider is triggered (pref w/o holding a state of current data content)? Nov 10 22:09:18 clean build then Nov 10 22:10:34 Hello.Have anyone got the latest android studio with gradle 1.8 running on ubuntu 12? Nov 10 22:20:55 ANN-TechCoder: did you try (scroll to the very end) https://groups.google.com/forum/#!topic/android-developers/qE3kx5UdAJo Nov 10 22:24:24 or the comment by osiris81 http://stackoverflow.com/questions/10228587/android-opengl-texture-without-alpha-is-just-white-on-htc-one-x Nov 10 22:32:06 Hello. Have anyone got gradle 18 and ubuntu 12 with latest android studio working? Nov 10 22:54:42 how does one comment in XML Nov 10 22:55:00 wrap your comments around Nov 10 22:55:00 Nov 10 22:55:09 thanks Nov 10 22:58:29 bonus question: how do you put --> inside a comment ? :) Nov 10 22:59:59 i could use some help getting a fragment to communicate with an activity Nov 10 23:00:31 gradle makes me angry... org.gradle.internal.service.ServiceLocator. ... with latest android studio after upgrading on ubuntu Nov 10 23:00:37 my code is basically this. it compiles and runs, but i still don't understand how to use this to pass a string Nov 10 23:00:40 http://www.javaworld.com/javatips/jw-javatip10.html Nov 10 23:01:21 wish i could help Nov 10 23:01:23 ultimately i just need to figure out which fragment's onClick triggered Nov 10 23:05:51 chars6: the idea is that you create an interface which your main activity implements, then in your fragment check that your getActivity() implements that interface, then call the relevant methods Nov 10 23:07:10 that check, it's the following line form onAttach? Nov 10 23:07:15 listener = (OnItemSelectedListener) activity; Nov 10 23:07:41 opps, wrong tutorial Nov 10 23:09:24 i don't get it Nov 10 23:09:58 chars6: What does onClick have to do with passing strings? I hope you're not doing string-comparison to figure out what part of the screen was pressed? :( Nov 10 23:10:07 the turorial i was referring to above is this" https://developer.android.com/training/basics/fragments/communicating.html Nov 10 23:10:28 i kind of am. someone on stackoverflow said to do it this way Nov 10 23:10:49 i was expecting something simpler Nov 10 23:11:01 Anybody good with UI on? I need some design help for a list item with a thumbnail, title, description, and date. So far I have this: http://gyazo.com/95e2206cb9c61fa7b7b68180e2c47ee5 but it doesnt have a date and looks crappy Nov 10 23:11:26 so, i have a few fragments being added programatically, with different tags Nov 10 23:12:03 each one has a button with an xml onClick. i just want to identify which one was clicked from the onclick's view Nov 10 23:13:07 @desmin88 Nov 10 23:13:17 just put the date underneath the title Nov 10 23:13:30 or on the right side of the heading Nov 10 23:14:24 http://www.androiduipatterns.com/2013/07/watch-this-devbytes-making-apps.html Nov 10 23:14:26 is there a more straightforward way of doing that? Nov 10 23:14:27 chars6: which part are you confused about ? Nov 10 23:14:34 look at this article :) Nov 10 23:14:40 chars6: That's what the "int position" is for, as provided at the bottom of the tutorial you linked Nov 10 23:16:27 where do i set the value of position? Nov 10 23:17:28 how do i pass the fragment's tag (or any string for that matter) from the fragment to the activity? Nov 10 23:18:14 when the onClick event occurs, then you can send the relevant info back to the activity. doesn't have to be an int, can be whatever you want Nov 10 23:30:36 Anyone has a deeper explanation of extending "Application"? Nov 10 23:31:16 i don't get it.. If i want to pass data between the activites, i just get the properties or pass data with a intent.. but why extend "Application"? Nov 10 23:34:29 http://pastebin.com/jqSWeUxk Nov 10 23:35:12 http://www.vogella.com/articles/AndroidFragments/article.html Nov 10 23:35:17 read this tutorial? Nov 10 23:35:32 i have that open, actually :) Nov 10 23:35:55 that guys explains things well. it isn't helping in this instance though Nov 10 23:41:56 hey if i were to interact with a web server what would the best option be? Without access to the actual server Nov 10 23:42:17 meaning ? Nov 10 23:42:26 telepathy Nov 10 23:43:09 what? Nov 10 23:43:11 is it like in java where you recieve an input stream etc or is there some sort of special android magic i needa work? Nov 10 23:43:39 same like java Nov 10 23:44:58 Thanks luv Nov 10 23:45:31 do you see what i'm missing in the code i posted? Nov 10 23:45:38 Hi everyone. Nov 10 23:45:46 hello Nov 10 23:45:54 Is someone familiar with working with contacts in android? Nov 10 23:45:56 hi :) Nov 10 23:47:02 I am inserting in contacts from my app, in the contacts app the contact doesn't show my icon next to it? Instead it shown an sim icon? Would you know what might be the cause of this? Nov 10 23:49:12 i think part of my problem is that i don't understand interfaces. reading up on that now Nov 10 23:50:43 anyone there who can help me? Nov 10 23:53:03 I am inserting in contacts from my app, in the contacts app the contact doesn't show my icon next to it? Instead it shown an sim icon? Would you know what might be the cause of this? Nov 10 23:59:12 Anyone know if OpenGL allows you to draw bitmaps or other pictures rather than just simple shapes like square and triangles? Nov 11 00:00:36 Tacticalmind: it sure does Nov 11 00:01:09 do the tutorials on developer.android.com show how to do that? Nov 11 00:01:15 yes Nov 11 00:01:36 okay cool thanks. in the OpenGL section under graphics and animation? Nov 11 00:01:52 http://www.learnopengles.com/ this fella has some great tutorials and an even better book Nov 11 00:02:11 okay sweet, i've been thinking about getting a book or two for christmas Nov 11 00:03:56 just don't buy "game and graphics programming for iOS and Android with OpenGL ES 2.0" , it's rubbish .... Nov 11 00:04:18 gotcha lol Nov 11 00:04:29 +1 for bankai_'s link Nov 11 00:04:49 Anyone know how to add a widget/remoteview/whatever to the contacts list in the default app? Nov 11 00:05:09 It seems that Google+ is able to do it, but I can't seem to find the source, or the way to do it elsewhere. Nov 11 00:05:41 shoky: i keep reading your nick as 'shonky'.... it's hard to take what you say seriously haha Nov 11 00:08:08 greymalkin, I am not sure if this is what you want. http://softwyer.wordpress.com/2012/01/06/gmail-contacts-custom-fields-and-android/ Nov 11 00:11:06 bankai_: heh, most people think it's shaky :p Nov 11 00:11:35 neither are good :S Nov 11 00:11:52 i like shoky, it;s unique but simple Nov 11 00:12:00 ;] Nov 11 00:12:20 Sounds like "Schoki". The Swiss use that for chocolate I think. Nov 11 00:14:25 elsewhere i'm antishok. which was my teen variation of anti-shock. oh well Nov 11 00:16:53 No, I'm writing an app to add "stuff" to a contact... where "stuff" needs to be queryable and attached to contacts. I abandoned trying to store it as a raw contact, which wasn't working aggregating properly. Nov 11 00:17:13 But even so, a contact shows a Google+ logo if it has google+ information -- how to do that for my app? Nov 11 00:30:24 greymalkin, does voxxer do something like that? seems familiar Nov 11 00:45:52 Is there a dashboard breakdown for the architecture set percentage is using? Nov 11 00:51:12 can you print stuff to console in android? Nov 11 00:51:27 the idea is you use logcat Nov 11 00:51:37 urh Nov 11 00:51:53 wel im trying to get infos from a webpage.. idk how i'd use logcat for that Nov 11 00:52:39 i suppose i could print stuff into a textView Nov 11 00:55:00 In a linear layout is it possible to have a textView like 1 row underneath a search bar / button or does it all just go side by side? Nov 11 01:00:24 Dragonya: look at a RelativeLayout Nov 11 01:00:32 thanks dude Nov 11 01:04:27 how do i print stuff out to logcat? In java for testing purposes i'd use System.out.print(); Nov 11 01:05:25 Log.* Nov 11 01:06:10 http://developer.android.com/reference/android/util/Log.html Nov 11 01:11:10 i tried doing Log.d("Test", "Value:" + svar); but logCat is empty Nov 11 01:15:10 i have to click the device, or some running app, in the "Devices" view, and then go back to logcat, to see the logs. didn't bother yet to check how better to work with it Nov 11 01:15:15 goto window->show view->other->amdroid->devices Nov 11 01:18:39 Hi how about the two version of my app have the same package name? Can they be installed on a same device? Nov 11 01:20:51 package names must be unique Nov 11 01:39:08 Anyone know a fairly inexpensive, no-contract phone using arm-v7 for doing dev work? Nov 11 01:40:13 nexus5 Nov 11 01:40:21 duh Nov 11 01:50:14 Why there is Nov 11 01:50:41 But :