**** BEGIN LOGGING AT Sat Jan 12 02:59:59 2013 Jan 12 03:03:22 I have been trying to figure out how to close an activity that is in the background... can I get a hint from soeone please Jan 12 03:06:56 irishgringo: http://developer.android.com/training/basics/firstapp/index.html Jan 12 03:07:35 Trinity: I have done that tutorial about 5 times... I understand how to start activities Jan 12 03:08:52 but If I have 10 activities strung together, I am on activity 8, and I want to goto Activity 3? but I dont want the back button to record my history. Jan 12 03:09:39 unless the technique is in there.. and I did not see it. I dont think its there. Jan 12 03:11:04 is it possible to do something like activity06.finish() from activity 10? Jan 12 03:13:08 once again finish() finishes your application Jan 12 03:14:13 If i know what youre trying to do (like a pick the right door game) i would suggest views. you'd have hundreds and hundreds of activities and those all need to go through AndroidManifest.xml Jan 12 03:14:39 irishgringo: my advice, http://www.amazon.com/Beginning-Android-4-Apress/dp/1430239840/ref=sr_1_2?ie=UTF8&qid=1357960465&sr=8-2&keywords=beginning+android Jan 12 03:15:11 and, http://goo.gl/FL7w3 Jan 12 03:17:57 Trinity: I am trying to do a decision tree. Each view has 2 to 5 buttons. Each button is a responce, and anther branch of the tree. When you get to the end, then that is the answer. Jan 12 03:18:10 so its not exactly linear. Jan 12 03:19:23 and goo.gl/FL7w3 takes me directly to google search... could I get another link? Jan 12 03:19:35 ^ rofl. hopeless /facepalm Jan 12 03:19:52 yea... I am Jan 12 03:20:55 how can i change the background's alpha? i'm trying like this getWindow().getDecorView().getBackground().setAlpha(200); but it's not working Jan 12 03:22:00 madprops: set alpha takes a float from 0-1 Jan 12 03:22:14 ctate dont suppose you're still around? Jan 12 03:22:19 madprops: http://developer.android.com/reference/android/view/View.html#setAlpha%28float%29 , try 0.5f Jan 12 03:22:29 canadiancow: he quit like an hour ago Jan 12 03:22:36 ah yes Jan 12 03:22:40 bah Jan 12 03:22:51 i think he answered what you had problems on though Jan 12 03:23:20 canadiancow, what IRC client do you use? Jan 12 03:23:28 xchat Jan 12 03:23:49 Does xchat have an option for viewing users? Jan 12 03:25:11 Trinity: in this case it is expecting a drawable Jan 12 03:25:26 Trinity: sorry i mean int Jan 12 03:25:56 i read somewhere the values are from 0 to 250 Jan 12 03:27:02 madprops: what are you trying to accomplish Jan 12 03:27:21 0-255 is mainly for open gl Jan 12 03:27:27 to set colors and alpha Jan 12 03:27:36 Trinity: get the activity's background semi-transparent Jan 12 03:28:23 background defined in xml? Jan 12 03:28:46 details! Jan 12 03:29:23 Trinity: hmm i think i have not defined the background on the xml Jan 12 03:29:49 So an Activity can have lots of views, each view would have my text and button views in side of it? then I could just display differnt views based on the onCLick event of the button? if this is true then this could work Jan 12 03:32:07 trinity: what are you trying to semi-transparent to lol Jan 12 03:32:15 the system background> Jan 12 03:32:41 irishgringo: how many paths is your application going to take Jan 12 03:33:23 its a tree... the first layer is 5. but most of the activities only ask 2 questions. Jan 12 03:33:44 you say you have it on the web already? Jan 12 03:33:54 first layer has 5 possible answers, each answer is a path Jan 12 03:34:00 starts a path Jan 12 03:34:27 Trinity: yes... I do... hold on... let me give you a url... Jan 12 03:34:56 http://acs01.scai-qit.org/ Jan 12 03:35:31 irishgringo: http://tinyurl.com/atsl2qv Jan 12 03:36:21 Trinity: oooo... this looks interesting Jan 12 03:36:45 i believe it was an extension of http://goo.gl/FL7w3 :D Jan 12 03:36:50 is* Jan 12 03:37:39 madprops: what are you trying to semi-transparent to. from your activity's views to ... system background? Jan 12 03:39:25 I should have asked, but could I just display an HTML screen inside an Activity, and navigate this way? there seems to be a sugestion to do it that way. Jan 12 03:44:50 irishgringo - what kind of app are you intending to create? Jan 12 03:46:08 Trinity: yea i want to see the wallpaper a bit Jan 12 03:46:28 Da_Rhyno: its a medical app to help doctors come to a conclusion. I have a decision tree that comes to a conclussion Jan 12 03:46:44 Okay Jan 12 03:46:47 Here's what you do: Jan 12 03:46:48 so the path to a conclussion is random Jan 12 03:46:54 Plan it out on paper first Jan 12 03:46:59 I have that Jan 12 03:47:02 They have to know what they're looking for. Jan 12 03:47:06 How is it random? Jan 12 03:47:13 madprops: http://stackoverflow.com/questions/2176922/how-to-create-transparent-activity-in-android Jan 12 03:47:20 I have already dont the project on iPHONE and on the web Jan 12 03:47:52 each question has some buttons that represent answers, and forward user onto the next path direction Jan 12 03:48:13 some paths go 2 questions deep,... some go 10 questions deep Jan 12 03:49:06 irishgringo: link to iphone app please Jan 12 03:49:33 Trinity: can I give you a link to web site instead... the iPHONE app is pretty complicated. Jan 12 03:49:41 http://acs01.scai-qit.org/ Jan 12 03:49:45 i already have the link to the website Jan 12 03:49:50 just wanted to see the iphone app Jan 12 03:50:01 IrishGringo Jan 12 03:50:03 Okay Jan 12 03:50:14 And you're trying to rewrite the whole thing in Java? Jan 12 03:50:30 The iPHONe app may not be released yet, there is a version 2 about to be released... Jan 12 03:51:00 Okay, but are you trying to rewrite the app in Java for Android? Jan 12 03:51:30 Da_Rhyno: I dont care how I redo it... I was thinking of making each screen a separate activity.. but I still need a button that will get be back to a specific activity... with out saving histoy Jan 12 03:51:59 irishgringo: $300 for the application to be finished by tomorrow :D Jan 12 03:52:01 jk Jan 12 03:52:28 So, I am an iPHONE developer, and an activity seems a lot like a view. Jan 12 03:52:37 Trinity: jk = joke? Jan 12 03:52:57 depends if you see it that way or not :) Jan 12 03:52:58 a view in iOS Jan 12 03:53:15 Trinity: can you actually do it? Jan 12 03:53:35 Okay, irishgringo - if you plan on doing it yourself... Jan 12 03:53:44 An activity for each window is nuts. Jan 12 03:53:50 Use a class for each window. Jan 12 03:53:54 well, I would like to learn.. I just need some advice on a direction Jan 12 03:53:55 And secondly Jan 12 03:53:55 i mean... if you plan on doing it yourself its going to take at least a book Jan 12 03:53:55 lol Jan 12 03:54:03 Yeah Jan 12 03:54:22 Secondly... Jan 12 03:54:30 You are familiar with C then, right? Jan 12 03:54:37 yes I know C Jan 12 03:54:39 oh no... Jan 12 03:54:42 hes going to do it Jan 12 03:54:57 Then... Jan 12 03:55:15 Native Development Kit Activate! *in anime mecha style* Jan 12 03:56:10 i litterally almost pissed myself... common... there has got to be a better way... Trinity is sounding very tempting Jan 12 03:56:32 Seriously Jan 12 03:56:44 If you already programmed most of it in C, then you might as well port it using that. Jan 12 03:56:45 alright.. I will google the NDK Jan 12 03:57:01 And use NativeActivity to help you out. Jan 12 03:57:09 well, I did it in ObjectiveC... so I dont think its going to port very well Jan 12 03:57:23 Wait Jan 12 03:57:31 You didn't use ANY regular C code at all? Jan 12 03:57:48 nope... I did the entire iPHONE app in ObjectiveC Jan 12 03:58:04 just like I do all iPHONE apps Jan 12 04:00:55 well, this is what I have gathered so far... if I use separate activities for each question, no one here will approve. and it looks like I will have mem leaks anyay, and there is no way to navigate back to a specific node with out saving history. Jan 12 04:01:12 Okay Jan 12 04:01:15 I see two routes here. Jan 12 04:01:23 So I heard something about using multiple views in a single activity.. but I just read that this is not recommended Jan 12 04:01:46 its not, theres probably a better way to get what you want done accomplished Jan 12 04:01:55 You could pay Trinity to do it (because I won't, no offense but I don't have the time), or you could buy a book, hell... even an e-book. Jan 12 04:01:56 with only 1 activity lol Jan 12 04:02:14 it was a joke, not doing it either, have my own projects to do Jan 12 04:02:23 Oh, lol xD Jan 12 04:02:32 irishgringo: freelancer.com Jan 12 04:02:33 so I am thinking... either a webview doing everything in HTML... or a JSON array Jan 12 04:02:51 Irish - you're overcomplicating the hell out of it. Jan 12 04:03:04 yea... but this is a learning experience for me as well... if I flame and burn... then freelancer Jan 12 04:03:39 Da_Rhyno: how about some google terms to look for? Jan 12 04:03:43 Okay Jan 12 04:03:47 How about this... Jan 12 04:05:00 irishgringo: http://www.javacodegeeks.com/2010/10/android-full-application-tutorial.html Jan 12 04:05:10 That should help you. Jan 12 04:06:05 thanks... how about this technique... using a web view. all of the pages would be html files I compile in the app? Jan 12 04:06:24 irishgringo: go for it, thats the fastest route probably since you have the html done already Jan 12 04:06:33 so 1 activity... but it would would work like a web browser Jan 12 04:06:49 Yeah Jan 12 04:06:59 irishgringo: but i think thats a little advanced for you. you'd need it to communicate to a server which requires more java-android Jan 12 04:07:18 This is the function I use to scroll my scrollview to the bottom when new items are added to it via code : http://paste.ubuntu.com/1522504/ It works fine, but momentarily after scrolling down, it scrolls back to the top since there is an EditText which takes the focus. Jan 12 04:07:35 how can I make the scroll stay. Jan 12 04:07:36 Trinity: I can not just display file:// Jan 12 04:07:38 irishgringo: easiest way. make new application and have it use an intent to open browser and have the url be your website Jan 12 04:07:43 mission accomplished. Jan 12 04:07:44 Irishgringo: Jan 12 04:08:00 er Jan 12 04:08:04 Trinity beat me to it. Jan 12 04:09:02 napster: skipping me right now but im sure you can set it to unfocusable Jan 12 04:09:34 Trinity: well, there are a number of EditTexts at the top :( Jan 12 04:10:04 I see a webview control under composites in eclipse... perhaps I should start looking at that to display static html files that I put in the app? Jan 12 04:10:09 set them all to unfocusable haha, or put them in the scrollview Jan 12 04:10:30 irishgringo: stop looking, start reading Jan 12 04:10:55 Trinity: roger that... ;) I talk to much Jan 12 04:11:21 Trinity: They are actually inside the scrollview :) Jan 12 04:11:45 may be that is the problem here, it scrolls back to top. Jan 12 04:12:00 what do you mean...? Jan 12 04:12:18 i have an app and I have textviews + edittexts inside of a scrollview Jan 12 04:12:22 it never jumps back to the top Jan 12 04:12:35 are you doing this all in code or xml? Jan 12 04:12:52 you add views to it via code and scrolls back like I do? Jan 12 04:12:56 all in code Jan 12 04:13:57 napster: http://pastebin.com/FutwXGRW Jan 12 04:15:01 let me try that thanks Trinity Jan 12 04:33:20 damn... HTML is not going to work... unless I can do Jscript in the webview... Jan 12 04:34:43 u can do jscript in the webview Jan 12 04:35:53 I see that... cool Jan 12 04:37:01 damn... and you can bind javascript code to android code... Jan 12 04:37:53 yeah i think android supports that directly, on ios u have to load an iframe and native gets the message by intercepting the load url Jan 12 04:38:20 u can look at the source of phonegap Jan 12 04:39:17 this example talks about calling an android Toast event... but I suppose I could call another Activity as well Jan 12 04:39:20 http://developer.android.com/guide/webapps/webview.html Jan 12 04:40:59 anybody knows how to use the system's wallpaper as backround. how can i define that in a theme? Jan 12 04:42:01 madprops: thought i gave you a link on how to do that Jan 12 04:43:20 Trinity: nope this is a different thing. the other thing was setting alpha levels to a background Jan 12 04:56:21 https://plus.google.com/u/0/115212051037621986145/posts/AvFEVJpwYtj Jan 12 04:56:30 Guido on a UI annoyance... Jan 12 04:56:59 its amazing that the same mistakes keep on being made year after year; the advice to deal with this is easily 10 years old Jan 12 04:57:08 this si what happens when people don't read :D Jan 12 04:58:07 a lot of the problem is that it's actually two UI elements squished together - a button (or two), and a status display Jan 12 04:58:43 * g00s throws a copy of "About Face 3.0" at Leeds Jan 12 05:01:02 actually i read the 1e in 1995; the 3e got not so great reviews so maybe it is very different. 1e didn't talk about the cooper method at all, it was all UI design. but anyhow Jan 12 05:01:09 i am using NumberFormat but it doesnt format euro :S Jan 12 05:01:12 any ideas? Jan 12 05:01:21 the euro is dead Jan 12 05:01:31 huh Jan 12 05:01:33 ? Jan 12 05:01:35 use the lithuanian nail or the canadian acorn Jan 12 05:01:46 hey Jan 12 05:02:11 canadiancow: heh, i saw yesterday canada was one of the best places to be born (better than the us) Jan 12 05:03:59 basically canada and small democratic liberal neutral countries with high GDP Jan 12 05:03:59 yep Jan 12 05:05:11 the problem with US, 300 million people all want something different Jan 12 05:05:24 yep Jan 12 05:05:33 the top 0.1% want nothing to be paid for with taxes Jan 12 05:05:33 if we let texas secede that could help Jan 12 05:05:35 bullshit Jan 12 05:05:37 everyoen else wants fere healthcare Jan 12 05:06:03 Texas imo would do better if their seceded lol Jan 12 05:06:09 theyre completely off the US power grid Jan 12 05:06:35 if america had a countrywide blackout, Texas would be the only state with electricity Jan 12 05:06:59 but no water, its all been polluted by hydrofracking Jan 12 05:07:07 frack you Jan 12 05:07:12 :) Jan 12 05:07:24 do i have you on g+ Jan 12 05:07:28 it could be useful lighting your water on fire once in a while i guess :D Jan 12 05:07:43 canadiancow: i'm not on g+ Jan 12 05:07:50 that explains it Jan 12 05:07:51 holy crap, i HOPE i'm not on g+ Jan 12 05:10:00 so apparently if you complain to united, you get travel credits worth more than the flight you complain about Jan 12 05:10:12 i wonder if ican just keep complaining on every flight Jan 12 05:10:21 google should implement this too. if we complain to google we should get free nexi Jan 12 05:10:33 naw Jan 12 05:10:40 :) Jan 12 05:10:47 im getting my nexus s back next week Jan 12 05:10:52 i lent it to a friend who was waiting for a n4 Jan 12 05:10:58 so i'll finally have every nexus Jan 12 05:11:07 (i gave the S out before i got a 10) Jan 12 05:11:37 all i have is my droid-1 :) but i'm waiting for the $199 N7 to be available soon Jan 12 05:12:33 says it ships in less than a week Jan 12 05:12:39 \o/ Jan 12 05:12:54 buy the 299 one and use it as a phone Jan 12 05:12:55 for a while it said, essentially, no ETA Jan 12 05:12:55 :P Jan 12 05:13:16 is that the phablet edition :) Jan 12 05:13:30 oh i guess phablet os 5"-7" Jan 12 05:13:31 well ive heard some people have used it with voip or whatnot Jan 12 05:13:37 phablet is ridiculous Jan 12 05:13:37 cool Jan 12 05:13:42 (the term) Jan 12 05:13:50 hehe, yeah Jan 12 05:14:31 phablet sounds like fablet when you pronounce it lol Jan 12 05:14:41 double checking here since online description is a bit vague: a listAdapter is basically a view subclass that draws a list given to it via setListAapter ? Jan 12 05:14:42 the first Galaxy Tab was available here with full phone functionality (voice/messaging/data) and one of my colleagues used it for a while as his phone - mainly, but not exclusively, with a headset Jan 12 05:14:56 no Adnauseam Jan 12 05:15:00 it is not a view subclass Jan 12 05:15:13 its an interface Jan 12 05:15:16 Adnauseam: an Adapter is a container for data - or a front-end for a data source - which you feed into a List (or similar) Jan 12 05:15:44 i see now it's a widgit - oversaw that Jan 12 05:16:13 no Jan 12 05:16:15 it's not Jan 12 05:16:25 you know what's most annoying? a website with links on the bottom Jan 12 05:16:33 and a content area that refreshes to get more when you scroll to the bottom Jan 12 05:16:52 lol Jan 12 05:17:19 hmm, is a public interface that implements adapter Jan 12 05:17:32 where adapter is the widgit ? Jan 12 05:17:40 widget* Jan 12 05:17:46 no Jan 12 05:18:04 Adapter is another "public interface" Jan 12 05:18:06 ~_~ Jan 12 05:18:25 i fail at reading the android docs. Jan 12 05:18:49 in my defense, they are very abstractly written. Jan 12 05:18:56 they're javadocs Jan 12 05:19:06 go read d.android.com/tutorial Jan 12 05:19:07 http://developer.android.com/guide/topics/ui/declaring-layout.html#AdapterViews Jan 12 05:19:08 or whatever the link is Jan 12 05:19:24 http://developer.android.com/training/index.html Jan 12 05:19:36 "The Adapter behaves as a middle-man between the data source and the AdapterView layout—the Adapter retreives the data (from a source such as an array or a database query) and converts each entry into a view that can be added into the AdapterView layout." Jan 12 05:19:47 retreives? Jan 12 05:20:06 nobody spell-checks the docs :) Jan 12 05:20:15 :o Jan 12 05:20:23 I BEFORE E EXCEPT AFTER C Jan 12 05:20:29 unless it's weird Jan 12 05:20:45 ugh Leeds dont make me go pull out my work laptop and fix that Jan 12 05:21:06 (which actually is the exception for most words with the ie\ei phoneme) Jan 12 05:21:15 most words have e before i ;p Jan 12 05:21:25 only if they're weird Jan 12 05:21:31 most words we normaly use in day to day dealings are i before e though Jan 12 05:21:32 or the e is after a c Jan 12 05:22:04 i suppose words we don't use can be said to be weird words :p Jan 12 05:22:21 (ironically weird has ei) Jan 12 05:22:48 when c is involved, the rule definitely holds Jan 12 05:22:58 that's not ironic Jan 12 05:23:01 anyway... Jan 12 05:23:03 it's the whole point Jan 12 05:23:07 Adnauseam: what do you think an Adapter is? Jan 12 05:23:20 how do i upload to aosp Jan 12 05:23:21 ugh Jan 12 05:23:43 takes a list of things, and uses a graphical "list" widget to wrap it with so it could be displayed? Jan 12 05:23:54 that's what i currently think it is. it seems to be more than that Jan 12 05:24:36 well... the 'list' isn't necessarily a ListView, but something which contains and displays a dynamic dataset Jan 12 05:25:14 yeah in my example it's just asimple array of strings Jan 12 05:25:22 the Adapter a) wraps that data so it has a consistent software interface and b) renders that data into UI fragments which can then be displayed by the ListView or similar Jan 12 05:25:28 so you're saying it takes in data sets ? Jan 12 05:25:43 then Set, ArrayList, LinkedList, etc? Jan 12 05:25:51 not UI fragments as in Fragments, just to be clear Jan 12 05:26:02 i got that Jan 12 05:26:19 still reading about fragments, too. a bit confusing. Jan 12 05:26:28 it takes data sources - which could be as simple as an array, or could be, say, a database query Jan 12 05:26:54 hmm, i see Jan 12 05:27:33 i suppose this should do for now, onwards with reading Jan 12 05:27:37 thanks Leeds! Jan 12 05:28:04 the point is that it gives the ListView a consistent and generic way to say "give me item X from your dataset, rendered for the screen" without the ListView needing to know anything about the data Jan 12 05:28:21 doesn't need to know where it comes from, what it represents, how it should be rendered Jan 12 05:28:30 btw Jan 12 05:29:00 by "consistent software interface" do you mean that it wraps the data with an object\data structure? Jan 12 05:29:25 does the android emulator emulate arm hardware or does it present an x86 abi to ndk code ? Jan 12 05:29:41 k0nichiwa: depends on whether you use an ARM image or an x86 one :) Jan 12 05:29:42 on an x86 host os i mean, o fcourse Jan 12 05:30:00 the rendering into UI fragments was my initial question though - saw an example that initlized it (but never said that it will load the list in the view), and then after i saw the listview, i was wondering when was the list loaded. Jan 12 05:30:10 what do you mean by "image", do i need to provde an x86 abi for my ndk code to tes tit on the meulator or not ? Jan 12 05:31:22 Adnauseam: as I say, it's a bit higher-level than that - the ListView calls into the Adapter and says "give me item X, rendered for display", and it's up to the Adapter to know what "item X" means and how to render it... the ListVIew takes care of things like scrolling, selection, view recycling (partly) without needing to know anything about what it's actually displaying Jan 12 05:31:50 k0nichiwa: I mean that the SDK lets you run either an ARM image - in which case it's emulated ARM - or an x86 image - in which case it's virtualised x86... your choice Jan 12 05:32:13 if you want to support native x86 and ARM, you need to build for both and test both Jan 12 05:32:19 ic i thought i needed to compile an x86 abi for my ndk code, thx Jan 12 05:32:40 you should consider it - there are mainstream Android x86 devices in the market today Jan 12 05:32:41 <{^_^}> hmm. if i made an app to convert pictures into ASCII art would any of you use it? Jan 12 05:32:41 i dont seem to have emulator installed with adt for some reason Jan 12 05:33:00 {^_^}: in 1993 maybe? :) Jan 12 05:33:19 lol Jan 12 05:34:20 {^_^} - I probably would. Jan 12 05:34:52 why wouldnt i have an emulator option for debugging my app ... can't i install the emulator stuff via eclipse -> help ->install new software ? Jan 12 05:34:57 g00s: want to buy my 8X? Jan 12 05:35:25 thats HTC, right ? Jan 12 05:35:27 yup Jan 12 05:35:54 Leeds there are a few instances of "retreive" in android's external projects (sqlite, bluetooth, etc) Jan 12 05:36:16 i would't be able to dev for it w/o a windows box; not right now … i might ask if you have it later on though ;) Jan 12 05:36:47 g00s: 'twas a gift from HTC... I'll probably keep it as a spare phone for now... lovely hardware, entirely useless software Jan 12 05:37:15 Leeds: HTC is doing *awful* Jan 12 05:37:43 yeah, which is a pity, because they've got some really nice phones out there... Samsung are just crushing them though Jan 12 05:37:47 i think their latest earning was released last week Jan 12 05:38:11 frankly, Samsung are crushing pretty much everyone Jan 12 05:38:35 any idea whos going to be creating Nexus5? Jan 12 05:38:40 can you use mediaplayer to render to an offscreen view or surfaceview? Jan 12 05:38:42 or some such? Jan 12 05:38:47 Trinity: i would bet on Moto Jan 12 05:38:48 canadiancow: too many foreigners involved in Android - Canadians are almost French! Jan 12 05:39:16 I have android 2.3.1 Jan 12 05:39:33 and I need HW accelerated decoding of videos to a byte array Jan 12 05:39:37 canadiancow: je parle francais un petit peu. et toi? Jan 12 05:39:43 I'm currently using ffmpeg... but without libstagefright, it's slow as hell Jan 12 05:39:53 i only have the option of creating an emulator for level 17 Jan 12 05:40:03 k0nichiwa: then install some other OS versions Jan 12 05:40:03 how can i download additional sdks or whatever so i can emulate for 2.2 ? Jan 12 05:40:07 Leeds: interesting; 8x only has Bluetooth 3.1 Jan 12 05:40:16 Trinity, enough to udnerstand that Jan 12 05:40:18 not much more Jan 12 05:40:22 leeds i dont see an option in eclipse -> install new software Jan 12 05:40:24 is ti somewhere els e? Jan 12 05:40:24 anyone? Jan 12 05:40:31 but your grammar is horrible Jan 12 05:40:38 oh android sdk manager Jan 12 05:40:44 LOL French 1! Jan 12 05:40:58 Hello? Jan 12 05:41:00 makes no sense where eclipse puts this stuff Jan 12 05:41:05 Anyone able to answer my question? Jan 12 05:41:12 any sane applciation would put it under preferences or tools or configuration Jan 12 05:41:18 they put it under "wineow" and "help" Jan 12 05:41:22 barque: I think you need to understand "nobody who's around right now knows the answer" Jan 12 05:41:24 i thought it was help -> install new software Jan 12 05:41:37 k0nichiwa: ^ Jan 12 05:41:41 I see, that's fine Jan 12 05:42:00 but all I see is ramblings about being French in Canada in #android-dev, which does not help either Jan 12 05:42:08 oh nvmd didnt finish reading lol Jan 12 05:42:25 there are 412 people here. If 412 people replied "I don't know" to every question, the channel would be unusable Jan 12 05:42:45 right, still though, a legit question could get burried Jan 12 05:42:57 well, 412 agents which could be bots or humans :) Jan 12 05:42:59 while people are "LOL JE NE SAIS QUOIS" Jan 12 05:43:12 Trinity, i think its android sdk manager, udner window Jan 12 05:43:13 or cows 9.9 Jan 12 05:43:14 you're also asking fairly late at night on a friday (for US time zones) Jan 12 05:43:20 which isn't a very active night Jan 12 05:43:22 true Jan 12 05:43:33 or Saturday morning European/Asian time Jan 12 05:43:33 mi installsing sdk level api level 8, maybe that will let me create an api 8 emulator Jan 12 05:43:41 it will Jan 12 05:43:44 you need the system image too Jan 12 05:44:08 im pretty sure 1/4th of those in this room are bots lol Jan 12 05:44:08 oh wait Jan 12 05:44:13 i guess that's included in the sdk platform Jan 12 05:44:24 bots not allowed! Jan 12 05:44:30 k0nichiwa: i do all that stuff in the sdk manager anyhow; no need for eclipse Jan 12 05:44:41 '$android sdk' Jan 12 05:45:29 oops, '$android avd' Jan 12 05:45:36 maybe ill try that, but since i use eclipse i want the tools to be integrated into eclipse Jan 12 05:46:21 they're the same tools Jan 12 05:47:35 g00s: rumor: HTC creating nexus 5 Jan 12 05:47:43 I use IntelliJ because Eclipse wants stool samples taken by force in order to do anything with it Jan 12 05:47:52 Trinity: hmm :( Jan 12 05:48:44 lets not start unfounded rumors Jan 12 05:48:47 okay, so im going to be buying a new android phone in a month (cant live with prism anymore). What would you recommend Galaxy SIII or Nexus 4? Jan 12 05:49:01 galaxy nexus Jan 12 05:49:03 :) Jan 12 05:49:20 n4 Jan 12 05:49:38 galaxy s3 trumps nexus 4 hands down Jan 12 05:49:48 canadiancow: GSMArena reported that HTC was making the Nexus 5 Jan 12 05:49:53 you want some prototype toy, get the nexus 4. you want a real phone, get the s3. Jan 12 05:49:57 the Xperia Z looks nice but its Sony's skin Jan 12 05:50:05 Trinity ok Jan 12 05:50:11 pragma- not if you add samsung software updates/support to the mix Jan 12 05:50:17 canadiancow: but its probably a rumor Jan 12 05:50:25 pft, everyone roots samsung phones and puts cyanognemod on them Jan 12 05:50:27 prgma: is there bloatware Jan 12 05:51:23 i like how Nexus phones never fail you (old Nexus S found a new home in the ocean). But the LG Nexus 4 is just ridiculous without sdcard+more. But i'm worried about S3's bloatware Jan 12 05:51:48 Trinity: its swimming with the cool fish ! Jan 12 05:51:50 take a look at the nexus 4 forums and see how many are failing Jan 12 05:52:05 i cant upload to aosp without filling out some form... wtf Jan 12 05:52:43 prgma: right... what i said about LG Jan 12 05:53:15 but hmm.. Jan 12 05:53:24 galnex also had no SD card; it's more or less the new model. "do it w/ the cloud" Jan 12 05:53:36 canadiancow: got to prove that your employer allows you to submit code? :) Jan 12 05:53:45 yeah like... Jan 12 05:53:51 screw you, i'm enjoying my 32gb galaxy s3 with its 64 gb external sd card Jan 12 05:53:53 you'd think it would accept an android.com email as "approved" Jan 12 05:53:57 the N7 and N10 also have no SD card. I wouldn't expect new nexus devices to from now on. Jan 12 05:54:34 i wouldn't expect new nexus devices to thrive after the nexus 4 debacle either Jan 12 05:54:38 that sucks :( Jan 12 05:54:46 No SD card? I want my stuff where it can't be revoked "from the cloud" Jan 12 05:55:04 pragma: after research i found "basically there is a problem with the kernel that keeps the phone awake when it should stay in a deep sleep to save battery." Jan 12 05:55:14 plenty more problems Jan 12 05:55:17 capella: thats what i was saying... one of the biggest turnoffs of N4 Jan 12 05:55:31 I loved my Nexus S but that was most likely cause it was a samsung device Jan 12 05:55:54 * capella Remembers the Amazon revoking paid-for eBook horror stories Jan 12 05:56:39 is there anything like 'dropbox' but lets me use my own provate server; or maybe some f2f thing for non-device storage - i hate the cloud Jan 12 05:56:55 i'm not motivated away from my sammy galaxy nexus, nothing out there takes my fancy Jan 12 05:57:04 specially as a dev device Jan 12 05:57:09 Leeds, https://android-review.googlesource.com/#/c/49610/ Jan 12 05:57:09 Also, your kids can't inherit your games / books / etc cause you only own a license ... ? Jan 12 05:57:17 g00s, ftp server? Jan 12 05:57:20 here in the US; your cloud stuff can be looked at by the got w/o warning or notice Jan 12 05:57:25 StingRay_: what API is it running on? Jan 12 05:57:27 or you know, just use the cloud Jan 12 05:57:35 google drive/dropbox works great Jan 12 05:57:37 *govt Jan 12 05:57:44 no, fuck all that shit Jan 12 05:57:45 well it will always (at least for next 2 releases) run latest Jan 12 05:57:47 4.2.1 Jan 12 05:57:55 g00s: yea i was thinking about creating something like that. but more desktop server -> mobile device without 3rd party Jan 12 05:58:05 so don't store your copy of mein kampf and anarchy cookbook in the cloud Jan 12 05:58:12 hehe Jan 12 05:58:48 g00s, i don't think the government gives a damn about you. Sorry but you aren't that special Jan 12 05:58:57 Baldwins can't get their Words with Friends :) Jan 12 05:58:58 RustyShackleford: oh, you have no idea Jan 12 05:59:11 g00s, you aren't planning terrorist attacks or something, are you? Jan 12 05:59:20 that stupid, no Jan 12 05:59:31 don't put your plans on google drive Jan 12 05:59:36 is Nexus 4 on USB 3.0? Jan 12 05:59:54 you raise a valid point though. It's kinda frightening how much google must know about me Jan 12 06:00:26 if you are an activist for any cause, you could eventually wind up on a watch list Jan 12 06:00:28 RustyShackleford: last time I was on a shanghai subway I had my laptop + a router + modem + a phone so i could make international calls at my hotel and I was given a random search. you shouldve seen their faces Jan 12 06:00:33 i search for hard water and all kinds of stuff just for kicks Jan 12 06:00:58 Leeds, so if every time you found a little ubg, you just fixed it... :P Jan 12 06:01:07 Trinity: we have something here called VIRP teams that do that Jan 12 06:01:12 *VIPR Jan 12 06:01:47 http://www.huffingtonpost.com/christopher-elliott/the-tsa-wants-to-be-every_b_2393332.html Jan 12 06:01:52 it was stuffed messily in my bag with thousands of wires. nevertheless I was surprised they didnt confiscate it Jan 12 06:02:03 idk they can put me on watch lists all they want. I don't do anything that illegal Jan 12 06:02:21 RustyShackleford: once you are on a watch list, travel becomes a PITA Jan 12 06:02:24 fact is, the cloud is pretty convenient Jan 12 06:02:31 when was stagefright and OpenMAX added to JNI ? Android 4.0? Jan 12 06:02:41 i thought SF was 2.3 Jan 12 06:02:57 http://reason.com/archives/2012/12/17/your-cellphone-is-spying-on-you Jan 12 06:02:59 oh, JNI Jan 12 06:03:08 Stingray_: i am now suspicious of you... "StingRay towers" Jan 12 06:03:16 i just hope to god that incognito searches really are anonymous Jan 12 06:03:54 >;/ Jan 12 06:04:02 my biggest scare was when I found that Facebook was logging down each search I made, even the ones that didn't find anyone Jan 12 06:04:34 Facebook is REALLY creepy Jan 12 06:04:41 have you seen the amount of bg services and data facebook android app uses ? even when you do something not related to fb ? Jan 12 06:04:41 i deleted that a long time ago Jan 12 06:04:46 what do you care who facebook thinks you're searching for? Jan 12 06:04:48 I uninstalled the thing Jan 12 06:04:58 mostly I don't like everyone looking at my pictures and conversations Jan 12 06:05:08 and pro-tip, leave your phone home when you go to rob the local liquer store Jan 12 06:05:33 i'll remember that when i go for my monthly liquor robbing run Jan 12 06:05:37 StingRay: i would be cautious that it wouldn't pull one of its "deactivation" tricks on you Jan 12 06:05:51 just use a different phone. buy one of those prepaid ones Jan 12 06:05:54 canadiancow: drooped down to only monthly now ? Jan 12 06:05:58 *dropped Jan 12 06:06:00 ;) Jan 12 06:06:03 that's what smart drug dealers do Jan 12 06:06:08 Trinity well I dont care for FB no more neways Jan 12 06:06:16 canadiancow: let me guess, Jake has the getaway car Jan 12 06:06:18 first thing I'll do if I get into illegal business Jan 12 06:06:20 ^LOL. Jan 12 06:06:42 RustShackleford: i like how you have it all planned out ;) Jan 12 06:10:42 aerofs is the closest i am looking for, I think Jan 12 06:10:56 RustyShackleford: ftp: no. https://www.aerofs.com/ Jan 12 06:11:32 "Anything you store in your AeroFS folder is by default private." Jan 12 06:11:35 \o/ Jan 12 06:11:56 so no cloud involvement unless cloud backup is specified Jan 12 06:12:13 personally, I like the clould backup Jan 12 06:12:38 I can do something stupid to my computer and not lose all my files Jan 12 06:12:59 every so often I fuck up when tinkering with linux Jan 12 06:13:44 sudo dd if=foo of=/dev/sda Jan 12 06:13:49 your files are gone Jan 12 06:14:11 who the hell does that Jan 12 06:14:12 not everyone is an idiot like me though Jan 12 06:15:13 g00s: thank you Jan 12 06:16:20 haha they also have a senior android developer position open Jan 12 06:16:58 eclipse question : in the LogCat view, is there any way to remove the headers/titles to the output columns ? I dont want application, pid etc Jan 12 06:17:28 StingRay_: drag until it no longer shows Jan 12 06:18:04 oh wow...yeah cool Jan 12 06:18:06 thanks Jan 12 06:22:11 is it me or is the latest google currents app really buggy and screwed ? Jan 12 06:22:27 people use that app? Jan 12 06:23:28 I do Jan 12 06:23:37 well... did Jan 12 06:23:43 up to the last update Jan 12 06:23:49 now it's a bit...crappy Jan 12 06:23:54 bummer Jan 12 06:45:16 is JNI coding for OpenMAX or stagefright supported on 2.3.1? Jan 12 06:49:28 is there any way to clone a view ? Jan 12 06:49:48 hey guys, has anyone worked with the camera to get timestamps of the frames? Jan 12 06:50:10 the SurfaceTexture object seemingly has a getTimestamp function for when it's used for camera preview Jan 12 06:50:23 i'm guessing camera preview is what's used when you're recording video? Jan 12 06:53:01 leeds, you know what im doing now? Jan 12 06:53:10 im going through the public bugtracker, fixing documentation bugs Jan 12 06:53:16 canadiancow: nice work Jan 12 06:53:38 8 plus yours :P Jan 12 06:54:22 you mean my bug, or the retreive typo? Jan 12 06:54:43 retreive Jan 12 06:54:45 whats your bug Jan 12 06:54:53 http://code.google.com/p/android/issues/detail?id=15462 Jan 12 06:55:01 it's fixed - after quite a long time - but can be closed Jan 12 06:55:16 ah Jan 12 06:55:22 yeah i dont have access to b.android.com Jan 12 06:55:24 i cant close it :P Jan 12 06:55:30 oops :) Jan 12 06:55:32 i can forward that to someone who can though Jan 12 06:56:29 I've been using it as a trivial barometer for how much attention b. actually gets Jan 12 06:57:02 well also look at what your bug is Jan 12 06:57:04 like... Jan 12 06:57:09 like a 30 second fix? Jan 12 06:57:23 yeah and super unimportant? :P Jan 12 06:57:27 my search query is component:docs status:new Jan 12 06:57:33 so yours would have come up :P Jan 12 06:57:39 its not the first isaw that was already fixed though Jan 12 06:57:39 hey ho, droidlife report that 4.2.2 is shipping on the latest batch of n4s in brazil and malaysia.....maybe they fixed my reported ime bug Jan 12 06:58:04 more important than a typo - it actually contains incorrect and inconsistent info... as I said though - trivial example Jan 12 06:58:16 StingRay_, i can guarantee you that's not true Jan 12 06:58:32 the latest shipping version is 4.2.1 Jan 12 06:59:00 http://www.droid-life.com/wp-content/uploads/2013/01/nexus_4_brasil_02-650x607.jpg Jan 12 06:59:29 you want me to send you a photo of a phone running 123.456.789? Jan 12 07:00:00 maybe 666.66.6666 Jan 12 07:00:12 then i would be up for it Jan 12 07:01:34 yeah I not that the date / build is just off-screen too Jan 12 07:02:10 all of that can be spoofed Jan 12 07:02:13 that's my point Jan 12 07:02:21 and the latest shipping version is 4.2.1. the end. Jan 12 07:03:08 i know Jan 12 07:03:10 and when will 4.2.2 ship? ;) Jan 12 07:03:18 diff baseband revision though Jan 12 07:03:40 oh well, I doubt my annoying bug would be gone after neways Jan 12 07:03:41 ok which one of you is an android developer? canadiancow? Jan 12 07:03:43 :P Jan 12 07:03:50 StingRay_? Jan 12 07:03:53 i think everyone in here is an android developer Jan 12 07:03:59 no as in, works at Google Jan 12 07:03:59 that's why we're here... Jan 12 07:04:09 not developer for, but develop Jan 12 07:04:10 why do you think someone works at google Jan 12 07:04:19 huh? Jan 12 07:04:26 I don't know... sounded like it :P Jan 12 07:04:31 so none of you work on android? Jan 12 07:04:47 nobody *works* at Google... free food, massages, table football - all they do is play Jan 12 07:04:57 also, they're all dessert freaks Jan 12 07:05:07 Leeds: you forgot the sleep pods Jan 12 07:05:16 can a cow fit in a sleep pod ? Jan 12 07:05:17 right, that's why the platform on JNI is so half-assed (ha-ha) Jan 12 07:05:30 so anyway, no one here is working on the android platform? Jan 12 07:05:41 of course, pre-4.0 anyway Jan 12 07:05:53 http://www.businessinsider.com/google-sleep-pods-2010-6?op=1 Jan 12 07:07:31 these archos itanium tablets look cool; way cheap Jan 12 07:07:38 *titanium, heh Jan 12 07:07:41 Is sleeping at work a problem for some people? Jan 12 07:11:07 $8000! better start saving now Jan 12 07:17:19 it might be worth $8000 if the pod could drive you around while you were sleeping Jan 12 07:17:35 like, you wake up and you are at trader joe's or something Jan 12 07:18:34 even better if it could just go to trader joe's by itself and pick up a few things then come back Jan 12 07:18:51 kevinb: thats why you train dogs when tehyre puppies Jan 12 07:19:27 hrm sadly i'm a cat purpose Jan 12 07:19:48 just promise it some katnip :) Jan 12 07:20:13 Leeds, there seem to be quite a few doc "bugs" that are fixed Jan 12 07:23:42 I wonder if I should get a Linode box... Jan 12 07:25:13 canadiancow: I could say something snide about one-way flow from the community inwards, but that would be nasty :) it's good that they're being fixed - of course they're mostly unimportant, but it's a matter of polish, of appearance of quality Jan 12 07:25:32 Well, a $20 month-to-month contract, I can't lose that much on that... Jan 12 07:25:35 well i cant say im going to stay up much longer doing this on a friday night Jan 12 07:25:42 but... expect a few of them to be closed, including yours :P Jan 12 07:25:46 and a bunch more to be fixed Jan 12 07:25:51 cool, thanks Jan 12 07:26:18 not something someone should be doing on a Friday night - something someone should be paid to do during the day! :) Jan 12 07:26:20 Leeds: the community inwards ? Jan 12 07:26:45 i'll take PC version Jan 12 07:28:41 looks like the trend is that teens are not finding apple so cool anymore Jan 12 07:28:51 of course, teens also like justin bieber Jan 12 07:28:56 so anyone know how radio shack stays open? Jan 12 07:29:09 I used to work at Radio Shack Jan 12 07:29:11 i dont even think the ceo knows how radio shack stays open Jan 12 07:29:29 http://www.theonion.com/articles/even-ceo-cant-figure-out-how-radioshack-still-in-b,2190/ Jan 12 07:29:52 They make money because people come in and buy a lot of stuff - TVs, DVD players, whatever Jan 12 07:30:07 Why they don't look for a bargain elsewhere, I don't know... Jan 12 07:30:16 I still buy headphones from Radio Shack Jan 12 07:30:18 when i was a kid, i used to buy lots of electronic parts from them. before there were arduinos ;) Jan 12 07:30:44 We used to have people come in and buy all kinds of hacker like stuff Jan 12 07:30:59 Like they bought these tone dialers which could be modified to make free phone calls Jan 12 07:31:28 Or things to prevent the cable bullet from killing their every-channel-free cable boxes Jan 12 07:32:42 surprised it didn't happen already "Tim Cook says China to become Apple's most important market" Jan 12 07:33:02 i guess China will become everybody's most important market Jan 12 07:34:03 yeah Leeds, the typos are like meh Jan 12 07:34:06 but some stuff is bad Jan 12 07:34:18 call method DoSomeX when it should be DoSomeThing Jan 12 07:34:38 right, there are a few of them Jan 12 07:34:47 SomethingNotString provider = LocaitonManager.GPS_PROVIDER Jan 12 07:35:30 i hsould get some write access to b.android.com Jan 12 07:41:18 Aaron Swartz commits suicide Jan 12 07:41:23 holy shit, wtf :( Jan 12 07:42:38 :( Jan 12 07:43:01 so.... Obama used around $50 million for his first inauguration... and is trying to raise more money for his 2nd Jan 12 07:45:27 Hey all, I'm interested in implementing contact chips like in the mms app and google+. I understand the "chips library" is here https://android.googlesource.com/platform/frameworks/ex/+/refs/heads/master/chips but im not sure how to use it Jan 12 07:46:12 Leeds, 21 bugs fixed, more bugs submitted for closure :\ Jan 12 07:47:01 I cloned the source and added it as a project in eclipse and checked the Library checkbox and referenced that in my main app, but when I try to launch I get a Conversion to Dalvik format failed with error 1 Jan 12 07:48:05 is there another way to use this "library" frameworks/ex/ Jan 12 07:50:07 i noticed there's a .mk file, Do I need to run this from the command line? Jan 12 07:53:07 g00s: i like how mit was one of the first to report Jan 12 07:53:29 I have my own (virtual) box on the net again cool Jan 12 07:53:35 I haven't had this since 2001... Jan 12 07:53:55 Ologn: from who ? Jan 12 07:54:12 g00s, I'm trying Linode. It's $20 a month. People say it's OK... Jan 12 07:54:34 I can run my own DNS, mail etc. Cool Jan 12 07:54:58 Leeds: any recommendations for linux VPS? Jan 12 07:57:27 no-ip Jan 12 07:57:32 lol Jan 12 07:57:57 anyone have any experience with the chips ui? Jan 12 07:58:39 * g00s never heard of the chips ui Jan 12 07:59:41 really? Jan 12 07:59:44 is that open source? Jan 12 08:00:22 abelianHorizon, i have some experience Jan 12 08:00:35 oh it is open source! Jan 12 08:00:36 cool Jan 12 08:01:56 what is it ? Jan 12 08:02:32 you know in gmail when you add a recipient, you get a little "chip" with their face/name Jan 12 08:03:45 ok; i thought that was called something else Jan 12 08:04:03 yeah Jan 12 08:04:06 exactly Jan 12 08:04:08 nope, definitely "chips" Jan 12 08:04:35 yeah its open source Jan 12 08:04:40 https://android.googlesource.com/platform/frameworks/ex/+/refs/heads/master/chips Jan 12 08:04:52 yeah i just saw that Jan 12 08:04:57 when i googled it :P Jan 12 08:04:57 I saw this post https://plus.google.com/113735310430199015092/posts/WUd7GrfZfiZ Jan 12 08:05:14 which references that as a "library" Jan 12 08:05:25 im trying to figure out how to get it working Jan 12 08:06:01 android update project -p . Jan 12 08:06:05 err wait Jan 12 08:06:10 theres another flag to mark it as al ib Jan 12 08:06:11 a lib Jan 12 08:06:18 i have it in my eclipse workspace, but when I link it as a library it gives me a dalvik error Jan 12 08:07:02 Conversion to Dalvik format failed with error 1 Jan 12 08:07:24 turn on verbose builds Jan 12 08:09:56 i wonder if there will be more programmers if we made programming illegal Jan 12 08:10:15 LOL Jan 12 08:10:42 wat Jan 12 08:12:02 think about it, cigarettes are illegal when youre under 18. yet so many people under 18 smoke it Jan 12 08:12:16 go home Trinity Jan 12 08:12:18 you're drunk Jan 12 08:12:42 Dx trouble processing "javax/crypto/ExemptionMechanismSpi.class": Jan 12 08:12:59 Ill-advised or mistaken usage of a core class (java.* or javax.*) when not building a core library. Jan 12 08:13:47 when i remove the library dependency this goes away Jan 12 08:15:29 not sure why its having trouble on javax.. Jan 12 08:16:39 using java 1.6 for project and libraries Jan 12 08:18:35 here's the entire warning message https://gist.github.com/4516720 Jan 12 08:23:27 all the usability research i have seen recommends minimum touch targets of 10mm; wonder why google went with 9 Jan 12 08:23:53 smaller is better Jan 12 08:23:56 how about NO touch targets Jan 12 08:24:00 bring back the trackballs Jan 12 08:24:05 heh Jan 12 08:27:15 any thoughts canadiancow? Jan 12 08:33:27 when designing a game with a chatroom Jan 12 08:33:32 do i want xmpp or irc ? Jan 12 08:36:33 irc is a bit uncontrolled though right ? Jan 12 08:36:43 and xmpp is very insecure ? Jan 12 08:36:49 as is my understanding Jan 12 08:37:12 from reading brief things and once setting up an IRC server Jan 12 08:39:56 mhm Jan 12 08:40:27 any advice as to what touse? i';d like my game to have an ingame chat Jan 12 08:41:38 i suppose it'll be its own activity (though i was also wondering if gamer-to-gamer interaction could be then controlled through the messaging system) Jan 12 08:42:02 well I take it that your game would be multiplayer ? Jan 12 08:42:36 *nods* Jan 12 09:15:09 the sum of the column "merchant receives" in the payout report does not match the actual payout no more :/ Jan 12 09:15:29 which messes up the bookkeeping Jan 12 09:27:15 When will we be able to comment on reviews? Jan 12 09:49:49 Hi, could someone, please, try my live wallpaper? I did not get any feedback, so I am not sure, which direction to go next. http://play.google.com/store/apps/details?id=com.indiumindeed.diamondvalley Jan 12 09:52:42 http://news.yahoo.com/blogs/this-could-be-big-abc-news/no-driver-needed-self-parking-car-231204637.html Jan 12 10:43:13 Hey guys, if anyone is working on an AppWidget, do you know any possible reasons why a widget process would FC and then give "Problem loading widget"? Jan 12 10:44:41 can it be a problem with onUpdate? Jan 12 10:54:33 what do the logs say ? Jan 12 10:54:40 whats the exception ? Jan 12 10:56:58 according to git blame, i've written 64% of my company's software Jan 12 10:57:04 probably should ask for a raise. Jan 12 10:57:24 tophyr: what is your company? Jan 12 10:58:04 well it's not MY company Jan 12 10:58:15 i see Jan 12 10:58:17 suppose i'd be in charge of my own raises then lol Jan 12 10:58:29 eheh Jan 12 10:58:44 fun to tinker with various stats tho. Jan 12 10:58:49 i bet its a game company Jan 12 10:59:23 no. electronic signatures Jan 12 10:59:31 cool! Jan 12 10:59:33 i have a question : how would one achieve a continues date picker/calendar scroll like is used in https://play.google.com/store/apps/details?id=ch.teamtasks.tasks.paid&hl=en Jan 12 11:00:43 willing to bet 95% of that 64% actually stems from me being the guy in charge of merging dev branches, when we were on svn Jan 12 11:00:45 I am planning to start a new project, which is based on the code of the previous one. What would be the best option to clone the code in git repository? Some of the options in Bitbucket seem to be "Fork" and "Import Exisiting Code". Jan 12 11:01:05 so most of trunk i was the last author on, even if i had nothing to do with whatever the code was. Jan 12 11:01:35 IndiumIndeed, you can fork it and start developing from there. Jan 12 11:01:51 hi everybody... I am programming an App using OpenGL and I am loading the textures from the drawables... Since many textures for different screen resolutions have the same size, I just wanted to put them into the "res/drawable" folder... but then they don't load... only when they are in the "res/drawable-hdpi" or "res/drawable-tvdpi" for my Nexus 7... does anybody have an idea why this happens? Jan 12 11:04:49 StingRay_, sorry, I was away, I see you asked for logs, here http://pastebin.com/3HACaGgu, i connected the device did a logcat and this the part where I add the widget to the homescreen Jan 12 11:07:48 NightRavenXS well dont you see the error there ? Jan 12 11:13:40 StingRay_, i am sorry but no Jan 12 11:13:54 just point me at the right direction Jan 12 11:14:45 btw it says the process dies only after it force closes, i have to press "Force Close" so logcat says "crashed too many times" Jan 12 11:24:05 StingRay_, wait, I think I got it, unable to instantiate receiver? Jan 12 11:24:07 is that it? Jan 12 11:24:34 guys i am doing animations in listview.It's like when the first item added to the list it should translate from top to middle of the list.I have set the listView.bringChildToFront also but its not happening.its going behind the listview .Any idea why and how can i do that? Jan 12 11:25:58 Android03: define animation Jan 12 11:26:03 animation as in transition animation Jan 12 11:26:19 or "animation" as multiple layouts dependend on the content Jan 12 11:27:45 monsti: can you tell me how as i m new to android animation Jan 12 11:28:13 Android03: an animation implyes a "movement" from a start point to an endpoint with a visible content Jan 12 11:29:28 Android03: what i didn't get in your explanation - do you want to transition a "row" of a listview Jan 12 11:29:33 monsti :i have defined the translate animation that moves a view from top to middle but its not animating from the top of the listView Jan 12 11:29:38 Android03: or do you want to ensure the visibility of a row... Jan 12 11:29:51 hm, Windows shows a battery level when I plug my phone into USB on the device properties, through MTP, anyone know how I could uery that for a userland app? Jan 12 11:31:00 monsti : the first view of the list should be translating from top to middle on top of the listView having about 10 items Jan 12 11:31:31 monsti : it is moving behind the list Jan 12 11:31:43 monsti : not on top of the list Jan 12 11:32:35 i still don't understand what you want Jan 12 11:33:00 monsti : wait.. let me give a pic Jan 12 11:33:18 you have list items 1,2,3,4,5 and 1 and 3 should swap? Jan 12 11:35:33 no only 1 should be translating from top to middle of the list over all the items 2,3,4,5 and then it should stop the animation Jan 12 11:35:47 monsti:no only 1 should be translating from top to middle of the list over all the items 2,3,4,5 and then it should stop the animation Jan 12 11:36:45 Android03: so the list 1,2,3,4,5 keeps in place and you need a sort of "dialog" of 1 over the list? Jan 12 11:37:28 hello, can anyone help me here? i'm trying to get my lockscreen transparent Jan 12 11:37:37 mosnti: yup you can think that way too Jan 12 11:37:51 Android03: so do a dialog - not a transition Jan 12 11:38:16 Android03: you will need a copy of View 1 in any case Jan 12 11:38:56 Android03: you can also put your list in a relative layout and add a 2nd view over the list - and play with the visibility Jan 12 11:39:30 but a dialog is recomended, because you don't have to deal with clicks to the list while the topview is visible Jan 12 11:41:37 monsti: see this is exactly i want http://www.youtube.com/watch?v=xPLhfEJuz4k&feature=youtu.be Jan 12 11:42:14 how can i test bt avrcp profile in android ics Jan 12 11:44:14 Android03: the video isn't available - that's the youtube message i'll get ;) Jan 12 11:45:45 I saw the vid Jan 12 11:46:15 anyone knows a good android dev tutorial ? Jan 12 11:46:32 monsti : StingRay is able to view check out the setting Jan 12 11:47:07 stingRay : so you have any idea how can i achieve such an animation in android Jan 12 11:47:20 a few Jan 12 11:47:35 but if you dont, then I would not really try something like that at this point Jan 12 11:48:15 stingRay_ : i have been trying that for past 2 days but no luck Jan 12 11:48:19 one way would be duplicate the view and use the duplicate Jan 12 11:49:05 wont be too easy Jan 12 11:50:54 that also i tried .i duplicated the view and made animations on that view it now working too Jan 12 11:51:08 what do you mean not working ? Jan 12 11:51:35 i mean it behaves the same as animating the original view Jan 12 11:51:52 moving behind the list Jan 12 11:52:30 well place it on a view that is "above" the view that your listView is in Jan 12 11:54:38 stingRay_ : that too i tried.i took one view which i set over the list and tried to translate that view over the list but in that case how can i ensure it should fit the exactly at top of the first view when it stops animating Jan 12 11:55:19 by getting the view info yourself and setting the properties in code Jan 12 11:55:53 same way you would ensure a popup menu or chooser will appear over the view that it is meant to Jan 12 11:57:02 what value i should give to ToDeltaY for translating the view at top of the first view in the list ? Jan 12 11:57:25 in xml ? Jan 12 11:57:28 you wouldn't Jan 12 11:57:32 or I wouldnt Jan 12 11:58:02 http://developer.android.com/reference/android/view/animation/package-summary.html Jan 12 11:58:15 http://developer.android.com/reference/android/view/animation/Animation.html Jan 12 11:58:42 hey i know this Jan 12 11:59:47 let me share with you one code i have done may be if you can add something ...can you give me your mail id? Jan 12 12:00:08 pastebin ? Jan 12 12:00:39 its a whole andrtoid project that has layout files and java files Jan 12 12:00:50 do u want me to put it in paste bin Jan 12 12:00:51 >? Jan 12 12:01:03 ah, not really interested in looking at your whole project Jan 12 12:01:10 :) Jan 12 12:02:14 that way you directly run the app and see how its working and add few lines to make it work exactly the same Jan 12 12:02:44 add a few lines ? Jan 12 12:02:57 getting the view data and matrix info Jan 12 12:03:09 defining dynamic animation based of start and end Jan 12 12:03:26 i have done lot in that demo prjct Jan 12 12:03:26 controlling the user interaction on ALL views on screen while this goes on Jan 12 12:03:32 not a few lines Jan 12 12:03:56 u mean to achieve the result we need to do this much Jan 12 12:04:19 yeah... lots Jan 12 12:04:25 lots lots Jan 12 12:04:29 Android03: yeah coding is like magic - you have to pratice a lot to get the impression of easyness Jan 12 12:04:47 I'm crap at coding neways Jan 12 12:04:47 Is there a Java standard library way of parsing RSS feeds? Jan 12 12:04:54 (err, Android rather) Jan 12 12:05:31 its your greatness Jan 12 12:05:54 ok after 24h owning a nexus 7 Jan 12 12:05:59 it's crap compared to my S3 Jan 12 12:06:30 monsti in what way ? Jan 12 12:06:46 Bacta, no standard library AFAIK. http://stackoverflow.com/questions/2428682/easiest-way-to-implement-rss-reader-on-google-android Jan 12 12:06:46 it's cheap, it's fast Jan 12 12:07:03 the screen is't that good as the OLED of the S3 Jan 12 12:07:14 no default software preinstalled Jan 12 12:07:27 plain android 4.2 - which i don't like Jan 12 12:07:42 a forced WLAN access at first launch Jan 12 12:12:00 monsti: can you actually buy a 7" tablet with an OLED screen today? Jan 12 12:12:48 no :( Jan 12 12:12:59 and preferring touchwiz over stock android is probably a minority position Jan 12 12:13:00 i am acutally wating for an roughed device Jan 12 12:13:10 as everybody complains about manufacturer skins Jan 12 12:13:48 http://de.mypidion.com/product/product_tab.asp?bmenu=1&t_idx=369 Jan 12 12:14:19 I dunno, I have a galaxy nexus, better than the S3 imo Jan 12 12:14:26 although the screen and hardware are generally worse Jan 12 12:14:35 sory that's the pad Jan 12 12:14:36 http://de.mypidion.com/product/product_tab.asp?bmenu=1&t_idx=383 Jan 12 12:15:12 i got a very good lesson from the nexus 7 Jan 12 12:15:25 there are no hardware keys Jan 12 12:15:32 so i have to deal with smaller layouts Jan 12 12:18:22 one thing I really don't like about android 4.2 is how they've moved the softkeys to the middle of the 'softkey bar' Jan 12 12:18:36 yeah that's very bad Jan 12 12:18:44 on 10" tablets that means you can't reach the back button with your left thumb anymore Jan 12 12:19:09 it's an easy fix, still wonder why they would sacrifice 10" usability Jan 12 12:22:21 Maurits_: there has been a lot of discussion about that topic Jan 12 12:22:39 combined actionbar against splitted (with centered navigation) Jan 12 12:22:55 i personally also dislike their descission, and prefere the cmobined actionbar way more Jan 12 12:23:18 also if my tablet will get 4.2 with centered (in case acer won't modify it) I will use a custom rom to get rid of that again Jan 12 12:24:42 hmm, if its that contentious i wonder if they did any usability studies on it Jan 12 12:25:40 I don't mind the new notification pulldown Jan 12 12:25:44 though Jan 12 12:25:57 takes a bit more screen space having both bars Jan 12 12:25:58 I also dislike, that it is splitted into two parts Jan 12 12:26:05 wich makes it in my opinion pretty unintuitive Jan 12 12:26:06 i dont like the idea of the actionbar in general. i think for touch interfaces that are reconfigurable; actionable things should be salient in the content … not menus Jan 12 12:26:12 hmmm thinking about one of these http://www.archos.com/products/elements/archos_97titanium/specs.html?country=gb&lang=en&#a Jan 12 12:26:23 StingRay_: yeah saw those Jan 12 12:26:23 I like the aspect of my ipads and touchpad Jan 12 12:26:38 i wonder what their track record is of updates Jan 12 12:26:44 I have a sammy 8.9 thats ok but getting on a bit now Jan 12 12:26:45 g00s: well, there's not much that can be done about that anymore Jan 12 12:27:13 I also think I prefer not having a systemwide back button Jan 12 12:27:32 yeah, lots of discussion on overloading of that too Jan 12 12:27:48 OTOH, iOS's approach has a lot of drawbacks Jan 12 12:28:06 most notably is that you can't integrate components from other apps in yours Jan 12 12:28:44 open with another app and then returning is very clunky in iOS Jan 12 12:28:56 * g00s hasn't used ios in a while Jan 12 12:29:18 I develop the occasional iOS app still Jan 12 12:29:42 when is that archos out? Jan 12 12:29:50 normally not a fan of archos tbh Jan 12 12:30:19 are the new archos tablets some tablets, that can be taken serious? Jan 12 12:30:36 I haven't clicked the link, but I doubt it ;) Jan 12 12:30:37 i had a g9 in my hands, and that was just the cheapest crap i've ever seen Jan 12 12:32:04 this looks okay on paper Jan 12 12:32:27 still wonder whether you shouldn't just a galaxy note 10.1 for about the same amount of money Jan 12 12:32:37 yeah from stats, but they won't write there: quality is bullshit :D Jan 12 12:33:04 i don't mean the interior but its overall quality, felt like crap, like I clued some peaces of plastic together Jan 12 12:33:07 anyone knows a good android dev tutorial ? Jan 12 12:33:10 oh wait, the 10.1 price I saw was a heavy discount Jan 12 12:33:25 in fact I think if i clue some peaces of plastic together it will be more solid then the g9 I had Jan 12 12:33:36 all of a sudden I am getting ./ffmpeg not executable: magic 7F45 whenever I try and run executable Jan 12 12:33:48 Nighthawk``: http://d.android.com/training/index.html Jan 12 12:33:59 have I lost root somehow? Jan 12 12:34:20 brx_: that sounds like a binary for the wrong architecture Jan 12 12:34:42 weird, its the same binary I've been using for past few weeks, nothings changed Jan 12 12:35:53 timroes, thanks mate. Jan 12 12:41:58 Leeds, you was right,I was trying to rebuild ffmpeg with external lib support and had placed a bad binary into assets, thanks for getting me back on track Jan 12 12:42:10 glad to help :) Jan 12 12:42:29 Hi All Jan 12 12:48:13 Guys anybody using ormlite? I am courious how do I manage joins of tables. Jan 12 12:48:57 lets say i join 3 tables and take few data from each. do I need to create Java class for that? or do I partly get class for table A class for table B, class for table C etc? Jan 12 13:02:55 when i have a style with android:windowBackground to @null on my activity, would it then by default show black or nothing/transparent ? Jan 12 13:03:29 transparent... ie: nothing is painted Jan 12 13:03:45 to get black, you'd need to set it to black Jan 12 13:05:26 hm.. i derive my own style from Theme.Sherlock where i set the windowBackground to @null but the background is black Jan 12 13:08:49 There's a theme to get wallpaper as the background I think Jan 12 13:12:19 mrenouf: wallpaper = ? Jan 12 13:12:44 osxorgate, whatever is set as the system's wallpaper. Jan 12 13:12:57 thats as close to "no background" as you'll get Jan 12 13:14:44 im trying to do this http://www.curious-creature.org/category/android/page/2/ Jan 12 13:15:11 but i dont understand why it would be black instead of transparent Jan 12 13:19:30 hmm, that link isnt loading Jan 12 13:19:52 oh there we go Jan 12 13:24:03 note those examples are from Android 1.5 Jan 12 13:24:11 things may have changed since Jan 12 13:32:01 Has anyone tried Eclipse Kepler with ADT? Jan 12 13:32:10 (Eclipse 4.3, after Juno) Jan 12 13:33:59 luyang no but since I'm on osx with the silly text field hacky things I cant wait for it!!! Jan 12 13:36:22 hm i think it's working.. just showing black once. but im getting 'non erase' errors.. Jan 12 13:36:30 StingRay_: yeah it's weird that os x text field hacky thing Jan 12 13:36:34 it's like a popup Jan 12 13:57:18 eclipse sucks so much and android Jan 12 13:57:46 I am using CM10.1 on my SGS2 and it has been buttery smooth until recently when it is hanging up when I type text etc Jan 12 13:57:49 res\drawable-hdpi\throw.png:0: error: invalid symbol: 'throw' wha tdoes this mena ?? Jan 12 13:57:50 It's freezing up Jan 12 14:01:08 turns out that throw can be used as name Jan 12 14:02:05 Parhs: throw is a java keyword, and thus can't be used in R class Jan 12 14:02:46 remember - (nearly) all names in resources end up in R.class Jan 12 14:02:54 so any java keywords are no-no Jan 12 14:05:50 After restoring the instance state, should I (1) update the model state and then update the UI state or (2) update the model state and the model makes then a call to the UI update? Jan 12 14:06:35 hmm... depends on how the application is structured Jan 12 14:07:02 in general, the UI state update should be a case of calling "update" method or something like that, which would interrogate the model Jan 12 14:07:24 but you could make it so that changes in model are automatically observed to call updates in view Jan 12 14:07:29 afk Jan 12 14:08:12 sounds like basically both is ok Jan 12 14:09:41 hey guys Jan 12 14:09:50 how does a loader find the right contentprovider? Jan 12 14:42:26 how can i get the support.v4.LoaderManager from an Activity? Jan 12 15:17:21 hello Jan 12 15:17:28 anyone used actionbarsherlock? Jan 12 15:18:10 lol Jan 12 15:18:35 lol = yes a lot of ppl do Jan 12 15:19:19 i have gingerbread device... Jan 12 15:19:29 but i cant make the action overflow visible no matter what i do Jan 12 15:19:40 yes i know that forced is removed but i have the latest sample Jan 12 15:19:43 how can I copy-paste text to the emulator? Jan 12 15:19:44 Devices with a menu button don't have action overflow Jan 12 15:19:50 and latest libary Jan 12 15:19:58 from the host machine to the emulator? Jan 12 15:20:00 and latest samples using the same library do have it in some cses Jan 12 15:20:09 cases* Jan 12 15:20:13 is't possible? Jan 12 15:20:16 but i cant reproduce it Jan 12 15:20:49 Which samples? I'll make sure it's removed then Jan 12 15:21:57 removed as in it once was an option then removed? Jan 12 15:22:13 SimonVT it seems that at action modes there is Jan 12 15:22:28 The option to force it on <4.0 was there once Jan 12 15:22:30 at action items there isnt Jan 12 15:22:30 But it was removed Jan 12 15:22:37 If it still shows up in the action bar, that's a bug Jan 12 15:23:05 SimonVT in action mode it is different thing? Jan 12 15:23:44 Couldn't u just add view to the bar, then setup a context menu? Jan 12 15:23:50 It might be, I'm not sure off the top of my head Jan 12 15:24:04 because i see it at action modes.. but not at action items Jan 12 15:24:05 Run it on a 4.0 device with a menu button, that's how it should behave on <4.0 Jan 12 15:24:21 so it probably applies at action items only Jan 12 15:24:39 i know i definitely have menu button showing on <4.0 devices, not sure what version of abs I'm running tho Jan 12 15:25:14 SimonVT ur slide menu that shows from action menu button is pure gold :) Jan 12 15:25:26 Haha Jan 12 15:25:43 Yeah, I think it was Jake who suggested that once Jan 12 15:26:06 i <3 it bc it stays with design paradises and has the slide menu everyone loves these days Jan 12 15:26:37 Pushing a bottom menu soon Jan 12 15:26:39 Menu's everywhere! Jan 12 15:26:49 xD Jan 12 15:26:50 nice Jan 12 15:26:59 * Jug6ernaut wonders if he is following ur repo Jan 12 15:27:01 * Jug6ernaut checks Jan 12 15:27:18 You better Jan 12 15:27:24 I have just read in stackoverflow's but it's not convenient Jan 12 15:27:46 lol Jan 12 15:27:55 i am lol Jan 12 15:28:16 That slidingmenu guy has more than 1k following it :( Jan 12 15:28:27 well I've "stared" it Jan 12 15:28:28 I have just read how to copy paste from desktop to emulator in stackoverflow's but it's not convenient Jan 12 15:28:43 pr not appropriate Jan 12 15:29:07 SimonVT need to get some more publicity on it then lol Jan 12 15:29:34 Just gotta get Jake to post about it a few more times, then I'll be there :p Jan 12 15:32:14 anybody worked here with ormlite? i am not sure how to handle multiple joins Jan 12 15:35:02 SimonVT haha to true Jan 12 15:54:10 Sk Jan 12 15:54:43 SimonVT i want to put custom view at actionbar at top. Is there a way to extend the default layout ? So to have up etc buttons? Jan 12 15:58:38 No idea Jan 12 16:45:51 guys i am using one lib and for more debugging it says I should run adb shell setprop log.tag.StatementExecutor VERBOSE how do I do that if I use eclipse and adt pluign? Jan 12 16:55:02 When launching via eclipse, I think the standard are Verbose log levels Jan 12 16:55:25 You could try by adding a Log.v(String tag, String message); statement anywhere and see if it shows up in logcat Jan 12 16:59:15 ? Jan 12 17:01:34 does loaders requery on resume? Jan 12 17:01:41 or just use the old cursor? Jan 12 17:05:16 d3xter, i think the cursor will reset when it's data changes, so it doesn't necessarily happen whenever onResume is called Jan 12 17:05:38 if you use the content observer flag anyways Jan 12 17:06:12 jeppy: for example, if the cursor has data from the sqlite db in it, does it know, when there are changed data in the database? Jan 12 17:06:50 yes, if you initialize the loader with the content observer flag Jan 12 17:06:58 I can't remember the exact name Jan 12 17:08:01 jeppy: what would be the best way to have the loader requery() from a service? Jan 12 17:09:58 jeppy: maybe broadcast? Jan 12 17:10:47 d3xter, i'm not sure, it seems implementation dependent to me. A broadcast does sound like a good idea... check the docs Jan 12 17:21:02 d3xter: you could ask the service whether the data has been updated Jan 12 17:21:52 sonOfRa: ok that worked after I change lowest log vie in eclipse but its still not working for lib I am using Jan 12 17:22:23 d3xter: or simply have a timer if you don't care that much about freshness Jan 12 17:25:37 basicly I need to know what is equivalent for adb shell setprop log.tag.ORMLite DEBUG in eclipse Jan 12 17:26:26 Maurits_: okay, thanks Jan 12 17:27:07 Call it from command line.. Jan 12 17:30:00 I am in the UI thread and want to add an ImageView, but it takes some time to download the image, so I create a new Thread which posts a runOnUiThread which downloads and adds the image to my main view. This sounds too complicated, is there an easier way? Jan 12 17:30:50 Waynes: sure, there's a convenience class called AsyncTask which manages most of this for you Jan 12 17:32:24 Maurits_: ok, I'll try that one :) Jan 12 17:34:38 SimonVT: i might do that, i dont have much experience with it. so after i run the commands does it affect also application run from eclipse it should right? Jan 12 17:34:55 <_Fury> HI, in android-samsung-3.0-jb-mr0 what does mr0 mean? Jan 12 17:35:54 yeap ok it did affect it Jan 12 18:01:36 If you have an object that is created from a "form", i.e. several EditTexts, and you want to do validation Jan 12 18:01:56 Should you validate the form, or create an object, and validate the object? Jan 12 18:05:50 whatever works best for you Jan 12 18:06:00 there is no "right" answer Jan 12 18:06:40 keep in mind, the further from the user input the validation is done, the less useful feedback to the user will be Jan 12 18:07:24 for example, being able to flag a specific text field as an invalid value, focusing on a text field left empty, etc Jan 12 18:07:27 That's what I was thinking Jan 12 18:07:55 I will leave it to you, but do know about TextView.setError() Jan 12 18:08:11 don't reinvent that if you can help it ;-) Jan 12 18:08:16 lots of people overlook it Jan 12 18:10:10 That does look great, perfect Jan 12 18:10:18 Now I can convince the rest of my team not to create objects first :D Jan 12 18:14:27 put your collection of TextViews into a Fragment, define and interface method 'boolean validate()' Jan 12 18:14:49 and put the validation in the fragment. nice, contained, reusable Jan 12 18:15:59 if you're a die-hard fan of MVP, you could fill out the interface on the fragment with get/set of each value and define your validation logic elsewhere Jan 12 18:16:03 alright, so i'm using a ContentProvider and Loaders now to fill my ListView, but now i get "Cursor finalized without prior close()" when restarting the loader. any hints? Jan 12 18:16:04 easy to mock and test later Jan 12 18:16:24 d3xter, you need to make sure you close the cursor Jan 12 18:16:45 mrenouf: shouldn't the loader/adapter do that for me? Jan 12 18:17:06 d3xter, no, it just hands you a cursor, it doesn't know when you're done with it Jan 12 18:17:23 mrenouf: so before i restart just close the cursor? Jan 12 18:17:30 yep Jan 12 18:17:56 it always gives you a new one, so you're just overwriting with a new instance right now Jan 12 18:18:39 mrenouf: in swapCursor(), right? Jan 12 18:19:58 actually I was going to put an Enum on validate Jan 12 18:20:09 mrenouf: does it return the old cursor when invoking swapCursor()? Jan 12 18:20:15 that spits out octal value combinations and tells the onClick method what went wrong Jan 12 18:26:07 doesnt seem to fix the problem, when closing the old cursor returned by swapCursor() Jan 12 18:28:53 If you call changeCursor(..) it closes the old cursor for you Jan 12 18:33:01 Hello guys!! After capturing an image with the device camera, I set it to an imageView with setImageBitmap. But then, the view is becoming slow. I tried lowering the image resolution, but nothing changes. What can I do? Jan 12 18:34:42 hello, on the top of my status bar i have a 1 dip line which changes color depending on some events. is it possible that i have this line visible at all time? even if i have a fullscreen view on top of it? i tried creating a view with WindowManager.LayoutParams.FLAG_SYSTEM_ERROR flag and WindowManager.LayoutParams.TYPE_SYSTEM_ERROR type, but it still gets overridden on fullscreen Jan 12 18:34:48 SimonVT: doesnt fix the problem Jan 12 18:45:14 how can i access the context of an activity's parent activity? Jan 12 18:45:37 madprops, once you find out, let me know, i've been trying to do that for ages Jan 12 18:46:25 activity's (AFAIK) don't really have parents Jan 12 18:46:51 and, why would you need the context of one specific activity? Jan 12 18:47:23 Maurits_, it's the all american dream Jan 12 18:47:48 I, for one, would love to access the parent activity to finish() it Jan 12 18:48:04 technically, you DO have "parent" activities, as you have a stack Jan 12 18:48:12 you can, by using startActivityForResult Jan 12 18:48:25 and then from the activity you start you return a specific code Jan 12 18:48:35 which makes the 'parent' activity finish() Jan 12 18:48:52 but i only want to terminate the parent activity under certain conditions Jan 12 18:49:12 sure, you can set a specific result code if the parent should terminate Jan 12 18:49:21 i'm intrigued by this Jan 12 18:49:48 but there's no way to signal to the parent in this manner without also finish()'ing the child Jan 12 18:50:02 no problem, the child is history, my man! Jan 12 18:50:19 how would i use this startactivityforresult Jan 12 18:50:27 in the parent, override onActivityResult Jan 12 18:50:33 then, when starting the child Jan 12 18:50:46 use startActivityForResult() instead of startActivity() Jan 12 18:51:14 How do some apps have awesome visuals? Is there some kind of skin/html5 wizardry going on? One example might be the Google Now interface (cards). Another might be Trello (cards again). Jan 12 18:51:28 Custom views Jan 12 18:51:34 http://androidniceties.tumblr.com/ - for some more unconventional interfaces Jan 12 18:51:36 Maurits_, how do i send the result? Jan 12 18:51:50 loin: with setResult() before calling finish() in the child Jan 12 18:52:37 Intent i=new Intent(); intent.putExtra("shouldFinish", true); setResult(RESULT_OK, i); finish(); Jan 12 18:52:44 something like that Jan 12 18:53:08 What are you trying to achieve Jan 12 18:53:22 he wants the parent activity to close as well Jan 12 18:53:23 got it Maurits_ Jan 12 18:53:25 when closing the child Jan 12 18:53:27 i'll try that Jan 12 18:53:32 *finish as well Jan 12 18:53:36 What is the reason Jan 12 18:53:39 Going to the top of the stack? Jan 12 18:53:44 SimonVT: I'm just trying to understand how this works. Long ago yahoo messenger/winamp used to have 'skins' Jan 12 18:54:29 SimonVT, not going to the top of stack, just that the parent activity of certain child activities are no longer needed, and instead of pressing back twice, you only need to press it once Jan 12 18:54:52 you could possibly use FLAG_CLEAR_TOP Jan 12 18:54:54 That just sounds wrong Jan 12 18:55:09 Pressing back should go back where you came from Jan 12 18:56:58 Maurits_: i want to hide a layout because my activity's transparent and i see the parent activity underneath Jan 12 18:57:13 Anyway, if you have a stack of 4 activities, you could make activity2 singleTop, and from activity4 start activity2 via startActivity(..) with the CLEAR_TOP flag Jan 12 18:57:46 activity3 and 4 would then be cleared from the stack Jan 12 18:58:23 alternatively, you could make the data entry (which I suspect it is) thing one activity with a number of fragments Jan 12 18:58:31 which gives you more control about the stack Jan 12 18:59:18 i tried passing a view to the activity with putextra but it wont send it. says it expects a boolean Jan 12 19:00:09 madprops: that doesn't really make any sense Jan 12 19:00:18 Maurits_: i know right Jan 12 19:00:26 no, I mean trying to pass views Jan 12 19:00:44 i want to hide it as soon as the other activity starts Jan 12 19:00:50 so i dont get blank periods of transition Jan 12 19:00:59 sweet Maurits_, that works like a charm Jan 12 19:01:21 so it makes sense to me Jan 12 19:02:44 well, sure, but you can't get it to work Jan 12 19:03:41 how one would generally solve this I don't immediately know though, have never tried to override the animations Jan 12 19:04:51 also not entirely clear what you want to do exactly Jan 12 19:04:59 ok let me explain Jan 12 19:06:37 i have teh system's wallpaper as the activity background also i have transparency set in the theme. if i start another activity on top it, it will be transparent as well and the parent activity will be visible, at least a bit Jan 12 19:07:01 i want to hide elements of the parent view when the child activity is on so they don't appear Jan 12 19:07:20 i could remove transparency from the child activity but i also want that effect in there Jan 12 19:08:58 why not simply set the background for each activity individually? Jan 12 19:09:14 this seems like an incredibly convoluted way of accomplishing this Jan 12 19:10:37 hmm let me check that Jan 12 19:14:14 Maurits_: it worked :> it's moments like these when i think i'm really fk dumb Jan 12 19:18:54 Is it possible to use support fragments without having to extend android.support.v4.app.FragmentActivity? Jan 12 19:19:57 My activity extends org.mapsforge.android.maps.MapActivity' Jan 12 19:22:23 Can some kind soul help me install action bar sherlock into my existing project. I'm a complete noob, so I'm hitting roadblocks everywhere. I've downloaded the zip for 4.2 from the site Jan 12 19:22:46 Am I support to create a new project and then import the library folder of sherlock into that? Or import the folder into my app? Jan 12 19:24:23 suppose* Jan 12 19:24:29 Does anyone know wether a database created by my application will be deleted when I uninstall the app, or will it just stay there? Jan 12 19:24:38 The database was created through ORMLite Jan 12 19:25:26 Can fragments be added to something that doesn't inherit from FragmentActivity? Jan 12 19:26:10 cincinnatus: not easily Jan 12 19:30:07 Maurits_: So here's what I'm trying to do. I have a map - and I want to create a navigation widget (with previous / next arrows and instructions). To display the map, I need to inherit from MapActivity. MapActivity does not inherit from FragmentActivity Jan 12 19:30:22 use the NEW maps api Jan 12 19:30:29 then you can use SupportMapACtivity or whatever it's called Jan 12 19:30:42 https://developers.google.com/maps/documentation/android/ Jan 12 19:31:04 SupportMapFragment Jan 12 19:31:14 This is not Google Maps Jan 12 19:31:17 It's Mapsforge... Jan 12 19:31:23 oh Jan 12 19:31:25 I need on-device rendering (offline) Jan 12 19:31:28 well there's your problem? :P Jan 12 19:31:31 but yeah, sorry Jan 12 19:31:32 no idea Jan 12 19:31:37 is it open source? Jan 12 19:31:52 yes it is Jan 12 19:31:57 Copy FragmentActivity, make it extend MapActivity Jan 12 19:31:59 Hope it works Jan 12 19:32:04 that's an option Jan 12 19:32:13 or simply talk to the MapView yourself Jan 12 19:32:13 SimonVT stealing my idea Jan 12 19:32:14 thaks a lot Jan 12 19:32:22 Or only support 3.0+ and use native fragments Jan 12 19:32:26 You're welcome Jan 12 19:32:35 these *Activity classes usually only do 20-30 lines of generic stuff Jan 12 19:32:41 that's easy to do manually Jan 12 19:32:48 FragmentActivity does A LOT Jan 12 19:32:59 well, I meant ListActivity, etc Jan 12 19:33:04 not FragmentActivity of course Jan 12 19:33:07 Or well, not quite A LOT Jan 12 19:34:57 I think it would make more sense to copy MapActivity from mapsforge and modify it Jan 12 19:35:23 wtf is Deckard Autoverifier Jan 12 19:35:28 or I could just create a private fork of mapsforge for my project Jan 12 19:36:12 canadiancow: Isn't it just the thing that checks if a commit merges without conflicts? Jan 12 19:36:21 cincinnatus: I don't know what mapactivity from mapsforge actually does Jan 12 19:36:53 cincinnatus: but if it's a minor convenience class it might be easier to just duplicate what it does Jan 12 19:37:21 SimonVT but it +2'd my commit Jan 12 19:37:25 isn't that...risky? Jan 12 19:37:58 Seems like it Jan 12 19:38:14 Doesn't really make sense that it does anything but leave a comment Jan 12 19:38:52 wait i still can't submit it Jan 12 19:38:53 argh Jan 12 19:39:57 Maurits_: Honestly, I think it's easier to incorporate navigation into the map layout at this point Jan 12 19:40:14 Maurits_: But I think this design pattern is problematic in itself. Jan 12 19:40:57 Maurits_: i.e. requiring you to extend FooActivity to put FooWidget on it.... because the moment someone comes up with a BarWidget requiring you to extend BarActivity, you have a problem Jan 12 19:41:52 what other exampls of that can you think of? Jan 12 19:42:05 cincinnatus: this is generally not required Jan 12 19:42:22 cincinnatus: ie, if you want a listview in your class you don't _have_ to extend listactivity Jan 12 19:42:27 *in your layout Jan 12 19:42:34 ive seen it with maps (optional in google maps api v2) and fragments (no way to make that optional) Jan 12 19:42:47 cincinnatus: listactivity is just a convenience subclass that does some of the listview plumbing Jan 12 19:43:00 but if you implement it yourself, that's fine too Jan 12 19:43:09 the same applies to mapactivity, I'm guessing Jan 12 19:43:58 Maurits_: When I was using osmdroid, I could extend FragmentActivity just fine and put OSMDroid's MapView on it. I think it's a design flaw in mapsforge Jan 12 19:44:38 according to mapsforge they also provide a mapview Jan 12 19:44:57 "Easy to use MapView, similar to of the Google APIs Add-On" Jan 12 19:45:06 Maurits_: Yes... but if you add it to something other than a MapActivity, it throws an exception Jan 12 19:46:45 "context is not an instance of MapActivity" Jan 12 19:46:55 heh, design flaw indeed Jan 12 19:50:02 Sounds like an out of date library Jan 12 19:52:16 Does anyone know what you need to do to SlidingMenu so that it will use ActionBar Sherlock? Jan 12 19:53:15 Wow, their MapActivity does literally nothing that couldn't be done in the View itself by just dispatching onPause/onResume Jan 12 19:53:58 i have a simple layout i'm using in an app i'm targeting for sdk 17 and using v4 support lib for support on gingerbread ... On jellybean it looks correct...but on gingerbread i'm seeing all the linear and relative layouts have some kind of padding being seen on all borders... Jan 12 19:54:20 so pastebin the layout Jan 12 19:57:48 http://pastebin.com/4SuySFYZ Jan 12 19:58:21 i dont even Jan 12 19:58:31 delete the relativelayout, framelayout, linearlayout, and linearlayout Jan 12 20:02:19 that would be counter productive..since i make use of them. just not in the paste. the problem is that they behave correctly in jellybean. but in gingerbread they are enforcing some kind of padding that i can't remove Jan 12 20:02:52 no matter if i use match parent , fill parent, the width always ends up being less than the parent and so on for any content inside it Jan 12 20:03:01 but only on gingerbread Jan 12 20:03:39 Applying any styles? Jan 12 20:03:50 you have a margin specified on the button Jan 12 20:03:56 you have padding specified on one of the linearlayouts Jan 12 20:04:14 but i assure you, this is an inefficient layout Jan 12 20:05:23 i attempted to set the padding and margins to 0 because i was seeing padding on gingerbread ... i can see the edge of each layout all the way to the button Jan 12 20:08:35 maarek_: i have a style that uses Theme.Holo as it's parent and specifies the background ...that's pretty much all it does Jan 12 20:09:40 anyone here played around with JMonkeyEngine on Android? :) Jan 12 20:22:34 hi Jan 12 20:22:59 how to i add a speech-to-text button inside an edittext? Jan 12 20:27:59 wow i just had a crash reported for a version of my app that's like a year old :\ Jan 12 20:38:09 Hi, I'm keeping an instance of my SQLiteOpenHelper in my Application object for sharing between activities. I'm currently trying to add backup/import functionality to my app. After importing the database file, do I need to recreate the SQLiteOpenHelper? Jan 12 20:40:51 IIRC it holds some kind of write lock that fails silently. Jan 12 20:41:30 So I should close it before writing to the db file? Jan 12 20:41:46 i saw a post recommending creating a singleton that returns the sqlitehelper, but not sure if that's still best practfices, or ever was. Jan 12 20:42:31 I'd try to figure out the best practice. The way I'm currently doing it works ok as long as you don't want to recreate it Jan 12 20:42:34 i would try to close down all threads using the db and close it, before upgrading Jan 12 20:42:47 I find myself spending a lot of time looking up the exact signature of methods I need to override. is there a way to get eclipse to help me with that? Jan 12 20:43:09 just in general, dealing with db's, i'm still new to android. Jan 12 20:43:24 Chani: right click and go to source -> override/implement methods Jan 12 20:43:32 bwr: thanks :) Jan 12 20:43:52 no problem Jan 12 20:46:14 I wish there was a way to get tab-completion, or something, though Jan 12 20:46:32 calling methods is getting tedious already :) Jan 12 20:47:02 I don't know of anyway to do that Jan 12 20:47:14 you can use the key shift-alt-s though Jan 12 20:47:18 to bring up the source menu Jan 12 20:47:31 strange. even vim has that... Jan 12 20:47:39 oh well. Jan 12 20:47:47 wait... you mean tab-completion in general? Jan 12 20:48:00 it is control space Jan 12 20:48:05 atleast on my system Jan 12 20:51:06 notifications, when tapped, send me to the system lock screen... every time.. very annoying.. anyone else had this happen? Jan 12 20:51:37 not sure what setting I've inadvertantly enabled or if this is an android bug Jan 12 20:52:06 I've installed some 3rd party lock screens but they are not the ones coming up Jan 12 20:52:34 it seems the default lock screen is intercepting the notification tap Jan 12 20:52:47 anyone see this before??? Jan 12 20:53:24 are you setting ContentIntent on the Notification Jan 12 20:55:46 not sure Jan 12 20:55:49 where would I check? Jan 12 20:56:08 it doesn't matter what app's notification Jan 12 20:56:21 When you create the notification with Notficiation.Builder, are you using .setContentIntent Jan 12 20:56:32 it's not even my own apps Jan 12 20:56:35 oh Jan 12 20:56:38 it's ALL APP's notificatinos Jan 12 20:56:46 very frustrating Jan 12 20:56:52 Sorry, I misunderstood Jan 12 20:56:53 so I get an email Jan 12 20:56:59 click on the notification Jan 12 20:57:07 get sent to the lock screen :/ Jan 12 20:57:13 Guys anybody using some ORM tool for android? Jan 12 20:59:34 doh. my emulator has run away Jan 12 21:02:28 I wish macs had a "keep on top" option. Jan 12 21:03:31 keep on top is useful Jan 12 21:03:47 yeah, GNOME has it, thanks God Jan 12 21:04:02 Chani, what Mac if I may ask (just curious)? Jan 12 21:04:17 most x window managers have it i believe (i'm using xfce) Jan 12 21:06:47 so no idea why all notification bar item presses would send me to the lock screen? Jan 12 21:08:11 when did it start happening? Jan 12 21:08:17 did you install any apps around that time? Jan 12 21:12:01 I'm using these instructions to add a widget to my application. http://leonardofischer.com/hosting-android-widgets-my-appwidgethost-tutorial/ I was wondering if there is a way to retrieve the different Views of the Widget I add to my application. What I'm trying to achieve is to grab the View where an image is located and use that information to update an external program. Jan 12 21:14:53 I've never implemented a widget, but why not just use the same data you used to configure the widget to update the external program? Jan 12 21:15:51 It's not my widget, it's the spotify widget. I want to grab the image out of the widget. Jan 12 21:16:33 I don't think you will be able to do that (in a normal way and without root) Jan 12 21:17:00 In theory if you implement the same widget framework as the home screen does you can probably snapshot the contents. Widgets run in a weird security model Jan 12 21:17:13 (As I understand it; I also don't have any reason to write a widget) Jan 12 21:17:57 It's actually been done and application exist. It's a bit of a hack, and I'm trying to accomplish the same thing, and future extent it. Jan 12 21:18:23 *further Jan 12 21:18:37 dragorn > snapshot? Jan 12 21:18:50 how can I do this? Jan 12 21:19:07 No clue Jan 12 21:19:34 I think he means if you implement the homescreen, your home screen would be in charge of displaying the widget, and you'd be able to get the information you want? Jan 12 21:20:07 more or less; the mechanics, I have no idea Jan 12 21:20:37 but if you own the view the widget is rendered into, you can probably render it to a bitmap Jan 12 21:21:17 that sounds like it would work, but i doubt it would work for the users (meaning i don't think he wants the app to require using a custom home screen) Jan 12 21:21:45 ok, I'm going keep messing with it, thanks for the input Jan 12 21:22:19 bwr: it wouldn't have to be a home screen Jan 12 21:22:31 bwr: home screen is just an app which responds to uh... whatever the home intent is Jan 12 21:22:45 dragorn: oh ok, that sounds better Jan 12 21:23:04 bwr: AFAIK any app can host a widget, I just don't know how it applies the security model Jan 12 21:23:24 I know there are warnings that whatever hosts the widget can access the widget contents Jan 12 21:23:43 an accessibility service can access almost anything Jan 12 21:24:05 that's a good point Jan 12 21:37:45 <_Fury> Which kernel from the google git repo do I need to run it on a Galaxy Note N7000? How do i know which defconfig is for which phone? Jan 12 21:39:00 _Fury: usually you have to get the kernel from the vendor of the device. More a question for #android-root though, or maybe XDA if there is a channel for them Jan 12 21:40:59 <_Fury> dragorn thank you. But it should ne possible to get the kernel code from goole, compile it and run it on the phone, shouldn't it? Jan 12 22:10:01 I am putting bitmaps of size 40x40 in a HashMap but most of the time when I try to get them they are gone? Jan 12 22:16:53 ? Jan 12 22:28:50 I'd say most of the time you're doing something wrong Jan 12 22:57:42 weird. I changed my app theme from Light to Holo, but it's still using Light somehow Jan 12 23:11:05 Anyone here know about the text to speech class? I have a quick question: http://developer.android.com/reference/android/speech/tts/TextToSpeech.html Jan 12 23:11:22 hi, I have a ListView inside of an LinearView, but when I populate the list, only first row comes up, I can see the scroll bar for a second but can't scroll, how can I set it to display all rows? i have "wrap_content" on both hight/width Jan 12 23:12:19 Can I use ActionBar on Gingerbread? Jan 12 23:12:50 LinearLayout* (sorry) Jan 12 23:13:10 and is it better to create it in xml or in java source? Jan 12 23:13:54 bet1m try debug if exists more than 1 item Jan 12 23:13:59 RustyShackleford: http://actionbarsherlock.com/ Jan 12 23:14:53 bet1m: try debug if exists more than 1 item Jan 12 23:15:03 lucasddaniel, yes, they do, I've confirmed this on the Adapter Jan 12 23:15:16 the ListView is inside a ScrollView btw Jan 12 23:15:26 don't put a ListView inside a ScrollView /o\ Jan 12 23:15:27 bet1m: see on your adapter method getCount() Jan 12 23:16:53 I now know that ScrollView is handling the events, I don't need the list to be scrollable, I just want to display the whole list Jan 12 23:17:43 don't use a ListView then Jan 12 23:18:14 lucasddaniel, I have 3 rows :) Jan 12 23:18:22 romainguy, what can I use in this case? Jan 12 23:18:30 a vertical LinearLayout Jan 12 23:20:52 bet1m: i think your problem is a layout, then try be simple on a row of adapter, like a textview only for test Jan 12 23:21:13 bet1m: sorry my bad english, i'm Brazilian Jan 12 23:22:37 bet1m: only use wrap_content on height and match_parent no width Jan 12 23:25:49 lucasddaniel, same thing, this is the row layout: http://pastebin.com/U4UJAv5V Jan 12 23:26:52 how open source is Android? Jan 12 23:27:05 could I make a contribution to their project? Jan 12 23:27:37 bet1m: thats right! Jan 12 23:28:26 bet1m: onadapter method getCount() return 3 hardcoded Jan 12 23:28:43 bet1m: only a test Jan 12 23:29:09 lucasddaniel, it's not it, check this: http://stackoverflow.com/questions/4651793/googles-mentality-listview-in-scrollview Jan 12 23:30:23 RustyShackleford, you should Jan 12 23:30:38 RustyShackleford, why dont you write us some decent dev tools Jan 12 23:30:56 i'd like an IDE that works reliably, a debugger that works reliably, and good support for using the NDK form the IDE Jan 12 23:31:10 how long do you think i twill take u ? Jan 12 23:31:35 bet1m: ohh, i'm understand now! I never do it, sorry can't help you Jan 12 23:31:52 actually the debugger does seem to be pretty reliable, even for the ndk, just havent found a nice ui for it Jan 12 23:32:02 lucasddaniel, thanks for your effort man :) Jan 12 23:32:26 bet1m: ;) Jan 12 23:32:50 k0nichiwa, you don't like eclipse? Jan 12 23:33:32 its ok, the most important parts work, u often find little things here and there that dont work Jan 12 23:33:42 I'm just looking for some kinda open source project to work on. I need resume padding Jan 12 23:33:47 Either Admob fill rates collapsed today, or they have a reporting glitch Jan 12 23:33:50 for example i debug my app and sometimes i find it hasn't installed the newly compiled ndk libs Jan 12 23:34:01 it's supposed to look great even if it's a minor contribution Jan 12 23:34:12 eclipse doesn't work great for native code Jan 12 23:34:19 I haven't used ndk yet. What are you using it for? Jan 12 23:34:30 RustyShackleford we are in the same boat haha Jan 12 23:34:40 well i had some opengl code for the iphone that was in c++ so i thought it woudl be best to use the ndk to port it to android Jan 12 23:34:58 that's a frequent use o fthe ndk, opengl games Jan 12 23:35:00 when I first started C++, I was using eclipse and it wasn't great Jan 12 23:35:23 .NET might have been a better choide for android Jan 12 23:35:35 why not use .NET, a good .NET platform instead of java Jan 12 23:35:46 .NET integrates native and managed code very well Jan 12 23:36:07 at least it does on ms windows platforms, nt sure that would carry over to an application like that Jan 12 23:36:55 Hey guys, I'm in need of some OpenGL shader help. Is there any reason why a shader using uniforms should fails, while a shader using const's work? They're both fed exactly the same values, and I'm simply stumped after 5 hours or debugging... Jan 12 23:36:57 thats why Windows 8 tablets seem interesting Jan 12 23:37:01 i guess mainly because there is only one good linux implementation of the eclma standard, that has also several bugs, and not that stable background that java has Jan 12 23:37:09 is Metro still .NET? Jan 12 23:37:11 romainguy, still around? Jan 12 23:38:58 lucasddaniel, in case you need the same thing, here's a solution: http://www.jiramot.info/android-listview-in-scrollview-problem Jan 12 23:39:09 I have verified that both are being fed the exact same values, and GL is reporting no errors... Jan 12 23:40:06 If it helps, this is GLES2.0 on Android 2.3 Jan 12 23:40:58 like they claim ndk-build DEBUG=1 will override android:debuggable="true" in the manifest, but if you dont have that in the manifest NDEBUG will be defined as on Jan 12 23:45:25 canadiancow: depends Jan 12 23:46:17 if you're on irc, i assume that means you'r enot too busy ;) Jan 12 23:46:23 depends Jan 12 23:58:33 Hi! Jan 12 23:59:03 high Jan 12 23:59:38 Is there a way to hide the ActionBar but not the tabs underneath it? Jan 13 00:01:01 I doubt it - the tabs aren't always underneath it Jan 13 00:01:52 I really dislike the whole tabs underneath the action bar, I made my own as a customview Jan 13 00:01:56 the tabs take too much space Jan 13 00:02:35 if you're using view pager to navigate between the tabs, look at viewpager indicator, they're without the action bar Jan 13 00:03:35 I'm using the default "New Activity" eclipse generated Activity Jan 13 00:04:01 having selected Tabs + Swiping as the navigation method. Jan 13 00:08:59 did you try actionBar.hide? Jan 13 00:09:05 *hide() Jan 13 00:14:29 f2prateek: That also hides the tabs... I want just the tabs to be visible (without the icon or title) Jan 13 00:14:38 f2prateek: E.g. I want the "Stacked tabs" Jan 13 00:16:04 Sindriava: I don't know if you can use the actionbar tabs without the action bar. One way to achieve the same thing is to use a viewpager with ViewPagerIndicator Jan 13 00:16:40 f2prateek: I'll take a look, thanks :) Jan 13 00:17:16 mytext = mytext.replace("\r", "") is not working in android, any ideas? Jan 13 00:18:21 Sindriava: actually try setDisplayShowHomeEnabled(false) and .setDisplayShowTitleEnabled(false) Jan 13 00:18:32 i think the action bar demos had that Jan 13 00:19:21 there's also an example for actionbarsherlock so you can see how that is done Jan 13 00:19:58 f2prateek: Oh hey, that magically put the action bar on bottom :D Jan 13 00:20:03 (meaning under the tabs) Jan 13 00:20:16 f2prateek: The icon and title are gone, the menu is still there tho Jan 13 00:20:59 Sindriava: this will work https://github.com/JakeWharton/ActionBarSherlock/blob/master/samples/demos/src/com/actionbarsherlock/sample/demos/TabNavigationCollapsed.java Jan 13 00:21:24 remove the menu stuff Jan 13 00:23:10 f2prateek: How? Jan 13 00:23:15 f2prateek: Oh wait Jan 13 00:23:33 Sindriava: don't inflate the menu Jan 13 00:23:44 f2prateek: got it Jan 13 00:24:06 f2prateek: Hey, it worked :) Thanks a lot. Jan 13 00:25:19 f2prateek: Is there a way to change the width of the tabs? I'd like the middle one to be wider Jan 13 00:25:26 What is a nice action verb to describe that the activity now changes the UI based on a given state? reflectChanges? update..? ... Jan 13 00:26:56 Sindriava: you'll have to look up the api, if its possible there might be examples in apidemos Jan 13 00:27:01 platzhirsch: those both seem good. another might be invalidate() ? Jan 13 00:27:29 how many dalvikvm languages are there Jan 13 00:27:48 bwr: yeah, I am thinking about a state machine, where different transitions are taken Jan 13 00:28:11 f2prateek: Okay, thanks a lot :) Jan 13 00:28:18 Good night everyone! Jan 13 00:30:46 nvm state machine is more for the model itself, but not the interface Jan 13 00:35:32 What causes the periodic performance spikes that are seen when doing computationally expensive array processing on the Nexus 4? -> more information here -> http://stackoverflow.com/questions/14299288/what-causes-the-periodic-performance-spikes-that-are-seen-when-doing-computation Jan 13 00:38:10 Is there a big performance difference between Apache's HTTPClient and URLConnection ? Jan 13 00:38:54 Connecting, then returning the InputStream is taking ~3000ms Jan 13 00:39:50 torger: hard to say, but you should remember that this is a multitasking operating system Jan 13 00:39:55 with lots of things going on Jan 13 00:40:11 torger: you really can't get some kind of guarantee that performance will not vary Jan 13 00:41:38 Maurits_: I see. Is there anyway to perhaps not gurantee no variation - but to reduce variability in performance? I'm looking for consistency really - some kind of stable floor. Jan 13 00:41:50 torger: having said that, if you do this using the ndk and SIMD you should likely see a 10x speedup Jan 13 00:42:16 torger: which I'm assuming would solve your problem Jan 13 00:43:29 Maurits_: I'll go try that out then and post my updates on the question. Jan 13 00:45:21 you might also want to use multiple cores instead of just one Jan 13 01:08:57 i bet nobody knows this one ... where do i set for an asset or class of assets not to be compressed ? by class i mean say ones with a given extension like xml Jan 13 01:09:07 i found a clue http://www.xinotes.org/notes/note/1293/ Jan 13 01:09:19 however that suggests using build.xml and i dont seem to have a build.xml Jan 13 01:09:23 FelicianoX: that kind of speed points to network/connection speed Jan 13 01:11:04 Anybody know where to start looking for decent tutorials on understanding encryption (the basics with a reasonable explanation) and tutorials on implementing AES Encryption? Jan 13 01:11:27 Its been a while since I've done anything on it and want to refresh myself. Jan 13 01:11:45 By this, I mean I dont just want source code, I want the explanation etc to go with it. Jan 13 01:12:44 is there a shortcut way to provide a single (local) function for something liek this case: Jan 13 01:12:47 http://pastebin.com/WTSq2f3d Jan 13 01:13:03 where a function needs a callback object that implements a given interface Jan 13 01:13:39 how ken u switch to using ant to build a project ? Jan 13 01:14:25 Anthaas: there are full encryption libraries build into android iirc Jan 13 01:14:57 Anoia: There are indeed, but I want to study the theory as well as the code. Jan 13 01:15:16 Like, for example, what is hashing, what are salts, how they relate etc Jan 13 01:15:29 Refresh myself completely from scratch Jan 13 01:15:39 then it's best just to look on wikipedia :) Jan 13 01:15:47 they are VERY well documented concepts Jan 13 01:15:59 and far form Java or even AES specific Jan 13 01:16:37 Cool, where to look for more specifics? Jan 13 01:17:03 presumably the See also of wikipedia pages Jan 13 01:17:14 I don;t know any specific sites Jan 13 01:17:20 but there are thousands out there Jan 13 01:17:25 Cool Jan 13 01:17:53 I wanted a decent source from someone who knew what they are talking about, not some beginner who has copied and pasted (and managed to completely mess up) the original... Jan 13 01:19:03 so, are you after sources or descriptions? :) Jan 13 01:19:15 wikipedia has a very good description of everything Jan 13 01:19:31 source wise, I have no idea, but there are good implementations available Jan 13 01:19:32 Sorry, by source I meant source of information, not code :) Jan 13 01:20:14 It would be good to have a java implementation fully explained too though Jan 13 01:20:40 adt should probably be generating ant build scripts Jan 13 01:20:55 that would give us a much more complete control of our build process Jan 13 01:25:27 Is the Java bindings for GLES20 really as unstable as I seem to be experiencing in Android 2.0? Jan 13 01:25:33 2.3* Jan 13 01:26:30 should I save ONE bitmap with onSaveInstanceState() or with onRetainNonConfigurationInstance() ? Jan 13 01:28:28 http://www.speedtest.net/result/2432453717.png Jan 13 01:30:40 Sideways-Sanae, what are you trying to do ? Jan 13 01:31:13 i know that many more exotic things involving egl don't work on many devices, like contexts sharing resources Jan 13 01:31:21 however thats egl, not gl-es 2 Jan 13 01:31:24 k0nichiwa: Do a gaussian blur in a GLES2.0 shader. However, simply accessing my float uniforms causes everything to turn out black. Jan 13 01:31:41 Offending line in my test case: Jan 13 01:31:43 float foo = sigma; // Uncomment this to make shader work as expected Jan 13 01:32:19 GL isn't giving my any error on compiling the shader, or on runtime, and uncommenting the line makes everything else work as expected. Jan 13 01:32:40 I'm simply stumped, and the guys over at ##OpenGL doesn't seem to have much of an answer either. Jan 13 01:33:04 i would think that should be ok Jan 13 01:33:12 have you tested it on other devices ? Jan 13 01:33:19 What do you need help with Jan 13 01:33:22 i mean shader / gl code, tested on desktip for example Jan 13 01:33:30 I've spent my last 600 hours Jan 13 01:33:37 Yes, it works on a desktop. Jan 13 01:33:39 working on a opengl project Jan 13 01:33:57 so i may be able to help Jan 13 01:34:01 did you get a hello-world gl sample to work Jan 13 01:34:06 and then change its gl code to be yours ? Jan 13 01:34:10 Yes, OpenGL works just fine eitherwise. Jan 13 01:34:13 otherwise* Jan 13 01:34:28 This is not based on the Hello-world sample, no. Jan 13 01:34:48 Sideways-Sanae: sounds like you might have a bug in how you bind your uniforms Jan 13 01:35:12 romainguy: But then surely glGetUniformfv not report the correct value I fed it, right? Jan 13 01:35:34 would not* Jan 13 01:36:03 maybe you're using the wrong slot Jan 13 01:36:42 And this: "if(sigma == 3.0)" does not resolve to false in the shader, while "if(sigma != 3.0)" does. Jan 13 01:37:09 The expected value for the "sigma" uniform is 2.0 Jan 13 01:37:14 3,0* Jan 13 01:38:37 Hmm, I'll check is any access to the uniform what-so-ever also causes the fragment shader to go dark. Jan 13 01:41:02 I started a port Jan 13 01:41:10 for a open source 3d game Jan 13 01:41:14 to Android Jan 13 01:44:35 Errr... I just crashed the phone... :/ Jan 13 01:48:04 I give up. I'll just blur it on the CPU, then bind that as a texture. I don't get any neat blur animation, but at this rate, it doesn't seem like I'm going to get it anyway, unless I recompile the shader on every frame... Jan 13 01:48:55 Or check if I have the same problem in native code. Jan 13 01:49:36 On second though, yeah, I'll do that. It'll be a major waste of time if I do, though. Jan 13 01:51:14 hello again. Anyone here used Renderscript before? Jan 13 01:54:00 or Filterscript Jan 13 02:00:46 how do you split up your project source into packages? Jan 13 02:01:08 my project is starting to become cluttered Jan 13 02:01:25 is a package for each activity overkill? Jan 13 02:01:28 just add dirs unde org.rusty.xxx Jan 13 02:01:39 yeah, thats overkill Jan 13 02:01:51 checkout the organization of iosched Jan 13 02:02:08 how many source files in a package before you should break it into smaller packages? Jan 13 02:02:37 When it makes sense Jan 13 02:02:42 It doesn't matter how many classes Jan 13 02:02:46 there is no number. when its not cohesive any more Jan 13 02:02:49 Rather that they're grouped appropriately Jan 13 02:02:59 I keep my activities in my.package.ui Jan 13 02:03:07 Fragments in my.package.ui.fragment Jan 13 02:03:15 Dialogs in my.package.ui.dialog Jan 13 02:03:43 Even if a package has 1 class, put it there if it makes sense Jan 13 02:06:50 http://dl.google.com/android/adt/adt-bundle-mac-x86_64.zip can anyone download this then reupload Jan 13 02:07:02 my internet is slow as shit Jan 13 02:07:02 wut Jan 13 02:07:17 im getting a 4kbs internet Jan 13 02:07:20 download speed Jan 13 02:07:41 Downloads at 5 MB/s here Jan 13 02:08:10 ahh lucky Jan 13 02:08:20 for me it only downloads at 5kilobytes Jan 13 02:08:24 a sec Jan 13 02:08:37 when most websites i get 2-3 megabytes Jan 13 02:08:50 even though my internet is very unstable Jan 13 02:08:55 sometimes getting good Jan 13 02:08:59 sometimes this Jan 13 02:09:00 http://dl.google.com/android/adt/adt-bundle-mac-x86_64.zip Jan 13 02:09:01 no Jan 13 02:09:04 so I'm writing an app that finds arrival times for my local bus and train system. Currently I've got 4 activities. I wonder if it would be more appropriate to make some of them Fragments instead Jan 13 02:09:10 11:58 Jan 13 02:09:11 http://www.speedtest.net/result/2432453717.png Jan 13 02:10:03 RouteActivity (choose a route) --> DirectionActivity (choose direction) --> StopActivity --> (choose a stop) --> ArrivalsActivity Jan 13 02:10:25 the activity stack is kinda long. Jan 13 02:11:04 snowman77: time to upgrade your modem Jan 13 02:11:24 even 9600 baud would be better :) Jan 13 02:11:51 i've got this app i'm working on and i keep getting a NullPointerException when i click the button. It's complaining atout line 20 in this paste and I don't see what the problem is. http://paste.conkeror.org/?230 Jan 13 02:13:16 should it be wClockButton.setText ? Jan 13 02:13:37 i have a TextView that i'm using Jan 13 02:13:48 oh, thats a different class Jan 13 02:13:53 yeah Jan 13 02:14:04 So tv is null.. stop making it null Jan 13 02:14:26 yeah, dont do that. next ! Jan 13 02:14:47 lol Jan 13 02:14:49 no Jan 13 02:14:52 my internet is Jan 13 02:14:57 in a shit zone Jan 13 02:15:02 we only got broadband Jan 13 02:15:09 3 months ago Jan 13 02:15:49 http://www.speedtest.net/result/2432499933.png Jan 13 02:15:50 i had DSL for so long Jan 13 02:15:57 we finally got Xfinity Jan 13 02:16:12 Australia sucks Jan 13 02:16:14 and damn is it fast Jan 13 02:16:35 have you seen koush's internet Jan 13 02:16:50 Koushik Dutta Jan 13 02:18:30 how fast is xfinity? Jan 13 02:19:53 canadiancow, I could run a speed test, but I get 4.2 MB/s downloads Jan 13 02:20:06 oh Jan 13 02:20:11 that's... reasonable Jan 13 02:20:16 i think my plan is 30Mbps Jan 13 02:20:21 only reasonable? Jan 13 02:20:33 thats damn fast compared to ATT DSL Jan 13 02:20:52 comcast's site says "deals starting at 39.99" Jan 13 02:20:59 and then the cheapest package is 69.99 for the first 6 months Jan 13 02:21:10 lol Jan 13 02:21:29 we've got the Home Phone + Cable + Internet package Jan 13 02:21:30 i'll stick with webpass Jan 13 02:21:37 I pay ~34 USD ;d Jan 13 02:21:50 it is pretty expensive, but comcast is the only high speed internet choice around here Jan 13 02:21:55 i pay 90 Jan 13 02:21:58 for 200gb Jan 13 02:22:02 which is rediculous, I live in a large city Jan 13 02:22:14 i pay $50/month for 100Mbps up and down with no restrictions Jan 13 02:22:17 sometimes 3megabytes Jan 13 02:22:18 realistically i get maybe 40/30 Jan 13 02:22:28 our mayor is supposedly trying to make us a Fiberhood Jan 13 02:22:29 200gb oO Jan 13 02:22:31 sometimes i get that speed Jan 13 02:22:41 thats good for my area Jan 13 02:22:51 we used to get 25 gb Jan 13 02:22:56 for that price Jan 13 02:23:25 All fiber companies sell minimum speeds Jan 13 02:23:29 Here Jan 13 02:23:34 I got minimum 50/50 Jan 13 02:23:39 I'm just worried at what the internet will become Jan 13 02:23:47 what if you need to pay for the youtube package Jan 13 02:23:52 and the facebook package Jan 13 02:24:03 If I don't get that, I can call them and get them to up my speed Jan 13 02:24:09 To make sure I always get minimum 50/50 Jan 13 02:24:10 they could make it like cable Jan 13 02:24:15 With no limits Jan 13 02:25:08 Hrm... so I guess the View i get in that onClick isn't the MainActivity View. so... how do i get at that from the inner class there? Jan 13 02:25:48 The view you get in onClick is the view that was clicked Jan 13 02:30:20 I have some Fragments in a FragmentPagerAdapter. When onStop() is called in the Activity, it seems like my Fragments are destroyed Jan 13 02:30:51 is there anyway to get like... the parent view? Jan 13 02:31:16 and so when the activity is restarted, the fragments are both recreated: onActivityCreated() is called on the fragments Jan 13 02:32:28 ah ha it's even getParent() heh Jan 13 02:33:50 i'd rather if the state of my Fragments was saved. Recreating them requires some disk reads Jan 13 02:36:40 I changed my min target version from 9 to 11, and now it says that R cannot be resolved to a variable Jan 13 02:37:48 why is onActivityCreated() called in my fragment if onCreate() wasn't called in the Activity? Jan 13 02:38:16 MercuryTW, try cleaning the project? Jan 13 02:38:48 I did, no such luck Jan 13 02:38:49 i've gotten some wierd errors when changing minSdk Jan 13 02:39:33 i have a fragment with a listview in it, then try to set the empty view using: list.setEmptyView(inflater.inflate(R.layout.layout_empty_shopcommentlist, null)); but nothing is shown. the layout contains just a textview Jan 13 02:46:31 problem resolved Jan 13 02:53:21 there's not a separate channel for renderscript, is there? Jan 13 02:56:29 no Jan 13 02:57:04 ask your question: there is at least 1 person here that knows about it; not sure if he is paying attention though ;) Jan 13 02:59:47 thanks, I'm going to do a bit more reading before I ask anything though. Good to know I have somewhere to ask if I get stuck though. **** ENDING LOGGING AT Sun Jan 13 02:59:58 2013