**** BEGIN LOGGING AT Sat Aug 17 02:59:58 2013 Aug 17 03:06:49 anyone here also develop for iOS? Aug 17 03:07:06 how would you compare Xcode to Android Studio? Aug 17 03:07:54 does nexus 7.2013 support bluetooth headset a2dp and wifi at the same time? (Not sure if there is a HW or android SW problem) Aug 17 03:09:00 apparently there've been some complaints on that front since jelly bean changed the bt stack Aug 17 04:19:11 mchou, it should Aug 17 04:19:28 i've definitely used a2dp and wifi simultaneously on my nexus 4 and 10 Aug 17 04:22:23 canadiancow: thx Aug 17 04:23:06 canadiancow: i just verified with someone else and it seems there might be compatibilty problems with my earpiece Aug 17 04:24:54 Is there any official guideline to what to do in main thread, and what to do in background threads in addition to "long processes" Aug 17 04:25:36 uh Aug 17 04:25:40 UI work, and everything else :P Aug 17 04:25:56 what? Aug 17 04:26:11 UI work on the main thread, everything else on background threads :P Aug 17 04:26:18 but no, if you're doing minimal processing on in-memory data, so you can guarantee it will finish in half a millisecond, main thread is fine Aug 17 04:26:25 canadiancow: where does it says that? Aug 17 04:26:30 but anything talking to the network or disk needs to go in a background thread Aug 17 04:26:43 what about decoding a bitmap? Aug 17 04:26:51 which is already on memory? Aug 17 04:27:02 do you know its size at compile time? Aug 17 04:27:12 and if so, is it small enough to safely do on the main thread? Aug 17 04:27:13 nope, but I get the correct size Aug 17 04:27:26 it's the size of the screen in general Aug 17 04:27:43 you can test it out and see how long it takes to decode Aug 17 04:27:47 k Aug 17 04:27:55 just remember that if anything takes more than 16 seconds, you're going to drop a frame Aug 17 04:41:14 16 seconds??? Aug 17 04:44:41 milli Aug 17 05:26:52 hey guys. in a layout xml, i see android:id="@+id/name" ... what's the +id mean? Aug 17 05:27:04 rather, what's the difference between +id and just id Aug 17 05:28:33 @+id is like declaring it, creating a new id with the specified label. whereas @id just references it Aug 17 05:29:01 so in a relativelayout you might declare a new id when declaring the view, but then a sibling view you might just say layout_toLeftOf="@id/name" Aug 17 05:31:37 i see. okay Aug 17 05:33:52 guys Aug 17 05:33:59 is there a way to communicate Aug 17 05:34:03 between activities Aug 17 05:34:05 DIRECTLY Aug 17 05:34:26 I mean 2 forms in windows Aug 17 06:12:05 anyone Aug 17 06:18:35 ?????????????????????????/ Aug 17 06:29:38 can I access a app's res files Aug 17 06:30:18 after apk installed Aug 17 07:21:08 could someone explain me how to overwrite home button (i know normally you cant!) that my activity wont be stopped, but Toucher and Floating Touch can do that somehow! Aug 17 07:23:25 KeeperNo1: I have no idea what you're getting at. Aug 17 07:24:33 Toucher puts a little widget/button that floats onscreen Aug 17 07:25:01 Same with floating toucher- they don't modify the home button... Aug 17 07:36:42 I'm trying to using the Camera video intent to capture a video in my app Aug 17 07:37:06 But it's not saving the videos (I'm passing the DCIM dir) Aug 17 07:58:13 hey guys Aug 17 07:58:28 how is that Fragment.onResume() is called in certain situation and not in others through popbackstack? Aug 17 07:58:46 I've made many other apps and they all seem to work except for this one Aug 17 07:59:08 I didn't really setup anything different -_- Aug 17 08:02:29 nvm, replace over ad Aug 17 08:23:06 Agh, trying to mount a Nexus system.img on OS X. Why don't Macs support more filesystems… Aug 17 08:23:50 hi everybody. I'm facing a problem with support v7 library. I'm implementing the support actionbar with searchwidget, and everything works fine except that the 9 patch background of the searchwidget doesn't scale, shows big and with the black lines. Maybe the problem is that I'm not importing the library correctly. I'm developing from command line, and I'm using project.properties to link to the Aug 17 08:23:51 support.v7.appcompat library. Does anyone know where could the problem reside? Aug 17 08:34:57 hi, i have a strange problem with my android phone. samsung gt-i9003. it is rooted. i can't remove the apps stored in its internal memory ( from phone ), so i want to do it from ADB over usb. should i delete the apps from /system/app ? ( viber, yahoo mail, whatsapp and so on ) Aug 17 08:35:55 Is there a way to attach multiple listeners to a single TextView? for e.g. the string "Action, Adventure, Sci-Fi", so I can get a different listener for each word (one for "Action", another for "Adventure", rather than building three textviews side by side. Aug 17 08:36:16 raskel: your problem sounds more like a #android-root problem Aug 17 08:36:23 firstly i've tried to flash an other rom, but my apps keeps there Aug 17 08:36:26 But first find where the APK is stored. Aug 17 08:36:33 Before deleting anything Aug 17 08:59:07 How can I pass extra data to an activity (in android studio)? Aug 17 08:59:40 I'm testing an activity and don't want to go through all the other activities to launch this one Aug 17 09:10:14 anyone know repo ? Aug 17 09:42:52 <[maTa]> wtf...i dont have Use external build under File->Settings->Compiler... anyone know how to get back that option? Aug 17 09:43:07 <[maTa]> android studio 0.2.5 btw Aug 17 10:14:02 p_l can you help me in getting the GSM strength from a broadcast receiver ? Aug 17 10:17:09 j Aug 17 10:17:10 There are no generic solutions to get information on other than the connected tower from an android device. Aug 17 10:18:14 SpeedEvil : there is a problem in my device it losts the signal of a network 2-3 times a day and then i have to search for a network and select again Aug 17 10:18:43 i was thinking to make a activity which will check when the signal is lost so that it can automatically select the network automatically Aug 17 10:18:53 There are various apps on the play store that will log signal Aug 17 10:20:01 'network signal info' 'rf signal tracker' Aug 17 10:20:14 I'm not aware of any autonmatic reconnect ones Aug 17 10:23:34 j Aug 17 10:27:20 chinu__: https://gist.github.com/slightfoot/6256258 Aug 17 10:27:39 Napalm tks :) Aug 17 10:32:59 hi there. I'm looking for a way in order to be able to recognize, using the geofence api, the location of the device using the 3g Aug 17 10:33:24 there isn't a way to do that in a proper way? I've read that only with wifi you can obtain good results... Aug 17 10:33:59 trying to use actionbarcompat, i have a module for it, but building it, it fails to find @string/abc_action_mode_done . anyone know what im doing wrong? Aug 17 10:35:02 the string isnt in the resources of the appcompat anyways Aug 17 10:37:19 Then you should probably include its resources Aug 17 10:39:54 hello, does anyone of you know of a simple tool that can resolve complex C macros such as these in the linux kernel? Aug 17 10:49:55 hi how do I adb push a file in my internal sdcard o.O I have already run terminal on my laptop and adb shell in recovery Aug 17 10:50:17 adb push ~/YOUR-WORKDIR/FILENAME /sdcard/ ? Aug 17 10:53:28 it seems to be in mediarouter something Aug 17 10:54:09 ~ # adb push /home/ikillcypher/Desktop/70-yuga.rules /sdcard/ Aug 17 10:54:12 o.O wtf Aug 17 10:54:24 ~/sbin/sh: adb: not found Aug 17 10:57:42 hello! Aug 17 10:58:01 how could I update/patch resource files at runtime? Aug 17 10:58:13 for example, mobile game patch. Aug 17 10:58:40 monkeyisl: you release a new .apk or a new expansion file Aug 17 10:59:12 is there any document for those? Aug 17 10:59:18 that i can read..and figureout. Aug 17 10:59:38 i can't use google market api Aug 17 11:00:12 monkeyisl: Meaning you can't publish on Play/ Aug 17 11:00:15 ? Aug 17 11:00:25 no i can't. Aug 17 11:01:49 Well, there goes my answer. Aug 17 11:02:51 sup Aug 17 11:03:12 If you really "mean it" you could probably write an updater that pulls from your server the files that need to change and so on, but that gets pretty involved. It would also mean having your users install a new APK, since the current version doesn't have an updater. Aug 17 11:03:55 i wont' release any version without an updater. Aug 17 11:04:11 It's not released yet? Well, then, go for it Aug 17 11:04:21 of cousre not. Aug 17 11:04:29 sorry , go for what? Aug 17 11:04:29 Does the app currently store resources on the SD card? Aug 17 11:04:50 Go for implementing the updater like you "mean it" Aug 17 11:05:13 isn't there any lib solution for me? Aug 17 11:05:20 like cocos 2d x , etc etc Aug 17 11:05:28 unity3d.. rtpatch etc Aug 17 11:06:01 It's possible. I don't have much Android development experience, so any answer I can give is limited to concepts and high-level ideas, mostly. Aug 17 11:06:18 Someone else should chime in if they know something Aug 17 11:07:23 nobody has some experience with geofence detection and 3G? Aug 17 11:11:01 hi Aug 17 11:11:11 hi [15:08] I'm using Eclipse for develop, and I have a problem when I'm using Support Library. When I change the theme of activity to @style/Theme.AppCompat.Light, it says that the resource is not available at current location. Aug 17 11:11:27 I have included the android support v7 with the resources as google web page says it Aug 17 11:13:58 lompa I'm having problems too with support library Aug 17 11:14:24 I think that I have solved it right now. Aug 17 11:14:31 how? Aug 17 11:14:37 yeeeeeeeeeeeeeees!!! Aug 17 11:14:46 mm.. Aug 17 11:15:31 it's long Aug 17 11:15:37 Have you G+? Aug 17 11:15:52 yes Aug 17 11:16:37 copy your url, please. and make a hangout Aug 17 11:17:28 lompa: I can't now Aug 17 11:18:06 Ok. mm.. with this -> http://stackoverflow.com/questions/17903521/android-actionbar-how-to-add-supporting-library-v7-appcompat Aug 17 11:18:23 J_Caselles: and this -> http://developer.android.com/tools/support-library/setup.html Aug 17 11:18:31 you will can use it. Aug 17 11:43:17 http://bigflake.com/mediacodec/ Aug 17 11:43:27 EncodeDecodeTest.java Aug 17 11:43:55 It's written Buffer toBuffer is the slowest (and least portable) approach - why is it the least portable? Aug 17 11:50:29 rage levels rising Aug 17 11:55:14 why osxorgate? Aug 17 11:55:53 cause i always fuck up support libs in intellij and android studio is giving me shit as well Aug 17 11:55:57 In intellij idea, I am designing UI, But I see only the part visible at first view! Aug 17 11:55:59 pardon my french Aug 17 11:56:06 How do you add more stuff below it Aug 17 11:56:12 You know, in android you can scroll down! Aug 17 11:56:15 much farther :P Aug 17 11:56:23 Josh: 'first view' ? Aug 17 11:56:35 Well, the basic view, what you see at first sight. Aug 17 11:56:41 what does that mean Aug 17 11:56:50 you have a layout for your activity Aug 17 11:57:16 Right, i am using TableLayout Aug 17 11:57:47 muh ha ha ha, its alive! it bloodyyy works! Aug 17 11:57:49 :D Aug 17 11:57:49 osxorgate, What I mean is, I added some stuff on the screen, now its full, of course there are more rows on the table layout, but the black background thingy is full Aug 17 11:57:58 I don't know how to explain this neatly xD Aug 17 11:58:08 how to make my app device administrator ? Aug 17 11:58:13 with user permisiion ? Aug 17 11:58:31 Josh: stick the thing in a scrollview? Aug 17 11:59:52 osxorgate, Hmm, thanks, I tried it last time, it wasn't really "working" but let me try it again I'll feed you back Aug 17 12:01:55 Josh, you could put stuff into the table in your code - no need to use the designer Aug 17 12:02:05 Napalm, what's working? Aug 17 12:02:13 Please say something related to mediacodec Aug 17 12:03:56 custom painted view with scrolling/flinging/edge-effects and over-scrolling in both x,y Aug 17 12:04:00 liquidmetal: ^ Aug 17 12:04:26 Napalm, neat! I'll need that soon! Aug 17 12:05:45 does anyone remember that i/o video that romain guy did, where you got to see these X boxes like wireframes of where the GPU is drawing things like text Aug 17 12:17:32 #android Aug 17 12:36:58 Tab host is quite weird :\ Aug 17 12:37:26 someone can suggest to me a program which uses geofence detection? Aug 17 12:38:23 damn developer console accept me already ;-; Aug 17 12:44:23 Napalm: There are a bunch of drawing options in the Developer settings pane in Jelly Bean. I bet he was using one or more of those. Aug 17 12:45:08 yeah, and he had Android 4.3 which has more of those options Aug 17 12:45:19 my memory is telling me it was some external open-gl profiling or something Aug 17 12:45:28 * hidgw pops open Settings Aug 17 12:45:39 Napalm, he also had nVidia's opengl tracer Aug 17 12:45:53 ah Aug 17 12:45:58 if you have a Qualcomm device you need their tracer Aug 17 12:46:05 that one works only on Windows though -_- Aug 17 12:46:11 >.< Aug 17 12:46:13 do you remember which video it was in? Aug 17 12:46:33 hi everyone! short question: i try to play a local html5 video within a local .html file i load to a webview through mWebView.loadUrl("file:///android_asset/index.html"); loading videos from the web works fine, but local videos do not work. Aug 17 12:46:56 Napalm, this talk I think: http://www.youtube.com/watch?v=vQZFaec9NpA Aug 17 12:47:20 MREinicher, is the local file an asset? or where is it? Aug 17 12:47:33 tried asset, and res/raw Aug 17 12:47:44 both not working Aug 17 12:48:03 of course. Aug 17 12:48:08 since none of those are actually files. Aug 17 12:48:09 thats it Aug 17 12:48:11 thanks Mavrik Aug 17 12:48:43 MREinicher, I very much doubt the browser in web view is capable of accessing app assets Aug 17 12:49:01 MREinicher, I also doubt that very much Aug 17 12:49:28 Napalm: Oof, turning on the drawing options makes the phone really triply to use Aug 17 12:49:38 s/triply/trippy/ Aug 17 12:49:54 so i cannot ship the app with videos? Aug 17 12:50:11 MREinicher, you can ship an app with videos Aug 17 12:50:19 you just can't play videos directly from zipped apk Aug 17 12:50:19 but not access them? Aug 17 12:50:22 in a browser. Aug 17 12:50:34 depending on what use case you have you can get around that. Aug 17 12:50:46 Mavrik: Supplemental files? Aug 17 12:50:56 nah Aug 17 12:51:05 just unpacking them into /data or something works Aug 17 12:51:19 I was thinking of videos bigger than would fit in the 50MB APK limit Aug 17 12:51:39 ah, point there :_) Aug 17 12:51:46 :) Aug 17 12:51:56 But it's definitely doable. Aug 17 12:53:06 what i try is actually very simple: http://pastebin.com/sarmWz0c Aug 17 12:53:49 app only exists of a webview showing that html file Aug 17 12:54:07 MREinicher: you need to set the access level of the WebView Aug 17 12:54:24 I see an HTML problem: multiple elements with the same ID Aug 17 12:54:37 Probably not related, but good to avoid Aug 17 12:54:46 thats just dirty code for testing, not the real one Aug 17 12:55:06 So does it attempt to play all of them at once? Ooh Aug 17 12:55:19 hidgw, it wont play them at once Aug 17 12:55:24 i know Aug 17 12:55:33 MREinicher, anyway, your issue is that the files in raw, assets, etc. are all packed Aug 17 12:55:42 MREinicher: this function and the two below it > http://developer.android.com/reference/android/webkit/WebSettings.html#setAllowFileAccess%28boolean%29 Aug 17 12:55:48 and browser doesn't know how to access them since it's… a browser :) Aug 17 12:55:57 and yes, setFileAccess has to be set as well Aug 17 12:56:04 but why can it access other files? Aug 17 12:56:15 like img Aug 17 12:56:21 because the player is dumb :) Aug 17 12:56:37 alright.. :D Aug 17 12:56:39 MREinicher, try unpacking the video from assets to data storage Aug 17 12:56:44 and then pass file:/// URL Aug 17 12:56:48 MREinicher: you can play direct from resources Aug 17 12:56:50 move on from there :) Aug 17 12:57:09 Napalm, hmm? since which version? Aug 17 12:57:30 MREinicher: your html5 is wrong, you need the tag inside the video tag with the mimeType set to video/mp4 Aug 17 12:57:31 (I tested that on 2.3, so I might be wrong for 4.x+) Aug 17 12:57:56 (2.3? People still use that? :P) Aug 17 12:57:57 i also read posts where you should not put tags inside video tag Aug 17 12:58:14 someone can give me some tips about this code? http://ideone.com/tE0atc Aug 17 12:58:21 hidgw, was awhile ago :) Aug 17 12:58:23 is it possible setAllowFileAccess is deprecated? Aug 17 12:58:27 I use it in order to download a specific xml file from an http url Aug 17 12:58:37 Mavrik: i think on 2.3 you can, but you need to use content:// and simply store your video in assets/ and then in your ContentProvider's openFile method return the AssetFileDescriptor Aug 17 12:58:38 Mavrik, :D Aug 17 12:58:54 Napalm, ah, good to know Aug 17 12:58:57 MREinicher: read the docs Aug 17 12:59:10 hidgw, kinda stopped with that when I noticed that insanity and doom waits in the way of HTML5 apps Aug 17 12:59:17 MREinicher: you'll notice the method's underneath.. setAllowFileAccessFromfileURLs Aug 17 12:59:19 :P Aug 17 12:59:24 and the universal one Aug 17 12:59:29 choose the one that you need Aug 17 12:59:31 :P Aug 17 12:59:51 Mavrik: DOOM Aug 17 13:00:05 But seriously, HTML5 apps never quite work right Aug 17 13:00:16 ofc they dont Aug 17 13:00:35 tl;dr build native apps for each platform Aug 17 13:00:58 brb Aug 17 13:01:00 tl;dr HTML5 apps tarnish your brand Aug 17 13:01:58 mWebView.getSettings().setAllowFileAccess(true); <- no change Aug 17 13:02:50 MREinicher: I'm not familiar with the WebView APIs, but it seems like it might not work to setSomething() on the return value of a getSomething(), unless I'm misinterpreting the structures there. Aug 17 13:07:51 hidgw: nearly all examples on stackoverflow work that way Aug 17 13:08:10 WebView myWebView = (WebView) findViewById(R.id.webview); Aug 17 13:08:10 WebSettings webSettings = myWebView.getSettings(); Aug 17 13:08:10 webSettings.setJavaScriptEnabled(true); Aug 17 13:08:45 Android has weird APIs, but if it says on SO and those answers got voted up it's 99% likely to be true Aug 17 13:09:33 Then I got nothing. Napalm will hopefully be back soon, since he was helping very effectively Aug 17 13:12:50 Hey! I found an example which uses R.drawable.btn_default_normal_holo_light As this doesn't seem to be available anymore, what do I use now? Thanksk. Aug 17 13:13:24 "Anymore"? If it's not available now it never was Aug 17 13:13:29 KNUBBIG: what are you trying to achieve ? Aug 17 13:13:41 https://github.com/jaeger25/Html5Video <- he did it somehow, videos are in /res/raw Aug 17 13:13:56 funkbox: I have to add a custom popup to a map marker which as a button in it Aug 17 13:14:07 funkbox: http://stackoverflow.com/questions/14123243/google-maps-api-v2-custom-infowindow-like-in-original-android-google-maps Aug 17 13:15:10 you can grab the drawable for your sdk folder Aug 17 13:15:27 funkbox: how would I do that? Aug 17 13:15:42 erm Aug 17 13:15:48 as Aug 17 13:15:49 open the folder, search for hte file, copy it? Aug 17 13:15:56 funkbox: ah okay I misunderstood Aug 17 13:15:58 sorry :) Aug 17 13:16:10 thanks, I'll try Aug 17 13:29:01 JakeWharton: Would it be a good idea to (ab)use Picasso as a completely offline image cache? A simple ListView of Thumbnails I have to generate. Aug 17 13:29:21 I doubt it is, but the API is just so much nicer to use than writing it myself or ripping it out of Picasso. Aug 17 13:31:46 those of y'all using maven with android studio -- does it play nice with the whole "external build" ? Aug 17 13:36:10 kakazza: Like existing files, or? Aug 17 13:36:16 Existing files. Aug 17 13:36:31 Pretty sure you can pass it a file uri Aug 17 13:36:56 I wonder if it's 'bad practice', though. I found similar libs, like https://github.com/generify/image-cache-android Aug 17 13:37:21 But without looking at the code, I just feel like Jake would make his cache optimized as fuck. Aug 17 13:37:35 Not really Aug 17 13:37:51 Picasso is pretty simple Aug 17 13:38:11 You pass it an url, path, uri, something Aug 17 13:38:31 It reads it, caches in memory, passes it to your imageview/target Aug 17 13:38:37 Morning Aug 17 13:38:42 The memory cache is a simple LRU cache Aug 17 13:39:05 Disk caching e.g. bitmaps fetched from a website is handled completely by e.g. OkHttp Aug 17 13:39:22 Not by a DiskLruCache? Aug 17 13:39:27 No Aug 17 13:39:31 Picasso does no disk caching Aug 17 13:39:37 The http client does Aug 17 13:40:01 Hmm, I see. So I _could_ use picasso, just not with a disk cache? Aug 17 13:40:02 It provides a default okhttp downloader that disk caches Aug 17 13:40:30 You said it was existing files, so you're already cached on disk Aug 17 13:40:44 The thumbnails don't exist. Aug 17 13:41:00 Not sure if I should cache them on the disk, though. Aug 17 13:41:38 Then you either have to not cache the thumbnails or modify picasso Aug 17 13:41:57 It lacks the callbacks to disk cache the transformed bitmaps Aug 17 13:43:46 kakazza: yeah, it's not really awesome for the usage you want Aug 17 13:43:58 kakazza: you can probably rip out there interesting part of picasso for your use though Aug 17 13:44:13 kakazza: or you can also specify your own loader to use with picasso Aug 17 13:44:25 Just create your own Aug 17 13:44:41 Picasso is very general-purpose Aug 17 13:45:33 Picasso website says "Automatic memory and disk caching." Aug 17 13:46:05 Of the source, handled by OkHttp Aug 17 13:47:12 Does it have okhttp as a dependency? Aug 17 13:47:31 Optional dependency Aug 17 13:47:46 Ok, doesn't matter either way, I do use okhttp anyway :D Aug 17 13:47:57 Mavrik: what was the name of that gpu tool you mentioned? Aug 17 13:51:59 Hmm, looks like Picasso + OkHttp could actually be what I want, even for offline use. Aug 17 13:52:08 Should have consulted the JavaDoc right away. Aug 17 13:52:32 OkHttp is not used when loading from disk Aug 17 13:52:41 D: Aug 17 13:52:58 Hence the http Aug 17 13:53:52 I thought they still use the DiskCache then. Alright Aug 17 13:54:16 Why would they disk cache files on disk t.t Aug 17 13:54:34 Transformed images Aug 17 13:54:54 Since I can perform transformations with Picasso. But I guess since loading is done in the background... Aug 17 13:54:56 kakazza: ... well, it's obvious disk cache is going to be on disk... Aug 17 13:55:21 It never disk caches transformed bitmaps Aug 17 13:55:33 It memory caches them Aug 17 13:56:11 Ok. All I do is loading them as a thumbnail anyway. 100x100. Guess quite a few thumbnails fit into the cache. Aug 17 13:58:47 kakazza: IIRC picasso can do local files Aug 17 13:59:03 there's a shitload of stuff with images to possibly make picasso wroth it Aug 17 14:02:08 I'll give it a try. Aug 17 14:21:03 have any of you converted maven builds to gradle? Aug 17 14:25:42 no, I convert all my builds to sbt :p Aug 17 14:28:19 pfn: okay oka Aug 17 14:28:49 pfn: i care a lot about tooling Aug 17 14:28:56 * funkbox is a shit developer and needs tooling to help her out Aug 17 14:29:12 sbt is fully supported in intellij Aug 17 14:30:42 so, tooling is there Aug 17 14:30:48 unless you mean tooling of the build file itself Aug 17 14:30:56 in that case, you're sol with gradle, too, atm Aug 17 14:31:05 (other than basic project creation) Aug 17 14:32:52 i might explore scala further after i actually ship this damn thing Aug 17 14:35:27 i just wish all languages worked everywhere equally well Aug 17 14:38:26 pfn: what's your app if you don't mind me asking Aug 17 14:38:45 of my own, qicr is the one I've been working on most Aug 17 14:39:46 JakeWharton: what happened to setRequestHeaders in retrofit? Aug 17 14:40:04 pfn: can't find it Aug 17 14:40:08 qicr Aug 17 14:40:10 in play Aug 17 14:40:42 http://i.imgur.com/U6URQR2.png Aug 17 14:40:42 https://play.google.com/store/apps/details?id=com.hanhuy.android.irc.lite Aug 17 14:40:44 searches fine for me Aug 17 14:40:52 ohh cool Aug 17 14:41:05 what is that a screenshot of? Aug 17 14:41:11 Play store website Aug 17 14:41:14 me thinks Aug 17 14:41:16 when i search for qirc it says "no results" Aug 17 14:41:20 yeah, the website Aug 17 14:41:36 i get a result fine Aug 17 14:41:41 funkbox: what country you in? Aug 17 14:42:02 Napalm: USA Aug 17 14:42:50 i suppose its possible your pc/browsers language settings are detect by play store aswell Aug 17 14:45:09 funkbox: It was replaced by RequestInterceptor Aug 17 14:45:15 SimonVT: thanks Aug 17 14:51:19 what cloud-to-phone stuff gets me an app that talks to some nodejs app the fastest way? google app engine doesnt seem to support nodejs Aug 17 14:51:37 heroku? Aug 17 14:51:42 why nodejs ? Aug 17 14:51:49 node.js ftl Aug 17 14:51:51 aep: there's a lot of services that do the backend stuff for you Aug 17 14:51:53 pfn: yeah but what would i pick on the phone side? Aug 17 14:51:59 what's to pick? Aug 17 14:52:03 anything that can do http and json Aug 17 14:52:05 ipc thingy. Aug 17 14:52:07 that's easy Aug 17 14:52:11 sure, but why write my own :/ Aug 17 14:52:13 aep: for example: https://www.parse.com/docs/android_guide Aug 17 14:52:18 okhttp supposedly, maybe volley, and json is simple, use gson Aug 17 14:52:21 don't worry about backend at all Aug 17 14:52:39 we run node.js backend, use retrofit, gson, okhttp for network Aug 17 14:52:52 plus a whole bunch of other stuff for socket.io Aug 17 14:53:19 yeah dont care. just want some "end-to-end" thing that includes a java api for the app Aug 17 14:53:33 because.. lazy Aug 17 14:53:46 aep: parse. Aug 17 14:53:51 sounds good. reading Aug 17 14:54:04 I wanna try out volley... haven't had a reason to yet Aug 17 15:44:54 is there a shortcut for a holo dark vertical divider? Aug 17 15:57:09 I am making a shopping list app, and you can either add a product or add a category. The thing is, I want these to be added from the ActionBar, but I can't figure out a way for users to dishtinguish an Add product icon from an Add category one. Any suggestions? Aug 17 15:59:22 Hi Aug 17 15:59:40 is this IRC able to help out new programmers Aug 17 16:00:52 "this IRC" Aug 17 16:01:21 Talking about IRC protocol, Entire IRC network of frrenode or just this *channel* Aug 17 16:01:28 this channel.. Aug 17 16:01:40 Then answer is that depends. Aug 17 16:01:58 depends on what Aug 17 16:01:59 You should just go ahead and ask your question already. Aug 17 16:02:02 ok Aug 17 16:02:08 On your question. Aug 17 16:02:12 i am trying to create a spinner on the action bar Aug 17 16:02:34 jubjub, like the one on GMail app? Aug 17 16:02:40 yes Aug 17 16:03:16 zyngawow: not the new gmail, more like the Calendar app Aug 17 16:03:30 when you click on the date it gives you the month, day , week option Aug 17 16:04:00 jubjub, http://developer.android.com/guide/topics/ui/actionbar.html#Dropdown Aug 17 16:04:11 right i am going through that link right now Aug 17 16:04:41 im just having trouble understanding it, also i get an error when doing " SpinnerAdapter mSpinnerAdapter = ArrayAdapter.createFromResource(this, R.array.action_list, android.R.layout.simple_spinner_dropdown_item);" Aug 17 16:05:14 it says to change the ArrayAdapter to ArraAdapter Aug 17 16:05:43 does ArrayAdapter.foo actually return some subclass like SpinnerAdapter? Aug 17 16:06:26 indeed it does not Aug 17 16:06:28 that's what I thought Aug 17 16:08:40 apparently BaseAdapter implements SpinnerAdapter, though. So that suggests that ArrayAdapter is usable as a spinneradapter. Hmh. Aug 17 16:09:24 what is the hierarchy Aug 17 16:09:27 is it baseadapter > Array Adapter > ListeAdapter/SpinnerAdapter/..etc Aug 17 16:09:52 well these things are mostly interfaces Aug 17 16:10:15 BaseAdapter is the superclass, and it implements SpinnerAdapter and ListAdapter. Aug 17 16:10:29 which is kinda weird to be honest Aug 17 16:10:37 where does ArrayAdapter come in to play Aug 17 16:11:06 it is what is returned by ArrayAdapter.createFromResource. But as far as I can tell, without trying the code out, SpinnerAdapter is a valid supertype for ArrayAdapter Aug 17 16:11:57 the error you are getting doesn't make sense to me either. There's no place for generic type there. Maybe it's an error on a preceding line that confuses the java compiler. Aug 17 16:12:27 thats literally the only thing ive added to the blank project Aug 17 16:12:31 @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); SpinnerAdapter mSpinnerAdapter = ArrayAdapter.createFromResource(this, R.array.action_list, android.R.layout.simple_spinner_dropdown_item); } Aug 17 16:13:02 hmh. Probably not then. Aug 17 16:13:34 could it be related to the array resource? Aug 17 16:13:44 these are simply numbers. Aug 17 16:14:01 the crash, if any, will occur at runtime Aug 17 16:14:15 I'm using cyanogenmod in an emulator. any ideas why proxydroid/sshtunnel isn't running? I think it has to do with runnign redsocks as root Aug 17 16:18:13 jubjub: would you mind pasting the actual error you are getting to somewhere? Aug 17 16:30:49 hi guys, could you help me understand fragments Aug 17 16:30:59 ive read multiple documents about them Aug 17 16:31:10 but i just can't get a hold of the concept Aug 17 16:32:34 fragments are bunch of views + behavior associated to them. Aug 17 16:32:49 meant to allow composing different versions of application for phone and tablet form factors Aug 17 16:34:25 is it possible to control particle effects on a droid? Aug 17 16:35:45 issss anyone online? Aug 17 16:36:59 No Aug 17 16:39:37 I am, but I don't use Verizon, so... Aug 17 16:52:07 hmm, the only reliable place to store running widgets is in shared prefs, huh Aug 17 16:54:41 hi there. I have a first activity(the father) which has a listview and a second activity(the child). When I go to the child activity and I press the go back button I just want to restore the data displayed before passing to the child activity. Is that possible? Aug 17 16:55:00 guys Aug 17 17:15:43 hmm, I wish ddms/monitor could subordinate to another adb debugger Aug 17 17:15:57 or allow multiple debug connections Aug 17 17:16:19 * pfn just waits for monitor to get fully integrated into intellij Aug 17 17:16:57 hear hear Aug 17 17:17:29 hear hear. Aug 17 17:18:07 hi all. at what point is a view "initialized", as in, i can use findViewById(id) for something that's in an xml template? Aug 17 17:19:35 with the API11+ drag stuff, can you do thing slike rotate the shadow? i onDrawShadow seems not to do it Aug 17 17:23:16 does it matter which OS I go with for developing ... is linux a better option over windows or OSX ... getting ready to build my machine for development and wondered which one is the best Aug 17 17:28:00 is there an open source video player for android thats good like mx player? i tried VLC but it just didn't work right Aug 17 17:28:03 donavan01: If you have no preference, go for OSX or Linux. They are both *ix'es and closer to what Android is than windows. Aug 17 17:28:42 Naphatul: No. VLC is the closest there is that works, but with less polish. Aug 17 17:29:10 I was thinking a debian based linux like ubuntu or mint any one better than the other when it comes to android or is it just preference Aug 17 17:29:33 it didn't work for me at all, i tried playing a movie on thats on my windows share and it didn't work, mx player worked fine though Aug 17 17:29:41 donavan01: as much as any distro is 'supported', it's Ubnutututu Aug 17 17:30:11 donavan01: Go for one that is well/broadly supported so packages are available for your platform. Ubuntu is an easy choice, but any Debian or Redhat derivative should be ok. Aug 17 17:30:28 He. Is there a kind soul around to help with running the android emulator (from the sdk) on a vm remotely accessed via vnc or freenx with a nasty opengles driver problem? Aug 17 17:31:02 Strav: Just run it without opengl? Opengl really does not work great remotely anyway... Aug 17 17:31:20 any issues with 64bit vs 32bit I shoudl be aware of? im planning to go for 64 since I have a dual quard core xeons Aug 17 17:31:36 Naphatul: is your windows share mounted on your device as cifs? Aug 17 17:31:44 Go 64 bit. Aug 17 17:32:03 kjeldahl: I thought of that yet I never found the flag for disabling it. Aug 17 17:32:06 No problem on *ixes usually, and probably less so on Windows also today. Aug 17 17:32:08 Strav: i have no idea i'm accessing it via ES file explorer Aug 17 17:33:11 Naphatul: are you working on a media player app? Aug 17 17:33:17 Strav: The VM must have an option for that. Aug 17 17:34:29 Naphatul: from my experience, lots of media players behave better when your windows share is locally mounted. I suggest you try it before testing other media applications. (Although, the process is a little more involved, you must have root access to your device to install the cifs driver ... or just use Cyanogenmod, which comes with it. Aug 17 17:34:50 Leeds: no, though this would be the best place to ask if someone knows it Aug 17 17:35:05 Naphatul: nope, that would be #android Aug 17 17:35:45 kjeldahl: I thought there would be a flag to disable this check when launching the emulator. Does it dynamically check if the host has opengl capabilities? Aug 17 17:37:22 Thanks for the insight on the OSes I will leave you to you coding Aug 17 17:40:48 kjeldahl: here is the error I'm getting: http://pastebin.com/TC0QHNTs Aug 17 17:45:00 why I see my device's data directory empty Aug 17 17:45:01 ? Aug 17 17:45:06 on ddms Aug 17 17:45:11 and file explorer Aug 17 17:45:22 because your device doesn't run adb as root Aug 17 17:46:23 for that Aug 17 17:46:27 device must be rooted ? Aug 17 17:46:34 yes Aug 17 17:46:39 I have been seeing a number of websites that are supposed to be able to build you and android application with little to no code what is the deal with these is android really that object oriented that you can build an app with nothing more than a gui Aug 17 17:46:43 well, it needs to run adb as root... Aug 17 17:47:00 donavan01 the closest thing was probably App Inventor Aug 17 17:47:01 pfn why special devices has special rooting Aug 17 17:47:01 donavan01, no Aug 17 17:47:16 bilgisayarci, because security Aug 17 17:47:34 whats the deal then are they just trying to sucker you into giving them your ideas or what Aug 17 17:47:35 pfn what is the rooting logic Aug 17 17:47:56 donavan01: a lot of them simply build an app which displays an RSS feed, stuff like that Aug 17 17:49:08 JesusFreke fixed by build bug. Jake helped me figure it out. had the mkDirs() running in the config block , when they needed to be in doFirst {} Aug 17 17:49:50 so basically they have a pool on simple scripts and they just plug them in as you create elements of your "program" on their page but im assuming if im trying to do anything more advance than a hello world program then there pretty much useless Aug 17 17:50:20 i dunno if AI was useless, its the more legit of the bunch Aug 17 17:50:37 very smart people worked on it Aug 17 17:50:51 but , its kinda like any black box framework, limiting Aug 17 17:51:46 g00s: we're not talking about AI Aug 17 17:52:16 what he's talking about is really much more of an app generator wizard Aug 17 17:52:39 i see, but if thats what he's aiming for i was encouraging him to check out AI Aug 17 17:53:05 doesn't sound like a wizard to me, sounds like he's asking about appinventor and the like Aug 17 17:54:26 seriously, if you're talking about a site which builds apps with little to no code - a guy I know in the UK used one to build an app, announced it on his Facebook... I had a look, started making constructive criticisms until I realised he hadn't actually written the app at all Aug 17 17:55:16 So the app builder sites are legit but seriously limited in the advanced functionality ... yes/no? Aug 17 17:55:16 friggin' dubstep... Aug 17 17:55:32 hehe Aug 17 17:55:47 I want songs like zedd - clarity, which is clearly completely not-dubstep... but google's rec engine is busted... Aug 17 17:56:09 donavan01: yes, but they'll also tend to build cookie-cutter apps, and generally low quality Aug 17 17:56:44 I'd say they're lower down the hierarchy of decentness than something like phonegap - which is already none too popular around here Aug 17 17:57:05 phonegap? Aug 17 17:57:13 yes Aug 17 17:57:53 ok googled it ... I can see why that would be less than loved Aug 17 17:58:37 how to show a confirm dialog when disabling admin right from a application this onDisableRequest works after the app has been disabled (public CharSequence onDisableRequested Aug 17 18:00:43 ACTION_DEVICE_ADMIN_DISABLE_REQUESTED how to use this sS Aug 17 18:00:43 phonegap is fine for creating live prototypes of apps Aug 17 18:00:45 ? Aug 17 18:01:02 and my point is that automatic app builders - which isn't the same as AI - are worse than phonegap Aug 17 18:01:24 Leeds how is the django stuff going ? Aug 17 18:01:57 not bad, actually - although I've been back on Android stuff this week, at least partly, and had a meeting with someone about a small Android side project Aug 17 18:02:05 oh cool Aug 17 18:02:37 you didn't see me swearing the other night about trying to get the appcompat stuff working with plain ant Aug 17 18:02:47 oh, no, heh Aug 17 18:03:22 plan is to ignore AS and gradle for as long as possible... I fear change :) Aug 17 18:03:38 Leeds if you are struggling with it, you can imagine the confusion from beginners Aug 17 18:04:05 oh, yeah... but I still accept a certain amount of knowledge-required when I choose to use bare ant without an IDE Aug 17 18:04:27 so was it hard because its an aar or something ? Aug 17 18:04:31 and there was a small amount of... developer error, misreading error messages ;) Aug 17 18:04:44 just trying to get a library project with resources working Aug 17 18:04:53 hi i want to load a local html page and don't want to mix it in the java code. Where do i put the files and how do is use it then? Can i still use loadURL()? And how to i know that the pwd is? Aug 17 18:07:11 Pfft, just switch already Aug 17 18:07:30 frankly, I'd be happier with Makefiles Aug 17 18:07:45 loadData() to drop a local file into the webview Aug 17 18:08:02 actually, one of the things i like about AS, is when you go into the Project Structure thing, a dialog shows up saying its not implemented - just edit your gradle file. I think they should just LEAVE IT like that Aug 17 18:08:04 Why dont you use that then? :p Aug 17 18:08:15 anyone using Android Studio on Mac Aug 17 18:08:21 tomeo i kinda am Aug 17 18:08:34 g00s: you wouldnt happen to not use a US-layout? Aug 17 18:08:41 oh, no :( Aug 17 18:08:57 Im using a scandinavian layout so "comment with line comment" shortcut is not working :/ Aug 17 18:09:08 SimonVT: because I'm also extremely lazy, and I don't know of an existing single-line "make Makefiles for Android project" script/program - I don't mind ant as long as I can treat it as a black box Aug 17 18:09:13 can't get it to work using osx-key bindings either :( Aug 17 18:09:15 Leeds have you written any ant tasks ? Aug 17 18:09:31 g00s: see "treat it as a black box" :) Aug 17 18:09:35 hehe Aug 17 18:09:54 well, the default gradle file for most projects is like a no-brainer 10 line thing of { } s Aug 17 18:10:11 I'll write the code for my apps, let xav and friends write my build stuff for me :) Aug 17 18:10:51 i still use ant :) Aug 17 18:11:05 I'll look at it at some point - as I mentioned, this week is the first time I've really done any Android stuff in going on for a year Aug 17 18:11:07 ant, maven, and gradle. each has their warm fuzzy spot Aug 17 18:11:56 Leeds the problems that might arrise, not gradle specific, but more about using it conjunction with any ide. even AS seems to have some weirdness syncing the model from gradle Aug 17 18:12:07 if you just want to get work done, i'd say use plain idea for your project Aug 17 18:12:17 last time i did, it just created a build.xml for you Aug 17 18:12:19 I don't want to use an IDE at all Aug 17 18:12:26 ohh, right Aug 17 18:12:33 well then, gradle will be fine ;) Aug 17 18:12:46 thanks Komak57 Aug 17 18:13:02 I *like* vim, and frankly, 90% of the memory on my PC is already dedicated to the 236(!!!) tabs I have open in Chrome... Aug 17 18:13:10 Leeds are you still doing your java in vim :P Aug 17 18:13:16 Wtf do you have open in 236 tabs Aug 17 18:13:40 Bookmark it, dude Aug 17 18:13:41 holy crap, Leeds in #firefox somebody was saying their system was slowing down, they had over 600 tabs and over 50 plugins Aug 17 18:13:41 Leeds, don't want to use an IDE? use sbt! :) Aug 17 18:13:42 I did start to look at getting some sort of auto-import plugin for vim, at least - manual imports are annoyingly boring Aug 17 18:14:02 Leeds did you look at eclim ? Aug 17 18:14:19 i'm actually going to try eclim-emacs Aug 17 18:14:29 in django, I get very lazy - I pretty much have a huge import block that I just copy into every file... since they're all running in the same interpreter, it shouldn't really make much difference Aug 17 18:15:14 g00s: I haven't... I probably should, particularly if I am going to get back into doing more Android stuff, which looks like a good career idea, I think Aug 17 18:15:24 :) Aug 17 18:16:08 at some point I'll probably have to grok fragments Aug 17 18:16:16 all this new-fangled stuff Aug 17 18:16:22 Leeds my new favorite terminal toy is tmux Aug 17 18:16:32 its great with vim in console mode Aug 17 18:16:44 oh, thats right, you use screen Aug 17 18:16:49 as we've said before, I've been using screen for... probably fair to say decades, which is upsetting because it makes me feel old Aug 17 18:17:06 i've been looking for something like KCD though Aug 17 18:17:08 at least 15 years, probably Aug 17 18:17:19 this popped up in HN today https://news.ycombinator.com/item?id=6229001 Aug 17 18:17:31 Leeds~ http://www.one-tab.com/ Aug 17 18:17:36 quite a few tools for jumping around deep hierarchies from the command line Aug 17 18:17:39 need to try 'z' Aug 17 18:17:59 eh, I hold my path context in my massive brain and hit the tab key a lot... Aug 17 18:18:06 screen ftw Aug 17 18:18:18 * pfn has been using screen forever, too Aug 17 18:18:42 ZSH already helps a bit Aug 17 18:19:00 if you had a dir a/b/c/d/e , with kcd you could say '$kcd c' and be there Aug 17 18:19:02 exoplanet: that looks vaguely interesting, thanks :) part of the problem is that I have windows open for particular 'projects' - including things like planning holidays - and I tend to jump around them a lot Aug 17 18:19:55 i think this many tabs is a failure to organize though; are you really going to go back and read that crap? its like have 10 years of old magazine laying around. Aug 17 18:20:06 i think a better system is to have a queue Aug 17 18:20:14 you put things in the queue, folder, tag them Aug 17 18:20:16 oh, sure, terrible organisation Aug 17 18:20:28 and let them expire, or move them to a more permanent queue stage Aug 17 18:20:30 but it's nice to be able to just close off a window when a project is done, trip is taken, etc. Aug 17 18:21:14 and I'm trying to train myself to just fling anything into Pocket (aka readitlater) which is to-read and longer than a couple of paragraphs Aug 17 18:21:21 p_l i have to try zsh again Aug 17 18:21:36 g00s: I recommend that you pick oh-my-zsh as well Aug 17 18:21:37 oh heh, looks useful, but f all that cloud stuff :) Aug 17 18:21:56 p_l i've heard about that, cool Aug 17 18:22:02 Leeds~ their might be something like the firefox tab groups (part of the core) for chrome/ium Aug 17 18:22:22 exoplanet: I do have a tab manager, but I can't really be bothered to micromanage them Aug 17 18:22:50 exoplanet ff is removing groups from core :( Aug 17 18:23:08 Great, i never used it… g00s thanks for the info Aug 17 18:24:02 g00s: well, TreeStyleTabs will still work :D Aug 17 18:24:11 p_l haha Aug 17 18:24:55 got a bunch of tabs open with various volley examples and tutorials - which wouldn't be necessary if it actually had documentation... Aug 17 18:25:14 i've found the best ff experience having the fewest extensions; i only have adb, unloadTab, disconnect.me, and self destructing cookies. https everywhere was good but use vpn now Aug 17 18:25:39 tree view for tabs makes micromanagement not as important as it is without imho Aug 17 18:25:47 Leeds where are you getting the volley code from ? Aug 17 18:25:58 is it still only in the repo ? Aug 17 18:26:06 g00s: you mean the actual library? yeah, I got it from the repo Aug 17 18:26:18 auto-loading volley from repo ftw Aug 17 18:26:20 would be nice if they put that somewhere like maven central Aug 17 18:26:38 I use slackware... I don't believe in dependency management Aug 17 18:26:57 (I am aware that I may seem to be a reactionary dinosaur) Aug 17 18:27:14 Leeds, for my build scripts, I can automatically include volley, straight from aosp(tagged) Aug 17 18:27:17 cool, slack was my first distro Aug 17 18:27:18 Leeds, it's quite nice Aug 17 18:27:23 I just need a reason to use volley... Aug 17 18:28:31 volley seems to be pretty nice - although I suspect I need to put something on top of it to stop it going to the network to check for updated icons every time I scroll my ListView Aug 17 18:29:33 I think it's not really quite ready to be a public API, not quite complete enough, and no 'user' docs Aug 17 18:30:01 noob questions: whats the assets folder? The folder called like the project? Aug 17 18:30:05 Leeds somehow i bumped into vifm the other day Aug 17 18:30:13 you might like that Aug 17 18:30:40 g00s: meh, shell for file management, vim for editing, etc. - each tool for it's own job Aug 17 18:30:57 otherwise I'd be using mc :) Aug 17 18:31:03 i used to use midnight commander back in the day Aug 17 18:31:05 yeah Aug 17 18:31:16 that thing is still maintained Aug 17 18:31:44 I dunno, but it's still included in slackware... Aug 17 18:33:01 2:30am, time to sh-use the facilities, shower and shleep Aug 17 18:36:11 *sheep Aug 17 18:38:06 out of curiosity, are you guys seeing the x86 api 18 image in your sdk updater ? i grabbed mine from the intel site, not sure what will happen if one gets updated though Aug 17 18:40:04 can i use /res/folder/file.blub as an absolute path for the app? Aug 17 18:41:17 Hi all, I'd like to use ORMlite and have the SpiceManager in the Application, not each activity. I can create in onCreate(), but Application doesn't have onPause or any other listener before it gets killed. Aug 17 18:42:28 Is there a any way to check when all activities, even SyncService is finished and the close the SpiceManager? Aug 17 18:43:19 g00s: No API 18 x86 images in the SDK manager. Aug 17 18:45:19 kjeldahl ok, thanks for checking ! Aug 17 18:45:42 " A midsize refrigerator that qualifies for the Environmental Protection Agency's Energy Star rating uses about 322 kW-h a year, while your iPhone uses about 361 kW-h if you stack up wireless connections, data usage, and battery charging." wow Aug 17 18:45:57 i had no idea :| Aug 17 18:46:09 * g00s is treehugger Aug 17 18:47:20 one of the most important advancement we need with these devices is better batteries Aug 17 18:48:34 5V * 1 Amp * 24 hours * 365 days = 43.8kWh Aug 17 18:48:38 more energy efficient displays. that new amazon panel looks like it could be aweseom Aug 17 18:48:47 and you probably don't have your phone plugged into the charger 24/7 Aug 17 18:49:00 oh it means the usage of the cell towers as well? Aug 17 18:49:36 kevinb heh, you reading the same article :P Aug 17 18:50:15 no i was just guessing based off rereading what you first wrote :P Aug 17 18:51:13 link to the article? Aug 17 18:51:30 so I have this weird issue that just popped up today during testing, the notification buttons aren't showing on the notification in the drop down bar … ideas? Aug 17 18:51:45 written by the "American Coalition for Clean Coal Electricity" lulz Aug 17 18:53:20 kevinb http://theweek.com/article/index/248273/ , but the linked paper Aug 17 18:53:22 nownot, on android 4.1? Aug 17 18:53:39 yes, nexus 4 and galaxy s4 are behaving the same. Aug 17 18:53:40 nownot, using your own bigContentView? Aug 17 18:53:59 bigContentView replaces anything that might already be there... Aug 17 18:54:10 or that's what it seems like to me... Aug 17 18:54:29 pfn: http://pastie.org/8245693 Aug 17 18:56:24 pfn: does that looks correct? Aug 17 18:56:30 sure Aug 17 18:58:39 :/ Aug 17 19:08:19 how do i update from android-studio 0.1.8 to 0.2.5? it says update available but there is no button to download and install the patch. Aug 17 19:08:47 wildnux: The 0.2.x version needs to be downloaded and installed manually; no update path. Aug 17 19:08:48 When i download from the site, it is 0.1.8 Aug 17 19:08:58 kjeldahl: where do i download it from ? Aug 17 19:09:18 http://developer.android.com/sdk/installing/studio.html Aug 17 19:09:31 I'm pretty sure, but not sure if this is entirely possible, android studio 0.2.5 broke notifications …. only thin I can think of Aug 17 19:10:09 android studio does not affect notifications Aug 17 19:10:18 run the code in your debugger Aug 17 19:10:20 kjeldahl: it only has android-studio-bundle-130.737825-linux.tgz Aug 17 19:10:22 you're doing something wrong Aug 17 19:10:58 …. i showed you the code I'm creating notifications with, so ... Aug 17 19:10:59 wildnux: Are you saying that's not a 0.2.x version? Aug 17 19:11:06 kjeldahl: yes Aug 17 19:12:19 Anybody here pretty experience with using Reflection against the Android classes? I'm trying to retrieve all of the private variables of View and it's subclasses, but I am having issues doing so as I am only able to get the public static variables. Here is a gist explaining my problem: https://gist.github.com/Gowiem/6258313 Aug 17 19:12:38 wildnux: How do you know? I think it's 0.2.2. Aug 17 19:13:12 whoa whoa, so it works in emulator but not on device … Aug 17 19:13:57 kjeldahl: Found the issue. My firefox did not show that blue download button :( i am on opensuse linux firefox 22. Tried with chrome browser and then i saw this button :( Aug 17 19:14:12 wildnux noscript :P ? Aug 17 19:14:31 g00s: dont have noscript installed. probably adblock Aug 17 19:14:36 heh Aug 17 19:15:01 i think i have 99.9% of the interwebs aliased to 127.0.0.1 Aug 17 19:15:45 blacklist? heh, Aug 17 19:16:04 I whitelist, I can say 99.999% goes nowhere Aug 17 19:16:44 spike|spiegel :) between adb and those lists , and http://someonewhocares.org/hosts/ Aug 17 19:16:49 (abp Aug 17 19:17:27 that file gets updated regularly, pull in cron Aug 17 19:17:57 g00s: that's nowhere close to 99.9% :) Aug 17 19:18:06 haha, i was kinda joking :D Aug 17 19:18:23 Looks like its firefox issue Aug 17 19:18:27 in linu! Aug 17 19:18:44 i tried firefox without addons in safe mode, and still does not show up Aug 17 19:20:11 wildnux the blue button here is disabled ? Aug 17 19:20:16 http://developer.android.com/sdk/installing/studio.html#download Aug 17 19:20:28 g00s: http://imgur.com/rBbvN4E Aug 17 19:21:02 g00s: When i click that blue bar, it just shows the table for downloads below Aug 17 19:21:09 Anybody here pretty experience with using Reflection against the Android classes? I'm trying to retrieve all of the private variables of View and it's subclasses, but I am having issues doing so as I am only able to get the public static variables. Here is a gist explaining my problem: https://gist.github.com/Gowiem/6258313 Aug 17 19:21:14 Sorry I'm reposting, but I got unidentified for some reason Aug 17 19:24:15 wildnux: You've gotta master downloads before you can start developing. ;-) Aug 17 19:25:31 Gowie_ for giggles, try Class ? Aug 17 19:26:02 kjeldahl: seriously, how would i know if there is a link for something else if it just shows the table below when i click it. :( Aug 17 19:26:37 kjeldahl: btw i do develop a few things.. just not too much on android platform :D Aug 17 19:26:46 g00s: Can you explain why you think thats worth trying? I'll give it a shot regardless, but just wondering where you're coming form. Aug 17 19:26:49 wildnux: You're running on a platform that is not set up correctly. Seriously. Regardless, click the damn link listed below then, under "Other Platforms". It's pretty easy. Aug 17 19:27:01 Gowie_ they say it excludes inherited things Aug 17 19:27:08 kjeldahl: and you think i did not click that? Aug 17 19:27:24 g00s: Cool. I'll give that a shot. Thanks! Aug 17 19:27:25 it downloads 0.1.8 Aug 17 19:27:37 wildnux: Well, copy the damn link then if you browser doesn't work. Aug 17 19:27:37 it will update itseld Aug 17 19:27:51 kjeldahl: dude. there is no link for 0.2.x displayed anywhere Aug 17 19:28:02 Gowie_ Aug 17 19:28:08 you may have to walk up the class hierarchy Aug 17 19:28:09 you don't download 0.2 get 1.8 and update once you get it Aug 17 19:28:15 kjeldahl: where do you copy it from? look at the screenshot .http://imgur.com/rBbvN4E Aug 17 19:28:48 Gowie_ so, put that all in a while (parent !=null) { class clz= clz.getParent() … get methods … etc } Aug 17 19:28:52 wildnux: I checked the build number for you earlier, it's 0.2.2. If 0.1.8 starts up at your end, you probably did not install it correctly. Aug 17 19:29:22 mine just updated to 0.2.5 also, weird since last night it updated to 0.2.4 Aug 17 19:29:27 mabe xavd is working overtime :P Aug 17 19:29:42 g00s: That didn't seem to work. It won't help walking up the class hierarchy if I'm just trying to get android.view.View to work for right now will it? Aug 17 19:29:50 wildnux see, if you use emacs you don't have to go through this XD Aug 17 19:30:19 Gowie_ hmm Aug 17 19:30:40 yeah if you passed in View.class, i would think you would see everything defined in that clas (but not its parents) Aug 17 19:31:21 kjeldahl: i dont know if you are just trying have fun or dont understand me how do you update from here? http://imgur.com/i5VQMSe Aug 17 19:31:24 Gowie_ btw reflection performance on dvm & harmony is craptastical, be aware Aug 17 19:31:35 Think it's possible that since I'm introspecting the jar that it only includes the public API so I would need to introspect the actual source to get that info? Aug 17 19:31:35 the download link takes me to that page i post earlier Aug 17 19:31:54 wildnux: I told you, you can't. You have to download a 0.2.x release to be able to update. Aug 17 19:32:13 I'm getting a bit annoyed you're not listening. Aug 17 19:32:14 g00s: i know, i used to use that adt plugin for eclipse, and want to try this new one, since it said update available, i wanted to do the update :D Aug 17 19:32:21 g00s: I've heard that before. Luckily I'm just collecting this metadata before hand and using it via reflection only occasionally on the dvm Aug 17 19:32:44 kjeldahl: yes, that why, if you see the version number diplayed in my firefox, its not 0.2, its 0.1.x Aug 17 19:33:16 wildnux what platform are you on ? Aug 17 19:33:20 kjeldahl: my firefox is not displaying that download button properly, and if i click that blue bar, it still just scrolls down to that table displaying 0.1.8 Aug 17 19:33:30 g00s: opensuse 12.3 linux, firefox 22 Aug 17 19:33:34 oh yeah Aug 17 19:33:43 anyway, i have downloaded it via chrome, Aug 17 19:33:46 g00s: Sorry for noob question, but whats harmony exactly? Aug 17 19:34:06 wildnux can you try something like $ curl http://dl.google.com/android/studio/android-studio-bundle-130.737825-linux.tgz Aug 17 19:34:06 g00s: ah, right (re: build bug) Aug 17 19:34:18 wildnux: That table isn't showing 0.1.8. Where are you getting that from? Aug 17 19:35:00 Gowie_: https://gist.github.com/teslacoil/41494e5e58a45abcef5c i use this to dump classes, it includes privates. not sure why yours would not as i'm just using getDeclaredFields as well Aug 17 19:35:15 yeah, getDeclaredFields worked for me too Aug 17 19:35:16 kjeldahl: might be 0.1.x definitely not 0.2 Aug 17 19:35:50 wildnux: Where do you have that info from? Aug 17 19:36:00 wildnux: Have you actually tried it_ Aug 17 19:36:00 kevinb: Ahh, but you're doing that in an actual Android project correct? I'm just using a regular java project. Aug 17 19:36:20 hmpf. i have a webview that works, but it loads all sites in the webview. But in my webviewclient it checks if the URL is right. hmm? Aug 17 19:36:22 JesusFreke yeah, i forgot about the difference between config phase and exec phase. i always saw examples of exec task in config phase , so i copied that - but then added that mkDir thing which meant that would happen, clean would execute, and then ragel would try to put the file in a dir that didn't exist (because clean deleted it) Aug 17 19:36:31 g00s: i actually tried 130.782403 directly on ff, but gave me 404 (thats the update it shows on update info dialog) Aug 17 19:36:31 I was thinking I would have to switch it over to an android project, but I was trying to avoid that. Aug 17 19:36:56 yeah i do it from a device. if you want to do it from java you're going to need the actual framework.jar, not the sdk jar as that removes everything private and everything marked @hide Aug 17 19:37:09 kjeldahl: yes, i downloaded 130.737825-linux.tgz Aug 17 19:37:17 kevinb: Where can I get the framework.jar??? Aug 17 19:37:44 wildnux: Google 130.737825. It's 0.2.0, or even 0.2.2, but it IS 0.2.x. Why are you saying 0.1.8_ Aug 17 19:38:08 Also you're the man for knowing about that. If I can keep this project a regular java project I'm going to save myself and my co-workers so much sanity. Aug 17 19:38:12 on a device it's at /system/framework/framework.jar but i expect that to be dexed so you'd have to use dex2jar on it or something. you might be able to compile a framework jar from AOSP Aug 17 19:38:44 Aww damn. So theres work involved.... Aug 17 19:38:54 What if I just included the Android source into my java project. Aug 17 19:39:45 kjeldahl: sorry, i had a soft link to old installation :( Aug 17 19:39:58 not sure if that would even compile. i'd imagine parts of it would rely on some native or dalvik specific stuff Aug 17 19:40:13 wildnux: Ha! Told you.. No worries, it happens to all of us. Aug 17 19:41:04 kevinb: Hmm, good point. I'm going to give that a shot anyway since it's relatively quick to test out and if that fails I'll try and undex the framework.jar Aug 17 19:41:20 kjeldahl: i had one android/android-studio and another android-studio in my home directory, and my launcher was launching the android/android-studio instead of the top level one Aug 17 19:41:34 kjeldahl: thats why i did not see that update button :P Aug 17 19:42:09 Gowie_: good luck. FYI i just checked and in a compiled AOSP branch I see out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar which looks like what you are after Aug 17 19:42:10 kjeldahl: A theory, at least.. :-) Aug 17 19:42:22 I have no idea about what those buttons actually do. Aug 17 19:43:23 kevinb: Can point me to where you found that? Aug 17 19:44:10 Running 4.3.0 on a Nexus 7, and using several of the Linux Installer apps. I notice for all of them, the mounts that they create to set up the chroot environment are getting automatically unmounted. I can verify that the mounts get created, but after some length of time, they are no longer listed via the 'mount' shell command. Any ideas? Is this some automatic cleanup thing that the Android OS is doing? Aug 17 19:44:40 i have an already built AOSP tree, and did a find . -name View.class and it found that directory and a jared version . building instructions are at http://source.android.com/source/building.html Aug 17 19:44:53 hunmonk: do you have *working* root at all? Aug 17 19:45:03 Because 4.3 has stricter security Aug 17 19:45:39 p_l: i rooted the device ok. supersu grants privs for all apps that ask for it Aug 17 19:46:03 then I suspect SELinux does something to the chroot Aug 17 19:46:11 or something similar Aug 17 19:46:23 kevinb: Awesome thanks man. Thanks for the help from you too g00s Aug 17 19:46:25 #android-root please Aug 17 19:46:33 p_l: but it would allow the mounts to get created in the first place? that seems weird Aug 17 19:47:30 hunmonk: well, #android-root might know more. I don't have anything running 4.3 to check Aug 17 19:47:40 p_l: ok, thx Aug 17 19:50:59 i don't get it why the webview displays all websites and not only the on in the overwrite rule. https://dpaste.de/DxF2c/ i guess because it is not used in other parts of the code… Aug 17 19:52:46 Anyone know where to start looking when I get this: java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.octo.android.robospice.SpiceService$SpiceServiceBinder Aug 17 19:53:40 pfn your sbt-plugin; if you declare a dependency on some git project X, and your plugin grabs it and build it, how does it know whether it had conflicting transitive dependencies with other components in your build ? Aug 17 19:56:37 g00s, if you're fetching a project from github, it doesn't give a shit :) Aug 17 19:56:53 i.e. it's not gonna account for transitive dependencies Aug 17 19:57:04 it also won't load up dependencies of its own Aug 17 19:57:27 so you need to declare those dependencies yourself (unless said project happens to be a maven or sbt project, then it can load those settings directly) Aug 17 20:00:40 Hi, I have an existing eccomerce Website and I want to make an android app for it, should I make an anroid app and just fetch data for my existing website, or is there other proper or practical way to do this? Aug 17 20:02:21 androidnewb: Pretty much. Aug 17 20:02:36 androidnewb: It's easier if you already have an API for the website/backend, and then you can just use that. Aug 17 20:03:18 I have access to the admin of the website, so the "correct way" is just to fetch data to the website? Aug 17 20:03:56 The best way, if I were doing it, is through REST Aug 17 20:04:26 Using json for data Aug 17 20:05:12 cool, I'm gonna do this now, any more tips before I do this long journey? Aug 17 20:05:27 write an API for your web service Aug 17 20:05:41 It make it easier to maintain and significantly more future-proof Aug 17 20:05:42 anywya to have jdb dump to a file? Aug 17 20:05:51 nah, I have admin access I don't bother more work. Aug 17 20:05:52 Coffee, lots of coffee. Aug 17 20:05:59 Hello there! I'm experiencing this problem http://stackoverflow.com/questions/15361324/issue-with-notificationcompact-builder-and-actionbarsherlock but I have the latest v4 support library... Aug 17 20:06:03 Anyone any idea? Aug 17 20:06:53 Do -all- your projects have the latest v4 support library? Aug 17 20:07:03 ActionBarSherlock ships with its own version of v4 support Aug 17 20:07:31 if the api is for you only, and you aren't going to make it public, consider instead of rest/json something like messaging, RabbitMQ, etc Aug 17 20:09:09 Silox|: update the support library. Aug 17 20:20:44 shello Aug 17 20:21:35 what Aug 17 20:22:04 lol Aug 17 20:22:12 hello :D Aug 17 20:22:19 sup Aug 17 20:23:36 someone can resolve this issue? http://stackoverflow.com/questions/18292919/giving-an-url-that-redirected-is-a-url-with-spaces-to-jsoup-leads-to-an-error Aug 17 20:28:02 under, http://stackoverflow.com/questions/6045377/how-to-insert-20-in-place-of-space-in-android Aug 17 20:28:32 Maybe it just doesn't like you doing networking on the main thread Aug 17 20:29:33 oh sry, misread. Can't you handle the redirect yourself? Aug 17 20:29:51 and how? Aug 17 20:30:59 followRedirects? Aug 17 20:31:59 it's enable by default and allows to get the server redirected uri Aug 17 20:32:59 yes, but I guess if you disable the redirect, you can get the redirecion URI. Then you can replace the " " with "%20" and continue Aug 17 20:34:26 EPG, mmmh but how can I get the URI of the page that I have to parse if I disable the redirect? Aug 17 20:35:13 I don't know jsoup but would expect that you get the redirect response and can parse it Aug 17 20:36:29 Well I can get the redirected URI in other way, replace ' ' with %20 and then give it to jsoup Aug 17 20:37:15 ok, this works, right? Aug 17 20:37:43 Hi guys, does anyone have experience with ActionBar Dropdown List Aug 17 20:37:59 this is a way that I tried and I lose Aug 17 20:38:15 under, paste the code+error please Aug 17 20:38:33 ok Aug 17 20:42:03 EPG, http://pastebin.com/ZErkErFa Aug 17 20:44:26 under, did you try Jsoup.connect(url).followRedirects(false).get()? Aug 17 20:48:26 Hi ! Aug 17 20:53:05 EPG, of course, there is nothing to parse Aug 17 21:13:40 under, http://pastebin.com/U5MQTTG4 Aug 17 21:14:15 you have to check the response of your request, there's the necessary data Aug 17 21:14:24 in your case there're in fact two redirects Aug 17 21:29:30 is there a way for the instrumentTests to echo something (even in logs) regarding the results ? Aug 17 21:29:42 dont want to have to look at the xml file i guess Aug 17 21:29:58 would be nice if it was just printed after it ran on the console, or was logged Aug 17 21:32:35 where can I get adb for Linux x86_64? Aug 17 21:34:20 BartlomiejB: from SDK Aug 17 21:34:49 there is only 32bit version in SDK. Aug 17 21:35:59 $ file android-sdk-linux/platform-tools/adb Aug 17 21:35:59 android-sdk-linux/platform-tools/adb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped Aug 17 21:36:10 and it doesn't work: Aug 17 21:36:21 $ android-sdk-linux/platform-tools/adb Aug 17 21:36:27 -bash: android-sdk-linux/platform-tools/adb: No such file or directory Aug 17 21:36:38 You're missing the 32bit compatibility libs for your distribution Aug 17 21:36:48 search on how to install them for whatever distro you have Aug 17 21:39:48 you feel like an idiot when you try and fix a bug all day only to find you didnt give the correct permissions >_< Aug 17 21:39:57 would of thought it would be nice enough to tell you lol Aug 17 21:41:07 oops. Aug 17 21:42:28 dragorn: I'm afraid there are no such packages in my distro. Aug 17 21:42:33 anyway, I found it here: https://ftp.mozilla.org/pub/mozilla.org/labs/r2d2b2g/adb-1.0.31-linux64.zip Aug 17 21:42:42 (from this post: http://mykzilla.blogspot.com/2013/06/64-bit-linux-adb-for-simulator.html) Aug 17 21:43:22 BartlomiejB: Pretty much every distro has 32bit compatibility. What the hell are you running Aug 17 21:43:38 There's still too many things which need 32bit, as you're learning, to drop it completely. Aug 17 21:44:35 what else requires 32bit? Aug 17 21:48:32 chrome on osx is still 32bit Aug 17 21:48:36 for reference Aug 17 21:49:16 I use Linux, no OSX. Aug 17 21:50:27 is there a way to Aug 17 21:50:28 hide Aug 17 21:50:31 fucking status bar Aug 17 21:50:39 with no ROOTING! Aug 17 21:51:50 there isn't Aug 17 21:51:52 deal with it Aug 17 21:52:02 what a system Aug 17 21:52:44 oh dear... widgets can't have a remoteviewsservice pointing at different view factories? Aug 17 21:52:51 that's kinda suckass Aug 17 21:54:16 can I make buttons on status bar passive ? Aug 17 21:54:29 disabled Aug 17 21:54:40 wtf are you trying to accomplish Aug 17 21:55:03 and what status bar, do you mean the back/home/multi-task buttons? Aug 17 21:55:10 yes Aug 17 21:55:39 those cannot be disabled Aug 17 21:55:40 period Aug 17 21:55:47 accomplish to what I want this is a open source developing Aug 17 21:55:53 I must be accomplish what I want Aug 17 21:55:58 install cyanogenmod Aug 17 21:56:03 it has an option to hide the system-ui Aug 17 21:57:04 does it require rooting ? Aug 17 21:57:19 it's a new firmware Aug 17 21:58:34 wow, this is stupid, onGetViewFactory is only called once for a non-unique intent Aug 17 21:58:46 rather, once for all non-unique Aug 17 21:59:27 bilgisayarci: have you considered the fact that this is to prevent unresponsive application from blocking the whole device? Aug 17 21:59:28 I root my device instead of install cyanogen Aug 17 21:59:52 aboslutly p_l: Aug 17 22:00:32 you haven't Aug 17 22:00:40 so stop whining, install cyanogenmod, or root your device Aug 17 22:00:47 it /is/ opensource, so you can do what you want Aug 17 22:01:25 maybe Aug 17 22:01:40 I edit android source instead of rooting Aug 17 22:01:45 interesting, I can set a fake action Aug 17 22:01:57 you have to root in order to edit android source Aug 17 22:01:59 ... Aug 17 22:02:31 to boot new android ? Aug 17 22:03:55 of course Aug 17 22:04:05 because, security, fuck yeah Aug 17 22:05:21 wow Aug 17 22:05:36 so rooting fixes my problem Aug 17 22:07:02 what's so wow Aug 17 22:07:18 I think I can boot without rooting Aug 17 22:10:14 bilgisayarci anyhow, this doesn't seem related to app dev; your best bet is #android-root Aug 17 22:10:48 or maybe some xda forums Aug 17 22:12:19 bilgisayarci please don't pm me Aug 17 22:12:29 ok Aug 17 22:17:08 https://plus.google.com/111751695436781052143/posts/D7SH2oL5LnW Aug 17 22:17:09 so awesome Aug 17 22:18:43 Very good! Aug 17 22:19:09 cool pfn Aug 17 22:19:20 qicr is getting lots of love :) Aug 17 22:20:35 kjeldahl what irc client are you using ? Aug 17 22:20:50 weechat Aug 17 22:20:59 you? Aug 17 22:21:07 o cool, i am using textual and was thinking about using weechat instead Aug 17 22:21:30 I'm no irc expert, but all the cool kids at work use it. Aug 17 22:21:43 i think their 1.0 relese will be in 2125 or something :P Aug 17 22:21:52 lol Aug 17 22:22:02 https://gist.github.com/pfn/6258977 Aug 17 22:22:09 Typical open source; all versions start at version zero. Aug 17 22:22:14 Like c arrays. Aug 17 22:22:15 of course Aug 17 22:22:25 ^^ all widget goodness in ~250 lines Aug 17 22:23:13 need to hook in message updates and the chat input activities still Aug 17 22:23:18 the former is easy Aug 17 22:23:30 Ooohh, shiny! Make me want to wire up my scheme projects again! Aug 17 22:24:21 I'll open source qicr soonish... Aug 17 22:24:30 about the same time I put up a donate/premium version Aug 17 22:26:44 pfn: very cool. i've been curious about scala on android and it's nice to see a real app using it. i'm definitely interested in seeing the code after you open source it. Aug 17 22:26:58 :) Aug 17 22:27:48 kevinb, the gist is a sample Aug 17 22:27:56 yeah i'm peeking at that now :) Aug 17 22:42:55 Hey guys, I need to bring up a number pad (with decimal). I've seen many pointers to a textField's inputType, like inputType=phone, but none of these seem to force my device to only show a number pad Aug 17 22:42:58 any help? Aug 17 22:50:46 ac_slater: Are you using the AOSP/Google keyboard? Aug 17 22:51:42 seitensei: I was just thinking that. I might not be. It's the default keyboard on the Moto Atrix (2.3.4) :( Aug 17 22:52:06 That might be why. Aug 17 22:52:37 seitensei: It's hard to believe that there isnt a low level interface for forcing layouts Aug 17 22:53:35 Does the keyboard have a numberpad layout? Aug 17 22:54:40 InputType just describes the content of an edittext Aug 17 22:54:49 It's up to the keyboard whether it wants to do something special Aug 17 22:55:15 SimonVT: Yea. I'm also doing .setRawInputType() on my text field. Aug 17 22:55:22 seitensei: I guess I should find that out Aug 17 22:55:47 If the keyboard doesn't have a numberpad layout, it would make sense to why it doesn't switch to one if it supports it. Aug 17 22:56:49 seitensei: I see. I figured as much. Wasn't sure if I was just not reading into the process enough. Thanks guys. Aug 17 23:00:01 hmmm even with genymotion (4.2), setting the raw input and the inputType doesnt limit the AOSP/Google keyboard to a numberpad Aug 17 23:01:42 could it be that I'm using some android support libraries (v4) and older API version didnt support this? Aug 17 23:02:04 Nope Aug 17 23:02:13 numeric keyboard supported since 1.6 Aug 17 23:02:17 er Aug 17 23:02:18 1.5 Aug 17 23:02:47 Did you try androud:inputType="number"? Aug 17 23:02:51 *android Aug 17 23:02:59 DX Aug 17 23:03:15 yup. And `phone` and `decimalNumber` Aug 17 23:05:29 What are you doing for setRawInputType()? Aug 17 23:06:04 setting it to `2` which is equiv to TYPE_CLASS_NUMBER Aug 17 23:08:15 seitensei: hmmm. So, If I use the UI editor and put in a NUMBER text field, it works with 4.2.x Aug 17 23:08:32 but just modifying a NORMAL text field to be NUMBER fails. Aug 17 23:08:38 I am making a shopping list app, and you can either add a product or add a category. The thing is, I want these to be added from the ActionBar, but I can't figure out a way for users to dishtinguish an Add product icon from an Add category one. Any suggestions? Aug 17 23:09:07 That supports multiple languages, of course. Aug 17 23:16:23 seitensei: ah ha! If I set the keyboard to Swype, I get a numberpad ... lame Aug 17 23:23:01 My facebook activity is catching my billing activity result Aug 17 23:26:17 zyngawow: Can you add categories within categories within categories? Aug 17 23:26:31 seitensei, no, but good idea! Aug 17 23:26:32 Can you add items outside of categories? Aug 17 23:26:52 If not- you could make it context sensitive Aug 17 23:26:56 I dont see a reason for doing that Aug 17 23:27:11 If you're outside of a category, the add button adds a category Aug 17 23:27:19 if you're within a category, the add button adds an item Aug 17 23:27:21 seitensei, the list is all in the same ListView Aug 17 23:27:46 Hmm. Aug 17 23:28:19 I looked up in google translate and category starts with CAT in most languages, as well as product with PROD Aug 17 23:28:30 So maybe a + with PROD or CAT underneath? Aug 17 23:28:34 And you're using icons, right? Aug 17 23:28:54 Have a plus icon with a folder? Aug 17 23:29:18 Whereas, add item is a plain + Aug 17 23:29:36 Yeah, icons for the action bar Aug 17 23:29:41 That might be a good idea Aug 17 23:29:53 Definetely better than mine :) Aug 17 23:43:53 Is it possible to wrap applaunching, and does a bytecode generation/analysis library exist? Aug 17 23:44:14 wrap: run within a hypervisor, basicaly Aug 18 00:08:12 Hi! I wanted to know how can I override an android's interface environment? how can I remove the menus and program it to just a single app? Aug 18 00:08:32 pierre1 i think 4.3 has some sort of kiosk mode Aug 18 00:08:51 dunno much about it, you'll have to look into it Aug 18 00:10:54 g00s, thanks Aug 18 00:13:01 You can't quite do that. Aug 18 00:13:05 It's 99% of the way there. Aug 18 00:13:18 But they can still setup the programs you give them Aug 18 00:13:39 And for example, turn on/off wifi Aug 18 00:13:47 hmm, I see Aug 18 00:14:03 It'd be quite a breach if I could, wouldn't it? Aug 18 00:14:43 See, I have this raspberry Pi (not exactly, but it's similar) and I want to attach it to my 3d printer Aug 18 00:15:46 So I thought about installing android in it and using an app to control the 3printer Aug 18 00:17:58 ... ? :/ Aug 18 00:19:47 Tehre is no in principle reason you can't do your own build of android, and just boot your app as the launcher Aug 18 00:19:55 with no way to add other apps or do anything Aug 18 00:24:35 hmm, could you point me any tutorial or phrase to search on Google? Aug 18 00:25:02 is it like compiling a kernel? Aug 18 00:31:26 heh, screw that http://www.reddit.com/r/technology/comments/1kk0i7/android_drm_feature_cross_a_border_lose_your/ Aug 18 00:46:12 g00s: welcome to DRM! Aug 18 00:46:29 g00s: and don't forget, thanks to WTO, we have mickey mouse law everywhere! Aug 18 00:46:34 p_l heh, i get all my books from oreilly, manning, informit, etc Aug 18 00:46:49 so those are drm free Aug 18 00:47:12 actually, oreilly is handling a shitton, : wiley, morgan kaufman, etc Aug 18 00:47:18 apress is handling Springer Aug 18 00:47:32 seems like most of the tech publishers are drm free now Aug 18 00:48:15 but i do have a few Kindle books , boooo Aug 18 00:48:38 g00s: Probably we have more than usual amount of expats, + it's good exports Aug 18 00:49:37 though I don't think we have anything on oil industry ;) Aug 18 00:50:14 its all a scam. the illuminati were amateurs Aug 18 01:03:34 hey Aug 18 01:03:42 oops wrong window Aug 18 02:03:03 hi all. if the current activity that is displaying is running on the ui or main thread, do ALL background services run on the same thread? even those from different applications than the currently displayed activity? Aug 18 02:03:37 it would seem to me that the Looper for the current application would only service stuff from that app Aug 18 02:18:57 p_l holy crap http://lucb1e.com/rp/cookielesscookies/ Aug 18 02:20:21 g00s: meh. Google "permacookie" :> Aug 18 02:20:35 permacookie isn't so perma Aug 18 02:21:02 http://samy.pl/evercookie/ Aug 18 02:21:12 apparently the term got hijacked Aug 18 02:21:28 evercookie, etc Aug 18 02:21:45 the latest technique was using local storage Aug 18 02:22:07 g00s: https://panopticlick.eff.org/ <-- look this up Aug 18 02:23:13 oh yeah, read that before too Aug 18 02:23:21 we read the same stuff :D Aug 18 02:23:53 p_l eff took https everywhere off chrome store for some reason Aug 18 02:24:12 g00s: I've read reports of insane instability in latest version Aug 18 02:24:23 oh, heh Aug 18 02:25:11 * p_l meanwhile looks up freelance sysadmin gigs... and weeps Aug 18 02:25:36 p_l current assignment finished ? Aug 18 02:26:08 g00s: no, but it is getting close Aug 18 02:26:19 one month left Aug 18 02:26:29 what about mobile dev ? Aug 18 02:26:35 if it was just a question of going into another full-time job, it would be easy Aug 18 02:27:02 g00s: I don't know if I could manage enough time (or have hw) to do so Aug 18 02:27:22 the only personal computer I'm left with is basically dying Aug 18 02:28:23 yeah, my computer and truck are conking out :( Aug 18 02:28:50 and the library i use most often may close too :( Aug 18 02:29:31 I have a nice phone now for actually testing/debugging, but it won't help much if I can't run IDE anywhere :D Aug 18 02:29:46 I could use a chat with someone else who uses google accounts to authenticate people in their app Aug 18 02:29:48 p_l you can run emacs on almost anytjhng :) Aug 18 02:30:26 g00s: I haven't really got Emacs integrated with good enough auto-complete for Java. And Java is too wide to remember or even type the shit in :> Aug 18 02:30:55 the few modes that support modern java are crazy heavyweights in my experience Aug 18 02:31:13 p_l the most promising was eclim-emacs Aug 18 02:31:30 g00s: and quite heavy in practice. Or so it worked out for me Aug 18 02:43:04 p_l wonder if something like this could be used http://www.drjava.org/ Aug 18 02:43:39 lol Aug 18 02:43:44 I've got BlueJ flashbacks Aug 18 02:43:51 hah Aug 18 02:44:30 g00s: I thought about the possibility of running NX to a server somewhere :> Aug 18 02:46:25 Why use some no name ide? Aug 18 02:46:49 Anyhow, autocomplete in vim and emacs is not language aware, I think Aug 18 02:46:55 in Eclipse it is for at least jAva Aug 18 02:47:40 R0b0t1: autocomplete depends on mode. non-language aware is dynabbrev, which is a different thing. There's etags support, which requires generated tags for stuff you want autocompleted Aug 18 02:47:59 I've been considering modding stuff to make me etags files + autodoc support, actually Aug 18 02:48:31 Hmm Aug 18 02:48:38 that might be worthwhile Aug 18 02:52:56 p_l you can use eclim with a proxy Aug 18 02:53:08 duh, i mean, it doesn't have to be on that machine Aug 18 02:53:30 g00s: yes, but there's the question of latency :) Aug 18 02:53:48 nx was very iffy for me **** ENDING LOGGING AT Sun Aug 18 02:59:58 2013