**** BEGIN LOGGING AT Tue Nov 05 02:59:58 2013 Nov 05 02:59:59 like C# Nov 05 03:00:04 then the learning curve isn't that big Nov 05 03:00:23 yeah i find java boring and people said it isnt good Nov 05 03:00:26 it's just learning the android specific stuff Nov 05 03:00:36 the only good thing about java for me is its plat. indy. Nov 05 03:00:40 yeah Nov 05 03:01:09 u know a good book for making apps? Nov 05 03:01:24 for android? Nov 05 03:01:28 sorry I don't Nov 05 03:01:35 that swiftkey app's developers has gotta be rich right now haha Nov 05 03:01:42 its fine ;) Nov 05 03:01:51 maybe cooldman224 knows though Nov 05 03:01:58 or maybe robbyoconnor Nov 05 03:02:02 no Nov 05 03:02:03 ;) Nov 05 03:02:08 ill look up android doc Nov 05 03:02:34 do i need to be good at java? i mean i havent worked with files yet Nov 05 03:02:40 no Nov 05 03:02:43 like I said Nov 05 03:02:48 if you are familiar with another language Nov 05 03:02:53 then the learning curve isn't too large Nov 05 03:03:03 yeah Nov 05 03:03:07 what other languages have you used? Nov 05 03:03:09 and its OOP Nov 05 03:03:27 python Nov 05 03:03:39 only python? Nov 05 03:04:41 perl Nov 05 03:05:05 do u allow android sdk to send usage statistics? Nov 05 03:05:10 i haven't really worked with those two before Nov 05 03:05:22 theyre fun and easy ;) Nov 05 03:05:23 there's probably a few syntactical things you'll need to pick up Nov 05 03:05:52 but if you are familiar with programming then I don't think the step up to java will be daunting Nov 05 03:06:01 haha yea Nov 05 03:06:12 i dont find it interesting thouhg, knda Nov 05 03:09:48 I'm having an issue with my build.gradle, the 'android' section is underlined with the error message "Cannot resolve symbol android" Nov 05 03:10:01 this is in Android Studio 0.3.1 Nov 05 03:24:36 is it possible to detect if an app wakes the screen (as opposed to the user)? Nov 05 03:30:38 hi Nov 05 03:30:50 how do i dynamically assign a backgroudn to a table cell? Nov 05 03:35:51 Wow... Coinbase price matches with Mt.Gox now Nov 05 03:35:58 Greetings, I have a couple of questions. Should I unregister my BOOT_COMPLETED broadcast receiver that I have defined in my manifest file after I have reset my alarm manager? If I do unregister that broadcast receiver, will it be removed permanently until activated again? Nov 05 03:37:25 hi alex_PP Nov 05 03:37:37 do you know how to assign a background to a table cell at run time? Nov 05 03:38:36 setBackgroundDrawable? Nov 05 03:44:02 haha it aint that hard, its actually fun to learn making apps lol Nov 05 03:44:56 alex_PP: cheers Nov 05 03:45:05 I'm adding it dynamically like, with row.addView(detailName); Nov 05 03:45:29 how can I put setBackgroundDrawable on that? Nov 05 03:47:04 detailsName.setDackgroundDrawable Nov 05 04:04:42 y wont my emulator load? Nov 05 04:05:49 pogiako: is your computer AMD cpu ? Nov 05 04:05:55 yes Nov 05 04:06:05 i've ran it earlier but now i cant run it Nov 05 04:06:27 its just too slow Nov 05 04:06:32 on AMD Nov 05 04:22:04 Hi, does anyone know how to set animation to views on a widget? Nov 05 04:28:45 Out of curiosity, anyone dealt with creating parcelables in Scala? Nov 05 04:32:09 Oh, looks like the Scala compiler has a weird exception to the rules when dealing with a CREATOR field. Nov 05 04:32:28 Well, works for me. Nov 05 04:36:46 why emulator is slow for amd? Nov 05 04:36:55 amd is freaking good on graphics, y? Nov 05 04:36:57 waaaaaaah Nov 05 04:37:08 so i have to run this on an android device? Nov 05 04:37:24 shmooz: so i have to run it on android device? Nov 05 04:38:20 pogiako: unless you want to deal with that slowness or get intel Nov 05 04:38:42 lol Nov 05 04:39:17 or try some third party emu, like genymotion, I didn't bother cause I got 2 devices Nov 05 04:45:26 what does the CREATOR do? Nov 05 04:45:33 with regard to parcelable Nov 05 04:51:16 creates instances Nov 05 04:51:16 it's a thoroughly weird API Nov 05 05:07:37 hi Nov 05 05:08:44 I have a list view with cells containing image and text, when I scroll down and up, all images seems to be constantly reloading Nov 05 05:09:01 is it normal or is there a way to prevent this effect ? Nov 05 05:14:24 so...let's say my app includes an IME Nov 05 05:14:42 does that mean that as soon as they enable the IME, the service will always be running? Nov 05 05:14:52 Sometimes I'm disturbed by the things Scala lets me do. Nov 05 05:14:56 it's an IME that will rarely be used Nov 05 05:15:28 Also, scala iterators are my new god. Nov 05 05:18:35 hmmm..or should i package this IME as a "plugin" to my app? Nov 05 05:18:46 nobody knows for my problem ? Nov 05 05:19:04 on ios, I don't have this problem of images being reloaded all the time Nov 05 05:19:20 I don't understand why I have it on Android Nov 05 05:21:53 hmm...i guess if i do it carefully, I could make the service small enough to be okay... Nov 05 05:22:16 i'm testing on a g1 and garminfone...so i'll notice *any* heaviness ;) Nov 05 05:25:22 Ok, CREATOR works fine in Scala thanks to the compiler exception/hack/what have you Nov 05 05:25:32 Guess I wasted a bunch of time wondering about whether I'd have to reimplement a bunch of annoying stuff in Java. Nov 05 05:31:41 can someone look up my code? Nov 05 05:38:49 hey guys Nov 05 05:38:52 another question Nov 05 05:38:57 I just cleaned my project in eclipse Nov 05 05:39:01 and now it won't rebuild Nov 05 05:39:24 i take it this is a common problem, i used to have issues like this in visual studio. normally closing and reopening would fix it Nov 05 05:39:32 but I don't know what the trick for eclipse is Nov 05 05:39:33 any ideas? Nov 05 05:43:43 does anyone know what this means Nov 05 05:43:44 Multiple annotations found at this line: - error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute? - error: Unexpected end tag string Nov 05 05:45:02 ir7466: that sounds like an awesome error message Nov 05 05:45:46 yeah, the problem is it makes no sense Nov 05 05:46:07 ir7466: Sorry, I wrote it for an internal tool. Looks like they stole it for the SDK. Nov 05 05:46:08 The string resource is: Test %s - Test %d. Nov 05 05:46:21 ir7466: It should be %1$s and %2$d Nov 05 05:46:21 gots prblem with my code, can someone look up to it? Nov 05 05:46:44 ah ok. kroot, i've used %s and %d in a lot of other string resources. why would it only fail here? Nov 05 05:46:49 ir7466: Some languages will reverse the order of %d and %s which will make your program crash Nov 05 05:47:11 ir7466: Probably because they're different types.. you should fix the other ones as well Nov 05 05:47:27 good point, this is the only time i've used %d as well as %s Nov 05 05:47:41 ir7466: The other ones might work, but it will make no sense if the strings should be swapped Nov 05 05:47:41 so it starts at 1, not 0? Nov 05 05:47:51 Yes, it's 1-based. Nov 05 05:48:00 so for all my other ones, I should replace %s with %1$s ? Nov 05 05:48:14 only if there are more than one %s Nov 05 05:48:30 so if I only use one, it's okay to keep it as %s ? Nov 05 05:48:42 yes Nov 05 05:48:47 cheers Nov 05 05:48:49 thanks for your help Nov 05 05:48:54 no problem Nov 05 05:49:16 kroot: hello can yah help me? Nov 05 05:49:29 pogiako: Maybe Nov 05 05:49:52 u've done the android docs in the android site right? Nov 05 05:50:22 the ones in the tutorial side? Nov 05 05:50:24 I've only written a miniscule fraction of them. Nov 05 05:51:02 have u done the first app? entering a text, then it prints it in another page? Nov 05 05:51:45 Oh, I see what you mean.... no, I've never done the tutorials. Nov 05 05:52:11 pogiako: you should point out where you are stuck instead of seeing if someone qualifies to help Nov 05 05:52:41 pogiako, I had to do that myself a few weeks ago. i might be able to help Nov 05 05:52:45 haha ok so heres the prob Nov 05 05:53:00 would you like to see my code? Nov 05 05:53:11 sure Nov 05 05:53:15 put it on pastebin Nov 05 05:53:28 its just 2 files, one main and the other where main will go Nov 05 05:53:31 yeah sure ;_) Nov 05 05:53:33 ;) * Nov 05 05:54:45 this is the page where 'MAIN' will go to Nov 05 05:54:45 http://bpaste.net/show/fEzOHOqAVpJ8Mwjzfqg6/ Nov 05 05:55:05 and here's the main http://bpaste.net/show/ZxhgLA7t4OHSrbdKS8Xr/ Nov 05 05:55:44 what is the issue you are experiencing? Nov 05 05:55:55 here's the string xml for reference just in case Nov 05 05:55:55 Nov 05 05:55:55 My First App Nov 05 05:55:55 Settings Nov 05 05:55:55 Enter a message. Nov 05 05:55:56 Send Nov 05 05:55:56 My message Nov 05 05:55:57 Hello world! Nov 05 05:55:57 Nov 05 05:56:00 oh crap sorry Nov 05 05:56:09 http://bpaste.net/show/GHHVueWBnwTDN5oGU4ao/ Nov 05 05:56:28 i have probs with the page main goes to Nov 05 05:56:51 run the code, u'll see the error Nov 05 05:57:03 its a little too many to tell haha Nov 05 05:57:05 can you please paste the error Nov 05 05:57:13 oh it's a build error? Nov 05 05:57:23 yea Nov 05 05:57:37 i know i've done it right Nov 05 05:57:49 are you using eclipse? Nov 05 05:58:18 am here http://developer.android.com/training/basics/firstapp/starting-activity.html#ReceiveIntent Nov 05 05:58:31 before the part "Receive the Intent" Nov 05 05:58:40 it should atleast run Nov 05 05:58:45 are you using eclipse to develop? Nov 05 05:59:02 yea Nov 05 05:59:07 i've got the one from android Nov 05 05:59:38 how many red crosses do you see in the area where you are typing your code? Nov 05 06:00:18 4 Nov 05 06:00:20 in main Nov 05 06:00:32 can you please paste them here Nov 05 06:00:34 if there are only 4 Nov 05 06:02:06 ? Nov 05 06:02:36 if there are 4 red crosses Nov 05 06:02:42 that means there are 4 syntax errors Nov 05 06:02:49 if you hover over them you can see what they are Nov 05 06:03:07 yea wait ill go figure Nov 05 06:03:09 or you can open the "Problems" tab on the bottom Nov 05 06:04:42 it says 'R' cant be resolved to a var. Nov 05 06:04:51 it was already there by default lol Nov 05 06:05:16 Go to Project -> Clean Nov 05 06:05:23 or Build -> Clean.. can't remember Nov 05 06:05:24 there might be a better answer to this, but a few times I've found cleaning the project helps Nov 05 06:06:03 lol no good haha Nov 05 06:06:17 the android docs' a fraud -_- Nov 05 06:06:37 are there still 4 errors? Nov 05 06:06:43 yea Nov 05 06:07:57 what are the other 3 Nov 05 06:09:35 can i like send you the project? Nov 05 06:09:53 then just run it on ur ide, its easier that way Nov 05 06:12:07 I don't think anyone wants to be your debugger. Nov 05 06:16:59 haha ok thats fine Nov 05 06:28:47 i guess it's better to buy a a book then Nov 05 06:29:07 its better in the sense that it's consistent Nov 05 06:29:58 pogiako, i don't think the documentation is wrong Nov 05 06:30:07 it could be as simple as a typo somewhere Nov 05 06:30:12 :( Nov 05 06:30:23 look inside strings.xml Nov 05 06:30:28 are there any red crosses in ther Nov 05 06:30:52 nah Nov 05 06:30:56 theres none Nov 05 06:31:05 i'll still buy a book though Nov 05 06:31:45 cant always stay on the pc, plus it'll be a lifetime reference anyways ;) Nov 05 06:31:49 you said you get 4 errors Nov 05 06:31:52 what are the other 3? Nov 05 06:31:54 yeah Nov 05 06:32:11 the 3 are refering to 'R' which is 'res' right? Nov 05 06:32:28 the other one is refering to Intent Nov 05 06:32:52 ok Nov 05 06:32:57 what is the Intent one Nov 05 06:42:34 I've got a question, hopefully someone knows the answer....... I added a scroll viewer, but in the emulator when I scroll the scrollbar doesn't appear Nov 05 06:42:44 is there a way to force the scroll bar to come up? Nov 05 06:47:49 i think theres some function u should be using for that Nov 05 06:47:58 then set it to true by default Nov 05 06:48:18 I figured it out, there was a fadeScrollbars attribute in the xml Nov 05 06:49:25 is this a good read? Nov 05 06:49:33 haha Nov 05 06:49:42 nice Nov 05 06:49:52 is this a good read? http://www.amazon.com/Android-Programming-Ranch-Guide-Guides/dp/0321804333/ref=sr_1_1?ie=UTF8&qid=1383634152&sr=8-1&keywords=android+programming Nov 05 06:55:04 Hey Guys, Nov 05 06:55:15 How do I set hint to password edit text Nov 05 06:55:16 ? Nov 05 06:55:43 hint - as in have default text that isn't ****'d out? Nov 05 06:57:00 brickhead? Nov 05 06:57:44 ir7466: yes Nov 05 06:57:56 android:hint="@string/yourhintresource" Nov 05 06:58:17 well I have set it but it shows as "****" Nov 05 06:58:24 hey guys Nov 05 06:58:24 http://developer.android.com/reference/android/appwidget/AppWidgetProviderInfo.html#updatePeriodMillis Nov 05 06:58:28 then in the java code, do this: password.setTypeface(Typeface.DEFAULT); Nov 05 06:58:30 I'm using hint to say what that edit text field is for Nov 05 06:58:34 this runs to android.appwidget.action.APPWIDGET_UPDATE Nov 05 06:58:35 right? Nov 05 06:58:47 EditText password = (EditText) findViewById(R.id.yourpasswordview); Nov 05 06:59:32 ir7466: hmm... would try that out thanks, and believe I could revert the type to password on the onFocusListener Nov 05 07:04:40 guys? Nov 05 07:17:01 does anyone use Google App Engine with ANDROID? Nov 05 07:17:19 How to implement this kind of Layout effectively ('http://imgbin.org/images/15579.png)? I can only make it by multiple nested LinearLayout, Any alternative? Nov 05 07:17:39 http://imgbin.org/images/15579.png Nov 05 07:17:47 I am trying to do my first GAE to connect wiht android.. and its crashing as I try to register new application Nov 05 07:23:30 thoughts on this guys? http://www.amazon.com/Teach-Yourself-Android-Application-Development/dp/0321673352 Nov 05 07:24:06 am comparing it to this http://www.amazon.com/gp/product/0321804333/ref=ox_sc_act_image_1?ie=UTF8&psc=1&smid=ATVPDKIKX0DER Nov 05 07:44:32 anyone developing android 4.3 BLE applications here? Nov 05 07:50:17 hey all Nov 05 07:51:28 anyone here have experience with programming bluetooth apps? Nov 05 07:51:56 i'm developing BLE apps now Nov 05 07:52:27 maven__: 1 horizontal LinearLayout and 1 TableLayout Nov 05 07:53:19 ax300d, do you mind if i PM you for a couple of questions? Nov 05 07:53:27 saki`, bluetooth is same as network - just use separate thread/asynctask to run it and you'll be ok Nov 05 07:53:45 OK Nov 05 07:54:13 i actually have a very odd application for it Nov 05 07:57:46 crt: How about the borders? Nov 05 07:59:25 maven__, borders as in black lines that you draw? Nov 05 08:00:09 crt: Exactly. :) Nov 05 08:00:14 I think its android:divider Nov 05 08:00:29 So many dividers? Nov 05 08:01:10 divider on tableLayout is vertical if I remember right Nov 05 08:01:21 but you can put this ID also to tablerows and cols Nov 05 08:01:56 (dont hold me by word I dont have editor opened to check/try) Nov 05 08:02:41 I will have a try Nov 05 08:43:58 Can we do android development on Samsung tab 3 311 Nov 05 08:44:36 Or should we do it on pc only Nov 05 08:58:19 I just got an error saying: "java.lang.IllegalStateException: Activity started without an EXTRA_ACCOUNT" Nov 05 08:58:30 any thoughts why this happened and how to fix it? Nov 05 09:02:20 Without code it's hard to say, but it looks like you are starting an Activity and forgot to put some data in the Intent used Nov 05 09:03:39 What is the Acitivty supposed to do? Did you write the code for the Activity you are trying to start yourself? Nov 05 09:05:56 pduin: I'm trying to use the G+ native sharing Intent Nov 05 09:07:21 I don't have any experience with that Nov 05 09:07:50 But check out the documentation, it should say which extras you should provide in your Intent to successfully start the Activity Nov 05 09:08:07 I did exactly what's stated in the documentation Nov 05 09:30:02 is it possible to create a non gradle project with android studio? Nov 05 09:32:11 no, just to import Nov 05 09:55:34 <^cheeky> i am planning on changing the action bar icon to a user profile pic on each swipe and i getting the icon from the net, and in in my Viewpager xml layout which is inside a Framelayout i also added the userIcon custom View. and i have set the height and width but for some reason when its trying to decode the downloaded image, it says that the height and with are Zero! :/ some help would really really be appreciated .. Nov 05 10:02:51 <^cheeky> i even created, a serparete icon in a ids.xml file and create the custom view programatically but i still get the same issue Nov 05 10:20:28 Does the emulator write any logs other than logcat? Getting a black screen and no boot + adb is offline Nov 05 11:29:33 Hello ! Nov 05 11:30:28 I am working on my 1st android app, and i cant find how to configure an activity to be the main activity. I Mean the activity that will be launched fisrt when i start my application Nov 05 11:30:46 halp plz :) Nov 05 11:34:18 macTAR, its the one specified in the androidmanifest.xml file Nov 05 11:34:55 with this intent filter android.intent.action.MAIN Nov 05 11:37:27 ok i found it Nov 05 11:37:46 i added the intent filter manually on my activity Nov 05 11:37:57 and added an action to this filter Nov 05 11:38:17 thx lemonxah :) Nov 05 11:39:23 and what about intent.category.launcher Nov 05 11:39:28 is it needed ? Nov 05 11:39:53 yes Nov 05 12:03:37 I downloaded an mp4 file to getCacheDir().getAbsolutePath() + "/myvideo.mp4", when finished downloading I want to play it with a videoview.. i set the videoviews path with setVideoPath to the exact same path but the device says it cannot play the video... anyone an idea whats wrong? Nov 05 12:03:50 note that this works in genymotion emulator Nov 05 12:04:22 i followed the Kernel readme step by step googled a lot on how to compile a kernel and flash it i just dont get why its not working some one please help me i give up ... (SGN3) Nov 05 12:04:48 i even used the default Configurations Nov 05 12:14:30 Not sure how well this will go, but im looking for someone to mentor me abit while i get into Android development. Im a php dev, so i do have some experience programming. Anyone up for it? :) Nov 05 12:18:36 mistenkt: if u found someone let me know i am a php dev my self =P Nov 05 12:19:10 You also new at android ? Nov 05 12:19:22 mistenkt: yep Nov 05 12:19:37 Maybe we could figure it out together :) Nov 05 12:19:59 mistenkt:i know how to build simple applications for the android etc... Nov 05 12:22:27 mistenkt: currently i am trying to compile the kernel from source but i am not succeeding ( i did compile it but its not working IDK why..) Nov 05 12:22:45 mistenkt: kernel for the note 3 Nov 05 12:23:46 aah, thats more then what im looking for atm. i just wanna make simple apps that connect to a rest api Nov 05 12:23:46 mistenkt: what do u want to achieve ? Nov 05 12:24:49 and integrate with facebook. which i sorta had working by following an example from the facebook dev sites. Nov 05 12:24:58 mistenkt: then that should be simple. did u setup you development env Nov 05 12:25:06 your* Nov 05 12:25:57 yea its setup as good as it can, while HAXM isnt working on osx mavericks. but at home i have it setup proper Nov 05 12:30:19 yeah, HAXM is broken on 10.9 for now Nov 05 12:30:54 yea i noticed after a couple of total crashes :p Nov 05 13:01:06 I copied the apidemos project.. pushed an mp4-file onto my device and set the path of that file as path to play in the mediaplayer demo... the video is not played however... whats wrong there? Nov 05 13:01:47 hello Nov 05 13:02:09 how can i store some but to be accesible from all activities ? Nov 05 13:02:28 but reset after app kiled Nov 05 13:07:09 put it in the application singleton Nov 05 13:41:11 :D Nov 05 13:41:17 is it possible to style the decor view of a window Nov 05 13:42:03 Hi,I have a sliding menu on my left side of my app. I would like to retain the menu throughout all activities. Should I use fragments then for every page> Nov 05 13:42:58 guys I have ArrayList is better to save it to file or to android settings Nov 05 13:44:52 ArrayList and ItemList looks like this https://gist.github.com/anonymous/7319202 Nov 05 13:51:23 oookkk.. Nov 05 14:05:25 Hello! I want to use mapfragment in fragment (as nested fragment). It is good practice or there are any pitfalls? Nov 05 14:07:06 Or it is better integrate MapView? Nov 05 14:19:00 damn, why does ActionBarOverlayLayout take so long ot layout Nov 05 14:20:50 what is the best way to store an array (which can be modified while runtime)? I want to avoid using shared preferences to sture an array since i dont think this is beautiful. I dont want to use a SQLite Database either because it sometimes bug around (not openable, etc) Nov 05 14:22:03 you could always just do a POJO and serialise straight to disk Nov 05 14:22:05 i fond this http://stackoverflow.com/questions/10813841/storing-a-string-array-in-the-sharedpreferences to store it in sharedprefences and initializing an index/length but this can be buggy (for example the size shrinks) Nov 05 14:22:39 so the best solution is to serialize an array/arraylist? Nov 05 14:23:05 if the array is likely to change size, then always use an array list Nov 05 14:24:58 yea, this solution sounds good but i dont think its the best (for example it may happen that the entrys change often). How about that? Converting Map/ArrayList to JsonObject and store it as String to a Preference? Retrieve it, convert it back to a Map? Nov 05 14:25:42 are you likely to store hundreds of thousands of items or large objects in the list? Nov 05 14:25:55 if not then the performance will be negligible Nov 05 14:26:07 in which case, serialising to json would be slow in itself Nov 05 14:26:16 No, storing only a few (maybe 20). But it can be accessed multiple times a minute Nov 05 14:26:47 is your app closing ? Nov 05 14:26:47 well best thing i'd do is store it in cache, and when the app is opened, read from cache and store in the application singleton or a static member Nov 05 14:26:53 then every now and then re-save to cache Nov 05 14:27:09 The "Service" can be closed, yes. The data must be available when the service come back Nov 05 14:27:22 Even after reboot Nov 05 14:27:30 or save to cache asynchronously after writing to the list Nov 05 14:38:09 hello. would anyone have any idea why "pm install -f" can possibly freeze? the last thing it prints out is "pkg: ..." Nov 05 14:38:27 then seems to be infinitely stalled in a loop apparently waiting for PackageInstallObserver to finish Nov 05 14:46:03 Can android devices play sound if it's just in the jquery code? Nov 05 14:49:06 Are there any Android devices with resolution of 320x240 ? Nov 05 14:49:12 (CSS pixels) Nov 05 14:49:22 640x480 Nov 05 14:49:54 I think that my old htc desire is Nov 05 14:50:08 with 640*480 Nov 05 14:51:12 what android version? Nov 05 14:51:47 oh 2.2 :O Nov 05 14:52:27 css pixel corresponds to inches not pixels Nov 05 14:53:10 my device has 320x480... Nov 05 14:53:22 I think the closest you would find to 320x240 is 240x320 ;) Nov 05 14:56:14 Zharf: yeah, switching from portrait to landscape Nov 05 14:56:34 with a device with 320x240 portrait the embedded webview looks good Nov 05 14:56:43 but when it is 240x320 not so good Nov 05 15:08:07 hey there Nov 05 15:09:04 did anyone have issues with autoupdates after installing an app, so that all apps are set to autoupdate automatically? Nov 05 15:10:08 got that problem here :/ Nov 05 15:10:42 It seems after installing my app, autoupdate for all other apps is set to be allowed Nov 05 15:12:23 Sounds like an #android question Nov 05 15:13:07 I can ask there too Nov 05 15:13:48 but I thought here too, so i can maybe see which libraries/features are to avoid Nov 05 15:14:58 Questions about one of googles apps doesn't really have anything to do with app dev Nov 05 15:34:16 I'm really surprised how it seems you have to include extra libs and whatnot just to do a multipart HTTP Post request in android Nov 05 15:36:49 helo Nov 05 15:37:14 if a fragment is at backstack them returning onCreateView isnt called. Nov 05 15:37:22 is onResume only ? Nov 05 15:49:38 hi all i am looking at p2p but the only p2p i see is with wifi, i don't think that is what i want to use, i am tring to connect to another device not on the lan Nov 05 15:49:39 so can someone assist? what p2p service should i use Nov 05 15:51:42 your options are wifi and bluetooth Nov 05 15:52:02 bluetooth is low bandwidth. wifi direct is the new p2p device protocol; not all devices support it but it's your only other option for local connectivity Nov 05 15:52:19 not much uses wifi direct yet - that i've seen anyhow Nov 05 15:52:57 dragorn: say i have a game or an im program, do i need a game engine to communitate in either or just a server client Nov 05 15:54:01 the network layer is only transport - you need whatever you need in your app logic to discover the other device and communicate something Nov 05 15:54:34 over bluetooth it's going to be serial data written via a service with rfcomm basically doing bufferio. For wifi direct it's going to be a network service. Nov 05 15:59:16 whoever: http://developer.android.com/training/connect-devices-wirelessly/wifi-direct.html is what you're goign to want to be reading Nov 05 16:00:21 where should i set event handlars? Nov 05 16:00:37 onCreateView? Nov 05 16:00:39 or elsewhere Nov 05 16:02:22 assuming you mean in a fragment - yes, that's a reasonable place as far as I know. That's where I generally set them. Nov 05 16:02:34 Prior your views dont' exist so you can't set handlers Nov 05 16:03:44 Please help me out with this gradle error : http://pastebin.com/4380kC2r Nov 05 16:05:56 dragorn the problem is that i have to call a method that would fetch data Nov 05 16:06:16 and at createview getView doesnt work from other methods Nov 05 16:07:41 hello! Nov 05 16:08:01 I see here LayerDrawable, is there a LayerDrawable that lets you specify the X/Y and Scale of each layer? Nov 05 16:08:20 Or perhaps those are properties of Drawable... Nov 05 16:08:55 Baluse: sounds like you're going to have to rearchitect stuff then. What I usually do is start the data gathering asynchronously when the fragment is instantiated (generally by binding and talking to a service), if the data is available at oncreateview it's set there, otherwise when the data gathering completes it looks to see if the view is there and populates it then Nov 05 16:12:41 dragorn yep but data is in cache that is why it happens Nov 05 16:13:15 onCreateView sets event handler for a EditText a TextWatcher. Nov 05 16:13:22 then onStart starts to fetch data Nov 05 16:13:37 however TextWatcher event fires before that Nov 05 16:13:41 Baluse: you'll have to figure out how to handle it asynchronously. All the UI stuff has to be able to handle it async. Nov 05 16:14:28 you can't know the amount of time between fragment instantiation and UI availability. You'll have to store the data local in the fragment once it's fetched, then update the UI either from the data complete or the ui build, whichever finishes last Nov 05 16:16:10 your textwatcher event will have to determine that it isn't ready and set a flag to fire whatever work it was going to do once the data is there Nov 05 16:22:23 dragorn: i think i am a little confused it is still using wifi and looking for peers, say i have am IM app on my phone and yours , we are obviously not on the same network. I am not finding the method i want to use Nov 05 16:24:19 dragorn: for example if I initiate a conversation with you i would be the server and you the client Nov 05 16:25:02 whoever: you have to initiate wifi p2p mode, register a service, wait for peers to connect, talk to the peer. Client peers will have to scan for a controller and then look for the same service Nov 05 16:26:24 whoever: look at the link i pasted previously. There's a lot of overhead. Nov 05 16:26:55 dragorn: ah, thats what i am looking at Nov 05 16:29:19 whoever: so yeah - your path is probably start in client mode, scan for master nodes, connect if one exists, otherwise become a master node and advertise the service Nov 05 16:32:17 Hi, I have: private static final String SCRIPT_CREATE_DATABASE = Nov 05 16:32:17 "create table " + MYDATABASE_TABLE + " (id integer primary key, price double, calories double);"; in my SQLite adapter then I execute it but for some reason the column calories double is not created Nov 05 16:33:04 Any idea what I could be doing wrong? Nov 05 16:34:00 Any1 familiar with Swarm? Nov 05 16:36:45 Hello, random stupid question. In the Android SDK Manager I have a bunch of items called "Android SDK Build-tools", versions 17, 18, 18.0.1, 18.1, 19. What are these for? Is it to actually compile the SDK myself? Nov 05 16:37:16 It's the build tools used to compile apps Nov 05 16:38:23 So why are there multiple versions available? Why doesn't it just show the most recent versions like the SDK Tools and Platform-tools items? Nov 05 16:38:40 Because some people might use old versions of the build tools Nov 05 16:38:55 Forcing upgrades have historically broken a lot of builds Nov 05 16:39:21 Hello Nov 05 16:39:52 Right ok... do you happen to know if there's a changelog or something similar on line for each version? My google searches haven't been successful Nov 05 16:41:10 I have an application to which I want to activate hardware aceleration.. I test the app in a Android version > 4.0. I activate the hardware acceleration through the application attribute, activity attribute and view attribute. Misteriously when I check if the view has the hardware accelerated using the "IsHardwareAccelerated()" method i get always false.. My target api is 15 Nov 05 16:41:12 No idea Nov 05 16:41:12 Any idea please? Nov 05 16:41:31 Windows attribute also sorry* Nov 05 16:41:58 SimonVT: cheers for your help Nov 05 17:07:42 hi Nov 05 17:07:50 anyone familiar with building aosp here? Nov 05 17:09:31 yo Nov 05 17:09:45 yo Nov 05 17:27:25 guys is there some free html5 framework that produces platform independent apps? Nov 05 17:27:28 like Nov 05 17:27:31 I'm playing with Espresso and I'm wondering how can I implement something like the Robotium's "waitForText" method. Do you have any hint? Nov 05 17:27:37 android, ios, windows phone Nov 05 17:27:52 or would you simply use jquery mobile or some library for that? Nov 05 17:28:04 and put everything in a small webview wrapper app Nov 05 17:28:47 sorry im a noob Nov 05 17:43:44 Does google/anyone have any whitepapers on dalvik vs art for noobs? Nov 05 17:46:46 hwrd|work: i dont think its that far along Nov 05 17:47:01 i just did a bunch of spelunking over the weekend but couldn't find much other than just trial and error testing and trying to read the source Nov 05 17:47:42 jasta: ah, i see. thanks! I've been doing the same :-\. I know why dalvik sucks but I'm trying to figure out the architecture of art and why its supposed to be the future... Nov 05 17:48:03 hwrd|work: honestly i couldnt find anything radically different Nov 05 17:48:18 still no generational gc, seemingly a similar interpretor architecture, ... Nov 05 17:48:27 The only thing I saw was llvm? Nov 05 17:48:27 one thing is different: they added new instructions to Dalvik Nov 05 17:48:31 to the bytecode Nov 05 17:48:43 they replaced a bunch of usages of iput, iget, invoke-virtual, etc with *-quick versions Nov 05 17:52:55 Interesting. I should just ask someone at google what the plan is haha Nov 05 17:53:06 i'm planning to do the same. Nov 05 17:53:12 in fact, i want to try to encourage some direction changes. Nov 05 17:53:25 my main concern is that their solutions to large dex files (> 64k methods) is insufficient and/or inefficient. Nov 05 17:58:58 hello, I get i2c_get_use_list: script_parser_fetch err.ret = -4. Nov 05 17:59:46 can someone help ? Nov 05 18:17:46 my n7 reports 20db less signal on the 5GHz band than the 2.4GHz band; anyone else see this? other devices in the area see the signal about the same Nov 05 18:18:10 question about signing the app: if I export the app from Eclipse ADT to Gradle, the build.gradle file doesn't have any reference to the apk signing and it works fine Nov 05 18:18:16 i figure this is whats causing drop offs; i bet asus fucked up the antenna / shielding Nov 05 18:18:43 if I start a new project, it asks istead to add the signing configuration in build.gradle Nov 05 18:18:46 I don't understand! Nov 05 18:19:14 so is this signing configuration needed or not? Nov 05 18:19:40 and if it needed, why apps imported from ADT don't report any signing configurationinthe build.gradle file? Nov 05 18:30:21 hey guys. so after a long time I've downloaded eclipse again. so now I'm writing code, but as I see it's not auto completing as I type it. in example if I type button, it doesn't give suggestions for it, nor it does when I type anything else like int, float and so on. it only appears when I press ctrl+space. any ideas how to enable that auto-compelte without key press? Nov 05 18:34:29 by the way, I found the reason! I was running the app imported from ADT in the Debug build variant, and the new app in the Release build variant. You need the APK signing only if you run the Release build variant Nov 05 18:36:23 I'm now android studion, am I wrong, or is gradle integration just *bad*? particularrly as far as dependencies are conecrend? Nov 05 18:36:39 InteliJ Idea used to search/autoadd/download etc eveythig Nov 05 18:37:08 /now/new/ Nov 05 18:39:25 I have a view that is drawing a LayerDrawable in its draw method. I need to disable hardware acceleration due to something going bad in svg-android-1.1.jar… Nov 05 18:39:37 if i do "setLayerType Nov 05 18:39:40 ahhhh nevermind Nov 05 18:40:52 wait, no, If I setLayerType(LAYER_TYPE_SOFTWARE, null) on that view, then that drawable won't be drawn using hardware accelleration, correct? Nov 05 18:42:25 yea that lets a single ImageView draw this special drawable, but the view that uses LayerDrawable still is messed up. Nov 05 18:44:30 Let me paste up some code Nov 05 18:46:21 http://pastie.org/8457756 Nov 05 18:46:21 I have a custom view that uses LayerDrawable, and an ImageView Nov 05 18:46:21 actually, let me disable hardware accelleration for this activity Nov 05 18:54:06 is it a good technique to create several content observers or should i do all in a global one and check in the observer which event happened? Nov 05 18:59:17 @misterli from what I've known, the overhead of creating multiple observers is not big enough to warrant the added complexity of having one observer with everything Nov 05 18:59:33 Okay :) Nov 05 18:59:45 Thank you Nov 05 19:00:56 Verizon just came out with a $247 Android 7" tablet (lte) .. but screw those guys :/ Nov 05 19:01:59 Verizon is the suck Nov 05 19:02:04 ! Nov 05 19:14:36 when i do EditText.getWidth() it gives me the width of the "scrolling text", but I want the actual showing width. how do i get the showing width? Nov 05 19:16:52 I'm thinking of switching away from loaders to contentProvider, but with my loader implementation I have a single configurable (by config object) sqlite object, from all that I'm now reading it seems everyone implements contentProviders to have static references to their data, is there an overwhelming reason for this ? Or would it be quite acceptable to use config objects passed to single contentProvider class to Nov 05 19:16:52 to setup the data strictures and sources ? Nov 05 19:17:37 jaynewstrom: your wanting the view width ? Nov 05 19:17:58 of an editText that is expanded beyond the bounds of the parent ? Nov 05 19:17:59 maybe i had it backwards, it was giving me the view width, but i want the "scrolling text width" Nov 05 19:18:20 well it doesn't really know I dont think Nov 05 19:18:25 unless the parent is the scroll Nov 05 19:18:43 and the editText is actually the size it would be to display all text Nov 05 19:18:51 not sure, but guessing here Nov 05 19:18:53 :) Nov 05 19:22:17 I'm going to try paint.measureText, see if I can do it myself Nov 05 19:39:06 hi there Nov 05 19:39:59 any SELinux devs in the house? :-) Nov 05 19:40:26 anyone knows how i can create and use the unlock feature that is used with screen unlock and alarm clocks and more Nov 05 19:40:30 jonp: call NSA Nov 05 19:40:32 SELinux, seriously ? ? Nov 05 19:40:46 Looney: some Samsung devices have "KNOX", which is SELinux. Nov 05 19:40:53 Looney: well, it's switched to enforceming mode in 4.4 Nov 05 19:40:56 is there a default libary for that? Nov 05 19:41:01 Looney: so yes, seriously, and it can cause compatibility issues... :-/ Nov 05 19:41:10 jonp: 4.3 has SElinux in permissive mode, 4.4 has it in enforcing mode Nov 05 19:41:17 that'll cause pain as well. Nov 05 19:41:18 well, I have no idea that kitkat is about SELinux Nov 05 19:41:28 now how do i programmatically change a directory to allow external writes? Nov 05 19:41:33 'cause i'd really like that Nov 05 19:41:35 * Looney goes to weep and cry in corner Nov 05 19:41:37 anyone knows that? Nov 05 19:41:40 Looney: 4.3 was about SElinux. 4.4 just switched the enforcement on Nov 05 19:41:55 * FernandoMiguel smacks Looney Nov 05 19:42:17 I am lately discovering actionbarsherlock for my GB phone :-( Nov 05 19:42:47 nonetheless, authors did a hell of effort Nov 05 19:43:22 Looney: at this point you should probably be using ActionBarCompat Nov 05 19:43:39 hmm, does it support 2.x Nov 05 19:43:51 yes, that's basically the point of it :-) Nov 05 19:44:01 does it look as neat as actionbarsherlock Nov 05 19:44:04 hhm my question is ignored? Nov 05 19:44:58 will check it out for sure RyanM ;-) Nov 05 19:45:08 gotta hit the bed Nov 05 19:45:11 check out minSdkVersion="14" Nov 05 19:45:15 even simpler Nov 05 19:45:56 for clients, I have no qualms and worried in going minSdkVersion="14" Nov 05 19:46:06 but for my own phone, I have Nov 05 19:46:27 though I have some unofficial stable ICS rom :-P Nov 05 19:46:37 How nice, the guy who left me a 2-star rating decided to send me an email about it, but apparently people who root their devices and such are actually still utterly incapable of providing logs. Nov 05 19:47:06 Looney: They're both intended to look identical to the ICS+ actionbar Nov 05 19:47:09 Nilium: I can send log for rooted phone to you Nov 05 19:47:20 if you want me to Nov 05 19:47:32 Someone needs to start making rooting and installing ROMs harder. Nov 05 19:47:39 Why would I want a log from your phone? Nov 05 19:47:45 Nilium 4.4 makes it harder if the bootloader is locked Nov 05 19:47:49 else, I am going to hit the bed Nov 05 19:47:50 with dm-verify Nov 05 19:48:02 Nilium: there is something called common courtesy Nov 05 19:48:07 I want a log from the guy who gave me a 2-star rating because my app doesn't work on MIUI ROMs. Nov 05 19:48:10 which I was trying to offer Nov 05 19:48:33 I have MIUI rom, but it slows my phone Nov 05 19:48:35 lol is my maybe i should ask: Nov 05 19:48:37 Well, thanks, but you misread half of what I said. Nov 05 19:49:13 Unfortunately, I need it from his phone, 'cause I'm not about to ask someone to buy my app just for logs. Nov 05 19:49:14 * Looney thinks that misreading is symptom of sleep deprivation :-( Nov 05 19:49:18 is it a good idea to use the native unlock stuff from android if so how? Nov 05 19:49:20 I'd frankly just rather ban MIUI Nov 05 19:49:41 is there a way to use unlock stuff? Nov 05 19:49:43 Unfortunately, Google Play lets me block devices, but not specific variants of Android Nov 05 20:01:05 hi, does anyone know how i can check which wifi chipset i have in my phone? I have Tmobile/HTC MyTouch 4g (HTC Glacier) Nov 05 20:01:13 i've heard its a broadcom chip, but not sure about its specific model number Nov 05 20:01:19 i've tried antutu benchmark, but it shows everything except the wifi chipset... Nov 05 20:01:27 also tried a few other "android info" "android hardware info" like apps Nov 05 20:14:13 Ateeb: you can try Build.getRadioVersion() but I'm not sure what it returns Nov 05 20:15:08 Ateeb: also connect to your phone with `adb shell` and look files in /etc/wifi Nov 05 20:15:15 it might give a clue Nov 05 20:16:41 um... i have opened the adb shell. i'm using windows. and i've opened a command prompt window with administrator rights. and started adb prompt Nov 05 20:17:18 do we browse into folders and subfolders just like in ms dos? like "cd foldername" Nov 05 20:18:21 Ateeb: cd /etc/wifi && ls Nov 05 20:18:41 icedp: thanks, i'll do that :) Nov 05 20:20:41 it said wpa_supplicant.conf Nov 05 20:21:09 i'm curently typing in terminal emulator in phone. Nov 05 20:21:18 God, fuck MIUI for breaking things. Nov 05 20:21:29 * Nilium grumbles about being unable to just immolate people for using it Nov 05 20:22:31 icedp: will i have to open/view the contents of the wpa_supplicant.conf file? Nov 05 20:22:35 Nilium you know this comes with the territory of android dev; people using your stuff on unsupported roms. you'll have to be stoic about it :) Nov 05 20:22:39 Ateeb: well my also says me WCNSS_qcom_cfg.ini which indicates it's qualcomm Nov 05 20:23:37 g00s: I am stoic about it as far as they're concerned. My complaint is that they have a disgusting expectation that I'm going to support a ROM that's highly experimental and changes tons of things Nov 05 20:24:36 Nilium did you respond to his play store comment ? Nov 05 20:24:49 icedp: someone gave me this link. https://github.com/CyanogenMod/android_device_htc_glacier/blob/gingerbread/BoardConfig.mk i think it has the info i need, but i'm not sure if tmobile or htc use the same chipset throughout a line of phones. may be there's a chance that my phone is some other hardware revision Nov 05 20:24:53 Yes. Nov 05 20:25:18 Apparently my settings activity launches with a blank window in MIUI, and there are really only a few things that could cause that: 1) MIUI breaks the Resources class, 2) MIUI breaks the view inflater, 3) MIUI breaks LinearLayout, or 4) MIUI breaks something else completely off in some bizarre part of Android. Nov 05 20:25:21 'Cause the settings app does zilch out of the ordinary. Nov 05 20:26:28 if its one lone idiot eventually it will become noise Nov 05 20:26:53 icedp: this website says i have a broadcom 4329 (bcm4329) chip... is there a software way to confirm if i have this exact chip in my phone? besides opening up physically and checking the part number on the wifi chip? Nov 05 20:26:55 they should make you select if its a stock os rom before you give comments Nov 05 20:27:12 I'm just going to ignore it, 'cause if I'm doing nothing strange, then MIUI seems like it's necessarily the issue. Nov 05 20:27:15 ron_frown i think they should just ban rating / comment from non-stock configs Nov 05 20:27:16 most of the time aftermarket roms shouldnt matter THAT much Nov 05 20:27:22 thats what I am saying Nov 05 20:27:31 or at least dont let it affect overall rating Nov 05 20:27:56 Ateeb: try also /vendor/firmware Nov 05 20:28:07 Well, a 2-star rating when it's one out of seven ratings does have an effect. Nov 05 20:28:16 MIUI definitely breaks things. it's a mess. and CM is annoying that they're super popular and release nightlies and tell users they won't accept bug reports from them but then users expect app devs to accept bug reports Nov 05 20:28:22 Ateeb: I have there bcm2079x_firmware.ncd file Nov 05 20:28:27 no I am suggesting non stock rom comments shoudlnt affect rating Nov 05 20:28:31 I think they could still be valuable Nov 05 20:28:37 but generally the near AOSP based roms don't break that much, or if they do it's wide spread enough users realize who to blame. Nov 05 20:29:16 ron_frown i think they should be treated the way beta / alpha stuff should be; comments only not ratings; so essentially they become bug reports that don't show up in play maybe Nov 05 20:29:38 yeah Nov 05 20:29:43 yes! it says bcm4329.bin fw_bcm4329_apsta.bin fw_bcm4329_5ghz.bin :D Nov 05 20:29:46 because I could see "hey this shit dont work with miui Nov 05 20:29:56 thank you so much icedp Nov 05 20:29:57 i never even heard of muiuiuiu Nov 05 20:30:05 a potential issue with doing that is that if you released an app today that was minSdk 19, you'd really want those positive ratings from the custom rom crowd because they'll be the majority of your users for some time Nov 05 20:30:13 Ateeb: you found it? Nov 05 20:30:52 its some chinese UI skin over the top Nov 05 20:30:59 its actually nice looking and well integrated Nov 05 20:31:07 yeah. vendor/firmware gave me this output. i hope this confirms it. though i'm not exactly sure... i am very new to android... Nov 05 20:31:07 but lots of nonstandard shit in there Nov 05 20:31:23 Except it breaks a ton of stuff. Nov 05 20:31:39 I am just saying Nov 05 20:31:45 i have chine disabled in my play store listing for exactly this kind of shit; i'm assuming they have a lot of weird hardware Nov 05 20:31:49 I'd rather lg put something like that on my new g2 than their shit Nov 05 20:31:50 *china Nov 05 20:32:03 Ateeb: it is driver for your wifi without it your phone won't work properly Nov 05 20:32:11 g00s lots of people have miui aftermarket roms for lots of diff phones Nov 05 20:32:28 so its not a china-specific localization ? Nov 05 20:32:34 my new g2 on the stock rom could show exactly one message (short one at that) Nov 05 20:32:37 in the sms view Nov 05 20:32:37 i guess i could just google it Nov 05 20:32:41 with the keyboard up Nov 05 20:32:51 and with the drawer pulled down in its stock form Nov 05 20:32:52 can we have kit kat in emulator now? Nov 05 20:32:59 one small notification Nov 05 20:33:16 icedp there are vbox build targets in aosp Nov 05 20:33:26 icedp: hm... my wifi is working perfect. does this mean that driver for bcm4329 is good for the chip i have in phone? which means i have bcm4329 chip... right? Nov 05 20:33:42 Ateeb: exactly Nov 05 20:34:11 g00s - gen 3 of my hardware is entering discussion +) Nov 05 20:34:15 my fav part of the job Nov 05 20:34:25 ron_frown a newer gpu :) Nov 05 20:34:30 hHAHAHA Nov 05 20:34:44 funny thing sgx540 is whats in galaxy nexus Nov 05 20:34:53 yet gles2 support seems to be sketchy at best Nov 05 20:35:18 icedp: thanks :D i was looking forward to use bcmon to crack wifi ;) i've played with aircrack n reaver on backtrack 5r3... n wanted to try it on an android phone Nov 05 20:35:26 some of the reference boards I am looking at are adreno and mali chipsets Nov 05 20:35:26 mhmm.- getContentResolver().registerContentObserver(CallLog.Calls.CONTENT_URI, true, callObserver); why is the calllog observer called twice when receiving a call? oO Nov 05 20:35:36 heopfylly as hardware vendors they are more helpful Nov 05 20:35:42 ron_frown: do you have the link at hand? Nov 05 20:36:08 in aosp /device/folder has server x86 targets Nov 05 20:36:20 x86 vbox targets Nov 05 20:36:58 mini-emulator-x86 Nov 05 20:38:14 man, when i go to mail.google.com i get some lame ass splash screen now that precedes the actual login page, which also has 'stay logged in by default checked' (which i then have to uncheck); i'm guessing google is making it such a pita to log in , they want you to stay logged in all the time Nov 05 20:39:48 Decided I'd be nice and just respond to the guy's email and say, hey, I probably can't do anything about this, but if you can pull logs off your device showing what happens when you launch the app, send 'em to me. Nov 05 20:39:57 We'll see if it backfires with that ever-so-lovely sense of entitlement. Nov 05 20:40:30 is the sending logs back to you in a private email; or in the play store listing? Nov 05 20:40:36 Private email. Nov 05 20:40:42 ok; phew Nov 05 20:41:12 He sent me a screenshot of the app running, but it's impossible to tell what's going on there since it's not actually crashing. Nov 05 20:41:55 Nilium are you using something like crashlytics ? Nov 05 20:42:04 even though its not crashing Nov 05 20:42:08 it could be useful Nov 05 20:42:13 No. Nov 05 20:42:43 I just rely on the Play store sending me the crash reports. Nov 05 20:42:43 Which it's always been pretty good about doing, really. Nov 05 20:42:58 Haha Nov 05 20:43:03 Play store sending crash reports? Nov 05 20:43:04 Good one Nov 05 20:43:04 you'll only get uncaught stuff Nov 05 20:43:13 which is like, when you app really blows up Nov 05 20:43:13 The problem is that if it's not crashing, that means everything is working as expected, which means MIUI may have broken some very fundamental things in Android Nov 05 20:43:44 Yeah, this should be uncaught stuff Nov 05 20:43:44 It's like.. stuff that cannot fail without actively breaking Android somehow Nov 05 20:44:38 ugghh android was shitting the bed bigtime comign from 4.4 build to 4.3 Nov 05 20:44:41 i only ever had 2 bugs in my app (1) i forgot to wire up an onClick handler that exploded; (2) in android 4 content provider permissions changed and my app exploded sending an attachment to gmail Nov 05 20:44:44 without wiping =) Nov 05 20:44:57 g00s how goes your little app Nov 05 20:45:11 i'm rewrinting both apps for android 4.x+ Nov 05 20:45:17 *rewriting Nov 05 20:45:59 There's only one bug in my app right now, but it can't crash it and requires you to really go out of your way to trigger it. Nov 05 20:46:33 You basically have to go into a saved config file, modify it to point to a texture that doesn't exist, and then if you load the config file, it won't render anything. Nov 05 20:46:46 'Cause, y'know, no texture. Nov 05 20:47:20 Anyone here that can help me with syncadapters? Nov 05 20:48:47 Nilium probably not in your use case, but i built in remote debugging for my app. the user has to enable it and point it to a mqtt server; after that i can send it commands and get its logs Nov 05 20:49:14 Yeah, that'd be overkill for me. Nov 05 20:52:39 I might add a thingy to throw up a local notification that, when tapped, prompts the user to send me an email with the stacktrace and such, but eh. Nov 05 20:52:49 meh Nov 05 20:53:03 Wouldn't take that much work since I already have it written, just.. tedious. Nov 05 20:53:04 i'd just move on onless this becomes an endemic problem Nov 05 20:53:35 persistent problem O.o wrong word Nov 05 20:53:38 jesus fuck Nov 05 20:53:52 I doubt it will. I figure MIUI users are few and far between, and otherwise everyone looks at it as that thing from China that they're paranoid about installing because it's from China. Nov 05 20:53:55 I think my problem with this shit the entire time was lcd density scaling slowing everything down =( Nov 05 21:01:17 @Nilium, I have such thing in my App (local notification, and stack-trace+log email). It is wonderful for finding and fixing crashes! Nov 05 21:02:13 The original Java-based version of my app had that. I didn't bother porting it. Nov 05 21:02:34 Nilium whats the new one in : ? ndk ? Nov 05 21:02:43 oh scala Nov 05 21:02:44 :) Nov 05 21:03:04 Yes, you should remember that considering I won't shut up about it. Nov 05 21:03:23 all bets are off man :) Nov 05 21:03:24 Wait, someone else is supposed to say that. Nov 05 21:05:34 I still find it kind of funny that the Scala compiler actually has a specific bit of code for Android's static CREATOR crap, since there are no static fields in Scala. Nov 05 21:09:54 android android android Nov 05 21:09:57 so frustrating Nov 05 21:10:29 * Nilium hands explodes a giant bottle of something that says "drunkmaker" Nov 05 21:10:30 anyone know why I can't launch an intent with a URL of a pdf Nov 05 21:10:59 maybe it's not intended to work Nov 05 21:11:00 rf: show code of how you're creating the intent Nov 05 21:12:26 explodes: https://gist.github.com/rf/dfe549f66069a7580179 Nov 05 21:12:58 explodes: if I google this everyone in the world says to either download the pdf first then launch the intent or use a webview using google's pdf reader Nov 05 21:13:11 downloading the pdf first then launching the intent works; if I do this, nothing handles it Nov 05 21:14:02 oh also the url is http not a file: url or whatever Nov 05 21:14:33 try just .setData(yourURI) Nov 05 21:14:38 instead of setDataAndType Nov 05 21:19:44 What is the proper way to scale down a drawable? Nov 05 21:19:49 Matrix? Nov 05 21:24:26 myBitmapDrawable.draw(canvas) ain't doin' shiz Nov 05 21:34:47 SimonVT: i remember reading something in here that you mentioned how to get a FrameLayout for instance to say that it overrides onDraw. what was that method again? Nov 05 21:44:01 setWillNotDraw? Nov 05 21:44:37 Thanks, I'll give it a shot Nov 05 21:47:12 Looking for someone who might be interested in mentoring me sortof, as i try to get a better understanding of Android development. Answer some questions now and then. Im a php dev, so its not like iv never touched code. Anyone up for it? :) Nov 05 21:55:46 that's what this channel is all about, mistenkt Nov 05 21:56:35 Well, it's not for finding personal tutors. Nov 05 21:57:53 well, usually ppl dont answer in these big channels Nov 05 21:59:05 they do if you ask real questions Nov 05 21:59:14 s/real/specific/ Nov 05 21:59:35 so rather than "can you mentor me?", try "i'm trying to do X. i've tried Y and Z, but they haven't worked. what else can i do?" Nov 05 21:59:51 mistenkt: this is a good start: http://developer.android.com/training/index.html Nov 05 22:00:34 yea iv run through some of them, i just havent seem to figured the bigger grasp of them. they all seem to be very spesific on smaller issues, not binding them together Nov 05 22:01:01 hello Nov 05 22:01:11 Does executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR) always execute on multiple threads? Nov 05 22:01:13 just forget everything you have learnt in PHP and you'll be fine :) Nov 05 22:01:14 have anyone used serial to ethernet with android? Nov 05 22:01:38 Just never use PHP ever again and you'll be a happy person Nov 05 22:01:38 i dont get why they make everything for apple and not for android Nov 05 22:01:39 http://www.get-console.com/ Nov 05 22:01:49 kinda hard when its my job Nilium :p Nov 05 22:02:10 Quit your job Nov 05 22:02:10 Burn the place down Nov 05 22:02:19 kkk.. :P Nov 05 22:02:41 Put their heads on pikes so that they know you mean business Nov 05 22:02:41 As a warning to future PHP peoples Nov 05 22:03:15 I really want a bowl of popcorn right now. Nov 05 22:03:20 anyway, my "issue" right now is figuring out how the views or layouts work. im not really sure how ur supposed to do the whole toolbar, sidebar and content parts. php is easy, just include the headers and such in the other templates Nov 05 22:03:32 so now im looking into fragments, but i have no idea if its the right way Nov 05 22:03:50 What have you tried? Nov 05 22:04:26 it's really best you just don't compare anything android to PHP Nov 05 22:04:55 That too. Nov 05 22:05:38 Anyway, is there something specific you don't understand about views or what? Nov 05 22:05:47 well lets say i wanna have a left side navigation drawer. and depending on what item is selected there, iw ant to display diferent views. Nov 05 22:06:05 Or is it just that you've never done UI coding before, so it's all weird and new? Nov 05 22:06:22 is fragments the right way to go? thats how the project got setup, but it seems it uses the same layout for each of the items, not really doing what i want as the views will be different Nov 05 22:06:47 never done any mobild, just php, html, css, js Nov 05 22:06:47 yes use fragments Nov 05 22:07:10 Well, let's step back and try to figure out what's got you confused, though Nov 05 22:07:41 Are you unclear about what a view is compared to a layout compared to a fragment? Nov 05 22:08:18 sortof Nov 05 22:09:20 A view is just a control. A fragment is a chunk of program logic that may or may not have views. Nov 05 22:10:59 a view is similar to an html tag Nov 05 22:11:08 a fragment is like a div Nov 05 22:11:23 and that's all there is Nov 05 22:15:06 guess im just overwhelmed by the massive amounts of classes and stuff required to do simple things like changing a view based on what menu item is selected Nov 05 22:16:22 hmm.. how the hell does avast change the device name on runtime? (With root)? I thought this is not possible. Even as System-App? Nov 05 22:16:24 and since im not really getting it, following examples lets me create a working example, but i have no idea how to exploit what iv done to make it do other things Nov 05 22:16:28 "Apps Name Nov 05 22:16:36 I think that's how I feel when I do anything web-dev-related. Nov 05 22:16:48 copy in /system/app (Systemapp) and modifing the APKs Manifest will do the job? Nov 05 22:17:07 Is there any way to use one sync adapter to do more than one thing. For instance if the activity currently running is one screen run this handful of operations, but if it's another activity do a different amount of calls? Nov 05 22:17:36 I am now confusing mistenkt and misterli Nov 05 22:17:52 or do i have to make a whole new sync adapter for each group of calls that I want to perform Nov 05 22:18:13 Nilium, but web is simple :) untill the client ask about older IE support, then i hate all the fancy frontend stuff iv put into it Nov 05 22:18:40 Eh, you think it's simple, I don't Nov 05 22:20:18 With web stuff, for me, all the stuff with sessions/cookies, working with a DB, the crap with switching between JS and PHP to do different things, and so on, it's an enormous headache for me. Nov 05 22:20:43 hand control over to something like SEAM ;) Nov 05 22:20:56 if u have a proper framework like laravel, it gets easier Nov 05 22:21:25 But then you have yet another thing to manage. Nov 05 22:21:50 I cannot get this to work! I've tried 80 different ways today. Nov 05 22:21:55 Web dev is just a huge, terrible thing that has not even remotely managed to keep pace with other technology Nov 05 22:21:56 Heh, remotely. Nov 05 22:22:11 I want a view to have a list of Drawables, each drawable should be drawn at X and Y with a SCALE Nov 05 22:22:33 I made subclasses that have setX, setY, setScale that modifies a matrix for each drawable Nov 05 22:22:37 how would you guys run a "java-service" which is running 24/7 on a linux box? Just coding a console app and run it for example with screen? :-) Nov 05 22:22:42 they have a draw(Canvas canvas) method each, Nov 05 22:23:08 And the %)(*&^% things don't draw at X or Y and the SCALE doesn't work uniformly across X and Y Nov 05 22:23:32 explodes: are the images being placed in after they are pulled from somewhere else or are they in your project? Nov 05 22:23:35 Try using fire. Nov 05 22:23:51 w9jds: i am using Bitmaps loaded from resources Nov 05 22:24:10 (i'm also using SVGs but that is when I can get a damn basic framework working) Nov 05 22:24:10 What do you mean the scale doesn't work uniformly across X and Y? Nov 05 22:24:25 So where would i go about putting the logic for switching between diferent layouts? in the navigationdrawerfragment class thats created? Nov 05 22:24:39 myMatrix.setScale(foo, foo) gives me a rectangle instead of a sqaure Nov 05 22:24:40 I think he means aspect ratio is wrong Nov 05 22:24:53 myMatrix.setTranslate(10, 10) has NO effect at all Nov 05 22:25:10 what is the aspect ratio of your images? are they square? Nov 05 22:26:15 So, why are you using setScale? Nov 05 22:27:06 to scale the things. Nov 05 22:27:11 ... Nov 05 22:27:21 I'd set the translation then do a postScale.. or was it preScale Nov 05 22:27:53 if you are trying to scale a non square image it would explain the reason why it isn't square Nov 05 22:28:02 in my draw method: canvas.save(); canvas.setMatrix(this.matrix); canvas.drawBitmap(bitmap, 0, 0, null); canvas.restore(); Nov 05 22:28:10 its a square image, w9jds Nov 05 22:28:26 Yeah, I don't care about that. Nov 05 22:28:29 When you're building the matrix, use matrix concatenation, _not_ setScale. Nov 05 22:28:30 I need these things to be able to scale with touch events, so scaling must be as quick as possible Nov 05 22:29:30 I've tried subclassing drawable as well as making my interfaces for scale, translate, and draw... Nov 05 22:29:31 Are you just ignoring what I'm telling you? >_> Nov 05 22:29:34 Nothing seems to work Nov 05 22:29:47 I am looking at preScale or postScale idk where that goes Nov 05 22:29:49 or comes from Nov 05 22:29:54 what class that belongs on Nov 05 22:29:58 a View or a Drawable Nov 05 22:30:05 * Nilium goes back to not trying to help. Nov 05 22:30:12 Learn you some matrix math, son. Nov 05 22:32:43 Nilium: Finally found it, preScale is a method on Matrix. Nov 05 22:32:53 Are you on Mac OS? Nov 05 22:32:58 Yes Nov 05 22:33:20 http://kapeli.com/dash ← Buy this. Nov 05 22:33:40 its on sale at macupdate Nov 05 22:33:51 Then, if someone mentions a method, you just type it in. Nov 05 22:34:17 what's the easiest way of getting log files off of a device? Nov 05 22:34:55 It's already inexpensive, so there's not that big of a deal where you buy it from. Nov 05 22:35:33 omg love dash! Nov 05 22:35:40 can anyone help me build note3 kernel from source ? Nov 05 22:35:43 At any rate, being able to easily browse documentation is pretty important to me, so I'm like an unpaid shill for Dash 'cause I worship the thing. Nov 05 22:36:00 so why post or pre scale instead of set scale Nov 05 22:36:05 DJ-Rack: Is this something to do with rooting? Nov 05 22:36:28 I don't see any "whys" in the doc, only "whats" Nov 05 22:36:32 Nilium: no Nov 05 22:36:35 Because matrix math. Nov 05 22:36:54 Nilium: do you know Nov 05 22:36:54 ? Nov 05 22:37:30 Nilium: why did u ask ? Nov 05 22:37:40 I don't really feel like pretending to be a maths teacher because I suck at explaining it, so all I can say is learn you some matrix math. Nov 05 22:40:52 Ok so I want to scale the thing like normal (preScale) *then* translate it, (postTranslate) Nov 05 22:40:56 I still get a weird image Nov 05 22:41:09 let me play around some more. Nov 05 22:41:37 hey all, anyone know how to tell why eclipse hangs on startup Nov 05 22:41:59 I'm on linux, eclipse is running /usr/bin/java with some options for eclipse plugins Nov 05 22:42:07 and hangs at the splash screen Nov 05 22:42:28 20 minutes later I can kill the java process that still hasn't launched any ui besides the splash screen Nov 05 22:42:47 explodes: you probably want postScale then postTranslate, and might need pivots for the scale Nov 05 22:43:09 or setScale should be the same if you do it first (starting from an ident matrix) Nov 05 22:43:10 /usr/bin/java is a symlink to /usr/lib/jvm/java-7-openjdk/jre/bin/java in case that matters Nov 05 22:43:14 I have an orange kitty on my lap. Nov 05 22:43:31 (my matrix math is too rusty to know what prescale against an identity matrix does. it might be fine) Nov 05 22:43:38 I think what he'll want to do is setTranslation then preScale. Nov 05 22:44:06 Or postScale. I'm not 100% sure how each works because I'm used to using my own maths lib. Nov 05 22:45:02 setTranslate + postScale would scale the translation as well. setScale + postTranslate would first scale the image, then translate it. i think setTranslate + preScale would be the same as setScale + postTranslate Nov 05 22:45:34 right right Nov 05 22:45:41 that's what i would *assume* Nov 05 22:49:37 K Nov 05 22:49:42 This is working for bitmaps :I Nov 05 22:50:05 (mostly) the dy translation isn't as prominent as an equivalent dx translation?! Nov 05 22:54:39 etcetera: Nov 05 22:55:38 etcetera: Nov 05 22:56:25 etcetera: Nov 05 22:57:42 Sounds like someone is spamming him. Nov 05 22:58:43 probably Nov 05 23:00:04 hmm http://forums.unrealircd.com/viewtopic.php?f=3&t=6762 Nov 05 23:00:53 There we go. Nov 05 23:00:56 That has a hassle. Nov 05 23:01:12 w9jds here already Nov 05 23:01:58 how would i listen for the volume & power hardware button presses when the screen is off, assuming i'm dealing with a rooted phone? Nov 05 23:02:33 I wonder who etcetera pissed off. Nov 05 23:05:57 shit, I missed him Nov 05 23:26:45 but evanc, how will he come back if he's banned! :P Nov 05 23:28:13 eheh Nov 05 23:28:37 evanc: its possible someone is ddos-ing etc Nov 05 23:28:49 dunno what sendq is anyway Nov 05 23:36:45 canadiancow: he can /msg me Nov 05 23:36:52 and I'll make sure it gets the attention it deserves Nov 05 23:36:57 oops, never stopped flexing Nov 05 23:43:20 Using the JNI, what's a good way to trigger the "static" portion of a class, without knowing anything about that class? Nov 05 23:43:47 I have a bunch of classes that have "static { classInitNative(); }" in their definitions, and I want to use a piece of common code to trigger that running Nov 05 23:46:25 i need help building SGS3 can anyone please help me Nov 06 00:00:56 DJ-Rack: #cyanogenmod-dev Nov 06 00:01:14 also, if you're building an SGS3, you generally need a factory Nov 06 00:02:10 evanc: SGN3 Nov 06 00:02:27 evanc: lol i forgot to say kernel =P Nov 06 00:31:01 so guys Nov 06 00:31:06 with ListView and related adapters Nov 06 00:31:32 is it feasible to tell the ListView to draw over a larger area than the viewing area in order to pre-render rows? Nov 06 00:32:16 that is, say you want to draw 5 rows in advance in either scroll direction, so you make the ListView's height 10 * rowHeight more than the viewing pane Nov 06 00:32:29 or is there somewhere you can go to just render 5 items in advance in the adapter? Nov 06 00:36:30 That's pretty much what ListView is doing already. Nov 06 00:36:40 Just not that many items. Nov 06 00:37:28 It's better to be sure everything a listrow needs is quickly available, perhaps with a holder pattern for extreme cases. Nov 06 00:39:50 I've got some views that depend on relatively annoying to fetch data Nov 06 00:40:40 Splitting the fetching and the actual rendering should fix that for the most part. Nov 06 00:43:24 do you mean pre-fetching the data so that getItem() called by bindView() does not have to wait? Nov 06 00:43:55 Well, either prefetch or display a placeholder. Nov 06 00:44:19 ah Nov 06 00:44:27 a place-holder until the row is ready to show Nov 06 00:44:31 or pre-fetching Nov 06 00:44:57 Yes, or display partially if it's just some of the row data that's taking long. Nov 06 00:45:22 :-) does anyone ever tried to use a FileObserver to observ the whole device inkl all subdirectorys? Nov 06 00:45:30 TheTrash is right. If you *REALLY* want to prefetch the next 5 rows, then you can create a custom adapter, and override the getView method. You will get the index of the current row being fetched. You can then have some logic to prefetch the next 5 rows from that. Either way, you want to make sure that data fetching is happening on a non-ui thread. Nov 06 00:45:54 is the latest kitkat aosp code released yet? Nov 06 00:47:02 oh wait, it's in my sdk folder Nov 06 00:47:37 f2prateek: dude, since oct 31 there were already N4 with pure AOSP kitkat builds :> Nov 06 00:48:24 I couldn't find them on the website https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/java/android/transition/TransitionManager.java Nov 06 00:48:26 and there's at least one custom rom in the wild Nov 06 00:53:24 it just seems like it'd be easier to just increase the render-ahead window Nov 06 00:53:34 Bourbon: the point behind this is that in the best case, fetching the next 5 rows takes a few secs, but in most realistic cases, it will take longer than the user is willing to accept, causing a pretty wonky listview. Worst case, there is no connection and it never loads. Nov 06 00:55:01 Interesting note: never loads means crashing app, unless you work with empty rows, in which case you're looking at the same pattern as placeholders. Nov 06 01:10:12 woudl a Loader help me in this? Nov 06 01:10:18 would* Nov 06 01:10:32 I'm trying to see what pattern would allow me to pre-fetch the data to compose each individual item lazily Nov 06 01:10:44 I guess I could just to pre-building of these objects in the actual adapter Nov 06 01:10:51 and keep an LruCache of them Nov 06 01:19:38 guys help I don't know why I'm getting null for convertView when I want @Override getView in twoline listview adapter Nov 06 01:20:30 My adapter code https://gist.github.com/anonymous/7329306 Nov 06 01:20:48 i think you need to create a new view if you get a null for convertView Nov 06 01:20:54 you have to check if it is null or not Nov 06 01:21:03 if it is, create a new view Nov 06 01:21:56 ooo… ok but it should be view of ListView or simple_list_item_2 ? Nov 06 01:25:05 simple_list_item_2 Nov 06 01:25:12 don't put listviews in your listviews Nov 06 01:29:26 I'm sure there's an xhibit joke in there somewhere Nov 06 01:29:51 ahhh… building time in android studio is killing me Nov 06 01:31:59 evanc could you look at my View creation? LayoutInflater.from(context).inflate(android.R.layout.simple_list_item_2, null); because in debug it says that this is TwoLine... and app crash because ArrayAdapter requires the resource ID to be a textview Nov 06 01:34:11 f2prateek maybe you can ? Nov 06 01:34:19 Hi, I've followed this article: http://stackoverflow.com/a/7123217/2884981 - and I end up with a solid colour on the far right of the row Nov 06 01:34:39 How do I get a cell (programatically) to take up all remaining space on a table row? Nov 06 01:34:57 Dudi: generally speaking, don't use ArrayAdapter. There's (almost) nothing wrong with that line you pasted, though. Pass in root instead of null, and add ", false" Nov 06 01:36:38 evanc what do you mean I should pass in root insead of null? Nov 06 01:37:09 what should one use instead of arrayadapter if cursoradapter isn't quite applicable? Nov 06 01:38:59 use arrayadapter only if your model translates directly to a string Nov 06 01:39:09 otherwise, always use baseadapter or cursoradapter depending on your datasource Nov 06 01:39:14 ah, gotcha Nov 06 01:39:34 BaseAdapter > ArrayAdapter with the getView overridden? Nov 06 01:39:56 there's really no reason to ever use arrayadapter Nov 06 01:41:14 is this because arrayadapter is a poorly optimized adapter or something? Nov 06 01:41:21 sqlite help update returns affected rows as an int, but thats not really true, it returns matched rows, that may or may not have been altered by the update… is there any way to get the "changed" row numbers ? Nov 06 01:41:41 no, because it's limited and rarely fits requirements Nov 06 01:41:56 I guess I don't actually get anything from it if I override getItem and getView Nov 06 01:41:56 damn…. still nothing... Nov 06 01:43:00 and like Dudi just encountered, arrayadapter expects the input resource to be a TextView Nov 06 01:43:23 if you want something non-trivial, avoid array adapter Nov 06 01:43:38 understood. Nov 06 01:43:56 in addition or as an alternative to my last question, is there a way to tell if data in sqlite has changed (changed outside of a loader) so I can tell the loader to restart ? Nov 06 01:44:21 pfn.. so how I can get TextView from simple_list_item_2? Nov 06 01:44:27 you don't Nov 06 01:44:30 because it's not a TextView Nov 06 01:45:25 StingRay_: not sure, but SimpleCursorAdapter knows how to do it Nov 06 01:45:46 does it ? Nov 06 01:46:04 pfn so there is no way to use ArrayAdapter to fill simple_list_item_2 ? Nov 06 01:46:07 or do you call notify on the adapter that then requeries the cursor ? Nov 06 01:46:23 Dudi, there is, but it overrides the entire point of using arrayadapter Nov 06 01:47:56 how? Nov 06 01:48:03 I'm not going to answer anymore Nov 06 01:48:08 use BaseAdapter, as evanc directed Nov 06 01:48:46 -.- Nov 06 01:50:04 ^o^ Nov 06 01:52:15 Hi, I've followed this article: http://stackoverflow.com/a/7123217/2884981 - and I end up with a solid colour on the far right of the row Nov 06 01:52:22 How do I get a cell (programatically) to take up all remaining space on a table row? Nov 06 01:58:10 any ideas guys? Nov 06 01:58:25 How to have a table row take up all available horizontal space Nov 06 01:59:26 never used tables, but would you not use MATCH_PARENT ? Nov 06 01:59:50 dont really know how cells spread view priorites over a row Nov 06 02:00:39 Hi, I have a LinearLayout which contains 20+ ImageView and TextView, now I want to add the click listener for the ImageView and TextView but I do not want add one by one , then I wonder if I can add a ClickLIstener for the LinearLayout instead? Nov 06 02:01:12 maven__: dont you need to know what was clicked ? Nov 06 02:01:29 as in images or xTextView ? Nov 06 02:01:29 maven__: no but you can iterate over the LinearLayout's children Nov 06 02:02:28 pfn I did it!… and if you look at it. It;s very simila to UITableViewDataSource delegate :) Nov 06 02:04:19 I wonder why it isn't build in it like it is in UItableviewcontroller Nov 06 02:04:55 is he talking apple ? Nov 06 02:05:22 yes I'm Nov 06 02:06:00 why? Nov 06 02:06:23 StingRay_, I used match parent Nov 06 02:06:33 TableRow.LayoutParams layoutParams = new TableRow.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); Nov 06 02:10:52 interate the children of the LinearLayout and add the LIstener to the childview directly? Nov 06 02:13:28 so any nice way to get the changed rows from sqlite update statement ? Nov 06 02:13:41 maven__: what part of that statement dont you understand ? Nov 06 02:16:26 i am tring to build SGN3 kernels but for some reason when i flash it the phone doesnt boot... can any one kindly help me with this Nov 06 02:17:03 Hi, I've followed this article: http://stackoverflow.com/a/7123217/2884981 - and I end up with a solid colour on the far right of the row Nov 06 02:17:06 the getChildCount return all the Descendant or only the directly child? Nov 06 02:17:09 How do I get a cell (programatically) to take up all remaining space on a table row? Nov 06 02:17:50 maven__: it gets as it says, count of the direct children Nov 06 02:21:41 Ok, get it. Nov 06 02:54:19 <^cheeky> morning 0/ **** ENDING LOGGING AT Wed Nov 06 02:59:58 2013