**** BEGIN LOGGING AT Sat Mar 03 02:59:59 2012 Mar 03 03:18:31 t0mless: Thank you. That works :) Mar 03 04:19:51 Hi I'm noticing in logcat that GC_CONCURRENT freed is being called more than once a second for my application - what am I doing wrong? Mar 03 04:23:11 allocating lots of memory? Mar 03 04:24:15 is it slowing down your app? if not, then don't worry about it Mar 03 04:32:54 mrenouf: not really, but it's making logcat awfully messy. I was just wondering if it was indicative of something Mar 03 04:33:16 what is your app doing at the time? Mar 03 04:33:41 ziroday: do you know what the GC is? Mar 03 04:33:55 ziroday, ignore them, filter it out Mar 03 04:33:58 DrPenguin: aye, garbage collection Mar 03 04:34:01 ziroday, unless you have a memory issue Mar 03 04:34:38 pfn: that's what I was afraid of. I am changing a TextField every 30 seconds or so which appears to be the cause for the GC. Mar 03 04:34:56 every 30 seconds doesn't cause a gc cycle... Mar 03 04:35:00 and gc is normal Mar 03 04:35:12 sorry I mean every second Mar 03 04:35:13 it happens whenever your app is idle and it seems like memory can be reclaimed Mar 03 04:35:18 right Mar 03 04:35:40 all righty then, thanks! Mar 03 04:35:54 (oh is there a way to filter out the messages using a java regex?) Mar 03 04:37:25 why would you need a java regex Mar 03 04:37:34 logcat -s dalvikvm:w Mar 03 05:05:13 what's the unit for Bitmap's getHeight()? http://developer.android.com/reference/android/graphics/Bitmap.html#getHeight%28%29 Mar 03 05:05:19 is it pixels? Mar 03 05:22:31 hello is anyone there? Mar 03 05:23:38 anyone? Mar 03 05:26:10 ... Mar 03 05:28:33 no Mar 03 05:28:36 we're all sleeping Mar 03 05:28:38 go away Mar 03 05:28:48 wait - zhongfu ? Mar 03 05:28:56 what the... Mar 03 05:29:05 ohi Snuupy Mar 03 05:29:07 SUP Mar 03 05:29:11 ohai zhongfu Mar 03 05:29:12 SUP Mar 03 05:29:22 so... what phone you haz? Mar 03 05:29:23 :O Mar 03 05:29:43 uhhh... Mar 03 05:29:48 well Mar 03 05:29:57 I'm getting the playbook with android app player :P Mar 03 05:30:09 and I'm selling my BB for a captivate Mar 03 05:30:25 you? Mar 03 05:30:28 o.o Mar 03 05:30:31 ah okay Mar 03 05:30:34 a galaxy nexus Mar 03 05:30:35 GSM Mar 03 05:30:43 just upgraded 3 weeks ago from a HTC Touch2 (winmo) Mar 03 05:31:19 nice O: Mar 03 05:31:29 hi all Mar 03 05:31:37 i have this view in my project Mar 03 05:31:39 https://gist.github.com/1964562 Mar 03 05:31:40 it was the nexus s - not the galaxy nexus that didn't have an sd slot right? Mar 03 05:31:57 the textview with id "amenities" is a long field Mar 03 05:32:03 and goes off the screen for a bit Mar 03 05:32:30 i noticed in the graphical editor that the set width for it trails off the screen a bit(but is the actual width of the screen) Mar 03 05:32:46 i assume it is because it is sitting next to the amenitiesText textView Mar 03 05:33:05 Snuupy: the galnex has no SD Mar 03 05:33:12 Snuupy: nor usb mass storage Mar 03 05:33:13 anyone good enough at the layouts to help me out so that it doesnt go off the screen(btw it goes to 2 rows, but still trails off a little) Mar 03 05:34:27 dragorn: the galaxy nexus doesn't? D: Mar 03 05:34:40 Snuupy: correct. it does not. Mar 03 05:34:59 dragorn: that sucks. Thanks for the info. Mar 03 05:47:55 o.o Mar 03 05:48:20 Snuupy, just think of it as an boosted up iPhone Mar 03 05:48:22 16GB/32GB Mar 03 05:48:38 zhongfu: oh. the galnexus? Mar 03 05:51:59 yeh Mar 03 05:52:48 oh okay. Mar 03 05:52:55 GSII looks better though Mar 03 05:53:32 why would a gl application work only some of the time? runnin the same code on a droid2 gives different results Mar 03 05:53:51 Snuupy, if GSII Mar 03 05:53:56 why not wait for GSIII Mar 03 05:54:02 I'm not getting either of them Mar 03 05:54:06 my budget's too tight Mar 03 05:54:07 or GSIV Mar 03 06:44:15 how can an application run different without changing code?! fu droid2 it just works on my droid Mar 03 06:45:49 something must have changed in 2.3 Mar 03 06:47:46 no its weirder then that, its runs on the droid 2 some of the time Mar 03 06:48:33 the material and lighting work one time quit the app and its bork another time Mar 03 06:49:03 what's the exception you're getting? Mar 03 06:49:10 there is no pattern, no gl errors Mar 03 06:49:38 there is no visable errors the material is white, some of the time Mar 03 06:52:16 restarting the app somtimes fixes it and it looks right the whole time it runs Mar 03 07:46:52 morning all Mar 03 07:49:20 hai Mar 03 08:00:18 im having a bit of an issue with a troublesome imageview. i have this image view and a few buttons in a vertical linear layout. the image is small enough that it can be displayed fully with plenty of room for the buttons. however, setting the layout_height of the imageview to wrap_content, the activity displays whitespace above and below the image. this has the effect of shrinking the button to only a few pixels Mar 03 08:00:18 each at hte bottom of the screen Mar 03 08:00:30 ive tried setting padding to 0 with no effect Mar 03 08:00:53 if i set the layout_height to 450px (the height of the image) it displays as expected Mar 03 08:19:15 hey does anyone know how to enable sqlite rtree module for android? Mar 03 08:58:25 hi, I need a programmatic web browser. I've started using classic HTTPClient and it worked ok, but now I need something capable of executing javascript. Mar 03 08:58:44 I've tried to use httpunit but couldn't make it work Mar 03 08:59:08 and I'm googling htmlunit but it seems that nobody have been able to make it work either Mar 03 09:00:09 do you know some way to solve this? or do you know someone who could make httpunit or htmlunit work? Mar 03 09:00:44 just to know if it is possible. If it is, i can keep trying to make it work Mar 03 09:02:27 hi all =) im having imageview-related issues. i have an imageview and a few other layouts in a vertical linear layout. my issue is that even with wrap_content on the height and width of the image, there is a large (~100px) amount of whitespace above and below the image Mar 03 09:02:47 my layout code is here http://pastebin.com/W0rcmY3y Mar 03 09:03:18 adding a background colour to the view confirms the whitespace is part of the ImageView Mar 03 09:03:38 any ideas why the height is so much larger than the image height? Mar 03 09:06:41 I have a button in each item of a listView. I have set on click listener to these buttons inside the getView() of my custom adapter. Now, I'm not able to catch onItemClick event for list items. Can someone help me out? Mar 03 09:13:26 g_steinert, have you tried the android:padding setting, try setting it to 0px. Mar 03 09:14:38 napster, you will have to set android:focusable=false for your buttons. Mar 03 09:15:57 neevek: ive tried padding and layout_margin - both had no effect =( its almost as if it thinks the image is bigger than it actually is Mar 03 09:18:34 hey does anyone know how to enable sqlite rtree module for android without recompiling sqlite? Mar 03 09:22:33 hello. Is a git commit related (always) with a BTS bug?, thanks Mar 03 09:28:53 hmmm, it seems my problem is something to do with the difference between dp and px. The image is 450x450px. If i set the layout_height to 450px, it displays fine. if, however i use dp as the unit, it displays as it does if i use wrap_content Mar 03 09:30:48 Hello .. i am trying to build an app for offline synchronization. Is there any support for the sync4J java library in android ? Mar 03 09:33:44 Is it possible to force an activity recreate (onCreate()) every time it is launched with a given intent? Mar 03 09:35:22 neevek: it worked. Thank you. Mar 03 09:37:51 skfax, if you have android:launchMode="standard"(which is the default), you should already have your activity recreated every time you start it with an intent. Mar 03 09:38:39 skfax: if you want some code executed every time an activity is displayed, you can implement the start() or resume() functions Mar 03 09:39:52 It's for a PreferenceActivity, where I need to load the SharedPreferences from a database before I set up the Preferences (it sounds silly) Mar 03 09:40:35 neevek: Thanks :) I'm getting the correct behavior now, I'm just going over things to ensure that I know why they are working Mar 03 09:41:31 It's a configuration activity for an app widget (which launches other activities), so when started with the intent I always want a clean task with only the newly created root configuration activity Mar 03 09:42:28 if you want to reload the data everytime the activity is brought to front, you only need to do the reload in onResume(), recreating the activity is kinda overkill. Mar 03 09:44:12 I could do that, but I'd have to figure out how to make sure the preferences didn't interfere with me loading new data while they are active, also I'd need to refresh all preference state afterwards Mar 03 09:58:33 hello , installing Busybox gives that error : http://bitsy.me/img4dy - WTF? Mar 03 10:10:23 hey everyone Mar 03 10:10:55 is there anyway that i can parse a string directly to an arraylist? i will be takign an arraylist.tostring() sending it json and reconstructing it Mar 03 10:12:43 hello , installing Busybox gives that error : http://bitsy.me/img4dy - WTF? Mar 03 10:13:00 try asking again Mar 03 10:14:41 hey is someone here who uses perst emdb? Mar 03 10:17:22 what does dp stand for? in a margin tag in xml for example Mar 03 10:17:25 10dp ? Mar 03 10:29:40 Tashtego: http://developer.android.com/guide/topics/resources/more-resources.html#Dimension Mar 03 10:36:04 ok density independent unit. nice. but what if i do it programmatically? setWidth(10); this is an int. is it a dp int? or what unit is it when i do it in java? Mar 03 10:49:28 This doesnt make sense. I have a server that is a server socket / web server. I can access it through my browser on my pc. But my web view in the same android device can't find http://127.0.0.1:4444/ Mar 03 10:49:46 hi guys i'd like to let the user send one file generated from my app via email. Actually for do that i save the file on te sd card and i send the intent for the email. The problem is that the file remains saved on the sd card. In your opinion there is a way to do thayt without saving it? Mar 03 10:50:09 squeakytoy, use 10.0.0.2 Mar 03 10:50:42 10.0.2.2, sorry Mar 03 10:51:17 127.0.0.1 is the localhost of your emulator ;) Mar 03 10:58:18 hmm my code is: http://pastebin.com/g5FY6Vkm it looks like: http://picpaste.de/screen-5246Hk8G.png now how can i make the favorite label broader? tell it to get a weight of 5 for example? Mar 03 10:59:47 anyone ever worked with an embedded web server? Mar 03 11:00:42 my table row elements use the layoutparams from the outer table layout. this works. but if i define a new layout for the inner elements with a different weight, they arent being shown anymore Mar 03 11:01:40 i dont want the table row elements to be even in weight. some should be broader than others. favorite label in this example should be bigger Mar 03 11:07:36 hey all, can anyone tell me what Im doing wrong here? I seem to occasionally get a nullpointerexception here: http://pastebin.com/z6HiRc5z Mar 03 11:08:07 the nullpointer exception triggers on the first line there Mar 03 11:08:17 might it be because no external storage is available, or? Mar 03 11:15:08 Untouchab1e: getExternalFilesDir() "Returns null if external storage is not currently mounted so it could not ensure the path exists; you will need to call this method again when it is available." Mar 03 11:15:26 skfax: ah, right! Mar 03 11:15:30 so I should put a try/catch in there then Mar 03 11:15:42 You should check the state of the external storage Mar 03 11:15:56 SimonVT: even better, any pointers on how I can do that? Mar 03 11:16:09 Look at the "data storage" page on the dev site Mar 03 11:16:13 It has an example Mar 03 11:20:32 SimonVT: thanks Mar 03 11:21:04 hm, what are the different ways an apps can talk to each other? Mar 03 11:21:48 hm, what are the different ways apps can talk to each other?* Mar 03 11:26:43 squeakytoy, intent? Mar 03 11:26:57 maybe sockets/serversockets too Mar 03 11:26:58 hm Mar 03 11:28:22 I seem to be having a problem understanding widgets and whatever tutorial or whatever I find do not exactly make it easier. I am in need of parsing a simple string to a widget, and whenever that string updates, I need to update the widget. How would I do that? Mar 03 11:28:52 squeakytoy, tecnically you could but you should keep the server process running all the time. not a good idea. Mar 03 11:30:20 hm Mar 03 11:32:03 intents are more suitable because with BroadcastReceiver if the server process is not running it is automatically started. Mar 03 11:33:47 hmmmmmmm! Mar 03 11:34:00 its possible to create custom intents, right? Mar 03 11:34:07 thats a pretty cool idea Mar 03 11:43:20 squeakytoy, what do you mean with custom intent? Mar 03 11:43:31 custom actions Mar 03 11:43:38 yes, of course Mar 03 11:43:46 which is really awesome tbh Mar 03 11:44:00 sending out a hello.world.intent.234 which other apps can listen to Mar 03 11:44:47 Do you think I should have a quit button in my game? Mar 03 11:45:18 would people use it? Mar 03 11:45:42 Maybe, I have no idea Mar 03 11:45:44 i probably wouldnt, i hit home or back Mar 03 11:45:48 ah Mar 03 11:46:04 or the power button to end it quickly :-) Mar 03 11:46:30 generally, you don't want a quit button Mar 03 11:46:31 hmm, can you quit a game with the power button? Mar 03 11:47:28 home will *always* take users out of your app, and back should do something sensible Mar 03 11:49:47 When I played MineCraft today it froze. Is it possible to still quit it by force closing the game or something, or do I have to restart my phone? Mar 03 11:51:26 hold down your home button Mar 03 11:51:41 Okay, I'll try that next time Mar 03 11:56:50 hm, what takes more performance/battery. Having a serversocket up and running 24/7, or open a socket to a server every...15 seconds Mar 03 11:56:52 hm, what takes more performance/battery. Having a serversocket up and running 24/7, or open a socket to a server every...15 seconds? Mar 03 11:57:18 huh Mar 03 11:57:28 creation of intent fails with NoClassDefFound O.o Mar 03 11:59:38 hm, my question didnt make sense. What takes more performance/battery. Having a socket-connection up and running 24/7, or open a socket to the server every.. 15 seconds? Mar 03 12:00:37 um, I sense you're trying to do something terryibly awful Mar 03 12:00:48 squeakytoy, can you describe your use-case? Mar 03 12:01:01 are you sending data to server? receiving? polling for updates? Mar 03 12:01:01 need to create push service Mar 03 12:01:11 well Mar 03 12:01:22 use integrated push service Mar 03 12:01:29 that'll use by far the least battery Mar 03 12:01:34 everything else will be noticably worse Mar 03 12:02:02 is there a push solution in android? Mar 03 12:02:13 you are not thinking of push notications? Mar 03 12:02:13 squeakytoy, yep Mar 03 12:02:16 squeakytoy, http://code.google.com/intl/sl/android/c2dm/ Mar 03 12:02:33 squeakytoy, what do you think the difference is? Mar 03 12:02:49 notications are UI alerts Mar 03 12:03:05 well Mar 03 12:03:12 here you get data pushed Mar 03 12:03:24 and you decide if you want to create UI alert in code Mar 03 12:03:28 this is not iOS :P Mar 03 12:06:42 is C2DM a part of the Android core libraries? Mar 03 12:06:54 part of Google libraries Mar 03 12:07:09 so, not a part of Android. hm Mar 03 12:07:17 yes, part of android Mar 03 12:07:21 part of google android libraries Mar 03 12:07:26 ah, ok Mar 03 12:07:27 go read the docs ffs. Mar 03 12:07:39 devices with android market have those libraries Mar 03 12:07:54 devices without android market (And other Google apps like gmail, maps, youtube etc.) don't Mar 03 12:08:10 i am reading the docs Mar 03 12:08:29 but isnt weird its on code.google.com than devloper.android.com if its apart of android? Mar 03 12:16:46 what did you mean g_steinert ? my table row is fill_parent, fill_parent. without weights Mar 03 12:17:09 and textview is textViewLayoutParams = new TableRow.LayoutParams(0, WRAP_CONTENT, 1); Mar 03 12:20:43 where can I find out about "good practice" for app releases on Android? Mar 03 12:20:55 hmmm...what was worded horribly Mar 03 12:21:36 what I mean is, how do I know how to number my app releases? is there a standard that Android follows? Mar 03 12:21:43 something like x.x.x Mar 03 12:22:04 what counts as a release, what counts as a feature upgrade, etc... Mar 03 12:22:14 Version numbers are meaningless afaik. Mar 03 12:22:32 but they have to be there..I can't just say "this is the new one, it's ALSO called 1.0!" Mar 03 12:22:34 there is not one standard everybody follows. If there was, you would know, but there's no way to know what kind of upgrade 5.1 is to 5.2, or 5 to 6. Mar 03 12:22:54 you don't even have to use a number Mar 03 12:23:08 see I've already started doing that on Freecode Mar 03 12:23:17 * Tashtego seeks out for g_steinert... are you there? ;) Mar 03 12:23:23 see this, http://freecode.com/projects/cura Mar 03 12:23:38 it's completely screwed up Mar 03 12:23:42 linux kernel versions are particularly bizarre because you have 2.6.x. The 2.6 part was just fixed and (nearly) meaningless, so they coalesced it and called it 3 Mar 03 12:23:48 so now we have 3.x instead of 2.6.x Mar 03 12:23:54 3.2.8 is out by the way Mar 03 12:24:05 before the market included changelogs, people actually included their entire update announcements in the version 'number' Mar 03 12:24:40 Tashtego: im here =) where you have - new TableRow.LayoutParams(0, WRAP_CONTENT, 1); you need to change TableRow to the type of layout that the table row is being added to (just for the tablerow object) Mar 03 12:24:49 Anyone with experience/educated guess. What takes more performance/battery. Having a socket-connection up and running 24/7, or open a socket to the server every.. 15 seconds? for checking for updates. Mar 03 12:25:15 and my favorite whipping boy is binutils Mar 03 12:25:31 g_steinert wait a second.... i think i found the bug ;) .... Mar 03 12:25:34 arrrg Mar 03 12:25:36 oh well, it *used* to have a really long and convoluted version string, not anymore. Sorry. Mar 03 12:25:44 check the "//Apply layout params" ... Mar 03 12:25:52 textViewFavorite.setLayoutParams(tableRowLayoutParamsFavorite);... Mar 03 12:26:13 squeakytoy: i cant comment directly on your question, but if you check every x seconds you have the opportunity to find the best compromise between speed of updates and power consumption Mar 03 12:26:23 copy paste... Mar 03 12:27:20 Tashtego: haha! thats what you get for being lazy =/ lol Mar 03 12:28:02 not really in that case Mar 03 12:28:13 i was thinking that i have to use the layout params from the parent container Mar 03 12:28:20 in case of textview the parent was the table row Mar 03 12:28:23 taht was in my code Mar 03 12:28:30 but your code gets another way Mar 03 12:28:38 by defining layout params for every element Mar 03 12:28:53 but you didnt change the code to use those defined layouts and i didnt see it at first ;) Mar 03 12:29:03 however i am thankful for every help ;) Mar 03 12:29:19 and finally... IT WORKS ;) Mar 03 12:29:25 you were right. THANK YOU!! Mar 03 12:29:27 Tashtego: no problem =) glad i could help Mar 03 12:29:38 baaaaam =) Mar 03 12:30:02 its given me a break from my own issues =P im having dp vs px issues =/ Mar 03 12:30:35 sounds evil :( frontend stuff / designing views is really painful Mar 03 12:31:29 i would love to help you out but i guess you are fare more expierenced than me. its my first android app Mar 03 12:32:10 Tashtego: i wouldn't call myself experienced, more that second set of eyes that can see the bit of logic you missed =P Mar 03 12:32:33 I'm just going to go about it like such; I have 6 modules to be implemented and until they're all implemented, it's going to be in the format of 0.. Mar 03 12:33:02 so 3 modules that just got a fix would be 0.3.1 Mar 03 12:34:06 and when all 6 have been implemented (meaning that the app is finally delivering what it promised), it'll be 1.x.x Mar 03 12:34:13 sounds good Mar 03 12:50:11 I'm trying to get a simple TextView widget to update from an activity. How would I go about this? Mar 03 12:52:33 well I'd think you'd have to update the textview with the contents of whatever the activity's returning/doing Mar 03 12:52:43 myTextView.setText () maybe? Mar 03 12:53:09 Would the widget get updated too then? Mar 03 12:53:19 If so, then it's pretty easy. Mar 03 12:53:28 everything on android is pretty easy Mar 03 12:53:35 EXCEPT FOR GODDAMN THREADS! Mar 03 12:53:45 lol Mar 03 12:54:05 threads are hard everywhere, not just on android Mar 03 12:54:17 I just use java threads for Android. Mar 03 12:54:33 AsyncTask is easier than java threads Mar 03 12:54:34 lol Mar 03 12:55:21 not really, AsyncTask has *more* things to it, but for the things you need to actually do on android, AsyncTask is easier. Mar 03 12:55:47 Anyway, the onUpdate method in the widget, do I need to call that or does that update itself? Mar 03 12:56:12 I think you've got some reading to do Mar 03 12:56:22 Moopz: I think you just set a new text in it and that's that? Mar 03 12:57:06 Sicp: Well you get conflicting information everywhere. Somewhere they call the onUpdate method from a service and stuff so. Mar 03 12:58:21 I know you set the update period in your provider but does that mean it calls onUpdate at that interval? Mar 03 12:58:32 Yes' Mar 03 12:58:36 Alright. Mar 03 13:00:09 Oh I see, this is a widget thingy... duh, too long. I keep on thinking as "widget = any gui object". :-/ Mar 03 13:00:47 They should have a better name like launchlet or something. Mar 03 13:15:00 What is Android Market using above the ViewPager? Mar 03 13:15:13 Where all the "tab titles" are. Mar 03 13:15:25 Feels a bit like a gallery. Mar 03 13:19:05 hello guys, question Mar 03 13:19:11 how can i collect audit data on android? Mar 03 13:19:17 any ideas Mar 03 13:19:22 this means data such as which app access which directories/files on a system, also the packages outgoing and incoming, also buttery consumption, andrid keyboard usage, camera usage, who uses them, at what time Mar 03 13:29:22 ArrayList.clear() throws a nullpointerexception Mar 03 13:29:38 gah, was supposed to post this in java Mar 03 13:37:23 Kake_Fisk: Well, have you initialized your ArrayList? Mar 03 13:38:04 I figured it out. I passed it to a constructor, but hadn't wrote the code for receiving it on the other end. Mar 03 13:39:05 how can I have an imagebutton appear transparent when Normal and "default button click color" when clicked? I tried setting background color to @null but then it's always transparente (no UI feedback when pressed) Mar 03 13:39:33 ping romainguy_ > Are you familiar with the actual structure of the swipey tabs? I can't quite figure out what the "tab title bar" consists of. Mar 03 13:52:09 Can i change the return/enter/next button on the virtual keyboard to say "Search" in an ordinary EditText? Mar 03 14:05:31 Is there a way to programmatically set my Android to "Stun?" Mar 03 14:06:53 Hi, I want to create a custom camera app that records video, plays it back and uploads it via HTTP POST. Can anyone give me a list of API classes I'll need off the top of their head? Mar 03 14:07:37 ... Mar 03 14:12:24 Puck6633: i'm doing exactly the same but with images and i've lost my desire to live Mar 03 14:12:47 haha. That bad, huh? Mar 03 14:13:24 Looks like I'll need MediaRecorder, MediaPlayer, and AndroidHttpClient.. But I'm wondering if I'm missing anything. Mar 03 14:14:07 Puck6633: i'd say you should start laying out your GUI and first make it fire the camera app Mar 03 14:14:30 use the built in camera app. don't get funky Mar 03 14:14:36 I know in ActionScript for example, you can perform a file upload using the HTTP request class, but it's much easier to upload a file using the FileReference class.. Mar 03 14:15:17 I really need to customize it unfortunately. The app needs to do some pretty funky stuff with the video recorder before it's finished. Mar 03 14:15:19 Puck6633: i had to use Apache's HttpClient because the one in android was too old (or that's what most blogs said) Mar 03 14:16:00 Really? It can't even handle a chunked POST file upload? Mar 03 14:17:38 Maybe I should experiment just with the HttpClient using the AVD and a local server before I try anything more complicated... Thanks for the advice! Mar 03 14:18:59 Hm.. What about this? http://reecon.wordpress.com/2010/04/25/uploading-files-to-http-server-using-post-android-sdk/ Mar 03 14:20:46 Puck6633: same code i think, i'm just using a newer version (just dropped a newer JAR in my app) Mar 03 14:21:32 You're saying code like that was not functioning with the client included in the SDK? Mar 03 14:22:02 That's bizarre.. Where did you get an updated client? Mar 03 14:24:50 Puck6633: i didn't try. i just copypasted some code and followed instructions Mar 03 14:25:14 Puck6633: hc.apache.org Mar 03 14:26:26 Thanks, I'll keep that in mind! Mar 03 14:30:17 hey Mar 03 14:30:31 can anyone help me by collisions in java Mar 03 14:30:39 android^ Mar 03 14:31:09 can anyone help me by collisions in java (android) Mar 03 14:36:07 is anyone here a lawyer? Mar 03 14:38:20 what ? Mar 03 14:38:32 i need a bit of legal advice Mar 03 14:38:44 concerning app development Mar 03 14:40:43 No lawyer gives out free advice on the internet. Mar 03 14:40:55 Pay somebody with an office. Mar 03 14:42:36 Hi guys I got this big problem with NFC and Android ICS (4.0.2/4.0.3). Someone know how to solve or have some advice for me? http://stackoverflow.com/questions/9517209/android-nfc-not-working-with-ics Mar 03 14:42:41 Tricknology: there are a lot of law-related forums on the internet, why you would except lawyers here. Mar 03 14:43:06 freecandy: god this is so funny... you should have said "don't trust anyone you met on the internet" with the nick you have Mar 03 14:43:25 http://www.duncanchannon.com/wp-content/uploads/2009/02/free-candy-van.jpg Mar 03 14:48:48 is it possible to cancel a ringtone played by the system? Mar 03 14:53:11 seems legit Mar 03 14:53:23 Yes, yes Mar 03 14:53:26 of course, Kake_Fisk Mar 03 15:11:20 On Android I can't just write a file to the root directory? Mar 03 15:13:17 Kake_Fisk: no, you cant. Mar 03 15:13:38 Ge0rG, after mounting it as r/w-able? Mar 03 15:14:01 ah, then that's probably why I get the error Mar 03 15:14:27 zhongfu: not even then, unless you run your app as root Mar 03 15:14:42 IF Mar 03 15:14:43 I'm not sure where to write the file then. Maybe to the sd card? Mar 03 15:14:45 ah, okay Mar 03 15:14:49 Kake_Fisk, yep Mar 03 15:14:57 But if there is no memory card? Mar 03 15:15:01 how about .appnameconfig Mar 03 15:15:05 Kake_Fisk, like the galaxy nexus? Mar 03 15:15:12 the galaxy nexus has a virtual SD card Mar 03 15:15:16 mounted at /sdcard Mar 03 15:15:22 or /mnt/sdcard Mar 03 15:15:27 If I remove my sd card, there will be no sd card Mar 03 15:15:46 don't you write it to the data directory Mar 03 15:15:48 or something Mar 03 15:15:51 like in /data/data Mar 03 15:15:53 e.g. Mar 03 15:16:10 Is there some kind of open file dialog on Android? Mar 03 15:16:16 /data/data/com.kake_fisk.derpapp.paid/derpherpderp Mar 03 15:16:21 galaxy SII has /mnt/sdcard as internal storage and /mnt/sdcard/external_sd or something as the SD card itself Mar 03 15:16:31 Kake_Fisk, yes.. hmmmm Mar 03 15:16:36 took a while to figure that out :P Mar 03 15:16:37 on ICS, there is Mar 03 15:16:45 if you open a pdf for example Mar 03 15:16:47 ~ICS Mar 03 15:16:51 android will ask you to choose a reader Mar 03 15:16:59 adobe reader, builtin reader, docstogo etc Mar 03 15:17:15 Okay, because I wanted to let the user chose where he wants to save the file he makes Mar 03 15:17:42 OH Mar 03 15:17:43 that... Mar 03 15:17:45 well... Mar 03 15:17:48 Kake_Fisk, no Mar 03 15:17:52 that's when you OPEN a pdf Mar 03 15:17:53 ah, okay :| Mar 03 15:17:56 or any file Mar 03 15:18:02 Kake_Fisk, lemme check docstogo Mar 03 15:18:05 and see how they do it Mar 03 15:18:14 I guess I'll just let the user write the filename Mar 03 15:18:22 hmm Mar 03 15:18:25 I am having problems with setting up the SDK on Netbeans: The files in /res/layout are not automatically included in R.layout, so I can for example not set the view to main.xml Mar 03 15:18:46 Are you importing the right R? Mar 03 15:22:28 android.R? Mar 03 15:22:53 No, your.package.R Mar 03 15:23:05 Never ever import android.R, it only leads to confusion Mar 03 15:23:18 Ah Mar 03 15:23:26 Well, that would explain it, thanks Mar 03 15:28:00 Can't I just use openFileOutput for writing files? Mar 03 15:28:23 Then it would be written in the right folder Mar 03 15:29:19 Yes, that's the point of those helper methods. You should never need to hardcode the path Mar 03 15:29:32 okay, nice. I'll try that Mar 03 15:30:07 Only thing is that I have to pass the activity around all the time :| Mar 03 15:32:26 Hi people. I'd like when doing a fast scrolling to show a hint on the user about how far he has scrolled Mar 03 15:32:34 like display a date Mar 03 15:32:38 or a page number Mar 03 15:32:43 is it doable? Mar 03 15:33:26 Kake_Fisk, Mar 03 15:35:48 Any other way to get the context? A static member or something? Mar 03 15:35:57 no Mar 03 15:35:58 nonono Mar 03 15:36:12 why? Mar 03 15:36:21 I mean, you said "nononono" Mar 03 15:36:36 I mean, sure, you can. But that's a memory leak waiting to happen Mar 03 15:36:52 oh Mar 03 15:37:09 I don't see how Java can have memory leeks Mar 03 15:37:11 leaks* Mar 03 15:37:23 You pass everything by reference Mar 03 15:37:40 Well, not really a leak Mar 03 15:37:48 But say you keep a static reference to an activity Mar 03 15:37:56 And that activity is finished Mar 03 15:38:07 The memory is never cleared, cus you're keeping a reference Mar 03 15:38:13 anything that still has an active reference wont be cleaned up Mar 03 15:38:15 oh, I see Mar 03 15:38:18 so you can still fuck it up royally Mar 03 15:38:19 Then you start your activity again Mar 03 15:38:27 Now you suddently have 2 instances of the same activity in memory Mar 03 15:38:44 o.o Mar 03 15:39:02 What if have a static Context getContext() in my Activity? Mar 03 15:39:08 which returns this or something Mar 03 15:39:16 Can't Mar 03 15:39:53 So only possibility is to pass the context down into my class hierchy? :| Mar 03 15:39:53 "this" references to the current object instance Mar 03 15:40:13 oh, true Mar 03 15:40:23 Yes, pass context Mar 03 15:41:26 ah, okay :| Mar 03 15:42:25 Sounds cumbersome, but if that's the best way, I'll do it :) Mar 03 15:43:09 Not really, you get used to it Mar 03 15:43:16 yeah, I see Mar 03 15:45:40 Kake_Fisk, http://i.minus.com/ibrhVde8ck70Xu.png Mar 03 15:47:23 hmm, what is that? Mar 03 15:47:34 You made it or is it inbuilt? Mar 03 15:50:00 hey Mar 03 15:50:10 how i make a collsision in java android ? Mar 03 15:50:12 argh bricked my vega Mar 03 15:51:28 how i make a collsision in java android ? Mar 03 15:52:36 Hourmin: how i make a collsision in java android ? Mar 03 15:53:03 yes how Mar 03 15:53:28 I have to go :S Mar 03 15:53:40 Hourmin: how i make a collsision in java android ? yes how Mar 03 15:53:53 yes how Mar 03 15:53:55 ?? Mar 03 15:53:59 i will know that pls Mar 03 15:54:23 Hourmin: how i make a collsision in java android ? yes how yes how ?? i will know that pls Mar 03 15:57:14 oh my Mar 03 15:57:29 hello Mar 03 15:57:38 hai Mar 03 15:58:50 how i make collision with 2 objects Mar 03 16:00:07 hi, could someone have a quick look? it's almost a straight copy from the android samples and very simple, but it crashes Mar 03 16:00:16 it's a simple layout crashed when inflated Mar 03 16:00:24 layout: http://pastebin.com/tzhKpdfi Mar 03 16:00:34 inflating this way: http://pastebin.com/GE4nXW99 Mar 03 16:00:47 error I get: Mar 03 16:01:55 http://pastebin.com/Jqc9eSJs Mar 03 16:02:16 srr last thing is wrong Mar 03 16:04:22 this is right: http://pastebin.com/f3KGZ456 Mar 03 16:06:15 General Java/OOP q: If I'm using a library and want one little thing buried way down in the class hierarchy tweaked, do I have to override the big class, then the class it references, etc. all the way down to what I want to tweak, or is there an easier way? Mar 03 16:08:19 freecandy: if C extends B and B extends A and you want a C2, you can extend C and override the methods you want to tweak, or extend B and "rewrite" C from scratch. is that your question? Mar 03 16:09:10 io2012 Mar 03 16:09:11 take me Mar 03 16:10:58 Not exactly, if a C involves (sorry don't know the terminology, but a C is a B with other stuff) a B and B involves an A and there's a method M on A's, but I want that method turned off, what can I do? Mar 03 16:12:29 But generally, yes, is OOP fundamentally opposed to modularity? Seems like situations like this cause a lot of forking. Mar 03 16:12:46 good evening Mar 03 16:13:07 freecandy: you want to have A, B and C and "disable" methods from A so they also disappear from B and C then? Mar 03 16:13:26 Yes. Mar 03 16:13:31 or you want to have A and B have a method, but C not? Mar 03 16:14:39 hmm, anyone have suggestions of something that's similiar to google adbmob in that it's a jar that i add to an app and provides activities and views, but is OS so i can see how it's done? Mar 03 16:14:55 C is what the user sees. I don't care what A and B can do, I just want the user to not have M, and I'd like for my sake to not have to dig into A and B just to disable M. Mar 03 16:15:03 freecandy: either way, if you find yourself in that situation is because you didn't think your class hierarchy through :P Mar 03 16:15:35 anyone has an idea? layout: http://pastebin.com/tzhKpdfi way I inflate: http://pastebin.com/GE4nXW99 and error: http://pastebin.com/f3KGZ456 I just don't see whats wrong Mar 03 16:16:50 freecandy: maybe it can be done with Reflection. start reading here http://tutorials.jenkov.com/java-reflection/private-fields-and-methods.html Mar 03 16:16:51 or is this more simple than I expect Mar 03 16:16:56 The library authors thought it through for me. I'm a n00b and not in a place to cast blame on them when I could be at fault. If they're competent, and I think they are, where would I look for the option to disable a method? Mar 03 16:17:12 Thanks! Mar 03 16:17:49 hey guys, i have a class named product that holds some variables. i have another class named basket that holds an array of product. If i want basket to live through an activity change how do i do that? Mar 03 16:21:40 Hey ho. Mar 03 16:21:55 hi Mar 03 16:21:58 Is it possible to turn on the Android 4 on screen buttons for a phone that has old hardware buttons? Mar 03 16:22:39 I'm asking because of the Lumigon T2. It will be released with Android 4 but has old Android 2 hardware buttons. So there is no simple one click app switching, you have to hold down the home button. :( Mar 03 16:23:26 It would be great if you could just turn off the lights of the hardware back and menu button and show the three Android 4 buttons on screen, like on a Galaxy Nexus. Is that possible? Mar 03 16:27:34 anyone know of a good work-around for this issue:- http://code.google.com/p/android/issues/detail?id=22493 ? Mar 03 16:30:36 I'm too lazy to click on the link, can you give us a quick abstract? Mar 03 16:31:23 basically make textview text big, textview grows, make the text small again, textview stays big Mar 03 16:31:28 only in issue in ICS Mar 03 16:32:27 Uhm, do you want this behaviour or do you don't want it? Mar 03 16:33:20 I don't want it, the textview is set to wrap_content Mar 03 16:33:35 You could delete it and insert a new one? Mar 03 16:33:37 there's a really simple example attached to that issue Mar 03 16:33:54 not for my use case Mar 03 16:34:11 trembul, look behind you! Mar 03 16:34:31 I handle onSizeChanged and set the text size smaller and smaller until it fits on one line Mar 03 16:41:49 Anybody actually here? Mar 03 16:42:50 nope Mar 03 16:42:58 Definitely not. Mar 03 16:44:02 i am also not Mar 03 16:44:06 hey guys, i have a class named product that holds some variables. i have another class named basket that holds an array of product. If i want basket to live through an activity change how do i do that? Mar 03 16:44:19 huh? Mar 03 16:45:05 heh Mar 03 16:45:15 Bummer. That's what I thought. Mar 03 16:45:21 i have an arraylist Mar 03 16:45:29 product has soem variables Mar 03 16:45:34 Tricknology: you could store it to a datastore. whether that is sqlite, some preference, or xml Mar 03 16:45:47 Make it Parcelable and save it in onSaveInstanceState Mar 03 16:45:56 on thanks Mar 03 16:46:06 simon, i think that is the quicker way to go, n? Mar 03 16:46:23 this keyboard blows, sorry. Mar 03 16:47:01 Widget development is annoying, given the limitations imposed by remoteViews. Mar 03 16:48:08 Chronax: *Android development is annoying FTFY Mar 03 16:49:56 Anybody know anything about widget development? If not, I'm not going to bother typing out my question. :) Mar 03 16:55:54 freecandy: so why do you want to disable a method Mar 03 16:56:03 i mean doin it with reflection happens at run-time Mar 03 16:56:44 pretty much the same effect as ...never calling the method anyway, since if you disable it and some function calls it, bad things happen Mar 03 16:57:36 Like I said, I'm a n00b, so maybe I used the wrong term. How can I never call it if I call the top function in this big library that calls something that calls something that calls something that calls it? Mar 03 16:59:12 To be precise, I'm using zxing, an all-purpose barcode scanning library, and that puts a red line across the camera to show you an analogue of the laser in grocery stores. But I'm just scanning QR codes, so the laser makes no sense and I want the red line deactivated. Mar 03 17:00:44 But it's way down there in ye olde pile of code. Is there a shortcut or do I copy-paste all the classes and make top2 call middle2 call low2 where I finally tell it not to draw the red line? Mar 03 17:01:28 freecandy: you need to redefine it to never return anything. if it returns void, redefine it with an empty value. if it returns something, hardcode a fixed value Mar 03 17:01:49 freecandy: i guess you can redefine a class through reflection Mar 03 17:03:15 freecandy: and when i say redefine the method with an empty value i mean an empty body Mar 03 17:03:50 freecandy: http://stackoverflow.com/questions/1054777/java-reflection-how-do-i-override-or-generate-methods-at-runtime Mar 03 17:03:56 By redefine, do you mean editing the library? That means future updates to the library will all require me to redo the work, unless I'm wrong. Mar 03 17:07:55 freecandy: no i mean redefining it via reflection. at run-time Mar 03 17:10:01 Is that kosher? I'll do the work if the work is the right way of doing things. Mar 03 17:11:48 freecandy: well, reflection and class injection, runtime loading, and other funky stuff are used in java from time to time Mar 03 17:12:20 it's not the best thing to do but as you say, if you did it the other way you'd have to patch the library every time you upgrade it Mar 03 17:12:37 why are the dependencies broken since sdk r14 when building with ant, and how can that be fixed? Mar 03 17:13:58 It is an open-source library, so if there's a need to make it more flexible, I can always submit my patch. But good to know a workaround in case they're not so flexible. Thanks! Mar 03 17:31:29 can a view replace itself within it's parent? Mar 03 17:37:29 freecandy: Mar 03 17:37:35 where can i find the code? Mar 03 17:38:13 me? Did I say something that indicates that I know something? Mar 03 17:38:31 compat library Mar 03 17:39:34 zxing was the only library I referenced. It's on the google. Mar 03 17:40:28 oops Mar 03 17:40:32 I miscatched Mar 03 17:40:32 I'm trying to build a very efficient object caching library for my application… Is there any way that I can… listen for the onTrimMemory call in the cache class? Mar 03 17:40:33 sorry Mar 03 17:41:31 Do I just implement ComponentCallbacks2? Mar 03 17:45:03 you know what id like in the dialog that pops up for which device to deploy to? Mar 03 17:45:10 some kind of description other than a serial number Mar 03 17:48:55 So I have this static variable in a class which I access in a widget through the onUpdate method. I modify the static variable through some methods in the class it's declared in yet my widget doesn't seem to get the updates? Why is that? Mar 03 17:52:15 /log * Mar 03 17:52:50 Not sure if that was for me or? Mar 03 17:57:24 Hello. I am trying to get an application on Android's browser View Image without luck. Any clue how I need to write the filter in the manifest? Mar 03 18:02:54 hi Mar 03 18:03:42 hjf: Just so you know, the code I linked before (http://reecon.wordpress.com/2010/04/25/uploading-files-to-http-server-using-post-android-sdk/) did end up working for a POST file upload. I just created an application with a TextView and a Button that runs that code when clicked and fills the TextView with the result, then added the internet permission to the minifest file and tested it with an upload handler script on my local testing Mar 03 18:04:32 It executes properly on the emulator and on my Evo 3D. Mar 03 18:05:09 (By that I mean it returns 200 - OK and the file is saved server-side) Mar 03 18:15:14 hm, is it possible to specify that my app depends on another app? Mar 03 18:16:34 Dudes. Is there any way for me to set a view's visibility to another view's visibility in a layout xml? Mar 03 18:17:24 Chronax: you mean to make one dependent on the other? Mar 03 18:17:31 Yeah, exactly. Mar 03 18:17:40 View1.visibility = View2.visibility Mar 03 18:17:47 Doubt theres something there to do that unless View 2 was inside View 1 Mar 03 18:18:20 view1.setvisibility(view2.getvisibility) Mar 03 18:18:21 ? Mar 03 18:18:34 Yeah, I didn't think so. Mar 03 18:18:37 storkme: that doesnt make one dependent on the other though Mar 03 18:18:39 Yeah, but I want to do it in the layout, and not in the code. Mar 03 18:18:47 You can set 1 view but the other wont change Mar 03 18:18:59 oh right Mar 03 18:19:12 override the view and create an onVisibilityChangedListener ? Mar 03 18:19:20 +1 Mar 03 18:19:52 not only that, but also make some data structure that will hold "child" views Mar 03 18:20:03 so the onVisibilityChangedListener iterates over it and sets the children up too Mar 03 18:20:12 Heh. Mar 03 18:20:14 Nope. Mar 03 18:20:20 lazy then? Mar 03 18:20:41 Naturally. Mar 03 18:20:50 Laziness doesnt get you far in programming Mar 03 18:21:45 programming is all about laziness Mar 03 18:22:07 what i just suggested is the lazy solution Mar 03 18:22:25 storkme: thats actually not a lazy solution Mar 03 18:22:31 Its a smart one Mar 03 18:22:55 heh i guess so Mar 03 18:33:42 java.lang.NoSuchMethodError: android.support.v4.app.Fragment.setMenuVisibility Mar 03 18:33:44 * pfn scratches head Mar 03 18:33:49 how'd that happen Mar 03 18:34:26 pfn: I find that (atleast with eclipse) that it doesnt always import the right stuff when it comes to the ACL, maybe thats ur issue? Mar 03 18:34:43 Is there any way to execute adb command directly from Eclipse? Mar 03 18:34:52 commands, that is. Mar 03 18:35:00 Chronax: doubtful, theres no command interpreter in eclipse Mar 03 18:35:04 I mean, besides the obvious automated way. Mar 03 18:35:12 DrPenguin, no, it's not a matter of imports Mar 03 18:35:22 for some reason, setMenuVisibility isn't available on the compat fragment at runtime Mar 03 18:35:30 import is a namespace management tool Mar 03 18:35:34 it does not affect bytecode Mar 03 18:39:21 yo peeps Mar 03 18:41:53 hi all Mar 03 18:42:01 I wish reported errors would include device/version Mar 03 18:42:20 does anyone know a good pdf creator library for android? Mar 03 18:42:35 I've tried iText and it wont compile Mar 03 18:44:18 hey QubeZ Mar 03 18:46:14 hi Mar 03 18:46:25 yo DrPenguin Mar 03 18:46:48 guys, I need some help with getting the signal strength on my current cell, anyone could help, please? Mar 03 18:47:14 NOPE we dont want to Mar 03 18:47:24 not even for karma? Mar 03 18:47:30 karma means nothing here Mar 03 18:47:30 mohadel: do you mean programatically or just in general? Mar 03 18:47:50 woo hoo, in app purchases Mar 03 18:47:58 made 6 dollars - 30% Mar 03 18:48:49 You buy yourself a burrito, good sir. Mar 03 18:48:59 programatically... I mean, I've been using the PhoneStateListener and the onSignalStrengthsChanged(...), but I'm not able to save the value of the SignalStrength() on a variable... Mar 03 18:49:45 rgravener: get that new spicy frito burrito Mar 03 18:49:59 what burrito? Mar 03 18:50:01 mohadel: are you able to get the signal at all? Mar 03 18:51:31 mohadel: show me your code logic Mar 03 18:51:34 DrPenguin: yes! that's what's driving me crazy! inside the onSignalStrengthsChanged(...) I put the value of the SignalStrength() in a variable and in a Toast, the toast DOES show the signal strength, but the variable keeps showing the initial value Mar 03 18:51:42 ok Mar 03 18:51:45 NAO Mar 03 18:54:25 ok, so here's the code http://pastebin.com/8uvSyDGW Mar 03 18:55:15 and the manifest, in case you want to try it... http://pastebin.com/G7J8ivKA Mar 03 18:56:24 So the problem is that I don't know how to get the signalStrength.getGsmSignalStrength() in my GetGsmSignalStrength Mar 03 18:59:40 mohadel: to me, I would think that you need to do a setText on your text view when the signal strength changes Mar 03 19:00:20 but how do I know exactly when the signal strength changes? Mar 03 19:00:30 do you have to know? Mar 03 19:01:00 if you code your stuff right, the Listener wil lworry about that and you dont have to care Mar 03 19:02:06 could you please suggest how would I have to modify my code? Mar 03 19:02:17 I'm not sure how to do what you're telling me... Mar 03 19:02:55 well.. instead if making an explicit PhoneStateListener, why not just do an Anonymous innerclass Mar 03 19:03:50 im trying to do something like this image in the post here: http://stackoverflow.com/questions/4188859/how-to-get-a-buttons-height-to-match-another-elements-height Mar 03 19:04:00 but how do I get the EditText to stop right up to the button? Mar 03 19:04:07 without using a linearlayout Mar 03 19:04:56 i've aligned my button to top and bottom of my edittext, so thats good... but need the button to the far right with the edittext coming right up to it... using as much of the screen width while allowign the button to still be visible Mar 03 19:05:12 Table Row? Mar 03 19:11:48 hmm 1x2 table maybe Mar 03 19:12:03 mohadel: I made you something ^^; Mar 03 19:12:16 i really want some of the button to be cut off on the left though so it looks like a straight edge while the rounded is on the right Mar 03 19:12:22 mohadel: http://pastebin.com/iqrYv4pY Mar 03 19:12:49 DrPenguin: I was just trying the inner class thing, but it wasn't working, I'll check what you send me Mar 03 19:13:03 QubeZ: hmm.. I wonder then if you will have to either A: Mar 03 19:13:03 use an ImageButton and just make the image look like that, or, B: set the width of the editText so it goes over the button Mar 03 19:13:23 DrPenguin: (and if it works, I'll thank you FOREVER!!) Mar 03 19:14:09 well it works for me :P Mar 03 19:15:49 DrPenguin: ok so that is fine, I can get the edittext to go over the button but problem is.. to do that, I need to use lineary layout so I can set weights and not have to hard code the size. But if I do that, I can't do alignTop and alignBottom on the button to match the edittext. Damn chicken and the egg. Mar 03 19:17:27 why do you need to use those 2 aligns? Mar 03 19:17:59 You have your linear layout, have it wrap_content for its height. the button will match parent, the EditText will force the LinearLayout to be as high as it is and the button will match Mar 03 19:19:23 DrPenguin: i tried that, EditText is weird and doesn't work well in linear layout Mar 03 19:19:33 it will not take up the entire space (2dp gap at bottom) Mar 03 19:19:41 button takes up the whole space so then it looks awkward Mar 03 19:21:16 QubeZ: Im looking at a setup I just did and my Button and ET match exactly Mar 03 19:21:22 show me you xml Mar 03 19:22:00 http://pastebin.com/GUTyYuCY Mar 03 19:23:30 im trying to achieve this: http://imgur.com/L5w7J Mar 03 19:24:40 ok your button looks off Mar 03 19:24:49 I'm new to Android, but what about the drawableLeft attribute that Button inherits from TextView? Mar 03 19:25:02 At least as far as cutting off the left edge of the button goes. Mar 03 19:25:28 you got it backward, use drawableRight on a TextView Mar 03 19:25:31 i never tried the drawable right attribute Mar 03 19:26:22 Ah. I was thinking of setting drawableLeft on the button to something blank, assuming that those four attributes are responsible for the button styling. I don't know. Mar 03 19:26:34 im surprised that is not a canned way of doing this... its a raelly good design for an entry form Mar 03 19:26:57 Nope, drawable... is for adding an image to a side of a TextView Mar 03 19:27:18 is it? what does it do? it's not clear to me... Mar 03 19:29:14 mrenouf: addressing me? Mar 03 19:30:30 mohadel: well? Mar 03 19:31:07 I don't know. The docs say that it can be set to a color, but I tried it and even setting all four it seems to just remove the entire button styling and replace it with a solid color matching the last one that I set. :? Mar 03 19:31:32 DrPenguin: Thanks for your code, it does display the value on the TextView, but I am trying to save the value of signalStrength.getGsmSignalStrength() in a variable (to save it later in a DB)... Mar 03 19:31:46 mohadel: well you can do that from my code very easily Mar 03 19:32:31 When is this save supposed to happen? Mar 03 19:32:32 DrPenguin: I tried, wait and I'll send you what I made Mar 03 19:33:16 the save is supposed to happen when the signalStrength is changed Mar 03 19:33:46 ok, then have your signal change listener get a reference to your DB and insert it Mar 03 19:33:50 but when I save the value of signalStrength.getGsmSignalStrength() in a variable and I put this value in a TextView, it keeps showing me the initial value Mar 03 19:34:03 mohadel: ok.. well using my code that wont happen Mar 03 19:35:18 here's what I made http://pastebin.com/z5zJ0jrS Mar 03 19:35:36 and the value that it registers is "0" Mar 03 19:36:42 I call shenanigans Mar 03 19:38:08 DrPenguin: why? Mar 03 19:38:08 mine registers changes to my int.. Mar 03 19:38:16 why? because... your doing it wrong? Mar 03 19:38:35 well that's why I'm here, I need help to do it right Mar 03 19:38:59 So where is your problem at? Looking at your code, the text view wil indeed change when your signla changes Mar 03 19:39:30 and if you set cinr to signalStrength.getGSMSignalStrength(), cinr will also change Mar 03 19:39:56 well that's what I'm not getting! because in my phone it doesn't change... Mar 03 19:40:05 it just keeps at 0 Mar 03 19:40:07 is your phone GSM? Mar 03 19:40:13 Samsung Galaxy S Mar 03 19:40:20 GSM Mar 03 19:40:25 http://pastebin.com/31hFszjs Mar 03 19:41:15 DrPenguin: I'll try it now, thanks! Mar 03 19:41:31 my code really isnt any different than yours Mar 03 19:43:47 DrPenguin, awesome name Mar 03 19:43:54 Danke Mar 03 19:43:59 YOU DANE! Mar 03 19:44:02 no wait Mar 03 19:44:15 I wonder if I should change my nick to match my Android Dev id though.. Mar 03 19:44:23 DrPenguin: Your code changes the TextView from inside the onSignalStrengthChanged, so the TextView changes too. What I want to do is to get the value of "signalStrength.getGsmSignalStrength()" outside of the onSignalStrength, so I can add it to another set of data and save it later to a DB Mar 03 19:44:36 uhm, drpenguin is way cooler tho Mar 03 19:44:42 than linuxkid Mar 03 19:45:30 *I meant: "outside of the onSignalStrengthsChanged Mar 03 19:45:55 repeat what you siad mohadel Mar 03 19:46:02 I had to restart pidgin Mar 03 19:46:35 oh, ok: I said that Your code changes the TextView from inside the onSignalStrengthChanged, so the TextView changes too. What I want to do is to get the value of "signalStrength.getGsmSignalStrength()" outside of the onSignalStrengthsChanged, so I can add it to another set of data and save it later to a DB Mar 03 19:46:56 mohadel: right.. which is what my sig variable is Mar 03 19:47:04 you have to do the change / setting INSIDE the listener Mar 03 19:49:07 DrPenguin: is there any way to access it on the onCreate method? Mar 03 19:49:22 mohadel: you need to study how the Android Lifecycle works Mar 03 19:49:45 By the time your looking at the textview, Oncreate is gone and your inside onResume. You have to do the change INSIDE the listener Mar 03 19:50:05 ok, thanks for everything! Mar 03 19:50:12 I'll try to figure out how to do it... Mar 03 19:50:46 Thats the whole point of the listener, its a callback thats fired off when something happens and you do your work there Mar 03 19:53:21 but I want to add the value of signalStrength.getGsmSignalStrength() to a set of other information, and then put that on a data base Mar 03 19:53:33 should I do do ALL of that inside the listener? Mar 03 19:53:33 then do that.. in the Listener Mar 03 19:53:37 ok Mar 03 19:53:40 (am I talking to a brick wall or something?) Mar 03 19:53:47 ok, ok Mar 03 19:53:49 thanks! Mar 03 19:59:18 dudes, i'm checking android live in my pc... hwo can I root it? Mar 03 20:06:04 hello all Mar 03 20:06:41 welcome back Mar 03 20:07:26 decided to get out of the apt coding and just go to a coffee house and code instead lol Mar 03 20:07:36 i do that occasionally Mar 03 20:07:39 or in the library Mar 03 20:07:58 good choice Mar 03 20:08:14 DrPenguin: i missed what you said last, whats the way to go about getting that button to be the same height on the right side while allowing edittext to take up as much room as needed? Mar 03 20:08:22 like that web form i posted from imgur Mar 03 20:09:10 let me remake what I had Mar 03 20:11:07 repost that webform Mar 03 20:11:12 one sec Mar 03 20:11:27 http://imgur.com/L5w7J Mar 03 20:15:08 Im assuming your coloring the button right Mar 03 20:15:23 DrPenguin: i can, right now its a patch-9 image over textview Mar 03 20:15:39 i can just make it a button with the color of my choice Mar 03 20:15:49 not sure why i used textview instead of just Button Mar 03 20:16:41 A button is just a textview Mar 03 20:16:58 ya but it makes more sense to use button for logical purposes Mar 03 20:17:02 you can click it, should be a button right? Mar 03 20:18:17 If I need to customize it, I mostly just use textview Mar 03 20:18:35 But no difference really Mar 03 20:18:38 ok so good choice on my part =) Mar 03 20:25:16 QubeZ: Maybe ud be better off using a TextView as your AutoComplete guy Mar 03 20:25:50 ? Mar 03 20:26:04 i need autocompletetextview for edit / entry Mar 03 20:35:38 http://imgur.com/dyfhd Mar 03 20:35:46 thats what i can end up with if I dont do anything fancy Mar 03 20:35:53 but its still *off* a bit Mar 03 20:36:30 thats fill_parent on both autocompletetextview and textview (my button), not sure why its not matching up Mar 03 20:36:52 its because of how an EditText looks Mar 03 20:37:07 Does android have a standard way to accelerate operations through the CPU or should I just write the openGL calls myself? Mar 03 20:37:13 theres about (and Im sure your right) a 2dp margin after the end of the Box of the EditText Mar 03 20:37:29 maybe i'll set the margin myself Mar 03 20:37:36 well you cant Mar 03 20:37:46 because that bottom 2dp is PART of the actual edittext's look Mar 03 20:38:02 It's probably padding on the background Mar 03 20:38:25 so lets say you stretch the EditText out enough to match the TextView, that wil lstretch your Parent Container and the TextView will also stretch Mar 03 20:38:46 how do I compensate for this, so annoying lol Mar 03 20:39:10 make the bottom 2 dp of your button transparent? :P Mar 03 20:39:20 Custom background on the edittext + button Mar 03 20:39:35 Anyone know where I can get the stock recovery.img for my Nexus S Mar 03 20:39:45 kostodo: not here, try xda Mar 03 20:40:07 DrPenguin: arghhh! =) Mar 03 20:40:19 DrPenguin: XDA on irc? Mar 03 20:40:22 wow, i can't believe there is no way to make these things match up in a linear layout Mar 03 20:40:26 Because I can't sam to find it on their site Mar 03 20:40:28 in relative layout it works ie blieve Mar 03 20:40:37 kostodo: Well were not gonna help you here. We dont deal with that stuff so... Mar 03 20:40:48 kostodo: #android-root Mar 03 20:40:54 Thanks SimonVT Mar 03 20:41:01 hey is anyone of you using sqlite3-android? Mar 03 20:41:03 ya actually in relative layout it works because i can top and bottom align my textview to the autocompletetextview Mar 03 20:41:27 QubeZ: hmm, I got a weird idea Mar 03 20:41:40 actually nevamind it wont work Mar 03 20:41:43 DrPenguin: those are the only ones you have dude Mar 03 20:41:44 give it to me Mar 03 20:41:45 or maybe it will Mar 03 20:41:48 damn Mar 03 20:41:49 let me write it up Mar 03 20:42:08 i got lots of time, its snowing and im in a coffee house with warm liquids Mar 03 20:42:14 oh that sounded dirty, you know what i mean Mar 03 20:42:28 Get your mind out of the gutter Mar 03 20:42:40 someone needs to make an irc eclipse plugin Mar 03 20:42:42 and I dont wanna hear about the warm liquids surrounding/covering/comming at you Mar 03 20:42:50 i keep hating to go back and forth... i just want to know when there is text in this window Mar 03 20:42:53 If you need to align them, make sure they both have the same padding, size, etc Mar 03 20:43:43 SimonVT: elaborate please, the autocompletetextview i have no control over.. so you saying like DrPenguin to make the button/textview on the right with padding at the bottom (custom clear)? Mar 03 20:44:04 Sure you have control over it.. Change the background? Mar 03 20:44:24 If you need this kind of alignment, you're kind of required to do your own background Mar 03 20:44:44 Since they can change from version to version, device to device, completely messing up your alignment Mar 03 20:44:48 When a method within an activity creates a new intent using this form "Intent i = new Intent(this, About.class);" I understand that About will be the target activity but what exactly is "this" referring to? Mar 03 20:45:04 swan_____: the context of your current activity Mar 03 20:45:15 this is the current class instance Mar 03 20:45:32 you should actually qualify it better by doing Intent i = new Intent(currentactivity.this, nextactivity.class); Mar 03 20:45:40 meaning like Dashboard.this or whatever your activity is called Mar 03 20:45:51 well I prefer to anyhow, rather than just using "this" Mar 03 20:46:44 thanks! Mar 03 20:48:10 Does android have a standard way to accelerate operations through the CPU or should I just write the openGL calls myself? Mar 03 20:49:17 QubeZ: ok forget my idea, Layouts dont do what yout ell them to do Mar 03 20:49:34 no worries Mar 03 20:49:42 i'll have to just keep this for my initial release Mar 03 20:49:52 going back to the drawing board to redesign the UI anyhow for v2.0 in a few months Mar 03 20:50:02 im ok with this for usability for now Mar 03 20:50:09 thanks for going above and beyond (as usual) Mar 03 20:50:22 afief: look on d.android.com for how to do Graphics stuff Mar 03 20:51:27 DrPenguin: actually I've been there, but what I am looking for is doing convolutions, sampling(resize with bilinear interpolation) and other stuff using the GPU instead of relying on the CPU Mar 03 20:51:47 afief: you realize that this is gonna be device dependent right? Mar 03 20:52:00 Depending on your device, you may not get GPU Accelerations Mar 03 20:52:39 DrPenguin: well I was hoping that there would be a minimum GPU requirement since I heard that ICS now relies more heavily on the GPU for GUI rendering Mar 03 20:52:42 is there anyway in relativelayout to tell an edittext to take up 90% of the space and button to take up 10%? Mar 03 20:52:51 or do you have to use linear for that using weights? Mar 03 20:53:38 QubeZ: well Relative doesnt support weights it looks like, so it would have to be linear, but when I was using weights, it only affected width not height Mar 03 20:54:47 DrPenguin: thats fine, but im RL, i'm using alignTop and alignBottom which makes the button fit nicely vertical... but since my autocompletetextview goes all the way to the end... i need to find a way to stop it somehow from taking up all the space Mar 03 20:54:56 afief: yeah, but minimal doesnt mean its going to do what you need it to do. You need to find out what ICS demands for its "minimal" gpu stuff, and also see what, if anything, is accelerated in hw and not in sw Mar 03 20:55:31 QubeZ: honestly, you should do what I and Simon said, just make a custom view for it and either pinch off the very bottom of the button or add a tiny bit to the bottom of the ACTV Mar 03 20:55:50 DrPenguin: could you tell me where I find specs like these? I'm a bit overwhelmed by all the info on the official site Mar 03 20:55:54 ok, i need to learn how to do that Mar 03 20:55:57 will look at view's docs Mar 03 20:55:58 afief: sure, google Mar 03 20:56:32 QubeZ: it should be just a matter of you making what it looks like and set that using android:background Mar 03 20:56:57 hmmm Android 2.0 and above have OpenGL ES 2 support... sounds like that'll solve the sampling part Mar 03 21:00:05 afief: actually, it's not guaranteed that you'll get 2.0 Mar 03 21:01:31 p_l: please explain. As far as I understand if it has NDK version 5(which comes with android 2 and above) it should have 2.0 Mar 03 21:02:47 afief: it means it *supports* 2.0 *if* the phone supports 2.0 Mar 03 21:02:54 zhongfu: Hi? Mar 03 21:03:02 afief: right from Androids site: "The OpenGL ES 1.0 and 1.1 API specifications have been supported since Android 1.0. Beginning with Android 2.2 (API Level 8), the framework supports the OpenGL ES 2.0 API specification." Mar 03 21:03:16 Supports != Has Mar 03 21:03:22 before, the hw could be 2.0-capable, but the framework wouldn't include it Mar 03 21:03:34 Oh got it Mar 03 21:03:38 the *only* guaranteed part is 1.0 emulated Mar 03 21:03:53 Is there a standard way to require support for an app to be installed or do I have to check at startup? Mar 03 21:04:05 afief: you can set that in manifest Mar 03 21:24:16 Hey anyone want to try out my app? It's a collection of apps in one :) https://market.android.com/details?id=com.fluffydelusions.appgarden Mar 03 21:25:22 <[deXter]> Haha Mar 03 21:25:33 <[deXter]> Fluffy Delusions? Mar 03 21:25:40 yea ;P Mar 03 21:25:51 <[deXter]> That's as good as Kittehface Software. :p Mar 03 21:25:56 lol Mar 03 21:26:35 <[deXter]> I want to publish my apps too but I cant think of a cool sounding company name.. Mar 03 21:26:52 [deXter]: Ask Tim and Eric for help Mar 03 21:27:47 <[deXter]> DrPenguin, Cool, thanks :) Mar 03 21:27:52 >_>; Mar 03 21:28:21 I just installed android-x86 on a EeePC and I want to create a reboot icon, but obv i need the android.permission.REBOOT priv.. since i have root is there anyway i can grant the permission to my app? Mar 03 21:28:43 <[deXter]> Oh wait, Tim & Eric are some comedians, right? Mar 03 21:34:13 Hi. If I take a picture with the camera through my app how is a good way to check the picture for an object, let's say I'm looking for a black square Mar 03 21:37:05 mads-: well, there isnt any object in the picture, thats just a range of pixels, so if your looking for pixels, you would wanna find a section whose pixel value is 0 0 0, or #000000 Mar 03 21:40:17 Hi, if I only have a single string to store, which is not a preference, is there any easier way than sqlite ? Mar 03 21:40:43 Walui: store for what purpose, how long Mar 03 21:42:29 It is a cookie (yes I know there is better object than string for this but i don't really need it) and I would like to keep it until it doen't work anymore Mar 03 21:42:42 "doesn't work anymore"? Mar 03 21:42:49 So even after reboot or whatever Mar 03 21:43:00 ok then you want some persistent storage Mar 03 21:43:01 It's for Login Mar 03 21:43:19 So until login fail actually Mar 03 21:43:44 your not very clear as to when this isnt valid anymore or when you dont need it anymore.. but you could probably just store it in a file Mar 03 21:44:14 Walui: Why not store it using SharedPreferences? Mar 03 21:45:12 skfax : because I don't want other application to be able to read it Mar 03 21:46:11 Walui: Other apps aren't able to access your SharedPreferences as long as you use MODE_PRIVATE Mar 03 21:49:34 Ok I'll try this Mar 03 22:07:31 whats a good resource for widget design, i.e. how to do resizeable widgets and in general to make sure size/dimensions are right Mar 03 22:07:36 ? Mar 03 22:11:50 I would say d.android.com :P Mar 03 22:12:07 i really need to learn how to make some cool widgets Mar 03 22:12:22 QubeZ: http://developer.android.com/guide/topics/appwidgets/index.html http://developer.android.com/guide/practices/ui_guidelines/widget_design.html Mar 03 22:12:31 right now To Do Mapr has widgets but that was implemented months ago when I knew very little about Android in general. Mar 03 22:12:37 now its time to redesign before going to Market Mar 03 22:13:42 QubeZ: thats one department that I hate that I like in, is nice gui design / image design Mar 03 22:13:58 Im semi contemplating picking up some Student version of Adobe CS or something Mar 03 22:14:13 lucky for me, i just give this stuff to my graphics guy but I still need to code the widget Mar 03 22:18:23 "I got a guy" :p Mar 03 22:18:49 heh Mar 03 22:19:24 I just try to stay as close to stock as possible, no need for much graphics Mar 03 22:23:54 If I am using ActionBarSherlock to do Tabbed Fragments, is there a way I can pass Data to the Fragment? I want to have 1 Fragment Class that I can have created in different ways based on data I send to it Mar 03 22:26:28 nevermind think I found what I want Mar 03 22:32:27 actually no I didnt.. Mar 03 23:17:10 should be programming.... have no desire... imagur just broke -_- Mar 03 23:17:21 time for realm of the mad god Ig uess Mar 03 23:17:24 I guess* Mar 03 23:28:25 how can I ensure my boot receiver only fires onReceive if the user is in the app? Mar 03 23:30:50 Why does my game stop with a nullpointerexception if a file that I'm going to read from doesn't exist? Isn't the exception handling supposed to handle that? Mar 03 23:31:44 Kake_Fisk: uhh are you try/catch'ing? Mar 03 23:31:55 yeah Mar 03 23:32:42 well that just prevents from actually crashing, but if you game needs that resource then you have to catch the exception and handle it gracefully Mar 03 23:33:10 the try/catch isn't designed to make your app invincible. It's there for you to gracefully handle in the catch and finally block Mar 03 23:35:37 http://pastebin.com/U1baPC56 Mar 03 23:35:47 Don't I handle it well enough here? Mar 03 23:36:36 looks fine, but if that file doesn't exist... then what happens to your game? Mar 03 23:36:49 i mean, you are apparently requesting a resource -- if that resource doens't exists then what? Mar 03 23:37:23 It crashes with a nullpointerexception Mar 03 23:37:53 stack trace? Mar 03 23:38:27 I'll check Mar 03 23:39:35 hey there. is it impossible to import audio files from a .nomedia folder into the MediaStore? I always get null as response to the inser(). Mar 03 23:40:19 I don't know exactly what stacktrace is, but the the debugger stops at this line: fis.close(); Mar 03 23:46:37 Kake_Fisk: stack trace is your red logcat errors Mar 03 23:46:42 that spit out when you get yoru NPE Mar 03 23:46:49 ah Mar 03 23:46:51 sec Mar 03 23:47:29 It doesn't come in a copyable form, but I could write parts of it Mar 03 23:47:55 ah, there's a save function Mar 03 23:48:54 Okay, save function does not work.. Mar 03 23:49:33 java.lang.NullPointerException at com.spacechase0.kake.bricked.LevelEditor.load(LevelEditor.java:72) Mar 03 23:50:44 you can still copy the lines ctrl+c or cmd+c style Mar 03 23:51:06 anyhow... ya so it still shows null but the its not catching (orange color)? Mar 03 23:52:34 Kake_Fisk: well if its NPE at that fis.close() its because you're not catching NullPointerException in that 2nd try Mar 03 23:52:39 you are only catching IOException Mar 03 23:52:44 I got this at some point 03-04 00:46:25.041: D/dalvikvm(4712): GC_CONCURRENT freed 400K, 49% free 3150K/6151K, external 0K/0K, paused 2ms+6ms Mar 03 23:52:49 wat -.- Mar 03 23:52:54 That was not what I copied Mar 03 23:53:00 you need to catch (NullPointerException e) { ... Mar 03 23:53:43 and I'd highly suggest you look at why its NPE and fix that problem... try/catch is to get those cirumstances out of your control but you should as a developer try to minimize that Mar 03 23:54:01 Ah, okay, but is there nothing like FileNotFoundException or something? Mar 03 23:54:06 you are only catching IOException, see that? Mar 03 23:54:29 Kake_Fisk: who knows, i never really mess with File IO much but the issue at hand here is that you're not catching NullPointerException e Mar 03 23:54:46 Yeah, okay. I'll try, thanks Mar 03 23:55:06 Do you know where my app actually saves it data? Mar 03 23:56:06 In /data/data/com.spacechase0.kaka.bricked/files probably Mar 03 23:57:27 ok i gotta get outta here -- gluck Mar 03 23:57:44 oh, okay, cua Mar 04 00:02:34 if I put two vertical linear layouts as a layout weight of 1, One of them becomes really large, and the other is small. They have the same content. Mar 04 00:02:39 Any ideas? Mar 04 00:03:10 never mind, it was the layout sum. Mar 04 00:03:14 It had to equal 2. Mar 04 00:15:35 If no weightsum is set, it defaults to the sum of all child weights Mar 04 00:21:54 I made a bitmap, I just need to see if it works. can I save it somehow? Mar 04 00:45:21 Is there something I can change pixel per pixel and then scale up to the wanted size? Mar 04 00:46:37 yes, thinking about a canvas Deepa Mar 04 00:46:50 and use its matrix to scale Mar 04 00:47:29 and for saving look at Bitmap.compress Mar 04 00:47:53 Right now I'm drawing to a bitmap so the last part is easy :) Mar 04 00:49:25 hmm, what do I use instead of setPixel? a really small drawRect? Mar 04 00:49:51 for doing what? Mar 04 00:50:18 I'm working with pixels, I just want to draw 1 pixel Mar 04 00:51:54 canvas.drawPoint maybe Mar 04 00:52:27 Ah, sorry. bit tired here, I saw drawPoint but read drawPoints description :P Mar 04 00:52:29 Thanks :) Mar 04 00:54:16 np Mar 04 01:07:28 gn Mar 04 01:17:57 So I know I asked this question earlier, but I had to split.. I am using action bar sherlock to do Tabbed Fragments. Is there a way I can pass Data to them (probably in the form of a Bundle) so that when they come on, they can use this data for initialization? For now, the only way I see to do is is to add the tab, get the fragment from that tab, and then set the bundle too it, wasnt sure if theres a better way Mar 04 01:43:28 hey y'all Mar 04 01:43:38 hello there Mar 04 01:43:46 anybody know how I'd be able to use a webview in an opengl environment? Mar 04 01:45:18 I can find a bunch about using opengl inside a webview (webgl) but nothing about the other way around Mar 04 01:47:19 oh, go figure -> https://github.com/sirikata/berkelium Mar 04 02:18:57 Hey guys, I'm trying to check if a MediaPlayer is playing with an if statement but whenever I trigger it, the app freezes and Eclipse highlights the if (mp.isPlaying() == true) line. Does anyone know why it's doing this or how I could fix it? Mar 04 02:38:46 DrPenguin you can put your args in a bundle and either use a newInstance() method in your fragment class or just when you're creating the fragment in your activity and do frag.setArguments(Bundle) Mar 04 02:39:12 then your fragment can get those in the onCreateView or whatever it's called with getArguments() Mar 04 02:39:35 DrPenguin look at the viewpager demo as an example of it Mar 04 02:39:53 t0mless: I never explicitly create the Fragment when I set it up, all I do is use addTab from the FragmentTabAdapter Mar 04 02:40:14 oh... hrm... Mar 04 02:40:28 guess you'll just have to create a method in your fragments to pass the data Mar 04 02:40:45 but i guess, could I just add the tab, then use the get method that returns a fragment and use setArgs on that? Mar 04 02:40:47 I haven't used the tab adapter before Mar 04 02:41:01 by then I'm sure onCreateView would have been called Mar 04 02:41:10 damnit Mar 04 02:41:30 but you could just give your fragment a method to pass stuff to it Mar 04 02:42:27 but this needs to be done pre onCreateView Mar 04 02:42:33 is this fragment tab adapter a custom class? Mar 04 02:42:51 I dont think so, I pulled it from an example Jake includes in ActionBarSherlock Mar 04 02:43:01 I don't see it on d.android.com Mar 04 02:43:09 Then I guess it is something custom Jake made Mar 04 02:43:21 wait, let me see its true name.. Mar 04 02:43:26 what demo did you pull it from? Mar 04 02:43:31 AHH its a FragmentPagerAdapter Mar 04 02:43:37 ahh Mar 04 02:43:38 right Mar 04 02:43:40 I just called it a FragmentTabAdapter Mar 04 02:43:58 but you don't extend the adapter at all? Mar 04 02:44:31 I do, it extends FragmentPagerAdapter and implements ViewPager.onPageChangeListener and ActionBar.TabListener Mar 04 02:46:23 and there is no where that you explicitly create the fragments that you can end up passing data to? Mar 04 02:46:25 i made no fragment samples Mar 04 02:46:30 they're all from the support demos Mar 04 02:46:53 t0mless: not from what I see Mar 04 02:46:54 he lives! Mar 04 02:47:22 they're all here: http://developer.android.com/resources/samples/Support4Demos/index.html Mar 04 02:47:24 made it to SF then JakeWharton Mar 04 02:47:29 yep Mar 04 02:47:40 just got internets an hour or so ago Mar 04 02:47:53 you timed it well I think, it was snowing here tues, weds and thurs Mar 04 02:48:04 friday was nice and sunny and all the roads were clear Mar 04 02:48:24 well we hit a good bit of snow in Utah and Nevada Mar 04 02:48:29 i forget where you are Mar 04 02:48:46 california, just on the other side of nevada Mar 04 02:48:51 where you had to stop to be inspected Mar 04 02:48:55 ah yeah Mar 04 02:48:58 that was odd Mar 04 02:49:04 or at least they ask you what you had Mar 04 02:49:09 we tried to stay thursday night in Truckee Mar 04 02:49:18 but that town sucked so we went to Auburn Mar 04 02:49:21 lol Mar 04 02:49:36 it had let up snowing thursday night Mar 04 02:49:44 but yea, this town is pretty empty Mar 04 02:49:46 Donner pass late thursday night Mar 04 02:49:52 tons of fun :) Mar 04 02:49:53 truckee california? Mar 04 02:49:57 yes Mar 04 02:49:57 Yea Mar 04 02:50:00 oh god Mar 04 02:50:03 v_v Mar 04 02:50:07 fuck you both Mar 04 02:50:18 isnt that like a pit stop before tahoe? Mar 04 02:50:20 :p Mar 04 02:50:21 I was born and raised here -_- Mar 04 02:50:48 you're in truckee? Mar 04 02:50:50 where did you spend most of your days? Mar 04 02:50:53 and as an eagle scout from the mountains, I could easily dispose of your body in the woods and make it look like an accident Mar 04 02:51:10 haha Mar 04 02:51:14 haha Mar 04 02:51:33 its ok, im from an even worse place Mar 04 02:51:44 pick your poison, anything in Butte county is horrid Mar 04 02:51:48 mostly I went out to the lakes and camping to be honest Mar 04 02:53:14 JakeWharton they closed the pass for about 3 hours on weds Mar 04 02:53:28 so like I said, you timed it well :) Mar 04 02:55:49 It works! Mar 04 02:56:05 (╯°□°)╯︵ ┻━┻ Mar 04 02:56:21 Oops, disregared that Mar 04 02:56:23 lol wtf Mar 04 02:56:32 you can flip tables out of joy Mar 04 02:56:35 is that supposed to be kirby throwing a table? Mar 04 02:56:37 i'll allow it Mar 04 02:56:39 ... was that "throwing the desk upside down out of surprise/joy"? Mar 04 02:56:45 lol Mar 04 02:57:37 JakeWharton: ohair Mar 04 02:57:42 ohai* Mar 04 02:57:43 If I'm flipping tables it's out of rage Mar 04 02:57:50 HOLLA EDDIE Mar 04 02:58:20 cr5315: out of rage shouldn't be(╯>□<)╯︵ ┻━┻ ? Mar 04 02:58:28 ლ(ಠ益ಠლ) Mar 04 02:58:50 do you just have these stashed in a script or something? Mar 04 02:58:58 Yes Mar 04 02:59:02 /table Mar 04 02:59:05 /YUNO Mar 04 02:59:19 lol Mar 04 02:59:54 why Yuno? **** ENDING LOGGING AT Sun Mar 04 02:59:58 2012