**** BEGIN LOGGING AT Fri Dec 14 03:00:19 2012 Dec 14 03:04:24 michael.... am I supposed to attach the object to the inflater? Dec 14 03:07:51 wilornel: you have to read the documentation. the training section covers what to do. Dec 14 03:07:59 Ima return the view Dec 14 03:08:01 yeah Dec 14 03:16:09 hi all Dec 14 03:30:04 so I downloaded the adt-bundle as opposed to installing the SDK from within Eclipse and I'm still not seeing the SDK Manager on the Window menu Dec 14 03:31:57 dopiwan_: you can run it from the cmd line too, the tool is called `android` it is in the sdk zip in the tools dir. Dec 14 03:32:43 woot ty! Dec 14 03:42:19 Yo, can anyone help me out with AlarmManager? Dec 14 03:45:01 Generally you just ask your question. Dec 14 03:48:33 So like Dec 14 03:48:34 http://stackoverflow.com/questions/1082437/android-alarmmanager Dec 14 03:48:37 the answer in the second response Dec 14 03:48:41 Trying to implement that Dec 14 03:48:43 and its doing nothing Dec 14 03:51:47 hmmm ... how do you respond to "I'm trying to do something and it doesn't work" :P I'd need more information ... Dec 14 03:52:51 capella: +1 Dec 14 03:53:10 (trying to be diplomatic :) ) Dec 14 03:53:52 Well Dec 14 03:53:55 The code given does nothing Dec 14 03:53:59 And I don't know why Dec 14 03:54:00 Lol Dec 14 03:54:44 Does it compile? Dec 14 03:54:46 Have you examined the logcat? Dec 14 03:55:03 capella: this is diplomatic :) http://www.mikeash.com/getting_answers.html Dec 14 03:56:03 What have you tried so far ? Dec 14 03:56:05 What do suspect might be the problem? Dec 14 03:56:13 codhisattva: :) Dec 14 03:57:55 "AMan: screw this " ... LAUGHS! Dec 14 03:58:10 capella: all too frequent Dec 14 03:58:21 heh - yah Dec 14 03:59:10 funny ... that's right when the channel gets reeeeeal quiet ... >shhhh ... we've all gone out to lunch < Dec 14 03:59:12 >) Dec 14 04:01:43 ...crickets...chirping.... Dec 14 04:02:11 * capella goes back to hating WIN8 Dec 14 04:06:11 capella: So this is essentially what i've down Dec 14 04:06:12 http://pastebin.com/CbKmxpuK Dec 14 04:07:41 wow, only 406 in here Dec 14 04:12:24 compare it to this and review the differences http://stackoverflow.com/questions/4459058/alarm-manager-example Dec 14 04:14:30 .getApplicationContext() looks wrong but I havent used alarmmanager before - I think applicationcontext is not ever recommended Dec 14 04:18:28 capella: Then how do I figure out the context to pass? Dec 14 04:20:42 http://stackoverflow.com/questions/7298731/when-to-call-activity-context-or-application-context Dec 14 04:49:17 I'm really starting to hate the UI design part of app development. Heh. Dec 14 04:59:03 most programmers feel that way. Dec 14 04:59:07 That's why most UIs suck. Dec 14 04:59:36 the ui/id/ux is my favorite part. doing it on android isn't Dec 14 05:09:51 I'm trying out ec2 for the first time Dec 14 05:10:31 That which killed my Unix sysadmin career... Dec 14 05:15:48 g00s lol Dec 14 05:15:58 i cant do UX at all Dec 14 05:16:03 i mean give me a design, and i can implement it no problem Dec 14 05:16:09 but coming up with the design... Dec 14 05:17:18 i find poking the android apis to make rich custom widgets / layouts to be the hardest part. Dec 14 05:28:35 g00s, is it easier to poke JakeWharton? Dec 14 05:29:11 hehe Dec 14 05:29:35 * g00s gets out his ABS voodoo doll Dec 14 05:33:48 i love extending View Dec 14 05:34:02 as long as i can avoid touchevent Dec 14 05:34:17 get's my knickers in a twist Dec 14 05:35:26 coolest widget ive seen is the date time picker with spinning dials Dec 14 05:35:53 impressive i wouldnt hav ethought android had such good graphics performance using basic view subclassing and such Dec 14 05:36:38 i wonder how hard it is to deal with pinch to zoom and swipes im going to have to do that Dec 14 05:45:15 no too hard, but the documetation vlows Dec 14 05:45:19 *blows Dec 14 05:47:30 strange; google has put work into improving the doc website; but yeah the api docs are bad. i think it would have given android a boost if google had provided, a long time ago, a good and in-depth guide to writing rich custom interactive views and layouts, using advanced techniques like d'n'd and animations Dec 14 06:00:29 what's d'n'd Dec 14 06:00:40 drag and drop Dec 14 06:01:04 dungeons and dragons :D Dec 14 06:21:53 I've downloaded the 64-bit "ADT Bundle for Windows", but I can't seem to run a Nexus 7 AVD; I just get the boot logo forever, and it loops on an NPE followed by "Exit zygote because system server (315) has terminated", then back to square zero. I find a lot of reports of others with the same problem, but no one with a fix. Can someone steer me in the correct direction? Dec 14 06:24:23 wow, ibm succeeded in their nanophotonics stuff; putting optical pathways on a chip with silicon components Dec 14 06:26:24 grundt: whenever there is a problem, any problem, involving eclipse (no matter how tangential) the usual retort is to use intellij Dec 14 06:27:30 g00s: I actually have IntelliJ, and would be glad to use it, but I'm not using Eclipse at this juncture; I'm just trying to get the AVD to boot from the command-line, so I can remove one possible breakage point from the chain Dec 14 06:27:46 ooh Dec 14 06:27:54 well shit Dec 14 06:28:34 g00s: And I can start AVDs based on other device definitions, but any based on the "Google Nexus 7" definition just won't boot for me; I've tried multiple computers, all with >=12GB of RAM, 64-bit OS and 64-bit JDK Dec 14 06:28:37 the best i can recommend is trying teh various command line switches to the emu rurning on linux and qemu logginf Dec 14 06:28:55 *turning on Dec 14 06:29:23 g00s: have a URL handy that will cover those things? If not, I can google it myself, just thought you might know one off-hand. Dec 14 06:29:50 http://developer.android.com/tools/help/emulator.html Dec 14 06:30:05 for example, -verbose and stuff like that Dec 14 06:30:28 Thanks Dec 14 06:30:49 but it sounds like android is booting up, but something is busted at some very late stage Dec 14 06:31:26 yeah - the best I have so far is: *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread java.lang.NullPointerException at com.android.server.am.ActivityManagerService.showBootMessage(ActivityManagerService.java:4353) at com.android.server.ServerThread.run(SystemServer.java:389) Dec 14 06:35:26 i remember a long time ago, i had to start the emu with -noaudio or something like that - similar stuff would happen Dec 14 06:40:06 I think maybe I'm confused about something. If I create a 'layout-v11' folder, will it be used for anything v11 and up, or ONLY for v11? Dec 14 06:42:41 * Utoxin goes poking through docs some more, and finds the reference. Why do I never manage to find them before asking the question. Oh well. For anyone else curious: Yes, 'layout-v11' means anything that supports v11, which includes v12 and beyond. Dec 14 06:44:16 I have a ListView where I enforce the Contextual Actionbar upon longpress, however quick user tests show that they don't really figure out that they can longpress on a ListView row Dec 14 06:45:20 Hmmm. Not sure what a good solution is for that... does a regular click do anything? Dec 14 06:46:17 I assume yes. So... Hrm. Have a help screen that mentions it? Dec 14 06:49:56 Utoxin: I should probably have a help screen for it. :) Dec 14 06:50:40 * Utoxin eyes the clock, and his almost complete lack of UI progress tonight. UI is hard. *sigh* Wish I had a friend who was good at this part of it. ;) Dec 14 06:51:36 Trying to upgrade an old app of mine to support tablets properly, and make use of fragments and such. And having a heck of a time figuring out how to lay out the UI. Dec 14 06:51:44 Utoxin: Me too lol Dec 14 06:51:56 Never used fragments before Dec 14 06:52:09 I've barely started android programming, so I figured now is a better time than ever to learn Dec 14 06:52:19 I think I've got fragments figured out finally. I'm disperately ignoring the stage where I have to figure out ContentProviders. Dec 14 06:52:39 desperately, even Dec 14 06:53:19 you can cheat around them; there's some stuff on stackexchange about making alternate providers Dec 14 06:53:29 I spent a good chunk of the evening under the misconception that a version-specific layout folder only applied to that version, not to everything >= that version. Dec 14 06:54:13 dragorn: I'd rather do it right, and I'm sure I'll figure it out. I'm just postponing it by trying to figure out new UI. By the time I'm done beating my head on /this/ wall, that one will seem nice and soft. Dec 14 06:54:26 Where do you guys think I should place my "Select all"? The user needs to select n (1-list.size()) rows to proceed to the next "screen". Dec 14 06:54:28 I've got fragments pretty much down Dec 14 06:54:52 Maybe the CAB wasn't such a good idea after all. :( Dec 14 06:54:55 Utoxin: Brian|CS: take the development survey and mention your difficulties Dec 14 06:54:56 n20: sounds action-bary Dec 14 06:55:02 g00s: I have. :) Dec 14 06:55:05 g00s: Development survey? Dec 14 06:55:12 it shows up in the dev console Dec 14 06:55:19 maybe still on g+ post too Dec 14 06:55:25 Ah. Dec 14 06:55:29 Utoxin: Yeah, but I wonder if it goes as a regular menu item or CAB Dec 14 06:55:59 g00s: My problem isn't so much that I think they've done a bad job with the UI stuff. It's that I SUCK at UI design. I'm a backend coder. Have been for 12 years. Dec 14 06:56:09 ;) Dec 14 06:56:30 I'm having to train myself to think in whole new ways, and that takes time. Dec 14 06:56:53 Anyway... I think I'm calling it a night. Since there's only 4 minutes left in the day here. Dec 14 06:57:03 Utoxin: Night! Dec 14 06:57:26 Utoxin: consider http://www.amazon.com/Designing-Mobile-Interfaces-Steven-Hoober/dp/1449394639 Dec 14 06:57:58 * Utoxin throws it on his wishlist. Dec 14 06:58:12 And... now I'm closing quassel. :) Dec 14 07:01:32 i love this response to "Android Design in Action: Sleep Monitors and Backward Compatibility" Dec 14 07:01:47 "I've fallen asleep waiting for the +Nexus 4" Dec 14 07:02:50 I wish I could get N4 Dec 14 07:02:51 :D Dec 14 07:02:53 D; Dec 14 07:02:56 Fucking verizon Dec 14 07:02:58 Anyone want to take a stab at my issue? I have a list on which a click selects a row, but longpress pops a CAB with the option to select/deselect all list items. Dec 14 07:03:24 * n20 doesn't have an issue, but an "issue". Dec 14 07:03:46 froyo doesn't have CAB, so :D Dec 14 07:04:02 Via ABS? Dec 14 07:04:06 I think Dec 14 07:04:06 :D Dec 14 07:04:15 Yup, worked in 2.2 Dec 14 07:07:24 wow, someone wrote a book just on Fragments! http://www.amazon.com/Fragments-Penguin-Classics-English-Greek/dp/0142437654 Dec 14 07:09:01 Well, to be fair, that "someone" was Heraclitus in the 6th century. Dec 14 07:09:09 :) Dec 14 07:09:34 "greek area guy" Dec 14 07:11:52 looks like Dell gave up on Android Dec 14 07:12:40 i dont remember them having any android devices :| Dec 14 07:13:36 they had the first phablet, the streak - and they had a line of phones in China Dec 14 07:13:57 oh i thought the streak was an experiment Dec 14 07:14:57 g00s: there were few Dec 14 07:15:22 p_l: let me guess, you ported vms to all of them :D Dec 14 07:15:27 nah Dec 14 07:15:40 though I guess I could run SIMH-VAX on Android ;P Dec 14 07:19:41 bit offtopic but: are there any significant differences with the galaxy nexus sold by google or by samsung Dec 14 07:19:55 do both receive ota updates from google? Dec 14 07:20:27 deebo: with gnex, as long as it's not verizon, at worst you'll have to do a reflash once, AFAIK Dec 14 07:20:48 not verizon, european retail Dec 14 07:21:08 it has come down in price alot and would be a nice upgrade, but would have to buy the samsung version Dec 14 07:22:14 deebo: then at worst you'll have to reflash it once, afaik Dec 14 07:22:21 the hw is same, or so I recall Dec 14 07:22:28 wow, the google N1 is $180 Dec 14 07:22:34 (on amazon) Dec 14 07:22:35 I went with N4, though gnex was cheaper and available on-hand Dec 14 07:22:59 n4 is almost double price compared to gnex here Dec 14 07:23:04 and i dont want the glass back phone Dec 14 07:23:04 the hong kong version gets updates from samsung as they added the Chinese keyboard Dec 14 07:23:22 which sucks Dec 14 07:23:59 but all you need to do is reflash a google image from here: https://developers.google.com/android/nexus/images Dec 14 07:27:22 unless it's your girlfriend's phone, and she doesn't want you messing with it... Dec 14 07:31:30 * g00s thinks Leeds messed up his gf's phone a few times Dec 14 07:31:47 no, I've messed up my own - don't dare to mess up hers :) Dec 14 07:37:32 deebo: I'm getting a case later for it, but specs won for me Dec 14 07:38:09 if not for specs, I might have gone with SGS3, just for the physical home button Dec 14 07:48:57 Hi. how can i read the contents of an @array (string array) element/member? Dec 14 07:49:26 String[] myArray = getResources.getStringArray(R.array.something); Dec 14 07:49:32 i mean there is getString(string_id)... what would be the equivalent Dec 14 07:49:50 canadiancow, so that's it? Dec 14 07:50:07 aha ok Dec 14 07:50:41 all the resource methods are on the Resources class Dec 14 07:50:52 getString is just proxied into Context for covnenience Dec 14 07:50:54 yes! i understand Dec 14 07:51:09 i hate confusion Dec 14 08:00:16 gridlayout is pretty fancy Dec 14 08:00:20 im using it for the frist time :\ Dec 14 08:00:28 except i just stuck >9000 views in one row Dec 14 08:00:43 from action bar manual: "The easiest way to convey exactly what this entails is with an example." Dec 14 08:21:37 http://codepad.org/rTHqGtx3 - if anyone has an insight into why this won't boot, I'd appreciate it Dec 14 09:29:27 How do you mount a userdata.img to check what's in it? Dec 14 09:32:57 grundt: you have to mount it as loopback device thing Dec 14 09:33:09 Gachl: Which filesystem? Dec 14 09:33:21 loop Dec 14 09:33:23 mount -o loop Dec 14 09:33:45 mount -o loop -t userdata.img /mnt Dec 14 09:33:50 I'm looking for Dec 14 09:33:56 well you have to know that yourself Dec 14 09:34:04 oh userdata errrm Dec 14 09:34:11 I didn't create userdata, it came from the SDK Dec 14 09:34:39 and, AFAICT, it's broken in the newer 4.2 SDK Dec 14 09:34:55 I think you have to uncompress it first Dec 14 09:35:22 let me think, it's was called something like blah2img Dec 14 09:35:28 simg2img Dec 14 09:35:44 yea that's it Dec 14 09:36:06 simg2img and then mount the extracted file as ext4 I guess Dec 14 09:36:35 thanks Dec 14 09:40:11 This support for the six-axis ps3-controlelr is awesome, wounder if the controller is patented to hell or if there can exist an dedicated android-clone of it Dec 14 09:40:41 is there a channel for kendoui ? Dec 14 09:41:00 or.. does anyone have experience with it? Dec 14 09:41:54 interesting because they mention android http://www.theregister.co.uk/2012/12/13/stroustrup_on_c_plus_plus/ Dec 14 09:45:33 gave up on c++ a while ago Dec 14 09:46:09 even stroustrup doesn't like macros :) Dec 14 09:49:57 Can you tempoarly kill the GC in android? Dec 14 09:50:05 or suspend Dec 14 09:51:20 rynkan: yes, use c++ Dec 14 09:51:23 XD Dec 14 09:51:27 :) Dec 14 09:51:44 C++ is to "free" for me Dec 14 09:52:07 Like being in a box where the monsters cant get me Dec 14 09:52:11 new and free go together ;) Dec 14 09:53:01 But i relly need to learn ndk-development Dec 14 09:53:18 really* Dec 14 10:03:32 I have a Switch button. When the user is not connected to the internet I want to make it impossible to click this button (setClickable(false)) and show an error message. Any ideas how? Dec 14 10:03:39 Set onCheckedChangeListener is invoked _after_ the switch has been checked Dec 14 10:03:45 the same with set onClickListener Dec 14 10:03:52 and onTouchEvent causes indesirable effects as it registers multiple touch events Dec 14 10:27:03 hello guys Dec 14 10:28:12 Here my problem, I have start to work on my android project 5 months ago. Is it a good idea to make it open source to get some contributors ? Dec 14 10:29:02 is it easy to get contributors ? Dec 14 10:31:54 EvOox-: Open source project are a good things, it can help to keep your project alive but it require a few things such as well-commented code, VSC (git / subversion ... ) Dec 14 10:33:02 EvOox-: for the contributors it depend of the project, and on the tools you provide, if you just give a git without any thing else it will be hard to work sometime, if you provide wiki+git+bugreport+mailing list it will be very easy Dec 14 10:34:30 EvOox-: read http://producingoss.com/ , its free Dec 14 10:39:27 I'm missing something with actionBar, when I click on a logo, onOptionsItemSelected is not called Dec 14 10:40:02 as its written here: http://developer.android.com/guide/topics/ui/actionbar.html#Home Dec 14 10:53:15 squ: I hope the logo is from one of the items in the optionsmenu Dec 14 10:57:03 Can any one please tell me how can I update the facebook sdk for android? Dec 14 10:58:27 squ : getSupportActionBar().setHomeButtonEnabled(true) // if you use ABS, otherwise just getActionBar() Dec 14 10:58:47 and getSupportActionBar().setDisplayHomeAsUp(true); // you also want to add Dec 14 10:59:31 DO i just need to replace the stuff? Dec 14 10:59:34 in AndroidManifest i set android:theme="@style/Theme.Styled" like it is adviced here: http://actionbarsherlock.com/theming.html Dec 14 10:59:48 then I run on android 2.2 device and get this error: Dec 14 11:00:36 E/AndroidRuntime(7589): Caused by: java.lang.IllegalStateException: You must use Theme.Sherlock, Theme.Sherlock.Light, Theme.Sherlock.Light.DarkActionBar, or a derivative. Dec 14 11:01:07 yeah what exactly doesn't you understand at the exception :) Dec 14 11:01:12 it pretty much tells you what to do Dec 14 11:01:18 what? :) Dec 14 11:01:30 you must either use Theme.Sherlock, Theme.Sherlock.Light or Theme.Sherlock.Light.DarkActionBar Dec 14 11:01:44 but example uses these as parents Dec 14 11:01:44 or a derivative of any of these Dec 14 11:01:54 which is derivative Dec 14 11:01:56 have you? Dec 14 11:02:14 example: