**** BEGIN LOGGING AT Mon Jan 30 02:59:59 2012 Jan 30 03:00:51 hello - i can not seem to find the output of the hello world app on 4.0.3 emulator. it seems to work fine on older 3.0 emulator. how do it see app output screen ? Jan 30 03:01:51 vpathak: what do you see when you run the app? anything at all? Jan 30 03:02:10 i see the app in running apps - but dont see any output from it Jan 30 03:02:20 * hkhalid slaps vpathak around a bit with a large trout Jan 30 03:02:24 what does that app do? Jan 30 03:02:33 Log.v("", "Hello world!")? Jan 30 03:02:51 iirc correctly it's supposed to just display a TextView with "Hello, World" on it Jan 30 03:02:54 print hello using text view Jan 30 03:03:10 so, it shows a blank screen? Jan 30 03:03:48 i just dont see the app output anywhere on 4.0.3 emulator - i was wondering if there is something special to reach the app output screen Jan 30 03:03:58 the 'running apps' screen isn't a running apps screen Jan 30 03:04:04 it's a recent apps screen Jan 30 03:04:26 ie, if the app isn't actually running it'll still show its entry Jan 30 03:04:54 the 'app output' you're looking for is really just the main activity of the helloworld app...so if you run the app, perhaps by selecting it from the running apps screen, you should see the textview...or at least SOMEthing Jan 30 03:04:54 so if it shows nothing at all, it most likely didn't start Jan 30 03:04:56 ok Jan 30 03:05:32 have a look in logcat Jan 30 03:05:47 whether there's an exception during launch Jan 30 03:06:06 you didn't see a 'force close' at all did you vpathak? Jan 30 03:06:09 oh ok - i will have to read up the log Jan 30 03:06:12 huh, just bought an eBook on Android market and it suddenly turned spanish on me. Jan 30 03:06:22 no error - it is a code sample Jan 30 03:06:30 at least the checkout part Jan 30 03:06:35 it should run fine - it runs fine on 3.0 emulator Jan 30 03:06:49 i think i dont know how to run the 4.0.3 emulator .... perhaps Jan 30 03:06:59 no, it's exactly the same Jan 30 03:07:22 ok i will read up how to read log and check Jan 30 03:07:24 most likely something is going wrong when uploading the apk or something Jan 30 03:07:36 no error on upload - it says success Jan 30 03:07:52 is there an equivant of ok mesg box on android Jan 30 03:13:58 ok i have the log - but doesnt seem to show anything related Jan 30 03:14:39 maybe i should write to the log before and after the write Jan 30 03:28:19 Dialog/DialogFragments... is there really a good difference/use? Jan 30 03:30:54 i think dialogs are going to be deprecated, not totally sure about that Jan 30 03:31:19 ok Jan 30 03:31:29 i am just trying to debug this Jan 30 03:32:55 the output is getting lost on latest emulator Jan 30 03:34:23 did you add any logs to check if the app is starting up properly? Jan 30 03:41:26 yes, but couldnt figure out any issue - now i am going to check log on the working emulator and see if it makes sense Jan 30 03:43:47 I'm trying to get an animation to work. I have it in a view, and it loads (I get the first frame), but I can't seem to get it to start. I'm calling start in onResume() Jan 30 03:44:26 so I'm running the emulator, inside the email app and can't figure out how to get out of it Jan 30 03:45:31 is there a way to launch an app to a specific activity? Jan 30 03:46:17 intelligentfool, yes. I don't remember exactly where but I think it's something to do with the android manifest? Jan 30 03:46:41 oh, i was hoping for some way to do it in eclipse, without changing code Jan 30 03:46:56 oh, possibly Jan 30 03:47:06 intelligentfool: yeah, it's something to do with the runconfiguration Jan 30 03:47:55 so if you click the little arrow next to the big green arrow, click Run configurations... Jan 30 03:48:21 there should be one for you app, instead of Launch Default Activity, click the Launch: radio button and select the activity you want Jan 30 03:49:40 hah, annnnnd i found a bug Jan 30 03:50:13 i found that the app doesnt start properly on 4.0.3 Jan 30 03:50:21 will have to debug why is that Jan 30 03:56:48 adt site is down? Jan 30 03:57:49 hmm seems ok now Jan 30 04:02:51 ok, I have an ImageView in my xml that references has an android:src="@anim/animation" I can't get it to show anything but the first frame. Any ideas/ Jan 30 04:04:05 cconstantine: gifs dont work bro Jan 30 04:04:12 no gifs Jan 30 04:04:23 it's a frame animation Jan 30 04:04:28 sorry bro Jan 30 04:04:43 is there an animation attribute? Jan 30 04:05:06 yeah. I'm definately putting it in the view Jan 30 04:05:10 I see the first frame Jan 30 04:14:30 hello, I'm having some troubles with a repeating background defined in an xml file in drawables. While this drawable works fine for the main activity, when I call it on my second activity, it no longer works and the background gets stretched as opposed to getting repeated Jan 30 04:14:54 any ideas how I can solve this or what could be causing this? Jan 30 04:21:06 hi guys, anyone know if I have several apks, an easy way to make them all into 1 apk without actually manually merging the code? I attempted to amke them libraries and from the main project (link them) but that didn't work out Jan 30 04:23:27 i think you need to say somewhere its a library Jan 30 04:23:39 lokieee: eclipse or ant? Jan 30 04:23:53 eclipse, i can click the project, and make it a library in the android options Jan 30 04:23:54 which i did Jan 30 04:24:08 then in the main project, i can click same tab (android) and i add the apk that i just made a library Jan 30 04:24:21 but when i run the main project, it complains about a davlik error Jan 30 04:24:33 but doesn't go into details Jan 30 04:24:48 project clean? Jan 30 04:24:59 yeah tried that as well, maybe i'll try it on a simpler project Jan 30 04:33:15 so it looks like you can link seperate projects in eclipse as libraries to the main file, do you know how i wuld reference the activity in the other file? For example, if MainAcitivty.java is linked to another project called AnotherProject.java how would I launch AnotherProject.java's activity from Main's project? usually I would use the package name like com.test.anotherproject Jan 30 04:33:47 you reference the class just like you would normally Jan 30 04:34:07 great thanks! Jan 30 04:35:41 import com.foo.other.OtherActivity; startActivity(new Intent(Intent.MAIN, OtherActivity.class)); Jan 30 04:36:21 s/MAIN/ACTION_MAIN Jan 30 04:41:36 haw Jan 30 04:41:46 I left my phone in my bedroom for a few days right? Jan 30 04:42:00 I check it out today: 97 hours on battery with 20% left. Jan 30 04:42:15 average mah of -1 Jan 30 04:43:00 cool Jan 30 04:43:56 with data on, etc Jan 30 04:44:00 wow Jan 30 04:44:28 its a mytouch 3g slide overclocked to 800mhz Jan 30 04:45:03 i feel like there is a pissing contest starting Jan 30 04:45:13 on conservative cpu governor with minimum at 246mhz or so Jan 30 04:46:51 bet I throw that away if I upgrade to a quad-core tegra 3 or snapdragon s7 Jan 30 04:54:40 hi Jan 30 05:09:26 hello,is there any way to pause the calling activity from running once a new intent has been launched? Jan 30 05:12:49 Akuma, once the intent starts up the activity, the acitivity that sent that intent will automatically go on pause Jan 30 05:14:20 hmm, mine seems to execute some code after the second activity has launche Jan 30 05:14:21 d Jan 30 05:16:21 so when the activity is in OnPause state its still doing stuff? Jan 30 05:16:49 I can see from logcat that it prints out the log entry right after my startActivity call Jan 30 05:16:49 what's the best way to stop a thread? Jan 30 05:16:58 the 2nd activity appears fine Jan 30 05:17:05 interrupt() Jan 30 05:17:06 ? Jan 30 05:18:29 hm...no idea how to stop the activity from doing stuff until the 2nd activity appears Jan 30 05:18:43 maybe you can kill it Jan 30 05:18:47 right when you start the intent Jan 30 05:18:57 this.finish() Jan 30 05:19:23 even then it's not going to die immediately Jan 30 05:19:23 but its not a nice solution as its expesnive to create the activity again Jan 30 05:19:36 it will finish what it was doing, and anything in the onPause/onStop/onDestroy methods Jan 30 05:19:58 true true Jan 30 05:20:01 hmm Jan 30 05:20:16 what is it that the activity is doing that you don't want it to do Jan 30 05:20:22 maybe your design is flawed Jan 30 05:20:38 I don't want to destroy the calling activity, as I need it for later, but I do need it to stop executing when the other one calls Jan 30 05:20:46 Well, I have 5 lines of code Jan 30 05:21:07 one of which is startActivity and the rest being Log.d before and after the startActivity Jan 30 05:21:28 startActivity doesn't cause the current one to just stop at that line of code Jan 30 05:21:45 so is there any way to force pause? Jan 30 05:21:58 does it matter that your Log's get called? Jan 30 05:22:24 move your startActivity to the last line of the method and you're more likely to have nothing else called before onPause Jan 30 05:22:55 problem is I need the part after to check whether some values have changed in prefs, updated by the child activity Jan 30 05:22:55 but the current activity is going to finish whatever method it was in and maybe other thing that were in it's handler Jan 30 05:23:13 use startActivityForResult Jan 30 05:23:29 use the event driven OS to your advantage Jan 30 05:24:29 does startActivityForResult pause immediately or do I need to set up an empty while loop while waiting for the value to return? Jan 30 05:24:54 eww Jan 30 05:24:58 don't ever do empty loops Jan 30 05:25:09 android is event driven, so you use startActivityForResult Jan 30 05:25:22 lol, agreed, I'm just not sure how to tackle the beast Jan 30 05:25:23 then in the called activity you do stuff, and you can, if you want, call setResult Jan 30 05:25:37 then in your original activity, use the onActivityResult method to do stuff Jan 30 05:25:47 which gets called after the called activity finishes Jan 30 05:26:14 I'll check that out Jan 30 05:26:22 thanks for the help, greatly appreciated Jan 30 05:26:59 what's the best way to stop a thread? do i use .interrupt() or .stop()??? Jan 30 05:32:05 ( dlaroche ): .interrupt is safer Jan 30 05:32:19 ok thank you Jan 30 05:32:34 that way you can check yourself if the thread has a pending interrupt and safely close out anything you were doing Jan 30 05:32:48 and if you looked in the docs you could have seen that for yourself Jan 30 05:34:27 glass table, laser mouse, no paper to be found Jan 30 05:34:34 someone figure out how I can use my mouse Jan 30 05:35:28 use your leg? Jan 30 05:36:45 I have 1 simple main project, that i'm trying to make launch another activity in another project that I linked to the main project as a library. I posted the launch intent, and also the manifest file of the library activity that is listenign for the intent. the problem is when I click the button the start the other activity it crashes saying file not found, any ideas what i'm doing wrong? http://pastebin.com/NmRubygb Jan 30 05:36:50 or go find a tablecloth or napkin or something Jan 30 05:36:54 Hi Everyone, I would like to make some animation of the new item in the list view. How can I do it? Jan 30 05:37:02 i'm in a hotel Jan 30 05:37:06 not many options Jan 30 05:37:20 pillowcase! Jan 30 05:37:43 JakeWharton: that happened to me a couple weeks ago.. holiday inn Jan 30 05:37:43 or extra sheets Jan 30 05:37:47 I happened to have blank paper with me Jan 30 05:38:18 the printer at the front desk (or the little communal computer where you print boarding passes) likely has blank white paper Jan 30 05:38:43 JakeWharton: I used the ABS, I realized that if I want to use setListShown method, I can't use custom layout. Then I checked the source code, I found there is a comment saying that "consider including the standard layout". How do I use standard layout? Jan 30 05:39:04 the next challenge is that in order to use a paper mousepad, you kinda have to tape it down Jan 30 05:39:16 g'night and good luck Jan 30 05:40:21 edwinkcw, that's probably code from Google in the android support library Jan 30 05:40:23 ( lokieee ): try explicitly adding the default category to your intent Jan 30 05:40:35 JakeWharton: oic Jan 30 05:40:47 what are you trying to do? Jan 30 05:43:13 http://abstrusegoose.com/432 Jan 30 05:43:14 hm... i.setFlags(Intent.ACTION_DEFAULT); isn't valid, neither is addFlags, is there anyother way to explicity add it? Jan 30 05:43:52 default category... it's not a flag Jan 30 05:45:13 i.addCategory(Intent.CATEGORY_DEFAULT); Jan 30 05:47:25 thanks, it seems it can't see the activity because I'm getting a error saying: 01-29 21:45:45.480: E/AndroidRuntime(520): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=com.launch.dialpad flg=0x10000000 } Jan 30 05:49:00 it works fine though if i make the other project not a library Jan 30 05:49:03 but i need it to be a library Jan 30 05:49:43 hey guys Jan 30 05:49:57 having a problem on a few phones, https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-ash4/s320x320/404834_2673433070254_1088970342_32136703_1671536300_n.jpg Jan 30 05:50:03 my google music icon is now launching google voice Jan 30 05:50:07 those textures arent getting loaded on certain phones Jan 30 05:50:08 from the launcher and the ap tray Jan 30 05:50:39 http://pastebin.com/wK317sdF is my code Jan 30 05:51:12 looks like a college campus Jan 30 05:51:15 if i launch google music from my recent apps it launched G+ Jan 30 05:51:21 it is Jan 30 05:51:38 thats from a galaxy nexus Jan 30 05:52:03 time for a reboot JakeWharton? Jan 30 05:52:14 I just recently factory reset my phone Jan 30 05:52:16 it's my internet connection though... Jan 30 05:52:21 haven't put music/reader/g+ back on it yet Jan 30 05:52:26 and i don't want to miss one smile Jan 30 05:52:30 i don't want to miss one kiss Jan 30 05:52:40 i just want to be right here something something Jan 30 05:52:43 something just like this Jan 30 05:52:51 Thanks Aerosmith Jan 30 05:53:07 or is that the police creepy song? Jan 30 05:53:13 i wish i had a more recent droid for testing Jan 30 05:53:17 my droid 1 is about to die Jan 30 05:53:47 or a more recent Android Jan 30 05:53:56 I'm trying to build a UI, and I have a row of buttons with text below them that I want to line up across the bottom of the screen. I've put them all in a linear layout, but anytime the text below changes size it moves all the buttons. Is there some magic to fix them all to an even dist. across the bottom instead of having their location dependent on their neighbors? Jan 30 05:54:11 give them all the same layout_weight Jan 30 05:54:20 such as 1 Jan 30 05:54:26 ^ that Jan 30 05:54:38 its hard trying to figure out whats wrong when you dont have a device with the issue Jan 30 05:54:39 I always forget layout_weight Jan 30 05:55:01 so the button and the text are in a vertical linear layout... I'm assuming have the layout_weight on that linear layout? Jan 30 05:55:17 you put the weight on each button Jan 30 05:57:15 even though is the wrapping linearlayout that's moving around? Jan 30 05:57:25 Yup Jan 30 05:57:35 layout_weight goes on items inside a layout Jan 30 05:57:47 stating how much of it they should allocate for themselves Jan 30 05:57:51 the linear layout is in a linear layout Jan 30 05:58:00 inception Jan 30 05:58:07 so if everything in the layout has the same weight they will take up the same space Jan 30 05:58:12 i see what you're saying Jan 30 05:58:13 if [] are linear layouts its: [[button,text],[button,text],[button,text]] Jan 30 05:58:21 put layout_weight on those will make the vertical layouts take the same space Jan 30 05:58:42 inner ones are vert, outer is horz Jan 30 05:58:46 then yes you can put it on those Jan 30 05:58:57 who you calling a horz! Jan 30 05:59:10 I work hard for that money! Jan 30 05:59:17 lol Jan 30 05:59:29 that doesn't mean you aren't a.... nm Jan 30 06:00:08 so I put it on the vertical (inner) linear layouts and they still move around Jan 30 06:00:29 they look like they are still left-aligning Jan 30 06:01:08 make them all fill width Jan 30 06:01:14 er Jan 30 06:01:21 layout_width fill_parent Jan 30 06:01:24 fill_parent Jan 30 06:01:25 right Jan 30 06:01:26 with equal weights Jan 30 06:01:46 and then you can center your stuff inside it by using gravity="center" Jan 30 06:02:05 or layout_gravity="center" on the items inside the layouts Jan 30 06:02:21 w00t Jan 30 06:02:23 I think that did it Jan 30 06:03:37 ahh, gotta love xml Jan 30 06:46:25 hello, how can I determine wether my activity is resuming from one of it's children activity or from something else? Jan 30 06:46:44 *whether Jan 30 07:12:45 hello please recommend android developer guide? Jan 30 07:13:31 For beginners? Try the book "Hello Android" Jan 30 07:14:33 yes for geginners Jan 30 07:31:28 anyone know the model stove in the background? http://i.imgur.com/6C0Aw.jpg Jan 30 07:32:17 I see no stove, optical illusion? Jan 30 07:32:33 must be Jan 30 07:35:02 top right Jan 30 07:35:04 eer Jan 30 07:35:06 top left Jan 30 07:35:14 hello please recommend android reference book or site Jan 30 07:35:27 maum: "Hello Android" Jan 30 07:35:59 maum, if you are already familiar with Java, try "Programming Android" (O'Reilly) Jan 30 07:36:03 its really good Jan 30 07:36:28 ok Jan 30 08:09:46 Hello Jan 30 08:10:27 Hey hey Jan 30 08:12:54 ugh, took a quick look at Process.destroy, now it always logs if the process isn't killed (e.g. because it's not running) Jan 30 08:13:07 that's so annoying! Jan 30 08:18:21 howdy Jan 30 08:20:26 Can you, or Android OS, control which CPU executes an app? Like in a dual CPU device, can you select which CPU to run tasks on? Jan 30 08:21:02 i hope not Jan 30 08:21:07 that's too much effort :) Jan 30 08:21:29 why would that be too much effort? Jan 30 08:23:29 Actually, I'm trying to figure out something a little more than dual CPU processing. All phones have multiple CPUs or ARMs, the largest CPU does the app loading but smaller CPU handle small stuff like phone handshaking, etc. I want to know if Android can selectively execute code from one of these smaller CPUs. Jan 30 08:27:43 I think you want to let android itself take care of that :-) Jan 30 08:30:58 the other cpus are all special-purpose Jan 30 08:32:33 sensille, yes but there are ways around that. The opengl ES stuff lets you use GLSL to program it. So I want to know if any of the other CPUs can be programmed as well. Jan 30 08:33:09 I'm thinking that this might be more a firmware question than an Android question... Jan 30 09:11:11 my video wont work using a video view Jan 30 09:11:30 is there a special format i should use ? Jan 30 09:11:32 its mp4 Jan 30 09:11:51 formats are desceibed on developer.android.com Jan 30 09:12:23 are you using emulator by chance? Jan 30 09:16:17 How can i call a Java function from my Javascript .. ? Jan 30 09:19:54 woah c_nick, that sounds spooky :D Jan 30 09:20:44 DashCC, its my own HTML :) All i want to do is show a native progress bar .. so i have this class in Java which has two functions for showing and destroying the Progress bar. I want to call these methods from javascript Jan 30 09:42:00 hi! I wrote a small method that checks if the device has an internet connection. how do I write a test for this method? Jan 30 10:30:26 hi Jan 30 10:30:26 with regards to app updates, are there rules that prevent updates from making drastic changes? e.g., if the original has 2 games integrated into it, could an update have 3, 4 games integrated into it? i.e. the size and the scope have substantially increased. Jan 30 10:31:22 there are no rules Jan 30 10:31:40 beyond, obviously, the general market rules Jan 30 10:32:47 Leeds, thanks Jan 30 10:41:32 mun: from what I have gathered, if you make changes that require more rights in the manifest the user just don't get an automatic update - so the user can accept the new rights that the program wants Jan 30 10:52:53 Hi devs Jan 30 10:53:30 I have a query that is I'm trying to fetch category of an application like: http://support.google.com/androidmarket/developer/bin/answer.py?hl=en&answer=113475 Jan 30 10:54:02 just to programatically know whether its game or an application or what type of game etc.. Jan 30 10:55:21 But when I fetch with PakageManager all the apks information installed I dont get that particular tag to know Jan 30 10:56:09 Please let me know if its even possible to get that information cause fetching tag doesnt return that Jan 30 11:04:25 hello all, just a dumb question. What is the better way to implement this http://vimeo.com/35693267 . Using Listview? Using OpenGL? Jan 30 11:10:41 <_ProGammer> Hi all Jan 30 11:12:51 <_ProGammer> i want to have my own button/menu item when ever a text is selected, just next to Copy/Paste/Select All and ... Jan 30 11:12:52 <_ProGammer> ? Jan 30 11:13:32 guys, i want to make a service that has a timer, the timer needs to be reset everytime i hit the touch, i added the ontouch envent, and reset the variable, but how to get the timer running on the service, and the "loop" keep checking the values Jan 30 11:13:51 i know my way around android, but never done this before, and have no clue were to start Jan 30 11:15:24 <_ProGammer> ? Jan 30 11:16:31 i guess they are all sleeping Jan 30 11:32:41 if i have a bunch of html as my app resources, and i display them with a WebView, which is the best way to implement a little search for keyword for those html pages? Jan 30 11:32:51 WebView provides something like that? Jan 30 11:43:08 hello, i'm wondering if someone can help me with a tutorial i'm trying to follow on android's website, http://developer.android.com/resources/tutorials/views/hello-gridview.html Jan 30 11:43:25 what's the problem you're having? Jan 30 11:44:17 step 5, when it says to make a class, ImageAdapter. where do i do that? Jan 30 11:47:24 basically just create a new java file in the same package as HelloGridView.java Jan 30 11:47:33 call it ImageAdapter.java Jan 30 11:47:38 copy paste that code in there Jan 30 11:47:41 should work i think Jan 30 11:48:02 you might need to import some classes, but eclipse will make that easy ^^ Jan 30 11:59:51 Hello, I have a problem when I'm trying to publish the app to the android market Jan 30 12:00:29 In the developer console I can see that my app is available to over 776 devices Jan 30 12:01:00 And I can see my phone on the dialog when I click Show devices and find it by manufacturer Jan 30 12:02:24 However when I'm trying to install it it says that you're not in the targeted group for this item Jan 30 12:04:34 Also I can't find the app with the search, even if i try search it with browser without loggin to my google account Jan 30 12:13:53 somehow, eclipse does not package classes from an android library project corretly (not in classes.dex). the library is declared as an android library and it's present on the other project's build path. any ideas Jan 30 12:13:57 ? Jan 30 12:50:33 Hmm I tired of Android. Is there an easier way to implement round corners for images using xml & good performance. Jan 30 12:53:38 you want to round the corners of something in an imageview? Jan 30 13:01:28 how would you style a "groove" listdivider? can it be done using gradients? Jan 30 13:02:52 searching for "groove" gives me a lot of unrelated hits, perhaps there's a better term for it? (css uses it though) Jan 30 13:11:10 guys, how can i get an atribute from an activity using my service? Jan 30 13:11:33 example: i want to run this on my service WindowManager.LayoutParams lp = getWindow().getAttributes(); Jan 30 13:11:46 but i need the atribute from the activity not the service Jan 30 13:12:38 you mean Extras ? Jan 30 13:12:49 Extras? Jan 30 13:12:51 whats that Jan 30 13:13:43 hmmm...maybe you could bind the activity to the service, have the service ask the activity for attributes (might have to use an intent) and then have the activity pass through the attributes via the IBinder object Jan 30 13:13:52 not 100% sure that's possible or even the best way though Jan 30 13:13:58 ok Jan 30 13:14:04 thanks, ill try Jan 30 13:15:46 Motafoca: why do you need to do that? Jan 30 13:16:54 yeah i'm curious too ^^ Jan 30 13:17:05 Does anybody got any idea about my problem which I asked before. I'm really out of ideas what to do next Jan 30 13:18:08 the market one? i've no idea unfortunately :S Jan 30 13:18:10 sorry Jan 30 13:18:13 expertmikedg: hard to explain, lol Jan 30 13:18:40 the idea is to dim the screen of my app, but it has lots of activities, and to do it on each one will be crazy Jan 30 13:18:49 then i tought of making a service Jan 30 13:18:53 Just make a base activity Jan 30 13:19:20 but when i load the next one, the stuff wont work Jan 30 13:19:21 right? Jan 30 13:19:25 i'm pretty sure changing system wide brightness is complicated now Jan 30 13:19:38 BlablaActivity extends BrightnessControllerActivity Jan 30 13:19:40 its quite easy to do on one activity Jan 30 13:19:53 everything extends brightnesscontrolleractivity Jan 30 13:20:02 WindowManager.LayoutParams lp = getWindow().getAttributes(); Jan 30 13:20:02 lp.screenBrightness = brilho_min; Jan 30 13:20:03 getWindow().setAttributes(lp); Jan 30 13:20:18 were brilho_min = 0.5f Jan 30 13:20:20 or something Jan 30 13:20:26 works nice Jan 30 13:21:16 can't you do it through settings? Jan 30 13:21:22 i mean, the Settings class? Jan 30 13:21:28 hey Jan 30 13:21:43 or is that what expertmikedg was saying, they've made it harder now... Jan 30 13:21:43 can you do dynamic guis on android, parsing xml description files at runtime? Jan 30 13:21:46 barbs: the thing is the on touch event... Jan 30 13:22:15 if i manage to get the window atribute on the sevice, its done ;)( Jan 30 13:22:45 right, but can't you change the setting for the onTouch event via the Settings class? Jan 30 13:23:28 http://developer.android.com/reference/android/provider/Settings.System.html#SCREEN_BRIGHTNESS Jan 30 13:23:33 Settings.System rather Jan 30 13:24:34 it's iffy and dangerous since you could set the brightness to off on some devices Jan 30 13:24:54 can you? i know you can set it to minimum, but that's != off ... Jan 30 13:25:13 yeah, i forget, but theres a handful of devices that turn the backlight off :/ Jan 30 13:25:24 i want to say some blur devices Jan 30 13:25:27 but i might be wrong Jan 30 13:30:48 hmmmm, never mind my proposed solution, apparently you need window attributes after all http://stackoverflow.com/questions/5032588/cant-apply-screen-brightness-settings-programmatically-in-android Jan 30 13:30:51 thanks guys, ill keep you posted Jan 30 13:32:11 please do ^^ Jan 30 13:48:28 hi does anyone know the view page indicator Jan 30 13:48:37 i know the muffin man Jan 30 13:49:42 i need help with that .. Jan 30 13:53:57 Guys, I'm using an AsyncTask in a service to download a file in the background. However, it apparently doesn't always download it properly. Could there be the need to acquire a wake lock for the time of the download? Jan 30 13:55:42 pehlert: why are you using an asynctask? Jan 30 13:56:00 yes, there is a need to aquire a wakelock Jan 30 13:56:41 expertmikedg: As opposed to a regular thread? Because I thought it's quite convenient to call the Service's stopSelf() in it's onPostExecute method Jan 30 13:57:01 Looked easier to me than implementing it on my own Jan 30 13:57:06 Is there anything wrong with it? Jan 30 13:57:45 i guess not for that case Jan 30 13:57:55 only ever one download going on? Jan 30 13:58:45 Yes Jan 30 13:59:17 sounds safe then you likely have to aquire the wakelock Jan 30 13:59:25 It's basically a self updater that downloads an updated version of my app Jan 30 13:59:46 Okay. Will a wake lock automatically keep data connections turned on? Jan 30 14:00:33 is this something Android apps typically do, update themselves? Jan 30 14:00:56 if not, are you really sure *your* app is soo much more important and special that it needs to do it? Jan 30 14:01:23 just asking, not claiming to be an expert or anything, feel free to tell me I should shut up Jan 30 14:01:49 tml_: It's a non-market app that we use internally in our company Jan 30 14:02:11 Very few people are using it at all but I want to make sure everyone has the latest version Jan 30 14:02:11 ok; that sounds better Jan 30 14:02:31 Heh ;) Good point for public apps though, I'd never do it there Jan 30 14:03:30 expertmikedg: Any hint on where you would acquire / release the wake lock in a service? Jan 30 14:04:30 It probably needs to be done before starting the AsyncTask, right? Jan 30 14:06:14 you could probably aquire it and release it in the asynctask methods themselves Jan 30 14:14:56 hi! at the startup of my app I want to perform a check against something like the iOS keychain. I understand that android has this since 4.0 but I want to support 1.6. is there any way of storing a variable prior to 4? Jan 30 14:15:19 what are you talking about in 4.0? Jan 30 14:16:37 expertmikedg: http://developer.android.com/reference/android/security/KeyChain.html <--- since api level 14 Jan 30 14:17:31 you want to store a variable or you want to do crap with private keys and certificate chains? Jan 30 14:19:34 expertmikedg: I want to store a variable that's sort of secret. I dont want anyone tampering with it Jan 30 14:20:03 In android all data is run on a virtual machine and not accessible by other apps Jan 30 14:21:04 you can obfuscate/encrypt but with access to the phone it's not a big problem... Jan 30 14:21:29 so if it's not life or death you can save it in clear text... Jan 30 14:21:37 :-P Jan 30 14:21:48 bad Jan 30 14:21:50 idea Jan 30 14:21:53 never save in plain text Jan 30 14:21:59 If the user has rooted their phone, apps with root can gain access. Jan 30 14:22:06 exactly Jan 30 14:22:08 It's an uncommon use case but please don't tempt fate. Jan 30 14:22:39 durre: use SharedPreferences to store content. That's been available since 1.0. Jan 30 14:22:50 makes it harder, but it's still not safe Jan 30 14:22:52 http://developer.android.com/guide/topics/data/data-storage.html Jan 30 14:22:54 read this Jan 30 14:23:30 also iirc the credentials manager stuff is good, BUT other apps can request access to your keys and users just love to click "Yes" to any screen they get. Jan 30 14:23:40 haha Jan 30 14:23:41 durre http://www.tutorials-android.com/learn/How_to_encrypt_and_decrypt_strings.rhtml simple encyption Jan 30 14:24:41 cool, thanks guys! Jan 30 14:28:42 Hola amigos Jan 30 14:29:06 sup, bitches Jan 30 14:29:10 Is it possible to get unobfuscated stack traces out of an android project that has been run through obfuscation? Jan 30 14:30:28 How to show a progress bar while using VideoView ? Jan 30 14:32:30 yes Cpudan80 Jan 30 14:32:39 have you read the proguard documentation on the android website? Jan 30 14:32:44 if so, read it again. if not, read it Jan 30 14:34:09 canadiancow|work: Oh it's using progruard? Jan 30 14:34:15 Ok - that's what I needed to know Jan 30 14:34:20 ? Jan 30 14:34:24 how are you obfuscating it Jan 30 14:34:32 I needed to know what hte default obfuscator was Jan 30 14:34:47 It's just part of the ant-build for my project Jan 30 14:35:50 that's proguard. Jan 30 14:35:50 you have to set proguard.cfg in your properties file for it to run Jan 30 14:36:02 man the logcat in ddms is shit Jan 30 14:36:16 i select a line, press ctrl-c, and it copies a completely different line Jan 30 14:36:18 this is unusable Jan 30 14:36:30 yeah, i always run it from the command line Jan 30 14:39:34 canadiancow|work: yeah it keeps scrolling behind the scenes :/ Jan 30 14:39:38 if you have pause Jan 30 14:39:43 fucking retarded Jan 30 14:39:45 ah Jan 30 14:39:49 it sounds like you need lograt! Jan 30 14:39:59 so you're an expert now? Jan 30 14:40:05 my node.js logcat viewer Jan 30 14:40:09 Yeah, I just use the command line tbqh Jan 30 14:42:08 canadiancow|work: this past week, i've been working on a better logcat viewer Jan 30 14:42:24 i'm going to put it on github within the next few days, so people can contribute and i can take credit Jan 30 14:43:01 lol Jan 30 14:47:49 i put up my fullscreen checker lib this weekend Jan 30 14:48:43 fullscreen checker lib? Jan 30 14:53:46 how can I add suggestions to the IME when a certain EditText has focus? Jan 30 14:54:18 like entering zip codes Jan 30 15:05:43 canadiancow|work: There doesnt appear to be an option to keep the stack trace unobfuscated Jan 30 15:06:00 I can keep individual files/etc, but not the stack trace specifically... Jan 30 15:06:05 first of all, that is wrong Jan 30 15:06:13 Epilog: there's some xml tag for textviews, I forget what it is though Jan 30 15:06:14 poke around Jan 30 15:06:15 second, that's different than your initial question Jan 30 15:06:28 if you obfuscate nothing, the stack trace will not be obfuscated Jan 30 15:06:34 or you can run everything through retrace or whatever it's called Jan 30 15:06:41 to give you a meaningful stack trace Jan 30 15:06:49 I suppose my original question was a little bit ... misleading Jan 30 15:06:49 Cpudan80: there's a tool that transforms an obfuscated stack trace to a meaningful one Jan 30 15:06:58 but I was hoping to not have to run it through retrace Jan 30 15:07:00 ^^ retrace or something Jan 30 15:07:04 well then don't use proguard thx Jan 30 15:07:07 lol Jan 30 15:07:14 I don't think you understand what proguard does Jan 30 15:07:26 as a compile step it renames all of your classes and methods Jan 30 15:07:28 that is what the output is Jan 30 15:07:38 it doesn't do some special magic to your app to "protect" it Jan 30 15:07:42 it just renames the crap out of everything Jan 30 15:07:50 and I think maybe changes the ordering of things when safe but don't quote me on that Jan 30 15:07:57 I understand how obfuscation works Jan 30 15:08:05 right Jan 30 15:08:08 A lot of commercial obfuscaters leave stack traces untouched Jan 30 15:08:14 or have an option to leave them alone Jan 30 15:08:16 then they're garbage.... Jan 30 15:08:28 alternately, they're taking the obfuscated stacktrace and clearing it up automatically Jan 30 15:08:34 or they're just not obfuscating in debug builds Jan 30 15:08:35 Probably Jan 30 15:08:49 run proguard as a release step, not as a development step. Jan 30 15:09:03 unless you think that proguard is affecting the app and causing a bug Jan 30 15:09:10 (which it could be if you use reflection on your own app or something) Jan 30 15:09:11 I dont run progaurd for debugging Jan 30 15:09:14 that would be dumb Jan 30 15:10:24 write native code Jan 30 15:10:31 then no need for proguard :D Jan 30 15:10:40 heh Jan 30 15:15:11 what do you guys think of this --- I get an error ... activity did not call super.onResume() Jan 30 15:15:36 So obviously I'm thinking someone forgot to put that line in the onResume method, problem is -- the onResume method isn't overridden Jan 30 15:17:40 xD Jan 30 15:18:07 Cpudan80: check the stacktrace. Jan 30 15:18:16 Your parent class could have done this Jan 30 15:18:19 lov: for what exactly? Jan 30 15:18:22 oh... Jan 30 15:18:28 There is no parent class Jan 30 15:18:32 o_O Jan 30 15:18:33 It extends activity directly Jan 30 15:18:34 false Jan 30 15:18:34 pastebin? Jan 30 15:18:42 abaratican: oh you know what he meant >:| Jan 30 15:18:55 I cant pastebin the source, sorry Jan 30 15:19:02 lov: the internet is a cruel and unforgiving place! Jan 30 15:19:07 The class is defined MyActivity extends Activity Jan 30 15:19:20 ie. there's no parent Jan 30 15:19:28 well no, the parent is Activity Jan 30 15:19:34 which abaratican was snidely remarking Jan 30 15:19:36 Well yes - obviously Jan 30 15:19:46 but I understand that there's no parent class that extends Activity (or whose parent extends Activity etc) Jan 30 15:19:54 yes Jan 30 15:19:56 and there's no onResume? Jan 30 15:20:04 that's awful strange. Jan 30 15:20:08 What happens if you add onResume? Jan 30 15:20:37 there's onCreate, onActivityResult and onConfigChagned... Jan 30 15:20:49 but no resume, I'll see what happens when I add it Jan 30 15:21:31 Is there a way to combine a state list and a shape drawable onto one element? Jan 30 15:23:07 Ah, looks like a layer list might be the solution Jan 30 15:25:02 how can I get an int to convert my pixel for a certain size bitmap to what size it should be across all different screen sizes and densities Jan 30 15:26:13 eddi3x3: use DisplayMetrics Jan 30 15:27:38 do I use density or densityDPI? Jan 30 15:29:19 density Jan 30 15:29:24 Having a problem flashing cyanogen mod…actually the flashing works but i get stuck at boot animation and logcat just lists errors with a bunch of permissions: http://pastebin.com/sJPCinG0 Jan 30 15:29:48 wrong chan luxurymode ;) Jan 30 15:30:00 try android-root Jan 30 15:30:01 ok, and then do I do sizeInPixels/density? Jan 30 15:30:25 or sizeIntPixel*density? Jan 30 15:30:26 density*factor Jan 30 15:30:36 ok Jan 30 15:30:39 thank you Jan 30 15:30:43 np Jan 30 15:30:51 is it possible to pass a list of suggestions to the current input method when it is editing a EditText? Jan 30 15:31:04 my own suggestions, not the ones it has Jan 30 15:31:04 suggestions? Jan 30 15:31:09 don't I have to add 0.5f to that answer? Jan 30 15:31:10 you mean for the ime? Jan 30 15:31:21 Jug6ernaut: yes Jan 30 15:31:26 hmm Jan 30 15:31:32 I've seen people from stack overflow add 0.5f because it's a float value Jan 30 15:31:33 eddi3x3: Do you understand what you are doing ? Jan 30 15:31:53 eddi3x3: The reason is just to get a rounded value Jan 30 15:32:00 eddi3x3 just try lol, tho idky u would * .5f Jan 30 15:32:12 hmm, the layer list doesn't seem to work for me with references to a state list and a shape drawable for an image button - has anyone ever done something like that? Jan 30 15:32:13 (int) (density * factor + 0.5f) Jan 30 15:32:21 yea that ^ Jan 30 15:32:25 Jug6ernaut: Its a zipcode edittext and I would like to show the city name when he/she is entering the ZipCode number Jan 30 15:32:28 developernotes: yep and it work Jan 30 15:32:32 +ed Jan 30 15:32:53 ok thanks Jan 30 15:32:58 developernotes: Are you sure the bounds of your Drawable have been initialized Jan 30 15:33:23 Epilog i would image u can lol, but i have no idea how...im looking into it Jan 30 15:33:38 cyrilmottier: when I apply this (http://pastie.org/3282775) I get an InflateException. Jan 30 15:33:43 developernotes: This may help you : Jan 30 15:33:43 https://github.com/cyrilmottier/DrawablePresentation/tree/master/DrawableListing Jan 30 15:33:54 That's a talk I gave 2 years ago about Drawables Jan 30 15:34:18 That's because drawable does not exist Jan 30 15:34:41 android:drawable Jan 30 15:35:10 Epilog http://developer.android.com/reference/android/widget/AutoCompleteTextView.html Jan 30 15:36:32 Jug6ernaut: I already saw the AutoCompleteTextView but I would rather have the suggestions in the IME than vertically Jan 30 15:36:35 cyrilmottier: awesome - that did it. Jan 30 15:36:39 thanks Jan 30 15:37:58 morning Jan 30 15:38:09 Epilog i dont think so, because that would have to be implemented within each ime, which i doubt is standardized Jan 30 15:39:56 Jug6ernaut: I think I saw a similar thing in the browser when you are in landscape and the suggestions are URL's you previously visit. Jan 30 15:40:53 hi, how can i download the api 10 SDK at once ? Jan 30 15:40:53 hmm Jan 30 15:41:27 can someone check a part of my code? to see if I correctly got the density? Jan 30 15:41:32 http://pastebin.com/B1PjqWi4 Jan 30 15:41:45 I keep getting a value around 0 Jan 30 15:41:51 so scaledBitmap doesn't work Jan 30 15:43:01 eddi3x3 int density = this.getResources().getDisplayMetrics().density; Jan 30 15:43:56 eddi3x3: why do you want to scale a Bitmap ? Jan 30 15:44:11 Jug6ernaut: It seems the suggestions are based on a Searchable Jan 30 15:44:21 lxsameer: download the sdk from d.android.com, run it. Select API level 10, download. Jan 30 15:44:23 Aren't you using the res/drawable-[l | m | h | xh]dpi folders ? Jan 30 15:44:55 lov: i see, but due to my country restriction i have to install packages manually, is there any way ? Jan 30 15:45:00 Epilog im finding the same thing Jan 30 15:45:33 lxsameer: uh, there's a way to run 'android' to update packages via the command line but I'm not sure how. Jan 30 15:45:50 you're not really 'installing' anything, you're just downloading and configuring content. Jan 30 15:46:11 if you're unable to do that I don't know if there's much of anything you can do at this point. Jan 30 15:46:22 lov: i downloaded all the packages i needed according to repository.xml file Jan 30 15:47:03 lxsameer: I have no idea how to transform data that you download manually. Jan 30 15:47:17 lov: thanks Jan 30 15:47:18 lxsameer: the 'android' tool should put it all in platform, etc. Jan 30 15:47:32 if you can download the android source directly, you might want to poke at the source for the sdk tool. Jan 30 15:49:40 any idea how to use ZoomButtonsController ? Jan 30 15:50:16 according the sourcecode mZoomButtonsController = new ZoomButtonsController(mScrollView); should be enough to get it running but no Jan 30 15:52:38 aolin: you probably need to set a zoom listener or something Jan 30 15:52:45 what source code are you looking at? Jan 30 15:53:08 did you call setVisible(true)? Jan 30 15:53:33 http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.1_r2/android/widget/ZoomButtonsController.java#ZoomButtonsController.0mReleaseTouchListenerOnUp Jan 30 15:53:55 I'm looking at that Jan 30 15:55:14 ooh Jan 30 15:55:26 ... Jan 30 15:55:32 you're looking at the source for the ZoomButtonsController. Jan 30 15:55:35 calling the setvisible worked (I moved it from onCreate to elsewhere) Jan 30 15:55:46 lov: I know Jan 30 15:55:52 glad I could help. Jan 30 15:56:17 there's no ZoomButtonsController examples out there that work Jan 30 15:56:29 so had to read the actual source code Jan 30 15:57:01 I wonder what that onTouch intercepting is about, I thought it would work automatically Jan 30 15:57:39 whats hte heap limit on the galxay nexus? Jan 30 15:57:51 1 Jan 30 15:58:00 i think its like 64? Jan 30 15:58:09 nintendo 64 Jan 30 15:58:15 its gotta be better than that Jan 30 15:58:22 I have many TextView in a LinearLayout, but they don't slide. What is missing to make it slide ? Jan 30 15:58:29 whoa 64megs, welcome to 2006 Jan 30 15:58:38 How do I save a file to disk that can be read by other applications? (( Take a screenshot, save it, ACTION_SEND intent... )) Jan 30 15:58:53 lov: thanks for help! Jan 30 16:04:07 Can anyone help me with this? When sharing the file, it only works with bluetooth... Mail apps drop the attachment... :: file:///data/data/mypackage/cache/statistics/somescreenshot.png Jan 30 16:06:03 It like Bluetooth has special access to my phone, (which is odd...) whereas other Activities do not have the permissions to read the file. Jan 30 16:06:29 When sharing the file with twitter, it says "Image could not be loaded" Jan 30 16:06:47 When sharing with Yahoo & Gmail, the email is created but there are no attachments. Jan 30 16:07:00 And facebook, nothing happens... Jan 30 16:09:33 yay, no more INTERNET permission needed Jan 30 16:09:53 This may be what i need: fout = this.openFileOutput(fpath, MODE_WORLD_READABLE); Jan 30 16:09:58 p_l what do you mean? Jan 30 16:10:04 Is that permission automatic now? Jan 30 16:10:54 explodes: ACRA can now send reports by email Jan 30 16:11:04 without requiring INTERNET permission in the app Jan 30 16:13:29 can I use onTabChanged to change the tabhost's layout? Jan 30 16:13:37 instead of just changing the tab widgets properties... Jan 30 16:16:40 i finally got my 40euro used and very scratched galaxy mini as testing device *happy* Jan 30 16:16:47 explodes: before, ACRA library required INTERNET permission to send data Jan 30 16:17:00 How does it get around that? Jan 30 16:17:26 it uses the force Jan 30 16:17:43 explodes: now it lets you send an EMail through user's preferred email app Jan 30 16:18:07 so the internet connection is handled by the email app Jan 30 16:18:20 Ah gotcha Jan 30 16:18:25 Thats kinda nice then isnt it Jan 30 16:18:50 yeah, I really wanted to not include INTERNET permission in my app Jan 30 16:19:11 I already got 7 permissions and 3 uses-feature, and I just started the project ... Jan 30 16:19:25 hey guys Jan 30 16:21:20 whats wrong with 7 permissions Jan 30 16:21:25 quality over quantity Jan 30 16:21:35 if you need permission to dial 1-900 numbers, then i dont care if thats your ONLY permission Jan 30 16:21:42 but if you want to read wifi state Jan 30 16:21:47 write external storage Jan 30 16:21:47 etc Jan 30 16:21:49 who cares Jan 30 16:21:59 canadiancow|work: heh Jan 30 16:22:08 I prefer to minimalize the amount used Jan 30 16:22:32 ok, but if you need it, you need it Jan 30 16:22:41 i was actually able to remove a permission when i dropped support for 1.6 Jan 30 16:22:49 because i needed a hack to do something that became easy in 2.1 Jan 30 16:22:53 and that hack needed a perm Jan 30 16:23:29 sometimes I wish there were more finely grained perms Jan 30 16:25:09 hey guys, anyone of you has already used the "ActionBarSherlock" library? Jan 30 16:25:59 yes Jan 30 16:26:28 * p_l is going to use ABS in his current projects Jan 30 16:27:06 i have inplemented it into my project. it's running quite well for preHC/preICS but with ICS I get fatal errors... do you do some version checking and use the original actionbar for post 2.x? Jan 30 16:27:36 What version are you using? Jan 30 16:27:57 Of ABS Jan 30 16:28:48 3.5 i think Jan 30 16:28:49 how do i get the id of the google account from a uri? Jan 30 16:28:51 latest stable one Jan 30 16:29:07 tried the 4.0 beta, but couldn't get it running (i couldn't set up the Sherlock Theme O.o) Jan 30 16:29:17 It should work fine on all versions Jan 30 16:30:31 hi all Jan 30 16:30:49 with my HTC Desire (Android 4.0.3 CM9based custom rom) i always get a nullpointerexception Jan 30 16:31:39 i have now my transformer prime with me, so i might try it out with a stock ROM (ICS) but i don't think that will change anything Jan 30 16:32:11 Well, you know what they say. Stacktrace or gtfo :) Jan 30 16:32:21 http://imgur.com/jacoj Jan 30 16:32:23 ^ Jan 30 16:32:33 This fixed my problems, if anyone was interested : fout = this.openFileOutput(fileName, MODE_WORLD_READABLE); Jan 30 16:32:45 It seems that BLUETOOTH can read files that are NOT WORLD READABLE?! Jan 30 16:32:49 Aeefire: I even put that on bussiness cards Jan 30 16:32:53 ya just gotta set up my workplace atm. Jan 30 16:33:07 gimme a second Jan 30 16:33:35 Aeefire, you definitely want abs 4 Jan 30 16:33:50 and i have it workin on 2.3, 3.1, and 4.0 Jan 30 16:33:55 ya, but how did you define the theme? Jan 30 16:34:04 mine couldn't find the Theme.Sherlock Jan 30 16:34:14 Jan 30 16:34:53 android:theme="@style/Theme.Sherlock" Jan 30 16:35:21 yea, thats the thing. it couldn't find the theme. lol... but later to that. what's exactly the advantage of ABS 4? Jan 30 16:36:08 Well, the theme is definitely there Jan 30 16:36:42 ABS4 is the ICS ActionBar Jan 30 16:37:08 current stable is HC Jan 30 16:40:54 hey guys, I can't get an lg esteem in debugging mode, anybody know why? I have it set to as a storage device and I enabled the usb debugging option under the application settings Jan 30 16:41:07 SimonVT : here you go Jan 30 16:41:08 http://pastebin.com/zFUS8Kf2 Jan 30 16:41:43 com.appsintune.depotdroid.DepotActivity.onResume(DepotActivity.java:25) what happens here? Jan 30 16:42:24 contentview gets set, afterwards .getSupportActionBar(); Jan 30 16:42:46 this.getSupportActionBar(); Jan 30 16:42:46 You're setting contentview in onresume? Jan 30 16:42:59 yes, it's because I update some kind of counter Jan 30 16:43:00 Does anyone work in NYC as an android dev? Jan 30 16:43:08 which should get refreshed Jan 30 16:43:13 Aeefire, abs 3.5 was based on the HC AB, which had no source Jan 30 16:43:18 abs 4 is based on the ICS source Jan 30 16:43:20 which has...source Jan 30 16:43:25 everytime the view gets called. Jan 30 16:43:27 nice :D Jan 30 16:43:32 gotta try it again laterz i think Jan 30 16:43:40 rgravener: expertmikedg Jan 30 16:43:57 In a XML layout file what does a tag containing the fully qualified classname mean? Jan 30 16:44:02 Aeefire: ... contentView should be set by onCreate() anyway - if the class was removed meanwhile, it will run onCreate afaik anyway... Jan 30 16:44:16 canadiancow|work: thanks, i think that name is familiar. He larva labs? Jan 30 16:44:18 Gsingh: it refers directly to that class Jan 30 16:44:21 Aeefire: So this.getSupportActionBar() is line 25 in DepotActivity? That doesn't make sense Jan 30 16:44:34 as in Jan 30 16:44:41 Gsingh: system-provided elements are "auto imported" into namespace Jan 30 16:44:49 rgravener: no Jan 30 16:44:57 no it's Actionbar bar = this.getSupportActionBar(); Jan 30 16:44:57 25 is bar.show(); Jan 30 16:45:11 expertmikedg: do you work in chelsea? Jan 30 16:45:12 without bar.show it wouldn't crash... but also doesn't show up Jan 30 16:46:06 in this cursor example, how do i get the contact id? https://gist.github.com/1705367 Jan 30 16:46:47 rgravener: nope Jan 30 16:46:50 why? Jan 30 16:47:07 i used to work in bn.com over there Jan 30 16:47:11 just seeing if anyone works near me. Jan 30 16:47:13 no longer though Jan 30 16:47:19 how recently? Jan 30 16:47:33 p_l: can you elaborate more on the system-provided elements and auto-imported or just point me to an article I can read? thank Jan 30 16:47:34 just about a year Jan 30 16:47:38 my ex-gf works there Jan 30 16:47:44 expertmikedg: nice, when did you become an expert? Jan 30 16:47:53 last wednesday Jan 30 16:47:57 expertmikedg: are you on ExpertSexChange.com? Jan 30 16:48:03 hehe Jan 30 16:48:10 i was goign to make that joke :( Jan 30 16:48:13 you beat me to it Jan 30 16:48:42 Gsingh: System provided elements are the ones you find in docs regarding Layouts etc. Jan 30 16:49:08 Gsingh: the fully-qualified classname let's you use your own classes in Layouts Jan 30 16:49:44 Aeefire: Strange.. But either way, you shouldn't be calling setContentView in onResume.. DOes it work without that? Jan 30 16:51:43 hm i just deleted the 3.5 and now added the 4.0 beta + plugin Jan 30 16:51:43 would I hav to extend onTabChanged with Activity, in order to change the tabHost layout? Jan 30 16:51:49 so different problems now Jan 30 16:55:42 i am a bit confused atm Jan 30 16:56:25 it's right that i should add ABS4.0/library as library projects and the actionbarsherlock-plugin-compat-lib-4.0.0-SNAPSHOT.jar as jar? or just the jar? Jan 30 16:57:25 SimonVT : t's right that i should add ABS4.0/library as library projects and the actionbarsherlock-plugin-compat-lib-4.0.0-SNAPSHOT.jar as jar? or just the jar? Jan 30 16:58:44 the first option Jan 30 16:59:34 ? Jan 30 16:59:40 so both? Jan 30 16:59:53 yes Jan 30 17:00:30 ya.. then i did it "right" but sitll get really weird errors.. project was not built since its build path is incomplete. O.o Jan 30 17:01:28 The project was not built since its build path is incomplete. Cannot find the class file for com.actionbarsherlock.view.ActionMode. Fix the build path then try building this project DepotDroid Unknown Java Problem Jan 30 17:01:29 lol Jan 30 17:02:46 ahh Jan 30 17:02:47 better now Jan 30 17:06:20 SimonVT solved some problems... but now: (with ICS beta) Cannot override the final method from FragmentActivityline 68 Java Problem Jan 30 17:06:20 this appears at onCreateOptionsMenu Jan 30 17:06:37 You have to update your imports Jan 30 17:07:35 ctrl shift + o doesn't help.. the imports are Jan 30 17:07:35 import android.app.ActionBar; Jan 30 17:07:36 import android.app.AlertDialog; Jan 30 17:07:36 import android.content.DialogInterface; Jan 30 17:07:36 import android.content.Intent; Jan 30 17:07:36 import android.os.Bundle; Jan 30 17:07:36 import android.support.v4.app.FragmentActivity; Jan 30 17:07:37 import android.text.InputType; Jan 30 17:07:37 import android.util.Log; Jan 30 17:07:38 import android.view.Menu; Jan 30 17:07:38 import android.view.MenuItem; Jan 30 17:07:39 import android.view.View; Jan 30 17:07:39 import android.view.WindowManager; Jan 30 17:07:40 import android.widget.AdapterView; Jan 30 17:07:51 .. Jan 30 17:07:55 ah probably wrong menu import? Jan 30 17:08:05 1. don't spam Jan 30 17:08:19 sry Jan 30 17:08:30 2. yes, ABS has a custom implementation of the menu stuff Jan 30 17:11:02 I have add a TextView through setQueryAsync, but I can't manage to refresh the layout. In onPostExecute(), invalidate() does nothing and setContentView erase almost everything. What else should I do ? Jan 30 17:13:21 "Couldn't find container view" lol... argh Jan 30 17:13:39 Aeefire: use a pastebin please Jan 30 17:13:59 i was already reminded to do so.. thanks :) Jan 30 17:14:06 maxagaz: set a new adapter Jan 30 17:14:30 or notifyDataSetChanged Jan 30 17:14:35 then invalidate Jan 30 17:14:44 There is a magic combination somewhere :) Jan 30 17:14:53 rgravener: thanks :-) Jan 30 17:18:37 hello all, I was curious. i want to create an app that brings up the camera app to take a picture for my application... but I want to overlay an image at 20% opacity onto the image preview (before actual picture is taken), pretend its a picture of a 'crosshair' while the live camera preview is going on. just curious if its possible and what general classes i should research n' check out Jan 30 17:19:16 you can not do that reliably unless you create the camera taking functionality Jan 30 17:19:22 in your own app Jan 30 17:20:13 anyone have any examples of reading social stream in the new API? Jan 30 17:20:51 SimonVT : my activity even crashes when removing this.getSupportActionbar and onCreateOptionsMenu .. but still works on 2.1 (with actionbar shown O.o)... it seems to have to do with the Sherlock theme?? or something like that? Jan 30 17:21:28 expertmikedg, Darn, thanks. Any idea of open source apps I can maybe find examples of people re-creating the camera functionality? Jan 30 17:21:43 monk12: how about the Camera pp? Jan 30 17:21:49 s/pp/app/ Jan 30 17:22:31 trying to theme an edittext... what's the attribute for the color of the | cursor? Jan 30 17:23:23 abaratican: if i had to guess, textColor Jan 30 17:23:45 that affects the text, but not the |... I have black text and a white | =/ Jan 30 17:23:52 i read that as linear layout is linear Jan 30 17:24:13 evancharlton, hah, k thanks. I'll look for it. Jan 30 17:24:15 oh wow, my scrollback buffer was showing a different day Jan 30 17:24:17 * birbeck wakes up Jan 30 17:24:50 rgravener: on what should use notifyDataSetChanged ? Jan 30 17:25:12 well did your data change maxagaz ? Jan 30 17:25:18 or do you just need to update the view? Jan 30 17:25:49 rgravener: where are you working at Jan 30 17:26:35 Starting at mlb.com Jan 30 17:27:07 In what method does a View look at teh layout_width and layout_height components when it's begin inflated? Jan 30 17:29:07 NicholasRoge: when it is layedout Jan 30 17:29:10 laidout Jan 30 17:29:27 yaaaaay it works!! wooop wooooop! Jan 30 17:29:42 The View doesn't, the ViewGroup does Jan 30 17:30:16 rgravener: it seems okay now by just doing setText(foo) on my TextView, where foo is the variable that changed Jan 30 17:30:29 rgravener: so, no need to refresh the view Jan 30 17:31:36 rgravener: I spoke too fast, it's bugging... Jan 30 17:32:06 rgravener: But which method specifically? I need to override it so that I don't have to specify those attributes in the XML file. Jan 30 17:32:07 SimonVT: it somehow works now.. don't know why, but it does. Thanks for your help! Jan 30 17:32:08 maxagaz: for my listview I do listView.invalidateViews(); Jan 30 17:32:18 so whatever was drawn is re-drawn Jan 30 17:32:47 NicholasRoge: LinearLayout.LayoutParams or RelativeLayout.LayoutParams Jan 30 17:33:00 depending on which one you are using... Jan 30 17:35:58 Here's a better question. What is the call order for a View at teh point of inflation? Jan 30 17:37:23 They are passed to the Views onMeasure Jan 30 17:37:35 Just debug Jan 30 17:37:39 and then look at stack trace Jan 30 17:38:05 But why do you need to not specify them? Jan 30 17:38:17 you could just wrap_content, and let the View figure it out Jan 30 17:38:20 because you can WRAP_CONTENT Jan 30 17:38:23 or FILL_PARENT Jan 30 17:38:35 generally those work fine, but sometimes you need more granularity Jan 30 17:38:56 MATCH_PARENT * Jan 30 17:38:57 your doing dynamic layouts since the xml isn't good enough for you, right? Jan 30 17:39:09 canadiancow|work: yea, yea, yea Jan 30 17:39:10 little question: is there some method which does the same thing as the hard/softwarebutton "back" ? Jan 30 17:39:19 finish(); Jan 30 17:39:26 or dialog.dismiss() Jan 30 17:39:35 or popBackStack Jan 30 17:39:37 removeDialog Jan 30 17:39:59 ah yeah, totally forgot about that Jan 30 17:40:16 its a must, imo Jan 30 17:41:47 removeDialog? It's deprecated, imo :p Jan 30 17:44:23 haha Jan 30 17:45:15 sorry, I limit myself to 2.1 Jan 30 17:45:30 hmpf Jan 30 17:45:53 pfft, l2ACL Jan 30 17:46:08 in an action bar application icon on the left should be "clickable" too and referencable via android.R.id.home... am i right? Jan 30 17:47:02 right now my data model is primarily 2 array lists that are updated in the background when certain events occur, when they are updated, i want any open views that use them to be updated with the new content Jan 30 17:47:14 should i use a content provider, or just broadcasts? Jan 30 17:47:18 can someone give me a review for this: http://ryangravener.com/android/menu/icons Jan 30 17:47:22 chrome only for now Jan 30 17:47:31 just an index of all the menu icons Jan 30 17:47:34 AeeFire you are right Jan 30 17:47:43 look at http://developer.android.com/guide/topics/ui/actionbar.html Jan 30 17:51:56 psksBrutus funny thing that my ActionBarSherlock seems to not recognize that click, lol. Jan 30 18:00:21 I have subclassed the EditText to add copy and paste menu items in the onCreateContextMenu method, however I don't seem to get my onTextContextMenuItem selected called after selecting my option. Any ideas what would cause this? Jan 30 18:02:16 Hi can someone please tell me how should i run apk file on an emulator directly without eclipse... Jan 30 18:02:21 i think im doin git wrong Jan 30 18:02:24 i just wrote: if (this != null) { Jan 30 18:02:34 i know i can do it with emulator ... but not sure how Jan 30 18:02:38 Better safe than sorry! Jan 30 18:03:11 devang211292: you can use the adb tool for that. Jan 30 18:03:53 whhhhyyyy dooeesssn't myyyy actionbaaaarrrr respppooonnndddd tooo myyy clicksss >.< Jan 30 18:04:07 new Something() { @Override public void something() { methodThatRequiresThisObjectToExist() } } Jan 30 18:04:12 the constructor calls something() Jan 30 18:04:21 that was a poor choice of method and class name in the example Jan 30 18:04:44 it also didint fix my problem Jan 30 18:05:55 developernotes: it says error: device not found... can you please help me with that... Jan 30 18:06:29 devang211292: have you launched the emulator yet? you will need to do that first. Jan 30 18:06:48 how do I reload resources manually if I have configChanges=XXXX? Jan 30 18:06:56 I'm having a similar problem with setRetainInstanceTrue Jan 30 18:07:18 onConfigurationChanged or something? Jan 30 18:07:21 when I recreate() and change my theme, everything that has an instance retained messes up the theme Jan 30 18:07:38 e.g. all of my adapters are retained, and the views they have are for the wrong theme Jan 30 18:07:53 lulz Jan 30 18:08:23 hi Jan 30 18:08:38 i have to run it through command prompt only? Jan 30 18:10:33 doesn't look like I can retain instance here... Jan 30 18:10:58 * pfn tries to figure out how to get around the async service connection when not retaining the instance Jan 30 18:11:15 I guess I can make the user of my fragment wait until the service is connected... Jan 30 18:11:40 or I wish setRetainInstance ignored recreate() Jan 30 18:11:47 but I guess that's not how it's defined Jan 30 18:11:59 it's supposed to work explicitly in that case Jan 30 18:12:00 hrm Jan 30 18:12:21 what about debug android app? Jan 30 18:15:35 I'm trying to install my app onto my device from eclipse, but the Android Device Chooser that comes up says AVD Name is N/A and Target is unknown. (Debug is blank and state is online). Selecting it anyway and running gives this exception Jan 30 18:15:47 com.android.ddmlib.InstallException: closed Jan 30 18:16:18 if I try to issue an adb command from console, I get -waiting for device- over and over. Jan 30 18:17:00 adb devices lists the device as A1000019411765 device Jan 30 18:17:49 The phone has usb debugging enabled and external application sources allowed Jan 30 18:19:33 Is there a way to Pool AsyncTasks ? APPARENTLY i cannot run 800 AsyncTasks simultaneously. Can I throttle them to say, 3 at a time? Jan 30 18:19:45 dont use AsyncTask Jan 30 18:19:58 if you're doing 800 simultaneously, you definitely want something a little less basic Jan 30 18:21:09 800 asynctasks seems efficient Jan 30 18:22:33 asynctasks are naturally throttled to degree of parallelism of the pool that runs them Jan 30 18:22:38 so it's perfectly fine to use asynctasks, damnit Jan 30 18:23:21 800 processes would probably be better Jan 30 18:23:34 ive had apps crash because you try to run more than like 20 at once Jan 30 18:23:44 and as of 3.0, asynctasks run serially Jan 30 18:23:48 not concurrently Jan 30 18:24:07 Have a button to let the user manually dispatch asynctasks, there's your throttle Jan 30 18:24:12 lol Jan 30 18:24:14 CLICK ME Jan 30 18:24:15 haha Jan 30 18:24:15 CLICK ME Jan 30 18:24:17 CLICK ME Jan 30 18:24:20 and they will Jan 30 18:24:23 users can't help themselves Jan 30 18:24:27 when they see an ok button they click it Jan 30 18:24:27 always Jan 30 18:24:29 no matter what Jan 30 18:24:38 DO YOU WANT TO SET YOUR PHONE ON FIRE YES/NO Jan 30 18:24:40 [YES] Jan 30 18:25:05 Basically its 800 thumbnails being loaded from the internet Jan 30 18:25:16 Lazy load much? Jan 30 18:25:44 i would put them in a thread pool executor or someting Jan 30 18:25:44 if they're "static" or can be versioned, i'd recommend downloading a compressed archive Jan 30 18:25:44 explodes: you probably don't want to use an asynctask for this. Jan 30 18:25:46 and decompressing on the phone Jan 30 18:25:54 lov: [13:19:45] dont use AsyncTask Jan 30 18:25:54 :P Jan 30 18:25:54 explodes: you should probably be using a thread pool and a service or something Jan 30 18:26:04 asynctask in 3.0 and above has a threadpool that's limited to something like 256 threads Jan 30 18:26:10 dunno about prior to 3.0 Jan 30 18:26:13 256 threads is insane Jan 30 18:26:13 what? Jan 30 18:26:14 no Jan 30 18:26:18 in 3.0 they run one at a time Jan 30 18:26:20 he should be downloading at most 8 at a time Jan 30 18:26:20 canadiancow|work: 13:26:14 < lov> DO YOU WANT TO SET YOUR PHONE ON FIRE YES/NO 13:26:15 < lov> [YES] Jan 30 18:26:23 not in cuda Jan 30 18:26:26 ;) Jan 30 18:26:29 can anyone help? Jan 30 18:26:33 canadiancow|work, no, in *4.0* they run serially Jan 30 18:26:36 oh Jan 30 18:26:36 in 3.0 they are parallel Jan 30 18:26:36 my bad Jan 30 18:26:45 rufsketch1: restart your device Jan 30 18:26:48 offload to service Jan 30 18:26:49 AstynkTask Jan 30 18:26:49 it sounds like it's in a bad state Jan 30 18:26:50 Why does adb keep repeating "waiting for device" Jan 30 18:26:53 lov Jan 30 18:26:54 actually, it's 128 threads max in 3.0 Jan 30 18:26:54 alright Jan 30 18:26:56 killWithFire(Build.VERSION.HONEYCOMB) Jan 30 18:26:57 3.0+ Jan 30 18:27:01 rufsketch1: its polling i suppos Jan 30 18:27:03 rufsketch1: have you ever been able to use adb to connect to your device? Jan 30 18:27:10 but the default is 1 serial thread in 4.0 Jan 30 18:27:12 my G2 w/ CM7.1 gets into a shitty state sometimes Jan 30 18:27:15 After HONEYCOMB, it is planned to change this back to a single thread to avoid common application errors caused by parallel execution. Jan 30 18:27:17 ah, "after" Jan 30 18:27:18 lov my first time trying Jan 30 18:27:19 it happens and I curse and I reset the device Jan 30 18:27:21 but you can executeOnExecutor(THREAD_POOL_EXECUTOR) Jan 30 18:27:24 rufsketch1: ah. Jan 30 18:27:31 SimonVT: it would be great in my manifest if i could say "this app runs on everything except hc" :) Jan 30 18:27:35 rufsketch1: http://developer.android.com/guide/developing/device.html Jan 30 18:27:37 have you read this? Jan 30 18:27:37 to use parallel threads Jan 30 18:27:41 g00s, why would you do that? Jan 30 18:27:45 dunno what the threadpool size is prior to HC Jan 30 18:27:47 lov I read it alreaduy Jan 30 18:27:48 have you enabled usb development on the device? Jan 30 18:27:49 canadiancow|work: :D ;D Jan 30 18:27:49 * pfn looks out of curiosity Jan 30 18:27:50 Well, I'm happy with loading them 1 at a time... Jan 30 18:27:58 lov this is happening after following those directions Jan 30 18:28:02 rufsketch1: getting ddms/adb to work with your device is step 0. Jan 30 18:28:05 rufsketch1: windows or lunix Jan 30 18:28:22 lov I skipped step 0 two months ago Jan 30 18:28:25 or mac lawl Jan 30 18:28:25 it's also 128 concurrent in 2.3 Jan 30 18:28:34 lov linux Jan 30 18:28:41 rufsketch1: lsusb Jan 30 18:28:43 is the device showing up? Jan 30 18:28:50 Basically I want to run 800 tasks serially... Jan 30 18:28:55 g00s: I really only want 3.0 and 3.1 to die so I can say fuck you <3.2 tablets and your layout-xlarge Jan 30 18:28:58 lov, yes Jan 30 18:28:58 explodes, asynctask can do that just fine Jan 30 18:29:05 rufsketch1: does your device ask you what kind of USB connection to make? Does it default to enabling usb storage? Jan 30 18:29:08 you might have to modify that Jan 30 18:29:12 lov but hang on. Let me try installing again now that I rebooted Jan 30 18:29:13 fucking oems Jan 30 18:29:14 explodes, but you can't make it run serially until 3.0 Jan 30 18:29:23 rufsketch1: if you're on lunix you shouldn't need to worry about installing anything Jan 30 18:29:27 use one asynctask with a loop Jan 30 18:29:27 Making an async task that just loops 800 times is great, except that the error I get is something like: Only the original thread that created a view hierarchy can touch its views. Jan 30 18:29:28 there are no drivers, etc Jan 30 18:29:36 lov it does, and it does. And it doesn't let me select anything except usb storage Jan 30 18:29:39 Is it possible to access & modify private fields from a package that you don't own? Jan 30 18:29:43 explodes: you need to use postUpdate or w/e to have the ui thread update your dialogs/views/etc Jan 30 18:29:46 explodes, UI work must always be done on the UI Jan 30 18:29:48 protected Jan 30 18:29:51 thread Jan 30 18:29:51 lov, no, I mean, installing my app onto the phone Jan 30 18:29:54 rufsketch1: ah Jan 30 18:29:59 so, I do, MyActivity.this.runOnUIThread(new Runnable(){ run() { ...that stuff i was doing ... }); Jan 30 18:30:02 explodes, you can't touch ui in doInBackground Jan 30 18:30:11 explodes: publishProgress Jan 30 18:30:12 rufsketch1: what choices do you get? Can you disconnect the phone and get different choices? Jan 30 18:30:18 Oh snaps Jan 30 18:30:21 explodes, better to publishProgress, and onProgressPublished() Jan 30 18:30:22 lov ah, okay. Restarting the phone worked. thanks :) Jan 30 18:30:31 rufsketch1: hooray Jan 30 18:30:41 explodes, then do all UI work in onProgressPublished Jan 30 18:32:35 hey developernotes: thanks. it worked... Jan 30 18:34:06 pfn: onProgressPublished will already be on the UI thread, won't it?/ Jan 30 18:34:11 loves working actionbars :)) Jan 30 18:36:47 magnets: private fields, only through reflection tricks. Jan 30 18:37:18 explodes, that's right Jan 30 18:37:23 hi Jan 30 18:39:14 Can i 'cradle' the android emulator? So that is appears as a drive in windows explorer Jan 30 18:39:19 http://android-developers.blogspot.com/2012/01/android-developers-on-google.html Jan 30 18:39:42 jriachi: I'm not sure that you can expose it that way, no Jan 30 18:39:48 jriachi: regular devices, yes, generally, you can expose usb storage. Jan 30 18:40:12 jriachi: use ddms from the dedicated app or from eclipse if you need a drag/drop interface, otherwise use logcat. Jan 30 18:40:13 i don't understand why they don't just use a f%$% wiki with commenting Jan 30 18:40:20 s/logcat/adb push and pull Jan 30 18:40:30 death to google+ as a cms / information repository Jan 30 18:40:49 It'd go to hell Jan 30 18:40:55 g00s: heh Jan 30 18:40:58 more like stackoverflow Jan 30 18:41:06 also, I like that his post has broken links Jan 30 18:41:36 hah Jan 30 18:41:56 has anyone on here tried out the new cross-platform Javascript framework EnyoJS? Jan 30 18:42:04 articles and resources should be on the main site, and should be intelligently tagged like so Jan 30 18:42:13 not stuck in another fucking place Jan 30 18:42:48 and as for the discussion part, i don't see how it won't simply just devolve into google groups after a while Jan 30 18:44:04 I wonder if zuck ever entertained a reasonable offer for facebook Jan 30 18:44:24 I'm pretty sure he did since they're ipoing Jan 30 18:44:28 he would be stupid to sell it Jan 30 18:44:55 Does anyone have any good references for exactly what Android does when starting a service in another process within an app? I can't seem to find any good documentation on how it works. Jan 30 18:45:02 Lot of millionaires from that ipo Jan 30 18:45:21 S3nsat10n: in what way Jan 30 18:46:47 lov: I just want to know what the flow looks like when the separate process is created...what Android does when it creates a new process. Jan 30 18:47:15 android creates a new process Jan 30 18:47:20 S3nsat10n: I believe that dalvik is forked, the Application (whatever it is, if you specified it) has its onCreate called, etc Jan 30 18:47:23 what are you asking? Jan 30 18:47:26 your service is created, and bound to Jan 30 18:47:36 actual AIDL is used to communicate Jan 30 18:47:58 because you're not running on the same process it's possible for one of the processes to go away and remote exceptions to occur there Jan 30 18:48:10 it's also technically possible (but very unlikely) for the binding to fail for memory reasons, etc Jan 30 18:48:14 I think Jan 30 18:48:23 ok, so you'll basically end up with 2 instances of your app...or at least anything that was created in the Application class' onCreate Jan 30 18:48:37 S3nsat10n: technically, yes. Jan 30 18:48:47 S3nsat10n: that said, what lives in the remote process depends on the hints in the manifest Jan 30 18:49:04 I am doing a project on malware analysis. I need to download as many apps (free) from the market. How do I get these apps? Jan 30 18:49:17 Click download a lot. Jan 30 18:49:24 lol Jan 30 18:49:33 Contact the market team, see if they'll help you out. Jan 30 18:49:34 blahsphemer, best way would probably be the market Jan 30 18:49:36 hire me to click download a lot Jan 30 18:49:44 it's against the TOS to attempt to reverse engineer market to directly pull apps en masse Jan 30 18:49:56 lov: thanks. Jan 30 18:49:58 a bunch of android samples on d.android.com use Contacts.StreamItems.CONTENT_DIRECTORY but that's not a constant defined in the sdk... Jan 30 18:50:03 yeah, google sued my mom because she broke the ToS and now shes in jail Jan 30 18:50:04 I'll sell you 150K adviews Jan 30 18:50:07 and i have no mom Jan 30 18:50:07 question, any of you guys in here come from webOS development? Jan 30 18:50:08 that will get you 5 downloads Jan 30 18:50:10 PatrickC, But how do i download like 100,000 apps from the market? Jan 30 18:50:13 rgravener: hush :P Jan 30 18:50:22 blahsphemer, that i have no clue lol Jan 30 18:50:22 blahsphemer: see above. Jan 30 18:50:22 theres StreamItems.StreamItemPhotos.CONTENT_DIRECTORY Jan 30 18:50:24 contact market. Jan 30 18:50:24 luxurymode: Always check api level Jan 30 18:50:34 yeah im using 15 Jan 30 18:50:36 either you work with them, or you get a nastygram. Jan 30 18:51:12 lov, How about using other markets like AppBrain or some other 3rd party market Jan 30 18:51:36 blahsphemer: you can probably use 3rd party markets. AppBrain, if I recall, only aggregates metadata; it doesn't actually download or distribute the app Jan 30 18:51:44 it provides a link that points to market iirc Jan 30 18:51:49 SimonVT, im using 4.0.3 and still cant find it...? Jan 30 18:51:50 you can then download from the market UI Jan 30 18:51:54 luxurymode: No idea then Jan 30 18:52:10 AppBrain would be malware-central if they hosted the APKs themselves :p Jan 30 18:52:14 srsly Jan 30 18:52:24 lov, So there is no _huge_ repository of free android apps, eh? Jan 30 18:52:32 blahsphemer: there is, it's called Android Market Jan 30 18:52:40 that I could download in bulk Jan 30 18:52:41 but you have to play by Google's rules to use it. Jan 30 18:52:43 right. Jan 30 18:52:58 If you really can't work with the Market team for some reason, go find some hive of app cracking and start pulling there. Jan 30 18:53:15 why would you want to download every apk Jan 30 18:53:22 that sounds like it could only possibly be used for illegal purposes Jan 30 18:53:25 eh Jan 30 18:53:38 he wants to do analysis on the apks, see if X% contain malware or potential malware, etc. Jan 30 18:53:38 canadiancow|work: it's legal in 'merica Jan 30 18:53:42 it's a legit use case Jan 30 18:53:44 oh Jan 30 18:53:48 hmm Jan 30 18:53:58 i think he really puts to put malware in every app Jan 30 18:53:59 there's just not direct way to do it without engaging the market team directly. Jan 30 18:54:01 and then start his own market Jan 30 18:54:17 Sounds plausible Jan 30 18:54:32 is there a way to change an actionbar menu item's icon programmatically during runtime? Jan 30 18:54:53 Aeefire: Like you'd set any menuitems icons Jan 30 18:54:54 * blahsphemer expertmikedg is SHerlockHolmes Jan 30 18:55:09 ActionBarSherlockHolmes Jan 30 18:55:21 :| Jan 30 18:55:24 ExpertActionBarSherlockHolmes Jan 30 18:55:48 (MenuItem)findViewById(R.id.asdjasda).setIcon ? Jan 30 18:56:11 mikedg is only an expert with regards to making sammiches. Jan 30 18:56:29 if anyone is curious, i abandoned trying to use actionbarsherlock. Jan 30 18:56:29 the implementation felt all wrong to me Jan 30 18:56:54 Your feelings largely influence the technical decisions of others. Jan 30 18:57:10 jasta: very interesting, indeed Jan 30 18:57:12 jasta: isn't it almost exactly how the real action bar works? Jan 30 18:57:38 i've been considering ditching the compatibility library, the implementation felt all wrong to me Jan 30 18:57:43 expertmikedg: that was my initial assumption, but no, it is clear that is not a design requirement. Jan 30 18:58:12 the current stable and unstable versions are not implemented in such a way as to take the fully native path on an android 4.0 device. Jan 30 18:58:24 oh, that i was unaware of Jan 30 18:58:40 in talking to jake, that is his goal, but that neither stable or unstable currently do that in full is a real disappointment. Jan 30 18:58:49 sufficient to convince me that the design direction taken is incorrect Jan 30 18:58:51 didn't he change that in ABS 4.0? Jan 30 18:58:56 * g00s shakes his fist at google for not putting some viable actionbar stuff in the support library Jan 30 18:59:14 i'd much, much rather sacrifice features and have a worse experience pre android 3.0 or even 4.0 than have a non-native execution on 4.0 Jan 30 18:59:33 SimonVT : (MenuItem)findViewById(R.id.asdjasda).setIcon ? ? Jan 30 18:59:41 abaratican: he is changing it, but to date the unstable tree is actually a regression in terms of what i'm saying. Jan 30 18:59:47 it's not using the native impl on 4.0 at all Jan 30 18:59:55 on android 4.0, that is Jan 30 19:00:07 but he's looking at using it Jan 30 19:00:13 yes, but again, today does not. Jan 30 19:00:16 either in stable or unstable. Jan 30 19:00:38 but what happens when the actionbar is updated again in 5.0? should ABS still use native on 4.0? Jan 30 19:00:51 and, for example, unstable today doesn't even support Holo.Light theme. Jan 30 19:00:59 jasta: did you look at the ActionbarCompat fluff on d.android.com ? Jan 30 19:01:19 i did, that is the way i'm taking my current project. Jan 30 19:01:26 though, i'm making heavier sacrifices on pre 4.0 Jan 30 19:01:33 in the interest of simplificty. Jan 30 19:01:36 simplicity* Jan 30 19:01:54 actually, simplificty is awesome :D Jan 30 19:02:09 i changed tenses on myself as i was writing that :) Jan 30 19:04:00 i wonder what the google maps and market apps do, if they use ActionbarCompat or some other internal goofy thing Jan 30 19:04:18 iosched 2010 used pure xml, don't remember what 2011 did Jan 30 19:04:41 i think it used custom crap Jan 30 19:04:54 g00s: easy to reverse engineer and find out. Jan 30 19:05:01 yeah Jan 30 19:05:04 i bet they all use a common library google created tho Jan 30 19:05:07 (just my guess) Jan 30 19:05:29 io sched 2011 is open source Jan 30 19:05:35 actually, im not so sure tho. Jan 30 19:05:46 http://code.google.com/p/iosched/ Jan 30 19:05:50 maps and market both ahve pretty different requirements as far as how they work Jan 30 19:05:53 expertmikedg: im referring to maps and market Jan 30 19:05:57 oh Jan 30 19:06:03 maps, for example, providers a very different UI shell on ICS. Jan 30 19:06:11 so they might even just have totally custom layouts and implementations for those UI pieces Jan 30 19:06:25 market, meanwhile, only needs to support gingerbread at a minimum. Jan 30 19:06:32 makes things a bit easier to hack Jan 30 19:06:40 the newest market works on froyo Jan 30 19:06:41 it doesn't have to support froyo? Jan 30 19:06:47 g00s: does it really? Jan 30 19:06:49 yes Jan 30 19:07:41 well nevermind then, i've been a pure nexus user for so long i forget how the cretins are living :) Jan 30 19:07:56 * g00s is a cretin Jan 30 19:07:59 XD Jan 30 19:08:09 * p_l slaps jasta with a large trout Jan 30 19:08:22 at the next hangout, somebody should ask what those apps do for actionbar Jan 30 19:08:32 sort of a dumb question, but in a listview, why wouldn't something show up as focusable? Jan 30 19:08:59 i honestly look around at the latest from HTC and Samsung and am boggled that the free market is putting up with this nonsense. Jan 30 19:09:00 do epople actually like those customizations or something? Jan 30 19:09:18 i like HTC sense on gingerbread Jan 30 19:09:27 the honeycomb sense is the ugliest shit ive ever seen Jan 30 19:09:27 HTC in particular makes me think that their flagship devices are actually cheap Chinese knockoffs of the Nexus phones. I know of course that the history is not that, but from a quality perspective they just look so fucking shitty. Jan 30 19:09:30 g00s: I suspect they have some interesting build scripts that assemble GApps from different libs into apps that work for specific stuff Jan 30 19:09:51 jasta: how so? I <3 my DZ. Jan 30 19:09:53 Surely someone has done this for me already, cuz ya'll are so nice! I want a grid view of thumbnails, with pagination (I've got 800 thumbs, so far) and when you click a thumb it pulls up a gallery with all of the photos (obviously lazy loading the 800 full-size images....) Jan 30 19:09:55 i would guess, most don't care, and the heavily modified phones are pushed heavily in the store because there is probably also a correlation between heavy customization and carrier installed crapware Jan 30 19:10:11 jasta: looking at my parents and my own experiences with SGS2, it's no longer that annoying Jan 30 19:10:12 Each image thank god has a thumbnail URL and a large URL (Flickr style) Jan 30 19:10:17 Anywhere to start? Jan 30 19:10:23 maraz: keep in mind, i used to work with (not for) HTC very closely at T-Mobile. I got a first hand look at their engineering team... Jan 30 19:10:34 monkeys and typewriters at work if i've ever seen it. Jan 30 19:10:44 jasta: in fact, my father heavily uses the messaging hub from Samsung, using it as single view into multiple email accounts Jan 30 19:10:52 isn't that how everything is produced in asia? :) Jan 30 19:11:03 maraz: not everything Jan 30 19:11:14 samsung is monkeys too Jan 30 19:11:24 maraz: the bigger companies sometimes go for that, no matter the country Jan 30 19:11:29 my experience in repairing ROC electronics tells quite a different story Jan 30 19:11:51 maraz: well, there's always "you get what you pay for" ;) Jan 30 19:11:54 their hardware groups are probably different, but there's no telling for sure :) Jan 30 19:11:56 explodes: pagination for 800 thumbnails sucks dick Jan 30 19:11:59 why would you want to do that Jan 30 19:12:01 p_l: truer words have never been spoken. Jan 30 19:12:18 how do i get the raw contact id of the device owner? Jan 30 19:12:21 expertmikedg: cuz they want to me too Jan 30 19:12:26 **grammar Jan 30 19:12:34 it sucks though, tell them it fucking sucks Jan 30 19:12:44 maraz: personally, while a lot of code by samsung is shitty, the platform itself is quite good Jan 30 19:13:00 samsung makes some shitty tradeoffs Jan 30 19:13:08 like the file system mess Jan 30 19:13:11 the gps mess Jan 30 19:13:11 maraz: it's just that some teams coded some shit in the beginning Jan 30 19:13:46 expertmikedg: the only place from which I heard about GPS was USA, and please remind me, which country's operators got a fuckton of different board designs? Jan 30 19:13:46 is there a way to test a google apy key? my app doesn't load the map.. Jan 30 19:14:24 expertmikedg: as for the filesystem... that's older than android Jan 30 19:14:56 it piggy backed since then Jan 30 19:15:01 is there some bug in task.scheduledExecutionTime()? when i call it after setting it with a valid date its returing 1970 Jan 30 19:15:24 yes, Samsung's driver people sucked a lot, but I know for a fact that it's not all in Asia :D Jan 30 19:16:06 are girl scout cookies for sale? Jan 30 19:17:09 yeah, you want some? Jan 30 19:17:10 there's an app for that Jan 30 19:17:22 last year the app was horeshit Jan 30 19:17:23 wait, is that allowed outside of apple commercials? Jan 30 19:17:33 evancharlton: depends on country Jan 30 19:18:06 low space notification on my gnex :( Jan 30 19:18:11 how Jan 30 19:18:12 and gmail stopped synching Jan 30 19:18:17 500 megs were free too wtf Jan 30 19:18:37 hmm in j2me task.scheduledExecutionTime() works, in android it doesnt Jan 30 19:18:46 android is not j2me Jan 30 19:19:01 i believe them parts of java should work the same tho Jan 30 19:20:03 do 9patches have to be created in the 9patch tool, or is there some way you can do the same thing in a regular drawing app? the manual step sucks; if i have to re-author 10 icons, i guess i have to redo the 9patches also ? i'd rather just have that in one asset, like the psd Jan 30 19:20:33 g00s: anything that can draw ... Jan 30 19:20:51 9 patches are just black pixels on the border of the image Jan 30 19:20:59 a 1 pixel border Jan 30 19:21:00 ok, thats what i wanted to know, thanks Jan 30 19:21:02 either black or empty Jan 30 19:22:04 they are picky tho. the border can _only_ have opaque black (000) pixels or fullt ransparent ones Jan 30 19:22:07 nothing else Jan 30 19:22:14 NOTHING! Jan 30 19:22:19 ok, thanks jasta Jan 30 19:22:22 don't try to squeeze a red pixel Jan 30 19:22:25 android will know Jan 30 19:26:24 Would anyone say getting 60ish json objects (with relatively small variables) from a web service, and parsing them into an arraylist to put them into list view too much? Jan 30 19:27:28 60 isn't very many objects Jan 30 19:27:37 ostensibly, no, but you've probably got massive overhead or waste somewhere Jan 30 19:27:47 that's what i thought Jan 30 19:29:56 nopez Jan 30 19:30:09 always waste with json due to maps Jan 30 19:30:12 hi, does anyone here have experience with the PowerVR Opengl ES 2 sdk on linux? Jan 30 19:30:25 and arraylist creation Jan 30 19:32:56 use a straaming json api if you're worried about overhead from jsonm Jan 30 19:33:05 jackson provides a streaming json api Jan 30 19:33:44 which is very good Jan 30 19:37:47 is it somehow possible to display a listactivity inside a normal activity? O.o Jan 30 19:38:03 Aeefire: a ListActivity is just a wrapper around a listview. Jan 30 19:38:07 use a ListView. Jan 30 19:38:23 i was just asking because i am interested :) Jan 30 19:38:41 and I was responding because you asked. Jan 30 19:38:42 it's clear to me that i ahve to do this.. just wanted to ask whether it's possible or not :P Jan 30 19:38:46 yes.; Jan 30 19:38:49 it is completely possible. Jan 30 19:38:54 a ListActivity is just a convenience class Jan 30 19:38:58 and it doesn't have a lot in it Jan 30 19:39:10 badass, got a script to lock/unlock my laptop when i plug my phone into adb Jan 30 19:39:12 booyah Jan 30 19:39:38 Aeefire: http://developer.android.com/resources/tutorials/views/hello-listview.html Jan 30 19:39:51 expertmikedg: congrats you got a token Jan 30 19:40:05 that's actually kind of a neat idea Jan 30 19:40:11 can i use it for videogames? Jan 30 19:40:25 im doing the desktop side in node! Jan 30 19:40:28 I'm guessing you're just using the device serial but having the device actually do some sort of cryptographic challenge/response as part of ADK is really an interesting idea Jan 30 19:40:32 everythings in node! Jan 30 19:40:37 yeah im using device serial Jan 30 19:40:40 expertmikedg: ha ha sob Jan 30 19:40:51 ya... you probably don't understand me what i am asking for, but thanks anyways. i got it :) Jan 30 19:44:49 hi all, I have a problem :) Jan 30 19:45:01 aa or na? Jan 30 19:45:07 http://www.youtube.com/watch?v=oDD4V3EO9RU Jan 30 19:45:10 rgravener: :D Jan 30 19:45:56 I tried to explain in in this video Jan 30 19:46:46 screenshots would be better Jan 30 19:47:02 fusion44: explain it in words. Jan 30 19:47:41 ok, basically I have created a listview and feed a custom view through my adapter to it Jan 30 19:47:49 the view conatains a checkbox Jan 30 19:48:05 but it doesn't get all touches Jan 30 19:48:38 only sometimes Jan 30 19:48:45 does your listview item with this checkbox have multiple items that can listen for events? Jan 30 19:48:47 can't touch this, dun dun dun dun Jan 30 19:48:56 do you have an onitem type listener for your listview? Jan 30 19:49:21 if i have a custom folder in the root directory of my project, will android include it when building? Jan 30 19:49:24 either use an onItemClickListener and feed that event into your checkbox, or don't use an onItemClickListener Jan 30 19:49:32 faint545: probably not Jan 30 19:49:46 lov: I don't use any listener at all at the moment Jan 30 19:49:52 lov: thanks. Jan 30 19:49:56 faint545: look into /res/raw or /assets Jan 30 19:51:26 lov: faint545: but note that even if the assets folder gets included as such in the .apk, its contents is not unpacked when installing on the device (emulator) Jan 30 19:52:40 fusion44: consider using an onItemClickListener, and then having that tick the checkbox. Have the checkbox itself have a listener that does nothing. Jan 30 19:53:04 why didn't Google use a *Unix* style approach to "resources"... instead of a ton of API to access them, and pain to do so from native code, why did they not write a trivialish file system and *mount* the bloody .apk under some path? Jan 30 19:53:15 .... wait hold on. Jan 30 19:53:20 why are you creating all of the layouts at once? Jan 30 19:53:28 so that one could use plain normal Java (or Unix) file APIs to access the elements in the .apk.... Jan 30 19:53:43 fusion44: don't do this. Jan 30 19:54:09 fusion44: read some tutorials on custom list adapters. you should be generating these layouts on the fly, and recycling them when present. Jan 30 19:54:21 tml_: assets aren't like normal files, they are contained in a zip, indexed, and aligned Jan 30 19:54:24 my concern is with some files i created in photoshop to help design my layouts. I put these files in a psd folder in the root directory of my project and I do not wish for them to be included in the APK. Jan 30 19:54:33 this may not be a problem for 20 items, but for 2000? You could actually run out of memory and your run time will be slow. Jan 30 19:55:53 any of you used jackson for doing streaming json parsing? Jan 30 19:55:58 yes Jan 30 19:56:05 faint545: They wont be. But you can always double check by unpacking the apk Jan 30 19:56:18 lov: I did it this way some time ago, but I don't remember why I have changed it :/ Jan 30 19:56:27 i'm wondering if readValueAsTree() recursively reads the entire object at the parser's location or just the top-level elements Jan 30 19:56:47 fusion44: you probably ran into some problem with listeners in recycled elements or something and got confused. Jan 30 19:56:52 i don't know that, sorry.. i would imagine from the parsers location Jan 30 19:56:59 You should REALLY be creating these layouts on-demand and recycling them. Jan 30 19:57:01 i have something like {result:"good", data: [huge,number,of,records,here]} and i'd like to read the result, but not have data get read Jan 30 19:57:09 storkme: no problem ;) Jan 30 19:57:17 Escherial: uhh... Jan 30 19:57:20 since jackson is a stream parser it shouldn't even be aware of the previous bits of the stream Jan 30 19:57:21 er, meant to use a normal smiley face...anyway, i'll puzzle it out Jan 30 19:57:24 how do you expect to "skip" the data? Jan 30 19:57:58 jasta: i was hoping that perhaps it'd have a 'stub' object that just represents the array rather than resolves it to specific values, but yeah, that doesn't really make sense Jan 30 19:58:14 no, it doesn't. it can be read then discarded. but it cannot simply not be read. Jan 30 19:58:14 but yeah, you wouldn't be able to read the tree since you'd never get to the closing } Jan 30 19:58:36 no but you can read the next element as a tree Jan 30 19:58:37 * g00s wonders what git 1.7.9's improved large file support amount to, pack-wise Jan 30 19:58:55 lov: thanks! I'll change it and implement the onclick listener Jan 30 19:58:59 so, you're still going to pay, for example, I/O penalties over a socket. Jan 30 19:58:59 if this is something you want to avoid, and kudos to you for trying, you should contact the folks responsible for the service. Jan 30 19:59:12 jasta: they're sitting in the cubicle next to me, but i don't think this is sufficient reason to significantly change the format, unfortunately :| Jan 30 19:59:16 fusion44: use an OnItemClickListener; you may want to avoid specific click listeners on the checkboxes themselves. Jan 30 19:59:31 if it's like {a: { b: { c:foo } } } after reading b you could call readAsStream and it would return { c:foo } (i'm just speculating here) Jan 30 19:59:34 Escherial: you mean not sending shit over the wire that the client doesn't care about? that's as good a reason as any to change a service. Jan 30 19:59:38 (also I said asS hue hue hue) Jan 30 20:00:02 storkme: the bigger penalty here is I/O, and you don't get to avoid it by just changing how you parse. Jan 30 20:00:15 jasta: wait, what don't i care about? i do care about the array under the 'data' key, i just wanted the convenience of being able to read 'result' without having to read each element off one by one Jan 30 20:00:47 jasta is angry. angry about pull parsers. Jan 30 20:00:54 fair enough, I guess i don't really understand the question Jan 30 20:01:01 Escherial: then why did you originally say you didn't want 'data' to be read? Jan 30 20:01:06 is a stream parser the same as a pull parser? Jan 30 20:01:12 this sort of requirement confuses me Jan 30 20:01:18 storkme: yes. Jan 30 20:01:23 okay thanks Jan 30 20:01:28 in fact, it's not called a stream parser, it's in fact called a pull parser :) Jan 30 20:01:40 jasta: i didn't want the data to be read immediately; i'm writing a function that reads up to a point and returns the status + a reference to the stream to read the rest of it Jan 30 20:01:42 a stream parser is a push parser, I thou Jan 30 20:01:58 they call them stream parsers in xml i thought (xstream ?) Jan 30 20:02:07 i'm doing a poor job of describing the problem, my apologies :\ Jan 30 20:02:08 pfn: or, perhaps stream parser isn't a well recognized term :) Jan 30 20:02:45 depends, would you consider a sax parser to be a stream parser, if so, then that's a push parser Jan 30 20:02:55 because the data is pushed into the caller Jan 30 20:03:20 stax apis for xml are also streaming push parsers Jan 30 20:03:30 no, i'd consider sax to be a push parser. Jan 30 20:03:47 http://docs.oracle.com/cd/E17802_01/webservices/webservices/docs/1.6/tutorial/doc/SJSXP2.html Jan 30 20:03:52 although that seems to say it's a pull parser Jan 30 20:03:52 when i think of a stream parser, i think of a parser consuming data trickling in, so the book keeping and lookahead mechanisms are sliding buffer windows and have limited lookahead Jan 30 20:03:59 what i'm referring to specifically is the many JSON parsers that are actually pull parsers but don't use that term. Jan 30 20:04:06 or am I misreading Jan 30 20:04:22 pfn: one sec, reading Jan 30 20:04:25 g00s, effectively a push parser by definition Jan 30 20:04:28 hehe i so dont have time for this :) Jan 30 20:04:39 jasta, don't we all... Jan 30 20:05:55 I guess stax is a pull api, according to that Jan 30 20:05:58 * pfn wonders how that works... Jan 30 20:06:18 pfn: push would be the parser sending you events, they are probably orthogonal concepts Jan 30 20:06:43 when i parse a stream say a protocol from a device, i have to manage the buffer windows , etc myself Jan 30 20:07:11 ok, that didn't sound so right Jan 30 20:07:13 I dunno, when I hear stream, I hear a pipe of running water Jan 30 20:07:21 agreed, whether you poll the thing for new elements or it fires callbacks is an implementation detail Jan 30 20:07:22 * g00s goes back to his later list drawable Jan 30 20:07:31 I suppose you can block the stream, but it's always pushing... Jan 30 20:07:32 * pfn shrugs Jan 30 20:07:36 (er, with events being orthogonal to the acual question of push vs. pull) Jan 30 20:07:40 maybe it's a bad analogy Jan 30 20:07:57 storkme: of course I know assets aren't like normal files Jan 30 20:08:21 tml_, assets in java typically aren't accessible using normal filesystem means Jan 30 20:08:23 storkme: that's why I said they could have written a *file system* so that they would *appear* to be normal files Jan 30 20:08:36 tml_, in other java applications, java-ee or java-se Jan 30 20:08:38 I was talking about what they *could* have done Jan 30 20:08:46 they could have done it, but not much of an advantage Jan 30 20:09:29 well, at least for people writing native code, or Java code without a baggage of thinking about how stuff is done in java-ee or java-ee, it would have been a definite advantage Jan 30 20:09:58 working with files is also a pita Jan 30 20:10:03 out of sight out of mind? Jan 30 20:10:04 lov: I can't even get any clicks with a listener Jan 30 20:10:20 new Properties(new FileInputStream(my properties file path)).get("some.property.key") Jan 30 20:10:27 working with streaming sources makes me wish java supported continuations like python does (i.e. the "yield" keyword) Jan 30 20:10:27 vs. context.getString(some.property.key) Jan 30 20:10:31 I'll take the latter any day Jan 30 20:10:56 pfn: maybe, but if you are *porting* a shitload of existing code (non-GUI "business logic" code obviously) that expects to find tons of configuration files and whatnot on desktop OSes, it would have been great Jan 30 20:10:57 Escherial, use anything other than java ;-) Jan 30 20:11:14 tml_, you can still do that as long as the interfaces are something reasonably generic Jan 30 20:11:19 like Properties and Maps as inputs Jan 30 20:11:20 rather than Files Jan 30 20:11:33 C++ code;) Jan 30 20:11:56 Escherial, that's my simple answer for getting stuff done on android: don't use java Jan 30 20:12:20 pfn: complete by inability to begin? :3 Jan 30 20:12:25 (but yeah, luckily much of this codebase does use some abstractions where we could insert hooks to recognize pseudo pathnames that in fact mean stuff inside the .apk, and then instead "open" the file from there) Jan 30 20:12:30 fusion44: what did you actually do? Jan 30 20:12:43 fusion44: adding an onItemClickedListener doesn't magically make things clickable Jan 30 20:12:44 unless there's some way to write non-java code for android of which i'm not aware (er, and i don't mean via the native sdk, either...) Jan 30 20:12:50 Escherial, not at all Jan 30 20:13:00 Escherial, http://technically.us/oscon/ Jan 30 20:13:05 Escherial, check those slides out Jan 30 20:13:08 fusion44: have you looked at this yet? http://stackoverflow.com/questions/5417339/android-listview-with-checkbox-and-all-clickable Jan 30 20:13:11 (pretty short and succinct) Jan 30 20:14:08 pfn: i'd heard about using scala before, but last i checked it wasn't quite ready; hopefully things have changed, as i like scala a lot :) Jan 30 20:14:32 Escherial, wasn't quite ready? Jan 30 20:14:37 it's been ready for a couple years really Jan 30 20:15:32 pfn: ah, my apologies for the fud, then Jan 30 20:16:26 lov: the stackoverflow link looks promising Jan 30 20:20:59 wow, i am impressed Jan 30 20:21:26 that actionbar added so much user friendliness to my app.. and it's so much more beautiful now.. i gotta donate some money to ABS. Jan 30 20:21:52 what's your app? Jan 30 20:22:07 i didn't publish it yet Jan 30 20:22:17 as i am pretty new to developement in general Jan 30 20:22:28 heh Jan 30 20:22:37 but the implementation makes my kind of self confident now :) Jan 30 20:22:52 it'll probably time to publish soon... just some features are still missing Jan 30 20:22:58 indeed, good luck Jan 30 20:23:04 thanks :) Jan 30 20:23:16 we got rid of the android action bar and did our own bar Jan 30 20:23:17 jasta, did you ever find out how you were able to stream m3u8 in