**** BEGIN LOGGING AT Sat Dec 07 02:59:58 2013 Dec 07 03:02:46 derP: http://developer.android.com/google/play/billing/billing_testing.html Dec 07 03:14:34 explodes: is there any particular reason you chose to go with IAP? Dec 07 03:38:31 Developer Error! Dec 07 03:41:35 explodes Dec 07 03:42:03 seand Dec 07 03:42:05 the big D Dec 07 03:42:22 is there any particular reason you decided to go with IAP? Dec 07 03:42:55 i'm trying to decide how to do my paid app when it's released Dec 07 03:43:53 hello all Dec 07 03:44:10 hope all of your day/evnings are going well ^_^ Dec 07 03:52:01 Im looking to get into android development were should i start? Dec 07 03:52:57 http://developer.android.com/training/index.html Dec 07 03:54:18 i want talking about apps lol Dec 07 03:54:39 i mean getting as far into compiling kernels Dec 07 03:54:50 wasnt**** Dec 07 03:56:00 i have this idea of taking my old and super slow android phone and stripping out the phone and texting and cellular networking capabilities out of the os to run only media Dec 07 03:58:03 im also going to be working on a linux distro started from LFS that will flow with the mobile device and the device be able to controll certain aspects of the os and such Dec 07 03:58:16 but i dont know were to start Dec 07 03:58:32 should i start linux side or android side? Dec 07 03:59:59 i would like to do all this in gingerbread seeing as a lot of the older phones should be able to run gingerbreak Dec 07 04:00:10 at least on the device side Dec 07 04:05:03 seand: ease of use, mostly. Dec 07 04:05:41 mdev: compile java with -O to make it go faster Dec 07 04:05:43 explodes: how will you check when the app doesn't have internet access? Dec 07 04:06:14 explodes alrighty thanks Dec 07 04:06:16 we're storing the purchases on a 3rd party system Dec 07 04:06:23 we can cache that information Dec 07 04:06:34 but we're not going to. Dec 07 04:06:49 we're going to assume everyone has internet because the app relies heavily on the internet Dec 07 04:07:06 what with its social sphere and all Dec 07 04:08:12 mdev: -O doesnt work tho ok Dec 07 04:08:15 <|0xD34D|> Chazor_: you should probably start out by getting AOSP, or whatever variant you use, setup and get it building then move on to the other stuff Dec 07 04:08:43 why doesn't it work? Dec 07 04:09:31 mdev: nobody ever implemented it Dec 07 04:10:08 then why'd you say it makes it go faster, you got mixed up? Dec 07 04:10:22 i'm taunting you Dec 07 04:10:32 remember how you got banned from ##java for asking "is java slow" Dec 07 04:10:42 Chazor: android-root Dec 07 04:10:48 and everyone flipped their shit Dec 07 04:10:49 why? gcc if I recall support optimized switched Dec 07 04:10:57 it does Dec 07 04:11:15 but the JVM is an interpreter Dec 07 04:11:30 explodes not everyone acted like that, the one guy was kind enough to give useful information Dec 07 04:11:35 java isn't compiled into machine code, it's compiled into java byte code Dec 07 04:12:58 explodes yeah I know, but i thought the idea is in theory it could run faster than native code as it can produce bytecode optimized for the paticular system after the first run Dec 07 04:13:03 i will look into AOSP and see were that goes thank you Dec 07 04:14:20 0xD34D , I have the device rooted however removing phone and cellular netorking portions of the builds cause them to frease or have constant fc's Dec 07 04:14:21 anyway for mobile it's not an issue, it runs fast enough, I was just probing some general information, I did the same with ##php and no one flipped out and had a nice conversation Dec 07 04:14:34 freeze** Dec 07 04:19:02 Im back Dec 07 04:19:07 Still looking for machines :( Dec 07 04:19:21 I'd need the board/machine to have a case Dec 07 04:19:23 are the dependancys for the cellular network, gps phone and texting stuff run via kernel? Dec 07 04:19:59 do you guys know of a site/repo with collection of open source android apps? Dec 07 04:20:48 no sorry just getting back into android after a few years been stuck with wp7 :,( Dec 07 04:21:00 just google search open source android Dec 07 04:22:15 Chazor_: i'm so sorry Dec 07 04:22:21 that must have been hard for you Dec 07 04:24:55 Anyone have a good filter for logcat they use? Dec 07 04:25:57 Anybody know about any great, more powerful, alternatives to the Raspberry Pi? Dec 07 04:26:13 Or where I can find a dirt cheap mini desktop? Dec 07 04:26:24 Ebay Dec 07 04:26:30 Looked there... Dec 07 04:26:32 old desktop pcs Dec 07 04:26:40 think intel released one recently, it's not as cheap as raspi Dec 07 04:26:44 but is x86 I believe Dec 07 04:26:53 mdev: in the works... not yet out Dec 07 04:27:14 NUC? Dec 07 04:27:40 If so, they are quite expensive... lol Dec 07 04:28:02 that's how intel does it :) Dec 07 04:28:10 hah true Dec 07 04:28:10 premium prices for everything Dec 07 04:30:14 Intel: You can get an artificially constrained processor at a relatively expensive price Dec 07 04:30:28 or a working processor at a premium Dec 07 04:33:13 Anthaas: majority of non-microcontroller ARM SBCs are more powerful than raspi Dec 07 04:33:53 I think that includes stuff that is nearly older than G1 Dec 07 05:02:11 lol dunno how long i was gone but anthaas still talkin about ebay old pcs and raspberry pies which sound amazing Dec 07 05:04:07 turns out i wasn't gone that long rofl Dec 07 05:04:19 Anyone know the fastest way to find a method declaration in eclipse? Dec 07 05:28:35 you know someone is sneaking bad music into your playlist when you here random george bush sound clips Dec 07 05:28:39 hear Dec 07 05:38:28 surprized the irc client didnt dc me lol -_- and yes this phone sucks the lack of support is teribble Dec 07 05:38:36 not even a pandora app Dec 07 05:38:41 v_v Dec 07 05:42:08 lol Dec 07 06:03:51 lasserix: F3? Dec 07 06:05:05 p_l: do you know what function that is supposed to do? i get an error Dec 07 06:20:50 lasserix: I seem to recall that it would go to definition of a method/class that was under text cursor Dec 07 06:20:53 but I might be wrong Dec 07 06:20:58 I don't use Eclipse after all Dec 07 06:43:07 hm, play store 4.5 is out but i still have 4.4 - anyone know why its not updating ? Dec 07 06:53:51 is Play Store pushed out in stages also ? Dec 07 07:07:18 I don't think it's stages as much as not all at once Dec 07 07:08:37 i disabled so many things i may have borked it :) Dec 07 07:10:05 g00s: at the scale they do it... not only is it in stages, the stages might end up so staggered you can wait months for update :P Dec 07 07:10:47 months O.o ? Dec 07 07:12:26 is there a standard package manager like bundler or cocoapods for android? Dec 07 07:15:40 mattvv: just the play store Dec 07 07:16:26 when they update play services, I think it typically takes less than 2 weeks to reach approximately 100% - possibly nearer a few days Dec 07 07:16:58 Leeds ok thx, so things could be ok for my tablet then. Dec 07 07:23:30 Leeds: maybe per-country Dec 07 08:36:03 Argh, anyone know a reliable way to with code close and open the soft keyboard? Dec 07 08:50:50 ahh i see you have to ironically request focus on the edit text before hiding the softkeyboard Dec 07 08:54:59 Hey, im getting some weird results with textColor.getTextBounds("1",0,1,rect ); - I try to draw that rect arount the text but the height is about half the size for some reason. any idea why? Dec 07 09:47:31 <[A3G1S]> hey guys, I've never used any Http library for android I think now it is the time to start using it, can you suggest any library ? Dec 07 10:31:01 anyone here ? Dec 07 10:59:02 The import android.app cannot be resolved Dec 07 10:59:14 when my eclipse -> perference shows android sdk imported Dec 07 10:59:38 The import android.app cannot be resolved  Dec 07 10:59:42 when my eclipse -> perference shows android sdk imported Dec 07 11:09:43 is anyone here o.o Dec 07 11:09:44 damn Dec 07 11:13:01 is anyone here ? Dec 07 11:13:03 hello ? Dec 07 11:13:34 hi all Dec 07 11:15:24 If noone answers, ask your question again later Dec 07 11:15:34 Don't start spamming "hello?" "anyone here?" ... Dec 07 11:15:41 ok Dec 07 11:15:57 bu it's a good thing to say hi Dec 07 11:16:06 It wasn't directed at you Dec 07 11:16:06 *but Dec 07 11:20:36 do you know if there is an app for build an app without code ? Dec 07 11:21:13 just a gui Dec 07 11:21:47 for build an app without code. Dec 07 11:25:04 because i want a gui on my tablet Dec 07 11:25:12 and build on it. Dec 07 11:39:42 anyone here Dec 07 11:39:44 ???? Dec 07 11:39:49 Im getting this error Dec 07 11:39:49 http://i.imgur.com/hgjkLZV.png Dec 07 11:44:29 Can it be that sql cannot have too many arguments in the WHERE clause? http://ideone.com/Wgqsey Dec 07 11:50:11 how can i start to build an app ? Dec 07 12:14:24 cortexA9: a) learn Java Dec 07 12:17:54 Leeds: it's not easy :P Dec 07 12:19:22 life is pain Dec 07 12:22:20 Enough material out there in books, webpages, videos, courses, etc. etc. Dec 07 12:23:10 Miklas: how did you start? Dec 07 12:23:16 Leeds: you ? Dec 07 12:23:37 read the topic Dec 07 12:24:02 bankai_: you mean http://d.android.com ? Dec 07 12:24:19 er, I started learning to program about 25 years ago Dec 07 12:24:37 oh cool Leeds Dec 07 12:24:39 Same. Mostly using books. Dec 07 12:24:46 Well not 25 years. Dec 07 12:25:09 Then I went to IT related schools. Dec 07 12:25:17 In any case, nowadays there are tons and tons of websites. Dec 07 12:25:34 Do an internet search for "learn java" and use one of the billion results. Dec 07 12:25:55 Miklas: yea, there are many results. Dec 07 12:26:19 So pick one you like and start coding! ;) Dec 07 12:27:58 Miklas: but i need some experience Of Object Oriented Programming Dec 07 12:28:05 before Dec 07 12:28:28 you won't get experience without coding.... Dec 07 12:29:35 cortexA9: http://en.wikibooks.org/wiki/Java_Programming Dec 07 12:29:56 hi folks Dec 07 12:29:58 i need to get datas on cloud via android.. instead of using cloudclient , i can use rest api on android but writing with java class ?? Dec 07 12:30:19 i write on c# but need help to write it in java http://pastebin.com/wEgpWbiu ? Dec 07 12:32:46 so i need to start with C, right ? Dec 07 12:32:57 Miklas Dec 07 12:33:03 before java Dec 07 12:33:04 i mean Dec 07 12:33:26 cortexA9: do you know any programming? Dec 07 12:33:39 and are you actually serious about learning? Dec 07 12:33:54 Leeds: no atm. But i wanna learn. yes. Dec 07 12:34:15 cortexA9: There is no reason to start with C. Every language has it's advantages and disadvantages. Dec 07 12:34:26 ok, well you don't need to learn C first, but you do need to have patience Dec 07 12:34:54 Leeds: ok Dec 07 12:34:55 cortexA9: However, mainly Java is used when developing for Android and as this is your first language, Java is a pretty good starting point. Dec 07 12:35:18 Check out the link to the book, start reading that. How to setup, how to create your first program, everything is explained. Dec 07 12:35:24 Miklas: what was your first language. Dec 07 12:35:40 ok Dec 07 12:35:41 thanks Dec 07 12:35:47 greek Dec 07 12:36:10 i mean programming language. Dec 07 12:36:20 Mine was Javascript, but I would not recommend that as a starting point. Dec 07 12:36:43 #java is probably a better channel to join too Dec 07 12:36:44 i need to get datas on cloud via android.. instead of using cloudclient , i can use rest api on android but writing with java class ?? any suggestions Dec 07 12:36:51 mine was BASIC, but I *definitely* wouldn't recommend that Dec 07 12:37:49 kansai: what do you want to know? you're not asking a question.. Dec 07 12:38:20 bankai_ u from koh phangan ? Dec 07 12:38:41 i don't know what that is Dec 07 12:38:44 bankai_: i write on c# but need help to write it in java http://pastebin.com/wEgpWbiu ? Dec 07 12:39:02 learn java then.... Dec 07 12:39:56 I am struggling to nest TableLayouts... I want to display TableLayouts side by side by placing them in a TableRow but it doesn't seem to work while http://pastebin.com/9Uh1N6pg does work Dec 07 12:40:00 any advice? Dec 07 12:41:29 nested table layouts sounds like a bad design Dec 07 12:43:06 bankai_: i need to get datas on cloud via android.. instead of using cloudclient , i can use rest api on android but writing with java class... any code or source ?? Dec 07 12:43:17 What would be a good alternative? I want grids within grid boxes so nested TableLayouts seemed like the obvious choice Dec 07 12:49:15 Miklas: i found C hard. Dec 07 12:50:07 Leeds: any alternatives ? Dec 07 12:50:32 Java? Dec 07 12:50:50 Leeds: need to see it. Dec 07 12:51:32 and who is stopping you from looking it up? Dec 07 12:51:45 hehe Leeds no one :) Dec 07 12:52:41 so here Leeds http://docs.oracle.com/javase/tutorial/ Dec 07 12:52:50 i think Dec 07 12:53:19 why does http://pastebin.com/ZFb071ef this print nothing to the screen? Dec 07 13:06:28 conor_f make use of some kind of adapter Dec 07 13:06:38 for instance, put your tablelayouts inside a gridview Dec 07 13:06:58 though it depends on what you are actually trying to design Dec 07 13:07:16 i just say this because later you're going to have a lot of pain dealing with a fairly entrenched layout Dec 07 13:10:01 conor_f i believe layoutINNER layout params are supposed to be that of the parent it's being added to (relative layout, not table layout) Dec 07 13:12:07 lasserix: but it displays correctly when I leave out "bigTr" and display each "miniTable" as a new row of "layoutINNER" Dec 07 13:12:41 What sort of pain would I have to deal with because of nested TableLayouts? Dec 07 13:13:07 like what you are dealing with now Dec 07 13:14:04 haha good point Dec 07 13:15:17 It's a pity. The concept matched so nicely :/ I wanted a 3x3 grid in each cell of a larger 3x3 grid Dec 07 13:15:38 so adapters you say? Dec 07 13:17:27 You could get it to work Dec 07 13:17:34 but imagine if it changes or whatever Dec 07 13:18:14 so like you could do a grid view where the cells of the grid are the "parent" and in the getview of your baseadapter you return the the samller 3x3 grid Dec 07 13:18:22 but it really depends on waht your end goal is Dec 07 13:19:00 the end goal is just one set layout of a 3x3 grid containing 3x3 grids Dec 07 13:19:29 I don't know anything about adapters atm so I can't tell if I should switch to them> Dec 07 13:19:32 *? Dec 07 13:26:41 an adapter is a bridge between your data and the ui, so for instance a gallery app might have images it needs to dump into some views, the adapter does that for you Dec 07 13:27:15 in this case you could set it up so the data your adapter is working with contains information about the grids you are making Dec 07 13:29:18 so you want 81 evenly sized tiles? Dec 07 13:29:53 pretty much Dec 07 13:30:15 except every 3rd row/col should be spaced Dec 07 13:30:58 oh yeah Dec 07 13:31:01 so like a grid view Dec 07 13:31:05 would be easy to do this Dec 07 13:31:07 yeah Dec 07 13:31:14 grid view Dec 07 13:31:17 because you have 81 evenly sized tiles Dec 07 13:31:23 okay Dec 07 13:31:35 then you just find the correct type of number to add a margin for spacing Dec 07 13:31:59 are you talking about GridView or Adapters now? Dec 07 13:32:21 gridview is a type of list view except it's not necessarily vertical rows Dec 07 13:32:34 these views are backed by adapters you code Dec 07 13:33:21 though it would probably take you some time to learn how to do it it'll save you epochs of time and if you're planning on doing more android stuff you'll have to learn it anyways Dec 07 13:33:44 ok Dec 07 13:33:50 Suppose I best learn it :/ Dec 07 13:34:19 I feel like an aging web developer still trying to cling on to using haha Dec 07 13:34:21 this will get you started http://www.androidhive.info/2012/02/android-gridview-layout-tutorial/ Dec 07 13:34:42 hehe Dec 07 13:34:47 it's always give and take Dec 07 13:35:00 umm Dec 07 13:35:20 you can think of adapters maybe as style mutators for a given set of data Dec 07 13:35:42 the important method is getView which returns the "cell" based on the position Dec 07 13:36:15 this is called by the listview (gridview in this case) that is set to the adapter Dec 07 13:36:35 ok Dec 07 13:36:53 sorry i am fairly incoherent been coding since ~14 hours ago Dec 07 13:37:21 no hassle :) I understand. I'll let you get back to it so. Thanks for the help! Dec 07 13:42:43 conor_f you could also get the screen dimensions, convert to dp, divide the width by 9, then add 9 tiles (with spacing on 3 and 6) to 9 horizontal linear layout rows (height divided by 9, with 3 and 6 having spacing again) Dec 07 13:43:05 but for instance what are you going to do about aspect ratio? Dec 07 13:44:13 I'm trying to create a nested tic-tac-toe Dec 07 13:44:28 lasserix: sounds like you should sleep within an hour or two. Dec 07 13:44:51 conor_f: sounds like suduko Dec 07 13:44:54 uncmar, yeah that's the plan take the cat out around sunrise and head to bed :) Dec 07 13:45:20 uncmar_: good point. I hadn't looked at it that way... Dec 07 13:47:46 hi. how can i get the options menu selected item index? Dec 07 13:48:33 ok found it Dec 07 13:49:55 Does the "handler Dec 07 13:50:20 I'm very conflicted :/ Dec 07 13:50:20 handler's method "postDelayed" will have delay of itself ? Dec 07 13:50:37 bluesm that is way to metaphysical Dec 07 13:50:53 ;p but no if you set postdelayed to 1ms you'll see it fire ~1ms later Dec 07 13:51:11 lasserix: Well Dec 07 13:51:27 lasserix: http://stackoverflow.com/questions/20433024/why-android-os-handlers-method-postdelay-is-delayed-1-3-ms-every-time Dec 07 13:51:48 If I could use nested TableLayouts, it would be very easy to implement the game functionality for onClick() etc. But I know now that GridView + Adapters is probably the correct way to do it :S Dec 07 13:52:19 bluesm because they should put Dec 07 13:52:26 the postDelayed at the end of that runnable Dec 07 13:52:45 the 1-2 seconds is probably the fact they are convering a bunch of string stuff Dec 07 13:53:17 also that code shouldn't work since you cant (or shouldnt be able to) change the UI from non UI thread Dec 07 13:53:33 you have to call postToUiThread on the textview the runnable or runonuithread Dec 07 13:54:07 conor_f it sounded like a dimensioning problem, like either WRAP content or MATCH parent was throwing it off Dec 07 13:54:29 one thing to keep in mind is that the size of a view will generally return 0 if you call getSize from onCreate Dec 07 13:54:39 because onCreate is not garunteed to have laid out all the views Dec 07 13:54:54 i would just try to make a 3 x 3 grid Dec 07 13:55:06 then make a 1 row of 3 3x3 grids Dec 07 13:55:12 and work from there Dec 07 13:55:30 That's what I have been doing lasserix Dec 07 13:56:04 It displays one image fine, then 3 images in a table row, then a 3x3 grid fine Dec 07 13:56:23 bluesm: but the main thing is what the other person said: thread sleeping is not accurate only percise Dec 07 13:56:36 then it gets weird. It will display 3 columns of 3x3 grids, but it won't display them all in one row Dec 07 13:57:43 hmm start over ? ;p! Dec 07 13:58:00 bluesm did you try running a handler post delayed with nothing but a call to logcat? Dec 07 14:01:05 hi again. how can i get the options menu selected item index? Dec 07 14:03:19 i don't want to use the resource ids , because I have the Menu items as item1 item2 ..item3 , so i want to insert the index right on in the url passed to the webview I have.! Dec 07 14:10:25 lasserix: Log just " System.currentTimeMillis() - MainActivity.this.clickedButtonTime" ? Dec 07 14:12:33 ahh Dec 07 14:12:37 well Dec 07 14:12:38 a Dec 07 14:12:53 you want to use SystemClock.upTimeMillis() because currentTime is not garunteed to be monotonic Dec 07 14:13:13 also both calls to currentTime must be on the same thread Dec 07 14:13:25 clock calls between threads are not reliable Dec 07 14:13:31 afaik Dec 07 14:18:04 lasserix: See. Dec 07 14:19:15 lasserix: See at the code the, conversion to string happend AFTER scheduling next handler... Dec 07 14:19:18 see Dec 07 14:19:37 o/ Dec 07 14:19:44 real men do clock calls between threads Dec 07 14:20:15 sigsegv 11, googled everything and derpin in and out ): any suggestions what to look for? Dec 07 14:20:57 lasserix: The same thing happend when logging to the logcat : http://grab.by/sERc Dec 07 14:21:51 bluesm use SystemClock.upTimeMillis() Dec 07 14:22:15 currentTime is not garunteed to be monotonic which means that you can call it once and get 100 and then call it immediatatly afterward and get 98 Dec 07 14:23:11 also you are comparing two time stamps across different threads Dec 07 14:23:16 which doesn't work Dec 07 14:24:19 any tools to get extensive logcat logs? Dec 07 14:31:55 lasserix: Dec 07 14:33:08 ? Dec 07 14:33:23 lasserix: So this is : http://grab.by/sERy because I calculated first "time" on the UI thread ? line 57 Dec 07 14:33:58 lasserix: But then I compare it with upTime from the "handlers's" upTime ? Dec 07 14:34:23 the handler is just a call back designed for threads Dec 07 14:34:44 so the "handler's uptime" means the time gotten on a thread other than the UI thread Dec 07 14:34:49 to see for yourself you can do Dec 07 14:34:58 Thread.currentThread.getName or whatever Dec 07 14:35:06 but that couldbe the source of the problem Dec 07 14:36:48 are you using actual device to test? Dec 07 14:36:56 seems some people have problem with emular Dec 07 14:37:13 actual device. Dec 07 14:37:17 lasserix: ^ Dec 07 14:39:15 hmm Dec 07 14:39:30 i got to take a break when i come back ill see what i get Dec 07 14:39:52 i once made a metronome and the only way to get real ms and less accuracy was to make a method that polled the systemclock Dec 07 14:39:55 lasserix: Get a kitkat :) Dec 07 14:40:06 and then triggered when the now time exceeded the calculated elapsed time Dec 07 14:40:09 I'm trying to fill in my bank details into Google Play but I'm not sure what to input for Bank Code? I've tried entering my BIC and IBAN? Dec 07 14:40:11 Anybody know any good, more powerful, Raspberry Pi alternatives? Dec 07 14:40:50 For under £100 Dec 07 14:42:40 <[7]> anyone where who has a clue how internal "sd card" emulation of android 4.2.2 works? Dec 07 14:43:15 <[7]> I'm not quite understanding how init.rc, zygote and vold interact with each other for that... Dec 07 14:44:39 Anthaas: I don't want put you off... but this is not hardware channel... It is better even on #android channel since they talk about software and the hardware... This channel is probably only for the development for android :) Dec 07 14:45:04 Yeah I know, I just figured a couple people in here might have an idea. Dec 07 14:45:08 Sorry. Dec 07 15:05:53 lasserix: Those are the same threads ? with the "main" name ? http://grab.by/sESK Dec 07 15:18:46 hey, i've got a Horizontal Scroll view with setLongClickable(true) and a listener, the view does not catch the long click, any idea why? Dec 07 15:26:22 anyone? I dont seem to have listeners conflicting (got no other listeners) Dec 07 15:26:29 how can i diagnose this one? Dec 07 15:34:31 You can check if it actually handles long clicks Dec 07 15:36:35 SimonVT: What do you mean, i have a breakpoint on the listener and it never gets there, what else can i do? Dec 07 15:38:14 Anyone know if execSQL is faster than rawQuery for insertions on average? Dec 07 15:38:25 Long clicks are handled in View's onTouchEvent.. Since HorizontalScrollView handles touch events it has to override that method Dec 07 15:38:41 For you to be able to long click it has to either call through to super or handle long clicks itself Dec 07 15:38:45 You can check if it does that Dec 07 15:43:49 SimonVT: I know it's a noob question, but how am I suppose to check that? Look in HSV's sources and find it's onTouchListener? Dec 07 15:47:38 Yep Dec 07 15:55:19 yo Dec 07 15:55:53 is there any way to use a custom action bar layout via styles XML? I can only seem to find answers on SO doing it programatically Dec 07 15:57:52 hi guys... a quick question regarding modifying an AOSP app (like the contacts provider for example). I understand you can't open the entire AOSP source code in eclipse and build it... so what is the proper way to modify a native app ? Dec 07 16:04:08 never mind, got it "android:customNavigationLayout" along with "android:displayOptions=showCustom" Dec 07 16:12:15 I am trying to figure out how to place 4 widgets like this: http://i.imgur.com/OovI0hE.png is there a way to use a grid layout for this? or else what is the best way? Dec 07 16:13:26 Does contentobserver onChange(selfChange, uri) override the calling of onChange(selfChange) for the apis that support it? Dec 07 16:13:51 when I connect my phone to my computer with USB debugging enabled it shows an RSA key fingerprint. How do I verify that it's actually mine? My computer is running Ubuntu 13.10. Dec 07 16:18:42 serp_ look at linear layout weights Dec 07 16:18:51 http://developer.android.com/guide/topics/ui/layout/linear.html Dec 07 16:19:10 so I would nest two of those Dec 07 16:19:11 ? Dec 07 16:19:16 one vertical in the middle one Dec 07 16:19:46 i'd have a horizontal linear layout, weight sum of 60 with 3 children Dec 07 16:20:21 the first child layout_weight of 40, second as 20 and third as 40, and the second layout i'd make a vertical linear layout with weight sum of 100 inside 2 children each with layout_weight of 50 Dec 07 16:21:42 CallumTaylor: nice, did the trick Dec 07 16:21:43 thanks! Dec 07 16:21:46 np Dec 07 16:26:41 Hi. I am developing an app that contains 50% numbers and 50% letter/words. I have chosen one font face to support all numeric and english contect. But what is a good practice if i want to support multilingual content for a few other languages like greek, japanese, etc? Given that the font I have chosen only supports latin characters and symbols, what should i do to support other languages? Roboto supports Greek characters but not japanese. Is t Dec 07 16:35:28 * lupine is looking to add ssl client cert support to an existing android application (yaaic). eclipse is de rigeur, presumably ? Dec 07 16:52:34 Does anyone know if it's possible to re-route audio signal on Nexus 5 ? I'd like to be able to process the incoming voice audio, before sending it over to the modem Dec 07 16:57:06 OX1D, on most devices that isn't possible Dec 07 16:58:50 Mavrik - not possible because of hardware implementation ? Dec 07 16:58:57 yes Dec 07 16:59:10 as the mic is connected directly to the modem ? Dec 07 16:59:39 basically kernel driver just sets up the call and the voice communication goes pass the SoC Dec 07 17:00:03 not on all devices though, I'm not sure if exact details are available for N5 yer Dec 07 17:00:42 what do you mean by "voice communication goes pass the SoC" ? Dec 07 17:01:27 on some devices call audio is not processed by the main processor which makes access to it impossible Dec 07 17:02:33 so how can you mix sounds into the call like call waiting tones ? Dec 07 17:02:40 sms sounds Dec 07 17:02:41 etc... Dec 07 17:03:42 OX1D, that's not part of mic audio now is it_ Dec 07 17:03:44 ? Dec 07 17:04:09 no... but if consider the opposite direction (modem to speaker) Dec 07 17:04:40 it probably goes through the same flow, no ? Dec 07 17:04:45 not really Dec 07 17:05:49 OX1D, it seems that on N5 it is possible to access mic flow, those people did it: https://play.google.com/store/apps/details?id=polis.app.callrecorder Dec 07 17:07:58 any idea how this is done ? Dec 07 17:22:28 hi Dec 07 17:23:04 anyone has configured eclipse to debug android framework ? Dec 07 17:31:01 ech0s7 - i just asked this question not long ago Dec 07 17:31:20 OX1D: have you configured well ? Dec 07 17:31:45 i was told that intellij can be used in order to attach remote android processes for debugging Dec 07 18:06:21 hi Dec 07 18:26:02 greetings all Dec 07 18:26:29 i am looking to do a similiar slide effect that is seen in iOS applications. For example, I press a listview item and the screen slides to the left to show a new view (activity) Dec 07 18:29:23 <|0xD34D|> xximjasonxx: see http://developer.android.com/reference/android/app/Activity.html#overridePendingTransition(int, int) Dec 07 18:31:06 xximjasonxx: use SlidingPaneLayout - https://developer.android.com/reference/android/support/v4/widget/SlidingPaneLayout.html Dec 07 18:32:31 what do you guys ask of your android developer candidates? Dec 07 18:33:19 funkbox: like in interviews ? Dec 07 18:33:25 yep Dec 07 18:35:14 I am not an employer, but they usually look at your portfolio..ask about content providers, asynctasks etc...(I am talking about beginners here)...what level are you asking about? Dec 07 18:35:36 silver-one: senior Dec 07 18:36:01 someone who could write a fancy AdapterView from scratch with recycling say Dec 07 18:36:25 sorry, no idea...never seen a senior interview before... Dec 07 18:38:24 depends on you....mostly about the stuff you have implemented before....to make sure that u have done it Dec 07 18:40:09 i'm thinking of pair programming through a project, but hard to find something that's doable within an hour or two Dec 07 18:40:35 Can someone help me fix the error I get building my first project on the command line: http://fpaste.org/59839/86441606/ Dec 07 18:44:35 Plouj says right there "/res/crunch" invalid Dec 07 18:44:47 can't just make up your own directories :) Dec 07 18:44:56 under res anyhow Dec 07 18:45:32 Navigation drawer by default in my theme (holo light based on dark actionbar) has an item selected color over the list Dec 07 18:45:57 Any easy way to get rid of the selector for the "selected" item and not the other states a list item can be in Dec 07 18:46:04 like pressed Dec 07 18:46:17 Zooklubba: screenshot ? Dec 07 18:47:00 silver-one: https://dl.dropboxusercontent.com/1/view/nw70hh380yfkkz6/Public/Captured/vA4Wl.png Dec 07 18:47:25 I have clicked that one, it takes me to another activity. When I leave the second activity and get back to the main one (with the drawer) it's selected Dec 07 18:48:03 Anyone touch Google's mobile backend starter? Dec 07 18:50:24 Zookluba: listview.clearChoices() in onActivityResult Dec 07 18:50:51 Zooklubba: listview.clearChoices() in onActivityResult Dec 07 18:54:22 can anyone point to the technical details of how chromecast works? in particular, who gets what data and when. e.g., can you throw pictures from the device onto a tv without any interaction with the "cloud",say your net connection is down or you want privacy with it. Dec 07 18:55:38 so far what i've discovered, which is no surprise is that it is wifi, and it does a bit of multicast on the lan to locate devices. not much beyond that. Dec 07 19:00:00 hi guys, i need some help. i have been trying to do a simple GET request using HTTPS on android for over 4 hours and still can't get it to work Dec 07 19:00:29 does anyone have a tutorial or sample code or anything at all that i could read to get it to work? Dec 07 19:01:07 fyi, im using a self-signed certificate on my server Dec 07 19:02:58 saschaheylik, you're using the apache httpclient ? Dec 07 19:03:28 yes i tried following this http://www.codeproject.com/Articles/186599/SSL-Verification-for-Android-Applications Dec 07 19:03:59 the sample code has some spelling errors, after correcting those i still got errors Dec 07 19:04:25 SSLPeerUnverifiedException: No peer certificate Dec 07 19:06:27 i created the keystore just like described. visiting my https://site.com in firefox on my pc works without problems (just have to confirm security exception because of the self-signed certificate) Dec 07 19:09:24 saschaheylik, yeah. from what i can tell this article is taking a different approach than what i vaguely remember doing myself. namely filing your self signed certificate as trusted. iirc, what i did in the paste was add my own cert checking code to httpclient which just looked at the fingerprint. Dec 07 19:09:59 hmm ok Dec 07 19:10:05 saschaheylik, this was for connecting to a router that had one of those unsigned or self signed (i don't remember) certs. Dec 07 19:10:22 can you point me to an example for doing that? Dec 07 19:10:33 saschaheylik, looking for that now. just not finding it. Dec 07 19:10:40 i see Dec 07 19:11:26 anyway I can temprorrily display half a view? Dec 07 19:12:01 saschaheylik, http://www.nakov.com/blog/2009/07/16/disable-certificate-validation-in-java-ssl-connections/ <- well there it is not using apache httpclient. it could be that is what i'm remembering, or i've done both. =) been a while. Dec 07 19:12:30 timemage: thank you i will try it Dec 07 19:13:04 saschaheylik, i would guess the process is pretty similar with the apache library. this is just your own private use app right? or just trying to get going without first acquiring a valid cert. Dec 07 19:14:19 the app is on the android market "server watchdog". i am working on an update with https support so people can log into user accounts Dec 07 19:14:34 saschaheylik, you'd want to modify the allHostsValid to at least check the fingerprint or something. Dec 07 19:14:40 ok Dec 07 19:16:13 saschaheylik, https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/conn/ssl/TrustSelfSignedStrategy.html Dec 07 19:17:07 saschaheylik, look at that and the TrustStrategy interface. Dec 07 19:17:17 ok thanks Dec 07 19:30:24 How is the technique called where an account list pops up and I can choose in a 3rd party app to authenticate with my gmail account? Dec 07 19:31:04 you mean this? https://developers.google.com/accounts/ Dec 07 19:32:57 saschaheylik: Thanks, it looks like this is what I need. I would like to provide a sync functionallity with minmal user interaction (e.g. skip registration and so on) Dec 07 19:34:05 But I tought there should be an android api for that Dec 07 19:53:04 you can really do some neat stuff when you get the hang of weight in Android layouts Dec 07 19:56:01 xximjasonxx: like make your app super slow :) Dec 07 20:02:44 greetings guys Dec 07 20:02:52 how can I get a border around a view? Dec 07 20:03:16 mmm i think i see it Dec 07 20:04:13 nope Dec 07 20:34:44 guys when I create some new ListActivity and I close it all the variables inside are lost and it has to generate the list everytime I open it again ... and this takes too much time for me ... can I somehow store it on the main activity? Dec 07 20:41:26 could someone point me somwhere where I can read up on how to use an account set up on a device to post to the network? Dec 07 20:42:26 I have to create a quite simple Android/iOS app: login, sending and receiving messages and comments, maybe even a chat. I was told that Phonegap creates very bad performance apps and in fact, on my very old samsung i5500, the result is very poor. The question is: with the current state of mobile technology, do you still consider Phonegap too slow? Dec 07 20:42:56 I mean: I see everywhere Snapdragon smartphones and so I think that today the average user has a smartphone good enough to get a good PG experience. Do you agree? Dec 07 20:45:37 Hey, i've created a custom view, i want to run a function after the view size is set, onMeasure seem to be called 3 times and only in the last time the real size is set, is there a callback that's called when the view size is set or even when it's already visible? Dec 07 20:48:50 Hi. Dec 07 20:55:28 Guys how do I create a Listview that can scroll left/right and have submenues Dec 07 20:55:41 like when I click on a folder it shows the listview for all subsequent folders Dec 07 21:05:02 Yatekii: make an activity that shows a listview. On click, replace the activity by another which shows the submenu. Dec 07 21:05:21 (or use fragments if you aren't using activities like this, whatever) Dec 07 21:05:44 alankila: I'd like to keep the old activity so I do not have to cache it twice :) Dec 07 21:05:49 hmm fragments Dec 07 21:16:44 how do I know when I should use activities and when fragments? :S Dec 07 21:17:44 hey folks Dec 07 21:18:45 howdy ho mrhanky Dec 07 21:22:48 i have a listview in my activity which fills the parent. now i have an xml for the list items. in this xml theres a linear layout (horizontal), inside i have a textview and a button. i want the button to be right and the textfield should auto-size Dec 07 21:22:54 but i have no idea how Dec 07 21:31:34 mrhanky, does the question have anything to do with being a listview or is it just a matter of getting the linear layout in the item layout to do what you want? Dec 07 21:32:08 getting the linear layout to do what i want timemage Dec 07 21:32:56 mrhanky, i'm not really the best person to answer this but, it would seem specifying wrap_content for both height and width on the the button and no weight. and setting wrap_content for height, 0dp for width, and any weight, say 1 for the textview. Dec 07 21:34:08 mrhanky, wrap_content for both height and width of the linear layout itself. Dec 07 21:34:47 i have fill_parent for width of the lin. layout Dec 07 21:34:55 but i'll try Dec 07 21:35:14 mrhanky, well, see what happens with the other bits first. Dec 07 21:36:33 that did the trick Dec 07 21:37:21 mrhanky, according to the linearlayout documentation, at least the way i read it, those with weights are allowed to expand to fill whatever space not taken by those without weights specifying their width (for horizontal). Dec 07 21:37:51 mrhanky, since you have one weighted item the exact weight is somewhat arbitrary. Dec 07 21:37:55 hey, how can i transfer files from my computer to my nexus. All i get is a lost+found when i see it? Dec 07 21:38:10 i didnt knew the weight property till now, but now the stuff makes sense to me Dec 07 21:38:23 Evening all, Does anyone have any idea's how I can stop the Mediaplayer after it has played/downloaded 15 seconds/1mb of a stream? It's for a preview feature. I want to preserve the users bandwidth Dec 07 21:38:41 * mrhanky pours timemage a beer Dec 07 21:39:17 mrhanky, heh, well, make sure it keeps to your expectations before you get me drunk. like i said, i'm not really the best person to answer. but at least there's one answer. Dec 07 21:39:54 it also works for the linear layout if its width is fill_parent Dec 07 21:42:11 ok, next question, related to fragments Dec 07 21:42:12 mrhanky, i don't know why i said for both. i meant for height only. on the suspicion that listview would need to calculate the row height by looking at the layout itself. Dec 07 21:45:27 i have a settings activity and a fragment class for this activity. the fragment class adds preferences from a xml-file, and the activity adds this fragment via "getFragmentManager().beginTransaction().replace(android.R.id.content, new MyFragment()).commit()". this works just fine as it should. in my xml i have a structure like this: [Preferences] Dec 07 21:46:32 Spelled like that? Dec 07 21:46:35 Or not? Dec 07 21:46:47 i shortened the last two tags :) Dec 07 21:47:20 Oh, okay, was worried for a second Dec 07 21:48:10 now i want to split my fragment and the xml (two fragments and xmls). i change the replace() from the activity to add(), but the second fragment is not shown below the first one Dec 07 21:52:54 my java class: http://pastebin.com/HCXWwxTD and my xml files: http://pastebin.com/JBpvWzQy Dec 07 21:55:48 hey, how come i can't transfer files onto my nexus? Dec 07 21:57:08 randomA: We're gunna need more than that Dec 07 21:57:24 uh, i mounted it with mtpfs and i tried copying stuff over and it didn't work Dec 07 21:57:31 like the command went through but nothing was copied Dec 07 22:17:47 ok, got the fragments problem solved Dec 07 22:24:41 anyone hiring junior android devs? Dec 07 22:32:41 Hello Dec 07 22:32:49 I have a listview + animation related question Dec 07 22:32:50 o/ Dec 07 22:33:10 I apply setTranslationX on child of a ListView Dec 07 22:33:40 but after applying it once it seems my future taps on listview gets messed up and I'm unable to move that child again Dec 07 22:34:06 it acts as if listview is not properly receiving the touch anymore Dec 07 22:36:50 any tips are appreciated Dec 07 22:37:27 it actually appears that the list view does not accept clicks anymore Dec 07 22:46:01 tabman: Maybe do it after the layout loads? Adjust both layouts? Dec 07 22:52:14 AndreYonadam: its done with following strategy: https://code.google.com/p/dashclock/source/browse/main/src/com/google/android/apps/dashclock/ui/SwipeDismissListViewTouchListener.java?r=a7968ff883ad627869130ec6ec7c31554ca9954b Dec 07 22:52:36 I specify my own ontouchlistener to listview Dec 07 22:53:14 i'm really just trying to modify the above example but I don't want the cell dismissed in the end but just stay there & be able to drag it again with my finger Dec 07 23:00:52 hi, can i ask a question? Dec 07 23:01:03 i'am working to an app for android, this app should enter a PIN CODE when a specific number call me and i answer the call! Dec 07 23:01:03 i think to use the:"call_state_offhook" library Dec 07 23:01:03 but i can't simulate the entering of the pin in a "virtual keyboard", Dec 07 23:01:03 i was not clear? Dec 07 23:01:03 sorry for my english, i'm italian :/ Dec 07 23:23:40 sudobeep: does your application control the "pin screen" that you're trying to input the pin into? Dec 07 23:23:48 if not, there's not really any way to do that Dec 07 23:24:00 other than maybe a custom IME Dec 07 23:25:02 sudobeep: oh, do you mean send the PIN on the phone call itself, like for a voicemail password or something? Dec 07 23:25:29 I'm not sure if that's possible or not. sorry :) Dec 07 23:25:35 yo, anyone can help me ? Dec 07 23:29:23 jesusfreke i mean a pin digits virtually Dec 07 23:38:12 anyone hiring junior android devs? Dec 07 23:39:20 CocoStorm: which country ? Dec 07 23:40:25 tabman, uk :) Dec 07 23:40:58 tabman, are you in the US? Dec 07 23:41:05 CocoStorm: Yeah i'm in US Dec 07 23:41:08 CocoStorm, you asked this question an hour ago :p Dec 07 23:41:22 desmin88, ah someone saw it Dec 07 23:41:50 "No advertising, jobs or otherwise" covers looking for jobs Dec 07 23:42:06 oh Dec 07 23:42:56 CocoStorm: there are a lot of mobile dev. jobs out there, have you applied anywhere? e.g. Booking.com in netherland is looking for mobile devs Dec 07 23:43:40 tabman, I have been offered a job at a small startup but the pay is ridiculously low Dec 07 23:44:20 CocoStorm: keep looking ? & work with whatever you have right now ? Dec 07 23:44:38 I suppose Dec 07 23:44:53 CocoStorm: how many years experience you have in mobile dev. ? Dec 07 23:45:31 actual work experience? none Dec 07 23:45:44 CocoStorm: how many mobile apps you worked on ? Dec 07 23:46:03 complete apps, 2 Dec 07 23:46:05 :D Dec 07 23:46:19 but they're like, the shiz Dec 07 23:46:29 CocoStorm: there are mobile dev. shops in all european countries, search & apply Dec 07 23:46:43 CocoStorm: work freelance, build some good portfolio Dec 07 23:47:01 yeah Dec 07 23:47:09 one of my apps got featured on techcrunch and gizmodo Dec 07 23:47:10 :D Dec 07 23:47:58 there you go so use that when finding work Dec 07 23:48:11 check scandinavia (finland, sweden, norway, denmark) Dec 08 00:06:42 any utility method that i'll let me log the rect of a view? Dec 08 00:06:56 rect meaning (x,y,height,width) Dec 08 00:30:33 OnLayoutChangeListener will notify you with bounds of the view Dec 08 01:02:35 Hello, I have a RadioGroup which resides within a Fragement layout, how do I handle when one of the items are selected? Dec 08 01:03:13 in your fragment Dec 08 01:03:50 well when I defined the method there, it would crash and the LogCat output showed that there was no method to handle it Dec 08 01:04:37 when you set your main layout of your fragment you just set your other child views based off the findViewById of your fragment view Dec 08 01:04:38 and then when I put it in the Activity containing the Fragment it said the error was I didn't have a ClickListener for that certain item Dec 08 01:05:09 but i don't want to use Listeners because it would be cumbersome to define one for each item. Dec 08 01:08:44 then set an onClick handler for your views&implement onClickListener for fragment and switch the view that is clicked? i know it works for activities tho, not sure for fragments. Otherwise what's the problem with defining a listener based on view clicked. in the end you still have to write code for each item, it's just how you want to interpet and take action Dec 08 01:12:00 so there is no way I can just find out which one was selected using case statements like normal? Dec 08 01:13:00 i'm not saying that, i'm saying i've never use onClick with fragments. But it's all leads down the same road. You still have a clickable item and you define action Dec 08 01:14:31 i've moved away from a generic mass click and find the view clicked by switch, to creating local onClickListeners, and setting those listeners when i define my view from xml Dec 08 01:16:10 generic mass click :) Dec 08 01:17:30 :) dunno if i said it right haha. Basically, I try to keep each view seperate instead of hurding them all into one huge onClick handler with switches. Code can become quite large, and keeping each item defined in it's own listener keeps me sane Dec 08 01:23:21 hello Dec 08 01:23:56 can someone tell me why the setTag in this method isn't working? Dec 08 01:23:58 http://pastebin.com/tBqWUSyN Dec 08 01:25:13 where are you checking the tag? you defined that imageView within that method, you trying outside of it? Dec 08 01:25:37 maybe broaden the scope Dec 08 01:25:38 i'm checking it inside my main activity Dec 08 01:25:47 but the scope is wrong? Dec 08 01:26:17 i have the same setup as far as i can tell in a modified tutorial program i was experimenting with Dec 08 01:27:14 it's the setTag that crashes, not the getTag Dec 08 01:27:38 like a holder for a simple baseadapter, it is defined outside getView as to be kept in a wider use? Dec 08 01:28:00 ah, you said not working, not crashing, what's the stacktrace Dec 08 01:29:19 it is crashing. illegalstateexception right now, but i usually see nullpointerexception with different small tweaks Dec 08 01:30:05 you should pastebin your stacktrace. how is view defined? Dec 08 01:30:07 i was wondering for a bit if ImageView doesn't support setTag, but i think it does Dec 08 01:30:32 ok, give me a moment Dec 08 01:30:45 yeah it does, i use it Dec 08 01:31:19 canv2321: Well the thing is that I have 7 categories that the user can pick from, as well as 3 levels of difficulty, I think that would get complicated with onClickListeners Dec 08 01:34:35 hiyo: you need to figure out how much each category is similar to one another&whatever the difficulty adds to it, as some code can be reusable, but so you don't have one onClick handler that extends passed 3-4 pgUps/pgDowns just to see what that ONE switch statement brings to the table. i'm just saying simplify&find your outcome so you can keep code to a minimal without much redundance Dec 08 01:35:37 remember i'm blind, i can only hear you :) but K.I.S.S :P Dec 08 01:36:26 yeah well it doesn't really affect navigation, it just effects what gets added to the message at the end. Dec 08 01:36:42 here is my logcat http://pastebin.com/pvrjRn5r Dec 08 01:36:59 hiyo: next step if google isn't helping you is, do as chars6 just did, and paste something to work from Dec 08 01:37:39 chars6: it has NullPointerException Dec 08 01:37:45 line 99 Dec 08 01:38:03 i know. u usually see that, not the illegalstate as above Dec 08 01:38:04 CustomExpandableListAdapter.getGroupView(CustomExpandableListAdapter.java:99) Dec 08 01:38:08 line 99 is the setTag Dec 08 01:38:18 i don't see illegal state exception is what i'm saying Dec 08 01:38:30 then your findViewById is null Dec 08 01:38:37 hmm Dec 08 01:38:41 is your imageView named img in your layout Dec 08 01:38:48 yes Dec 08 01:38:55 or view is null Dec 08 01:40:01 there is an if statement above it that inflates a view if the view is null Dec 08 01:40:55 i have some TextViews as children of the same view and they are working fine Dec 08 01:41:06 when i use setText Dec 08 01:41:08 well that must be failing, comment out setTag and do img.setImageResource(R.drawable.testresouce); does that change it? or do an if(img==null)Log.i("oh","shit"); Dec 08 01:41:23 then something is failing, show your xmlo Dec 08 01:41:33 ok Dec 08 01:42:01 it maybe img.setImageResource(getResources()....) :), just try to change the image :) Dec 08 01:42:16 or check img for null Dec 08 01:42:37 hey Dec 08 01:43:12 Does anyone know if the Nook HD has a flash counter? Dec 08 01:43:51 google does Dec 08 01:44:24 the img is null Dec 08 01:44:48 then smack it around til it's anul, check your id Dec 08 01:44:53 i did a setText of one of the textviews if img == null and it changed the text Dec 08 01:45:04 show your xml Dec 08 01:45:33 pzp: #android-root Dec 08 01:45:34 i'll show you minez Dec 08 01:46:15 http://pastebin.com/UF1LSbYt Dec 08 01:46:37 what is android.id? Dec 08 01:46:41 maybe android:id? Dec 08 01:46:53 ohh... Dec 08 01:46:56 :P Dec 08 01:47:26 suprised that didn't create any issues in xml, but me no b expert Dec 08 01:48:44 i dont think that's it. i have a commeted out ImageButton without that typo and that wasn't working either. i'm getting a different error now. give me a second to clear that up Dec 08 01:49:03 SimonVT: everyone is bouncing me around... Dec 08 01:50:02 Well, this channel is for app dev Dec 08 01:50:31 ah Dec 08 01:50:48 do you know how I can find out SimonVT? Dec 08 01:51:05 he does, #android-root Dec 08 01:51:50 got it. awesome. thank you Dec 08 01:52:15 :) that'll be $1,000,000 USD, or your first born Dec 08 01:52:43 100,000 BTC then Dec 08 01:52:44 or $500,000 & naming rights of first & second Dec 08 01:53:45 dude.. i had 200 BTC from the first 2 weeks it existed... accidently deleted them 1 1/2 years ago Dec 08 01:53:47 canvs2321: I asked how not where lol Dec 08 01:54:03 no the how is the where obi one Dec 08 01:54:08 back when they were worthless. people were giving them away Dec 08 01:54:30 kids? Dec 08 01:54:40 there was a site, the bitcoin faucet, they just sent bitcoins to whoever clicked the button on their site Dec 08 01:54:53 :) Dec 08 02:20:55 canvs2321: never mind, I could get it working the whole time, it was I forgot to move both methods handling the radio buttons into the activity, I only moved the one I wasn't trying :) Dec 08 02:21:26 django :) Dec 08 02:23:12 chars6: I got a bitcoin for free, from the owner of cryptospora.net Dec 08 02:24:01 hiyo, nice Dec 08 02:24:52 hiyo: are they still giving them away? Dec 08 02:25:31 my 200BTC was work over $200,000 the day before thanksgiving Dec 08 02:25:51 i could have bought a freaking house as the end result of 2 weeks of putzing around on the internet Dec 08 02:26:15 chrs6: No it was just a one time thing like 2 years ago, I have an account on there and the guy posted that first person to respond with a valid address got one for free. Since it being Diaspora I was the first to get it :) Dec 08 02:26:29 cool Dec 08 02:26:35 chars6 ^ Dec 08 02:26:40 oh there Dec 08 02:27:00 but there is still dailybitocins http://dailybitcoins.org/ Dec 08 02:27:37 If you do that 100000 times, you'll end up with one bitcoin! Dec 08 02:28:08 do they discourage bots? Dec 08 02:29:16 a bot can hit submit 100,000 times a lot quicker than by hand Dec 08 02:30:33 they have rate limiting and also prevent you from being able to determine how big hte payout is using a crude CAPTCHA Dec 08 02:31:09 also your IP and the wallet would have to be different everytime Dec 08 02:31:54 but theoretically if you control a botnet, make them all have their own wallet, and then just accept any payout you could then cobine them all into one later Dec 08 02:33:30 chars6: but you need someone to solve the CAPTCHA of course, which depending on the price might be worth it Dec 08 02:34:31 i haven't looked since thanksgiving, but i expect the price to go down again Dec 08 02:35:01 i try not to follow it so much. it just a reminder that i lost them Dec 08 02:36:40 chances are it's a bubble that will burst eventually Dec 08 02:37:53 hiyo: you know about the first bubble? it was over tulips in europe. at its height, you could buy a house with the profit from a day's climb into the mountain, bringing back a single tulip bulb Dec 08 02:38:45 ah interesting, where they about to go extinct or something? Dec 08 02:39:07 no... people were just crazy about them for some reason. Dec 08 02:39:15 it was a short lived thing Dec 08 02:39:43 https://en.wikipedia.org/wiki/Tulip_mania Dec 08 02:40:12 hi all.. Dec 08 02:40:20 it really bust though. really expensive to pennies in like a few days. Dec 08 02:40:35 What is the "correct" way to have a listview that has complex list items ? Dec 08 02:41:29 by complex i mean maybe each list item is a linearlayout containing an image, some bold text and some more text in lighter shade underneath the bold text ? Dec 08 02:41:53 and all the data for each list item is being retrieved from a server Dec 08 02:45:20 dodobrain: I think that the thing with the 2 lines of text one being gray at the bottom is achieved through a TwoLineListItem Dec 08 02:45:30 as for the picture I have no idea how to do that Dec 08 02:46:20 yeah basically i want to *not* use existing android.R.layout.*list_item* Dec 08 02:51:24 dodobrain: What are you trying to do? Dec 08 02:52:04 I think they're trying to make a clone of reddit is fun from what it sounds like to me heh Dec 08 02:52:26 have a list view that shows complex lstitems.. here is an example http://stackoverflow.com/questions/13064241/complex-listview-item-layout-with-all-elements-the-same-size-for-each-item but that ugy is asking only for the layout of the items.. i know how to do this already Dec 08 02:53:23 Right Dec 08 02:53:29 i want to know what is a "correct" way of populating this with data from a server (say json or even just newline separated text Dec 08 02:53:47 So create an XML layout file which matches how you want each list item to look Dec 08 02:53:54 ok, done already Dec 08 02:53:58 whats next Dec 08 02:53:59 Create an adapter which extends BaseAdapter Dec 08 02:54:17 for example: public class MyAdapter extends BaseAdapter Dec 08 02:55:06 ...done? Dec 08 02:55:30 not yet.. i was doing this as i was asking the question on irc :) Dec 08 02:55:44 ahhh ok - I was going to go through it with you Dec 08 02:56:01 what do i need to override in this? Dec 08 02:56:54 There should be 4 functions: getCount(), getItem(int position), getItemId(int position), and getView(int position, View convertView, ViewGroup root) Dec 08 02:57:36 You also want to create a constructor for it, which will have at least a Context object, and the collection of the items which your list will represent Dec 08 02:57:59 e.g. public MyAdapter(Context context, ArrayList objects) Dec 08 02:58:25 and getCount() should return a random integer Dec 08 02:58:30 ^ lol Dec 08 02:58:44 what is this cursor thingy? http://developer.android.com/guide/topics/ui/layout/listview.html Dec 08 02:58:46 getCount() should return the size of your collection Dec 08 02:59:09 is the only place i see in the official doco that mentions some way of loading from an external resource and showing it in a listview Dec 08 02:59:15 Used when you are grabbing data from a local database Dec 08 02:59:20 lol seand Dec 08 02:59:30 getItem() should return an array of the items fetched from the server Dec 08 02:59:49 getView should return a Bitmap of a nice landscape photograph. Dec 08 02:59:51 hiyo, err.. getItem() should return a single item Dec 08 02:59:54 i think **** ENDING LOGGING AT Sun Dec 08 02:59:58 2013